:root {
  --bg: #f5fbff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface2: #ffffff;
  --border: rgba(20, 145, 235, 0.18);
  --text: #0d2a52;
  --muted: #5e7a9b;
  --accent: #0084ff;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(25, 139, 220, 0.12);
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Tahoma", sans-serif;
  background:
          radial-gradient(750px 420px at 50% 0%, rgba(0, 185, 255, 0.18), transparent 70%),
          radial-gradient(600px 500px at 10% 40%, rgba(0, 140, 255, 0.08), transparent 70%),
          linear-gradient(180deg, #ffffff 0%, #f0f8ff 45%, #e8f5ff 100%);
  color: var(--text);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.rt-monitor .consoleView {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.rt-monitor .consoleView::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.app {
  min-height: 100vh;
}

.is-hidden {
  display: none;
}

.monitor-section {
  margin-top: 12px;
}

.home-section {
  margin-bottom: 22px;
}

.home-hero {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
}

.home-hero-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 320px;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profile-card {
  background: #0f1620;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  align-items: center;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(33, 150, 255, 0.18);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-body h2 {
  margin: 0;
  font-size: 16px;
}

.profile-body p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.profile-links {
  display: grid;
  gap: 10px;
  width: 100%;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  width: 100%;
}

.profile-btn.facebook:hover {
  border-color: rgba(33, 150, 255, 0.4);
  color: var(--text);
}

.profile-btn.tiktok {
  border-color: rgba(255, 255, 255, 0.2);
}

.profile-btn.tiktok:hover {
  border-color: rgba(255, 255, 255, 0.35);
}


@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}

.rt-monitor {
  --rt-bg: #0b0f14;
  --rt-panel: #101826;
  --rt-panel2: #0f1724;
  --rt-text: #d7e2f0;
  --rt-muted: #7f93ad;

  /* BLUE */
  --rt-accent: #2196ff;
  --rt-accent2: #4db8ff;
  --rt-warn: #ffb703;
  --rt-err: #ff4d6d;
  --rt-ok: #38bdf8;

  --rt-border: rgba(33, 150, 255, 0.14);

  background:
          radial-gradient(
                  1200px 700px at 30% 20%,
                  rgba(33, 150, 255, 0.10),
                  transparent 60%
          ),
          radial-gradient(
                  900px 600px at 70% 70%,
                  rgba(77, 184, 255, 0.07),
                  transparent 60%
          ),
          var(--rt-bg);

  color: var(--rt-text);
  border-radius: 12px;
  padding: 6px;
}

.rt-monitor * {
  box-sizing: border-box;
}

.rt-monitor .wrap {
  padding: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

.rt-monitor header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.rt-monitor .title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rt-monitor .title h1 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.rt-monitor .title .sub {
  margin: 0;
  color: var(--rt-muted);
  font-size: 12px;
}

.rt-monitor .controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.rt-monitor button {
  background: linear-gradient(
          180deg,
          rgba(33, 150, 255, 0.10),
          rgba(33, 150, 255, 0.03)
  );

  color: var(--rt-text);
  border: 1px solid var(--rt-border);
  border-radius: 10px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition:
          transform 0.06s ease,
          border-color 0.2s ease;
  user-select: none;
}

.rt-monitor button:hover {
  border-color: rgba(33, 150, 255, 0.55);
  box-shadow: 0 0 15px rgba(33, 150, 255, 0.12);
}

.rt-monitor button:active {
  transform: translateY(1px);
}

.rt-monitor button.primary {
  border-color: rgba(33, 150, 255, 0.55);
  box-shadow:
          0 0 0 3px rgba(33, 150, 255, 0.10) inset,
          0 0 14px rgba(33, 150, 255, 0.10);
}

.rt-monitor button.danger {
  border-color: rgba(255, 77, 109, 0.35);
}

.rt-monitor button.toggleOn {
  border-color: rgba(33, 150, 255, 0.65);
  box-shadow:
          0 0 0 3px rgba(33, 150, 255, 0.12) inset,
          0 0 16px rgba(33, 150, 255, 0.12);
}

.rt-monitor .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.rt-monitor .panel {
  background:
          linear-gradient(
                  180deg,
                  rgba(33, 150, 255, 0.05),
                  rgba(255, 255, 255, 0.015)
          );

  border: 1px solid var(--rt-border);
  border-radius: 14px;
  overflow: hidden;
}

.rt-monitor .panelHead {
  padding: 10px 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--rt-border);
  background: rgba(0, 0, 0, 0.15);
}

.rt-monitor .panelHead .name {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(215, 226, 240, 0.95);
}

.rt-monitor .panelHead .meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--rt-muted);
  font-size: 12px;
}

.rt-monitor .badge {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--rt-border);
  background: rgba(33, 150, 255, 0.06);
  white-space: nowrap;
}

.rt-monitor .panelBody {
  padding: 10px 12px 12px;
}

.rt-monitor .charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.rt-monitor .spaced-top {
  margin-top: 10px;
}

.rt-monitor .chartBox {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--rt-border);
  border-radius: 12px;
  padding: 10px;
}

.rt-monitor .chartTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--rt-muted);
  font-size: 12px;
}

.rt-monitor canvas {
  width: 100%;
  height: 140px;
  display: block;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.rt-monitor .consoleBox {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 520px;
  gap: 10px;
}

.rt-monitor .consoleView {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--rt-border);
  border-radius: 12px;
  padding: 10px;
  overflow: auto;
  min-height: 320px;

  font-family:
          ui-monospace,
          SFMono-Regular,
          Menlo,
          Monaco,
          Consolas,
          "Liberation Mono",
          "Courier New",
          monospace;

  font-size: 12px;
  line-height: 1.35;

  scrollbar-color:
          rgba(33, 150, 255, 0.35)
          transparent;
}

.rt-monitor .logLine {
  margin: 0 0 6px 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.rt-monitor .logLine .t {
  color: rgba(127, 147, 173, 0.9);
}

.rt-monitor .logLine .prefix {
  color: #ffffff;
}

.rt-monitor .logLine.info {
  color: rgba(56, 189, 248, 0.95);
}

.rt-monitor .logLine.warn {
  color: var(--rt-warn);
}

.rt-monitor .logLine.error {
  color: var(--rt-err);
}

.rt-monitor .consoleInput {
  display: flex;
  gap: 8px;
  align-items: center;
}

.rt-monitor input[type="text"] {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--rt-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--rt-text);
  outline: none;

  font-family:
          ui-monospace,
          SFMono-Regular,
          Menlo,
          Monaco,
          Consolas,
          "Liberation Mono",
          "Courier New",
          monospace;

  font-size: 12px;
}

.rt-monitor input[type="text"]:focus {
  border-color: rgba(33, 150, 255, 0.55);
  box-shadow:
          0 0 0 3px rgba(33, 150, 255, 0.12),
          0 0 18px rgba(33, 150, 255, 0.10);
}

.rt-monitor .hint {
  color: var(--rt-muted);
  font-size: 12px;
  margin-top: 6px;
}

.rt-monitor .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rt-monitor .mini {
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--rt-border);
  border-radius: 12px;
}

.rt-monitor .mini .k {
  color: var(--rt-muted);
  font-size: 12px;
}

.rt-monitor .mini .v {
  font-weight: 800;
  font-size: 18px;
  margin-top: 2px;
}

.rt-monitor .ok {
  color: var(--rt-ok);
}

@media (max-width: 980px) {
  .rt-monitor .grid {
    grid-template-columns: 1fr;
  }

  .rt-monitor .consoleBox {
    height: 420px;
  }

  .rt-monitor .row2 {
    grid-template-columns: 1fr;
  }
}

.main {
  padding: 28px 32px 40px;
  padding-bottom: 120px;
}

body {
  padding-bottom: 90px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 8px 14px 12px;
  background: rgba(8, 12, 18, 0.88);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 15;
}

.bottom-item {
  padding: 4px 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  display: grid;
  justify-items: center;
  gap: 6px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.bottom-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.bottom-item.is-active {
  color: #2196ff;
  text-shadow: 0 0 10px rgba(33, 150, 255, 0.65);
}

.bottom-item:hover {
  color: #4db8ff;
}

.premium-banner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background: linear-gradient(
          155deg,
          rgba(6, 12, 23, 0.93),
          rgba(7, 19, 33, 0.9),
          rgba(14, 20, 37, 0.88)
  );

  border: 1px solid rgba(33, 150, 255, 0.45);

  box-shadow:
          0 18px 42px rgba(0, 0, 0, 0.45),
          inset 0 1px 0 rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  margin-bottom: 22px;
}

.premium-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
          radial-gradient(
                  220px 120px at 10% 10%,
                  rgba(33, 150, 255, 0.18),
                  transparent 70%
          ),
          radial-gradient(
                  180px 120px at 84% 18%,
                  rgba(77, 184, 255, 0.16),
                  transparent 72%
          ),
          radial-gradient(
                  230px 120px at 50% 90%,
                  rgba(30, 100, 255, 0.14),
                  transparent 75%
          ),
          radial-gradient(
                  5px 5px at 20% 38%,
                  rgba(190, 225, 255, 0.34),
                  transparent 82%
          ),
          radial-gradient(
                  4px 4px at 72% 62%,
                  rgba(190, 225, 255, 0.28),
                  transparent 84%
          ),
          radial-gradient(
                  3px 3px at 48% 26%,
                  rgba(190, 225, 255, 0.24),
                  transparent 84%
          );
}

.premium-banner::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;

  border: 1px solid rgba(33, 150, 255, 0.9);

  box-shadow:
          0 0 0 1px rgba(33, 150, 255, 0.6),
          0 0 20px rgba(33, 150, 255, 0.8),
          0 0 40px rgba(77, 184, 255, 0.7),
          0 0 65px rgba(33, 150, 255, 0.45);

  pointer-events: none;
  z-index: 1;
}

.premium-banner > * {
  position: relative;
  z-index: 2;
}

.premium-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.premium-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.premium-icon svg {
  width: 22px;
  height: 22px;
  stroke: url(#crownGradient);
  stroke-width: 2.4;

  filter:
          drop-shadow(0 0 8px rgba(33, 150, 255, 0.9))
          drop-shadow(0 0 18px rgba(77, 184, 255, 0.7));
}

.premium-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 14px;

  background: linear-gradient(
          90deg,
          #2196ff,
          #4db8ff
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
          0 0 10px rgba(33, 150, 255, 0.6),
          0 0 20px rgba(77, 184, 255, 0.4);
}

.toggle {
  --toggle-width: 60px;
  --toggle-height: 32px;
  --toggle-pad: 4px;
  --toggle-thumb: calc(var(--toggle-height) - (var(--toggle-pad) * 2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--toggle-width);
  flex: 0 0 var(--toggle-width);
}

.toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch {
  width: var(--toggle-width);
  height: var(--toggle-height);
  border-radius: 999px;
  border: 1px solid rgba(41, 121, 255, 0.45);
  background: linear-gradient(150deg, rgba(20, 29, 44, 0.96), rgba(14, 23, 36, 0.94));
  position: relative;
  overflow: hidden;

  box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.08),
          inset 0 -1px 0 rgba(0, 0, 0, 0.42),
          0 6px 14px rgba(0, 0, 0, 0.35),
          0 0 0 1px rgba(41, 121, 255, 0.18);

  transition:
          background var(--transition),
          border-color var(--transition),
          box-shadow var(--transition);
}

.switch::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.24),
          rgba(255, 255, 255, 0) 56%
  );
  opacity: 0.5;
  pointer-events: none;
}

.switch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--toggle-pad);
  width: var(--toggle-thumb);
  height: var(--toggle-thumb);
  border-radius: 50%;

  background: radial-gradient(
          circle at 30% 25%,
          #ffffff,
          #dbeafe 48%,
          #82b1ff
  );

  box-shadow:
          0 1px 8px rgba(0, 0, 0, 0.4),
          0 0 10px rgba(41, 121, 255, 0.5);

  transform: translate3d(0, -50%, 0);

  transition:
          transform var(--transition),
          box-shadow var(--transition),
          background var(--transition);
}

.toggle input:checked + .switch {
  background: linear-gradient(135deg, #1565ff, #2979ff);
  border-color: rgba(82, 145, 255, 0.9);

  box-shadow:
          inset 0 1px 0 rgba(255,255,255,0.25),
          0 0 0 1px rgba(21,101,255,0.4),
          0 0 20px rgba(21,101,255,0.6),
          0 0 35px rgba(41,121,255,0.45);
}

.toggle input:checked + .switch::after {
  transform: translate3d(
          calc(var(--toggle-width) - var(--toggle-thumb) - (var(--toggle-pad) * 2)),
          -50%,
          0
  );

  background: radial-gradient(
          circle at 30% 25%,
          #ffffff,
          #e3f2fd 38%,
          #90caf9
  );

  box-shadow:
          0 1px 9px rgba(0, 0, 0, 0.42),
          0 0 14px rgba(41, 121, 255, 0.85),
          inset 0 0 1px rgba(255, 255, 255, 0.8);
}

.toggle input:checked + .switch::before {
  opacity: 0.72;
}

.toggle input:focus-visible + .switch {
  outline: none;

  box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.2),
          0 0 0 1px rgba(41, 121, 255, 0.5),
          0 0 0 3px rgba(41, 121, 255, 0.2);
}

.main-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-gif {
  height: 48px;
  width: auto;
  border-radius: 8px;
  display: block;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(41, 121, 255, 0.55);
  box-shadow: 0 0 14px rgba(41, 121, 255, 0.25);
}

.icon-button span {
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 999px;
}


.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 12, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 20;
}

.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  background: linear-gradient(
          160deg,
          rgba(18, 26, 36, 0.98),
          rgba(10, 18, 26, 0.98)
  );
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(41, 121, 255, 0.35);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 21;

  box-shadow:
          var(--shadow),
          0 0 24px rgba(41, 121, 255, 0.18);

  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.modal-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--warning);
  font-size: 22px;
}

.modal-title {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.modal-text {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

body.modal-open .modal-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.modal-open .modal {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.feature-list {
  margin-top: 10px;
  width: 100%;
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid rgba(41, 121, 255, 0.22);

  background: linear-gradient(
          145deg,
          rgba(11, 20, 34, 0.75),
          rgba(7, 15, 27, 0.6)
  );

  box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.06),
          0 10px 22px rgba(0, 0, 0, 0.26);

  backdrop-filter: blur(8px) saturate(135%);
  -webkit-backdrop-filter: blur(8px) saturate(135%);

  transition:
          background var(--transition),
          border-color var(--transition),
          box-shadow var(--transition);

  width: 100%;
  position: relative;
  min-height: 68px;
}

.feature-item::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;

  transition:
          opacity var(--transition),
          border-color var(--transition),
          box-shadow var(--transition);
}

.feature-item > div {
  flex: 1;
  min-width: 0;
}

/* BẬT - XANH DƯƠNG NEON */
.feature-item.is-on {
  border-color: rgba(41, 121, 255, 0.9);

  background: linear-gradient(
          145deg,
          rgba(0, 35, 90, 0.85),
          rgba(10, 25, 50, 0.85)
  );

  box-shadow:
          0 0 0 1px rgba(41, 121, 255, 0.5),
          0 0 25px rgba(41, 121, 255, 0.6),
          0 0 40px rgba(21, 101, 255, 0.25);
}

.feature-item.is-on::after {
  opacity: 1;
  border-color: rgba(130, 177, 255, 0.92);

  box-shadow:
          0 0 0 1px rgba(41, 121, 255, 0.42),
          0 0 12px rgba(41, 121, 255, 0.55),
          0 0 24px rgba(30, 100, 255, 0.34);
}

.feature-item:hover {
  border-color: rgba(41, 121, 255, 0.45);

  box-shadow:
          inset 0 1px 0 rgba(255, 255, 255, 0.08),
          0 12px 24px rgba(0, 0, 0, 0.3),
          0 0 16px rgba(41, 121, 255, 0.12);
}

.feature-name {
  margin: 0;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  color: #9ecbff;

  text-shadow:
          0 0 8px rgba(41, 121, 255, 0.35);
}

.feature-sub {
  margin: 6px 0 0;
  color: #bbcad8;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1.2;

  text-shadow:
          0 1px 0 rgba(0, 0, 0, 0.45);
}

.feature-sub::before {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 1.8px solid #4da3ff;
  border-bottom: 1.8px solid #4da3ff;
  transform: rotate(-45deg) translateY(-1px);
  transform-origin: center;
  flex-shrink: 0;

  filter:
          drop-shadow(0 0 3px rgba(77, 163, 255, 0.72));
}

@media (max-width: 900px) {
  .icon-button {
    display: inline-flex;
  }

  .main {
    padding: 20px;
  }

  .feature-card {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
  #boosterBox {
    display: none;
    margin-top: 20px;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .booster-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
    text-align: center;
    margin: 18px 0 8px;

    background: linear-gradient(90deg, #1565ff, #2979ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
            0 0 10px rgba(21,101,255,0.6),
            0 0 15px rgba(41,121,255,0.5);

    font-family: "Orbitron", sans-serif;
  }

  .booster-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    margin: 8px auto 0;

    background: linear-gradient(90deg, #1565ff, #2979ff);

    box-shadow:
            0 0 10px rgba(21,101,255,0.8),
            0 0 15px rgba(41,121,255,0.6);
  }

  /* ITEM */
  .booster-item {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px;
    border-radius: 16px;

    background: linear-gradient(
            135deg,
            #050505,
            #0b0b0b,
            #00101c
    );

    border: 1px solid rgba(41,121,255,0.4);

    position: relative;
    overflow: hidden;

    box-shadow:
            0 0 12px rgba(21,101,255,0.25),
            0 0 20px rgba(41,121,255,0.2),
            inset 0 0 8px rgba(41,121,255,0.1);

    transition: all 0.25s ease;
  }

  .booster-item:hover {
    transform: translateY(-2px);

    box-shadow:
            0 0 20px rgba(21,101,255,0.6),
            0 0 40px rgba(41,121,255,0.4),
            inset 0 0 10px rgba(41,121,255,0.25);
  }

  .booster-item::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;

    border: 1px solid rgba(41,121,255,0.65);

    box-shadow:
            0 0 10px rgba(21,101,255,0.7),
            0 0 25px rgba(41,121,255,0.5);

    opacity: 0.6;
    pointer-events: none;
  }

  .booster-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;

    border: 2px solid rgba(41,121,255,0.65);

    box-shadow:
            0 0 8px rgba(21,101,255,0.7),
            0 0 12px rgba(41,121,255,0.5);
  }

  .booster-item span {
    flex: 1;
    margin-left: 10px;
    color: white;
  }

  .booster-item button {
    padding: 6px 16px;
    border-radius: 20px;

    background: linear-gradient(135deg, #1565ff, #2979ff);
    color: #fff;

    border: 1px solid rgba(130,177,255,0.7);

    font-weight: 600;
    letter-spacing: 1px;

    box-shadow:
            0 0 10px rgba(21,101,255,0.6),
            0 0 18px rgba(41,121,255,0.4);

    transition: all 0.25s ease;
  }

  .booster-item button:active {
    transform: scale(0.95);

    box-shadow:
            0 0 8px rgba(41,121,255,0.7);
  }

  .booster-item button.red {
    background: linear-gradient(135deg, #0d47c9, #2979ff);

    border: 1px solid rgba(41,121,255,0.65);

    box-shadow:
            0 0 10px rgba(21,101,255,0.7),
            0 0 18px rgba(41,121,255,0.5);
  }

  .boost-toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);

    background: linear-gradient(
            135deg,
            #050505,
            #00101c
    );

    color: #fff;

    padding: 10px 18px;
    border-radius: 12px;

    font-size: 13px;
    letter-spacing: 1px;

    border: 1px solid rgba(41,121,255,0.55);

    box-shadow:
            0 0 12px rgba(21,101,255,0.6),
            0 0 25px rgba(41,121,255,0.4);

    opacity: 0;
    transition: 0.3s;
    z-index: 9999;
  }

  .boost-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
/* ===== KIM SONW — PURE CLEAN WHITE THEME (TRẮNG TINH KHIẾT 100%) ===== */
:root {
  --bg: #ffffff !important;
  --surface: #ffffff !important;
  --surface2: #f8fafc !important;
  --border: #e2e8f0 !important;
  --text: #0f172a !important;
  --muted: #64748b !important;
  --accent: #2563eb !important;
  --radius: 20px !important;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

html, body {
  background: #ffffff !important;
  color: #0f172a !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif !important;
}

body::before, body::after {
  display: none !important;
}

.app {
  min-height: 100vh;
  background: #ffffff !important;
  padding-bottom: 100px !important;
}

.main {
  padding: 16px 16px 120px !important;
  max-width: 680px;
  margin: 0 auto;
}

/* Header */
.main-header {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 16px !important;
  margin: 0 0 16px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}
.main-header::before { display: none !important; }
.main-header::after {
  content: "KIM SONW PERFORMANCE" !important;
  display: block !important;
  position: static !important;
  margin-top: 6px !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-align: center !important;
}

.brand-gif {
  width: min(90%, 460px) !important;
  height: auto !important;
  max-height: 64px !important;
  object-fit: contain !important;
  filter: none !important;
}

/* Home hero */
.home-section { margin-bottom: 18px !important; }
.home-hero {
  width: 100% !important;
  margin: 0 auto 16px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
}
.home-hero::before, .home-hero::after { display: none !important; }
.home-hero-img {
  width: 100% !important;
  height: auto !important;
  max-height: 320px !important;
  display: block !important;
  object-fit: cover !important;
  filter: none !important;
}

/* Profile Card */
.profile-card {
  max-width: none !important;
  width: 100% !important;
  padding: 22px 18px 18px !important;
  gap: 12px !important;
  border-radius: 24px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
.profile-card::before { display: none !important; }
.profile-avatar {
  width: 72px !important;
  height: 72px !important;
  background: #f1f5f9 !important;
  border: 2px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
.profile-body h2 {
  font-size: 20px !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  margin: 0 !important;
}
.profile-body p {
  font-size: 13px !important;
  color: #64748b !important;
  margin: 4px 0 0 !important;
}
.profile-links { gap: 10px !important; }
.profile-btn {
  min-height: 48px !important;
  padding: 10px 16px !important;
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.2s ease !important;
}
.profile-btn:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #2563eb !important;
}
.profile-btn::after { display: none !important; }

/* Status pill on profile */
.key-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 6px 12px !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-top: 6px !important;
}

/* Premium Banner & Features */
.premium-banner {
  border-radius: 24px !important;
  padding: 18px 16px !important;
  margin-bottom: 18px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
.premium-banner::before, .premium-banner::after { display: none !important; }
.premium-title {
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}
.feature-grid { gap: 10px !important; }
.feature-item {
  min-height: 60px !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.2s ease !important;
}
.feature-item::before { display: none !important; }
.feature-item.is-on {
  border-color: #2563eb !important;
  background: #f8faff !important;
  box-shadow: 0 0 0 1px #2563eb, 0 4px 12px rgba(37, 99, 235, 0.10) !important;
}
.feature-name {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}
.feature-sub {
  color: #64748b !important;
  font-size: 12px !important;
}

/* Switches & Toggles */
.switch {
  border-color: #cbd5e1 !important;
  background: #e2e8f0 !important;
  box-shadow: none !important;
}
.switch::after {
  background: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}
.toggle input:checked + .switch {
  background: #2563eb !important;
  border-color: #2563eb !important;
  box-shadow: none !important;
}

/* Bottom Nav */
.bottom-nav {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  bottom: 16px !important;
  width: min(calc(100% - 24px), 600px) !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  padding: 6px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  z-index: 100 !important;
}
.bottom-item {
  min-height: 56px !important;
  padding: 6px !important;
  border-radius: 18px !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: transparent !important;
  border: none !important;
  display: grid !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 4px !important;
  transition: all 0.2s ease !important;
}
.bottom-item.is-active {
  color: #2563eb !important;
  background: #f1f5f9 !important;
  box-shadow: none !important;
}
.bottom-item.is-active::after { display: none !important; }
.bottom-icon svg { width: 22px !important; height: 22px !important; }

/* Booster box */
#boosterBox {
  margin: 14px 0 20px !important;
  padding: 18px 16px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}
#boosterBox:before { display: none !important; }
.booster-item {
  width: 100% !important;
  min-height: 64px !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  margin-bottom: 10px !important;
}
.booster-item img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
}
.booster-item button, .booster-item button.red {
  background: #2563eb !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 8px 16px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25) !important;
}

/* Monitor Section */
.rt-monitor {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  color: #0f172a !important;
  padding: 16px !important;
}
.rt-monitor .panel, .rt-monitor .chartBox {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02) !important;
}
.rt-monitor button {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
}
.rt-monitor button.toggleOn {
  background: #2563eb !important;
  color: #ffffff !important;
}
