:root {
  --bg: #0b0f14;
  --surface: #121a24;
  --surface2: #0f1620;
  --border: #223041;
  --text: #e6edf3;
  --muted: #9fb0c0;
  --accent: #2196ff;
  --radius: 12px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Tahoma", sans-serif;
  background:
          radial-gradient(900px 500px at 20% -10%, #102a46 0%, transparent 60%),
          radial-gradient(700px 500px at 90% 0%, #0d2340 0%, transparent 55%),
          var(--bg);
  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 — WHITE / NEON CYAN UI OVERRIDE ===== */
:root{
  --bg:#f5fbff;
  --surface:rgba(255,255,255,.88);
  --surface2:#ffffff;
  --border:rgba(20,145,235,.20);
  --text:#0d2a52;
  --muted:#66809d;
  --accent:#0798ff;
  --radius:22px;
  --shadow:0 14px 38px rgba(25,139,220,.13);
  --transition:180ms ease;
}
html,body{background:#f5fbff!important;color:var(--text)!important;}
body{
  background:
    radial-gradient(700px 360px at 50% 0%,rgba(0,205,255,.18),transparent 70%),
    radial-gradient(500px 420px at 0% 35%,rgba(0,151,255,.10),transparent 70%),
    linear-gradient(180deg,#ffffff 0%,#f2fbff 48%,#eef9ff 100%)!important;
}
.app{min-height:100vh;background:transparent;}
.main{padding:18px 18px 112px!important;max-width:760px;margin:0 auto;}

.main-header{
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:10px 12px 14px!important;margin:0 0 16px!important;
  border:1px solid rgba(17,154,244,.20)!important;border-radius:24px!important;
  background:rgba(255,255,255,.78)!important;
  box-shadow:0 10px 28px rgba(22,150,232,.12),inset 0 1px 0 #fff!important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
.header-left{width:100%;display:flex!important;flex-direction:column;align-items:center!important;gap:2px!important;}
.brand-gif{
  width:min(92%,520px)!important;height:auto!important;max-height:76px!important;
  object-fit:contain!important;border-radius:14px!important;
  filter:drop-shadow(0 5px 14px rgba(0,145,255,.20));
}
.main-header::after{
  content:"SPEED  ×  STABILITY  ×  PERFORMANCE";
  display:block;position:absolute;margin-top:76px;
  color:#087ad1;font-size:10px;font-weight:800;letter-spacing:2.4px;text-align:center;
}

.home-section{margin-bottom:20px!important;}
.home-hero{
  width:100%!important;margin:0 auto 18px!important;border-radius:28px!important;
  overflow:hidden!important;border:1px solid rgba(17,154,244,.18)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(229,248,255,.86))!important;
  box-shadow:0 18px 45px rgba(0,142,238,.14),inset 0 1px 0 #fff!important;
  position:relative;
}
.home-hero::after{
  content:"";position:absolute;inset:10px;border:1px solid rgba(0,175,255,.18);
  border-radius:22px;pointer-events:none;
}
.home-hero-img{
  width:100%!important;height:auto!important;max-height:none!important;display:block!important;
  object-fit:contain!important;
  filter:drop-shadow(0 12px 28px rgba(0,146,255,.20));
}

.profile-card{
  max-width:none!important;width:100%!important;padding:24px 18px 18px!important;gap:12px!important;
  border-radius:26px!important;border:1px solid rgba(17,154,244,.22)!important;
  background:rgba(255,255,255,.80)!important;
  box-shadow:0 16px 42px rgba(20,139,218,.12),inset 0 1px 0 #fff!important;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
.profile-avatar{
  width:76px!important;height:76px!important;background:#e9f8ff!important;
  border:3px solid rgba(0,157,255,.28);box-shadow:0 0 0 7px rgba(0,177,255,.07),0 8px 20px rgba(0,150,255,.15)!important;
}
.profile-body h2{font-size:22px!important;color:#0a2d60!important;line-height:1.2!important;}
.profile-body p{font-size:14px!important;color:#4e6d8c!important;line-height:1.45!important;}
.profile-links{gap:10px!important;}
.profile-btn{
  min-height:52px!important;padding:12px 18px!important;border-radius:18px!important;
  border:1px solid rgba(0,145,255,.25)!important;background:rgba(255,255,255,.88)!important;
  color:#0b3c76!important;font-size:15px!important;font-weight:700!important;
  box-shadow:0 7px 18px rgba(0,143,235,.08),inset 0 1px 0 #fff!important;
}
.profile-btn:hover{border-color:rgba(0,157,255,.55)!important;color:#007bd3!important;background:#fff!important;}
.profile-btn.tiktok{border-color:rgba(0,145,255,.25)!important;}

.premium-banner{
  border-radius:24px!important;padding:16px!important;margin-bottom:20px!important;
  background:rgba(255,255,255,.82)!important;border:1px solid rgba(0,151,255,.22)!important;
  box-shadow:0 16px 38px rgba(0,142,238,.11),inset 0 1px 0 #fff!important;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.premium-banner::before{background:radial-gradient(260px 130px at 15% 0%,rgba(0,197,255,.14),transparent 70%),radial-gradient(240px 140px at 85% 100%,rgba(0,137,255,.10),transparent 72%)!important;}
.premium-banner::after{border-color:rgba(0,165,255,.32)!important;box-shadow:0 0 18px rgba(0,183,255,.16)!important;}
.premium-title{background:linear-gradient(90deg,#087be0,#00bde9)!important;-webkit-background-clip:text!important;background-clip:text!important;text-shadow:none!important;font-size:14px!important;}
.feature-grid{gap:10px!important;}
.feature-item{
  min-height:64px!important;padding:11px 14px!important;border-radius:18px!important;
  border:1px solid rgba(0,145,255,.16)!important;
  background:rgba(255,255,255,.82)!important;
  box-shadow:0 8px 20px rgba(0,130,220,.07),inset 0 1px 0 #fff!important;
}
.feature-item.is-on{border-color:rgba(0,166,255,.55)!important;background:linear-gradient(145deg,#f4fdff,#e8f9ff)!important;box-shadow:0 0 0 1px rgba(0,166,255,.10),0 10px 24px rgba(0,159,255,.13)!important;}
.feature-name{color:#123c6c!important;text-shadow:none!important;font-size:13px!important;}
.feature-sub{color:#7290aa!important;}
.toggle{--toggle-width:58px!important;--toggle-height:32px!important;}
.switch{border-color:rgba(0,135,220,.20)!important;background:#e9f2f8!important;box-shadow:inset 0 1px 3px rgba(18,70,110,.12)!important;}
.switch::after{background:#fff!important;box-shadow:0 2px 8px rgba(16,73,111,.18)!important;}
.toggle input:checked + .switch{background:linear-gradient(135deg,#008eff,#00c5ed)!important;border-color:rgba(0,148,235,.7)!important;box-shadow:0 0 14px rgba(0,173,255,.30)!important;}
.toggle input:checked + .switch::after{background:#fff!important;box-shadow:0 2px 9px rgba(0,88,150,.18),0 0 9px rgba(0,220,255,.45)!important;}

.bottom-nav{
  left:50%!important;right:auto!important;bottom:12px!important;transform:translateX(-50%)!important;
  width:min(92%,620px)!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:6px!important;
  padding:8px!important;border-radius:30px!important;
  background:rgba(255,255,255,.90)!important;border:1px solid rgba(0,145,255,.18)!important;
  box-shadow:0 14px 38px rgba(0,122,220,.18),inset 0 1px 0 #fff!important;
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  z-index:100!important;
}
.bottom-item{
  min-height:62px!important;padding:7px 6px!important;border-radius:22px!important;
  color:#6a88a5!important;font-size:13px!important;gap:5px!important;
  display:grid!important;justify-items:center!important;align-content:center!important;
}
.bottom-icon svg{width:23px!important;height:23px!important;stroke-width:1.8!important;}
.bottom-item.is-active{
  color:#078cf0!important;text-shadow:none!important;
  background:linear-gradient(145deg,#e8f8ff,#d8f2ff)!important;
  box-shadow:0 6px 18px rgba(0,151,255,.16),inset 0 1px 0 #fff!important;
}
.bottom-item:hover{color:#008ce8!important;}

/* Keep monitor readable in the new light theme */
.rt-monitor{--rt-bg:#f4fbff!important;--rt-panel:rgba(255,255,255,.92)!important;--rt-panel2:#fff!important;--rt-text:#15385f!important;--rt-muted:#6885a2!important;--rt-accent:#008ff0!important;--rt-accent2:#00c3ee!important;--rt-border:rgba(0,145,255,.16)!important;background:linear-gradient(180deg,#f8fdff,#eefaff)!important;color:#15385f!important;}
.rt-monitor .panel,.rt-monitor .chartBox{background:rgba(255,255,255,.88)!important;border-color:rgba(0,145,255,.15)!important;box-shadow:0 10px 25px rgba(0,125,210,.07)!important;}
.rt-monitor button{background:#fff!important;color:#145184!important;border-color:rgba(0,145,255,.20)!important;}
.rt-monitor button.toggleOn{background:linear-gradient(135deg,#008ff0,#00c3ee)!important;color:#fff!important;}

@media(max-width:520px){
  .main{padding-left:12px!important;padding-right:12px!important;}
  .main-header{margin-bottom:14px!important;}
  .brand-gif{width:96%!important;max-height:68px!important;}
  .main-header::after{margin-top:69px;font-size:8px;letter-spacing:1.7px;}
  .home-hero{border-radius:24px!important;}
  .profile-card{padding:20px 14px 16px!important;}
}

/* ===== KIM SONW V1 — POLISHED WHITE / NEON CYAN v2 ===== */
:root{
  --dh-blue:#008cff;
  --dh-cyan:#00d9ff;
  --dh-ink:#102d50;
  --dh-muted:#6b849d;
  --dh-line:rgba(0,142,255,.16);
  --dh-glass:rgba(255,255,255,.78);
  --dh-glass-strong:rgba(255,255,255,.92);
  --dh-shadow:0 18px 50px rgba(0,116,210,.13);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html{scroll-behavior:smooth;}
body{
  overflow-x:hidden!important;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,system-ui,sans-serif!important;
  -webkit-font-smoothing:antialiased!important;
  text-rendering:optimizeLegibility!important;
}
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:
    radial-gradient(420px 260px at 50% -4%,rgba(0,213,255,.16),transparent 72%),
    radial-gradient(380px 320px at 100% 45%,rgba(0,139,255,.08),transparent 72%),
    radial-gradient(380px 300px at 0% 70%,rgba(0,204,255,.07),transparent 72%);
}
.app{isolation:isolate;}
.main{padding-top:12px!important;padding-bottom:132px!important;}

/* Header: cleaner alignment and a subtle premium shine */
.main-header{
  position:relative!important;overflow:hidden!important;
  min-height:104px!important;
  padding:13px 18px 18px!important;
  border-radius:26px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(239,250,255,.76))!important;
  border:1px solid rgba(0,150,255,.18)!important;
  box-shadow:0 15px 38px rgba(0,122,220,.10),inset 0 1px 0 rgba(255,255,255,.98)!important;
}
.main-header::before{
  content:"";position:absolute;left:-20%;top:-80%;width:55%;height:240%;
  transform:rotate(20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent);
  animation:dhShine 6s ease-in-out infinite;pointer-events:none;
}
.header-left{position:relative;z-index:1;}
.brand-gif{
  width:min(94%,540px)!important;max-height:78px!important;
  filter:drop-shadow(0 7px 18px rgba(0,135,255,.18))!important;
}
.main-header::after{
  position:absolute!important;left:0!important;right:0!important;bottom:9px!important;top:auto!important;
  margin:0!important;color:#1675bd!important;font-size:9px!important;font-weight:800!important;
  letter-spacing:2.7px!important;line-height:1!important;opacity:.92;
}

/* Hero: image stays untouched, frame gets the premium treatment */
.home-hero{
  margin-top:4px!important;
  border-radius:30px!important;
  border:1px solid rgba(0,153,255,.20)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(228,248,255,.82))!important;
  box-shadow:0 22px 55px rgba(0,124,220,.14),inset 0 1px 0 #fff!important;
  transform:translateZ(0);
}
.home-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(60% 38% at 50% 5%,rgba(0,218,255,.16),transparent 72%);
}
.home-hero::after{
  inset:9px!important;border-radius:23px!important;
  border:1px solid rgba(0,178,255,.22)!important;
  box-shadow:inset 0 0 28px rgba(0,178,255,.06)!important;
}
.home-hero-img{position:relative;z-index:1;filter:drop-shadow(0 15px 30px rgba(0,127,232,.16))!important;}

/* Admin card: more hierarchy, less visual noise */
.profile-card{
  position:relative!important;overflow:hidden!important;
  padding:27px 18px 19px!important;
  border-radius:28px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(239,250,255,.76))!important;
  border:1px solid rgba(0,151,255,.20)!important;
  box-shadow:0 18px 46px rgba(0,122,220,.11),inset 0 1px 0 #fff!important;
}
.profile-card::before{
  content:"";position:absolute;left:10%;right:10%;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(0,214,255,.72),transparent);
}
.profile-avatar{transition:transform .22s ease,box-shadow .22s ease!important;}
.profile-card:active .profile-avatar{transform:scale(.97);}
.profile-body h2{letter-spacing:-.25px!important;margin-bottom:4px!important;}
.profile-body p{letter-spacing:.05px!important;}
.profile-links{margin-top:5px!important;}
.profile-btn{
  position:relative!important;overflow:hidden!important;
  min-height:54px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(244,251,255,.92))!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important;
}
.profile-btn::after{
  content:"";position:absolute;inset:0;transform:translateX(-110%);
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.72),transparent);
  transition:transform .45s ease;pointer-events:none;
}
.profile-btn:hover::after{transform:translateX(110%);}
.profile-btn:active{transform:scale(.985)!important;box-shadow:0 3px 10px rgba(0,120,220,.10)!important;}

/* Premium section and feature rows */
.premium-banner{position:relative;overflow:hidden!important;}
.premium-head{position:relative;z-index:1;}
.premium-icon{filter:drop-shadow(0 3px 9px rgba(0,157,255,.16));}
.feature-list{position:relative;z-index:1;}
.feature-item{
  position:relative!important;overflow:hidden!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.feature-item::before{
  content:"";position:absolute;left:0;top:12px;bottom:12px;width:2px;border-radius:3px;
  background:linear-gradient(180deg,rgba(0,210,255,.85),rgba(0,133,255,.10));opacity:.35;
}
.feature-item:active{transform:scale(.992)!important;}
.feature-item.is-on::before{opacity:1;box-shadow:0 0 10px rgba(0,202,255,.48);}
.feature-name{font-weight:750!important;letter-spacing:.05px!important;}

/* Toggles: precise iOS-like geometry */
.toggle{flex:0 0 auto!important;}
.switch{position:relative!important;overflow:hidden!important;}
.switch::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,rgba(255,255,255,.34),transparent);pointer-events:none;}
.toggle input:checked + .switch{box-shadow:0 0 0 3px rgba(0,180,255,.08),0 0 18px rgba(0,180,255,.24)!important;}

/* Bottom navigation: stable, centered, safe-area aware */
.bottom-nav{
  bottom:max(12px,env(safe-area-inset-bottom))!important;
  width:min(calc(100% - 24px),620px)!important;
  padding:7px!important;
  border-radius:28px!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:5px!important;
  background:rgba(255,255,255,.88)!important;
  box-shadow:0 18px 45px rgba(0,104,190,.17),0 3px 12px rgba(0,110,200,.07),inset 0 1px 0 #fff!important;
}
.bottom-item{min-width:0!important;min-height:61px!important;border:1px solid transparent!important;transition:transform .16s ease,background .18s ease,box-shadow .18s ease,color .18s ease!important;}
.bottom-item.is-active{
  background:linear-gradient(145deg,#eefbff,#dff6ff)!important;
  border-color:rgba(0,161,255,.13)!important;
  box-shadow:0 7px 18px rgba(0,143,238,.14),inset 0 1px 0 #fff!important;
}
.bottom-item.is-active::after{
  content:"";position:absolute!important;bottom:3px!important;left:24%!important;right:24%!important;height:2px!important;
  border-radius:2px;background:linear-gradient(90deg,#008cff,#00d9ff)!important;
  box-shadow:0 0 10px rgba(0,199,255,.45)!important;
}
.bottom-item:active{transform:scale(.96)!important;}
.bottom-icon svg{filter:drop-shadow(0 2px 5px rgba(0,141,255,.10));}

/* Buttons in monitor/booster: consistent premium motion */
button,.profile-btn,.booster-item button{font-family:inherit!important;}
.rt-monitor button,.booster-item button{
  transition:transform .16s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.rt-monitor button:active,.booster-item button:active{transform:scale(.975)!important;}

/* Smooth page-state changes without affecting existing JS */
.home-section,.premium-banner,.monitor-section,.booster-section{animation:dhEnter .42s cubic-bezier(.22,.8,.24,1) both;}

@keyframes dhEnter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@keyframes dhShine{0%,55%{transform:translateX(-120%) rotate(20deg)}75%,100%{transform:translateX(250%) rotate(20deg)}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
@media(max-width:520px){
  .main{padding-top:8px!important;padding-left:11px!important;padding-right:11px!important;padding-bottom:128px!important;}
  .main-header{min-height:98px!important;padding:11px 12px 17px!important;border-radius:23px!important;}
  .brand-gif{width:98%!important;max-height:70px!important;}
  .main-header::after{bottom:8px!important;font-size:8px!important;letter-spacing:2px!important;}
  .home-hero{border-radius:25px!important;margin-bottom:15px!important;}
  .home-hero::after{inset:7px!important;border-radius:19px!important;}
  .profile-card{border-radius:24px!important;padding:23px 13px 16px!important;}
  .profile-avatar{width:72px!important;height:72px!important;}
  .bottom-nav{width:calc(100% - 20px)!important;bottom:max(9px,env(safe-area-inset-bottom))!important;border-radius:25px!important;}
  .bottom-item{min-height:58px!important;border-radius:19px!important;}
}

/* KIM SONW — Booster readability polish v3 */
#boosterBox{
  width:100%;
  max-width:520px;
  margin:18px auto 24px;
  padding:18px 14px 20px;
  display:none;
  flex-direction:column;
  align-items:stretch;
  gap:12px;
  border:1px solid rgba(8,127,255,.10);
  border-radius:26px;
  background:rgba(255,255,255,.90);
  -webkit-backdrop-filter:blur(22px);
  backdrop-filter:blur(22px);
  box-shadow:0 18px 50px rgba(24,104,171,.12), inset 0 1px 0 rgba(255,255,255,.98);
}
#boosterBox .booster-title{
  margin:2px 0 6px;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Inter",sans-serif;
  font-size:18px;
  line-height:1.2;
  font-weight:850;
  letter-spacing:1.4px;
  color:#132b49;
  background:none;
  -webkit-text-fill-color:initial;
  text-shadow:none;
}
#boosterBox .booster-title::after{
  width:48px;
  height:3px;
  margin:8px auto 0;
  border-radius:99px;
  background:linear-gradient(90deg,#087fff,#15d9ff);
  box-shadow:0 4px 12px rgba(8,127,255,.25);
}
#boosterBox .booster-item{
  width:100%;
  min-height:70px;
  padding:10px 11px;
  display:flex;
  align-items:center;
  gap:11px;
  border-radius:20px;
  background:linear-gradient(145deg,#ffffff,#f3faff);
  border:1px solid rgba(8,127,255,.13);
  box-shadow:0 9px 24px rgba(29,105,167,.09), inset 0 1px 0 #fff;
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
#boosterBox .booster-item::before{display:none}
#boosterBox .booster-item:hover{
  transform:translateY(-1px);
  border-color:rgba(8,127,255,.24);
  box-shadow:0 13px 30px rgba(29,105,167,.13),0 0 18px rgba(0,205,255,.07);
}
#boosterBox .booster-item img{
  flex:0 0 46px;
  width:46px;
  height:46px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(8,127,255,.16);
  box-shadow:0 5px 14px rgba(8,127,255,.12);
}
#boosterBox .booster-item span{
  flex:1;
  min-width:0;
  margin:0;
  color:#142a45;
  font-size:14px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:.15px;
  text-align:left;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#boosterBox .booster-item button,
#boosterBox .booster-item button.red{
  flex:0 0 auto;
  min-width:92px;
  min-height:40px;
  padding:9px 14px;
  border-radius:13px;
  background:linear-gradient(135deg,#087fff,#12cfff);
  color:#fff;
  border:1px solid rgba(255,255,255,.65);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",sans-serif!important;
  font-size:11px;
  font-weight:850;
  letter-spacing:.55px;
  box-shadow:0 8px 18px rgba(8,127,255,.22);
  text-shadow:0 1px 1px rgba(0,52,110,.16);
  transition:transform .16s ease,box-shadow .18s ease,filter .18s ease;
}
#boosterBox .booster-item button:hover{filter:brightness(1.02);box-shadow:0 10px 22px rgba(8,127,255,.27)}
#boosterBox .booster-item button:active{transform:scale(.96)!important;box-shadow:0 5px 13px rgba(8,127,255,.20)}
@media(max-width:390px){
  #boosterBox{padding:16px 11px 18px;border-radius:23px}
  #boosterBox .booster-item{min-height:66px;padding:9px}
  #boosterBox .booster-item img{width:42px;height:42px;flex-basis:42px}
  #boosterBox .booster-item span{font-size:12.5px}
  #boosterBox .booster-item button{min-width:84px;padding:8px 10px;font-size:10px}
}

/* KIM SONW — FINAL VIP POLISH */
:root{
  --bg:#f5f9fe!important;
  --surface:#ffffff!important;
  --surface2:#f7fbff!important;
  --border:rgba(10,112,204,.13)!important;
  --text:#10243d!important;
  --muted:#70839a!important;
  --accent:#087fff!important;
  --cyan:#16d9ff;
  --shadow:0 18px 45px rgba(20,91,150,.12)!important;
  --transition:220ms cubic-bezier(.22,.8,.24,1)!important;
}
body{
  background:
    radial-gradient(700px 420px at 0% -10%,rgba(22,217,255,.18),transparent 62%),
    radial-gradient(650px 430px at 100% 0%,rgba(8,127,255,.14),transparent 60%),
    linear-gradient(180deg,#fbfdff 0%,#eef7ff 100%)!important;
  color:#10243d!important;
}
.app{padding-bottom:100px!important}
.home-hero{border-radius:26px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 18px 48px rgba(22,92,151,.11)!important;border:1px solid rgba(255,255,255,.95)!important}
.home-hero-img{max-height:340px!important;object-fit:cover!important}
.profile-card,.premium-banner,.function-card,.monitor-card{
  background:rgba(255,255,255,.84)!important;
  border-color:rgba(8,127,255,.12)!important;
  box-shadow:0 16px 42px rgba(23,91,145,.10)!important;
  backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;
}
/* Premium booster */
#boosterBox{
  margin:10px 0 18px!important;
  padding:18px 14px 15px!important;
  border-radius:28px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(242,249,255,.88))!important;
  border:1px solid rgba(255,255,255,.98)!important;
  box-shadow:0 20px 55px rgba(24,96,154,.13),inset 0 1px 0 #fff!important;
  position:relative!important;overflow:hidden!important;
}
#boosterBox:before{
  content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-120px;top:-120px;
  background:radial-gradient(circle,rgba(22,217,255,.23),transparent 68%);pointer-events:none
}
.booster-head-pro{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.booster-eyebrow{font-size:9px;font-weight:900;letter-spacing:1.8px;color:#087fff;margin-bottom:5px}
#boosterBox .booster-title{margin:0!important;color:#10243d!important;font-size:25px!important;line-height:1!important;letter-spacing:-.5px!important;text-shadow:none!important}
.booster-subtitle{margin:7px 0 0!important;color:#75879b!important;font-size:10px!important;line-height:1.35!important}
.booster-live{display:flex;align-items:center;gap:5px;padding:7px 9px;border-radius:999px;background:#effaff;border:1px solid rgba(8,127,255,.10);color:#087fff;font-size:9px;font-weight:900;white-space:nowrap}
.booster-live i{width:6px;height:6px;border-radius:50%;background:#17d98a;box-shadow:0 0 9px rgba(23,217,138,.55);animation:dhLive 1.6s infinite}
@keyframes dhLive{50%{opacity:.4;transform:scale(.8)}}
#boosterBox .booster-item{
  position:relative!important;z-index:1;display:grid!important;grid-template-columns:50px minmax(0,1fr) auto!important;align-items:center!important;gap:11px!important;
  min-height:72px!important;padding:9px!important;margin:9px 0!important;
  border-radius:20px!important;background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(8,127,255,.09)!important;box-shadow:0 9px 25px rgba(28,101,155,.07)!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
#boosterBox .booster-item:hover{transform:translateY(-2px)!important;border-color:rgba(8,127,255,.2)!important;box-shadow:0 14px 30px rgba(28,101,155,.11)!important}
#boosterBox .booster-item img{width:50px!important;height:50px!important;object-fit:cover!important;border-radius:15px!important;border:1px solid rgba(8,127,255,.1)!important;box-shadow:0 7px 15px rgba(20,90,145,.13)!important}
#boosterBox .booster-name{min-width:0!important;display:flex!important;flex-direction:column!important;gap:4px!important;text-align:left!important}
#boosterBox .booster-name strong{color:#10243d!important;font-size:13px!important;line-height:1.1!important;letter-spacing:.15px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#boosterBox .booster-name small{color:#8192a6!important;font-size:9px!important;line-height:1!important}
#boosterBox .booster-item button,#boosterBox .booster-item button.red{
  min-width:86px!important;height:38px!important;padding:0 13px!important;border-radius:13px!important;border:0!important;
  background:linear-gradient(135deg,#087fff,#13cfff)!important;color:#fff!important;
  font-size:9px!important;font-weight:900!important;letter-spacing:.7px!important;
  box-shadow:0 9px 19px rgba(8,127,255,.23)!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
#boosterBox .booster-item button:hover{filter:brightness(1.03)!important;box-shadow:0 12px 24px rgba(8,127,255,.28)!important}
#boosterBox .booster-item button:active{transform:scale(.95)!important}
/* Navigation: centered, calm, unmistakably iOS */
.bottom-nav{
  background:rgba(255,255,255,.88)!important;border:1px solid rgba(8,127,255,.10)!important;
  box-shadow:0 18px 45px rgba(25,92,145,.17)!important;backdrop-filter:blur(24px)!important;-webkit-backdrop-filter:blur(24px)!important;
}
.bottom-item{color:#8192a6!important}
.bottom-item.is-active{color:#087fff!important;background:#eef8ff!important;box-shadow:inset 0 0 0 1px rgba(8,127,255,.07),0 7px 18px rgba(8,127,255,.09)!important}
.bottom-item.is-active .bottom-icon svg{stroke:#087fff!important;filter:drop-shadow(0 2px 6px rgba(8,127,255,.2))}
.bottom-label{font-weight:700!important}
@media(max-width:390px){
 #boosterBox{padding:16px 10px 13px!important}
 #boosterBox .booster-item{grid-template-columns:44px minmax(0,1fr) auto!important;gap:9px!important;min-height:66px!important}
 #boosterBox .booster-item img{width:44px!important;height:44px!important;border-radius:13px!important}
 #boosterBox .booster-item button{min-width:76px!important;height:36px!important;padding:0 9px!important;font-size:8.5px!important}
 #boosterBox .booster-name strong{font-size:12px!important}
}

/* ===== KEY GATEKEEPER MODAL (KIM SONW) ===== */
.key-gatekeeper {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.key-gatekeeper.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.key-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.94));
  border: 1px solid rgba(0, 162, 255, 0.35);
  border-radius: 28px;
  box-shadow: 0 25px 65px rgba(0, 120, 255, 0.25), inset 0 1px 0 #fff;
  padding: 30px 24px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: keyPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes keyPop {
  0% { transform: scale(0.88); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.key-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0088ff, #00d2ff);
  box-shadow: 0 10px 25px rgba(0, 145, 255, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
}
.key-icon-wrap svg {
  width: 38px;
  height: 38px;
  fill: #fff;
}
.key-title {
  font-size: 20px;
  font-weight: 800;
  color: #0b2238;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}
.key-sub {
  font-size: 13px;
  color: #55718a;
  margin: 0 0 22px;
  line-height: 1.45;
}
.key-input-box {
  margin-bottom: 16px;
}
.key-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #0c2a47;
  text-align: center;
  text-transform: uppercase;
  background: #ffffff;
  border: 2px solid #bce1ff;
  border-radius: 16px;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}
.key-input:focus {
  border-color: #0084ff;
  box-shadow: 0 0 0 4px rgba(0, 132, 255, 0.18);
}
.key-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.key-btn-primary {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #0077ff, #00aaff);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 122, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.key-btn-primary:active {
  transform: scale(0.98);
}
.key-btn-secondary {
  width: 100%;
  padding: 12px;
  border: 1.5px solid #0091ff;
  border-radius: 16px;
  background: rgba(0, 145, 255, 0.08);
  color: #0070d6;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.key-btn-secondary:hover {
  background: rgba(0, 145, 255, 0.14);
}
.key-footer-links {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12.5px;
}
.key-footer-links a {
  color: #0077e6;
  text-decoration: none;
  font-weight: 700;
}
.key-msg {
  min-height: 20px;
  font-size: 13px;
  margin-top: 12px;
  font-weight: 600;
  transition: all 0.2s;
}
.key-msg.error { color: #e61f1f; }
.key-msg.success { color: #059669; }
.key-msg.loading { color: #0284c7; }

/* Status pill on profile */
.key-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 6px;
}
