:root {
  color-scheme: light;
  --airvana-red: #ff3b4a;
  --airvana-red-strong: #e92f40;
  --airvana-red-soft: #fff0f2;
  --airvana-success: #168455;
  --airvana-warning: #9a6500;
  --airvana-info: #315d99;
  --app-max-width: 430px;
  --app-max-height: 932px;
  --touch-target: 44px;
  --divider-height: 0.7px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --type-caption: 11px;
  --type-body: 13px;
  --type-label: 14px;
  --type-title: 20px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bottom-nav-reserve: 65px;
}

html,
body {
  min-height: 100%;
  overscroll-behavior: none;
}

body {
  min-height: 100dvh;
}

/* Onboarding supports direct pagination and horizontal swipe navigation while
   keeping vertical browser gestures available. Compact indicators use an
   expanded invisible hit area instead of becoming visually oversized. */
.onboarding-shell {
  touch-action: pan-y;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
}

.onboarding-slide {
  animation: onboardingSlideIn .24s ease-out;
}

.onboarding-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 10px;
}

.onboarding-dot {
  position: relative;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.onboarding-dot::before {
  position: absolute;
  inset: -8px;
  content: "";
}

.onboarding-dot__indicator {
  display: block;
  height: 6px;
  border-radius: 999px;
  transition: width .24s ease, background-color .24s ease;
  pointer-events: none;
}

.onboarding-dot:focus-visible {
  outline: none;
}

.onboarding-dot:focus-visible .onboarding-dot__indicator {
  box-shadow: 0 0 0 3px rgba(255,59,74,.2);
}

@keyframes onboardingSlideIn {
  from { opacity: .58; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

.app-shell {
  width: min(var(--app-max-width), 100vw) !important;
  height: min(var(--app-max-height), 100dvh) !important;
  margin: max(0px, calc((100dvh - var(--app-max-height)) / 2)) auto !important;
}

/* Desktop preview: reproduce the physical iPhone's bottom system area. Native
   wrappers provide their own safe inset and home indicator, so exclude them. */
@media (min-width: 431px) {
  html:not(.native-app-shell) {
    --safe-bottom: 34px;
  }

  html:not(.native-app-shell) .app-shell::before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 31;
    height: 34px;
    background: var(--surface-canvas, #f2f2f7);
    content: "";
    transition: background-color 180ms ease;
    pointer-events: none;
  }

  html:not(.native-app-shell) .app-shell::after {
    position: absolute;
    bottom: 8px;
    left: 50%;
    z-index: 34;
    width: 134px;
    height: 5px;
    border-radius: 999px;
    background: var(--text-primary, #1c1c1e);
    content: "";
    transform: translateX(-50%);
    transition: background-color 180ms ease;
    pointer-events: none;
  }

  html:not(.native-app-shell) .app-shell.is-home-screen::before {
    background: #000;
  }

  html:not(.native-app-shell) .app-shell.is-home-screen::after {
    background: #fff;
  }

  html:not(.native-app-shell) .app-shell.is-me-screen::before {
    background: #fff;
  }
}

/* Native iOS and Android draw their system navigation UI over the web view.
   Give the My screen's safe-area strip the same white canvas as its content. */
html.native-app-shell .app-shell.is-me-screen:not(.theme-dark)::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 31;
  height: var(--safe-bottom);
  background: #fff;
  content: "";
  pointer-events: none;
}

.app-header {
  padding-top: calc(12px + var(--safe-top)) !important;
}

.native-app-shell .app-header {
  display: none !important;
}

.app-topbar {
  padding-left: 14px !important;
}

.native-app-shell .app-topbar {
  padding-top: calc(12px + var(--safe-top)) !important;
}

@keyframes airvanaNotificationDrop {
  from { opacity: 0; transform: translateY(-18px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.airvana-top-notification {
  position: absolute;
  top: 46px;
  right: 12px;
  left: 12px;
  z-index: 96;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 20px;
  background: rgba(250, 250, 252, .92);
  color: #1c1c1e;
  box-shadow: 0 16px 46px rgba(24, 28, 38, .24), 0 2px 8px rgba(24, 28, 38, .12);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  animation: airvanaNotificationDrop .34s cubic-bezier(.2, .82, .2, 1);
}

.native-app-shell .airvana-top-notification {
  top: calc(8px + var(--safe-top));
}

.airvana-top-notification__action {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 14px;
  gap: 11px;
  align-items: center;
  min-height: 82px;
  padding: 12px 42px 13px 13px;
  cursor: pointer;
}

.airvana-top-notification__icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 187, 103, .18);
  border-radius: 14px;
  background: linear-gradient(145deg, #27c874, #119b57);
  color: #fff;
  box-shadow: 0 8px 20px rgba(17, 155, 87, .25);
}

.airvana-top-notification__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.airvana-top-notification__copy small {
  overflow: hidden;
  color: #737780;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.airvana-top-notification__copy b {
  margin-top: 4px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.airvana-top-notification__copy em {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: #636366;
  font-size: 10px;
  font-style: normal;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.airvana-top-notification__chevron {
  color: #8e8e93;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.airvana-top-notification__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(118, 118, 128, .1);
  color: #737780;
  font: 500 20px/1 -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
}

.app-shell.theme-dark .airvana-top-notification {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(37, 38, 43, .94);
  color: #f5f5f7;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .48);
}

.app-shell.theme-dark .airvana-top-notification__copy small,
.app-shell.theme-dark .airvana-top-notification__copy em {
  color: #b6b7bd;
}

.app-shell.theme-dark .airvana-top-notification__close {
  background: rgba(255, 255, 255, .1);
  color: #d1d1d6;
}

/* The iOS wrapper already supplies the physical safe-area inset. Pull the
   branded top bar 7px closer to the status bar without changing Android. */
html.native-ios-shell .app-topbar {
  padding-top: calc(5px + var(--safe-top)) !important;
}

.app-topbar__logo-frame {
  display: flex;
  width: 78px;
  height: 30px;
  align-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: none;
}

.app-topbar__logo {
  display: block;
  width: 105px;
  height: 35px;
  margin-left: -15px;
  object-fit: contain;
  filter: none;
  mix-blend-mode: multiply;
}

.app-shell.theme-dark .app-topbar__logo-frame {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.app-shell.theme-dark .app-topbar__logo {
  filter: invert(1) hue-rotate(180deg) !important;
  mix-blend-mode: screen !important;
}

.app-shell > .bottom-nav {
  position: absolute !important;
  right: auto !important;
  bottom: 0 !important;
  left: 50% !important;
  z-index: 32;
  width: min(318px, calc(100% - 32px)) !important;
  margin: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  padding-bottom: calc(12px + var(--safe-bottom)) !important;
  background: transparent !important;
  transform: translateX(-50%);
  pointer-events: none;
  padding-top: 3px !important;
}

/* Match the physical-iPhone composition while retaining the home-indicator
   safe area. */
html.native-ios-shell .app-shell > .bottom-nav {
  padding-bottom: max(0px, calc(var(--safe-bottom) - 5px)) !important;
}

.app-shell > .bottom-nav > .bottom-nav__capsule {
  padding-block: 2px !important;
}

.app-shell > .bottom-nav > .bottom-nav__capsule,
.app-shell > .bottom-nav > [role="button"] {
  pointer-events: auto;
}

/* Main-tab pages scroll behind the floating dock, so append a non-visual tail
   equal to the dock plus the native gesture / three-button navigation inset. */
.main-tab-scroll {
  min-height: 0;
  overflow-y: auto;
  scroll-padding-bottom: calc(var(--bottom-nav-reserve) + var(--safe-bottom));
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

/* Discover owns two vertical layers: a stationary category/search bar and an
   independently scrolling content region. This avoids relying on sticky
   positioning inside WKWebView, where momentum scrolling can move the bar. */
.discover-page {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.discover-tab-bar {
  position: relative;
  z-index: 3;
  flex: none;
  background: var(--surface-canvas, #f2f2f7);
}

.discover-content {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Let the profile scroll only when its real content is taller than the
   viewport. The content surface grows into unused space for short lists and
   contributes its intrinsic height for long lists. */
.me-page[data-me-page-scroll] {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}

.me-page[data-me-page-scroll] > .profile-card,
.me-page[data-me-page-scroll] > .profile-subscription-card,
.me-page[data-me-page-scroll] > .profile-shortcuts {
  flex-shrink: 0;
}

.me-page[data-me-page-scroll] > .my-content-surface {
  min-height: 0;
  flex: 1 0 auto;
  padding-bottom: calc(var(--bottom-nav-reserve) + var(--safe-bottom) + 12px);
}

/* Other main tabs use a trailing reserve node. On the profile that reserve is
   inside the flexible white content surface, so it does not create artificial
   overflow when the page is short. */
.me-page[data-me-page-scroll]::after {
  display: none;
}

.main-tab-scroll::after {
  content: "";
  display: block;
  width: 100%;
  height: calc(var(--bottom-nav-reserve) + var(--safe-bottom));
  flex: 0 0 calc(var(--bottom-nav-reserve) + var(--safe-bottom));
  pointer-events: none;
}

/* Keep the immersive feed media full-bleed while reserving the floating nav's
   visual height so the action rail and operator row remain fully tappable. */
.play-feed__actions {
  padding-bottom: calc(11px + var(--bottom-nav-reserve) + var(--safe-bottom)) !important;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.play-feed__actions:active { cursor: grabbing; }

.play-feed__actions [role="button"] { touch-action: manipulation; }

.play-feed__actions > div:first-child {
  gap: 8px !important;
}

.play-feed__actions > div:first-child > [role="button"]:not(:last-child) {
  gap: 4px !important;
  padding-inline: 0 !important;
}

.play-feed__actions > div:first-child > [role="button"]:not(:last-child) > svg {
  width: 20px !important;
  height: 20px !important;
}

.play-feed__actions > div:first-child > [role="button"]:last-child > span {
  gap: 5px !important;
  padding-inline: 10px !important;
}

.play-feed__author-row {
  margin-top: 8px !important;
}

html.native-ios-shell .play-feed__author-row {
  margin-top: 6px !important;
}

/* Home feed local Playable demos. The game layer owns its pointer stream while
   the surrounding feed keeps vertical swipe navigation. */
.feed-mini-game {
  position:absolute; inset:0; z-index:4; display:flex; flex-direction:column;
  min-height:0; padding:clamp(14px,4vw,22px); overflow:hidden; color:#fff;
  background:radial-gradient(circle at 20% 14%,rgba(255,255,255,.16),transparent 28%),linear-gradient(160deg,rgba(6,13,18,.76),rgba(7,11,15,.96));
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  touch-action:manipulation; user-select:none; -webkit-user-select:none;
}
.feed-mini-game.is-safety { background:radial-gradient(circle at 18% 15%,rgba(88,229,177,.24),transparent 34%),linear-gradient(155deg,rgba(4,35,31,.86),rgba(4,13,19,.98)); }
.feed-mini-game.is-farm { background:radial-gradient(circle at 78% 18%,rgba(142,240,169,.25),transparent 32%),linear-gradient(155deg,rgba(13,55,36,.88),rgba(5,20,18,.98)); }
.feed-mini-game.is-cups { background:radial-gradient(circle at 50% 32%,rgba(255,209,102,.18),transparent 34%),linear-gradient(155deg,rgba(112,17,27,.9),rgba(42,5,11,.98)); }
.feed-mini-game.is-arcade { background:radial-gradient(circle at 50% 18%,rgba(111,214,255,.22),transparent 35%),radial-gradient(circle at 82% 70%,rgba(255,59,94,.17),transparent 34%),linear-gradient(155deg,rgba(8,19,38,.9),rgba(7,8,18,.985)); }
.feed-mini-game.is-arcade.state-idle {
  background:linear-gradient(180deg,rgba(5,8,12,.05) 0%,rgba(5,8,12,.02) 44%,rgba(5,8,12,.32) 66%,rgba(5,8,12,.86) 100%);
  backdrop-filter:none; -webkit-backdrop-filter:none;
}
.feed-mini-game.is-arcade.state-idle .feed-mini-game__intro { justify-content:center; padding-bottom:0; text-shadow:0 2px 16px rgba(0,0,0,.68); }
.feed-mini-game.is-arcade.state-idle .feed-mini-game__intro-icon { width:58px; height:58px; border-radius:19px; background:rgba(6,9,16,.46); box-shadow:0 12px 30px rgba(0,0,0,.28); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.feed-mini-game.is-arcade.state-idle .feed-mini-game__intro h2 { margin-top:12px; }
.feed-mini-game.is-arcade.state-idle .feed-mini-game__intro p { margin-top:7px; color:rgba(255,255,255,.88); }
.feed-mini-game.is-arcade.state-idle .feed-mini-game__primary { margin-top:14px; }
.feed-mini-game.is-arcade.state-idle .feed-mini-game__intro small { margin-top:9px; color:rgba(255,255,255,.7); }
.feed-mini-game-launcher { position:absolute; left:50%; bottom:24px; z-index:4; display:flex; min-height:44px; align-items:center; gap:8px; padding:0 20px; transform:translateX(-50%); border:1px solid rgba(255,255,255,.4); border-radius:999px; color:#17181b; background:rgba(255,255,255,.94); box-shadow:0 12px 30px rgba(0,0,0,.24); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); font:900 12px/1 system-ui,sans-serif; cursor:pointer; touch-action:manipulation; }
.feed-mini-game-launcher span { color:#FF3B4A; font-size:11px; }
.feed-mini-game__topline,.feed-mini-game__hud { display:flex; align-items:center; justify-content:space-between; gap:10px; flex:none; }
.feed-mini-game__top-actions { display:flex; align-items:center; gap:7px; }
.feed-mini-game__topline > span { padding:6px 9px; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(7,9,12,.28); color:rgba(255,255,255,.82); font-size:9px; font-weight:900; letter-spacing:.7px; }
.feed-mini-game__close { width:32px; height:32px; padding:0; border:1px solid rgba(255,255,255,.24); border-radius:50%; color:#fff; background:rgba(6,8,10,.34); font:500 23px/1 system-ui,sans-serif; cursor:pointer; }
.feed-mini-game__sound { width:32px; height:32px; padding:0; border:1px solid rgba(255,255,255,.24); border-radius:50%; color:#fff; background:rgba(6,8,10,.34); font:600 14px/1 system-ui,sans-serif; cursor:pointer; }
.feed-mini-game__intro,.feed-mini-game__result { display:flex; flex:1; min-height:0; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.feed-mini-game__intro-icon,.feed-mini-game__result-ring { display:grid; width:72px; height:72px; place-items:center; border:1px solid rgba(255,255,255,.3); border-radius:24px; background:rgba(255,255,255,.13); box-shadow:0 18px 38px rgba(0,0,0,.22); font-size:30px; }
.feed-mini-game__intro h2,.feed-mini-game__result h2 { max-width:300px; margin:18px 0 0; font-size:clamp(22px,6vw,30px); line-height:1.15; letter-spacing:-.5px; }
.feed-mini-game__intro p,.feed-mini-game__result p { max-width:310px; margin:10px 0 0; color:rgba(255,255,255,.74); font-size:12px; line-height:1.6; }
.feed-mini-game__intro small,.feed-mini-game__result small { margin-top:14px; color:rgba(255,255,255,.54); font-size:9px; line-height:1.45; }
.feed-mini-game__primary,.feed-mini-game__secondary,.feed-mini-game__ghost { min-height:44px; border:0; border-radius:999px; font:900 12px/1 system-ui,sans-serif; cursor:pointer; }
.feed-mini-game__primary { min-width:154px; margin-top:22px; padding:0 24px; color:#17181b; background:#fff; box-shadow:0 12px 28px rgba(0,0,0,.22); }
.feed-mini-game__secondary { align-self:center; min-width:132px; margin-top:10px; padding:0 20px; color:#17181b; background:#fff; }
.feed-mini-game__ghost { min-width:112px; margin-left:8px; padding:0 18px; color:#fff; border:1px solid rgba(255,255,255,.28); background:rgba(255,255,255,.08); }
.feed-mini-game__hud { margin-top:clamp(12px,4vh,24px); color:rgba(255,255,255,.72); font-size:10px; }
.feed-mini-game__hud b { color:#fff; font-size:11px; }
.feed-mini-game__prompt { margin-top:clamp(16px,4vh,30px); font-size:clamp(18px,5vw,24px); font-weight:900; line-height:1.3; }
.feed-safety-game { display:flex; flex:1; min-height:0; flex-direction:column; }
.feed-safety-game__choices { display:grid; gap:9px; margin-top:clamp(14px,3vh,22px); }
.feed-safety-game__choice { display:grid; grid-template-columns:28px minmax(0,1fr) 20px; min-height:54px; align-items:center; gap:9px; padding:8px 12px; border:1px solid rgba(255,255,255,.18); border-radius:16px; color:#fff; background:rgba(255,255,255,.1); font:800 12px/1.35 system-ui,sans-serif; text-align:left; cursor:pointer; }
.feed-safety-game__choice > span { display:grid; width:28px; height:28px; place-items:center; border-radius:9px; background:rgba(255,255,255,.12); font-size:10px; }
.feed-safety-game__choice > .sc-interp { display:block; width:100%; min-width:0; grid-column:2; justify-self:stretch; }
.feed-safety-game__choice em { font-size:17px; font-style:normal; text-align:right; }
.feed-safety-game__choice.is-correct { border-color:#58e5b1; background:rgba(88,229,177,.2); }
.feed-safety-game__choice.is-wrong { border-color:#ff7b85; background:rgba(255,59,74,.2); }
.feed-safety-game__choice.is-locked,.feed-cup-game__choice.is-locked { cursor:default; }
.feed-mini-game__message { min-height:34px; margin-top:10px; color:rgba(255,255,255,.82); font-size:10px; line-height:1.5; text-align:center; }
.feed-farm-game { display:grid; width:min(76vw,294px); aspect-ratio:1; grid-template-columns:repeat(3,1fr); gap:9px; align-self:center; margin:auto; padding:14px; border:1px solid rgba(255,255,255,.16); border-radius:28px; background:rgba(2,14,10,.3); box-shadow:inset 0 0 30px rgba(0,0,0,.16); }
.feed-farm-game__cell { position:relative; display:grid; min-width:44px; min-height:44px; place-items:center; border:1px solid rgba(255,255,255,.14); border-radius:18px; color:rgba(255,255,255,.28); background:linear-gradient(145deg,rgba(95,75,37,.65),rgba(35,64,42,.75)); box-shadow:inset 0 0 0 4px rgba(10,28,18,.2); font-size:20px; cursor:pointer; }
.feed-farm-game__cell.is-target { color:#fff; border-color:#8ef0a9; background:radial-gradient(circle,#a7ffbf 0 12%,#35b66f 13% 34%,#173d2a 62%); box-shadow:0 0 22px rgba(142,240,169,.72),inset 0 0 0 3px rgba(255,255,255,.14); animation:feedFarmPulse 1.1s ease-in-out infinite; }
.feed-farm-game__cell.is-error { color:#fff; border-color:#ff7b85; background:rgba(134,31,44,.74); }
.feed-cups-game { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; width:min(88vw,350px); align-self:center; margin:auto; padding:26px 8px 18px; border-bottom:2px solid rgba(255,255,255,.28); }
.feed-cup-game__choice { display:flex; min-width:68px; min-height:132px; flex-direction:column; align-items:center; justify-content:flex-end; padding:0 4px; border:0; color:#fff; background:transparent; cursor:pointer; }
.feed-cup-game__star { display:grid; width:31px; height:31px; place-items:center; margin-bottom:-4px; color:#ffd166; font-size:26px; filter:drop-shadow(0 0 11px rgba(255,209,102,.8)); }
.feed-cup-game__cup { position:relative; display:grid; width:clamp(62px,19vw,82px); height:clamp(82px,25vw,108px); place-items:center; clip-path:polygon(7% 0,93% 0,80% 100%,20% 100%); border-radius:10px 10px 22px 22px; background:linear-gradient(90deg,#b81020 0%,#ff5361 38%,#e31e31 66%,#970a17 100%); box-shadow:inset 0 8px 0 rgba(255,255,255,.18),0 16px 28px rgba(0,0,0,.28); }
.feed-cup-game__cup::before,.feed-cup-game__cup::after { content:""; position:absolute; left:12%; right:12%; height:7px; border-radius:50%; background:rgba(255,255,255,.72); }
.feed-cup-game__cup::before { top:8px; }
.feed-cup-game__cup::after { bottom:13px; opacity:.62; }
.feed-cup-game__cup i { color:rgba(255,255,255,.82); font-size:10px; font-style:normal; letter-spacing:2px; }
.feed-cups-game.is-preview .feed-cup-game__choice.has-star .feed-cup-game__cup,.feed-cup-game__choice.is-selected .feed-cup-game__cup { transform:translateY(-14px); }
.feed-cups-game.is-shuffled .feed-cup-game__choice { animation:feedCupShuffle .78s cubic-bezier(.35,.02,.22,1); }
.feed-cups-game.is-shuffled .feed-cup-game__choice:nth-child(2) { animation-delay:.07s; }
.feed-cups-game.is-shuffled .feed-cup-game__choice:nth-child(3) { animation-delay:.14s; }
.feed-cup-game__choice.is-wrong .feed-cup-game__cup { filter:grayscale(.6) brightness(.68); }
.feed-arcade-game { display:flex; flex:1; min-height:0; flex-direction:column; }
.feed-arcade-game .feed-mini-game__prompt { margin-top:clamp(13px,3vh,24px); text-align:center; }
.feed-arcade-game__board { display:grid; width:min(88vw,360px); min-height:0; grid-template-columns:repeat(var(--arcade-columns,3),minmax(0,1fr)); gap:9px; align-self:center; margin:auto; padding:14px; border:1px solid rgba(255,255,255,.16); border-radius:28px; background:rgba(4,9,18,.42); box-shadow:inset 0 0 34px rgba(0,0,0,.2),0 20px 50px rgba(0,0,0,.16); }
.feed-arcade-game__choice { position:relative; display:flex; min-width:44px; min-height:64px; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:8px 4px; overflow:hidden; border:1px solid rgba(255,255,255,.16); border-radius:17px; color:rgba(255,255,255,.66); background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035)); box-shadow:inset 0 1px rgba(255,255,255,.08); cursor:pointer; transition:transform .16s ease,border-color .16s ease,background .16s ease; }
.feed-arcade-game__choice > span { font-size:clamp(20px,7vw,32px); line-height:1; filter:drop-shadow(0 5px 10px rgba(0,0,0,.28)); }
.feed-arcade-game__choice small { max-width:100%; overflow:hidden; color:inherit; font-size:8px; font-weight:800; line-height:1.15; text-overflow:ellipsis; white-space:nowrap; }
.feed-arcade-game__choice.is-target { z-index:1; border-color:#74e7ff; color:#fff; background:radial-gradient(circle at 50% 35%,rgba(116,231,255,.4),rgba(89,54,238,.2) 55%,rgba(255,59,94,.12)); box-shadow:0 0 28px rgba(83,214,255,.48),inset 0 0 0 2px rgba(255,255,255,.12); animation:feedArcadeTarget .72s ease-in-out infinite alternate; }
.feed-arcade-game__choice.is-correct { border-color:#65f0b4; color:#fff; background:rgba(47,190,128,.34); box-shadow:0 0 24px rgba(101,240,180,.42); }
.feed-arcade-game__choice.is-wrong { border-color:#ff6f7b; color:#fff; background:rgba(185,30,54,.38); animation:feedArcadeWrong .28s ease; }
.feed-arcade-game__choice.is-locked { pointer-events:none; }
.feed-arcade-game.is-runner .feed-arcade-game__board,.feed-arcade-game.is-racing .feed-arcade-game__board,.feed-arcade-game.is-defense .feed-arcade-game__board { align-items:stretch; min-height:210px; background:linear-gradient(90deg,rgba(39,75,115,.24) 0 31%,rgba(255,255,255,.08) 31% 34%,rgba(39,75,115,.24) 34% 65%,rgba(255,255,255,.08) 65% 68%,rgba(39,75,115,.24) 68%); }
.feed-arcade-game.is-rhythm .feed-arcade-game__choice { min-height:88px; border-radius:26px; }
.feed-arcade-game.is-stack .feed-arcade-game__choice > span { width:100%; color:#8df1ff; font-size:42px; transform:perspective(80px) rotateX(22deg); }
.feed-arcade-game.is-puzzle .feed-arcade-game__board { max-width:270px; }
.feed-arcade-game.is-puzzle .feed-arcade-game__choice { min-height:92px; border-style:dashed; touch-action:none; }
.feed-arcade-game.is-puzzle .feed-arcade-game__choice.is-draggable { cursor:grab; }
.feed-arcade-game.is-puzzle .feed-arcade-game__choice.is-draggable:active { cursor:grabbing; }
.feed-arcade-game.is-match .feed-arcade-game__choice,.feed-arcade-game.is-shooter .feed-arcade-game__choice { min-height:58px; aspect-ratio:1; }
.feed-arcade-game.is-match .feed-arcade-game__choice > span { color:#ff7ee8; }
.feed-arcade-game.is-fishing .feed-arcade-game__board { width:min(94vw,370px); gap:5px; padding:10px; border-radius:999px; }
.feed-arcade-game.is-fishing .feed-arcade-game__choice { min-width:0; min-height:94px; border-radius:999px; }
.feed-arcade-game.is-defense .feed-arcade-game__choice > span { color:#ffb15f; font-size:38px; }
.feed-arcade-game.is-shooter .feed-arcade-game__board { max-width:300px; border-radius:50%; background:repeating-radial-gradient(circle,rgba(78,120,255,.12) 0 24px,rgba(255,255,255,.08) 25px 26px,transparent 27px 48px),rgba(4,9,24,.55); }
.feed-arcade-game.is-merge .feed-arcade-game__board { max-width:310px; background:linear-gradient(145deg,rgba(84,61,29,.8),rgba(37,29,18,.86)); border-color:rgba(224,192,125,.3); box-shadow:inset 0 0 0 7px rgba(102,72,32,.3),0 20px 50px rgba(0,0,0,.18); }
.feed-arcade-game.is-merge .feed-arcade-game__choice { min-height:62px; background:linear-gradient(145deg,rgba(255,248,221,.14),rgba(94,121,51,.12)); }
.feed-arcade-game.is-merge .feed-arcade-game__choice > span { font-size:29px; filter:none; }
.feed-arcade-game.is-shop .feed-arcade-game__board { max-width:292px; background:linear-gradient(145deg,rgba(87,52,35,.78),rgba(22,58,58,.72)); border-color:rgba(230,190,132,.25); }
.feed-arcade-game.is-shop .feed-arcade-game__choice { min-height:86px; border-radius:22px; color:#f7e8cf; background:rgba(255,244,219,.08); }
.feed-arcade-game.is-shop .feed-arcade-game__choice > span { color:#eac28d; }
.feed-arcade-game.is-io .feed-arcade-game__board { max-width:302px; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 42% 35%,rgba(51,151,154,.36),rgba(10,57,64,.68) 62%,rgba(4,32,38,.9)); border-color:rgba(180,231,223,.26); }
.feed-arcade-game.is-io .feed-arcade-game__choice { min-height:56px; aspect-ratio:1; border-radius:50%; border-color:transparent; background:rgba(221,245,235,.08); }
.feed-arcade-game.is-io .feed-arcade-game__choice > span { color:#f0cb71; font-size:25px; filter:none; }
.feed-arcade-game.is-io .feed-arcade-game__choice:nth-child(3n+2):not(.is-target) > span { color:#dc7967; font-size:37px; }
.feed-arcade-game.is-crystal-defense .feed-arcade-game__board { align-items:stretch; min-height:210px; background:linear-gradient(90deg,rgba(48,76,82,.52) 0 31%,rgba(212,183,117,.14) 31% 34%,rgba(48,76,82,.52) 34% 65%,rgba(212,183,117,.14) 65% 68%,rgba(48,76,82,.52) 68%); }
.feed-arcade-game.is-crystal-defense .feed-arcade-game__choice > span { color:#78d5d9; font-size:38px; }
.feed-arcade-game.is-wardrobe .feed-arcade-game__board { max-width:320px; background:linear-gradient(145deg,rgba(77,55,48,.78),rgba(33,27,29,.84)); border-color:rgba(231,207,179,.22); }
.feed-arcade-game.is-wardrobe .feed-arcade-game__choice { min-height:142px; justify-content:flex-end; padding-bottom:17px; border-radius:18px 18px 10px 10px; background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.025)); }
.feed-arcade-game.is-wardrobe .feed-arcade-game__choice > span { color:#e4c4a3; font-size:52px; }
.feed-arcade-game.is-mower .feed-arcade-game__board { max-width:304px; background:radial-gradient(circle at 50% 48%,rgba(187,146,231,.22),rgba(41,65,46,.82) 72%); border-color:rgba(212,233,174,.24); }
.feed-arcade-game.is-mower .feed-arcade-game__choice { min-height:62px; border-radius:20px 10px 20px 10px; color:#d9efb4; background:linear-gradient(145deg,rgba(177,213,114,.14),rgba(103,73,133,.12)); }
.feed-arcade-game.is-mower .feed-arcade-game__choice > span { color:#d9efb4; font-size:26px; }
.feed-arcade-game.is-garden .feed-arcade-game__board { max-width:306px; background:linear-gradient(145deg,rgba(61,91,46,.84),rgba(96,68,43,.76)); border-color:rgba(222,211,155,.28); box-shadow:inset 0 0 0 6px rgba(70,43,24,.24),0 20px 50px rgba(0,0,0,.18); }
.feed-arcade-game.is-garden .feed-arcade-game__choice { min-height:64px; border-radius:15px; background:linear-gradient(145deg,rgba(248,239,192,.14),rgba(81,132,65,.12)); }
.feed-arcade-game.is-garden .feed-arcade-game__choice > span { font-size:28px; filter:drop-shadow(0 4px 8px rgba(0,0,0,.18)); }
.feed-mini-game__result-ring { border-radius:50%; color:#11151a; background:#fff; font-size:34px; font-weight:900; }
.feed-mini-game__result > div:nth-last-of-type(1) { display:flex; align-items:center; justify-content:center; }
.feed-mini-game__reward-summary { width:min(310px,100%); display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:14px 0 2px; }
.feed-mini-game__reward-summary article { min-width:0; padding:10px 9px; border:1px solid rgba(255,255,255,.2); border-radius:14px; background:rgba(255,255,255,.11); text-align:left; }
.feed-mini-game__reward-summary span,.feed-mini-game__reward-summary b,.feed-mini-game__reward-summary small { display:block; }
.feed-mini-game__reward-summary span { color:rgba(255,255,255,.68); font-size:9px; font-weight:800; }
.feed-mini-game__reward-summary b { margin-top:3px; color:#fff; font-size:18px; line-height:1.1; }
.feed-mini-game__reward-summary small { margin-top:4px!important; color:rgba(255,255,255,.62)!important; font-size:8px!important; line-height:1.35!important; }
.game-economy-card { border:1px solid var(--border-primary,#E5E5EA); border-radius:20px; background:var(--surface-card,#FFFFFF); padding:16px; }
.game-economy-card>header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.game-economy-card>header b,.game-economy-card>header span { display:block; }
.game-economy-card>header b { color:var(--text-primary,#1C1C1E); font-size:14px; font-weight:900; }
.game-economy-card>header span { margin-top:4px; color:var(--text-tertiary,#8E8E93); font-size:9px; }
.game-economy-card>header em { flex:none; border-radius:999px; background:#FFF0F1; color:#C62836; padding:5px 8px; font-size:8px; font-style:normal; font-weight:900; }
.game-economy-flow { display:flex; align-items:center; gap:4px; margin-top:13px; overflow-x:auto; color:#636366; }
.game-economy-flow span { flex:none; border-radius:9px; background:var(--surface-subtle,#F7F7FA); padding:7px 8px; font-size:8px; font-weight:850; }
.game-economy-flow i { color:#FF3B4A; font-size:9px; font-style:normal; }
.game-economy-card>p { margin:11px 0 0; color:var(--text-secondary,#636366); font-size:9px; line-height:1.65; }
.game-coin-ledger-list { display:grid; gap:7px; margin-top:12px; }
.game-coin-ledger-list article { display:flex; align-items:center; justify-content:space-between; gap:10px; border-radius:12px; background:var(--surface-subtle,#F7F7FA); padding:10px 11px; }
.game-coin-ledger-list b,.game-coin-ledger-list span { display:block; }
.game-coin-ledger-list b { color:var(--text-primary,#1C1C1E); font-size:10px; }
.game-coin-ledger-list span { max-width:230px; margin-top:3px; color:var(--text-tertiary,#8E8E93); font-size:7px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.game-coin-ledger-list strong { flex:none; color:#FF3B4A; font-size:15px; }
.game-coin-ledger-empty { margin-top:12px; border:1px dashed var(--border-primary,#D1D1D6); border-radius:12px; padding:12px; color:var(--text-tertiary,#8E8E93); font-size:9px; line-height:1.55; text-align:center; }
@keyframes feedFarmPulse { 50% { transform:scale(.93); box-shadow:0 0 34px rgba(142,240,169,.88); } }
@keyframes feedCupShuffle { 0%,100% { transform:translateX(0) rotate(0); } 35% { transform:translateX(18px) rotate(4deg); } 68% { transform:translateX(-18px) rotate(-4deg); } }
@keyframes feedArcadeTarget { to { transform:translateY(-3px) scale(1.035); filter:brightness(1.14); } }
@keyframes feedArcadeWrong { 25% { transform:translateX(-4px); } 75% { transform:translateX(4px); } }
@media (max-height:720px) {
  .feed-mini-game { padding-block:12px; }
  .feed-mini-game__hud { margin-top:8px; }
  .feed-mini-game__prompt { margin-top:10px; font-size:17px; }
  .feed-safety-game__choices { gap:6px; margin-top:9px; }
  .feed-safety-game__choice { min-height:46px; }
  .feed-farm-game { width:min(62vw,230px); padding:10px; }
  .feed-cup-game__choice { min-height:102px; }
  .feed-cup-game__cup { width:58px; height:76px; }
  .feed-arcade-game__board { max-height:270px; margin-block:10px; padding:10px; }
  .feed-arcade-game__choice { min-height:50px; }
  .feed-arcade-game.is-runner .feed-arcade-game__board,.feed-arcade-game.is-racing .feed-arcade-game__board,.feed-arcade-game.is-defense .feed-arcade-game__board { min-height:168px; }
}
@media (prefers-reduced-motion:reduce) {
  .feed-farm-game__cell.is-target,.feed-cups-game.is-shuffled .feed-cup-game__choice,.feed-arcade-game__choice.is-target,.feed-arcade-game__choice.is-wrong { animation:none; }
}

.bottom-nav__icon {
  width: 25px !important;
  height: 25px !important;
}

[role="button"],
button,
input,
textarea,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Text entry is hosted by WKWebView on iOS. Keep every editable control within
   its flex/grid track and at a 16px computed size so WebKit does not magnify
   the page when the keyboard opens. */
.app-shell input,
.app-shell textarea,
.app-shell select {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html.native-app-shell .app-shell input:not([type]),
html.native-app-shell .app-shell input[type="text"],
html.native-app-shell .app-shell input[type="email"],
html.native-app-shell .app-shell input[type="password"],
html.native-app-shell .app-shell input[type="search"],
html.native-app-shell .app-shell input[type="tel"],
html.native-app-shell .app-shell input[type="url"],
html.native-app-shell .app-shell input[type="number"],
html.native-app-shell .app-shell textarea,
html.native-app-shell .app-shell select {
  font-size: 16px !important;
}

html.native-app-shell .app-shell input:focus,
html.native-app-shell .app-shell input:focus-visible,
html.native-app-shell .app-shell textarea:focus,
html.native-app-shell .app-shell textarea:focus-visible,
html.native-app-shell .app-shell select:focus,
html.native-app-shell .app-shell select:focus-visible {
  border-color: #ff7b85 !important;
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

.comments-sheet__composer {
  display: flex;
  flex: none;
  align-items: flex-end;
  gap: 9px;
  padding: 10px 14px calc(12px + var(--safe-bottom));
  border-top: var(--divider-height) solid var(--border-primary, #e5e5ea);
  background: var(--surface-card, #fff);
}

.comments-sheet__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  max-height: 92px;
  padding: 10px 2px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary, #1c1c1e);
  box-shadow: none;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}

.comments-sheet__input:focus,
.comments-sheet__input:focus-visible {
  border: 0;
  outline: 0 !important;
  box-shadow: none;
}

@media (max-width: 430px) {
  input:not([type]),
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important;
  }

  html .app-shell input:focus-visible,
  html .app-shell textarea:focus-visible,
  html .app-shell select:focus-visible {
    outline: 0 !important;
    outline-offset: 0 !important;
  }

  html.mobile-text-entry-active,
  html.mobile-text-entry-active body {
    width: 100%;
    height: var(--mobile-visual-height, 100dvh);
    overflow: hidden;
  }

  html.mobile-text-entry-active .app-shell {
    position: fixed !important;
    top: var(--mobile-visual-top, 0px) !important;
    right: auto !important;
    bottom: auto !important;
    left: var(--mobile-visual-left, 0px) !important;
    width: var(--mobile-visual-width, 100vw) !important;
    max-width: none !important;
    height: var(--mobile-visual-height, 100dvh) !important;
    margin: 0 !important;
  }

  html.mobile-text-entry-active .main-tab-scroll,
  html.mobile-text-entry-active .secondary-page-body,
  html.mobile-text-entry-active .system-modal__card {
    scroll-padding-bottom: calc(24px + var(--safe-bottom));
  }
}

[role="button"]:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 59, 74, 0.35) !important;
  outline-offset: 2px;
}

.action-disabled {
  opacity: 0.45;
  cursor: not-allowed !important;
  pointer-events: none;
}

.create-idea-input::placeholder {
  color: rgba(255, 255, 255, 0.68);
  opacity: 1;
}

.create-idea-input.mode-deep::placeholder {
  color: rgba(7, 25, 27, 0.48);
}

.create-composer-intro {
  flex: 0 0 clamp(294px, 38dvh, 344px);
  min-height: 294px;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 13px;
}

.create-composer-close {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: currentColor;
  cursor: pointer;
}

.create-composer-close svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
}

.create-composer-close--surface {
  justify-content: center;
  border: 1px solid var(--border-primary,#e5e5ea);
  border-radius: 50%;
  background: var(--surface-card,#fff);
}

.create-mode-option,
.create-home-dock__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.create-mode-option svg,
.create-home-dock__item svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.create-mode-lock {
  display: inline-flex;
  align-items: center;
  min-height: 15px;
  border-radius: 999px;
  padding: 0 5px;
  background: rgba(255, 255, 255, 0.14);
  color: currentColor;
  font-size: 7px;
  font-weight: 900;
  line-height: 15px;
  letter-spacing: 0.2px;
}

/* The Android shell draws behind system bars. Keep the themed canvas full
   bleed, but place its controls below the injected native top inset. */
.native-app-shell .create-overlay .create-mode-canvas {
  padding-top: var(--safe-top);
}

/* Both capability and template views share this floating switcher. Its visual
   size stays unchanged while the whole control clears gesture/3-button bars. */
.create-home-dock {
  bottom: calc(17px + var(--safe-bottom));
}

.create-idea-input {
  flex: 1;
  width: 100%;
  min-height: 96px;
  padding: 16px 2px 8px;
  border: 0;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  resize: none;
}

.composer-prep-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.composer-prep-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}

.composer-tool-button {
  position: relative;
  width: 46.8px;
  height: 46.8px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.composer-tool-button:active { transform: scale(0.94); }
.composer-tool-button.is-ready { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 2px rgba(255, 255, 255, 0.2); }

.composer-tool-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #007e86;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  box-sizing: border-box;
}

.composer-primary-action {
  min-width: 92px;
  height: 42.5px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.composer-primary-action > svg { width:20px; height:20px; flex:none; fill:currentColor; stroke:none; transform:rotate(-8deg); }
.composer-primary-action:active { transform: scale(0.98); }
.composer-primary-action.is-incomplete { background: rgba(255, 255, 255, 0.72); box-shadow: none; }
.composer-primary-action.is-progress { background: rgba(255, 255, 255, 0.86); }
.composer-primary-action.is-review { background: rgba(255, 255, 255, 0.94); }
.composer-primary-action.is-ready { background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22); }
.composer-primary-action.is-loading { pointer-events: none; opacity: 0.56; }

.composer-sheet-dialog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 82%;
  min-height: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px 26px 0 0;
  background: #ffffff;
  color: #1c1c1e;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.24);
  animation: slideUp 0.25s;
}

.composer-sheet-header {
  flex: none;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px 10px;
  border-bottom: var(--divider-height) solid #efeff4;
  background: #ffffff;
}

.composer-sheet-heading {
  min-width: 0;
  flex: 1;
}

.composer-sheet-heading > div {
  font-size: 16px;
  font-weight: 950;
}

.composer-sheet-heading > span {
  display: block;
  margin-top: 3px;
  color: #8e8e93;
  font-size: 9px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.composer-sheet-scroll {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px 18px calc(22px + var(--safe-bottom));
}

.composer-sheet-close {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f2f2f7;
  font-size: 19px;
  cursor: pointer;
}

.composer-sheet-close::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
}

.composer-goal-chip,
.composer-goal-connector,
.composer-asset-control {
  box-sizing: border-box;
}

.inspiration-sheet {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inspiration-section-heading {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.inspiration-section-heading > div:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.inspiration-section-heading b {
  font-size: 13px;
  line-height: 1.35;
}

.inspiration-section-heading span {
  color: #8e8e93;
  font-size: 9px;
  line-height: 1.45;
}

.inspiration-preview-count {
  flex: none;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f2fbfb;
  color: #007e86;
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.inspiration-suggestion-list {
  display: grid;
  gap: 10px;
}

.inspiration-suggestion-card {
  position: relative;
  min-width: 0;
  box-sizing: border-box;
  padding: 13px 46px 13px 13px;
  border: 1px solid #e5e5ea;
  border-radius: 16px;
  background: #f8f8fa;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.inspiration-suggestion-card:active {
  transform: scale(0.99);
}

.inspiration-suggestion-card.is-selected {
  border-color: #ff3b4a;
  background: #fff4f5;
}

.inspiration-suggestion-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.inspiration-suggestion-kind {
  color: #007e86;
  font-size: 9px;
  font-weight: 900;
}

.inspiration-suggestion-index {
  color: #8e8e93;
  font-size: 8px;
  font-weight: 800;
}

.inspiration-suggestion-title {
  margin-top: 6px;
  color: #1c1c1e;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.35;
}

.inspiration-suggestion-summary {
  margin-top: 4px;
  color: #636366;
  font-size: 10px;
  line-height: 1.55;
}

.inspiration-suggestion-tags {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.inspiration-suggestion-tags > div {
  padding: 4px 7px;
  border-radius: 999px;
  background: #ffffff;
  color: #636366;
  font-size: 8px;
  line-height: 1;
}

.inspiration-suggestion-check {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid #c7c7cc;
  border-radius: 50%;
  background: #ffffff;
  color: transparent;
  font-size: 11px;
  font-weight: 950;
}

.inspiration-suggestion-card.is-selected .inspiration-suggestion-check {
  border-color: #ff3b4a;
  background: #ff3b4a;
  color: #ffffff;
}

.inspiration-sticky-footer {
  position: sticky;
  bottom: -22px;
  z-index: 3;
  margin: 2px -18px -22px;
  padding: 11px 18px 14px;
  border-top: var(--divider-height) solid #efeff4;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -10px 24px rgba(31, 31, 35, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.inspiration-selection-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: #1c1c1e;
  font-size: 9px;
}

.inspiration-footer-links {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  color: #636366;
  font-size: 8px;
  font-weight: 800;
}

.inspiration-footer-links > [role="button"] {
  position: relative;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.inspiration-footer-links > [role="button"]::before {
  content: "";
  position: absolute;
  inset: -6px -2px;
}

.inspiration-footer-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 9px;
}

.inspiration-secondary-action,
.inspiration-primary-action {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  text-align: center;
  font-size: 10px;
  font-weight: 950;
  cursor: pointer;
}

.inspiration-secondary-action {
  border: 1px solid #d1d1d6;
  background: #ffffff;
  color: #1c1c1e;
}

.inspiration-primary-action {
  border: 1px solid #ff3b4a;
  background: #ff3b4a;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(255, 59, 74, 0.2);
}

.inspiration-mode-switch {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border-radius: 15px;
  background: #f2f2f7;
}

.inspiration-mode-option {
  min-width: 0;
  min-height: 44px;
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #8e8e93;
  text-align: center;
  cursor: pointer;
}

.inspiration-mode-option b { font-size: 10px; }
.inspiration-mode-option span { font-size: 8px; }

.inspiration-mode-option.is-active {
  border-color: #ffd0d4;
  background: #ffffff;
  color: #c62836;
  box-shadow: 0 3px 10px rgba(31, 31, 35, 0.06);
}

.inspiration-diff-grid {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.inspiration-diff-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e5e5ea;
  border-radius: 15px;
  background: #f8f8fa;
}

.inspiration-diff-card.is-after {
  border-color: #ffd0d4;
  background: #fff7f8;
}

.inspiration-diff-card__label {
  color: #8e8e93;
  font-size: 8px;
  font-weight: 900;
}

.inspiration-diff-card.is-after .inspiration-diff-card__label {
  color: #c62836;
}

.inspiration-diff-card__text {
  min-width: 0;
  margin-top: 6px;
  color: #1c1c1e;
  font-size: 9px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.inspiration-validation {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.inspiration-validation__title {
  font-size: 11px;
  font-weight: 950;
}

.inspiration-validation-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid #e5e5ea;
  border-radius: 13px;
  background: #ffffff;
}

.inspiration-validation-row__icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dff5e7;
  color: #147542;
  font-size: 9px;
  font-weight: 950;
}

.inspiration-validation-row > div:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.inspiration-validation-row b { font-size: 9px; }
.inspiration-validation-row span { color: #8e8e93; font-size: 8px; line-height: 1.45; }
.inspiration-validation-row strong { color: #147542; font-size: 8px; }
.inspiration-validation-row.is-blocked { border-color: #ffd6da; background: #fff7f8; }
.inspiration-validation-row.is-blocked .inspiration-validation-row__icon { background: #ffe1e4; color: #c62836; }
.inspiration-validation-row.is-blocked strong { color: #c62836; }

.inspiration-error {
  padding: 9px 11px;
  border: 1px solid #ffd6da;
  border-radius: 12px;
  background: #fff1f2;
  color: #c62836;
  font-size: 9px;
  line-height: 1.5;
}

@media (max-width: 360px) {
  .inspiration-suggestion-card { padding: 12px 43px 12px 12px; }
  .inspiration-sticky-footer { padding-left: 14px; padding-right: 14px; }
  .inspiration-footer-links { gap: 8px; }
}

.template-grid {
  scrollbar-width: none;
  overscroll-behavior-y: contain;
}

.template-grid::-webkit-scrollbar {
  display: none;
}

.template-card-preview {
  transition: transform 180ms ease, filter 180ms ease;
}

[role="button"]:active > .template-card-preview {
  transform: scale(0.975);
  filter: brightness(0.96);
}

@keyframes drawerFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes drawerSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.settings-drawer-group {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  background: var(--surface-card);
}

.settings-drawer-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--text-secondary);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-drawer-label {
  flex: 1;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.05px;
}

.app-shell {
  --surface-canvas: #f2f2f7;
  --surface-subtle: #f7f7fa;
  --surface-card: #ffffff;
  --surface-elevated: #ffffff;
  --surface-media: #08090b;
  --surface-overlay: rgba(255, 255, 255, 0.94);
  --surface-control: #f1f1f6;
  --text-primary: #1c1c1e;
  --text-secondary: #3a3a3c;
  --text-tertiary: #8e8e93;
  --text-on-media: #ffffff;
  --border-primary: #e5e5ea;
  --border-subtle: #f1f1f6;
  --border-strong: #d1d1d6;
  --accent-primary: #ff3b4a;
  --accent-muted: #fff0f1;
  --focus-ring: rgba(255, 59, 74, 0.35);
  --shadow-card: 0 10px 26px rgba(38, 32, 48, 0.05);
  --shadow-overlay: 0 24px 64px rgba(18, 18, 22, 0.18);
  --nav-capsule: rgba(255, 255, 255, 0.94);
  --drawer-divider: #f1f1f5;
  --message-read-bg: #ffffff;
  --message-unread-bg: #fff8f8;
  --message-read-border: #e5e5ea;
  --message-unread-border: #ffd6da;
  --message-read-dot: #d1d1d6;
  --accent-soft: #fff0f1;
}

.app-shell.theme-dark {
  --surface-canvas: #0f1013;
  --surface-subtle: #14161a;
  --surface-card: #181a1f;
  --surface-elevated: #202329;
  --surface-media: #08090b;
  --surface-overlay: rgba(24, 26, 31, 0.94);
  --surface-control: #25282e;
  --text-primary: #f5f6f8;
  --text-secondary: #b1b4bc;
  --text-tertiary: #7d818b;
  --text-on-media: #ffffff;
  --border-primary: #30333a;
  --border-subtle: #25282e;
  --border-strong: #454851;
  --accent-primary: #ff5869;
  --accent-muted: #321b20;
  --focus-ring: rgba(255, 88, 105, 0.42);
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.28);
  --shadow-overlay: 0 28px 72px rgba(0, 0, 0, 0.52);
  --nav-capsule: rgba(32, 35, 41, 0.94);
  --drawer-divider: #30333a;
  --message-read-bg: #181a1f;
  --message-unread-bg: #251a1e;
  --message-read-border: #30333a;
  --message-unread-border: #5c2930;
  --message-read-dot: #666a73;
  --accent-soft: #321a1e;
  background: var(--surface-canvas) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-primary) !important;
  color-scheme: dark;
}

html[data-airvana-theme="dark"],
html[data-airvana-theme="dark"] body {
  background: #0f1013;
  color-scheme: dark;
}

.theme-mode-control {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-primary);
  border-radius: 999px;
  background: var(--surface-control);
}

.theme-mode-option {
  position: relative;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.theme-mode-option::before {
  content: "";
  position: absolute;
  inset: -7px -1px;
}

.app-shell.theme-dark .theme-mode-option[aria-pressed="true"] {
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
}

.app-shell,
.app-shell .bottom-nav,
.app-shell .settings-drawer,
.app-shell .settings-drawer-group,
.app-shell .message-card,
.app-shell .profile-card,
.app-shell .profile-shortcuts,
.app-shell .my-content-surface {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.profile-bio,
.message-card-body {
  color: var(--text-secondary) !important;
}

.message-card-status,
.message-summary,
.drawer-row-meta,
.drawer-row-chevron {
  color: var(--text-tertiary) !important;
}

.profile-stats {
  border-color: var(--border-subtle) !important;
}

.profile-stat-middle {
  border-color: var(--border-subtle) !important;
}

.profile-level {
  background: var(--accent-soft) !important;
}

[role="dialog"] > .secondary-page-header + .secondary-panel-scroll--profile-stats {
  gap: 0 !important;
  padding: 12px 0 0 !important;
}

.profile-stats-page {
  display: flex;
  flex: 1;
  min-height: 100%;
}

.profile-stats-surface {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-top: var(--divider-height) solid var(--border-primary, #e5e5ea);
  border-radius: 18px 18px 0 0;
  background: var(--surface-card, #fff);
}

.profile-stats-tabs {
  display: grid;
  flex: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: var(--divider-height) solid var(--border-primary, #e5e5ea);
}

.profile-stats-tab {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.profile-stats-tab svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-stats-tab:first-child svg {
  fill: currentColor;
  stroke: none;
}

.profile-stats-tab i {
  position: absolute;
  right: 30%;
  bottom: 0;
  left: 30%;
  height: 3px;
  border-radius: 999px;
}

.profile-stats-content {
  flex: 1;
  min-height: 0;
  background: var(--surface-card, #fff);
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 10px;
}

.profile-like-card {
  position: relative;
  min-width: 0;
  min-height: 190px;
  overflow: hidden;
  border-radius: 12px;
  background: #19191c;
  color: #fff;
  cursor: pointer;
  isolation: isolate;
}

.profile-like-card > img,
.profile-like-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-like-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #44353a, #171719);
  font-size: 25px;
}

.profile-like-card__shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, .08) 38%, rgba(5, 6, 8, .88) 100%);
}

.profile-like-card__likes {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(18, 18, 20, .58);
  font-size: 7px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.profile-like-card__likes svg {
  width: 10px;
  height: 10px;
  fill: #ff4c5d;
}

.profile-like-card__copy {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  left: 8px;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.profile-like-card__copy b {
  display: -webkit-box;
  overflow: hidden;
  font-size: 8px;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.profile-like-card__copy span {
  overflow: hidden;
  margin-top: 4px;
  color: rgba(255, 255, 255, .78);
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-like-card:focus-visible {
  outline: 3px solid rgba(255, 59, 74, .42);
  outline-offset: -3px;
}

.profile-relations-list {
  background: var(--surface-card, #fff);
}

.profile-relation-cell {
  display: flex;
  width: 100%;
  min-height: 78px;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-bottom: var(--divider-height) solid var(--border-primary, #e5e5ea);
  background: var(--surface-card, #fff);
}

.profile-stats-empty {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media (max-width: 374px) {
  .profile-stats-grid { gap: 6px; padding: 9px; }
  .profile-like-card { min-height: 166px; }
}

.profile-avatar-shell {
  position: relative;
  width: 76px;
  height: 76px;
  flex: none;
}

.profile-avatar-shell > img {
  display: block;
  width: 76px;
  height: 76px;
  border: 3px solid #ffd6da;
  border-radius: 50%;
  background: var(--surface-card, #fff);
  box-shadow: 0 8px 22px rgba(30, 30, 34, .1);
  object-fit: cover;
}

.profile-ai-twin-entry {
  position: absolute;
  right: -2px;
  bottom: -2px;
  z-index: 2;
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 3px solid #20bd56;
  border-radius: 50%;
  background: rgba(255, 255, 255, .98);
  color: #16a948;
  box-shadow: 0 5px 14px rgba(27, 169, 74, .2), 0 0 0 3px var(--surface-card, #fff);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.profile-ai-twin-entry > span {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: 1;
}

.profile-ai-twin-entry::before {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  content: "";
}

.profile-ai-twin-entry:hover { transform: scale(1.06); }
.profile-ai-twin-entry:active { transform: scale(.94); }
.profile-ai-twin-entry:focus-visible { outline: 3px solid rgba(32, 189, 86, .24); outline-offset: 3px; }

.my-content-tabs {
  border-color: var(--border-primary) !important;
}

.bottom-nav [role="button"]:focus-visible {
  outline: 0 !important;
  box-shadow: inset 0 -2px currentColor;
}

.app-shell.theme-dark .profile-card {
  background: var(--surface-card) !important;
  border-color: var(--border-primary) !important;
}

.app-shell.theme-dark .profile-shortcuts {
  background: var(--surface-elevated) !important;
}

.app-shell.theme-dark .profile-ai-twin-entry {
  background: #1b1d21;
  box-shadow: 0 5px 14px rgba(32, 189, 86, .22), 0 0 0 3px var(--surface-card, #1b1d21);
}

.app-shell.theme-dark .my-content-surface {
  background: #17191d !important;
}

.app-shell.theme-dark .message-card-title {
  color: var(--text-primary) !important;
}

.app-shell.theme-dark .message-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.015);
}

.app-shell.theme-dark .settings-drawer-backdrop {
  background: rgba(0, 0, 0, 0.58) !important;
}

.app-shell.theme-dark .settings-drawer {
  background: var(--surface-subtle) !important;
  box-shadow: -18px 0 42px rgba(0, 0, 0, 0.38) !important;
}

.app-shell.theme-dark .settings-drawer-group {
  background: var(--surface-elevated);
  border-color: var(--border-primary);
}

.app-shell.theme-dark .drawer-logout {
  background: rgba(255, 59, 74, 0.06) !important;
  border-color: rgba(255, 91, 104, 0.48) !important;
  color: #ff6673 !important;
}

.app-shell.theme-dark .device-battery {
  color: var(--text-primary) !important;
}

.app-shell.theme-dark img[alt="airvana.ai"]:not(.launch-splash__logo):not(.app-topbar__logo),
.app-shell.theme-dark img[alt="Airvana"] {
  filter: none;
  mix-blend-mode: normal !important;
}

/* Dark theme, batch one: primary navigation surfaces and shared controls. */
.app-shell.theme-dark .secondary-page-header,
.app-shell.theme-dark .feature-tab-row,
.app-shell.theme-dark .message-tab-row,
.app-shell.theme-dark .growth-network-tabs,
.app-shell.theme-dark .my-content-tabs {
  background: var(--surface-canvas) !important;
  border-color: var(--border-primary) !important;
  color: var(--text-primary) !important;
}

.app-shell.theme-dark .bottom-nav__capsule {
  background: var(--nav-capsule) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
}

.app-shell.theme-dark .bottom-nav__capsule [role="button"] {
  color: var(--text-tertiary) !important;
}

.app-shell.theme-dark .bottom-nav__capsule [aria-current="page"],
.app-shell.theme-dark .bottom-nav__capsule .is-active {
  color: #ffffff !important;
}

.app-shell.theme-dark .airvana-empty--surface,
.app-shell.theme-dark .global-search-box,
.app-shell.theme-dark .global-search-list,
.app-shell.theme-dark .direct-chat-card,
.app-shell.theme-dark .direct-chat-composer,
.app-shell.theme-dark .playable-detail-card,
.app-shell.theme-dark .playable-detail-feedback,
.app-shell.theme-dark .composer-sheet-dialog,
.app-shell.theme-dark .system-modal,
.app-shell.theme-dark .share-sheet--light {
  background: var(--surface-card) !important;
  border-color: var(--border-primary) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-card);
}

.app-shell.theme-dark .airvana-empty--fill,
.app-shell.theme-dark .global-search-panel,
.app-shell.theme-dark .direct-chat-panel,
.app-shell.theme-dark .playable-detail,
.app-shell.theme-dark .ai-twin-panel,
.app-shell.theme-dark .rights-hub-panel,
.app-shell.theme-dark .governance-panel,
.app-shell.theme-dark .product-center-panel {
  background: var(--surface-canvas) !important;
  color: var(--text-primary) !important;
}

.app-shell.theme-dark input,
.app-shell.theme-dark textarea,
.app-shell.theme-dark select,
.app-shell.theme-dark .global-search-box input,
.app-shell.theme-dark .direct-chat-composer input,
.app-shell.theme-dark .playable-detail-feedback__composer input {
  background: var(--surface-control) !important;
  border-color: var(--border-primary) !important;
  color: var(--text-primary) !important;
  caret-color: var(--accent-primary);
}

.app-shell.theme-dark input::placeholder,
.app-shell.theme-dark textarea::placeholder {
  color: var(--text-tertiary) !important;
  opacity: 1;
}

/* The prompt is part of the branded Quick/Deep canvas, not a standalone
   dark-theme form control. Keep the canvas visually continuous while
   restoring mode-specific text, caret and placeholder contrast. */
.app-shell.theme-dark .create-mode-canvas .create-idea-input {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
  caret-color: #ffffff;
}

.app-shell.theme-dark .create-mode-canvas .create-idea-input::placeholder {
  color: rgba(255, 255, 255, 0.68) !important;
}

.app-shell.theme-dark .create-mode-canvas .create-idea-input.mode-deep {
  color: #07191b !important;
  caret-color: #07191b;
}

.app-shell.theme-dark .create-mode-canvas .create-idea-input.mode-deep::placeholder {
  color: rgba(7, 25, 27, 0.48) !important;
}

.app-shell.theme-dark .global-search-filter,
.app-shell.theme-dark .direct-chat-actions [role="button"],
.app-shell.theme-dark .playable-detail-game__choices [role="button"] {
  background: var(--surface-control) !important;
  border-color: var(--border-primary) !important;
  color: var(--text-secondary) !important;
}

.app-shell.theme-dark .global-search-result,
.app-shell.theme-dark .direct-message-row,
.app-shell.theme-dark .playable-detail-feedback__row {
  border-color: var(--border-primary) !important;
}

.app-shell.theme-dark .direct-message--other {
  background: var(--surface-elevated) !important;
  color: var(--text-primary) !important;
}

.app-shell.theme-dark .share-sheet--light .share-action-grid > div > div {
  background: var(--surface-control) !important;
}

.app-shell.theme-dark .share-sheet--light .share-action-grid > div > div svg {
  stroke: var(--text-primary) !important;
}

.app-shell.theme-dark .share-sheet--light .share-action-grid > div > span {
  color: var(--text-secondary) !important;
}

/* Preserve artwork and video fidelity: theme only their surrounding surfaces. */
.app-shell.theme-dark img:not([alt="airvana.ai"]):not([alt="Airvana"]),
.app-shell.theme-dark video,
.app-shell.theme-dark canvas {
  filter: none;
  opacity: 1;
}

/* Dark theme, batch two: identity, creator operations, AI twin and governance. */
.app-shell.theme-dark .kyc-upload-card,
.app-shell.theme-dark .kyc-document-type,
.app-shell.theme-dark .kyc-document-upload,
.app-shell.theme-dark .ai-twin-configurator,
.app-shell.theme-dark .ai-twin-custom-builder,
.app-shell.theme-dark .ai-twin-custom-identity,
.app-shell.theme-dark .ai-twin-language-editor,
.app-shell.theme-dark .ai-twin-release-card,
.app-shell.theme-dark .ai-twin-scene-manager article,
.app-shell.theme-dark .ai-twin-identity-map,
.app-shell.theme-dark .growth-network-contract-card,
.app-shell.theme-dark .growth-node-join-card,
.app-shell.theme-dark .growth-node-status-card,
.app-shell.theme-dark .growth-credit-card,
.app-shell.theme-dark .growth-credit-factor-card,
.app-shell.theme-dark .growth-contribution-row,
.app-shell.theme-dark .product-role-switcher,
.app-shell.theme-dark .demo-environment-options,
.app-shell.theme-dark .demo-popup-row,
.app-shell.theme-dark .playable-detail-management {
  background: var(--surface-card) !important;
  border-color: var(--border-primary) !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-card);
}

.app-shell.theme-dark .kyc-upload-body,
.app-shell.theme-dark .kyc-select-field select,
.app-shell.theme-dark .ai-twin-position-grid button,
.app-shell.theme-dark .ai-twin-style-row button,
.app-shell.theme-dark .ai-twin-experience-grid button,
.app-shell.theme-dark .ai-twin-custom-option button,
.app-shell.theme-dark .ai-twin-language-tabs button,
.app-shell.theme-dark .ai-twin-scene-strip__list > button,
.app-shell.theme-dark .ai-twin-authorization-list article,
.app-shell.theme-dark .ai-twin-version-list article,
.app-shell.theme-dark .ai-twin-campaign-grid article,
.app-shell.theme-dark .product-role-switcher__options button,
.app-shell.theme-dark .demo-environment-options button {
  background: var(--surface-subtle) !important;
  border-color: var(--border-primary) !important;
  color: var(--text-primary) !important;
}

.app-shell.theme-dark .ai-twin-position-grid button.is-active,
.app-shell.theme-dark .ai-twin-style-row button.is-active,
.app-shell.theme-dark .ai-twin-experience-grid button.is-active,
.app-shell.theme-dark .ai-twin-language-tabs button.is-active,
.app-shell.theme-dark .product-role-switcher__options button.is-active,
.app-shell.theme-dark .demo-environment-options button.is-active {
  background: var(--accent-muted) !important;
  border-color: var(--accent-primary) !important;
}

.app-shell.theme-dark .kyc-step-strip > i,
.app-shell.theme-dark .ai-twin-experience-label,
.app-shell.theme-dark .ai-twin-tab-row,
.app-shell.theme-dark .ai-twin-scene-strip__head,
.app-shell.theme-dark .playable-detail-management__lineage,
.app-shell.theme-dark .growth-contribution-chain {
  border-color: var(--border-primary) !important;
}

.app-shell.theme-dark .kyc-privacy-note,
.app-shell.theme-dark .kyc-privacy-badge,
.app-shell.theme-dark .ai-twin-custom-boundary,
.app-shell.theme-dark .ai-twin-identity-map__note,
.app-shell.theme-dark .growth-network-boundary,
.app-shell.theme-dark .growth-network-note {
  background: #1b2831 !important;
  border-color: #2e4654 !important;
  color: #9fc9dd !important;
}

.app-shell.theme-dark .ai-twin-hero,
.app-shell.theme-dark .ai-twin-stage {
  border-color: #533039 !important;
  background: linear-gradient(145deg, #251a1e, var(--surface-card)) !important;
}

.app-shell.theme-dark .ai-twin-hero__main p,
.app-shell.theme-dark .ai-twin-configurator__head span,
.app-shell.theme-dark .ai-twin-custom-builder__head span,
.app-shell.theme-dark .ai-twin-experience-summary span,
.app-shell.theme-dark .kyc-upload-head__meta,
.app-shell.theme-dark .kyc-section-heading small {
  color: var(--text-secondary) !important;
}

.app-shell.theme-dark .composer-sheet-header,
.app-shell.theme-dark .composer-sheet-footer,
.app-shell.theme-dark .composer-sheet-scroll,
.app-shell.theme-dark .inspiration-sticky-footer {
  background: var(--surface-card) !important;
  border-color: var(--border-primary) !important;
  color: var(--text-primary) !important;
}

/* Composer sheets need their own dark hierarchy because several surfaces are
   intentionally light in the default theme. Keep the close icon visually
   compact while its ::before pseudo-element preserves a 44px hit target. */
.app-shell.theme-dark .composer-sheet-close {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--text-primary) !important;
  box-shadow: none;
}

.app-shell.theme-dark .composer-sheet-close:active {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: scale(0.96);
}

/* AI inspiration is a review surface, not a light card embedded in a dark
   sheet. Keep every selectable element on the same dark surface hierarchy. */
.app-shell.theme-dark .inspiration-preview-count {
  background: #142b30;
  color: #7edbe0;
}

.app-shell.theme-dark .inspiration-suggestion-card {
  border-color: var(--border-primary);
  background: var(--surface-subtle);
}

.app-shell.theme-dark .inspiration-suggestion-card.is-selected {
  border-color: var(--accent-primary);
  background: var(--accent-muted);
}

.app-shell.theme-dark .inspiration-suggestion-kind {
  color: #56cdd3;
}

.app-shell.theme-dark .inspiration-suggestion-index {
  color: var(--text-tertiary);
}

.app-shell.theme-dark .inspiration-suggestion-title,
.app-shell.theme-dark .inspiration-selection-meta,
.app-shell.theme-dark .inspiration-diff-card__text,
.app-shell.theme-dark .inspiration-validation__title {
  color: var(--text-primary);
}

.app-shell.theme-dark .inspiration-suggestion-summary,
.app-shell.theme-dark .inspiration-footer-links,
.app-shell.theme-dark .inspiration-section-heading span,
.app-shell.theme-dark .inspiration-validation-row span {
  color: var(--text-secondary);
}

.app-shell.theme-dark .inspiration-suggestion-tags > div {
  border: 1px solid var(--border-primary);
  background: var(--surface-control);
  color: var(--text-secondary);
}

.app-shell.theme-dark .inspiration-suggestion-check {
  border-color: var(--border-strong);
  background: var(--surface-control);
}

.app-shell.theme-dark .inspiration-suggestion-card.is-selected .inspiration-suggestion-check {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: #ffffff;
}

.app-shell.theme-dark .inspiration-secondary-action {
  border-color: var(--border-strong);
  background: var(--surface-control);
  color: var(--text-primary);
}

.app-shell.theme-dark .inspiration-mode-switch {
  background: var(--surface-subtle);
}

.app-shell.theme-dark .inspiration-mode-option {
  color: var(--text-secondary);
}

.app-shell.theme-dark .inspiration-mode-option.is-active {
  border-color: rgba(255, 88, 105, 0.5);
  background: var(--accent-muted);
  color: #ff9aa4;
  box-shadow: none;
}

.app-shell.theme-dark .inspiration-diff-card,
.app-shell.theme-dark .inspiration-validation-row {
  border-color: var(--border-primary);
  background: var(--surface-subtle);
}

.app-shell.theme-dark .inspiration-diff-card.is-after,
.app-shell.theme-dark .inspiration-validation-row.is-blocked {
  border-color: #603039;
  background: #25191d;
}

.app-shell.theme-dark .inspiration-diff-card.is-after .inspiration-diff-card__label,
.app-shell.theme-dark .inspiration-validation-row.is-blocked strong {
  color: #ff9aa4;
}

.app-shell.theme-dark .inspiration-error {
  border-color: #603039;
  background: #25191d;
  color: #ff9aa4;
}

.app-shell.theme-dark .composer-goal-scope {
  border-color: #28505a !important;
  background: #14272d !important;
  color: #9ad5da !important;
}

.app-shell.theme-dark .composer-goal-chip {
  border-color: var(--border-strong) !important;
  background: var(--surface-control) !important;
  color: var(--text-secondary) !important;
}

.app-shell.theme-dark .composer-goal-chip.is-selected {
  border-color: #3d8b5d !important;
  background: #183224 !important;
  color: #9ee3b5 !important;
}

.app-shell.theme-dark .composer-goal-deep,
.app-shell.theme-dark .composer-asset-row {
  border-color: var(--border-primary) !important;
  background: var(--surface-subtle) !important;
  color: var(--text-primary) !important;
}

.app-shell.theme-dark .composer-goal-deep input {
  border-color: var(--border-strong) !important;
  background: var(--surface-control) !important;
  color: var(--text-primary) !important;
}

.app-shell.theme-dark .composer-goal-deep input::placeholder {
  color: var(--text-tertiary) !important;
}

.app-shell.theme-dark .composer-goal-governance {
  border-color: #603039 !important;
  background: #25191d !important;
  color: #d6b8bd !important;
}

.app-shell.theme-dark .composer-goal-governance__icon,
.app-shell.theme-dark .composer-goal-governance__add {
  border-color: #603039 !important;
  background: var(--surface-elevated) !important;
  color: #ff8490 !important;
}

.app-shell.theme-dark .composer-goal-governance__summary {
  color: var(--text-secondary) !important;
}

.app-shell.theme-dark .composer-goal-connector,
.app-shell.theme-dark .composer-asset-control {
  border-color: var(--border-strong) !important;
  background: var(--surface-control) !important;
  color: var(--text-secondary) !important;
}

.app-shell.theme-dark .composer-goal-connector.is-selected {
  border-color: rgba(255, 88, 105, 0.72) !important;
  background: var(--accent-muted) !important;
  color: #ff9aa4 !important;
}

.app-shell.theme-dark .composer-goal-save[aria-disabled="true"] {
  background: var(--surface-control) !important;
  color: var(--text-tertiary) !important;
}

.app-shell.theme-dark .composer-goal-save[aria-disabled="false"] {
  background: var(--accent-primary) !important;
  color: #ffffff !important;
}

.app-shell.theme-dark .composer-sheet-scroll .airvana-empty {
  color: var(--text-primary) !important;
}

.app-shell.theme-dark .composer-sheet-scroll .airvana-empty-icon {
  background: var(--accent-muted) !important;
  color: var(--accent-primary) !important;
}

.app-shell.theme-dark .composer-sheet-scroll .airvana-empty-desc {
  color: var(--text-secondary) !important;
}

.app-shell.theme-dark .inspiration-suggestion-card,
.app-shell.theme-dark .inspiration-diff-card,
.app-shell.theme-dark .inspiration-validation-list {
  background: var(--surface-subtle) !important;
  border-color: var(--border-primary) !important;
  color: var(--text-primary) !important;
}

.app-shell.theme-dark .creator-growth-loop-card {
  background: linear-gradient(145deg, rgba(255, 88, 105, 0.13), var(--surface-card)) !important;
  border-color: rgba(255, 88, 105, 0.32) !important;
  box-shadow: var(--shadow-card);
}

.app-shell.theme-dark .creator-campaign-icon {
  background: linear-gradient(145deg, #42242b, #2d1e23) !important;
  color: #ff8490 !important;
}

.app-shell.theme-dark .creator-daily-task-card {
  background: linear-gradient(135deg, rgba(255, 88, 105, 0.12), var(--surface-card)) !important;
  border-color: rgba(255, 88, 105, 0.32) !important;
}

.app-shell.theme-dark .ai-twin-identity-map__profiles > article,
.app-shell.theme-dark .ai-twin-create-row > button:first-child,
.app-shell.theme-dark .ai-twin-experience-summary,
.app-shell.theme-dark .consent-row {
  background: var(--surface-subtle) !important;
  border-color: var(--border-primary) !important;
  color: var(--text-primary) !important;
}

.app-shell.theme-dark .ai-twin-identity-map__profiles > article.is-ai,
.app-shell.theme-dark .ai-twin-create-row > button:first-child.is-active {
  background: linear-gradient(145deg, var(--accent-muted), var(--surface-subtle)) !important;
  border-color: rgba(255, 88, 105, 0.62) !important;
}

.app-shell.theme-dark .ai-twin-control-row .ai-twin-control-row__safety {
  background: var(--accent-muted) !important;
  border-color: rgba(255, 88, 105, 0.44) !important;
  color: #ff8490 !important;
}

.app-shell.theme-dark .product-boundary {
  background: #14242a !important;
  border-color: #2e4654 !important;
}

.app-shell.theme-dark .product-boundary b { color: #9fd7db !important; }
.app-shell.theme-dark .product-boundary span { color: #9fb8ba !important; }

.app-shell.theme-dark .product-boundary--warning {
  background: var(--accent-muted) !important;
  border-color: rgba(255, 88, 105, 0.38) !important;
}

.app-shell.theme-dark .product-boundary--warning b { color: #ff8490 !important; }
.app-shell.theme-dark .product-boundary--warning span,
.app-shell.theme-dark .consent-row span { color: var(--text-secondary) !important; }

.settings-drawer-scroll {
  scrollbar-width: none;
}

.settings-drawer-scroll::-webkit-scrollbar {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.identity-simulator {
  overflow: hidden;
  flex: none;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 18px;
  background: var(--surface-card, #fff);
  box-shadow: 0 5px 16px rgba(31, 31, 35, .04);
}

.identity-simulator.is-open { border-color: #ffb5bc; }

.identity-simulator__toggle {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--text-primary, #1c1c1e);
  padding: 11px 13px;
  text-align: left;
  cursor: pointer;
}

.identity-simulator__toggle > span { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.identity-simulator__toggle b { font-size: 12px; font-weight: 900; }
.identity-simulator__toggle small { margin-top: 4px; color: var(--text-tertiary, #8e8e93); font-size: 8px; line-height: 1.45; }
.identity-simulator__toggle em { color: #ff3b4a; font-size: 8px; font-style: normal; font-weight: 900; white-space: nowrap; }
.identity-simulator__toggle i { position: relative; width: 34px; height: 20px; flex: none; border-radius: 999px; background: #d1d1d6; transition: background .18s ease; }
.identity-simulator__toggle i::after { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); content: ''; transition: transform .18s ease; }
.identity-simulator.is-open .identity-simulator__toggle i { background: #ff3b4a; }
.identity-simulator.is-open .identity-simulator__toggle i::after { transform: translateX(14px); }

.identity-simulator__body { display: flex; flex-direction: column; gap: 12px; padding: 0 13px 13px; }
.identity-simulator__boundary { border-radius: 11px; background: #fff8f8; color: #8c555a; padding: 9px 10px; font-size: 8px; line-height: 1.55; }
.identity-simulator__group { display: flex; flex-direction: column; gap: 8px; }
.identity-simulator__group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.identity-simulator__group-head b { font-size: 10px; font-weight: 900; }
.identity-simulator__group-head span { color: #ff3b4a; font-size: 8px; font-weight: 850; }
.identity-simulator__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.identity-simulator__option { min-height: 32px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 10px; background: var(--surface-subtle, #f7f7fa); color: var(--text-secondary, #636366); padding: 6px 4px; font-size: 8px; font-weight: 850; cursor: pointer; }
.identity-simulator__option.is-active { border-color: #ff7580; background: #fff1f2; color: #c62836; box-shadow: inset 0 0 0 1px rgba(255, 59, 74, .08); }

.identity-permission-matrix { border-top: var(--divider-height) solid var(--border-subtle, #f1f1f6); padding-top: 11px; }
.identity-permission-matrix__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.identity-permission-matrix__head b { font-size: 10px; font-weight: 900; }
.identity-permission-matrix__head span { border-radius: 999px; background: #fff1f2; color: #c62836; padding: 4px 7px; font-size: 7px; font-weight: 900; }
.identity-permission-matrix__list { display: flex; flex-direction: column; gap: 6px; margin-top: 9px; }
.identity-permission-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; border-radius: 11px; background: var(--surface-subtle, #f7f7fa); padding: 8px; }
.identity-permission-row > i { display: flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 8px; background: #f1f1f6; color: #8e8e93; font-size: 10px; font-style: normal; font-weight: 950; }
.identity-permission-row > div { display: flex; min-width: 0; flex-direction: column; }
.identity-permission-row b { font-size: 9px; font-weight: 900; }
.identity-permission-row span { margin-top: 2px; color: var(--text-tertiary, #8e8e93); font-size: 7px; line-height: 1.4; }
.identity-permission-row em { color: #8e8e93; font-size: 7px; font-style: normal; font-weight: 900; white-space: nowrap; }
.identity-permission-row.is-enabled > i { background: #eaf8ef; color: #147542; }
.identity-permission-row.is-enabled em { color: #147542; }

.kyc-upload-card {
  flex: none;
  overflow: hidden;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 20px;
  background: var(--surface-card, #fff);
  box-shadow: 0 10px 28px rgba(31, 31, 35, 0.055);
}

.kyc-upload-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 15px 13px;
}

.kyc-upload-head__icon {
  display: flex;
  width: 38px;
  height: 38px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #fff1f2;
  color: #ff3b4a;
}

.kyc-upload-head__title { font-size: 13px; font-weight: 950; }
.kyc-upload-head__meta { margin-top: 3px; color: #8e8e93; font-size: 9px; }

.kyc-privacy-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border-radius: 999px;
  background: #eaf8ef;
  color: #147542;
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.kyc-step-strip {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  padding: 10px 15px;
  border-top: var(--divider-height) solid var(--border-subtle, #f1f1f6);
  border-bottom: var(--divider-height) solid var(--border-subtle, #f1f1f6);
  background: var(--surface-subtle, #f7f7fa);
}

.kyc-step-strip > div { display: flex; align-items: center; gap: 4px; color: #a0a0a6; }
.kyc-step-strip > div > span { display: flex; width: 17px; height: 17px; align-items: center; justify-content: center; border-radius: 50%; background: #e5e5ea; font-size: 8px; font-weight: 950; }
.kyc-step-strip > div > b { font-size: 8px; font-weight: 850; white-space: nowrap; }
.kyc-step-strip > i { height: var(--divider-height); margin: 0 6px; background: #d8d8de; }
.kyc-step-strip > .is-done { color: #147542; }
.kyc-step-strip > .is-done > span { background: #dff5e7; }
.kyc-step-strip > .is-active { color: #c62836; }
.kyc-step-strip > .is-active > span { background: #ff3b4a; color: #fff; box-shadow: 0 3px 8px rgba(255, 59, 74, 0.24); }

.kyc-upload-body { display: flex; flex-direction: column; gap: 12px; padding: 15px; }
.kyc-section-heading { display: flex; align-items: center; gap: 8px; }
.kyc-section-heading > span { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 9px; background: #fff1f2; color: #c62836; font-size: 8px; font-weight: 950; }
.kyc-section-heading > div { display: flex; min-width: 0; flex-direction: column; }
.kyc-section-heading b { font-size: 11px; font-weight: 950; }
.kyc-section-heading small { margin-top: 2px; color: #8e8e93; font-size: 8px; line-height: 1.35; }
.kyc-field-label, .kyc-select-field > span { font-size: 9px; font-weight: 900; }

.kyc-select-field { display: flex; flex-direction: column; gap: 6px; }
.kyc-select-field > div { position: relative; }
.kyc-select-field select {
  width: 100%;
  padding: 11px 34px 11px 12px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 12px;
  outline: none;
  appearance: none;
  background: var(--surface-subtle, #f7f7fa);
  color: var(--text-primary, #1c1c1e);
  font-size: 11px;
  font-weight: 700;
}
.kyc-select-field svg { position: absolute; top: 50%; right: 12px; color: #636366; pointer-events: none; transform: translateY(-50%); }

.kyc-document-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 7px; }
.kyc-document-type { position: relative; display: flex; min-height: 58px; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid; border-radius: 13px; cursor: pointer; }
.kyc-document-type__icon { display: flex; width: 32px; height: 32px; flex: none; align-items: center; justify-content: center; border-radius: 10px; background: var(--surface-card, #fff); }
.kyc-document-type > div:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.kyc-document-type b { font-size: 10px; font-weight: 950; }
.kyc-document-type small { margin-top: 2px; color: #8e8e93; font-size: 7.5px; white-space: nowrap; }
.kyc-document-type__mark { position: absolute; top: 7px; right: 7px; display: flex; width: 15px; height: 15px; align-items: center; justify-content: center; border-radius: 50%; background: #ff3b4a; color: #fff; font-size: 8px; font-weight: 950; }
.kyc-document-type__mark:empty { display: none; }
.kyc-upload-divider { height: var(--divider-height); margin: 1px 0; background: var(--border-subtle, #f1f1f6); }

.kyc-document-grid { display: grid; gap: 8px; }
.kyc-document-upload { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 8px; border: 1px solid; border-radius: 14px; cursor: pointer; }
.kyc-document-upload > input { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.kyc-document-preview { position: relative; display: flex; width: 100%; aspect-ratio: 1.58; align-items: center; justify-content: center; overflow: hidden; border: 1px dashed; border-radius: 10px; background: var(--surface-card, #fff); }
.kyc-document-preview::before, .kyc-document-preview::after { position: absolute; width: 13px; height: 13px; border-color: currentColor; opacity: .42; content: ""; }
.kyc-document-preview::before { top: 6px; left: 6px; border-top: 1.5px solid; border-left: 1.5px solid; border-radius: 4px 0 0; }
.kyc-document-preview::after { right: 6px; bottom: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; border-radius: 0 0 4px; }
.kyc-document-side { position: absolute; z-index: 1; top: 6px; right: 6px; padding: 3px 5px; border-radius: 999px; font-size: 7px; font-weight: 900; }
.kyc-document-status { position: absolute; bottom: 5px; color: #8e8e93; font-size: 7px; font-weight: 800; }
.kyc-id-card-visual { display: flex; width: 76%; align-items: center; gap: 7px; color: currentColor; opacity: .66; }
.kyc-id-card-photo { display: flex; width: 30px; height: 34px; flex: none; align-items: center; justify-content: center; border-radius: 7px; background: #f1f1f6; }
.kyc-id-card-lines { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.kyc-id-card-lines i { height: 3px; border-radius: 999px; background: currentColor; opacity: .22; }
.kyc-id-card-lines i:nth-child(2) { width: 72%; }
.kyc-id-card-lines i:nth-child(3) { width: 86%; }
.kyc-passport-visual { opacity: .65; }
.kyc-document-upload__copy { display: flex; min-width: 0; flex-direction: column; margin-top: 8px; }
.kyc-document-upload__copy b { overflow: hidden; font-size: 9.5px; font-weight: 950; text-overflow: ellipsis; white-space: nowrap; }
.kyc-document-upload__copy small { min-height: 22px; margin-top: 3px; font-size: 7.5px; line-height: 1.45; }
.kyc-document-upload__action { align-self: flex-start; margin-top: 6px; padding: 4px 7px; border-radius: 999px; background: var(--surface-card, #fff); font-size: 7.5px; font-weight: 900; }

.kyc-file-error { display: flex; align-items: flex-start; gap: 7px; padding: 10px 11px; border: 1px solid #ffd6da; border-radius: 12px; background: #fff1f2; color: #c62836; font-size: 9px; line-height: 1.55; }
.kyc-file-error svg { flex: none; margin-top: 1px; }
.kyc-photo-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kyc-photo-checks > div { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 4px; border-radius: 9px; background: var(--surface-subtle, #f7f7fa); color: #636366; font-size: 7.5px; font-weight: 800; white-space: nowrap; }
.kyc-photo-checks span { color: #147542; font-weight: 950; }
.kyc-privacy-note { display: flex; align-items: flex-start; gap: 8px; padding: 10px 11px; border-radius: 12px; background: #f4f8ff; color: #42608c; }
.kyc-privacy-note > svg { flex: none; margin-top: 2px; }
.kyc-privacy-note > div { display: flex; flex-direction: column; }
.kyc-privacy-note b { font-size: 8.5px; font-weight: 950; }
.kyc-privacy-note span { margin-top: 3px; font-size: 7.5px; line-height: 1.55; }

.app-shell.theme-dark .kyc-upload-head__icon,
.app-shell.theme-dark .kyc-section-heading > span { background: rgba(255, 59, 74, .14); }
.app-shell.theme-dark .kyc-document-type__icon,
.app-shell.theme-dark .kyc-document-preview,
.app-shell.theme-dark .kyc-document-upload__action { background: var(--surface-elevated, #2c2c2e); }
.app-shell.theme-dark .kyc-id-card-photo { background: rgba(255, 255, 255, .08); }
.app-shell.theme-dark .kyc-privacy-note { background: rgba(61, 116, 190, .13); color: #9fc3f8; }

/* Growth Network: personal AI twins, governed Agent collaboration and the optional economic layer. */
.growth-network-page { display: flex; flex-direction: column; gap: 14px; padding-bottom: 12px; }
.growth-network-tabs { position: sticky; top: -12px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -12px 0 0; padding: 8px 2px 5px; border-bottom: var(--divider-height) solid var(--border-primary, #e5e5ea); background: color-mix(in srgb, var(--surface-canvas, #f2f2f7) 94%, transparent); backdrop-filter: blur(14px); }

/* Growth Network narrative: one user owns one persistent AI twin that can
   operate multiple Agentic Playables and connect with other authorised agents. */
.growth-agent-hero {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #34343a;
  border-radius: 26px;
  background:
    radial-gradient(circle at 84% 5%, rgba(255, 83, 97, .28), transparent 30%),
    radial-gradient(circle at 12% 76%, rgba(124, 92, 255, .2), transparent 34%),
    linear-gradient(150deg, #18191d 0%, #22232a 55%, #16171b 100%);
  color: #fff;
  box-shadow: 0 22px 46px rgba(28, 28, 32, .14);
}

.growth-agent-hero::before {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: radial-gradient(circle, rgba(255,255,255,.62) 0 1px, transparent 1.4px);
  background-size: 28px 28px;
  content: "";
  pointer-events: none;
}

.growth-agent-eyebrow { position: relative; z-index: 1; color: #ff8995; font-size: 8.5px; font-weight: 950; letter-spacing: .1em; }
.growth-agent-hero h2 { position: relative; z-index: 1; margin: 11px 0 0; font-size: 26px; font-weight: 950; letter-spacing: -.045em; line-height: 1.15; }
.growth-agent-hero > p { position: relative; z-index: 1; margin: 10px 0 0; color: #c7c8cf; font-size: 10.5px; line-height: 1.75; }

.growth-agent-visual { position: relative; z-index: 1; height: 282px; margin-top: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: linear-gradient(155deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.growth-agent-visual__links { position: absolute; inset: 0; width: 100%; height: calc(100% - 38px); fill: none; }
.growth-agent-visual__links path { stroke: rgba(255, 137, 149, .4); stroke-width: 1; stroke-dasharray: 4 5; }
.growth-agent-visual__links circle { fill: none; stroke: rgba(255,255,255,.09); stroke-width: 1; }

.growth-agent-capability { position: absolute; z-index: 2; display: grid; width: 76px; min-height: 52px; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 5px; padding: 7px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(19,20,24,.72); box-shadow: 0 10px 24px rgba(0,0,0,.2); backdrop-filter: blur(10px); }
.growth-agent-capability > i { display: grid; width: 22px; height: 22px; grid-row: 1 / 3; place-items: center; border-radius: 8px; background: rgba(255,83,97,.16); color: #ff9ca6; font-size: 8px; font-style: normal; font-weight: 950; }
.growth-agent-capability b { align-self: end; font-size: 7.5px; font-weight: 950; white-space: nowrap; }
.growth-agent-capability span { align-self: start; color: #92949d; font-size: 6px; white-space: nowrap; }
.growth-agent-capability--memory { left: 10px; top: 24px; }
.growth-agent-capability--identity { right: 10px; top: 24px; }
.growth-agent-capability--wallet { left: 10px; bottom: 47px; }
.growth-agent-capability--players { right: 10px; bottom: 47px; }

.growth-agent-twin { position: absolute; left: 50%; top: 46%; z-index: 3; display: flex; width: 116px; height: 126px; align-items: center; justify-content: center; flex-direction: column; border: 1px solid rgba(255,255,255,.18); border-radius: 30px; background: linear-gradient(150deg, rgba(255,255,255,.16), rgba(255,83,97,.08)); box-shadow: 0 18px 42px rgba(0,0,0,.3), 0 0 0 10px rgba(255,83,97,.035); transform: translate(-50%,-50%); backdrop-filter: blur(12px); }
.growth-agent-twin__avatar { position: relative; width: 62px; height: 62px; }
.growth-agent-twin__avatar img { display: block; width: 62px; height: 62px; object-fit: cover; border: 2px solid rgba(255,137,149,.84); border-radius: 50%; }
.growth-agent-twin__avatar em { position: absolute; right: -3px; bottom: -2px; display: grid; width: 24px; height: 24px; place-items: center; border: 2px solid #24252a; border-radius: 50%; background: #ff3b4a; color: #fff; font-size: 8px; font-style: normal; font-weight: 950; }
.growth-agent-twin > b { max-width: 94px; margin-top: 8px; overflow: hidden; font-size: 9px; font-weight: 950; text-overflow: ellipsis; white-space: nowrap; }
.growth-agent-twin > span { display: flex; align-items: center; gap: 4px; margin-top: 4px; color: #b9bbc2; font-size: 6.5px; font-weight: 800; }
.growth-agent-twin > span i { width: 5px; height: 5px; border-radius: 50%; background: #48d789; box-shadow: 0 0 0 3px rgba(72,215,137,.12); }
.growth-agent-visual__formula { position: absolute; right: 10px; bottom: 10px; left: 10px; display: flex; min-height: 27px; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; background: rgba(9,10,13,.42); color: #d5d6da; font-size: 7px; font-weight: 900; }
.growth-agent-visual__formula i { color: #ff7d89; font-style: normal; }

.growth-agent-loop { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.growth-agent-loop article { display: flex; min-width: 0; min-height: 102px; align-items: flex-start; gap: 9px; padding: 12px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 18px; background: var(--surface-card, #fff); }
.growth-agent-loop article em { display: grid; width: 28px; height: 28px; flex: none; place-items: center; border-radius: 10px; background: #fff1f2; color: #ff3b4a; font-size: 8px; font-style: normal; font-weight: 950; }
.growth-agent-loop article div { display: flex; min-width: 0; flex-direction: column; }
.growth-agent-loop article b { font-size: 11px; font-weight: 950; }
.growth-agent-loop article span { margin-top: 5px; color: var(--text-secondary, #636366); font-size: 8px; line-height: 1.6; }

.growth-agent-foundation { display: grid; gap: 8px; }
.growth-agent-foundation article { position: relative; display: grid; min-height: 88px; grid-template-columns: 42px 1fr; align-items: center; gap: 11px; padding: 13px; overflow: hidden; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 18px; background: var(--surface-card, #fff); }
.growth-agent-foundation__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; background: linear-gradient(145deg, #fff1f2, #ffe3e6); color: #ff3b4a; font-size: 11px; font-weight: 950; }
.growth-agent-foundation article > div:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.growth-agent-foundation article b { font-size: 12px; font-weight: 950; }
.growth-agent-foundation article span { margin-top: 5px; color: var(--text-secondary, #636366); font-size: 8.5px; line-height: 1.6; }
.growth-agent-foundation article em { position: absolute; right: 11px; top: 10px; color: #c7c7cc; font-size: 5.5px; font-style: normal; font-weight: 950; letter-spacing: .08em; }

.growth-agent-network-card { overflow: hidden; border: 1px solid #ffd6da; border-radius: 22px; background: linear-gradient(150deg, #fff, #fff5f6); }
.growth-agent-network-map { position: relative; height: 210px; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(255,59,74,.1), transparent 44%); }
.growth-agent-network-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.growth-agent-network-map > svg path { stroke: rgba(255,59,74,.24); stroke-width: 1.3; stroke-dasharray: 4 5; }
.growth-agent-network-node { position: absolute; z-index: 2; display: flex; width: 72px; align-items: center; flex-direction: column; gap: 5px; transform: translate(-50%,-50%); }
.growth-agent-network-node i { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,59,74,.16); border-radius: 15px; background: #fff; color: #ff3b4a; box-shadow: 0 10px 20px rgba(79,34,41,.08); font-size: 12px; font-style: normal; font-weight: 950; }
.growth-agent-network-node b { color: #7b484e; font-size: 7px; font-weight: 950; }
.growth-agent-network-node--a { left: 18%; top: 26%; }
.growth-agent-network-node--b { left: 82%; top: 26%; }
.growth-agent-network-node--c { left: 18%; top: 74%; }
.growth-agent-network-node--d { left: 82%; top: 74%; }
.growth-agent-network-core { position: absolute; left: 50%; top: 50%; z-index: 3; display: flex; width: 96px; height: 96px; align-items: center; justify-content: center; flex-direction: column; border: 1px solid rgba(255,255,255,.68); border-radius: 50%; background: linear-gradient(145deg, #ff5663, #ff3042); color: #fff; box-shadow: 0 16px 30px rgba(255,59,74,.25), 0 0 0 9px rgba(255,59,74,.055); transform: translate(-50%,-50%); }
.growth-agent-network-core span { font-size: 12px; font-weight: 950; line-height: 1.15; text-align: center; }
.growth-agent-network-core em { margin-top: 5px; color: #ffd9dd; font-size: 7px; font-style: normal; font-weight: 850; }
.growth-agent-network-copy { display: flex; flex-direction: column; padding: 0 15px 13px; }
.growth-agent-network-copy b { font-size: 11px; font-weight: 950; }
.growth-agent-network-copy span { margin-top: 6px; color: #6e5a5d; font-size: 8.5px; line-height: 1.65; }
.growth-agent-network-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 15px 15px; }
.growth-agent-network-tags span { padding: 5px 8px; border: 1px solid #ffd6da; border-radius: 999px; background: #fff; color: #a43a45; font-size: 7px; font-weight: 900; }

.growth-agent-flywheel { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; padding: 15px 12px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 18px; background: var(--surface-card, #fff); }
.growth-agent-flywheel span { padding: 7px 9px; border-radius: 10px; background: var(--surface-subtle, #f7f7fa); color: var(--text-primary, #1c1c1e); font-size: 8px; font-weight: 900; }
.growth-agent-flywheel i { color: #ff3b4a; font-size: 10px; font-style: normal; font-weight: 950; }

.growth-agent-boundary { padding: 14px; border: 1px solid #ffd6da; border-radius: 18px; background: #fff8f8; }
.growth-agent-boundary > b { color: #c62836; font-size: 12px; font-weight: 950; }
.growth-agent-boundary ul { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.growth-agent-boundary li { position: relative; padding-left: 13px; color: #6e5a5d; font-size: 8.5px; line-height: 1.55; }
.growth-agent-boundary li::before { position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: #ff3b4a; content: ""; }
.growth-agent-boundary > span { display: block; margin-top: 10px; padding-top: 9px; border-top: var(--divider-height) solid #f1c9ce; color: #9b6f74; font-size: 7.5px; line-height: 1.6; }

@media (max-width: 374px) {
  .growth-agent-hero { padding: 17px; }
  .growth-agent-hero h2 { font-size: 23px; }
  .growth-agent-visual { height: 270px; }
  .growth-agent-capability { width: 70px; padding: 6px; }
  .growth-agent-loop { grid-template-columns: 1fr; }
}

.growth-network-hero,
.growth-contribution-hero,
.growth-rules-hero { position: relative; overflow: hidden; border: 1px solid #ffd6da; border-radius: 24px; background: linear-gradient(150deg, #fff 4%, #fff2f3 58%, #ffe5e8 100%); padding: 20px; }
.growth-network-hero::after { position: absolute; right: -76px; top: -92px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,59,74,.18), rgba(255,59,74,0) 68%); content: ""; pointer-events: none; }
.growth-network-eyebrow { color: #c62836; font-size: 9px; font-weight: 950; letter-spacing: .08em; }
.growth-network-headline { position: relative; z-index: 1; margin-top: 10px; color: var(--text-primary, #1c1c1e); font-size: 25px; font-weight: 950; letter-spacing: -.04em; line-height: 1.16; }
.growth-network-lead { position: relative; z-index: 1; margin-top: 9px; color: var(--text-secondary, #636366); font-size: 11px; line-height: 1.72; }
.growth-network-orbit { position: relative; z-index: 1; width: 100%; max-width: 284px; height: 242px; margin: 14px auto 8px; overflow: hidden; border: 1px solid rgba(255,59,74,.12); border-radius: 22px; background: linear-gradient(155deg, rgba(255,255,255,.92), rgba(255,244,245,.74)); box-shadow: 0 18px 36px rgba(112,31,41,.07), inset 0 1px 0 rgba(255,255,255,.8); }
.growth-network-orbit::before { position: absolute; left: 50%; top: 52%; width: 172px; height: 172px; border-radius: 50%; background: radial-gradient(circle, rgba(255,59,74,.1), rgba(255,59,74,0) 67%); content: ""; transform: translate(-50%,-50%); }
.growth-network-orbit__caption { position: absolute; left: 12px; right: 12px; top: 10px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.growth-network-orbit__caption span { color: #a63843; font-size: 7.5px; font-weight: 950; letter-spacing: .08em; }
.growth-network-orbit__caption em { padding: 4px 7px; border-radius: 999px; background: rgba(255,59,74,.08); color: #c62836; font-size: 7px; font-style: normal; font-weight: 900; }
.growth-network-orbit__links { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.growth-network-orbit__links path:first-child { stroke: rgba(255,59,74,.3); stroke-width: 1.2; }
.growth-network-orbit__links path:nth-child(2) { stroke: rgba(255,59,74,.22); stroke-dasharray: 3 4; stroke-width: 1; }
.growth-network-orbit__links circle { fill: #ff3b4a; }
.growth-network-orbit__core { position: absolute; left: 50%; top: 53.72%; z-index: 2; display: flex; width: 76px; height: 76px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: linear-gradient(145deg, #ff5663, #ff3042); color: #fff; box-shadow: 0 15px 30px rgba(255,59,74,.28), 0 0 0 8px rgba(255,59,74,.06); transform: translate(-50%,-50%); }
.growth-network-orbit__core span { font-size: 27px; font-weight: 950; line-height: .9; }
.growth-network-orbit__core small { margin-top: 5px; font-size: 7.5px; font-weight: 950; }
.growth-network-orbit__member { position: absolute; z-index: 3; display: flex; width: 58px; height: 58px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,59,74,.16); border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 9px 20px rgba(34,34,40,.08); transform: translate(-50%,-50%); }
.growth-network-orbit__member b { color: #ff3b4a; font-size: 6px; font-weight: 950; line-height: 1; }
.growth-network-orbit__member span { margin-top: 2px; color: #a62d38; font-size: 9px; font-weight: 950; line-height: 1; }
.growth-network-orbit__member small { margin-top: 3px; color: #8e8e93; font-size: 6px; font-weight: 750; line-height: 1; }
.growth-network-orbit__member--one { left: 50%; top: 21.49%; }
.growth-network-orbit__member--two { left: 23.94%; top: 43.80%; }
.growth-network-orbit__member--three { left: 76.06%; top: 43.80%; }
.growth-network-orbit__member--four { left: 66.20%; top: 79.75%; }
.growth-network-orbit__member--five { left: 33.80%; top: 79.75%; }
.growth-network-orbit__legend { position: absolute; left: 50%; bottom: 7px; z-index: 4; display: flex; align-items: center; gap: 5px; color: #8e5a60; font-size: 6.5px; font-weight: 800; white-space: nowrap; transform: translateX(-50%); }
.growth-network-orbit__legend i { width: 5px; height: 5px; border-radius: 50%; background: #ff3b4a; box-shadow: 0 0 0 3px rgba(255,59,74,.1); }
.growth-network-hero-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.growth-network-hero-tags > span { padding: 6px 9px; border: 1px solid rgba(255,59,74,.16); border-radius: 999px; background: rgba(255,255,255,.78); color: #8b3b43; font-size: 7.5px; font-weight: 900; }
.growth-signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.growth-signal-card { display: flex; min-width: 0; min-height: 178px; flex-direction: column; padding: 14px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 20px; background: var(--surface-card, #fff); }
.growth-signal-card--power { border-color: #303034; background: linear-gradient(150deg, #1c1c1e, #303034); color: #fff; }
.growth-signal-card--credit { border-color: #ffd6da; background: linear-gradient(150deg, #fff, #fff4f5); }
.growth-signal-card__top { display: flex; align-items: center; gap: 6px; }
.growth-signal-card__top > span { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 9px; background: rgba(255,59,74,.14); color: #ff5361; font-size: 13px; }
.growth-signal-card__top em { overflow: hidden; color: #8e8e93; font-size: 6.5px; font-style: normal; font-weight: 950; letter-spacing: .07em; text-overflow: ellipsis; white-space: nowrap; }
.growth-signal-card--power .growth-signal-card__top em { color: #aeaeb2; }
.growth-signal-card strong { margin-top: 17px; font-size: 27px; font-weight: 950; letter-spacing: -.05em; line-height: 1; }
.growth-signal-card--credit strong { color: #ff3b4a; }
.growth-signal-card > b { margin-top: 5px; font-size: 10px; font-weight: 950; }
.growth-signal-card p { margin: auto 0 0; color: var(--text-secondary, #636366); font-size: 7.5px; line-height: 1.6; }
.growth-signal-card--power p { color: #c7c7cc; }
.growth-signal-formula { display: flex; flex-direction: column; gap: 5px; padding: 12px 13px; border: 1px solid #ffd6da; border-radius: 16px; background: #fff8f8; }
.growth-signal-formula b { color: #c62836; font-size: 10px; }
.growth-signal-formula span { color: #6e5a5d; font-size: 8px; line-height: 1.6; }
.growth-network-section-title,
.growth-node-card-title { color: var(--text-primary, #1c1c1e); font-size: 14px; font-weight: 950; letter-spacing: -.02em; }
.growth-network-tier-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.growth-network-tier-card { display: flex; min-width: 0; gap: 11px; padding: 14px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 18px; background: var(--surface-card, #fff); }
.growth-network-tier-card--collab { border-color: #ffd6da; }
.growth-network-tier-card--economic { background: linear-gradient(145deg, #1c1c1e, #303034); color: #fff; }
.growth-network-tier-icon { display: flex; width: 40px; height: 40px; flex: none; align-items: center; justify-content: center; border-radius: 13px; background: #fff1f2; color: #ff3b4a; font-size: 12px; font-weight: 950; }
.growth-network-tier-card--economic .growth-network-tier-icon { background: rgba(255,255,255,.1); color: #ff8b96; }
.growth-network-tier-title { font-size: 13px; font-weight: 950; }
.growth-network-tier-desc { margin-top: 5px; color: var(--text-secondary, #636366); font-size: 9px; line-height: 1.65; }
.growth-network-tier-card--economic .growth-network-tier-desc { color: #c7c7cc; }
.growth-network-tier-badge { display: inline-flex; margin-top: 8px; padding: 4px 7px; border-radius: 999px; background: #fff1f2; color: #c62836; font-size: 7.5px; font-weight: 900; }
.growth-network-tier-card--economic .growth-network-tier-badge { background: rgba(255,255,255,.1); color: #ff9aa2; }
.growth-network-flow { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
.growth-network-flow div { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 14px; background: var(--surface-card, #fff); }
.growth-network-flow b { color: #ff3b4a; font-size: 9px; }
.growth-network-flow span { font-size: 11px; font-weight: 850; }
.growth-network-flow i { align-self: center; color: #c7c7cc; font-size: 13px; font-style: normal; line-height: 1; }
.growth-network-note { padding: 11px 12px; border-radius: 14px; background: var(--surface-subtle, #f7f7fa); color: var(--text-secondary, #636366); font-size: 9px; line-height: 1.65; }
.growth-network-contract-card { overflow: hidden; border: 1px solid #343438; border-radius: 18px; background: #1c1c1e; color: #fff; }
.growth-network-contract-row { display: grid; grid-template-columns: 106px 1fr auto; align-items: center; gap: 7px; min-height: 55px; padding: 10px 12px; border-bottom: var(--divider-height) solid rgba(255,255,255,.08); }
.growth-network-contract-row:last-child { border-bottom: 0; }
.growth-network-contract-row span { font-size: 9px; font-weight: 950; }
.growth-network-contract-row small { color: #aeaeb2; font-size: 7.5px; line-height: 1.5; }
.growth-network-contract-row em { padding: 4px 6px; border-radius: 999px; background: rgba(255,59,74,.14); color: #ff9aa2; font-size: 7px; font-style: normal; font-weight: 900; }
.growth-network-boundary { display: flex; flex-direction: column; gap: 6px; padding: 13px; border: 1px solid #ffd6da; border-radius: 16px; background: #fff8f8; }
.growth-network-boundary b { color: #c62836; font-size: 11px; font-weight: 950; }
.growth-network-boundary span { color: #6e5a5d; font-size: 9px; line-height: 1.7; }
.growth-network-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.growth-network-primary,
.growth-network-secondary,
.growth-node-primary { min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 999px; text-align: center; font-size: 12px; font-weight: 950; cursor: pointer; }
.growth-network-primary { background: #ff3b4a; color: #fff; box-shadow: 0 12px 24px rgba(255,59,74,.18); }
.growth-network-secondary { border: 1px solid var(--border-primary, #e5e5ea); background: var(--surface-card, #fff); color: var(--text-primary, #1c1c1e); }
.growth-network-text-action { padding: 8px; color: #8e8e93; text-align: center; font-size: 10px; font-weight: 800; cursor: pointer; }

.growth-node-empty,
.growth-node-join-card { display: flex; flex-direction: column; gap: 10px; padding: 20px 16px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 22px; background: var(--surface-card, #fff); text-align: center; }
.growth-node-empty__icon { display: flex; width: 62px; height: 62px; align-items: center; justify-content: center; margin: 0 auto; border-radius: 20px; background: #fff1f2; color: #ff3b4a; font-size: 30px; }
.growth-node-empty__title { font-size: 15px; font-weight: 950; }
.growth-node-empty__desc,
.growth-node-card-desc { color: #8e8e93; font-size: 10px; line-height: 1.7; }
.growth-node-join-card { text-align: left; }
.growth-node-join-card label { margin-top: 4px; font-size: 10px; font-weight: 900; }
.growth-node-join-card input { width: 100%; padding: 12px 13px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 13px; outline: 0; background: var(--surface-subtle, #f7f7fa); color: var(--text-primary, #1c1c1e); font-size: 12px; }
.growth-node-status-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 15px; border: 1px solid #ffd6da; border-radius: 20px; background: linear-gradient(145deg, #fff, #fff1f2); }
.growth-node-status-kicker { color: #c62836; font-size: 8px; font-weight: 950; }
.growth-node-status-title { margin-top: 4px; font-size: 16px; font-weight: 950; }
.growth-node-status-meta { margin-top: 4px; color: #8e8e93; font-size: 8px; }
.growth-node-status-card > span { flex: none; padding: 5px 7px; border-radius: 999px; font-size: 7px; font-weight: 950; }
.growth-credit-card { display: flex; flex-direction: column; gap: 12px; padding: 15px; border: 1px solid #ffd6da; border-radius: 20px; background: var(--surface-card, #fff); box-shadow: 0 12px 28px rgba(105,34,43,.06); }
.growth-credit-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.growth-credit-card__header > div { display: flex; flex-direction: column; }
.growth-credit-card__header em { color: #8e8e93; font-size: 7px; font-style: normal; font-weight: 850; }
.growth-credit-card__header b { margin-top: 3px; font-size: 13px; }
.growth-credit-card__header strong { color: #ff3b4a; font-size: 25px; font-weight: 950; letter-spacing: -.04em; line-height: 1; }
.growth-credit-card__header strong small { color: #8e8e93; font-size: 8px; font-weight: 800; letter-spacing: 0; }
.growth-credit-meter { position: relative; height: 7px; margin-top: 12px; border-radius: 999px; background: linear-gradient(90deg, #ffd9dd, #fff0c7 58%, #ccefd9); }
.growth-credit-meter > i { position: absolute; left: 0; top: 0; height: 100%; max-width: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff6672, #ff3b4a); box-shadow: 0 3px 8px rgba(255,59,74,.2); }
.growth-credit-meter > span { position: absolute; top: -15px; color: #8e8e93; font-size: 6px; font-weight: 850; white-space: nowrap; transform: translateX(-50%); }
.growth-credit-meter > span::after { position: absolute; left: 50%; top: 11px; width: 1px; height: 12px; background: #8e8e93; content: ""; opacity: .65; }
.growth-credit-factor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.growth-credit-factor { min-width: 0; padding: 9px; border-radius: 13px; background: var(--surface-subtle, #f7f7fa); }
.growth-credit-factor > div { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.growth-credit-factor b { font-size: 8px; }
.growth-credit-factor em { color: #c62836; font-size: 6.5px; font-style: normal; font-weight: 900; }
.growth-credit-factor > span { display: block; margin-top: 7px; color: #ff3b4a; font-size: 13px; font-weight: 950; }
.growth-credit-factor small { display: block; margin-top: 4px; color: #8e8e93; font-size: 6px; line-height: 1.5; }
.growth-credit-card__foot { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: var(--divider-height) solid var(--border-primary, #e5e5ea); }
.growth-credit-card__foot span { font-size: 8px; font-weight: 950; }
.growth-credit-card__foot em { color: #8e8e93; font-size: 6.5px; font-style: normal; line-height: 1.5; }
.growth-node-progress { display: grid; grid-template-columns: repeat(5,1fr); gap: 4px; }
.growth-node-progress__item { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 5px; }
.growth-node-progress__item i { display: flex; width: 27px; height: 27px; align-items: center; justify-content: center; border-radius: 50%; font-size: 9px; font-style: normal; font-weight: 950; }
.growth-node-progress__item > span { overflow: hidden; width: 100%; color: #8e8e93; font-size: 7px; font-weight: 800; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.growth-node-member-list { overflow: hidden; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 18px; background: var(--surface-card, #fff); }
.growth-node-member { display: flex; min-height: 70px; align-items: center; gap: 9px; padding: 10px 12px; border-bottom: var(--divider-height) solid var(--border-primary, #e5e5ea); }
.growth-node-member:last-child { border-bottom: 0; }
.growth-node-member img,
.growth-node-member__placeholder { width: 36px; height: 36px; flex: none; border-radius: 50%; background: #f1f1f6; object-fit: cover; }
.growth-node-member__placeholder { display: flex; align-items: center; justify-content: center; color: #8e8e93; font-size: 11px; font-weight: 950; }
.growth-node-member__main { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.growth-node-member__main b { overflow: hidden; font-size: 11px; font-weight: 950; text-overflow: ellipsis; white-space: nowrap; }
.growth-node-member__main span { overflow: hidden; margin-top: 3px; color: #8e8e93; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.growth-node-member__actions { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 4px; }
.growth-node-member__actions em { padding: 4px 6px; border-radius: 999px; font-size: 7px; font-style: normal; font-weight: 900; }
.growth-node-member__actions div,
.growth-node-member__actions button { min-height: 22px; border: 0; background: transparent; color: #ff3b4a; font-family: inherit; font-size: 7px; font-weight: 900; cursor: pointer; }
.growth-node-member__actions button { color: #8e8e93; }
.growth-node-invite-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px; padding: 12px; border: 1px solid #ffd6da; border-radius: 16px; background: #fff8f8; }
.growth-node-invite-row > div:first-child { grid-row: span 2; display: flex; min-width: 0; flex-direction: column; }
.growth-node-invite-row b { font-size: 10px; }
.growth-node-invite-row span { margin-top: 3px; color: #8e8e93; font-size: 7px; line-height: 1.5; }
.growth-node-invite-row > div:not(:first-child) { padding: 5px 7px; border-radius: 999px; background: #ff3b4a; color: #fff; font-size: 7px; font-weight: 900; text-align: center; cursor: pointer; }
.growth-node-invite-row > div:nth-child(2) { border: 1px solid #ffd6da; background: #fff; color: #c62836; }
.growth-node-qualification { display: flex; flex-direction: column; gap: 0; padding: 13px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 18px; background: var(--surface-card, #fff); }
.growth-node-qualification .growth-node-card-title { margin-bottom: 5px; }
.growth-node-qualification__row { display: flex; min-height: 36px; align-items: center; gap: 8px; border-bottom: var(--divider-height) solid var(--border-primary, #e5e5ea); }
.growth-node-qualification__row:last-child { border-bottom: 0; }
.growth-node-qualification__row i { display: flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; font-size: 8px; font-style: normal; font-weight: 950; }
.growth-node-qualification__row span { flex: 1; font-size: 9px; font-weight: 850; }
.growth-node-qualification__row em { color: #8e8e93; font-size: 7.5px; font-style: normal; }
.growth-node-charter { display: flex; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid #ffd6da; border-radius: 15px; background: #fff8f8; cursor: pointer; }
.growth-node-charter i { display: flex; width: 19px; height: 19px; flex: none; align-items: center; justify-content: center; border: 1px solid; border-radius: 6px; color: #fff; font-size: 9px; font-style: normal; font-weight: 950; }
.growth-node-charter span { color: #6e5a5d; font-size: 8px; line-height: 1.65; }
.growth-node-primary { color: #fff; cursor: pointer; }
.growth-node-control-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.growth-node-control-row div { display: flex; min-height: 36px; align-items: center; justify-content: center; padding: 7px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 999px; background: var(--surface-card, #fff); color: #636366; font-size: 7.5px; font-weight: 850; text-align: center; cursor: pointer; }

.growth-contribution-value { margin-top: 9px; font-size: 20px; font-weight: 950; letter-spacing: -.04em; line-height: 1.2; }
.growth-contribution-chain { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; padding: 12px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 16px; background: var(--surface-card, #fff); }
.growth-contribution-chain > span { padding: 6px 8px; border-radius: 999px; background: #f7f7fa; font-size: 7.5px; font-weight: 850; }
.growth-contribution-chain i { color: #ff3b4a; font-size: 9px; font-style: normal; }
.growth-contribution-list { overflow: hidden; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 18px; background: var(--surface-card, #fff); }
.growth-contribution-row { display: flex; min-height: 58px; align-items: center; gap: 9px; padding: 10px 12px; border-bottom: var(--divider-height) solid var(--border-primary, #e5e5ea); }
.growth-contribution-row:last-child { border-bottom: 0; }
.growth-contribution-row > i { display: flex; width: 32px; height: 32px; flex: none; align-items: center; justify-content: center; border-radius: 11px; background: #fff1f2; color: #ff3b4a; font-size: 14px; font-style: normal; }
.growth-contribution-row > div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.growth-contribution-row b { font-size: 10px; }
.growth-contribution-row span { overflow: hidden; margin-top: 3px; color: #8e8e93; font-size: 7.5px; text-overflow: ellipsis; white-space: nowrap; }
.growth-contribution-row em { color: #c62836; font-size: 7px; font-style: normal; font-weight: 900; }
.growth-credit-factor-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.growth-credit-factor-card { position: relative; display: flex; min-width: 0; min-height: 126px; flex-direction: column; overflow: hidden; padding: 12px; border: 1px solid #eadfe0; border-radius: 18px; background: linear-gradient(145deg, #fff 0%, #fffafa 100%); box-shadow: 0 5px 16px rgba(44, 28, 30, .035); }
.growth-credit-factor-card::after { position: absolute; right: -24px; bottom: -30px; width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 59, 74, .07), rgba(255, 59, 74, 0) 70%); content: ""; pointer-events: none; }
.growth-credit-factor-card__head { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 7px; }
.growth-credit-factor-card__head > i { display: flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 9px; background: #fff0f1; color: #ff3b4a; font-size: 11px; font-style: normal; font-weight: 950; }
.growth-credit-factor-card__head > div { display: flex; min-width: 0; flex-direction: column; gap: 1px; }
.growth-credit-factor-card__head b { overflow: hidden; color: var(--text-primary, #1c1c1e); font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.growth-credit-factor-card__head small { color: #aea3a5; font-size: 6px; }
.growth-credit-factor-card__head em { border-radius: 999px; background: #fff0f1; padding: 4px 6px; color: #c62836; font-size: 6px; font-style: normal; font-weight: 950; white-space: nowrap; }
.growth-credit-factor-card__score { display: flex; align-items: baseline; gap: 3px; margin-top: 9px; }
.growth-credit-factor-card__score strong { color: #ff3b4a; font-size: 22px; font-weight: 950; letter-spacing: -.04em; line-height: 1; }
.growth-credit-factor-card__score small { color: #aea3a5; font-size: 6px; font-weight: 800; }
.growth-credit-factor-card__score span { margin-left: auto; color: #8e8e93; font-size: 6px; font-weight: 800; }
.growth-credit-factor-card__meter { height: 4px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #f1edef; }
.growth-credit-factor-card__meter > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff7b86, #ff3b4a); box-shadow: 0 0 8px rgba(255, 59, 74, .22); }
.growth-credit-factor-card__foot { display: flex; align-items: flex-end; gap: 6px; margin-top: 8px; }
.growth-credit-factor-card__foot > span { display: -webkit-box; min-width: 0; flex: 1; overflow: hidden; color: #767078; font-size: 6.2px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.growth-credit-factor-card__foot small { color: #b0a6a8; font-size: 5.5px; font-weight: 800; white-space: nowrap; }
.growth-rule-list { overflow: hidden; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 20px; background: var(--surface-card, #fff); }
.growth-rule-list article { display: flex; gap: 11px; padding: 13px; border-bottom: var(--divider-height) solid var(--border-primary, #e5e5ea); }
.growth-rule-list article:last-child { border-bottom: 0; }
.growth-rule-list i { color: #ff3b4a; font-size: 9px; font-style: normal; font-weight: 950; }
.growth-rule-list div { display: flex; flex-direction: column; }
.growth-rule-list b { font-size: 11px; }
.growth-rule-list span { margin-top: 4px; color: #8e8e93; font-size: 8px; line-height: 1.65; }
.growth-lifecycle { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.growth-lifecycle > span { padding: 6px 8px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 999px; background: var(--surface-card, #fff); font-size: 7.5px; font-weight: 850; }
.growth-lifecycle i { color: #ff3b4a; font-size: 8px; font-style: normal; }

/* Structured frontend delivery: launch, AI twin, messaging and capability map */
@keyframes launchGlow { 0%,100% { transform: scale(.94); opacity:.55; } 50% { transform:scale(1.08); opacity:.9; } }
.launch-splash { position:absolute; inset:0; z-index:120; display:flex; flex-direction:column; overflow:hidden; padding:42px 30px 30px; background:linear-gradient(165deg,#fff 0%,#fff5f6 56%,#f2f2f7 100%); color:#1c1c1e; }
.launch-splash__glow { position:absolute; top:10%; right:-35%; width:360px; height:360px; border-radius:50%; background:radial-gradient(circle,rgba(255,59,74,.18),rgba(255,59,74,.02) 60%,transparent 72%); animation:launchGlow 2.2s ease-in-out infinite; }
.launch-splash__brand { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:7px; }
.launch-splash__logo { display:block; width:112px; height:auto; border:0; background:transparent; filter:none; mix-blend-mode:multiply; }
.app-shell.theme-dark .launch-splash__logo { filter:none; mix-blend-mode:multiply !important; }
.launch-splash__brand span { margin-left:1px; color:#8e8e93; font-size:8px; font-weight:850; letter-spacing:.14em; text-transform:uppercase; }
.launch-splash__story { position:relative; display:flex; flex:1; flex-direction:column; justify-content:center; }
.launch-splash__story b { color:#ff3b4a; font-size:13px; }
.launch-splash__story strong { margin-top:10px; font-size:30px; font-weight:950; letter-spacing:-.05em; line-height:1.12; }
.launch-splash__story p { max-width:260px; margin:16px 0 0; color:#737780; font-size:11px; line-height:1.7; }

.ai-twin-panel,.global-search-panel,.direct-chat-panel,.rights-hub-panel,.governance-panel,.product-center-panel { display:flex; flex-direction:column; gap:12px; padding-bottom:16px; }
.ai-twin-hero { display:flex; position:relative; align-items:center; gap:11px; padding:16px; border:1px solid #ffd6da; border-radius:21px; background:linear-gradient(145deg,#fff1f2,var(--surface-card,#fff)); }
.ai-twin-hero__avatar { position:relative; display:flex; width:56px; height:56px; flex:none; align-items:center; justify-content:center; border-radius:19px; background:#1c1c1e; color:#fff; font-size:14px; font-weight:950; }
.ai-twin-hero__avatar img { width:100%; height:100%; overflow:hidden; border-radius:inherit; object-fit:cover; object-position:50% 22%; }
.ai-twin-hero__avatar i { position:absolute; z-index:2; right:-2px; bottom:-2px; width:14px; height:14px; border:3px solid var(--surface-card,#fff); border-radius:50%; background:#41a366; }
.ai-twin-hero__main { min-width:0; flex:1; }
.ai-twin-hero__main em,.rights-hero em,.governance-hero em,.product-center-hero em { color:#ff3b4a; font-size:7.5px; font-style:normal; font-weight:950; letter-spacing:.08em; }
.ai-twin-hero__main h2 { margin:5px 0 0; font-size:16px; line-height:1.2; }
.ai-twin-hero__main p { margin:5px 0 0; color:#737780; font-size:8px; line-height:1.5; }
.ai-twin-status { position:absolute; top:12px; right:12px; padding:4px 7px; border-radius:999px; font-size:7px; font-weight:900; }
.ai-twin-configurator { display:flex; flex-direction:column; gap:9px; padding:13px; border:1px solid var(--border-primary,#e5e5ea); border-radius:20px; background:var(--surface-card,#fff); box-shadow:0 12px 30px rgba(40,33,45,.05); }
.ai-twin-configurator__head,.ai-twin-configurator__label { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.ai-twin-configurator__head > div { display:flex; flex-direction:column; gap:3px; }
.ai-twin-configurator__head b { font-size:11px; }
.ai-twin-configurator__head span { color:#8e8e93; font-size:7px; line-height:1.45; }
.ai-twin-configurator__head em { flex:none; padding:4px 6px; border-radius:999px; background:#fff1f2; color:#c62836; font-size:6.5px; font-style:normal; font-weight:900; }
.ai-twin-configurator__label { align-items:center; margin-top:2px; }
.ai-twin-configurator__label b { font-size:8.5px; }
.ai-twin-configurator__label span { color:#ff3b4a; font-size:7px; font-weight:850; }
.ai-twin-position-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.ai-twin-position-grid button { display:flex; min-width:0; min-height:57px; align-items:flex-start; gap:7px; padding:9px; border:1px solid var(--border-primary,#e5e5ea); border-radius:14px; background:var(--surface-subtle,#f7f7fa); color:var(--text-primary,#1c1c1e); font:inherit; text-align:left; cursor:pointer; transition:border-color .18s ease,background .18s ease,transform .18s ease; }
.ai-twin-position-grid button > i { display:flex; width:20px; height:20px; flex:none; align-items:center; justify-content:center; border-radius:7px; background:var(--surface-card,#fff); color:#8e8e93; font-size:7px; font-style:normal; font-weight:950; }
.ai-twin-position-grid button > span { display:flex; min-width:0; flex-direction:column; gap:3px; }
.ai-twin-position-grid button b { font-size:7.5px; line-height:1.3; }
.ai-twin-position-grid button small { color:#8e8e93; font-size:6.3px; line-height:1.45; }
.ai-twin-position-grid button.is-active { border-color:#ff8f99; background:#fff2f3; box-shadow:0 7px 18px rgba(255,59,74,.08); }
.ai-twin-position-grid button.is-active > i { background:#ff3b4a; color:#fff; }
.ai-twin-position-grid button:active,.ai-twin-style-row button:active { transform:scale(.97); }
.ai-twin-style-row { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; }
.ai-twin-style-row button { display:flex; min-width:0; flex-direction:column; gap:5px; padding:4px 4px 7px; overflow:hidden; border:1px solid var(--border-primary,#e5e5ea); border-radius:13px; background:var(--surface-subtle,#f7f7fa); color:var(--text-primary,#1c1c1e); font:inherit; cursor:pointer; transition:border-color .18s ease,background .18s ease,transform .18s ease; }
.ai-twin-style-media { position:relative; width:100%; }
.ai-twin-style-row img { width:100%; aspect-ratio:1/1.12; border-radius:9px; object-fit:cover; object-position:50% 16%; background:#f1f1f6; }
.ai-twin-style-media > i { position:absolute; right:3px; bottom:4px; padding:2px 4px; border-radius:999px; background:#ff3b4a; color:#fff; font-size:5px; font-style:normal; font-weight:950; box-shadow:0 3px 8px rgba(255,59,74,.22); }
.ai-twin-style-row button > span { overflow:hidden; padding:0 1px; font-size:6.5px; font-weight:900; text-overflow:ellipsis; white-space:nowrap; }
.ai-twin-style-row em { overflow:hidden; padding:0 1px; color:#41a366; font-size:5.2px; font-style:normal; font-weight:850; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.ai-twin-style-row button.is-active { border-color:#ff6f7b; background:#fff1f2; box-shadow:0 7px 18px rgba(255,59,74,.1); }
.ai-twin-custom-builder { display:flex; flex-direction:column; gap:9px; padding:11px; border:1px solid #ffd6da; border-radius:16px; background:linear-gradient(145deg,#fff8f8,var(--surface-subtle,#f7f7fa)); }
.ai-twin-custom-builder__head { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.ai-twin-custom-builder__head > div { display:flex; flex-direction:column; gap:3px; }
.ai-twin-custom-builder__head b { font-size:9px; }
.ai-twin-custom-builder__head span { color:#737780; font-size:6.4px; }
.ai-twin-custom-builder__head em { padding:4px 6px; border-radius:999px; background:#fff1f2; color:#c62836; font-size:5.8px; font-style:normal; font-weight:900; white-space:nowrap; }
.ai-twin-custom-identity { display:flex; align-items:center; gap:9px; padding:8px; border:1px solid var(--border-primary,#e5e5ea); border-radius:13px; background:var(--surface-card,#fff); }
.ai-twin-custom-identity > img { width:38px; height:38px; flex:none; border:2px solid #ffd6da; border-radius:13px; object-fit:cover; }
.ai-twin-custom-identity > div { display:flex; min-width:0; flex:1; flex-direction:column; gap:3px; }
.ai-twin-custom-identity b { overflow:hidden; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.ai-twin-custom-identity span { color:#737780; font-size:6.2px; }
.ai-twin-custom-identity label { position:relative; overflow:hidden; padding:6px 8px; border-radius:999px; background:#1c1c1e; color:#fff; font-size:6px; font-weight:900; cursor:pointer; }
.ai-twin-custom-identity input,.ai-twin-custom-upload input,.profile-avatar-editor__upload input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.ai-twin-custom-upload { display:flex; position:relative; min-height:94px; flex-direction:column; align-items:center; justify-content:center; gap:4px; border:1px dashed #ff8f99; border-radius:14px; background:rgba(255,255,255,.72); cursor:pointer; }
.ai-twin-custom-upload i { display:flex; width:28px; height:28px; align-items:center; justify-content:center; border-radius:50%; background:#ff3b4a; color:#fff; font-size:17px; font-style:normal; }
.ai-twin-custom-upload b { font-size:8px; }
.ai-twin-custom-upload span { color:#737780; font-size:6.2px; }
.ai-twin-custom-option { display:flex; align-items:center; gap:8px; }
.ai-twin-custom-option > b { width:48px; flex:none; font-size:7px; }
.ai-twin-custom-option > div { display:grid; min-width:0; flex:1; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
.ai-twin-custom-option button { min-height:30px; padding:5px 4px; border:1px solid var(--border-primary,#e5e5ea); border-radius:10px; background:var(--surface-card,#fff); color:var(--text-secondary,#3a3a3c); font:inherit; font-size:6px; font-weight:850; cursor:pointer; }
.ai-twin-custom-option button.is-active { border-color:#ff7180; background:#ff3b4a; color:#fff; box-shadow:0 5px 12px rgba(255,59,74,.15); }
.ai-twin-custom-save { min-height:36px; border:0; border-radius:999px; background:#ff3b4a; color:#fff; font:inherit; font-size:7px; font-weight:950; cursor:pointer; }
.ai-twin-custom-boundary { padding:8px 9px; border-radius:11px; background:#fff1f2; color:#9f333d; font-size:6.1px; line-height:1.55; }
.ai-twin-experience-label { margin-top:5px; padding-top:10px; border-top:var(--divider-height) solid var(--border-primary,#e5e5ea); }
.ai-twin-experience-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.ai-twin-experience-grid button { display:flex; position:relative; min-width:0; min-height:70px; flex-direction:column; align-items:flex-start; gap:5px; padding:9px 8px 8px; border:1px solid var(--border-primary,#e5e5ea); border-radius:14px; background:var(--surface-subtle,#f7f7fa); color:var(--text-primary,#1c1c1e); font:inherit; text-align:left; cursor:pointer; transition:border-color .18s ease,background .18s ease,transform .18s ease; }
.ai-twin-experience-grid button > i { display:flex; min-width:22px; height:22px; align-items:center; justify-content:center; padding:0 5px; border-radius:8px; background:var(--surface-card,#fff); color:#737780; font-size:6.5px; font-style:normal; font-weight:950; letter-spacing:.02em; }
.ai-twin-experience-grid button > span { display:flex; min-width:0; flex-direction:column; gap:2px; }
.ai-twin-experience-grid button b { font-size:7.5px; line-height:1.2; }
.ai-twin-experience-grid button small { overflow:hidden; color:#8e8e93; font-size:6.2px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.ai-twin-experience-grid button em { position:absolute; top:9px; right:7px; color:#41a366; font-size:5.7px; font-style:normal; font-weight:950; }
.ai-twin-experience-grid button.is-active { border-color:#ff6f7b; background:linear-gradient(145deg,#fff1f2,#fff); box-shadow:0 7px 18px rgba(255,59,74,.1); }
.ai-twin-experience-grid button.is-active > i { background:#ff3b4a; color:#fff; }
.ai-twin-experience-grid button:active { transform:scale(.97); }
.ai-twin-experience-summary { display:flex; align-items:center; justify-content:space-between; gap:9px; padding:9px 10px; border:1px solid #ffd6da; border-radius:13px; background:#fff8f8; }
.ai-twin-experience-summary > div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.ai-twin-experience-summary b { font-size:7.8px; }
.ai-twin-experience-summary span { color:#737780; font-size:6.4px; line-height:1.45; }
.ai-twin-experience-summary em { flex:none; max-width:92px; padding:5px 7px; border-radius:999px; background:#1c1c1e; color:#fff; font-size:5.8px; font-style:normal; font-weight:900; text-align:center; }
.ai-twin-stage { display:flex; flex-direction:column; gap:10px; padding:10px; border:1px solid #ffd6da; border-radius:24px; background:linear-gradient(155deg,#fff8f8 0%,var(--surface-card,#fff) 64%); box-shadow:0 18px 45px rgba(61,37,53,.08); }
.ai-twin-stage__visual { position:relative; height:468px; overflow:hidden; border-radius:18px; background:radial-gradient(circle at 25% 36%,#fff0ea 0,transparent 38%),radial-gradient(circle at 78% 24%,#eee9ff 0,transparent 42%),#f9f7fb; isolation:isolate; }
.ai-twin-stage__visual.ai-twin-style--hyperreal,.ai-twin-stage__visual.ai-twin-style--semireal,.ai-twin-stage__visual.ai-twin-style--anime,.ai-twin-stage__visual.ai-twin-style--cyber { background:#090712; }
.ai-twin-stage__visual.ai-twin-style--custom { background:radial-gradient(circle at 50% 22%,rgba(255,255,255,.94),rgba(255,255,255,.14) 29%,transparent 48%),linear-gradient(155deg,#ffc9c5 0%,#e8e0ff 48%,#bcddff 100%); }
.ai-twin-stage__visual > img { position:absolute; z-index:1; inset:0; width:100%; height:100%; object-fit:contain; object-position:50% 50%; transition:opacity .22s ease; will-change:opacity,transform; }
.ai-twin-heygen-video { position:absolute; z-index:1; inset:0; width:100%; height:100%; border:0; background:#090712; object-fit:cover; object-position:50% 45%; }
.ai-twin-style--semireal .ai-twin-heygen-video,.ai-twin-style--anime .ai-twin-heygen-video,.ai-twin-style--cyber .ai-twin-heygen-video { object-position:50% 50%; }
.ai-twin-motion-stack { position:absolute; z-index:1; inset:0; overflow:hidden; background:#071421; }
.ai-twin-motion-frame { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:50% 50%; opacity:0; transform:scale(1.012); transition:opacity .42s ease,transform .62s cubic-bezier(.22,.8,.24,1),filter .36s ease; will-change:opacity,transform; }
.ai-twin-motion-frame.is-active { z-index:1; opacity:1; transform:scale(1); }
.ai-twin-stage__wash { position:absolute; z-index:2; inset:0; pointer-events:none; background:linear-gradient(180deg,rgba(255,255,255,0) 78%,rgba(28,20,30,.22) 100%); }
.ai-twin-stage__badge,.ai-twin-stage__state { position:absolute; z-index:3; top:10px; display:flex; align-items:center; gap:5px; padding:5px 8px; border:1px solid rgba(255,255,255,.6); border-radius:999px; background:rgba(255,255,255,.84); color:#3a3038; font-size:7px; font-weight:950; -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.ai-twin-stage__badge { left:10px; }
.ai-twin-stage__state { right:10px; }
.ai-twin-stage__badge i,.ai-twin-stage__state i { width:6px; height:6px; border-radius:50%; background:#ff3b4a; box-shadow:0 0 0 4px rgba(255,59,74,.12); }
.ai-twin-stage__state i { background:#41a366; box-shadow:0 0 0 4px rgba(65,163,102,.12); }
.ai-twin-stage--listening .ai-twin-stage__state i { background:#3178d4; box-shadow:0 0 0 4px rgba(49,120,212,.14); animation:aiTwinStatusPulse 1s ease-in-out infinite; }
.ai-twin-stage--thinking .ai-twin-stage__state i { background:#f0a534; box-shadow:0 0 0 4px rgba(240,165,52,.14); animation:aiTwinStatusPulse 1s ease-in-out infinite; }
.ai-twin-stage--speaking .ai-twin-stage__state i { background:#ff3b4a; box-shadow:0 0 0 4px rgba(255,59,74,.14); animation:aiTwinStatusPulse .72s ease-in-out infinite; }
.ai-twin-stage--blocked .ai-twin-stage__state i { background:#c62836; box-shadow:0 0 0 4px rgba(198,40,54,.14); }
.ai-twin-stage--fallback .ai-twin-stage__state i { background:#8e8e93; box-shadow:0 0 0 4px rgba(142,142,147,.14); }
.ai-twin-stage--idle > img,.ai-twin-stage--waiting > img,.ai-twin-stage--idle .ai-twin-motion-frame.is-active,.ai-twin-stage--waiting .ai-twin-motion-frame.is-active { animation:aiTwinBreath 5.2s ease-in-out infinite; }
.ai-twin-stage--listening > img,.ai-twin-stage--listening .ai-twin-motion-frame.is-active { animation:aiTwinListen 1.7s ease-in-out infinite; }
.ai-twin-stage--thinking > img,.ai-twin-stage--thinking .ai-twin-motion-frame.is-active { animation:aiTwinThink 2s ease-in-out infinite; }
.ai-twin-stage--speaking > img,.ai-twin-stage--speaking .ai-twin-motion-frame.is-active { animation:aiTwinSpeak .72s ease-in-out infinite; }
.ai-twin-stage--blocked > img,.ai-twin-stage--blocked .ai-twin-motion-frame.is-active { filter:saturate(.72) contrast(1.04); }
.ai-twin-listening { position:absolute; z-index:4; left:13px; bottom:13px; display:flex; height:24px; align-items:center; gap:3px; padding:0 9px; border-radius:999px; background:rgba(255,255,255,.82); opacity:0; -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.ai-twin-listening i { width:3px; height:6px; border-radius:99px; background:#3178d4; }
.ai-twin-stage--listening .ai-twin-listening { opacity:1; }
.ai-twin-stage--listening .ai-twin-listening i { animation:aiTwinWave .8s ease-in-out infinite; }
.ai-twin-stage--listening .ai-twin-listening i:nth-child(2),.ai-twin-stage--listening .ai-twin-listening i:nth-child(4) { animation-delay:.14s; }
.ai-twin-wave { position:absolute; z-index:4; right:13px; bottom:13px; display:flex; height:23px; align-items:center; gap:3px; padding:0 8px; border-radius:999px; background:rgba(20,15,23,.7); opacity:0; transition:opacity .2s ease; }
.ai-twin-wave i { display:block; width:2px; height:5px; border-radius:99px; background:#fff; }
.ai-twin-stage--speaking .ai-twin-wave { opacity:1; }
.ai-twin-stage--speaking .ai-twin-wave i { animation:aiTwinWave .72s ease-in-out infinite; }
.ai-twin-stage--speaking .ai-twin-wave i:nth-child(2),.ai-twin-stage--speaking .ai-twin-wave i:nth-child(4) { animation-delay:.12s; }
.ai-twin-stage--speaking .ai-twin-wave i:nth-child(3) { animation-delay:.24s; }
.ai-twin-fallback { position:absolute; z-index:1; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:26px; background:linear-gradient(160deg,#fff3f4,#f3efff); text-align:center; }
.ai-twin-fallback img { width:112px; height:112px; border:6px solid rgba(255,255,255,.82); border-radius:36px; object-fit:cover; box-shadow:0 18px 35px rgba(47,34,60,.16); }
.ai-twin-fallback b { margin-top:18px; font-size:15px; }
.ai-twin-fallback span { max-width:230px; margin-top:7px; color:#737780; font-size:8px; line-height:1.6; }
.ai-twin-custom-stage-character { position:absolute; z-index:1; inset:55px 34px 24px; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; transform-origin:50% 84%; }
.ai-twin-custom-stage-character__head { position:relative; z-index:3; width:106px; height:106px; padding:4px; border-radius:37px; background:linear-gradient(145deg,#fff,#ffb7bf); box-shadow:0 16px 30px rgba(57,37,77,.2); }
.ai-twin-custom-stage-character__head img { width:100%; height:100%; border-radius:33px; object-fit:cover; }
.ai-twin-custom-stage-character__body { position:relative; width:158px; height:252px; margin-top:-11px; border-radius:56px 56px 35px 35px; background:linear-gradient(160deg,#17171d,#25273a 58%,#101116); box-shadow:0 25px 38px rgba(33,26,50,.24); }
.ai-twin-custom-stage-character__body::before,.ai-twin-custom-stage-character__body::after { content:""; position:absolute; top:54px; width:37px; height:176px; border-radius:24px; background:inherit; }
.ai-twin-custom-stage-character__body::before { left:-21px; transform:rotate(7deg); }
.ai-twin-custom-stage-character__body::after { right:-21px; transform:rotate(-7deg); }
.ai-twin-custom-stage-character__body > i { position:absolute; top:24px; left:50%; width:2px; height:164px; background:#ff4e61; box-shadow:0 0 12px rgba(255,78,97,.55); }
.ai-twin-custom-stage-character__body > span,.ai-twin-custom-stage-character__body > b { position:absolute; bottom:-92px; width:59px; height:128px; border-radius:0 0 24px 24px; background:#18191f; }
.ai-twin-custom-stage-character__body > span { left:14px; }
.ai-twin-custom-stage-character__body > b { right:14px; }
.ai-twin-custom-stage-character > em { position:absolute; bottom:3px; z-index:4; padding:6px 9px; border-radius:999px; background:rgba(20,18,26,.7); color:#fff; font-size:6px; font-style:normal; font-weight:900; -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.ai-twin-custom-stage-empty { position:absolute; z-index:1; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:24px; text-align:center; }
.ai-twin-custom-stage-empty i { display:flex; width:64px; height:64px; align-items:center; justify-content:center; border:1px dashed #ff7180; border-radius:24px; background:rgba(255,255,255,.62); color:#ff3b4a; font-size:34px; font-style:normal; box-shadow:0 18px 40px rgba(64,40,80,.13); }
.ai-twin-custom-stage-empty b { font-size:13px; }
.ai-twin-custom-stage-empty span { color:#735e75; font-size:8px; }
.ai-twin-custom-style--anime .ai-twin-custom-stage-character__head { border-radius:50%; background:linear-gradient(145deg,#69f0ff,#ff87ce); }
.ai-twin-custom-style--anime .ai-twin-custom-stage-character__head img { border-radius:50%; filter:saturate(1.18) contrast(1.05); }
.ai-twin-custom-style--cyber .ai-twin-custom-stage-character__body { background:linear-gradient(160deg,#071421,#12273f 58%,#090e18); box-shadow:0 0 34px rgba(0,221,255,.23); }
.ai-twin-custom-style--cyber .ai-twin-custom-stage-character__body > i { background:#28e6ff; box-shadow:0 0 16px rgba(40,230,255,.8); }
.ai-twin-custom-look--professional .ai-twin-custom-stage-character__body { background:linear-gradient(160deg,#232341,#141622 65%,#0c0d13); }
.ai-twin-custom-look--street .ai-twin-custom-stage-character__body { background:linear-gradient(160deg,#522673,#202030 58%,#111118); }
.ai-twin-stage--idle .ai-twin-custom-stage-character,.ai-twin-stage--waiting .ai-twin-custom-stage-character { animation:aiTwinBreath 5.2s ease-in-out infinite; }
.ai-twin-stage--speaking .ai-twin-custom-stage-character { animation:aiTwinSpeak .72s ease-in-out infinite; }
.ai-twin-custom-motion--greet .ai-twin-custom-stage-character__body::after { transform-origin:50% 10%; transform:rotate(-38deg) translate(18px,-20px); }
.ai-twin-custom-motion--point .ai-twin-custom-stage-character__body::after { transform-origin:50% 10%; transform:rotate(-66deg) translate(31px,-2px); }

.profile-edit-panel { display:flex; flex-direction:column; gap:13px; }
.profile-avatar-editor { display:flex; position:relative; align-items:center; gap:11px; padding:14px; border:1px solid #ffd6da; border-radius:20px; background:linear-gradient(145deg,#fff7f8,var(--surface-card,#fff)); }
.profile-avatar-editor__preview { position:relative; width:68px; height:68px; flex:none; }
.profile-avatar-editor__preview img { width:100%; height:100%; border:3px solid #ffd6da; border-radius:22px; object-fit:cover; box-shadow:0 10px 24px rgba(41,28,45,.12); }
.profile-avatar-editor__preview i { position:absolute; right:-4px; bottom:-4px; display:flex; width:25px; height:25px; align-items:center; justify-content:center; border:3px solid var(--surface-card,#fff); border-radius:50%; background:#ff3b4a; color:#fff; font-size:7px; font-style:normal; font-weight:950; }
.profile-avatar-editor__copy { display:flex; min-width:0; flex:1; flex-direction:column; gap:4px; padding-right:62px; }
.profile-avatar-editor__copy b { font-size:11px; }
.profile-avatar-editor__copy span { color:#737780; font-size:7px; line-height:1.5; }
.profile-avatar-editor__copy em { color:#41a366; font-size:6.5px; font-style:normal; font-weight:900; }
.profile-avatar-editor__upload { position:absolute; top:13px; right:12px; overflow:hidden; padding:7px 9px; border-radius:999px; background:#1c1c1e; color:#fff; font-size:6.5px; font-weight:900; cursor:pointer; }
.profile-avatar-boundary { padding:11px 12px; border:1px solid #ffd6da; border-radius:14px; background:#fff8f8; color:#7c5054; font-size:7px; line-height:1.65; }
.profile-avatar-error { padding:9px 11px; border-radius:12px; background:#fff1f2; color:#c62836; font-size:7px; font-weight:850; }
.profile-avatar-actions { display:grid; grid-template-columns:1.35fr 1fr; gap:8px; }
.profile-avatar-actions > div { min-height:39px; display:flex; align-items:center; justify-content:center; border:1px solid #ff7180; border-radius:999px; color:#c62836; font-size:7px; font-weight:950; cursor:pointer; }
.profile-avatar-actions > div:first-child { background:#ff3b4a; color:#fff; }
.profile-edit-field { display:flex; flex-direction:column; gap:7px; }
.profile-edit-field b { font-size:9px; }
.profile-edit-field input,.profile-edit-field textarea { width:100%; padding:12px; border:1px solid var(--border-primary,#e5e5ea); border-radius:14px; outline:none; background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); font:inherit; font-size:9px; }
.profile-edit-field textarea { height:92px; resize:none; line-height:1.55; }
.profile-edit-save { padding:13px; border-radius:999px; background:#ff3b4a; color:#fff; font-size:9px; font-weight:950; text-align:center; cursor:pointer; }
.ai-twin-hero__main > em > i { display:inline-flex; padding:3px 6px; border-radius:999px; background:#ff3b4a; color:#fff; font-size:6px; font-style:normal; letter-spacing:.03em; }
.ai-twin-identity-map,.ai-twin-scene-strip { display:flex; flex-direction:column; gap:12px; padding:14px; border:1px solid #ffd6da; border-radius:22px; background:var(--surface-card,#fff); box-shadow:0 14px 34px rgba(49,35,50,.06); }
.ai-twin-identity-map__head,.ai-twin-scene-strip__head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.ai-twin-identity-map__head > div,.ai-twin-scene-strip__head > div { display:flex; min-width:0; flex-direction:column; gap:4px; }
.ai-twin-identity-map__head b,.ai-twin-scene-strip__head b { font-size:11px; }
.ai-twin-identity-map__head span,.ai-twin-scene-strip__head span { color:#737780; font-size:7px; line-height:1.45; }
.ai-twin-identity-map__head em,.ai-twin-scene-strip__head em { flex:none; padding:5px 7px; border-radius:999px; background:#fff1f2; color:#c62836; font-size:6px; font-style:normal; font-weight:950; }
.ai-twin-identity-map__profiles { display:grid; grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr); align-items:stretch; gap:8px; }
.ai-twin-identity-map__profiles > article { display:flex; min-width:0; align-items:center; gap:8px; padding:10px; border:1px solid #e5e5ea; border-radius:16px; background:#fafafd; }
.ai-twin-identity-map__profiles > article.is-ai { border-color:#ffb8be; background:linear-gradient(145deg,#fff1f2,#fff); }
.ai-twin-identity-map__profiles > article > img,.ai-twin-identity-avatar { width:42px; height:42px; flex:none; }
.ai-twin-identity-map__profiles > article > img,.ai-twin-identity-avatar img { width:42px; height:42px; border-radius:14px; object-fit:cover; }
.ai-twin-identity-avatar { position:relative; }
.ai-twin-identity-avatar em { position:absolute; right:-4px; bottom:-4px; display:flex; width:19px; height:19px; align-items:center; justify-content:center; border:2px solid #fff; border-radius:50%; background:#ff3b4a; color:#fff; font-size:5px; font-style:normal; font-weight:950; }
.ai-twin-identity-map__profiles article > div:not(.ai-twin-identity-avatar) { display:flex; min-width:0; flex:1; flex-direction:column; gap:2px; }
.ai-twin-identity-map__profiles small { color:#8e8e93; font-size:5.8px; }
.ai-twin-identity-map__profiles b { overflow:hidden; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.ai-twin-identity-map__profiles article > div > span { display:-webkit-box; overflow:hidden; color:#737780; font-size:6px; line-height:1.35; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.ai-twin-identity-map__profiles > i { display:flex; align-items:center; justify-content:center; color:#ff3b4a; font-size:6px; font-style:normal; font-weight:900; line-height:1.35; text-align:center; }
.ai-twin-create-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.ai-twin-create-row button { border:0; font:inherit; cursor:pointer; }
.ai-twin-create-row > button:first-child { display:flex; align-items:center; gap:8px; padding:9px 10px; border:1px solid #e5e5ea; border-radius:14px; background:#fafafd; color:#737780; text-align:left; }
.ai-twin-create-row > button:first-child > i { display:flex; width:20px; height:20px; flex:none; align-items:center; justify-content:center; border:1px solid #c7c7cc; border-radius:7px; font-size:7px; font-style:normal; }
.ai-twin-create-row > button:first-child > span { display:flex; flex-direction:column; gap:2px; }
.ai-twin-create-row > button:first-child b { font-size:7px; }
.ai-twin-create-row > button:first-child small { color:#8e8e93; font-size:5.8px; }
.ai-twin-create-row > button:first-child.is-active { border-color:#ff9da6; background:#fff1f2; color:#c62836; }
.ai-twin-create-row > button:first-child.is-active > i { border-color:#ff3b4a; background:#ff3b4a; color:#fff; }
.ai-twin-create-primary { display:grid; min-width:108px; min-height:46px; grid-template-columns:24px minmax(0,1fr) 8px; align-items:center; gap:6px; padding:7px 9px; border:1px solid rgba(255,255,255,.5) !important; border-radius:15px; background:linear-gradient(135deg,#ff3345 0%,#ff5260 100%); color:#fff; text-align:left; box-shadow:0 9px 20px rgba(255,59,74,.22),inset 0 1px 0 rgba(255,255,255,.2); transition:transform .18s ease,box-shadow .18s ease,filter .18s ease; }
.ai-twin-create-primary:hover { filter:brightness(1.03); box-shadow:0 11px 23px rgba(255,59,74,.28),inset 0 1px 0 rgba(255,255,255,.24); transform:translateY(-1px); }
.ai-twin-create-primary:active { filter:brightness(.98); box-shadow:0 5px 12px rgba(255,59,74,.18); transform:translateY(1px) scale(.99); }
.ai-twin-create-primary > i { display:flex; width:24px; height:24px; align-items:center; justify-content:center; border-radius:9px; background:rgba(255,255,255,.18); font-size:10px; font-style:normal; }
.ai-twin-create-primary > span { display:flex; min-width:0; flex-direction:column; gap:1px; }
.ai-twin-create-primary b { font-size:8px; font-weight:950; white-space:nowrap; }
.ai-twin-create-primary small { color:rgba(255,255,255,.78); font-size:5.5px; font-weight:750; white-space:nowrap; }
.ai-twin-create-primary > em { color:rgba(255,255,255,.88); font-size:14px; font-style:normal; font-weight:500; line-height:1; }
.ai-twin-identity-map__note { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; }
.ai-twin-identity-map__note > span { padding:6px 5px; border-radius:999px; background:#eaf8ef; color:#147542; font-size:5.8px; font-weight:900; text-align:center; }
.ai-twin-scene-strip__list { display:flex; gap:8px; overflow-x:auto; padding:1px 1px 5px; scrollbar-width:none; }
.ai-twin-scene-strip__list::-webkit-scrollbar { display:none; }
.ai-twin-scene-strip__list > button { display:flex; position:relative; min-width:150px; min-height:74px; align-items:center; gap:8px; padding:10px; border:1px solid #e5e5ea; border-radius:16px; background:#fafafd; color:#1c1c1e; font:inherit; text-align:left; cursor:pointer; }
.ai-twin-scene-strip__list > button > i { display:flex; width:34px; height:34px; flex:none; align-items:center; justify-content:center; border-radius:12px; background:#1c1c1e; color:#fff; font-size:7px; font-style:normal; font-weight:950; }
.ai-twin-scene-strip__list > button > span { display:flex; min-width:0; flex:1; flex-direction:column; gap:3px; }
.ai-twin-scene-strip__list > button b { overflow:hidden; font-size:7.4px; text-overflow:ellipsis; white-space:nowrap; }
.ai-twin-scene-strip__list > button small { display:-webkit-box; overflow:hidden; color:#8e8e93; font-size:5.8px; line-height:1.3; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.ai-twin-scene-strip__list > button > em { position:absolute; top:7px; right:7px; color:#737780; font-size:5.4px; font-style:normal; font-weight:900; }
.ai-twin-scene-strip__list > button.is-active { border-color:#ff6673; background:linear-gradient(145deg,#fff1f2,#fff); box-shadow:0 7px 17px rgba(255,59,74,.1); }
.ai-twin-scene-strip__list > button.is-active > i { background:#ff3b4a; }
.ai-twin-scene-strip__list > button.is-paused { opacity:.72; }
.ai-twin-scene-strip__list > button.ai-twin-scene-add { border-style:dashed; background:#fff; }
.ai-twin-tab-row { overflow-x:auto; justify-content:flex-start; scrollbar-width:none; }
.ai-twin-tab-row::-webkit-scrollbar { display:none; }
.ai-twin-tab-row > div { min-width:50px; flex:none; }
.ai-twin-form-save { min-height:42px; border:0; border-radius:13px; background:#ff3b4a; color:#fff; font:inherit; font-size:8px; font-weight:950; cursor:pointer; }
.ai-twin-scene-manager { display:flex; flex-direction:column; gap:8px; }
.ai-twin-scene-manager article { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:9px; padding:11px; border:1px solid #e5e5ea; border-radius:16px; background:#fff; }
.ai-twin-scene-manager article.is-active { border-color:#ff9da6; box-shadow:0 8px 20px rgba(255,59,74,.08); }
.ai-twin-scene-manager article > button:first-child { display:flex; min-width:0; align-items:center; gap:8px; border:0; background:transparent; color:#1c1c1e; font:inherit; text-align:left; cursor:pointer; }
.ai-twin-scene-manager article > button:first-child > i { display:flex; width:38px; height:38px; flex:none; align-items:center; justify-content:center; border-radius:13px; background:#fff1f2; color:#c62836; font-size:7px; font-style:normal; font-weight:950; }
.ai-twin-scene-manager article > button:first-child > span { display:flex; min-width:0; flex-direction:column; gap:3px; }
.ai-twin-scene-manager article > button:first-child b { font-size:8.5px; }
.ai-twin-scene-manager article > button:first-child small { color:#737780; font-size:6.2px; }
.ai-twin-scene-manager article > div { display:flex; max-width:116px; flex-wrap:wrap; justify-content:flex-end; gap:4px; }
.ai-twin-scene-manager article > div em,.ai-twin-scene-manager article > div strong { padding:4px 6px; border-radius:999px; background:#f1f1f6; color:#737780; font-size:5.6px; font-style:normal; font-weight:900; }
.ai-twin-scene-manager article > div strong { background:#eaf8ef; color:#147542; }
.ai-twin-scene-pause { grid-column:1/-1; min-height:32px; border:1px solid #ffd6da; border-radius:10px; background:#fff8f8; color:#c62836; font:inherit; font-size:6.5px; font-weight:900; cursor:pointer; }
.ai-twin-language-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.ai-twin-language-tabs button { display:flex; align-items:center; gap:7px; padding:9px; border:1px solid #e5e5ea; border-radius:14px; background:#fff; color:#1c1c1e; font:inherit; text-align:left; cursor:pointer; }
.ai-twin-language-tabs button > i { display:flex; width:28px; height:28px; align-items:center; justify-content:center; border-radius:9px; background:#f1f1f6; color:#737780; font-size:6px; font-style:normal; font-weight:950; }
.ai-twin-language-tabs button > span { display:flex; min-width:0; flex-direction:column; gap:2px; }
.ai-twin-language-tabs button b { font-size:7px; }
.ai-twin-language-tabs button small { color:#8e8e93; font-size:5.5px; }
.ai-twin-language-tabs button.is-active { border-color:#ff6673; background:#fff1f2; }
.ai-twin-language-tabs button.is-active > i { background:#ff3b4a; color:#fff; }
.ai-twin-language-editor { display:flex; flex-direction:column; gap:9px; padding:13px; border:1px solid #ffd6da; border-radius:18px; background:linear-gradient(145deg,#fff8f8,#fff); }
.ai-twin-language-editor label { display:flex; flex-direction:column; gap:6px; color:#1c1c1e; font-size:7px; font-weight:900; }
.ai-twin-language-editor input,.ai-twin-language-editor textarea { width:100%; padding:11px; border:1px solid #e5e5ea; border-radius:12px; outline:0; background:#fff; color:#1c1c1e; font:inherit; font-size:8px; }
.ai-twin-language-editor textarea { min-height:120px; resize:none; line-height:1.55; }
.ai-twin-language-editor input:focus,.ai-twin-language-editor textarea:focus { border-color:#ff7f8a; box-shadow:0 0 0 3px rgba(255,59,74,.08); }
.ai-twin-language-editor__meta { display:flex; justify-content:space-between; color:#8e8e93; font-size:5.8px; }
.ai-twin-language-editor > button { min-height:40px; border:0; border-radius:12px; background:#ff3b4a; color:#fff; font:inherit; font-size:7px; font-weight:950; cursor:pointer; }
.ai-twin-campaign-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.ai-twin-campaign-grid > article { display:flex; min-width:0; flex-direction:column; gap:8px; padding:11px; border:1px solid #e5e5ea; border-radius:17px; background:#fafafd; transition:.18s ease; }
.ai-twin-campaign-grid > article.is-active { border-color:#ff6673; background:linear-gradient(145deg,#fff1f2,#fff); box-shadow:0 8px 20px rgba(255,59,74,.08); }
.ai-twin-campaign-grid > article.is-isolated { opacity:.72; }
.ai-twin-campaign-grid > article > div:first-child { display:flex; align-items:center; gap:7px; }
.ai-twin-campaign-grid > article > div:first-child > i { display:flex; width:30px; height:30px; flex:none; align-items:center; justify-content:center; border-radius:10px; background:#1c1c1e; color:#fff; font-size:5.5px; font-style:normal; font-weight:950; }
.ai-twin-campaign-grid > article > div:first-child > span { display:flex; min-width:0; flex:1; flex-direction:column; gap:2px; }
.ai-twin-campaign-grid b { font-size:7.2px; }
.ai-twin-campaign-grid small { overflow:hidden; color:#737780; font-size:5.7px; text-overflow:ellipsis; white-space:nowrap; }
.ai-twin-campaign-grid > article > div:first-child > em { color:#147542; font-size:5.2px; font-style:normal; font-weight:950; }
.ai-twin-campaign-grid p { margin:0; color:#737780; font-size:6.3px; line-height:1.5; }
.ai-twin-permission-chips { display:flex; flex-wrap:wrap; gap:4px; }
.ai-twin-permission-chips > span { padding:4px 6px; border-radius:999px; background:#eaf1ff; color:#2f5aa3; font-size:5.3px; font-weight:900; }
.ai-twin-campaign-grid footer { display:flex; align-items:center; justify-content:space-between; gap:5px; padding-top:7px; border-top:var(--divider-height) solid #e5e5ea; color:#8e8e93; font-size:5.5px; }
.ai-twin-campaign-grid footer strong { overflow:hidden; color:#1c1c1e; font-weight:900; text-overflow:ellipsis; white-space:nowrap; }
.ai-twin-release-card { display:flex; flex-direction:column; gap:10px; padding:13px; border:1px solid #ffd6da; border-radius:18px; background:linear-gradient(145deg,#fff1f2,#fff); }
.ai-twin-release-card > div:first-child { display:flex; align-items:center; gap:8px; }
.ai-twin-release-card > div:first-child span { color:#737780; font-size:6px; }
.ai-twin-release-card > div:first-child b { font-size:9px; }
.ai-twin-release-card > div:first-child em { margin-left:auto; padding:4px 7px; border-radius:999px; background:#fff; color:#c62836; font-size:5.7px; font-style:normal; font-weight:900; }
.ai-twin-release-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.ai-twin-release-actions button { min-height:36px; border:1px solid #e5e5ea; border-radius:11px; background:#fff; color:#1c1c1e; font:inherit; font-size:6.3px; font-weight:900; cursor:pointer; }
.ai-twin-release-actions button.is-primary { border-color:#ff3b4a; background:#ff3b4a; color:#fff; }
.ai-twin-release-actions button.is-reviewing { border-color:#f0c166; background:#fff6df; color:#8b5b00; }
.ai-twin-release-actions button.is-disabled { border-color:#ececf1; background:#f5f5f8; color:#a0a0a6; cursor:not-allowed; pointer-events:none; }
.ai-twin-version-list { display:flex; flex-direction:column; gap:7px; }
.ai-twin-version-list article { display:grid; grid-template-columns:42px minmax(0,1fr) auto auto; align-items:center; gap:8px; padding:10px; border:1px solid #e5e5ea; border-radius:15px; background:#fff; }
.ai-twin-version-list article.is-running { border-color:#8bd3a7; background:#f5fbf7; }
.ai-twin-version-list article > i { display:flex; width:42px; height:42px; align-items:center; justify-content:center; border-radius:13px; background:#1c1c1e; color:#fff; font-size:7px; font-style:normal; font-weight:950; }
.ai-twin-version-list article > div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.ai-twin-version-list article b { font-size:7.2px; }
.ai-twin-version-list article span { color:#8e8e93; font-size:5.7px; }
.ai-twin-version-list article > em { padding:4px 6px; border-radius:999px; background:#f1f1f6; color:#737780; font-size:5.5px; font-style:normal; font-weight:900; }
.ai-twin-version-list article.is-running > em { background:#eaf8ef; color:#147542; }
.ai-twin-version-list article > button { min-height:28px; padding:0 8px; border:1px solid #ffd6da; border-radius:9px; background:#fff8f8; color:#c62836; font:inherit; font-size:5.8px; font-weight:900; cursor:pointer; }
.ai-twin-authorization-list { display:flex; flex-direction:column; gap:7px; }
.ai-twin-authorization-list article { display:flex; align-items:center; gap:9px; padding:10px; border:1px solid #e5e5ea; border-radius:15px; background:#fff; }
.ai-twin-authorization-list article > i { display:flex; width:36px; height:36px; flex:none; align-items:center; justify-content:center; border-radius:12px; background:#fff1f2; color:#c62836; font-size:6.5px; font-style:normal; font-weight:950; }
.ai-twin-authorization-list article > div { display:flex; min-width:0; flex:1; flex-direction:column; gap:3px; }
.ai-twin-authorization-list article b { font-size:7.2px; }
.ai-twin-authorization-list article span,.ai-twin-authorization-list article small { color:#737780; font-size:5.7px; line-height:1.4; }
.ai-twin-authorization-list article small { color:#a0a0a6; }
.ai-twin-authorization-list article > em { flex:none; padding:4px 6px; border-radius:999px; background:#eaf8ef; color:#147542; font-size:5.5px; font-style:normal; font-weight:900; }
.ai-twin-authorization-list article > em.is-pending { background:#fff3d6; color:#8b5b00; }
.ai-twin-authorization-list article > em.is-used { background:#eaf1ff; color:#2f5aa3; }
.ai-twin-authorization-list article > em.is-locked { background:#f1f1f6; color:#636366; }
@media (max-width:390px) {
  .ai-twin-identity-map__profiles { grid-template-columns:1fr; }
  .ai-twin-identity-map__profiles > i { min-height:24px; }
  .ai-twin-identity-map__note { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ai-twin-campaign-grid { grid-template-columns:1fr; }
  .ai-twin-language-tabs { grid-template-columns:1fr; }
}
.ai-twin-state-flow { display:flex; gap:5px; overflow-x:auto; padding:1px 0 2px; scrollbar-width:none; }
.ai-twin-state-flow::-webkit-scrollbar { display:none; }
.ai-twin-state-flow > div { display:flex; flex:none; align-items:center; gap:4px; padding:6px 8px; border:1px solid #e5e5ea; border-radius:999px; background:#fff; color:#8e8e93; font-size:6.8px; font-weight:900; transition:.18s ease; }
.ai-twin-state-flow > div i { width:5px; height:5px; border-radius:50%; background:#c7c7cc; }
.ai-twin-state-flow > div.is-active { border-color:#ff9ca5; background:#fff0f1; color:#c62836; box-shadow:0 5px 13px rgba(255,59,74,.1); }
.ai-twin-state-flow > div.is-active i { background:#ff3b4a; box-shadow:0 0 0 3px rgba(255,59,74,.12); }
.ai-twin-state-flow > div.is-safety { border-style:dashed; }
.ai-twin-tour { display:flex; flex-direction:column; gap:9px; padding:12px; border:1px solid #ffd6da; border-radius:17px; background:linear-gradient(145deg,#fff7f8,var(--surface-card,#fff)); }
.ai-twin-tour__head { display:flex; align-items:flex-start; gap:9px; }
.ai-twin-tour__head > div { display:flex; min-width:0; flex:1; flex-direction:column; }
.ai-twin-tour__head em { color:#ff3b4a; font-size:6.5px; font-style:normal; font-weight:950; letter-spacing:.05em; }
.ai-twin-tour__head b { margin-top:3px; font-size:10.5px; }
.ai-twin-tour__head span { margin-top:4px; color:#737780; font-size:7px; line-height:1.55; }
.ai-twin-tour__head strong { flex:none; padding:4px 6px; border-radius:999px; background:#1c1c1e; color:#fff; font-size:6.5px; }
.ai-twin-tour__progress { height:4px; overflow:hidden; border-radius:99px; background:#f1f1f6; }
.ai-twin-tour__progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#ff3b4a,#ff8d82); transition:width .28s ease; }
.ai-twin-tour__steps { display:flex; gap:5px; overflow-x:auto; padding:1px 0 2px; scrollbar-width:none; }
.ai-twin-tour__steps::-webkit-scrollbar { display:none; }
.ai-twin-tour__steps button { display:flex; min-width:67px; flex:none; flex-direction:column; align-items:flex-start; gap:3px; padding:7px; border:1px solid var(--border-primary,#e5e5ea); border-radius:11px; background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); font:inherit; text-align:left; cursor:pointer; }
.ai-twin-tour__steps button i { color:#8e8e93; font-size:6px; font-style:normal; font-weight:950; }
.ai-twin-tour__steps button span { font-size:7px; font-weight:900; white-space:nowrap; }
.ai-twin-tour__steps button.is-active { border-color:#ff3b4a; background:#ff3b4a; color:#fff; box-shadow:0 6px 15px rgba(255,59,74,.15); }
.ai-twin-tour__steps button.is-active i { color:#fff; }
.ai-twin-tour__steps button.is-complete { border-color:#ffd6da; background:#fff1f2; color:#c62836; }
.ai-twin-tour__steps button.is-complete i { color:#c62836; }
.ai-twin-tour__actions { display:grid; grid-template-columns:1fr auto; gap:6px; }
.ai-twin-tour__actions button { min-height:36px; padding:0 14px; border:1px solid var(--border-primary,#e5e5ea); border-radius:12px; background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); font:inherit; font-size:8px; font-weight:950; cursor:pointer; }
.ai-twin-tour__actions .ai-twin-tour__primary { border-color:#ff3b4a; background:#ff3b4a; color:#fff; box-shadow:0 8px 20px rgba(255,59,74,.18); }
.ai-twin-subtitle { display:grid; min-height:47px; grid-template-columns:auto 1fr; align-items:center; gap:8px; padding:9px 11px; border-radius:13px; background:var(--surface-subtle,#f7f7fa); color:var(--text-primary,#1c1c1e); font-size:8.5px; font-weight:750; line-height:1.55; }
.ai-twin-subtitle em { min-width:30px; color:#ff3b4a; font-size:6.5px; font-style:normal; font-weight:950; text-align:center; }
.ai-twin-subtitle em:empty { display:none; }
.ai-twin-section-label { display:flex; align-items:flex-end; justify-content:space-between; gap:8px; padding:1px 2px 0; }
.ai-twin-section-label b { font-size:9px; }
.ai-twin-section-label span { color:#8e8e93; font-size:6.8px; }
.ai-twin-action-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
.ai-twin-action-grid > div { display:flex; min-height:42px; align-items:center; gap:6px; padding:7px 8px; border:1px solid; border-radius:13px; font-size:7px; font-weight:900; cursor:pointer; transition:transform .16s ease,background .16s ease; }
.ai-twin-action-grid > div i { display:flex; width:20px; height:20px; flex:none; align-items:center; justify-content:center; border-radius:7px; background:rgba(128,128,128,.1); font-size:9px; font-style:normal; }
.ai-twin-action-grid > div:active { transform:scale(.96); }
.ai-twin-output-modes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
.ai-twin-output-modes button { min-height:32px; border:1px solid; border-radius:11px; font:inherit; font-size:7px; font-weight:900; cursor:pointer; }
.ai-twin-control-row { display:grid; grid-template-columns:1fr .78fr; gap:7px; }
.ai-twin-control-row button { min-height:39px; border:1px solid var(--border-primary,#e5e5ea); border-radius:13px; background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); font:inherit; font-size:9px; font-weight:950; cursor:pointer; }
.ai-twin-control-row .ai-twin-control-row__primary { border-color:#ff3b4a; background:#ff3b4a; color:#fff; box-shadow:0 9px 22px rgba(255,59,74,.2); }
.ai-twin-control-row .ai-twin-control-row__safety { border-color:#ffd6da; background:#fff6f7; color:#c62836; }
.ai-twin-fallback-trigger { align-self:center; border:0; background:transparent; color:#737780; font:inherit; font-size:7px; font-weight:850; text-decoration:underline; text-underline-offset:2px; cursor:pointer; }
.ai-twin-stage__note { color:#8e8e93; font-size:7px; line-height:1.5; text-align:center; }
@keyframes aiTwinBreath { 0%,100%{transform:scale(1.002) translateY(0)} 50%{transform:scale(1.012) translateY(-2px)} }
@keyframes aiTwinListen { 0%,100%{transform:scale(1.004) translateY(0)} 50%{transform:scale(1.009) translateY(-1px)} }
@keyframes aiTwinThink { 0%,100%{transform:scale(1.008) translateX(0)} 50%{transform:scale(1.012) translateX(1px)} }
@keyframes aiTwinSpeak { 0%,100%{transform:scale(1.006) translateY(0)} 50%{transform:scale(1.012) translateY(-1px)} }
@keyframes aiTwinStatusPulse { 0%,100%{transform:scale(.8);opacity:.68} 50%{transform:scale(1.2);opacity:1} }
@keyframes aiTwinWave { 0%,100%{height:5px} 50%{height:14px} }
.product-boundary { display:flex; flex-direction:column; gap:5px; padding:12px 13px; border:1px solid #c7eeee; border-radius:15px; background:#f2fbfb; }
.product-boundary b { color:#31686c; font-size:9px; }
.product-boundary span { color:#5f7476; font-size:8px; line-height:1.65; }
.product-boundary--warning { border-color:#ffd6da; background:#fff8f8; }
.product-boundary--warning b { color:#c62836; }
.product-boundary--warning span { color:#6e5a5d; }
.feature-tab-row,.message-tab-row { display:flex; gap:4px; overflow-x:auto; border-bottom:var(--divider-height) solid var(--border-primary,#e5e5ea); }
.feature-tab-row > div,.message-tab-row > div { position:relative; flex:none; padding:9px 10px 8px; border-bottom:3px solid transparent; font-size:8.5px; font-weight:900; cursor:pointer; }
.message-tab-row { padding:0 16px; }
.message-tab-row > div { min-width:70px; text-align:center; }
.message-tab-row em { display:inline-flex; min-width:15px; height:15px; align-items:center; justify-content:center; margin-left:4px; border-radius:999px; background:#ff3b4a; color:#fff; font-size:7px; font-style:normal; }
.messages-page { min-height:0; }
.world-globe-stage { position:relative; height:286px; flex:none; overflow:hidden; }
.world-globe-canvas { position:absolute; left:50%; top:2px; width:350px; height:280px; cursor:grab; touch-action:none; user-select:none; -webkit-user-select:none; transform:translateX(-50%); }
.world-globe-canvas.is-dragging { cursor:grabbing; }
.world-globe-canvas:focus-visible { border-radius:50%; outline:3px solid rgba(255,59,74,.28); outline-offset:-8px; }
.messages-page > .message-tab-row { position:relative; z-index:3; flex:none; background:var(--surface-canvas,#F2F2F7); }
.messages-page > .messages-screen { min-height:0; overscroll-behavior-y:contain; }
.ai-twin-progress { display:grid; grid-template-columns:80px 1fr; align-items:center; gap:12px; padding:15px; border:1px solid var(--border-primary,#e5e5ea); border-radius:17px; background:var(--surface-card,#fff); }
.ai-twin-progress > div:first-child { display:flex; flex-direction:column; }
.ai-twin-progress b { font-size:23px; }
.ai-twin-progress span { margin-top:2px; color:#8e8e93; font-size:7px; }
.ai-twin-progress > div:last-child { height:6px; overflow:hidden; border-radius:99px; background:#f1f1f6; }
.ai-twin-progress i { display:block; height:100%; border-radius:inherit; background:#ff3b4a; }
.consent-row { display:flex; align-items:flex-start; gap:9px; padding:12px; border:1px solid #ffd6da; border-radius:15px; background:#fff8f8; cursor:pointer; }
.consent-row i { display:flex; width:20px; height:20px; flex:none; align-items:center; justify-content:center; border:1px solid; border-radius:6px; color:#fff; font-size:9px; font-style:normal; font-weight:950; }
.consent-row span { color:#6e5a5d; font-size:8px; line-height:1.65; }
.capability-list { overflow:hidden; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); }
.capability-list article { display:flex; min-height:59px; align-items:center; gap:10px; padding:11px 12px; border-bottom:var(--divider-height) solid var(--border-primary,#e5e5ea); }
.capability-list article:last-child { border-bottom:0; }
.capability-list article > i { display:flex; width:32px; height:32px; flex:none; align-items:center; justify-content:center; border-radius:11px; background:#fff1f2; color:#ff3b4a; font-size:10px; font-style:normal; font-weight:950; }
.capability-list article > div { display:flex; min-width:0; flex:1; flex-direction:column; }
.capability-list article b { font-size:9.5px; }
.capability-list article span { margin-top:3px; color:#8e8e93; font-size:7.5px; line-height:1.5; }
.capability-list article > em { padding:4px 6px; border-radius:999px; color:#737780; font-size:7px; font-style:normal; font-weight:900; white-space:nowrap; }
.form-card { display:flex; flex-direction:column; gap:10px; padding:14px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); }
.form-card label { color:var(--text-primary,#1c1c1e); font-size:8px; font-weight:900; }
.form-card input,.form-card textarea { width:100%; margin-top:5px; border:1px solid var(--border-primary,#e5e5ea); border-radius:11px; background:var(--surface-subtle,#f7f7fa); color:var(--text-primary,#1c1c1e); padding:10px; font:inherit; font-weight:600; outline:none; }
.form-card textarea { min-height:58px; resize:vertical; }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:10px; padding:2px; }
.section-heading > div { display:flex; flex-direction:column; }
.section-heading b { font-size:11px; }
.section-heading span { margin-top:3px; color:#8e8e93; font-size:7.5px; }
.section-heading em { color:#8e8e93; font-size:7.5px; font-style:normal; }
.secondary-pill,.primary-pill { border-radius:999px; padding:12px; text-align:center; font-size:9px; font-weight:950; cursor:pointer; }
.secondary-pill { border:1px solid var(--border-primary,#e5e5ea); background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); }
.primary-pill { background:#ff3b4a; color:#fff; }
.chat-sandbox,.direct-chat-list { display:flex; min-height:190px; flex-direction:column; gap:8px; padding:12px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); }
.ai-disclosure { align-self:center; padding:5px 8px; border-radius:999px; background:#f1f1f6; color:#737780; font-size:7px; font-weight:850; text-align:center; }
.chat-bubble { max-width:84%; padding:9px 11px; border-radius:13px; font-size:8.5px; line-height:1.55; }
.chat-bubble--assistant { align-self:flex-start; border:1px solid var(--border-primary,#e5e5ea); background:var(--surface-subtle,#f7f7fa); }
.chat-bubble--user { align-self:flex-end; background:#ff3b4a; color:#fff; }
.chat-composer { display:grid; grid-template-columns:1fr auto; gap:8px; }
.chat-composer input,.global-search-box input { min-width:0; border:1px solid var(--border-primary,#e5e5ea); border-radius:13px; background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); padding:11px; font-size:9px; outline:none; }
.chat-composer > div { display:flex; align-items:center; border-radius:12px; background:#ff3b4a; color:#fff; padding:0 14px; font-size:9px; font-weight:900; cursor:pointer; }
.switch-list { overflow:hidden; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); }
.switch-list > div { display:flex; min-height:61px; align-items:center; gap:10px; padding:10px 12px; border-bottom:var(--divider-height) solid var(--border-primary,#e5e5ea); cursor:pointer; }
.switch-list > div:last-child { border-bottom:0; }
.switch-list > div > i { display:flex; width:32px; height:32px; flex:none; align-items:center; justify-content:center; border-radius:11px; background:#fff1f2; color:#ff3b4a; font-style:normal; }
.switch-list > div > div { display:flex; min-width:0; flex:1; flex-direction:column; }

@media (prefers-reduced-motion: reduce) {
  .ai-twin-stage__visual > img,.ai-twin-motion-frame,.ai-twin-stage__state i,.ai-twin-wave i,.ai-twin-listening i { animation:none!important; transition:none!important; }
  .ai-twin-stage--speaking .ai-twin-wave i:nth-child(1),.ai-twin-stage--speaking .ai-twin-wave i:nth-child(5) { height:7px; }
  .ai-twin-stage--speaking .ai-twin-wave i:nth-child(2),.ai-twin-stage--speaking .ai-twin-wave i:nth-child(4) { height:11px; }
  .ai-twin-stage--speaking .ai-twin-wave i:nth-child(3) { height:15px; }
}
.switch-list b { font-size:9px; }
.switch-list span { margin-top:3px; color:#8e8e93; font-size:7px; }
.switch-list em { display:flex; width:34px; height:20px; flex:none; align-items:center; padding:2px; border-radius:99px; }
.switch-list u { width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.15); }
.metric-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.metric-grid > div { display:flex; min-height:64px; flex-direction:column; align-items:center; justify-content:center; border:1px solid var(--border-primary,#e5e5ea); border-radius:15px; background:var(--surface-card,#fff); }
.metric-grid b { font-size:15px; }
.metric-grid span { margin-top:4px; color:#8e8e93; font-size:7px; }
.danger-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.danger-actions > div { border:1px solid #ffd6da; border-radius:999px; background:#fff8f8; color:#c62836; padding:10px; text-align:center; font-size:8px; font-weight:900; cursor:pointer; }

.global-search-box { display:flex; align-items:center; gap:4px; padding:3px 4px 3px 8px; border:1px solid var(--border-primary,#e5e5ea); border-radius:15px; background:var(--surface-card,#fff); }
.global-search-icon { display:flex; width:32px; height:32px; flex:none; align-items:center; justify-content:center; color:#ff3b4a; pointer-events:none; }
.global-search-icon svg { display:block; width:22px; height:22px; overflow:visible; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.global-search-box input { flex:1; border:0; background:transparent; padding:9px 0; }
.global-search-box > div { padding:8px; color:#ff3b4a; font-size:8px; font-weight:900; cursor:pointer; }
.search-results { overflow:hidden; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); }
.search-results > div { display:flex; min-height:70px; align-items:center; gap:10px; padding:10px; border-bottom:var(--divider-height) solid var(--border-primary,#e5e5ea); cursor:pointer; }
.search-results > div:last-child { border-bottom:0; }
.search-results img { width:54px; height:48px; flex:none; border-radius:11px; object-fit:cover; }
.search-results > div > div { display:flex; min-width:0; flex:1; flex-direction:column; }
.search-results b { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.search-results span { margin-top:3px; color:#8e8e93; font-size:7px; }
.search-results em { margin-top:4px; color:#ff3b4a; font-size:7px; font-style:normal; }
.search-results u { color:#c7c7cc; text-decoration:none; }
.direct-chat-panel { min-height:100%; gap:10px; padding-bottom:0; }
.chat-contact { display:flex; min-height:68px; align-items:center; gap:10px; padding:11px 12px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); box-shadow:0 8px 24px rgba(29,29,31,.035); }
.chat-contact__avatar { position:relative; width:44px; height:44px; flex:none; }
.chat-contact__avatar img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
.chat-contact__avatar i { position:absolute; right:0; bottom:1px; width:9px; height:9px; border:2px solid #fff; border-radius:50%; background:#35b46f; }
.chat-contact__identity { display:flex; min-width:0; flex:1; flex-direction:column; }
.chat-contact__identity b { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.chat-contact__identity span { overflow:hidden; margin-top:3px; color:#8e8e93; font-size:7.5px; text-overflow:ellipsis; white-space:nowrap; }
.chat-contact > em { padding:5px 7px; border-radius:999px; background:#fff1f2; color:#ff3b4a; font-size:6.5px; font-style:normal; font-weight:900; white-space:nowrap; }
.direct-chat-disclosure { display:flex; align-items:center; gap:8px; padding:9px 10px; border:1px solid #ffd6da; border-radius:14px; background:#fff8f8; }
.direct-chat-disclosure > i { display:flex; width:26px; height:26px; flex:none; align-items:center; justify-content:center; border-radius:9px; background:#ff3b4a; color:#fff; font-size:7px; font-style:normal; font-weight:950; }
.direct-chat-disclosure > div { display:flex; min-width:0; flex-direction:column; }
.direct-chat-disclosure b { color:#c62836; font-size:7.5px; }
.direct-chat-disclosure span { margin-top:2px; color:#737780; font-size:6.5px; line-height:1.45; }
.direct-chat-list { min-height:250px; flex:1; gap:10px; padding:13px 11px; border-radius:20px; }
.chat-day-divider { display:flex; align-items:center; justify-content:center; }
.chat-day-divider > span { padding:3px 7px; border-radius:999px; background:var(--surface-subtle,#f7f7fa); color:#a0a0a6; font-size:6px; }
.direct-message-row { display:flex; width:100%; align-items:flex-start; gap:7px; }
.direct-message-row--other { justify-content:flex-start; }
.direct-message-row--me { justify-content:flex-end; }
.direct-message-avatar { width:26px; height:26px; flex:none; margin-top:1px; border-radius:50%; object-fit:cover; }
.direct-message { display:flex; min-width:0; max-width:76%; flex-direction:column; gap:4px; }
.direct-message > span { display:block; min-width:36px; padding:9px 11px; font-size:8.5px; line-height:1.55; overflow-wrap:anywhere; }
.direct-message > em { padding:0 3px; color:#a0a0a6; font-size:6px; font-style:normal; line-height:1; }
.direct-message--other > span { border:1px solid var(--border-primary,#e5e5ea); border-radius:14px 14px 14px 4px; background:var(--surface-subtle,#f7f7fa); }
.direct-message--me { align-items:flex-end; }
.direct-message--me > span { border-radius:14px 14px 4px 14px; background:#ff3b4a; color:#fff; text-align:left; }
.direct-message--me > em { text-align:right; }
.direct-chat-empty { display:flex; flex:1; flex-direction:column; align-items:center; justify-content:center; color:#8e8e93; text-align:center; }
.direct-chat-empty i { display:flex; width:34px; height:34px; align-items:center; justify-content:center; border-radius:12px; background:#fff1f2; color:#ff3b4a; font-style:normal; }
.direct-chat-empty b { margin-top:7px; color:var(--text-primary,#1c1c1e); font-size:8px; }
.direct-chat-empty span { margin-top:3px; font-size:6.5px; }
.direct-chat-actions { display:flex; flex-direction:column; gap:8px; padding:10px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); }
.direct-chat-composer { grid-template-columns:minmax(0,1fr) 40px; }
.direct-chat-composer input { height:40px; border-radius:14px; background:var(--surface-subtle,#f7f7fa); padding:0 12px; }
.direct-chat-send { display:flex; width:40px; height:40px; align-items:center; justify-content:center; border:0; border-radius:14px; background:#e5e5ea; color:#fff; cursor:default; transition:background .18s ease,transform .18s ease; }
.direct-chat-send--ready { background:#ff3b4a; cursor:pointer; }
.direct-chat-send--ready:active { transform:scale(.96); }
.direct-chat-send svg { width:17px; height:17px; fill:currentColor; }
.chat-handoff-button { display:flex; min-height:40px; align-items:center; justify-content:center; gap:7px; border:1px solid #ffd6da; border-radius:14px; background:#fff8f8; color:#c62836; font-size:8px; font-weight:900; cursor:pointer; }
.chat-handoff-button svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
.direct-chat-actions > p { margin:0; color:#a0a0a6; font-size:6px; line-height:1.4; text-align:center; }

.rights-hero,.product-center-hero { display:flex; flex-direction:column; padding:18px; border-radius:21px; background:linear-gradient(145deg,#1c1c1e,#343438); color:#fff; }
.rights-hub-panel { display:flex; flex-direction:column; gap:12px; padding-bottom:max(18px,var(--safe-bottom)); }
.rights-hero { gap:14px; overflow:hidden; background:radial-gradient(circle at 94% 8%,rgba(255,80,94,.35),transparent 34%),linear-gradient(145deg,#17171a,#2d2d32); box-shadow:0 16px 34px rgba(18,18,20,.15); }
.rights-hero__top,.rights-hero__balance,.rights-hero__actions { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.rights-hero__top em { color:#ff9da6; font-size:8px; font-style:normal; font-weight:900; letter-spacing:.04em; }
.rights-hero__top span { padding:4px 7px; border:1px solid rgba(255,255,255,.16); border-radius:999px; color:#fff; background:rgba(255,255,255,.08); font-size:7px; font-weight:850; }
.rights-hero__balance > div { display:flex; min-width:0; flex-direction:column; }
.rights-hero__balance > div:last-child { min-width:86px; padding-left:16px; border-left:1px solid rgba(255,255,255,.14); }
.rights-hero__balance b,.rights-hero__balance strong { margin:0; color:#fff; font-size:28px; line-height:1; font-variant-numeric:tabular-nums; }
.rights-hero__balance strong { font-size:20px; }
.rights-hero__balance small { margin-top:5px; color:#c7c7cc; font-size:8px; }
.rights-hero__actions button { min-height:44px; flex:1; border:1px solid rgba(255,255,255,.18); border-radius:14px; background:rgba(255,255,255,.09); color:#fff; font:900 10px/1 inherit; cursor:pointer; }
.rights-hero__actions button:first-child { border-color:#ff5966; background:#ff3b4a; }
.rights-rule-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:12px 6px; border:1px solid var(--border-primary,#e5e5ea); border-radius:16px; background:var(--surface-card,#fff); }
.rights-rule-strip > span { display:flex; min-width:0; flex-direction:column; align-items:center; padding:0 5px; text-align:center; }
.rights-rule-strip > span + span { border-left:1px solid var(--border-subtle,#f1f1f6); }
.rights-rule-strip b { color:var(--text-primary,#1c1c1e); font-size:8px; }
.rights-rule-strip small { margin-top:3px; color:var(--text-tertiary,#8e8e93); font-size:6px; line-height:1.4; }
.rights-section-heading { margin:1px 1px -2px; }
.rights-section-heading em { color:#ff3b4a; font-style:normal; font-weight:900; }
.rights-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.rights-grid article { display:flex; min-height:184px; flex-direction:column; align-items:flex-start; padding:13px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; outline:0; background:var(--surface-card,#fff); box-shadow:0 8px 22px rgba(28,28,30,.035); cursor:pointer; transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease; }
.rights-grid article:active { transform:scale(.985); }
.rights-grid article:focus-visible { border-color:#ff7b85; box-shadow:0 0 0 3px rgba(255,59,74,.11); }
.rights-grid article.is-active { border-color:#b8e8c9; background:linear-gradient(180deg,var(--surface-card,#fff),#f3fcf6); }
.rights-grid article.is-insufficient { opacity:.68; }
.rights-grid__top { display:flex; width:100%; align-items:center; justify-content:space-between; gap:7px; }
.rights-grid i { display:flex; width:40px; height:40px; flex:none; align-items:center; justify-content:center; border-radius:13px; background:#fff1f2; color:#ff3b4a; font-style:normal; }
.rights-grid i svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.rights-grid__top em { overflow:hidden; padding:4px 6px; border-radius:999px; background:var(--surface-subtle,#f7f7fa); color:var(--text-secondary,#636366); font-size:6.5px; font-style:normal; font-weight:850; text-overflow:ellipsis; white-space:nowrap; }
.rights-grid article > b { margin-top:11px; color:var(--text-primary,#1c1c1e); font-size:11px; }
.rights-grid article > span { min-height:32px; margin-top:4px; color:var(--text-secondary,#636366); font-size:7px; line-height:1.5; }
.rights-grid article > small { margin-top:5px; color:var(--text-tertiary,#8e8e93); font-size:6.5px; line-height:1.4; }
.rights-grid .rights-grid__action { display:flex; width:100%; min-height:40px; align-items:center; justify-content:center; margin-top:auto; padding:8px; border-radius:999px; background:#ff3b4a; color:#fff; font-size:8px; font-weight:900; text-align:center; }
.rights-grid article.is-active .rights-grid__action { background:#e8f8ed; color:#147542; }
.rights-grid article.is-insufficient .rights-grid__action { background:var(--surface-subtle,#f7f7fa); color:var(--text-tertiary,#8e8e93); }
.rights-order-list { display:flex; flex-direction:column; gap:8px; }
.rights-order-list article { display:flex; min-height:72px; align-items:center; gap:10px; padding:12px; border:1px solid var(--border-primary,#e5e5ea); border-radius:16px; background:var(--surface-card,#fff); }
.rights-order-list article > i { display:flex; width:34px; height:34px; flex:none; align-items:center; justify-content:center; border-radius:11px; background:#eaf8ef; color:#147542; }
.rights-order-list article > i svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.rights-order-list article > div { display:flex; min-width:0; flex:1; flex-direction:column; }
.rights-order-list b { font-size:9px; }
.rights-order-list span,.rights-order-list small { margin-top:3px; color:var(--text-tertiary,#8e8e93); font-size:6.5px; line-height:1.4; }
.rights-order-list em { flex:none; color:#ff3b4a; font-size:7px; font-style:normal; font-weight:900; }
.rights-empty { min-height:150px; }
.rights-redeem-modal { position:absolute; z-index:84; inset:0; display:flex; align-items:flex-end; justify-content:center; overflow:hidden; background:rgba(13,13,15,.58); backdrop-filter:blur(5px); animation:fadeIn .2s; }
.rights-redeem-sheet { width:100%; max-height:min(82%,calc(100% - 8px)); overflow-x:hidden; overflow-y:auto; padding:8px 17px max(18px,calc(14px + var(--safe-bottom))); border:1px solid var(--border-primary,#e5e5ea); border-bottom:0; border-radius:26px 26px 0 0; background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); box-shadow:0 -18px 48px rgba(13,13,15,.24); animation:slideUp .28s cubic-bezier(.22,.9,.32,1); -webkit-overflow-scrolling:touch; }
.rights-redeem-handle { width:38px; height:4px; margin:0 auto 11px; border-radius:99px; background:var(--border-primary,#d1d1d6); }
.rights-redeem-sheet > header { display:flex; align-items:center; gap:11px; }
.rights-redeem-sheet > header > i { display:flex; width:44px; height:44px; flex:none; align-items:center; justify-content:center; border-radius:14px; background:#fff1f2; color:#ff3b4a; }
.rights-redeem-sheet > header > i svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.rights-redeem-sheet > header > div { display:flex; min-width:0; flex:1; flex-direction:column; }
.rights-redeem-sheet > header em { color:#ff3b4a; font-size:7px; font-style:normal; font-weight:900; }
.rights-redeem-sheet h2 { margin:3px 0 0; font-size:17px; line-height:1.25; }
.rights-redeem-sheet > header button { width:40px; height:40px; flex:none; border:0; border-radius:50%; background:var(--surface-subtle,#f7f7fa); color:var(--text-secondary,#636366); font:400 24px/1 inherit; cursor:pointer; }
.rights-redeem-sheet > p { margin:12px 0 0; color:var(--text-secondary,#636366); font-size:10px; line-height:1.6; }
.rights-redeem-meta { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:13px; }
.rights-redeem-meta > div { display:flex; min-width:0; flex-direction:column; padding:11px; border:1px solid var(--border-primary,#e5e5ea); border-radius:14px; background:var(--surface-subtle,#f7f7fa); }
.rights-redeem-meta > div.is-wide { grid-column:1/-1; }
.rights-redeem-meta span,.rights-redeem-balance span { color:var(--text-tertiary,#8e8e93); font-size:7px; }
.rights-redeem-meta b { margin-top:4px; font-size:9px; line-height:1.45; }
.rights-redeem-balance { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; margin-top:10px; padding:12px; border-radius:15px; background:#fff6f7; }
.rights-redeem-balance > div { display:flex; flex-direction:column; }
.rights-redeem-balance > div:last-child { text-align:right; }
.rights-redeem-balance b { margin-top:3px; color:#ff3b4a; font-size:11px; font-variant-numeric:tabular-nums; }
.rights-redeem-balance i { color:#c62836; font-size:8px; font-style:normal; font-weight:900; }
.rights-redeem-sheet .product-boundary { margin-top:10px; }
.rights-redeem-actions { display:grid; grid-template-columns:1fr 1.35fr; gap:9px; margin-top:14px; }
.rights-redeem-actions button { min-height:46px; border:1px solid var(--border-primary,#e5e5ea); border-radius:999px; background:var(--surface-subtle,#f7f7fa); color:var(--text-primary,#1c1c1e); font:900 11px/1 inherit; cursor:pointer; }
.rights-redeem-actions button.is-ready { border-color:#ff3b4a; background:#ff3b4a; color:#fff; }
.rights-redeem-actions button.is-disabled { color:var(--text-tertiary,#8e8e93); cursor:not-allowed; }
.app-shell.theme-dark .rights-grid article.is-active { border-color:rgba(75,190,121,.48); background:linear-gradient(180deg,var(--surface-card),rgba(20,117,66,.12)); }
.app-shell.theme-dark .rights-redeem-balance { background:rgba(255,59,74,.1); }
.app-shell.theme-dark .rights-redeem-modal { background:rgba(3,4,6,.72); }
@media (max-width:360px) { .rights-grid { grid-template-columns:1fr; } .rights-grid article { min-height:168px; } }
.governance-hero { display:flex; align-items:center; gap:12px; padding:16px; border:1px solid var(--border-primary,#e5e5ea); border-radius:19px; background:var(--surface-card,#fff); }
.governance-hero > div { display:flex; min-width:0; flex:1; flex-direction:column; }
.governance-hero b { margin-top:5px; font-size:12px; }
.governance-hero > span { padding:5px 7px; border-radius:999px; font-size:7px; font-weight:900; }
.kill-switch { display:flex; align-items:center; gap:10px; padding:13px; border:1px solid; border-radius:16px; background:var(--surface-card,#fff); cursor:pointer; }
.kill-switch > div { display:flex; min-width:0; flex:1; flex-direction:column; }
.kill-switch b { font-size:10px; }
.kill-switch span { margin-top:4px; color:#8e8e93; font-size:7px; line-height:1.5; }
.kill-switch em { padding:6px 9px; border-radius:99px; color:#fff; font-size:7px; font-style:normal; font-weight:900; }

.product-center-hero em { color:#ff9aa2; }
.product-center-hero b { margin-top:8px; font-size:20px; }
.product-center-hero span { margin-top:5px; color:#d1d1d6; font-size:8px; }
.product-center-hero > div { height:4px; overflow:hidden; margin-top:13px; border-radius:99px; background:rgba(255,255,255,.15); }
.product-center-hero i { display:block; height:100%; border-radius:inherit; background:#ff3b4a; }
.product-role-switcher { display:flex; flex-direction:column; gap:10px; padding:13px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); box-shadow:0 10px 26px rgba(42,35,43,.04); }
.product-role-switcher__head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.product-role-switcher__head > div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.product-role-switcher__head b { font-size:10px; }
.product-role-switcher__head span { color:#8e8e93; font-size:7px; line-height:1.45; }
.product-role-switcher__head > em { flex:none; padding:5px 7px; border-radius:999px; background:#f1f1f6; color:#636366; font-size:6.5px; font-style:normal; font-weight:900; }
.product-role-switcher__options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.product-role-switcher__options button { display:grid; min-width:0; min-height:62px; grid-template-columns:30px 1fr auto; align-items:center; gap:8px; padding:9px; border:1px solid var(--border-primary,#e5e5ea); border-radius:14px; background:var(--surface-subtle,#f7f7fa); color:var(--text-primary,#1c1c1e); font:inherit; text-align:left; cursor:pointer; transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease; }
.product-role-switcher__options button:active { transform:scale(.97); }
.product-role-switcher__options button > i { display:flex; width:30px; height:30px; align-items:center; justify-content:center; border-radius:10px; background:var(--surface-card,#fff); color:#737780; font-size:9px; font-style:normal; font-weight:950; }
.product-role-switcher__options button > span { display:flex; min-width:0; flex-direction:column; gap:3px; }
.product-role-switcher__options button b { font-size:9px; }
.product-role-switcher__options button small { overflow:hidden; color:#8e8e93; font-size:6.2px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.product-role-switcher__options button > em { color:#8e8e93; font-size:6.5px; font-style:normal; font-weight:900; white-space:nowrap; }
.product-role-switcher__options button.is-active { border-color:#ff7f8a; background:linear-gradient(145deg,#fff0f1,var(--surface-card,#fff)); box-shadow:0 8px 20px rgba(255,59,74,.09); }
.product-role-switcher__options button.is-active > i { background:#ff3b4a; color:#fff; }
.product-role-switcher__options button.is-active > em { color:#c62836; }
.player-publish { position:absolute; inset:0; z-index:60; display:flex; flex-direction:column; background:var(--surface-canvas,#f2f2f7); animation:fadeIn .2s ease; }
.player-publish__header { display:grid; flex:none; grid-template-columns:48px 1fr 70px; align-items:center; padding:20px 18px 10px; }
.player-publish__header > button { height:38px; border:0; border-radius:19px; background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); font:inherit; font-size:25px; cursor:pointer; }
.player-publish__header .player-publish__draft { grid-column:3; width:70px; justify-self:end; background:transparent; color:#ff3b4a; font-size:11px; font-weight:850; }
.player-publish__header h2 { margin:0; font-size:19px; font-weight:900; }
.player-publish__body { display:flex; min-height:0; flex:1; flex-direction:column; gap:14px; overflow-y:auto; padding:10px 18px 110px; }
.player-publish__author { display:flex; align-items:center; gap:10px; padding:12px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); }
.player-publish__author img { width:42px; height:42px; border-radius:50%; object-fit:cover; }
.player-publish__author > div { display:flex; min-width:0; flex:1; flex-direction:column; gap:3px; }
.player-publish__author b { font-size:12px; }
.player-publish__author span { color:var(--text-tertiary,#8e8e93); font-size:8px; }
.player-publish__author em { padding:5px 8px; border-radius:999px; background:var(--surface-subtle,#f7f7fa); color:var(--text-secondary,#636366); font-size:8px; font-style:normal; font-weight:800; }
.player-publish__types { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.player-publish__types button { display:flex; min-height:68px; flex-direction:column; align-items:center; justify-content:center; gap:6px; border:1px solid var(--border-primary,#e5e5ea); border-radius:16px; background:var(--surface-card,#fff); color:var(--text-secondary,#636366); font:inherit; font-size:9px; font-weight:850; cursor:pointer; }
.player-publish__types button i { font-size:18px; font-style:normal; }
.player-publish__types button.is-active { border-color:#ff7f8a; background:#fff1f2; color:#c62836; box-shadow:0 7px 18px rgba(255,59,74,.08); }
.player-publish__text { width:100%; min-height:132px; padding:16px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; outline:0; background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); font:inherit; font-size:14px; line-height:1.65; resize:none; }
.player-publish__text:focus { border-color:#ff7f8a; box-shadow:0 0 0 3px rgba(255,59,74,.08); }
.player-publish__media { position:relative; display:flex; min-height:190px; align-items:center; justify-content:center; overflow:hidden; border:1px dashed #c7c7cc; border-radius:20px; background:var(--surface-card,#fff); cursor:pointer; }
.player-publish__media input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.player-publish__media img,.player-publish__media video { width:100%; height:250px; object-fit:cover; }
.player-publish__media > div { display:flex; flex-direction:column; align-items:center; gap:8px; color:var(--text-secondary,#636366); }
.player-publish__media > div i { display:flex; width:46px; height:46px; align-items:center; justify-content:center; border-radius:16px; background:#fff1f2; color:#ff3b4a; font-size:24px; font-style:normal; }
.player-publish__media > div b { font-size:11px; }
.player-publish__media.has-media { border-style:solid; }
.player-publish__media-meta { display:flex; align-items:center; justify-content:space-between; margin-top:-7px; padding:0 4px; color:var(--text-tertiary,#8e8e93); font-size:8px; }
.player-publish__media-meta button { border:0; background:transparent; color:#ff3b4a; font:inherit; font-size:9px; font-weight:850; cursor:pointer; }
.player-publish__settings { overflow:hidden; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); }
.player-publish__settings > div { display:flex; min-height:58px; align-items:center; justify-content:space-between; gap:10px; padding:11px 13px; border-bottom:var(--divider-height) solid var(--border-subtle,#f1f1f6); }
.player-publish__settings > div:last-child { border-bottom:0; }
.player-publish__settings b { font-size:10px; }
.player-publish__settings span { color:var(--text-tertiary,#8e8e93); font-size:8px; }
.player-publish__settings [role=group] { display:flex; gap:5px; }
.player-publish__settings button { min-height:31px; padding:6px 9px; border:1px solid var(--border-primary,#e5e5ea); border-radius:999px; background:var(--surface-subtle,#f7f7fa); color:var(--text-secondary,#636366); font:inherit; font-size:8px; font-weight:800; cursor:pointer; }
.player-publish__settings button.is-active { border-color:#ffd0d4; background:#fff1f2; color:#c62836; }
.player-publish__footer { position:absolute; right:0; bottom:0; left:0; padding:12px 18px calc(18px + env(safe-area-inset-bottom,0px)); background:linear-gradient(180deg,rgba(242,242,247,0),var(--surface-canvas,#f2f2f7) 22%); }
.player-publish__footer button { width:100%; min-height:50px; border:0; border-radius:999px; background:#ff3b4a; color:#fff; font:inherit; font-size:14px; font-weight:900; box-shadow:0 10px 24px rgba(255,59,74,.2); cursor:pointer; }
.player-publish__footer button.is-disabled { background:#d1d1d6; box-shadow:none; cursor:not-allowed; }
.profile-shortcut-icon { display:flex; height:28px; align-items:center; justify-content:center; color:#ff3b4a; font-size:17px; font-weight:950; }
.profile-shortcut-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.profile-shortcut-meta { overflow:hidden; margin:3px 6px 0; color:var(--text-tertiary,#8e8e93); font-size:6.5px; text-overflow:ellipsis; white-space:nowrap; }
.profile-subscription-card { display:flex; min-height:74px; align-items:center; gap:12px; padding:12px 14px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); cursor:pointer; transition:border-color 160ms ease,background-color 160ms ease,transform 120ms ease; }
.profile-subscription-card:active { transform:scale(.99); }
.profile-subscription-card:focus-visible { outline:3px solid rgba(255,59,74,.18); outline-offset:2px; }
.me-content-card__surface { position:absolute; inset:0; z-index:1; border:0; border-radius:12px; background:transparent; cursor:pointer; }
.me-content-card__surface:focus-visible { outline:3px solid rgba(255,59,74,.72); outline-offset:-3px; }
.me-content-card__top { position:relative; z-index:2; display:flex; align-items:flex-start; justify-content:space-between; gap:3px; pointer-events:none; }
.me-content-card__actions { display:flex; margin-left:auto; align-items:center; justify-content:flex-end; gap:2px; }
.me-content-card__status { border-radius:999px; padding:3px 5px; background:rgba(0,0,0,.48); font-size:7px; font-weight:800; white-space:nowrap; }
.me-content-card__edit { position:relative; z-index:3; display:flex; width:40px; height:40px; margin:-8px -8px -8px 0; align-items:center; justify-content:center; border:0; background:transparent; color:#fff; cursor:pointer; pointer-events:auto; }
.me-content-card__more { position:relative; z-index:1; display:block; margin-top:-5px; color:#fff; font-size:12px; font-weight:950; letter-spacing:1px; line-height:1; text-shadow:0 1px 2px rgba(0,0,0,.42); }
.me-content-card__edit:focus-visible { outline:3px solid rgba(255,59,74,.72); outline-offset:-3px; border-radius:50%; }
.me-content-card__edit:active .me-content-card__more { transform:scale(.92); opacity:.76; }
.me-content-card__copy { position:relative; z-index:2; text-shadow:0 1px 4px rgba(0,0,0,.55); pointer-events:none; }
.profile-subscription-icon { display:flex; width:38px; height:38px; flex:none; align-items:center; justify-content:center; border:1px solid #ffd9dd; border-radius:12px; background:#fff1f2; color:#ff3b4a; }
.profile-subscription-copy { min-width:0; flex:1; }
.profile-subscription-heading { display:flex; align-items:center; gap:7px; font-size:13px; font-weight:900; }
.profile-subscription-status { padding:3px 6px; border-radius:999px; font-size:8px; font-weight:900; }
.profile-subscription-quota { overflow:hidden; margin-top:5px; color:var(--text-tertiary,#8e8e93); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.profile-subscription-action { display:flex; flex:none; align-items:center; gap:3px; color:var(--text-tertiary,#8e8e93); font-size:9px; font-weight:800; }
.app-shell.theme-dark .profile-subscription-card { background:var(--surface-elevated,#23252a); border-color:var(--border-primary,#34363d); }
.app-shell.theme-dark .profile-subscription-icon { border-color:rgba(255,59,74,.24); background:rgba(255,59,74,.12); }
.subscription-current-summary { display:flex; min-height:82px; align-items:center; justify-content:space-between; gap:14px; padding:14px 15px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); }
.subscription-current-eyebrow { color:var(--text-tertiary,#8e8e93); font-size:8px; font-weight:900; letter-spacing:1px; }
.subscription-current-name { display:flex; align-items:center; gap:8px; margin-top:6px; }
.subscription-current-name b { font-size:20px; font-weight:950; }
.subscription-current-name span { padding:4px 7px; border-radius:999px; font-size:8px; font-weight:900; }
.subscription-current-period { margin-top:4px; color:var(--text-tertiary,#8e8e93); font-size:9px; }
.subscription-current-quota { display:flex; flex:none; flex-direction:column; align-items:flex-end; padding-left:14px; border-left:1px solid var(--border-subtle,#f1f1f6); }
.subscription-current-quota b { font-size:14px; }
.subscription-current-quota span { margin-top:3px; color:var(--text-tertiary,#8e8e93); font-size:8px; }
.subscription-plan-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:3px; padding:3px; border-radius:15px; background:var(--surface-subtle,#f1f1f6); }
.subscription-plan-tab { display:flex; min-width:0; min-height:42px; align-items:center; justify-content:center; gap:4px; padding:0 6px; border:0; border-radius:12px; background:transparent; color:var(--text-tertiary,#8e8e93); font:inherit; font-size:9px; font-weight:850; cursor:pointer; }
.subscription-plan-tab span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.subscription-plan-tab i { padding:2px 4px; border-radius:999px; background:#fff1f2; color:#c62836; font-size:6px; font-style:normal; }
.subscription-plan-tab.is-selected { background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); box-shadow:0 2px 7px rgba(28,28,30,.08); }
.subscription-plan-tab:focus-visible { outline:2px solid rgba(255,59,74,.2); outline-offset:1px; }
.subscription-plan-detail { padding:15px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); }
.subscription-plan-detail__heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.subscription-plan-detail__heading > div:first-child > div { display:flex; align-items:center; gap:7px; }
.subscription-plan-detail__heading b { font-size:15px; }
.subscription-plan-detail__heading > div:first-child span { padding:3px 6px; border-radius:999px; background:#fff1f2; color:#c62836; font-size:7px; font-weight:900; }
.subscription-plan-detail__heading p { margin:5px 0 0; color:var(--text-tertiary,#8e8e93); font-size:9px; }
.subscription-plan-detail__price { display:flex; flex:none; flex-direction:column; align-items:flex-end; }
.subscription-plan-detail__price b { color:#ff3b4a; font-size:11px; }
.subscription-plan-detail__price span { margin-top:3px; color:var(--text-tertiary,#8e8e93); font-size:7px; }
.subscription-plan-allowances { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin-top:14px; }
.subscription-plan-allowances > div { display:grid; grid-template-columns:1fr auto; align-items:center; gap:3px 8px; padding:9px 10px; border-radius:12px; background:var(--surface-subtle,#f7f7fa); }
.subscription-plan-allowances span { color:var(--text-secondary,#636366); font-size:8px; }
.subscription-plan-allowances b { font-size:11px; }
.subscription-plan-allowances small { grid-column:1/-1; color:var(--text-tertiary,#8e8e93); font-size:6.5px; }
.subscription-plan-features { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 10px; margin-top:13px; }
.subscription-plan-features span { display:flex; min-width:0; align-items:center; gap:5px; color:var(--text-secondary,#636366); font-size:8px; }
.subscription-plan-features svg { flex:none; color:#ff3b4a; }
.subscription-plan-action { width:100%; min-height:42px; margin-top:15px; border:1px solid; border-radius:999px; font:inherit; font-size:10px; font-weight:900; cursor:pointer; }
.subscription-plan-secondary-action { width:100%; min-height:36px; margin-top:7px; border:0; background:transparent; color:var(--text-tertiary,#8e8e93); font:inherit; font-size:9px; font-weight:850; cursor:pointer; }
.subscription-plan-secondary-action.is-accent { color:#c62836; }
.subscription-plan-boundary { display:flex; align-items:flex-start; gap:8px; margin-top:12px; padding-top:11px; border-top:var(--divider-height) solid var(--border-subtle,#f1f1f6); }
.subscription-plan-boundary b { flex:none; color:#c62836; font-size:8px; }
.subscription-plan-boundary span { color:var(--text-tertiary,#8e8e93); font-size:7.5px; line-height:1.55; }
.app-shell.theme-dark .subscription-current-summary,
.app-shell.theme-dark .subscription-plan-detail,
.app-shell.theme-dark .subscription-plan-tab.is-selected { background:var(--surface-elevated,#23252a); }
.app-shell.theme-dark .subscription-plan-tab i,
.app-shell.theme-dark .subscription-plan-detail__heading > div:first-child span { background:rgba(255,59,74,.12); }
.product-role-overview { display:flex; flex-direction:column; gap:10px; padding:14px; border:1px solid #ffd6da; border-radius:18px; background:linear-gradient(145deg,#fff5f6,var(--surface-card,#fff)); }
.product-role-overview > div:first-child { display:flex; flex-direction:column; gap:4px; }
.product-role-overview > div:first-child em { color:#c62836; font-size:7px; font-style:normal; font-weight:950; }
.product-role-overview > div:first-child b { font-size:12px; line-height:1.3; }
.product-role-overview > div:first-child span { color:var(--text-secondary,#636366); font-size:7px; line-height:1.55; }
.product-role-overview__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.product-role-overview__grid article { display:flex; min-width:0; min-height:84px; flex-direction:column; padding:9px; border:1px solid rgba(255,59,74,.13); border-radius:13px; background:var(--surface-card,#fff); }
.product-role-overview__grid i { display:flex; width:25px; height:25px; align-items:center; justify-content:center; border-radius:9px; background:#fff1f2; color:#ff3b4a; font-size:10px; font-style:normal; }
.product-role-overview__grid b { margin-top:7px; font-size:8px; }
.product-role-overview__grid span { margin-top:3px; color:var(--text-tertiary,#8e8e93); font-size:6.2px; line-height:1.4; }
.product-role-boundary { display:flex; align-items:flex-start; gap:9px; padding:11px 12px; border:1px solid #cfe0fa; border-radius:15px; background:#f4f8ff; color:#315d99; }
.product-role-boundary svg { width:19px; height:19px; flex:none; }
.product-role-boundary > div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.product-role-boundary b { font-size:8.5px; }
.product-role-boundary span { color:#60748f; font-size:7px; line-height:1.55; }
.capability-group { display:flex; flex-direction:column; gap:7px; }
.capability-map { overflow:hidden; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); }
.capability-map > div { display:flex; min-height:61px; align-items:center; gap:9px; padding:10px; border-bottom:var(--divider-height) solid var(--border-primary,#e5e5ea); cursor:pointer; }
.capability-map > div:last-child { border-bottom:0; }
.capability-map > div > i { display:flex; width:34px; height:34px; flex:none; align-items:center; justify-content:center; border-radius:11px; background:#1c1c1e; color:#fff; font-size:7px; font-style:normal; font-weight:950; }
.capability-map > div > div { display:flex; min-width:0; flex:1; flex-direction:column; }
.capability-map b { font-size:9px; }
.capability-map span { margin-top:3px; color:#8e8e93; font-size:7px; }
.capability-map em { padding:4px 6px; border-radius:999px; font-size:6.5px; font-style:normal; font-weight:900; white-space:nowrap; }
.service-stack { display:flex; flex-direction:column; gap:8px; }
.service-stack article { display:flex; align-items:center; gap:10px; padding:13px; border:1px solid var(--border-primary,#e5e5ea); border-radius:16px; background:var(--surface-card,#fff); }
.service-stack article > i { display:flex; width:34px; height:34px; flex:none; align-items:center; justify-content:center; border-radius:11px; background:#1c1c1e; color:#fff; font-size:8px; font-style:normal; font-weight:950; }
.service-stack article > div { display:flex; min-width:0; flex:1; flex-direction:column; }
.service-stack b { font-size:9.5px; }
.service-stack span { margin-top:4px; color:#8e8e93; font-size:7px; line-height:1.5; }
.service-stack em { padding:4px 6px; border-radius:99px; font-size:7px; font-style:normal; font-weight:900; }
.quality-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.quality-grid article { display:flex; min-height:120px; flex-direction:column; padding:13px; border:1px solid var(--border-primary,#e5e5ea); border-radius:16px; background:var(--surface-card,#fff); }
.quality-grid i { display:flex; width:33px; height:33px; align-items:center; justify-content:center; border-radius:11px; background:#fff1f2; color:#ff3b4a; font-style:normal; }
.quality-grid b { margin-top:9px; font-size:9px; }
.quality-grid span { margin-top:4px; color:#8e8e93; font-size:7px; line-height:1.5; }
.quality-grid em { margin-top:auto; color:#147542; font-size:7px; font-style:normal; font-weight:900; }

.app-shell.theme-dark .growth-network-hero,
.app-shell.theme-dark .growth-contribution-hero,
.app-shell.theme-dark .growth-rules-hero,
.app-shell.theme-dark .growth-node-status-card { background: linear-gradient(145deg, rgba(255,59,74,.12), var(--surface-card, #1c1c1e)); }
.app-shell.theme-dark .growth-network-boundary,
.app-shell.theme-dark .growth-node-invite-row,
.app-shell.theme-dark .growth-node-charter,
.app-shell.theme-dark .growth-signal-formula { background: rgba(255,59,74,.08); }
.app-shell.theme-dark .growth-network-boundary span,
.app-shell.theme-dark .growth-node-charter span { color: #d7b6ba; }
.app-shell.theme-dark .growth-network-orbit { border-color: rgba(255,139,150,.18); background: linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,59,74,.07)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.app-shell.theme-dark .growth-network-orbit__member { border-color: rgba(255,139,150,.2); background: rgba(44,44,46,.96); }
.app-shell.theme-dark .growth-network-orbit__member span { color: #ffabb2; }
.app-shell.theme-dark .growth-network-orbit__member small { color: #aeaeb2; }
.app-shell.theme-dark .growth-network-orbit__caption span,
.app-shell.theme-dark .growth-network-orbit__legend { color: #d7b6ba; }
.app-shell.theme-dark .growth-network-hero-tags > span { background: rgba(255,255,255,.08); color: #ffabb2; }
.app-shell.theme-dark .growth-signal-card--credit { background: linear-gradient(150deg, var(--surface-card, #1c1c1e), rgba(255,59,74,.08)); }
.app-shell.theme-dark .growth-agent-loop article,
.app-shell.theme-dark .growth-agent-foundation article,
.app-shell.theme-dark .growth-agent-flywheel { border-color: var(--border-primary); background: var(--surface-card); }
.app-shell.theme-dark .growth-agent-network-card { border-color: rgba(255,139,150,.25); background: linear-gradient(150deg, var(--surface-card), rgba(255,59,74,.08)); }
.app-shell.theme-dark .growth-agent-network-node i { border-color: rgba(255,139,150,.2); background: var(--surface-elevated); }
.app-shell.theme-dark .growth-agent-network-node b,
.app-shell.theme-dark .growth-agent-network-copy span { color: var(--text-secondary); }
.app-shell.theme-dark .growth-agent-network-tags span { border-color: rgba(255,139,150,.2); background: var(--surface-elevated); color: #ffabb2; }
.app-shell.theme-dark .growth-agent-foundation__icon { background: var(--accent-muted); }
.app-shell.theme-dark .growth-agent-boundary { border-color: rgba(255,139,150,.24); background: rgba(255,59,74,.08); }
.app-shell.theme-dark .growth-agent-boundary li { color: #d7b6ba; }
.app-shell.theme-dark .growth-agent-boundary > span { border-color: rgba(255,139,150,.16); color: #b8959a; }

/* Growth Network contribution: dark-mode hierarchy without light-theme pills. */
.app-shell.theme-dark .growth-network-page { color: var(--text-primary); }
.app-shell.theme-dark .growth-contribution-hero {
  border-color: rgba(255, 120, 134, .42) !important;
  background: linear-gradient(148deg, #24181c 0%, #1c1c21 58%, #181a1f 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 12px 28px rgba(0,0,0,.18);
}
.app-shell.theme-dark .growth-contribution-hero .growth-network-eyebrow { color: #ff8995; }
.app-shell.theme-dark .growth-contribution-value,
.app-shell.theme-dark .growth-network-section-title { color: var(--text-primary); }
.app-shell.theme-dark .growth-contribution-hero .growth-network-lead { color: var(--text-secondary); }

.app-shell.theme-dark .growth-credit-factor-card {
  border-color: #343740 !important;
  background: linear-gradient(150deg, #191b20 0%, #1d1b20 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 8px 18px rgba(0,0,0,.16) !important;
}
.app-shell.theme-dark .growth-credit-factor-card::after { opacity: .72; }
.app-shell.theme-dark .growth-credit-factor-card__head > i {
  background: rgba(255,88,105,.13);
  color: #ff7d8b;
}
.app-shell.theme-dark .growth-credit-factor-card__head b { color: var(--text-primary); font-size: 9.5px; }
.app-shell.theme-dark .growth-credit-factor-card__head small { color: var(--text-tertiary); font-size: 6.8px; }
.app-shell.theme-dark .growth-credit-factor-card__head em {
  border: 1px solid rgba(255,88,105,.17);
  background: rgba(255,88,105,.11);
  color: #ff98a3;
  font-size: 6.5px;
}
.app-shell.theme-dark .growth-credit-factor-card__score strong { color: #ff6d7c; }
.app-shell.theme-dark .growth-credit-factor-card__score small,
.app-shell.theme-dark .growth-credit-factor-card__score span { color: var(--text-tertiary); font-size: 6.5px; }
.app-shell.theme-dark .growth-credit-factor-card__meter { background: #2a2d34; }
.app-shell.theme-dark .growth-credit-factor-card__foot > span { color: var(--text-secondary); font-size: 7px; }
.app-shell.theme-dark .growth-credit-factor-card__foot small { color: var(--text-tertiary); font-size: 6px; }

.app-shell.theme-dark .growth-network-note {
  border: 1px solid #2a424e !important;
  background: #18262e !important;
  color: #a9c8d4 !important;
  box-shadow: none;
}
.app-shell.theme-dark .growth-contribution-chain {
  border-color: var(--border-primary) !important;
  background: var(--surface-card) !important;
  box-shadow: none;
}
.app-shell.theme-dark .growth-contribution-chain > span {
  border: 1px solid var(--border-strong);
  background: var(--surface-control);
  color: var(--text-secondary);
}
.app-shell.theme-dark .growth-contribution-chain > span:last-child {
  border-color: rgba(255,88,105,.28);
  background: var(--accent-muted);
  color: #ff9aa5;
}
.app-shell.theme-dark .growth-contribution-list {
  border-color: var(--border-primary);
  background: var(--surface-card);
}
.app-shell.theme-dark .growth-contribution-row {
  border-color: var(--border-primary) !important;
  background: transparent !important;
  box-shadow: none !important;
}
.app-shell.theme-dark .growth-contribution-row > i {
  background: rgba(255,88,105,.12);
  color: #ff7d8b;
}
.app-shell.theme-dark .growth-contribution-row b { color: var(--text-primary); }
.app-shell.theme-dark .growth-contribution-row span { color: var(--text-secondary); }
.app-shell.theme-dark .growth-contribution-row em {
  padding: 4px 6px;
  border: 1px solid rgba(255,88,105,.17);
  border-radius: 999px;
  background: rgba(255,88,105,.1);
  color: #ff98a3;
}
.app-shell.theme-dark .growth-network-tier-card {
  border-color: var(--border-primary);
  background: var(--surface-card);
  box-shadow: none;
}
.app-shell.theme-dark .growth-network-tier-icon { background: var(--accent-muted); color: #ff8995; }
.app-shell.theme-dark .growth-network-tier-desc { color: var(--text-secondary); }
.app-shell.theme-dark .growth-network-boundary { box-shadow: none; }
.app-shell.theme-dark .app-back-button { color: var(--text-primary); }
.app-shell.theme-dark .app-back-button:active { background: rgba(255,255,255,.055); }
.app-shell.theme-dark .product-role-overview { border-color:rgba(255,59,74,.2); background:linear-gradient(145deg,rgba(255,59,74,.10),var(--surface-card,#1c1c1e)); }
.app-shell.theme-dark .product-role-boundary { border-color:rgba(93,145,218,.28); background:rgba(49,93,153,.18); }
.app-shell.theme-dark .product-role-boundary span { color:#aebfd8; }

/* First-batch UI foundation: readable type, reliable touch targets and shared secondary pages. */
.app-shell {
  --surface-canvas: #f3f3f8;
  --surface-subtle: #f8f8fb;
  --surface-card: #ffffff;
  --surface-elevated: #ffffff;
  --text-primary: #1c1c1e;
  --text-secondary: #505057;
  --text-tertiary: #7b7b84;
  --border-primary: #e1e1e8;
  --border-subtle: #ededf3;
  font-size: var(--type-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.secondary-page-header {
  min-height: calc(66px + var(--safe-top));
  flex: none;
  padding: max(18px, calc(12px + var(--safe-top))) var(--space-5) var(--space-2) !important;
}

/* Higher specificity is intentional: the legacy inline helmet rule appears
   after this stylesheet. Native pages must use the inset supplied by Android. */
.native-app-shell .secondary-page-header {
  min-height: calc(66px + var(--safe-top));
  padding-top: max(18px, calc(12px + var(--safe-top))) !important;
}

.secondary-page-header > [role="button"]:first-child,
.secondary-page-header > button:first-child {
  width: var(--touch-target) !important;
  min-width: var(--touch-target) !important;
  height: var(--touch-target) !important;
  min-height: var(--touch-target) !important;
  border-radius: 50% !important;
  font-size: 25px !important;
  line-height: 1 !important;
}

/* Page-level navigation uses a quiet visual arrow while preserving the full
   44px interaction target. Modal close controls and list chevrons stay scoped
   to their own components. */
.app-back-button {
  position: relative;
  display: inline-flex !important;
  width: var(--touch-target) !important;
  min-width: var(--touch-target) !important;
  height: var(--touch-target) !important;
  min-height: var(--touch-target) !important;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text-primary, #1c1c1e);
  font-size: inherit !important;
  line-height: 1 !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.app-back-button svg {
  display: block;
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.app-back-button:active {
  transform: scale(0.92);
  opacity: 0.64;
}

.secondary-page-title {
  max-width: min(260px, 64vw) !important;
  font-size: var(--type-title) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

.app-header [role="button"],
.bottom-nav [role="button"],
.profile-card [aria-label="编辑个人信息"] {
  min-width: var(--touch-target) !important;
  min-height: var(--touch-target) !important;
}

/* Keep the AI badge visually compact; its ::before halo remains a 44px hit area. */
.profile-ai-twin-entry {
  min-width: 30px !important;
  min-height: 30px !important;
}

.bottom-nav > [role="button"] {
  width: var(--touch-target) !important;
  height: var(--touch-target) !important;
}

[role="dialog"] > .secondary-page-header + div {
  padding-right: clamp(16px, 4.65vw, 20px) !important;
  padding-left: clamp(16px, 4.65vw, 20px) !important;
}

.feature-tab-row,
.message-tab-row {
  gap: var(--space-2);
  scrollbar-width: none;
}

.feature-tab-row > div,
.message-tab-row > div {
  display: inline-flex;
  min-height: var(--touch-target);
  align-items: center;
  justify-content: center;
  padding: 10px 12px 8px;
  font-size: 12px;
  line-height: 1.25;
}

.message-tab-row > div { min-width: 84px; }
.message-tab-row em { min-width: 18px; height: 18px; font-size: 10px; }
.message-tab-row > [role="tab"] { border-bottom-color: transparent !important; }
.message-tab-row > [role="tab"][aria-selected="true"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: #ff3b4a;
  transform: translateX(-50%);
}

.section-heading { align-items: center; min-height: 42px; padding: 2px 0; }
.section-heading b { font-size: 14px; line-height: 1.3; }
.section-heading span,
.section-heading em { font-size: var(--type-caption); line-height: 1.45; }

.primary-pill,
.secondary-pill,
.danger-actions > div,
.chat-handoff-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.25;
}

.form-card { gap: 14px; padding: 16px; border-radius: var(--radius-lg); }
.form-card label { font-size: 12px; line-height: 1.4; }
.form-card input,
.form-card textarea {
  min-height: var(--touch-target);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.55;
}
.form-card textarea { min-height: 88px; }

.capability-list article,
.switch-list > div,
.capability-map > div { min-height: 72px; padding: 12px 14px; }
.capability-list article > i,
.switch-list > div > i,
.capability-map > div > i { width: 38px; height: 38px; border-radius: 12px; font-size: 12px; }
.capability-list article b,
.switch-list b,
.capability-map b { font-size: 13px; line-height: 1.3; }
.capability-list article span,
.switch-list span,
.capability-map span { font-size: 11px; line-height: 1.5; }
.capability-list article > em,
.capability-map em { padding: 5px 8px; font-size: 10px; }
.switch-list em { width: 42px; height: 24px; padding: 3px; }
.switch-list u { width: 18px; height: 18px; }

.chat-bubble,
.direct-message > span { font-size: 12px; line-height: 1.55; }
.chat-composer input,
.global-search-box input { min-height: var(--touch-target); font-size: 13px; }
.chat-composer > div,
.direct-chat-send { min-width: var(--touch-target); min-height: var(--touch-target); font-size: 12px; }
.chat-contact__identity b { font-size: 13px; }
.chat-contact__identity span { font-size: 11px; }
.direct-chat-disclosure b { font-size: 11px; }
.direct-chat-disclosure span,
.direct-chat-actions > p { font-size: 10px; }

.product-center-panel,
.ai-twin-panel,
.governance-panel,
.rights-hub-panel,
.global-search-panel { gap: 14px; }
.product-center-hero { padding: 20px; border-radius: var(--radius-lg); }
.product-center-hero em { font-size: 10px; letter-spacing: .08em; }
.product-center-hero b { font-size: 24px; }
.product-center-hero span { font-size: 11px; line-height: 1.45; }
.product-role-switcher { gap: 12px; padding: 16px; border-radius: var(--radius-lg); }
.product-role-switcher__head b { font-size: 13px; }
.product-role-switcher__head span { font-size: 11px; }
.product-role-switcher__head > em { padding: 6px 8px; font-size: 10px; }
.product-role-switcher__options { gap: 10px; }
.product-role-switcher__options button { min-height: 78px; grid-template-columns: 36px 1fr auto; gap: 9px; padding: 10px; }
.product-role-switcher__options button > i { width: 36px; height: 36px; font-size: 12px; }
.product-role-switcher__options button b { font-size: 12px; }
.product-role-switcher__options button small { font-size: 10px; white-space: normal; }
.product-role-switcher__options button > em { font-size: 10px; }
.product-role-overview > div:first-child em { font-size: 10px; }
.product-role-overview > div:first-child b { font-size: 15px; }
.product-role-overview > div:first-child span { font-size: 11px; }
.product-role-overview__grid article { min-height: 104px; padding: 11px; }
.product-role-overview__grid b { font-size: 12px; }
.product-role-overview__grid span { font-size: 11px; }
.product-role-boundary b { font-size: 11px; }
.product-role-boundary span { font-size: 10px; }
.service-stack b,
.quality-grid b { font-size: 12px; }
.service-stack span,
.quality-grid span { font-size: 10px; }
.service-stack em,
.quality-grid em { font-size: 10px; }

.demo-control-panel { display:flex; flex-direction:column; gap:12px; }
.demo-control-intro { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:17px; border:1px solid #ffd2d6; border-radius:20px; background:linear-gradient(145deg,#fff3f4,var(--surface-card,#fff)); }
.demo-control-intro > div { display:flex; min-width:0; flex-direction:column; gap:5px; }
.demo-control-intro em { color:#c62836; font-size:9px; font-style:normal; font-weight:950; letter-spacing:.08em; }
.demo-control-intro b { font-size:18px; line-height:1.2; }
.demo-control-intro span { color:var(--text-secondary,#505057); font-size:10px; line-height:1.5; }
.demo-control-intro > strong { flex:none; padding:6px 9px; border-radius:999px; font-size:9px; }
.demo-control-intro > strong.is-test { background:#fff0d8; color:#8b5b00; }
.demo-control-intro > strong.is-production { background:#eaf8ef; color:#147542; }
.demo-environment-card,.demo-popup-card,.demo-scenario-card { padding:15px; border:1px solid var(--border-primary,#e5e5ea); border-radius:18px; background:var(--surface-card,#fff); box-shadow:0 8px 24px rgba(35,31,40,.035); }
.demo-control-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.demo-control-heading > div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.demo-control-heading b { font-size:12px; }
.demo-control-heading span { color:var(--text-tertiary,#8e8e93); font-size:9px; line-height:1.45; }
.demo-control-heading > em { flex:none; color:#c62836; font-size:9px; font-style:normal; font-weight:900; }
.demo-environment-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:12px; }
.demo-environment-options button { display:grid; min-width:0; min-height:72px; grid-template-columns:30px 1fr; align-items:center; gap:8px; padding:10px; border:1px solid var(--border-primary,#e5e5ea); border-radius:15px; background:var(--surface-subtle,#f8f8fb); color:var(--text-primary,#1c1c1e); font:inherit; text-align:left; cursor:pointer; }
.demo-environment-options button > i { display:flex; width:30px; height:30px; align-items:center; justify-content:center; border-radius:10px; background:var(--surface-card,#fff); color:#737780; font-size:12px; font-style:normal; font-weight:950; }
.demo-environment-options button > span { display:flex; min-width:0; flex-direction:column; gap:3px; }
.demo-environment-options button b { font-size:11px; }
.demo-environment-options button small { color:var(--text-tertiary,#8e8e93); font-size:8px; line-height:1.35; }
.demo-environment-options button > em { grid-column:2; color:var(--text-tertiary,#8e8e93); font-size:8px; font-style:normal; font-weight:900; }
.demo-environment-options button.is-active { border-color:#ff7f8a; background:#fff1f2; box-shadow:0 7px 18px rgba(255,59,74,.08); }
.demo-environment-options button.is-active > i { background:#ff3b4a; color:#fff; }
.demo-environment-options button.is-active > em { color:#c62836; }
.demo-scenario-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-top:12px; }
.demo-scenario-options button,.demo-region-options button { display:flex; min-width:0; min-height:84px; flex-direction:column; align-items:flex-start; gap:5px; padding:10px; border:1px solid var(--border-primary,#e5e5ea); border-radius:14px; background:var(--surface-subtle,#f8f8fb); color:var(--text-primary,#1c1c1e); font:inherit; text-align:left; cursor:pointer; }
.demo-scenario-options button > i,.demo-region-options button > i { display:flex; width:27px; height:27px; align-items:center; justify-content:center; border-radius:9px; background:var(--surface-card,#fff); color:#737780; font-size:11px; font-style:normal; font-weight:950; }
.demo-scenario-options button > span,.demo-region-options button > span { display:flex; min-width:0; flex:1; flex-direction:column; gap:3px; }
.demo-scenario-options button b,.demo-region-options button b { font-size:10px; }
.demo-scenario-options button small,.demo-region-options button small { color:var(--text-tertiary,#8e8e93); font-size:7.5px; line-height:1.35; }
.demo-scenario-options button > em,.demo-region-options button > em { color:var(--text-tertiary,#8e8e93); font-size:7.5px; font-style:normal; font-weight:900; }
.demo-scenario-options button.is-active,.demo-region-options button.is-active { border-color:#ff7f8a; background:#fff1f2; box-shadow:0 7px 18px rgba(255,59,74,.08); }
.demo-scenario-options button.is-active > i,.demo-region-options button.is-active > i { background:#ff3b4a; color:#fff; }
.demo-scenario-options button:disabled,.demo-region-options button:disabled { opacity:.52; cursor:not-allowed; }
.demo-region-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:12px; }
.demo-region-options button { min-height:92px; }
.demo-probe-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:11px; padding:10px 11px; border-radius:13px; background:var(--surface-subtle,#f8f8fb); }
.demo-probe-row > div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.demo-probe-row b { font-size:9px; }
.demo-probe-row span { color:var(--text-tertiary,#8e8e93); font-size:8px; line-height:1.4; }
.demo-probe-row button,.demo-risk-row button { min-height:32px; flex:none; padding:7px 10px; border:1px solid var(--border-primary,#e5e5ea); border-radius:999px; background:var(--surface-card,#fff); color:var(--text-secondary,#505057); font:inherit; font-size:8px; font-weight:900; cursor:pointer; }
.demo-probe-row button:disabled,.demo-risk-row button:disabled { opacity:.5; cursor:not-allowed; }
.demo-non-financial { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:11px; padding:11px; border:1px solid var(--border-primary,#e5e5ea); border-radius:14px; background:var(--surface-subtle,#f8f8fb); }
.demo-non-financial > div { display:flex; min-width:0; align-items:center; gap:9px; }
.demo-non-financial > div > i { display:flex; width:30px; height:30px; flex:none; align-items:center; justify-content:center; border-radius:10px; background:var(--surface-card,#fff); color:#737780; font-style:normal; font-weight:950; }
.demo-non-financial > div > span { display:flex; min-width:0; flex-direction:column; gap:3px; }
.demo-non-financial b { font-size:10px; }
.demo-non-financial small { color:var(--text-tertiary,#8e8e93); font-size:8px; line-height:1.4; }
.demo-non-financial > button { position:relative; display:flex; width:42px; height:25px; flex:none; align-items:center; padding:2px; border:0; border-radius:999px; background:#d1d1d6; cursor:pointer; }
.demo-non-financial > button > span { width:21px; height:21px; border-radius:50%; background:#fff; box-shadow:0 1px 4px rgba(0,0,0,.18); transition:transform .18s ease; }
.demo-non-financial.is-active { border-color:#ffc0c6; background:#fff5f6; }
.demo-non-financial.is-active > div > i { background:#ff3b4a; color:#fff; }
.demo-non-financial.is-active > button { background:#ff3b4a; }
.demo-non-financial.is-active > button > span { transform:translateX(17px); }
.demo-risk-list { overflow:hidden; margin-top:12px; border:1px solid var(--border-primary,#e5e5ea); border-radius:16px; }
.demo-risk-row { display:grid; min-height:74px; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:9px; padding:11px; border-bottom:var(--divider-height) solid var(--border-subtle,#f1f1f6); background:var(--surface-card,#fff); }
.demo-risk-row:last-child { border-bottom:0; }
.demo-risk-row > i { display:flex; width:34px; height:34px; align-items:center; justify-content:center; border-radius:11px; background:#fff1f2; color:#c62836; font-size:14px; font-style:normal; font-weight:950; }
.demo-risk-row > div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.demo-risk-row b { font-size:10px; }
.demo-risk-row span { color:var(--text-tertiary,#8e8e93); font-size:8px; line-height:1.4; }
.demo-risk-row small { color:#c62836; font-size:7.5px; font-weight:900; }
.demo-popup-list { overflow:hidden; margin-top:12px; border:1px solid var(--border-primary,#e5e5ea); border-radius:16px; }
.demo-popup-row { display:grid; min-height:78px; grid-template-columns:34px minmax(0,1fr) auto 40px; align-items:center; gap:9px; padding:11px; border-bottom:var(--divider-height) solid var(--border-subtle,#f1f1f6); background:var(--surface-card,#fff); }
.demo-popup-row:last-child { border-bottom:0; }
.demo-popup-row > i { display:flex; width:34px; height:34px; align-items:center; justify-content:center; border-radius:11px; background:var(--surface-subtle,#f8f8fb); color:#737780; font-size:15px; font-style:normal; font-weight:950; }
.demo-popup-row > div { display:flex; min-width:0; flex-direction:column; gap:3px; }
.demo-popup-row > div b { font-size:11px; }
.demo-popup-row > div span { color:var(--text-tertiary,#8e8e93); font-size:8px; line-height:1.4; }
.demo-popup-row > div small { color:#8e8e93; font-size:8px; font-weight:800; }
.demo-popup-row.is-enabled > i { background:#fff1f2; color:#ff3b4a; }
.demo-popup-row.is-enabled > div small { color:#147542; }
.demo-popup-row.is-disabled { opacity:.58; }
.demo-popup-preview { min-height:34px; padding:7px 10px; border:1px solid var(--border-primary,#e5e5ea); border-radius:999px; background:var(--surface-subtle,#f8f8fb); color:var(--text-secondary,#505057); font:inherit; font-size:8px; font-weight:850; cursor:pointer; }
.demo-popup-preview:disabled { cursor:not-allowed; }
.demo-popup-switch { position:relative; display:flex; width:40px; height:24px; align-items:center; padding:2px; border:0; border-radius:999px; background:#d1d1d6; cursor:pointer; transition:background .18s ease; }
.demo-popup-switch > span { width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 1px 4px rgba(0,0,0,.18); transition:transform .18s ease; }
.demo-popup-switch[aria-checked="true"] { background:#ff3b4a; }
.demo-popup-switch[aria-checked="true"] > span { transform:translateX(16px); }
.demo-popup-switch:disabled { cursor:not-allowed; }
.demo-reset-simulation { width:100%; min-height:42px; border:1px solid var(--border-primary,#e5e5ea); border-radius:999px; background:var(--surface-card,#fff); color:var(--text-primary,#1c1c1e); font:inherit; font-size:10px; font-weight:900; cursor:pointer; }
.demo-reset-simulation:disabled { opacity:.5; cursor:not-allowed; }
.demo-control-boundary { display:flex; align-items:flex-start; gap:9px; padding:11px 12px; border:1px solid #cfe0fa; border-radius:15px; background:#f4f8ff; color:#315d99; }
.demo-control-boundary i { display:flex; width:20px; height:20px; flex:none; align-items:center; justify-content:center; border-radius:50%; background:#315d99; color:#fff; font-size:10px; font-style:normal; font-weight:900; }
.demo-control-boundary span { font-size:9px; line-height:1.55; }
.app-shell.theme-dark .demo-control-intro { border-color:rgba(255,59,74,.22); background:linear-gradient(145deg,rgba(255,59,74,.10),var(--surface-card,#1c1c1e)); }
.app-shell.theme-dark .demo-environment-options button.is-active,.app-shell.theme-dark .demo-scenario-options button.is-active,.app-shell.theme-dark .demo-region-options button.is-active,.app-shell.theme-dark .demo-non-financial.is-active { background:rgba(255,59,74,.12); }
.app-shell.theme-dark .demo-control-boundary { border-color:rgba(93,145,218,.28); background:rgba(49,93,153,.18); color:#b8c9e1; }

.runtime-risk-bar { position:relative; z-index:28; display:grid; min-height:45px; grid-template-columns:26px minmax(0,1fr) auto; align-items:center; gap:8px; margin:0 12px 7px; padding:8px 9px; border:1px solid #f0c36a; border-radius:13px; background:#fff9e9; color:#73500b; box-shadow:0 8px 22px rgba(83,56,5,.08); }
.runtime-risk-bar > i { display:flex; width:26px; height:26px; align-items:center; justify-content:center; border-radius:8px; background:#f2bd4a; color:#fff; font-size:12px; font-style:normal; font-weight:950; }
.runtime-risk-bar > div { display:flex; min-width:0; flex-direction:column; gap:2px; }
.runtime-risk-bar b { font-size:9px; }
.runtime-risk-bar span { overflow:hidden; color:inherit; opacity:.78; font-size:7.5px; line-height:1.35; white-space:nowrap; text-overflow:ellipsis; }
.runtime-risk-bar button { min-height:29px; padding:6px 9px; border:1px solid currentColor; border-radius:999px; background:transparent; color:inherit; font:inherit; font-size:8px; font-weight:900; cursor:pointer; }
.runtime-risk-bar.is-offline { border-color:#ef9aa3; background:#fff1f2; color:#a32633; }
.runtime-risk-bar.is-offline > i,.runtime-risk-bar.is-region > i { background:#c62836; }
.runtime-risk-bar.is-region { border-color:#ef9aa3; background:#fff5f6; color:#8f2631; }
.runtime-risk-bar.is-non-financial { border-color:#b7c9e8; background:#f3f7ff; color:#315d99; }
.runtime-risk-bar.is-non-financial > i { background:#315d99; }
.risk-modal-heading { display:flex; align-items:center; gap:12px; }
.risk-modal-heading > i { display:flex; width:48px; height:48px; flex:none; align-items:center; justify-content:center; border-radius:16px; background:#fff3d6; color:#8b5b00; font-size:21px; font-style:normal; font-weight:950; }
.risk-modal-heading > div { display:flex; min-width:0; flex-direction:column; gap:5px; }
.risk-modal-heading em { color:#8b5b00; font-size:8px; font-style:normal; font-weight:950; letter-spacing:.08em; }
.risk-modal-heading [id="system-modal-title"] { font-size:18px; font-weight:950; line-height:1.25; }
.risk-modal-heading.is-offline > i,.risk-modal-heading.is-region > i { background:#fff0f1; color:#c62836; }
.risk-modal-heading.is-offline em,.risk-modal-heading.is-region em { color:#c62836; }
.risk-modal-copy { margin-top:14px; color:var(--text-secondary,#3a3a3c); font-size:11px; line-height:1.7; }
.risk-modal-boundary { margin-top:12px; padding:11px 12px; border:1px solid var(--border-primary,#e5e5ea); border-radius:14px; background:var(--surface-subtle,#f7f7fa); color:var(--text-tertiary,#737780); font-size:9px; line-height:1.6; }
.risk-modal-actions { display:grid; grid-template-columns:1fr 1.35fr; gap:9px; margin-top:17px; }
.risk-modal-actions button { min-height:42px; border:1px solid var(--border-primary,#e5e5ea); border-radius:999px; background:var(--surface-subtle,#f7f7fa); color:var(--text-primary,#1c1c1e); font:inherit; font-size:11px; font-weight:900; cursor:pointer; }
.risk-modal-actions button.is-primary { border-color:#ff3b4a; background:#ff3b4a; color:#fff; }
.app-shell.theme-dark .runtime-risk-bar { background:#352f1e; color:#ffe1a0; }
.app-shell.theme-dark .runtime-risk-bar.is-offline,.app-shell.theme-dark .runtime-risk-bar.is-region { background:#351d21; color:#ffb7bd; }
.app-shell.theme-dark .runtime-risk-bar.is-non-financial { background:#1b2b44; color:#bed4fa; }

.growth-network-eyebrow { font-size: 10px; }
.growth-network-lead { font-size: 12px; }
.growth-network-orbit__caption span,
.growth-network-orbit__caption em,
.growth-network-hero-tags > span { font-size: 10px; }
.growth-network-orbit__member b { font-size: 10px; }
.growth-network-orbit__member span { font-size: 11px; }
.growth-network-orbit__member small,
.growth-network-orbit__legend { font-size: 9px; }
.growth-signal-card__top em { font-size: 10px; }
.growth-signal-card > b { font-size: 12px; }
.growth-signal-card p { font-size: 10px; }

/* Playable detail: experience first, owner operations remain a gated secondary view. */
.playable-detail {
  position: absolute;
  inset: 0;
  z-index: 63;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface-canvas, #f2f2f7);
  animation: fadeIn 0.22s ease-out;
}

.playable-detail__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.playable-detail__header > .playable-detail__back {
  position: relative;
}

.playable-detail__manage-entry::before {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.playable-detail__manage-entry {
  position: relative;
  margin-left: auto;
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-primary, #e5e5ea);
  color: #ff3b4a;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.playable-detail__scroll {
  flex: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  contain: inline-size;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 10px clamp(16px, 4.65vw, 20px) calc(28px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.playable-detail__scroll.is-hidden {
  display: none;
}

.playable-detail-hero {
  position: relative;
  flex: none;
  aspect-ratio: 1.12 / 1;
  max-height: 332px;
  overflow: hidden;
  border-radius: 24px;
  background: #17171a;
  box-shadow: 0 12px 30px rgba(28, 28, 30, 0.12);
}

.playable-detail-hero__image,
.playable-detail-hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.playable-detail-hero__image { object-fit: cover; }
.playable-detail-hero__fallback { display: grid; place-items: center; }
.playable-detail-hero__fallback span { font-size: 64px; }

.playable-detail-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 14, 0.06) 24%, rgba(10, 10, 14, 0.16) 48%, rgba(10, 10, 14, 0.92) 100%);
}

.playable-detail-hero__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.playable-detail-hero__badges > span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(18, 18, 22, 0.58);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.playable-detail-hero__content {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
}

.playable-detail-hero__eyebrow {
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.playable-detail-hero h1 {
  margin: 6px 0 8px;
  font-size: clamp(20px, 5.7vw, 25px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.playable-detail-hero__owner {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 800;
}

.playable-detail-hero__owner img {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  object-fit: cover;
}

.playable-detail-hero__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 9px;
}

.playable-detail-hero__tags > span {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 9px;
}

.playable-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

/* Template expressions render a nested .sc-interp span. Keep box styles on the authored wrapper only. */
.playable-detail-meta > span {
  min-width: 0;
  padding: 9px 6px;
  overflow: hidden;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 12px;
  background: var(--surface-card, #fff);
  color: var(--text-secondary, #636366);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playable-detail-primary {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: #ff3b4a;
  box-shadow: 0 10px 22px rgba(255, 59, 74, 0.2);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.playable-detail-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 18px;
  background: var(--surface-card, #fff);
}

.playable-detail-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.playable-detail-card__head > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.playable-detail-card__head b { font-size: 14px; line-height: 1.3; }
.playable-detail-card__head span { color: var(--text-tertiary, #8e8e93); font-size: 10px; line-height: 1.55; }
.playable-detail-card__head strong { flex: none; color: #ff3b4a; font-size: 18px; }
.playable-detail-card__head em { flex: none; padding: 5px 8px; border-radius: 999px; background: #fff0f2; color: #c62836; font-size: 9px; font-style: normal; font-weight: 900; }

.playable-detail-game__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.playable-detail-game__choices > div {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 12px;
  background: var(--surface-subtle, #f7f7fa);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.playable-detail-game__advice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid #ffd4d8;
  border-radius: 12px;
  background: #fff6f7;
}

.playable-detail-game__advice b { color: #c62836; font-size: 11px; }
.playable-detail-game__advice span { color: #6e5a5d; font-size: 10px; line-height: 1.55; }

.playable-detail-video {
  padding: 14px;
  border-radius: 18px;
  background: #17171a;
  color: #fff;
  text-align: center;
}

.playable-detail-video > div:first-child { padding: 26px 0; font-size: 40px; }
.playable-detail-video i { height: 5px; display: block; overflow: hidden; border-radius: 3px; background: #3a3a3c; }
.playable-detail-video i > span { height: 100%; display: block; border-radius: inherit; background: #ff3b4a; }
.playable-detail-video > div:last-child { min-height: 44px; display: grid; place-items: center; margin-top: 10px; border-radius: 999px; background: #ff3b4a; font-size: 11px; font-weight: 900; cursor: pointer; }

.playable-detail-social {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.playable-detail-social > div {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 5px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 13px;
  background: var(--surface-card, #fff);
  color: var(--text-secondary, #636366);
  cursor: pointer;
}

.playable-detail-social svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.playable-detail-social > div > span { overflow: hidden; font-size: 10px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.playable-detail-social > .is-active { border-color: #ffc7cd; background: #fff0f2; color: #ff3b4a; }
.playable-detail-social > .is-active svg { fill: currentColor; }

.playable-detail-intro p,
.playable-detail-management__note {
  margin: 10px 0 0;
  color: var(--text-secondary, #636366);
  font-size: 11px;
  line-height: 1.7;
}

.playable-detail-feedback__composer {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.playable-detail-feedback__composer input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 999px;
  outline: 0;
  background: var(--surface-subtle, #f7f7fa);
  font-size: 12px;
}

.playable-detail-feedback__composer > div {
  min-width: 58px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ff3b4a;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.playable-detail-feedback__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: var(--divider-height) solid var(--border-subtle, #ededf3);
  font-size: 11px;
  line-height: 1.55;
}

.playable-detail-feedback__row span { color: var(--text-secondary, #636366); }

.playable-detail-management__hero {
  min-width: 0;
  padding: 18px;
  border: 1px solid #ffd2d7;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff 0%, #fff0f2 100%);
}

.playable-detail-management__hero > span { color: #c62836; font-size: 9px; font-weight: 900; letter-spacing: 0.1em; }
.playable-detail-management__hero h2 { margin: 8px 0 6px; font-size: 21px; letter-spacing: -0.03em; }
.playable-detail-management__hero p { margin: 0; color: var(--text-secondary, #636366); font-size: 11px; line-height: 1.65; }

.playable-detail-management__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.playable-detail-management__metrics > div {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 16px;
  background: #fff;
}

.playable-detail-management__metrics b { font-size: 17px; }
.playable-detail-management__metrics span { color: var(--text-tertiary, #8e8e93); font-size: 10px; }

.playable-detail-management__lineage {
  margin-top: 12px;
  padding: 11px;
  border-radius: 12px;
  background: var(--surface-subtle, #f7f7fa);
  color: var(--text-secondary, #636366);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.playable-detail-management__version {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: var(--divider-height) solid var(--border-subtle, #ededf3);
  font-size: 11px;
}

.playable-detail-management__version span { color: var(--text-tertiary, #8e8e93); text-align: right; }

.playable-detail-management__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.playable-detail-management__actions > div {
  min-height: 76px;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 8px;
  align-content: center;
  padding: 10px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 14px;
  background: var(--surface-subtle, #f7f7fa);
  cursor: pointer;
}

.playable-detail-management__actions > div > span {
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff0f2;
  color: #ff3b4a;
  font-size: 13px;
}

.playable-detail-management__actions b { align-self: end; font-size: 11px; }
.playable-detail-management__actions small { align-self: start; overflow: hidden; color: var(--text-tertiary, #8e8e93); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.create-power-tabs {
  display: flex;
  gap: 16px;
  margin-top: 15px;
  padding: 0 16px 5px 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.create-power-tabs::-webkit-scrollbar { display: none; }

.create-power-tabs > div {
  flex: none;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  color: #77777d;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
}

.create-power-meta {
  min-height: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
  color: #77777d;
  font-size: 9px;
  line-height: 1.45;
}

.create-power-meta > span { min-width: 0; }
.create-power-meta > b { flex: none; color: #a0a0a6; font-size: 8px; white-space: nowrap; }

.create-power-selection {
  margin-top: 5px;
  padding: 9px 10px;
  border-radius: 13px;
  background: #19191c;
}

.create-power-selection__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a0a0a6;
  font-size: 9px;
}

.create-power-selection__head > b { color: #fff; font-size: 10px; }
.create-power-selection__head > div { color: #ff7b85; font-weight: 800; cursor: pointer; }

.create-power-selection__chips {
  display: flex;
  gap: 6px;
  margin-top: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.create-power-selection__chips::-webkit-scrollbar { display: none; }

.create-power-selection__chips > div {
  flex: none;
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #2a2a2e;
  color: #f2f2f7;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.create-power-selection__remove { margin-left: 3px; color: #ff7b85; }

.create-power-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.create-power-card {
  min-width: 0;
  min-height: 126px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px;
  overflow: hidden;
  border: 1px solid #303034;
  border-radius: 18px;
}

.create-power-card__head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
}

.create-power-card__head > div:first-child {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.create-power-card__head > div:last-child {
  flex: none;
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 900;
  white-space: nowrap;
}

.create-power-card__desc {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #a0a0a6;
  font-size: 9px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.create-power-card__reason {
  margin-top: 5px;
  overflow: hidden;
  color: #ff7b85;
  font-size: 8px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.create-power-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.create-power-card__icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 13px;
  color: #fff;
  box-shadow: 0 5px 14px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.1);
}

.create-power-card__icon > svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.create-power-card__icon > img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

.create-power-card__action {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 0;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.create-power-card__action-visual {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  transition: width 160ms ease, height 160ms ease, font-size 160ms ease;
}

.create-power-card__action-visual svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.create-power-search {
  width: 38px;
  height: 38px;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #242427;
  color: #fff;
  cursor: pointer;
}

.create-power-search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.create-power-card__action.is-selected .create-power-card__action-visual {
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 13px !important;
}

.create-power-empty {
  margin-top: 10px;
  padding: 22px 14px;
  border: 1px dashed #3a3a3e;
  border-radius: 16px;
  color: #8e8e93;
  font-size: 10px;
  text-align: center;
}

.create-capability-note {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid #303034;
  border-radius: 14px;
  background: #19191c;
  color: #a0a0a6;
  font-size: 9px;
  line-height: 1.55;
}

.create-capability-note > div:first-child { color: #ff7b85; font-weight: 800; }
.create-capability-note > div + div { margin-top: 3px; }

@media (max-width: 374px) {
  .create-composer-intro { flex-basis: 294px; min-height: 294px; padding-right: 14px; padding-left: 14px; }
  .composer-primary-action { padding-right: 11px; padding-left: 11px; font-size: 11px; }
  .secondary-page-header { padding-right: 16px !important; padding-left: 16px !important; }
  .secondary-page-title { max-width: 210px !important; font-size: 19px !important; }
  .product-role-switcher__options { grid-template-columns: 1fr; }
  .product-role-overview__grid { grid-template-columns: 1fr; }
  .product-role-overview__grid article { min-height: 72px; }
  .demo-environment-options { grid-template-columns:1fr; }
  .demo-scenario-options { grid-template-columns:1fr; }
  .demo-scenario-options button { min-height:68px; }
  .demo-popup-row { grid-template-columns:32px minmax(0,1fr) 38px; gap:7px; }
  .demo-popup-preview { grid-column:2; justify-self:start; }
  .demo-popup-switch { grid-column:3; grid-row:1 / span 2; }
  .growth-network-hero,
  .growth-contribution-hero,
  .growth-rules-hero { padding: 16px; }
  .growth-network-headline { font-size: 23px; }
  .growth-signal-card { min-height: 190px; padding: 12px; }
  .playable-detail-hero { aspect-ratio: 1.18 / 1; max-height: 286px; }
  .playable-detail-hero__content { left: 14px; right: 14px; bottom: 13px; }
  .playable-detail-hero h1 { font-size: 20px; }
  .playable-detail-management__actions { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .app-shell {
    width: 100vw !important;
    height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
  }
}

/* v5.5 frontend-only delivery: truthful evidence, progressive creation and
   bounded feed rendering. These primitives intentionally use semantic tokens
   so the same hierarchy survives light and dark themes. */
.play-feed__slide.is-buffered {
  visibility: hidden;
  pointer-events: none;
}

.play-feed__slide.is-active {
  visibility: visible;
  pointer-events: auto;
}

.create-power-disclosure {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 3px 0 7px;
  padding: 8px 10px;
  border: 1px solid #303034;
  border-radius: 14px;
  background: #19191c;
  color: #fff;
  text-align: left;
}

.create-power-disclosure > span { min-width: 0; display: grid; gap: 2px; }
.create-power-disclosure b { font-size: 10px; }
.create-power-disclosure small { overflow: hidden; color: #8e8e93; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.create-power-disclosure em { margin-left: auto; color: #ff7b85; font-size: 8px; font-style: normal; font-weight: 900; white-space: nowrap; }

.product-status-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.product-status-summary article {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 8px;
  padding: 10px;
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  background: var(--surface-card);
}

.product-status-summary i {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--text-primary);
  font-size: 20px;
  font-style: normal;
  font-weight: 950;
}

.product-status-summary b { align-self: end; color: var(--text-primary); font-size: 8.5px; }
.product-status-summary span { align-self: start; overflow: hidden; color: var(--text-tertiary); font-size: 6.8px; text-overflow: ellipsis; white-space: nowrap; }
.product-status-summary .is-demo { border-color: rgba(22,132,85,.25); background: rgba(22,132,85,.07); }
.product-status-summary .is-demo i { color: #168455; }
.product-status-summary .is-local { border-color: rgba(49,93,153,.24); background: rgba(49,93,153,.07); }
.product-status-summary .is-local i { color: #315d99; }
.product-status-summary .is-pending { border-color: rgba(154,101,0,.24); background: rgba(154,101,0,.07); }
.product-status-summary .is-pending i { color: #9a6500; }

.app-shell.theme-dark .product-status-summary article {
  border-color: var(--border-primary);
  background: var(--surface-subtle);
}

.app-shell.theme-dark .product-status-summary .is-demo { background: rgba(82,214,130,.08); }
.app-shell.theme-dark .product-status-summary .is-demo i { color: #7ce7a2; }
.app-shell.theme-dark .product-status-summary .is-local { background: rgba(91,153,238,.09); }
.app-shell.theme-dark .product-status-summary .is-local i { color: #8dc6ff; }
.app-shell.theme-dark .product-status-summary .is-pending { background: rgba(255,192,67,.08); }
.app-shell.theme-dark .product-status-summary .is-pending i { color: #ffd17a; }

@media (max-width: 374px) {
  .create-power-card__action-visual { width: 30px; height: 30px; }
  .create-power-card__action.is-selected .create-power-card__action-visual { width: 27px; height: 27px; }
}

@media (min-width: 431px) and (max-height: 932px) {
  .app-shell {
    width: 430px !important;
    height: 100dvh !important;
    margin: 0 auto !important;
    border-radius: 28px !important;
  }
}

/* Unified responsive overlays, KYC country picker, and email login. */
.settings-drawer {
  min-height: 0;
  contain: layout paint;
  overscroll-behavior: contain;
}

.settings-drawer-scroll {
  position: absolute;
  inset: 0;
  width: auto;
  min-height: 0;
  height: auto !important;
  max-height: none;
  flex: none !important;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  padding-bottom: max(36px, calc(28px + var(--safe-bottom))) !important;
  scroll-padding-block: max(50px, calc(26px + var(--safe-top))) max(36px, calc(28px + var(--safe-bottom)));
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: none;
  transform: translateZ(0);
  will-change: scroll-position;
}

.native-app-shell .settings-drawer-scroll {
  padding-bottom: max(76px, calc(28px + var(--safe-bottom))) !important;
  scroll-padding-bottom: max(76px, calc(28px + var(--safe-bottom)));
}

.kyc-country-trigger {
  display: grid;
  width: 100%;
  min-height: 56px;
  grid-template-columns: 30px 1fr 18px;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 13px;
  background: var(--surface-subtle, #f7f7fa);
  color: var(--text-primary, #1c1c1e);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.kyc-country-trigger__flag,
.identity-country-flag { font-size: 22px; line-height: 1; }
.kyc-country-trigger > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.kyc-country-trigger b { overflow: hidden; font-size: 11px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.kyc-country-trigger small { margin-top: 3px; color: var(--text-tertiary, #8e8e93); font-size: 8px; }
.kyc-country-trigger svg { color: var(--text-tertiary, #8e8e93); }

.adaptive-modal-backdrop {
  position: absolute;
  z-index: 82;
  inset: 0;
  background: rgba(13, 13, 15, .56);
  backdrop-filter: blur(5px);
  animation: fadeIn .2s;
}

.adaptive-bottom-sheet {
  position: absolute;
  z-index: 83;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: min(88%, calc(100% - 8px));
  border: 1px solid var(--border-primary, #e5e5ea);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: var(--surface-card, #fff);
  color: var(--text-primary, #1c1c1e);
  box-shadow: 0 -18px 48px rgba(13, 13, 15, .2);
  animation: slideUp .28s cubic-bezier(.22, .9, .32, 1);
}

.identity-country-sheet {
  display: flex;
  min-height: 0;
  height: 88%;
  flex-direction: column;
  overflow: hidden;
}

.identity-country-sheet > header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 17px 16px 10px;
}
.identity-country-sheet > header > div { display: flex; min-width: 0; flex-direction: column; }
.identity-country-sheet > header b { font-size: 17px; font-weight: 950; }
.identity-country-sheet > header span { margin-top: 3px; color: var(--text-tertiary, #8e8e93); font-size: 9px; }
.identity-country-sheet > header button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-subtle, #f7f7fa);
  color: var(--text-secondary, #636366);
  font-size: 24px;
  cursor: pointer;
}

.identity-country-search {
  display: flex;
  min-height: 44px;
  flex: none;
  align-items: center;
  gap: 8px;
  margin: 0 16px 10px;
  padding: 0 11px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 13px;
  background: var(--surface-subtle, #f7f7fa);
}
.identity-country-search svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--text-tertiary, #8e8e93); stroke-width: 2; stroke-linecap: round; }
.identity-country-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text-primary, #1c1c1e); font: 12px/1.4 inherit; }
.identity-country-search button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--surface-card, #fff); color: var(--text-secondary, #636366); cursor: pointer; }

.identity-country-list {
  min-height: 0;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  border-top: var(--divider-height) solid var(--border-subtle, #f1f1f6);
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
.identity-country-list > button {
  display: grid;
  width: 100%;
  min-height: 56px;
  grid-template-columns: 36px 1fr 26px;
  align-items: center;
  gap: 8px;
  padding: 7px 17px;
  border: 0;
  border-bottom: var(--divider-height) solid var(--border-subtle, #f1f1f6);
  background: transparent;
  color: var(--text-primary, #1c1c1e);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.identity-country-list > button.is-selected { background: var(--accent-soft, #fff1f2); }
.identity-country-list > button > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.identity-country-list b { font-size: 12px; font-weight: 850; }
.identity-country-list small { margin-top: 2px; color: var(--text-tertiary, #8e8e93); font-size: 8px; letter-spacing: .08em; }
.identity-country-list em { color: #ff3b4a; font-size: 15px; font-style: normal; font-weight: 950; text-align: center; }
.identity-country-empty { display: flex; min-height: 180px; align-items: center; justify-content: center; flex-direction: column; color: var(--text-tertiary, #8e8e93); }
.identity-country-empty b { color: var(--text-primary, #1c1c1e); font-size: 12px; }
.identity-country-empty span { margin-top: 5px; font-size: 9px; }
.identity-country-sheet > footer { flex: none; padding: 10px 16px max(16px, calc(12px + var(--safe-bottom))); border-top: var(--divider-height) solid var(--border-primary, #e5e5ea); color: var(--text-tertiary, #8e8e93); font-size: 8px; line-height: 1.55; }

.email-login-card { display: flex; width: 100%; min-width: 0; max-width: 100%; flex-direction: column; gap: 13px; padding: 16px; overflow-x: hidden; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 20px; background: var(--surface-card, #fff); box-shadow: 0 8px 28px rgba(28, 28, 30, .05); }
.email-login-intro { display: flex; align-items: center; gap: 11px; padding-bottom: 12px; border-bottom: var(--divider-height) solid var(--border-subtle, #f1f1f6); }
.email-login-intro > span { display: flex; width: 42px; height: 42px; flex: none; align-items: center; justify-content: center; border-radius: 14px; background: var(--accent-soft, #fff1f2); color: #ff3b4a; font-size: 21px; font-weight: 900; }
.email-login-intro > div { display: flex; min-width: 0; flex-direction: column; }
.email-login-intro b { font-size: 14px; font-weight: 950; }
.email-login-intro small { margin-top: 3px; overflow-wrap: anywhere; color: var(--text-tertiary, #8e8e93); font-size: 9px; line-height: 1.5; }
.email-login-field { display: flex; flex-direction: column; gap: 6px; }
.email-login-field > span { font-size: 10px; font-weight: 900; }
.email-login-field input { width: 100%; height: 46px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 13px; outline: 0; background: var(--surface-subtle, #f7f7fa); color: var(--text-primary, #1c1c1e); padding: 0 13px; font: 13px/1 inherit; }
.email-login-field input:focus { border-color: #ff7b85; box-shadow: 0 0 0 3px rgba(255, 59, 74, .1); }
html.native-app-shell .email-login-field input:focus,
html.native-app-shell .email-login-field input:focus-visible { box-shadow: none !important; }
.email-login-field input[aria-invalid="true"] { border-color: #c62836; }
.email-login-code { letter-spacing: .34em; font-variant-numeric: tabular-nums; }
.email-login-notice { display: flex; align-items: center; gap: 8px; padding: 10px 11px; border: 1px solid #ffd6da; border-radius: 12px; background: var(--accent-soft, #fff1f2); color: var(--text-secondary, #6e5a5d); font-size: 9px; line-height: 1.5; }
.email-login-notice b { flex: none; color: #c62836; }
.email-login-notice span { min-width: 0; }
.email-login-error { color: #c62836; font-size: 10px; line-height: 1.5; }
.email-login-primary, .email-login-resend { min-height: 46px; border: 0; border-radius: 999px; font: 900 12px/1 inherit; cursor: pointer; }
.email-login-primary { background: #ff3b4a; color: #fff; }
.email-login-primary:disabled { background: #d1d1d6; color: #fff; cursor: not-allowed; }
.email-login-resend { min-height: 38px; background: transparent; color: var(--text-secondary, #636366); }
.email-login-resend:disabled { color: var(--text-tertiary, #a0a0a6); cursor: not-allowed; }

.destructive-confirm-modal {
  position: absolute;
  z-index: 84;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: max(18px, calc(12px + var(--safe-top))) 20px max(18px, calc(12px + var(--safe-bottom)));
  background: rgba(13, 13, 15, .56);
  backdrop-filter: blur(5px);
  animation: fadeIn .2s;
}
.destructive-confirm-card { width: 100%; max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 36px); overflow-y: auto; padding: 20px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 22px; background: var(--surface-card, #fff); color: var(--text-primary, #1c1c1e); box-shadow: 0 24px 60px rgba(0, 0, 0, .28); -webkit-overflow-scrolling: touch; }
.destructive-confirm-icon { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 14px; background: var(--accent-soft, #fff1f2); color: #c62836; font-size: 20px; font-weight: 950; }
.destructive-confirm-card h2 { margin: 13px 0 0; font-size: 17px; line-height: 1.35; }
.destructive-confirm-card p { margin: 7px 0 0; color: var(--text-secondary, #636366); font-size: 11px; line-height: 1.65; }
.destructive-confirm-card > div:last-child { display: grid; grid-template-columns: 1fr 1.25fr; gap: 9px; margin-top: 17px; }
.destructive-confirm-card button { min-height: 46px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 999px; background: var(--surface-subtle, #f7f7fa); color: var(--text-primary, #1c1c1e); font: 900 12px/1 inherit; cursor: pointer; }
.destructive-confirm-card button.is-danger { border-color: #c62836; background: #c62836; color: #fff; }

.system-modal {
  overflow: hidden !important;
  padding: max(12px, calc(8px + var(--safe-top))) 14px max(14px, calc(10px + var(--safe-bottom))) !important;
}

/* Android WebView can report a zero CSS env() inset while drawing behind the
   three-button navigation bar. The native wrapper also injects a fallback;
   this extra breathing room keeps the card visibly clear of system controls. */
.native-app-shell .system-modal {
  padding-bottom: calc(24px + var(--safe-bottom)) !important;
}
.system-modal__card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 24px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.native-app-shell .system-modal__card {
  max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 46px);
}

.composer-sheet-footer {
  flex: none;
  position: relative;
  z-index: 2;
  padding: 10px 18px max(12px, calc(8px + var(--safe-bottom)));
  border-top: var(--divider-height) solid #efeff4;
  background: #ffffff;
}
.social-action-sheet,
.share-sheet--light {
  max-height: calc(100dvh - var(--safe-top) - 12px) !important;
  padding-bottom: max(18px, calc(12px + var(--safe-bottom))) !important;
}

/* Composer sheets live inside the simulated phone shell. A viewport-relative
   max-height can make a deep goal sheet taller than that shell on desktop,
   clipping its header above the rounded device frame. Keep this cap relative
   to the containing app shell and let only the content region scroll. */
.composer-sheet-dialog {
  max-height: min(82%, calc(100% - 8px)) !important;
  padding-bottom: 0 !important;
}

.app-shell.theme-dark .email-login-notice { border-color: rgba(255, 88, 105, .34); background: var(--accent-muted); color: var(--text-secondary); }
.app-shell.theme-dark .destructive-confirm-icon { background: var(--accent-muted); }
.app-shell.theme-dark .system-modal { border: 0 !important; background: rgba(4, 5, 7, .68) !important; box-shadow: none !important; }
.app-shell.theme-dark .system-modal__card { border-color: var(--border-primary) !important; background: var(--surface-card) !important; color: var(--text-primary) !important; }

/* Creator Center: ecosystem workbench + operational cockpit + governed Airvana loop. */
.creator-center-page {
  --creator-accent: #ff3b4a;
  --creator-accent-soft: #fff0f2;
  --creator-ink: var(--text-primary, #1c1c1e);
  --creator-muted: var(--text-secondary, #636366);
  --creator-faint: var(--text-tertiary, #8e8e93);
  --creator-page: var(--surface-canvas, #f7f7fa);
  --creator-card: var(--surface-card, #fff);
  --creator-subtle: var(--surface-subtle, #f7f7fa);
  --creator-border: var(--border-primary, #e5e5ea);
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px 16px calc(108px + var(--safe-bottom));
  background: var(--creator-page);
  color: var(--creator-ink);
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}
.creator-center-tabs {
  position: sticky;
  z-index: 5;
  top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2, 8px);
  margin: 0 -16px 12px;
  padding: 0 16px;
  border-bottom: var(--divider-height) solid var(--creator-border);
  background: color-mix(in srgb, var(--creator-page) 92%, transparent);
  backdrop-filter: blur(18px);
}
.creator-center-tab {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: var(--touch-target, 44px);
  align-items: center;
  justify-content: center;
  color: var(--creator-faint);
  cursor: pointer;
  outline: none;
}
.creator-center-tab span { font-size: 12px; font-weight: 900; line-height: 1.25; white-space: nowrap; }
.creator-center-tab.is-active { color: var(--creator-ink); }
.creator-center-tab.is-active::after { position: absolute; bottom: 0; left: 50%; width: 34px; height: 3px; border-radius: 999px; background: var(--creator-accent); content: ""; transform: translateX(-50%); }
.creator-status-card,
.creator-stage-card,
.creator-campaign-card,
.creator-period-card,
.creator-metrics-section,
.creator-trend-card,
.creator-funnel-card,
.creator-performance-card,
.creator-advice-summary,
.creator-advice-card,
.creator-growth-section,
.creator-quick-section,
.creator-priority-section,
.creator-preview-section,
.creator-inspiration-card,
.creator-opportunity-card {
  border: 1px solid var(--creator-border);
  background: var(--creator-card);
  box-shadow: 0 8px 24px rgba(28, 28, 30, .035);
}
.creator-status-card { display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 18px; }
.creator-status-card > img { width: 44px; height: 44px; flex: none; border: 2px solid #ffccd1; border-radius: 50%; background: var(--creator-subtle); object-fit: cover; }
.creator-status-copy { min-width: 0; flex: 1; }
.creator-status-copy > strong { display: block; overflow: hidden; font-size: 13px; font-weight: 950; text-overflow: ellipsis; white-space: nowrap; }
.creator-status-copy > span { display: block; margin-top: 2px; color: var(--creator-faint); font-size: 9px; }
.creator-status-copy > div { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.creator-status-copy i { padding: 3px 6px; border-radius: 999px; background: var(--creator-subtle); color: var(--creator-muted); font-size: 8px; font-style: normal; font-weight: 800; }
.creator-status-copy i.is-ready { background: rgba(34, 163, 86, .1); color: #147542; }
.creator-card-link { position: relative; flex: none; padding: 9px 2px; color: var(--creator-accent); font-size: 9px; font-weight: 900; cursor: pointer; }
.creator-card-link::before { position: absolute; inset: -6px -8px; content: ""; }
.creator-period-card { margin-top: 10px; padding: 14px; border-radius: 18px; }
.creator-period-head { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; }
.creator-period-head > div:first-child { min-width: 0; flex: 1; }
.creator-period-head strong { display: block; font-size: 13px; font-weight: 950; }
.creator-period-head span { display: block; margin-top: 3px; color: var(--creator-faint); font-size: 8px; }
.creator-data-range { flex: none; padding: 5px 7px; border: 1px solid var(--creator-border); border-radius: 8px; color: var(--creator-muted); font-size: 7px; font-weight: 800; }
.creator-period-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; padding: 3px; border-radius: 12px; background: var(--creator-subtle); }
.creator-period-tabs > div { position: relative; display: flex; min-height: 32px; align-items: center; justify-content: center; border-radius: 9px; color: var(--creator-faint); font-size: 9px; font-weight: 850; cursor: pointer; }
.creator-period-tabs > div::before { position: absolute; inset: -4px 0; content: ""; }
.creator-period-tabs > div.is-active { background: var(--creator-card); color: var(--creator-ink); box-shadow: 0 3px 10px rgba(20, 20, 24, .07); }
.creator-stage-card { margin-top: 10px; padding: 15px; border-color: #ffd1d5; border-radius: 20px; background: linear-gradient(145deg, var(--creator-card), var(--creator-accent-soft)); }
.creator-section-kicker { color: var(--creator-accent); font-size: 9px; font-weight: 950; letter-spacing: .04em; }
.creator-stage-main { display: flex; align-items: center; gap: 14px; justify-content: space-between; margin-top: 7px; }
.creator-stage-main > div:first-child { min-width: 0; flex: 1; }
.creator-stage-main h2 { margin: 0; font-size: 16px; font-weight: 950; line-height: 1.3; letter-spacing: -.02em; }
.creator-stage-main p { margin: 5px 0 0; color: var(--creator-muted); font-size: 9px; line-height: 1.55; }
.creator-stage-ring { position: relative; display: grid; width: 52px; height: 52px; flex: none; place-items: center; border-radius: 50%; background: conic-gradient(var(--creator-accent) var(--creator-progress), #f1dfe1 0); }
.creator-stage-ring::before { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: var(--creator-card); content: ""; }
.creator-stage-ring strong { position: relative; z-index: 1; font-size: 10px; font-weight: 950; }
.creator-stage-track { height: 4px; margin-top: 13px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--creator-accent) 12%, var(--creator-card)); }
.creator-stage-track i { display: block; height: 100%; border-radius: inherit; background: var(--creator-accent); }
.creator-stage-footer { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-top: 9px; }
.creator-stage-footer span { color: var(--creator-faint); font-size: 8px; line-height: 1.4; }
.creator-stage-footer div { position: relative; flex: none; color: var(--creator-accent); font-size: 9px; font-weight: 950; cursor: pointer; }
.creator-stage-footer div::before { position: absolute; inset: -10px -8px; content: ""; }
.creator-metrics-section,
.creator-quick-section,
.creator-priority-section,
.creator-preview-section { margin-top: 10px; padding: 14px; border-radius: 18px; }
.creator-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.creator-section-heading h2 { margin: 0; font-size: 13px; font-weight: 950; line-height: 1.35; }
.creator-section-heading p { margin: 2px 0 0; color: var(--creator-faint); font-size: 8px; line-height: 1.45; }
.creator-section-heading > div:last-child[role="button"] { position: relative; flex: none; padding-top: 2px; color: var(--creator-accent); font-size: 9px; font-weight: 900; cursor: pointer; }
.creator-section-heading > div:last-child[role="button"]::before { position: absolute; inset: -10px -8px; content: ""; }
.creator-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 11px; }
.creator-metric-card { min-width: 0; padding: 9px 5px; border-radius: 12px; background: var(--creator-subtle); text-align: center; }
.creator-metric-card span { display: block; overflow: hidden; color: var(--creator-faint); font-size: 7px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.creator-metric-card strong { display: block; margin-top: 5px; font-size: 15px; font-weight: 950; }
.creator-metric-card small { display: block; min-height: 17px; margin-top: 4px; color: var(--creator-faint); font-size: 7px; line-height: 1.25; }
.creator-metric-card.is-service strong { color: var(--creator-faint); }
.creator-trend-card,
.creator-funnel-card,
.creator-performance-card,
.creator-growth-section { margin-top: 10px; padding: 14px; border-radius: 18px; }
.creator-trend-legend { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--creator-muted); font-size: 8px; }
.creator-trend-legend i { width: 7px; height: 7px; border-radius: 50%; background: #5b83d5; box-shadow: 0 0 0 3px rgba(91, 131, 213, .12); }
.creator-trend-legend span { min-width: 0; flex: 1; }
.creator-trend-legend strong { color: var(--creator-ink); font-size: 12px; font-weight: 950; }
.creator-trend-chart { height: 112px; margin: 7px -4px 0; overflow: hidden; }
.creator-trend-chart svg { width: 100%; height: 100%; overflow: visible; }
.creator-trend-chart line { stroke: var(--creator-border); stroke-width: .8; }
.creator-trend-area { fill: rgba(91, 131, 213, .09); stroke: none; }
.creator-trend-line { fill: none; stroke: #5b83d5; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.creator-trend-chart circle { fill: var(--creator-card); stroke: #5b83d5; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.creator-trend-labels { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin-top: -6px; color: var(--creator-faint); font-size: 6px; text-align: center; }
.creator-data-disclosure { margin-top: 11px; padding: 9px 10px; border-radius: 11px; background: var(--creator-subtle); color: var(--creator-faint); font-size: 7px; line-height: 1.5; }
.creator-funnel-list { margin-top: 9px; }
.creator-funnel-row { display: grid; min-height: 43px; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 9px; align-content: center; border-bottom: var(--divider-height) solid var(--creator-border); }
.creator-funnel-row:last-child { border-bottom-color: transparent; }
.creator-funnel-row > div { display: flex; min-width: 0; align-items: center; gap: 7px; }
.creator-funnel-row > div i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--creator-border); }
.creator-funnel-row > div i.is-demo { background: #5b83d5; }
.creator-funnel-row > div i.is-missing { border: 1px dashed var(--creator-faint); background: transparent; }
.creator-funnel-row > div span { overflow: hidden; font-size: 8px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.creator-funnel-row > strong { font-size: 10px; font-weight: 950; text-align: right; }
.creator-funnel-row > small { grid-column: 1 / 3; margin: 3px 0 0 15px; color: var(--creator-faint); font-size: 7px; }
.creator-data-quality { display: flex; gap: 7px; margin-top: 9px; padding: 9px 10px; border: 1px solid #ffd5d9; border-radius: 11px; background: var(--creator-accent-soft); font-size: 7px; line-height: 1.45; }
.creator-data-quality strong { flex: none; color: var(--creator-accent); }
.creator-data-quality span { color: var(--creator-muted); }
.creator-performance-list { margin-top: 9px; }
.creator-performance-row { display: grid; min-height: 58px; grid-template-columns: 34px minmax(0, 1fr) auto auto 8px; align-items: center; gap: 7px; border-bottom: var(--divider-height) solid var(--creator-border); cursor: pointer; }
.creator-performance-row:last-child { border-bottom-color: transparent; }
.creator-performance-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--creator-accent-soft); color: var(--creator-accent); font-size: 15px; }
.creator-performance-row > div:nth-child(2) { min-width: 0; }
.creator-performance-row > div:nth-child(2) strong { display: block; overflow: hidden; font-size: 9px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.creator-performance-row > div:nth-child(2) span { display: block; overflow: hidden; margin-top: 3px; color: var(--creator-faint); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.creator-performance-row > div:nth-child(3),
.creator-performance-row > div:nth-child(4) { min-width: 39px; text-align: right; }
.creator-performance-row > div:nth-child(3) strong,
.creator-performance-row > div:nth-child(4) strong { display: block; font-size: 9px; font-weight: 950; }
.creator-performance-row > div:nth-child(3) span,
.creator-performance-row > div:nth-child(4) span { display: block; margin-top: 2px; color: var(--creator-faint); font-size: 6px; }
.creator-performance-row > b { color: var(--creator-faint); font-size: 14px; }
.creator-performance-empty { margin-top: 10px; padding: 16px; border-radius: 12px; background: var(--creator-subtle); color: var(--creator-faint); font-size: 8px; line-height: 1.5; text-align: center; }
.creator-campaign-card { margin-top: 10px; padding: 14px; border-radius: 18px; }
.creator-campaign-head { display: flex; align-items: center; gap: 9px; }
.creator-campaign-mark { display: grid; width: 36px; height: 36px; flex: none; place-items: center; border-radius: 11px; background: var(--creator-accent-soft); color: var(--creator-accent); }
.creator-campaign-mark svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.creator-campaign-head > div:nth-child(2) { min-width: 0; flex: 1; }
.creator-campaign-head span { color: var(--creator-faint); font-size: 8px; font-weight: 800; }
.creator-campaign-head h2 { margin: 2px 0 0; font-size: 13px; font-weight: 950; }
.creator-campaign-head > i { flex: none; padding: 4px 7px; border-radius: 999px; background: var(--creator-subtle); color: var(--creator-faint); font-size: 7px; font-style: normal; font-weight: 850; }
.creator-campaign-card > p { margin: 9px 0 0; color: var(--creator-muted); font-size: 9px; line-height: 1.5; }
.creator-campaign-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 12px; }
.creator-campaign-flow > div { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: center; color: var(--creator-faint); font-size: 7px; font-weight: 800; }
.creator-campaign-flow > div::before { position: absolute; top: 4px; right: 50%; left: -50%; height: 1px; background: var(--creator-border); content: ""; }
.creator-campaign-flow > div:first-child::before { display: none; }
.creator-campaign-flow i { position: relative; z-index: 1; width: 9px; height: 9px; margin-bottom: 5px; border: 2px solid var(--creator-border); border-radius: 50%; background: var(--creator-card); }
.creator-campaign-flow .is-done,
.creator-campaign-flow .is-current { color: var(--creator-accent); }
.creator-campaign-flow .is-done::before,
.creator-campaign-flow .is-current::before { background: var(--creator-accent); }
.creator-campaign-flow .is-done i { border-color: var(--creator-accent); background: var(--creator-accent); }
.creator-campaign-flow .is-current i { border-color: var(--creator-accent); box-shadow: 0 0 0 3px var(--creator-accent-soft); }
.creator-primary-action { display: flex; min-height: 42px; align-items: center; justify-content: center; margin-top: 13px; border-radius: 13px; background: var(--creator-accent); color: #fff; font-size: 10px; font-weight: 950; cursor: pointer; }
.creator-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 11px; }
.creator-quick-card { position: relative; display: grid; min-height: 80px; grid-template-columns: 31px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; align-content: center; padding: 11px; border: 1px solid var(--creator-border); border-radius: 14px; background: var(--creator-subtle); cursor: pointer; }
.creator-quick-card::before { position: absolute; inset: -1px; border-radius: inherit; content: ""; }
.creator-quick-card svg { width: 27px; height: 27px; grid-row: 1 / 3; align-self: center; padding: 5px; border-radius: 9px; background: var(--creator-card); color: var(--creator-accent); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.creator-quick-card strong { align-self: end; overflow: hidden; font-size: 10px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.creator-quick-card span { align-self: start; overflow: hidden; margin-top: 3px; color: var(--creator-faint); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.creator-priority-list { margin-top: 8px; }
.creator-priority-row { display: flex; min-height: 58px; align-items: center; gap: 9px; border-bottom: var(--divider-height) solid var(--creator-border); }
.creator-priority-row:last-child { border-bottom-color: transparent; }
.creator-priority-icon { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 10px; background: var(--creator-accent-soft); color: var(--creator-accent); }
.creator-priority-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.creator-priority-row > div:nth-child(2) { min-width: 0; flex: 1; }
.creator-priority-row strong { display: block; font-size: 10px; font-weight: 900; }
.creator-priority-row span { display: block; overflow: hidden; margin-top: 3px; color: var(--creator-faint); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.creator-priority-row > div:last-child { position: relative; flex: none; color: var(--creator-accent); font-size: 8px; font-weight: 900; cursor: pointer; }
.creator-priority-row > div:last-child::before { position: absolute; inset: -12px -7px; content: ""; }
.creator-preview-scroll { display: grid; grid-auto-columns: minmax(210px, 78%); grid-auto-flow: column; gap: 8px; margin: 11px -14px -2px; padding: 0 14px 3px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.creator-preview-scroll::-webkit-scrollbar,
.creator-filter-row::-webkit-scrollbar { display: none; }
.creator-inspiration-mini { scroll-snap-align: start; padding: 12px; border: 1px solid var(--creator-border); border-radius: 15px; background: var(--creator-subtle); }
.creator-idea-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: #ffecee; color: #d92135; }
.creator-idea-icon.is-blue { background: #eaf4ff; color: #2878b9; }
.creator-idea-icon.is-violet { background: #f2ecff; color: #7250b5; }
.creator-idea-icon.is-green { background: #e8f8ee; color: #147542; }
.creator-idea-icon.is-gold { background: #fff5da; color: #8f6912; }
.creator-idea-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.creator-inspiration-mini > span { display: block; margin-top: 9px; color: var(--creator-faint); font-size: 7px; font-weight: 800; }
.creator-inspiration-mini h3 { margin: 3px 0 0; font-size: 11px; font-weight: 950; }
.creator-inspiration-mini p { min-height: 29px; margin: 5px 0 0; color: var(--creator-muted); font-size: 8px; line-height: 1.45; }
.creator-inspiration-mini > div:last-child { position: relative; margin-top: 9px; color: var(--creator-accent); font-size: 8px; font-weight: 950; cursor: pointer; }
.creator-inspiration-mini > div:last-child::before { position: absolute; inset: -8px; content: ""; }
.creator-channel-intro { padding: 18px 16px; border: 1px solid #ffd0d5; border-radius: 20px; background: linear-gradient(135deg, #ffeff1, var(--creator-card)); }
.creator-channel-intro.is-business { border-color: #dce5ff; background: linear-gradient(135deg, #eef4ff, var(--creator-card)); }
.creator-channel-intro > span { color: var(--creator-accent); font-size: 9px; font-weight: 950; }
.creator-channel-intro h2 { margin: 6px 0 0; font-size: 17px; font-weight: 950; line-height: 1.3; letter-spacing: -.025em; }
.creator-channel-intro p { margin: 7px 0 0; color: var(--creator-muted); font-size: 9px; line-height: 1.55; }
.creator-advice-intro { background: linear-gradient(135deg, #fff0f2, #fff8ed 58%, var(--creator-card)); }
.creator-advice-summary { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin-top: 7px; padding: 12px 13px; border-radius: 15px; }
.creator-advice-summary span { display: block; color: var(--creator-faint); font-size: 7px; font-weight: 800; }
.creator-advice-summary strong { display: block; margin-top: 3px; font-size: 11px; font-weight: 950; }
.creator-advice-summary i { padding: 4px 7px; border-radius: 999px; background: var(--creator-subtle); color: var(--creator-faint); font-size: 7px; font-style: normal; font-weight: 850; }
.creator-advice-list { display: flex; flex-direction: column; gap: 9px; margin-top: 9px; }
.creator-advice-card { padding: 13px; border-radius: 17px; }
.creator-advice-head { display: flex; align-items: flex-start; gap: 9px; }
.creator-advice-head > div:nth-child(2) { min-width: 0; flex: 1; }
.creator-advice-head > div:nth-child(2) span { display: block; color: var(--creator-faint); font-size: 7px; font-weight: 800; }
.creator-advice-head h3 { margin: 3px 0 0; font-size: 12px; font-weight: 950; line-height: 1.35; }
.creator-advice-head > i { flex: none; padding: 4px 7px; border-radius: 999px; font-size: 7px; font-style: normal; font-weight: 950; }
.creator-advice-head > i.is-high { background: var(--creator-accent-soft); color: var(--creator-accent); }
.creator-advice-head > i.is-medium { background: #fff4d8; color: #866412; }
.creator-advice-evidence { display: flex; gap: 6px; margin-top: 10px; padding: 8px 9px; border-radius: 10px; background: var(--creator-subtle); font-size: 8px; line-height: 1.45; }
.creator-advice-evidence strong { flex: none; color: #426fb8; }
.creator-advice-evidence span { color: var(--creator-muted); }
.creator-advice-card > p { margin: 9px 0 0; color: var(--creator-ink); font-size: 9px; font-weight: 750; line-height: 1.55; }
.creator-advice-logic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 9px; }
.creator-advice-logic > div { padding: 8px 9px; border: 1px solid var(--creator-border); border-radius: 10px; }
.creator-advice-logic strong { display: block; color: var(--creator-faint); font-size: 7px; }
.creator-advice-logic span { display: block; margin-top: 3px; color: var(--creator-muted); font-size: 7px; line-height: 1.45; }
.creator-advice-action { position: relative; display: flex; min-height: 39px; align-items: center; justify-content: center; margin-top: 10px; border-radius: 11px; background: var(--creator-accent); color: #fff; font-size: 9px; font-weight: 950; cursor: pointer; }
.creator-advice-action::before { position: absolute; inset: -3px 0; content: ""; }
.creator-filter-row { display: flex; gap: 7px; margin: 10px -16px 0; padding: 5px 16px; overflow-x: auto; scrollbar-width: none; }
.creator-filter-row > div { position: relative; display: flex; min-width: max-content; height: 32px; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid var(--creator-border); border-radius: 999px; background: var(--creator-card); color: var(--creator-faint); font-size: 9px; font-weight: 850; cursor: pointer; }
.creator-filter-row > div::before { position: absolute; inset: -6px -2px; content: ""; }
.creator-filter-row > div.is-active { border-color: #ffc1c7; background: var(--creator-accent-soft); color: var(--creator-accent); }
.creator-inspiration-list,
.creator-opportunity-list { display: flex; flex-direction: column; gap: 9px; margin-top: 6px; }
.creator-opportunity-list.is-preview { margin-top: 11px; }
.creator-inspiration-card,
.creator-opportunity-card { padding: 13px; border-radius: 17px; }
.creator-inspiration-top { display: flex; align-items: flex-start; gap: 9px; }
.creator-inspiration-top > div:nth-child(2) { min-width: 0; flex: 1; }
.creator-inspiration-top span,
.creator-opportunity-head span { display: block; color: var(--creator-faint); font-size: 7px; font-weight: 800; }
.creator-inspiration-top h3,
.creator-opportunity-head h3 { margin: 3px 0 0; font-size: 12px; font-weight: 950; line-height: 1.35; }
.creator-save-button { position: relative; display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 10px; background: var(--creator-subtle); color: var(--creator-faint); cursor: pointer; }
.creator-save-button::before { position: absolute; inset: -7px; content: ""; }
.creator-save-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.creator-save-button.is-saved { background: var(--creator-accent-soft); color: var(--creator-accent); }
.creator-save-button.is-saved svg { fill: currentColor; }
.creator-inspiration-card > p,
.creator-opportunity-card > p { margin: 9px 0 0; color: var(--creator-muted); font-size: 9px; line-height: 1.55; }
.creator-reason-box { display: flex; flex-direction: column; gap: 3px; margin-top: 9px; padding: 9px 10px; border-radius: 12px; background: var(--creator-subtle); }
.creator-reason-box strong { color: var(--creator-accent); font-size: 8px; font-weight: 950; }
.creator-reason-box span { color: var(--creator-muted); font-size: 8px; line-height: 1.5; }
.creator-tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.creator-tag-row > span { padding: 4px 7px; border-radius: 999px; background: var(--creator-subtle); color: var(--creator-muted); font-size: 7px; font-weight: 800; }
.creator-card-footer { display: flex; align-items: center; gap: 8px; justify-content: space-between; margin-top: 11px; }
.creator-card-footer small { color: var(--creator-faint); font-size: 7px; }
.creator-card-footer > div:last-child { position: relative; display: flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 11px; background: var(--creator-accent); color: #fff; font-size: 8px; font-weight: 950; cursor: pointer; }
.creator-card-footer > div:last-child::before { position: absolute; inset: -4px -2px; content: ""; }
.creator-opportunity-head { display: flex; align-items: flex-start; gap: 10px; justify-content: space-between; }
.creator-opportunity-head > div { min-width: 0; flex: 1; }
.creator-opportunity-head > i { flex: none; padding: 4px 7px; border-radius: 999px; background: var(--creator-subtle); color: var(--creator-muted); font-size: 7px; font-style: normal; font-weight: 900; }
.creator-opportunity-head > i.is-eligible { background: #e9f7ef; color: #147542; }
.creator-opportunity-head > i.is-invited { background: #eef4ff; color: #365fa6; }
.creator-opportunity-head > i.is-running { background: #fff4d8; color: #866412; }
.creator-opportunity-head > i.is-blocked { background: #fff0f2; color: #bd2636; }
.creator-opportunity-head > i.is-applied { background: #f0edff; color: #654bb0; }
.creator-opportunity-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; color: var(--creator-faint); font-size: 7px; }
.creator-opportunity-state { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 9px; }
.creator-opportunity-state span { padding: 7px 8px; border-radius: 10px; background: var(--creator-subtle); color: var(--creator-muted); font-size: 7px; font-weight: 750; line-height: 1.35; }
.creator-settlement-note { display: flex; gap: 6px; margin-top: 9px; padding: 8px 9px; border: 1px dashed var(--creator-border); border-radius: 10px; color: var(--creator-muted); font-size: 7px; line-height: 1.45; }
.creator-settlement-note strong { flex: none; color: var(--creator-ink); }
.creator-opportunity-actions { display: flex; align-items: center; gap: 8px; justify-content: space-between; margin-top: 10px; }
.creator-opportunity-actions small { min-width: 0; flex: 1; color: var(--creator-faint); font-size: 7px; line-height: 1.35; }
.creator-opportunity-actions > div { position: relative; flex: none; color: var(--creator-accent); font-size: 8px; font-weight: 950; cursor: pointer; }
.creator-opportunity-actions > div::before { position: absolute; inset: -12px -7px; content: ""; }
.creator-save-text { position: relative; color: var(--creator-faint); font-size: 8px; font-weight: 850; cursor: pointer; }
.creator-save-text::before { position: absolute; inset: -12px -8px; content: ""; }
.creator-save-text.is-saved { color: var(--creator-accent); }
.creator-growth-hero { margin-top: 0; }
.creator-growth-road { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 11px; }
.creator-growth-road > div { display: flex; min-height: 53px; align-items: center; gap: 8px; padding: 9px; border: 1px solid var(--creator-border); border-radius: 12px; background: var(--creator-subtle); }
.creator-growth-road > div > i { display: grid; width: 25px; height: 25px; flex: none; place-items: center; border-radius: 50%; background: var(--creator-card); color: var(--creator-faint); font-size: 8px; font-style: normal; font-weight: 950; }
.creator-growth-road > div > div { min-width: 0; }
.creator-growth-road strong { display: block; font-size: 8px; font-weight: 900; }
.creator-growth-road span { display: block; margin-top: 3px; color: var(--creator-faint); font-size: 7px; line-height: 1.3; }
.creator-growth-road > div.is-done { border-color: rgba(39, 157, 88, .23); background: rgba(39, 157, 88, .06); }
.creator-growth-road > div.is-done > i { background: #279d58; color: #fff; }
.creator-growth-road > div.is-current { border-color: #ffc5ca; background: var(--creator-accent-soft); }
.creator-growth-road > div.is-current > i { background: var(--creator-accent); color: #fff; box-shadow: 0 0 0 3px rgba(255, 59, 74, .11); }
.creator-growth-road > div.is-locked { opacity: .65; }
.creator-growth-abilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 11px; }
.creator-growth-abilities > div { position: relative; min-height: 92px; padding: 11px; border: 1px solid var(--creator-border); border-radius: 14px; background: var(--creator-subtle); }
.creator-growth-abilities svg { width: 26px; height: 26px; padding: 5px; border-radius: 9px; background: var(--creator-card); color: var(--creator-accent); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.creator-growth-abilities strong { display: block; margin-top: 8px; font-size: 9px; font-weight: 900; }
.creator-growth-abilities span { display: block; margin-top: 3px; color: var(--creator-faint); font-size: 7px; }
.creator-growth-abilities i { position: absolute; top: 10px; right: 9px; padding: 3px 6px; border-radius: 999px; background: var(--creator-card); color: var(--creator-faint); font-size: 6px; font-style: normal; font-weight: 850; }
.creator-growth-abilities > div.is-unlocked i { background: rgba(39, 157, 88, .1); color: #147542; }
.creator-growth-abilities > div.is-locked { opacity: .66; }
.app-shell.theme-dark .creator-center-page { --creator-accent-soft: rgba(255, 59, 74, .13); }
.app-shell.theme-dark .creator-center-tabs { background: color-mix(in srgb, var(--creator-page) 90%, transparent); }
.app-shell.theme-dark .creator-status-card,
.app-shell.theme-dark .creator-stage-card,
.app-shell.theme-dark .creator-campaign-card,
.app-shell.theme-dark .creator-period-card,
.app-shell.theme-dark .creator-metrics-section,
.app-shell.theme-dark .creator-trend-card,
.app-shell.theme-dark .creator-funnel-card,
.app-shell.theme-dark .creator-performance-card,
.app-shell.theme-dark .creator-advice-summary,
.app-shell.theme-dark .creator-advice-card,
.app-shell.theme-dark .creator-growth-section,
.app-shell.theme-dark .creator-quick-section,
.app-shell.theme-dark .creator-priority-section,
.app-shell.theme-dark .creator-preview-section,
.app-shell.theme-dark .creator-inspiration-card,
.app-shell.theme-dark .creator-opportunity-card { box-shadow: none; }
.app-shell.theme-dark .creator-stage-card { border-color: rgba(255, 88, 105, .28); background: linear-gradient(145deg, var(--surface-card), rgba(255, 59, 74, .09)); }
.app-shell.theme-dark .creator-channel-intro { border-color: rgba(255, 88, 105, .28); background: linear-gradient(135deg, rgba(255, 59, 74, .12), var(--surface-card)); }
.app-shell.theme-dark .creator-channel-intro.is-business { border-color: rgba(81, 133, 230, .28); background: linear-gradient(135deg, rgba(62, 112, 204, .12), var(--surface-card)); }
.app-shell.theme-dark .creator-advice-intro { background: linear-gradient(135deg, rgba(255, 59, 74, .12), rgba(215, 151, 42, .08) 58%, var(--surface-card)); }
.app-shell.theme-dark .creator-stage-ring { background: conic-gradient(var(--creator-accent) var(--creator-progress), #3b2a2e 0); }
.app-shell.theme-dark .creator-status-copy i.is-ready,
.app-shell.theme-dark .creator-opportunity-head > i.is-eligible { background: rgba(41, 183, 100, .13); color: #79d99f; }
.app-shell.theme-dark .creator-opportunity-head > i.is-invited { background: rgba(79, 132, 228, .14); color: #90b7ff; }
.app-shell.theme-dark .creator-opportunity-head > i.is-running { background: rgba(224, 174, 55, .14); color: #efcc75; }
.app-shell.theme-dark .creator-opportunity-head > i.is-blocked { background: rgba(255, 59, 74, .14); color: #ff99a2; }
.app-shell.theme-dark .creator-opportunity-head > i.is-applied { background: rgba(133, 102, 220, .15); color: #bca9ff; }
.app-shell.theme-dark .creator-growth-road > div.is-done { background: rgba(39, 157, 88, .09); }
.app-shell.theme-dark .creator-growth-abilities > div.is-unlocked i { color: #79d99f; }

/* Legal documents */
.legal-document {
  --legal-ink: var(--text-primary, #1c1c1e);
  --legal-muted: var(--text-secondary, #636366);
  --legal-card: var(--surface-card, #fff);
  --legal-border: var(--border-primary, #e5e5ea);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--legal-ink);
}
.legal-document__hero {
  position: relative;
  overflow: hidden;
  padding: 22px 18px 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 78, 94, .32), transparent 38%),
    linear-gradient(145deg, #15161a 0%, #28252e 58%, #24151a 100%);
  box-shadow: 0 14px 34px rgba(25, 18, 22, .16);
  color: #fff;
}
.legal-document__hero::after {
  position: absolute;
  right: -28px;
  bottom: -46px;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: "";
}
.legal-document__hero > span {
  color: #ff929c;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .14em;
}
.legal-document__hero h1 {
  position: relative;
  z-index: 1;
  margin: 9px 0 0;
  font-size: 23px;
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.legal-document__hero p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  line-height: 1.75;
}
.legal-document__hero > div {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 13px;
  border-top: var(--divider-height) solid rgba(255, 255, 255, .12);
}
.legal-document__hero b,
.legal-document__hero i {
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}
.legal-document__hero i { color: rgba(255, 255, 255, .58); }
.legal-document__preamble {
  padding: 15px;
  border: 1px solid var(--legal-border);
  border-radius: 18px;
  background: var(--legal-card);
  color: var(--legal-muted);
  font-size: 11px;
  line-height: 1.85;
  white-space: pre-line;
  word-break: break-word;
}
.legal-document__draft {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid rgba(224, 151, 31, .26);
  border-radius: 15px;
  background: #fff8e8;
}
.legal-document__draft b {
  flex: none;
  color: #926014;
  font-size: 10px;
  font-weight: 950;
}
.legal-document__draft span {
  color: #7b6036;
  font-size: 9px;
  line-height: 1.6;
}
.legal-document__toc {
  padding: 15px;
  border: 1px solid var(--legal-border);
  border-radius: 18px;
  background: var(--legal-card);
}
.legal-document__toc > b {
  display: block;
  font-size: 12px;
  font-weight: 950;
}
.legal-document__toc > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  margin-top: 11px;
}
.legal-document__toc span {
  color: var(--legal-muted);
  font-size: 9px;
  font-weight: 750;
  line-height: 1.4;
}
.legal-document__sections {
  overflow: hidden;
  border: 1px solid var(--legal-border);
  border-radius: 20px;
  background: var(--legal-card);
}
.legal-document__sections section {
  padding: 18px 16px;
  border-bottom: var(--divider-height) solid var(--border-subtle, #f1f1f6);
}
.legal-document__sections section:last-child { border-bottom: 0; }
.legal-document__sections h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--legal-ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.35;
}
.legal-document__sections h2 i {
  display: grid;
  width: 27px;
  height: 27px;
  flex: none;
  place-items: center;
  border-radius: 9px;
  background: #fff0f1;
  color: #ff3b4a;
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
}
.legal-document__sections section > div {
  margin-top: 10px;
  color: var(--legal-muted);
  font-size: 11px;
  line-height: 1.85;
  white-space: pre-line;
  word-break: break-word;
}
.legal-document__footer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--legal-border);
  border-radius: 17px;
  background: var(--surface-subtle, #f7f7fa);
}
.legal-document__footer b { font-size: 10px; font-weight: 950; }
.legal-document__footer span { color: var(--legal-muted); font-size: 9px; line-height: 1.65; }
.app-shell.theme-dark .legal-document__draft {
  border-color: rgba(224, 174, 55, .22);
  background: rgba(224, 174, 55, .09);
}
.app-shell.theme-dark .legal-document__draft b { color: #efc86d; }
.app-shell.theme-dark .legal-document__draft span { color: #c7b27d; }
.app-shell.theme-dark .legal-document__sections h2 i {
  background: rgba(255, 59, 74, .14);
  color: #ff8f99;
}

/* Opinion feedback: keep support inside the module instead of making it a
   competing drawer destination. All submission states remain truthful local
   records until the ticket service is connected. */
.feedback-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: calc(20px + var(--safe-bottom));
}
.feedback-hero,
.feedback-form-card,
.feedback-service,
.feedback-ticket,
.feedback-empty {
  border: 1px solid var(--border-primary, #e5e5ea);
  background: var(--surface-card, #fff);
}
.feedback-hero {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px;
  border-color: #ffd6da;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff4f5, var(--surface-card, #fff));
}
.feedback-hero__icon,
.feedback-service__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #ff3b4a;
  color: #fff;
}
.feedback-hero__icon svg { width: 22px; height: 22px; }
.feedback-hero h2 {
  margin: 1px 0 0;
  color: var(--text-primary, #1c1c1e);
  font-size: 15px;
  font-weight: 950;
}
.feedback-hero p {
  margin: 7px 0 0;
  color: var(--text-secondary, #636366);
  font-size: 10px;
  line-height: 1.65;
}
.feedback-service {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px;
  border-radius: 18px;
  cursor: pointer;
}
.feedback-service__icon {
  width: 40px;
  height: 40px;
  background: #fff1f2;
  color: #ff3b4a;
}
.feedback-service__icon svg { width: 21px; height: 21px; }
.feedback-service__copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 0 11px;
}
.feedback-service__copy b { font-size: 13px; font-weight: 900; }
.feedback-service__copy span {
  overflow: hidden;
  color: var(--text-tertiary, #8e8e93);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feedback-service em {
  flex: none;
  border-radius: 999px;
  background: var(--surface-subtle, #f7f7fa);
  color: var(--text-tertiary, #8e8e93);
  padding: 5px 7px;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}
.feedback-service__arrow {
  width: 16px;
  height: 16px;
  margin-left: 5px;
  fill: none;
  stroke: var(--text-tertiary, #8e8e93);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.feedback-form-card {
  padding: 16px;
  border-radius: 20px;
}
.feedback-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.feedback-section-heading > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}
.feedback-section-heading b { font-size: 14px; font-weight: 950; }
.feedback-section-heading span,
.feedback-section-heading small { color: var(--text-tertiary, #8e8e93); font-size: 9px; }
.feedback-section-heading small { flex: none; padding-top: 2px; }
.feedback-category {
  min-width: 0;
  margin: 15px 0 0;
  padding: 0;
  border: 0;
}
.feedback-category legend,
.feedback-field > span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary, #1c1c1e);
  font-size: 11px;
  font-weight: 850;
}
.feedback-category > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.feedback-category-option {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 13px;
  background: var(--surface-subtle, #f7f7fa);
  color: var(--text-secondary, #636366);
  cursor: pointer;
}
.feedback-category-option.is-active {
  border-color: #ff9099;
  background: #fff1f2;
  color: #c62836;
  box-shadow: inset 0 0 0 1px rgba(255, 59, 74, .08);
}
.feedback-category-option svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.feedback-category-option span {
  overflow: hidden;
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feedback-field {
  position: relative;
  display: block;
  margin-top: 15px;
}
.feedback-field > span em {
  margin-left: 4px;
  color: var(--text-tertiary, #8e8e93);
  font-size: 8px;
  font-style: normal;
  font-weight: 650;
}
.feedback-field textarea,
.feedback-field input {
  display: block;
  width: 100%;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 14px;
  outline: 0;
  background: var(--surface-subtle, #f7f7fa);
  color: var(--text-primary, #1c1c1e);
  font: 11px/1.6 inherit;
}
.feedback-field textarea {
  min-height: 112px;
  padding: 12px 12px 27px;
  resize: none;
}
.feedback-field input { height: 46px; padding: 0 12px; }
.feedback-field textarea:focus,
.feedback-field input:focus { border-color: #ff7b85; }
.feedback-field > small {
  position: absolute;
  right: 11px;
  bottom: 8px;
  color: var(--text-tertiary, #8e8e93);
  font-size: 8px;
}
.feedback-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 12px;
  border-radius: 12px;
  background: var(--surface-subtle, #f7f7fa);
  color: var(--text-tertiary, #8e8e93);
  padding: 10px;
  font-size: 8px;
  line-height: 1.55;
}
.feedback-privacy-note svg {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #ff3b4a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.feedback-submit {
  display: grid;
  place-items: center;
  min-height: 46px;
  margin-top: 12px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.feedback-submit[aria-disabled="true"] { pointer-events: none; }
.feedback-local-boundary {
  margin: 8px 2px 0;
  color: var(--text-tertiary, #8e8e93);
  font-size: 8px;
  line-height: 1.55;
  text-align: center;
}
.feedback-history-head { padding: 3px 2px 0; }
.feedback-history-head > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.feedback-history-head b { font-size: 13px; font-weight: 950; }
.feedback-history-head span { color: var(--text-tertiary, #8e8e93); font-size: 9px; }
.feedback-empty {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 19px;
  text-align: center;
}
.feedback-empty > div {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff1f2;
  color: #ff3b4a;
}
.feedback-empty svg,
.feedback-ticket svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.feedback-empty b { margin-top: 12px; font-size: 12px; font-weight: 900; }
.feedback-empty span { margin-top: 5px; color: var(--text-tertiary, #8e8e93); font-size: 9px; }
.feedback-ticket { padding: 14px; border-radius: 16px; }
.feedback-ticket__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.feedback-ticket__top span {
  border-radius: 999px;
  background: #fff1f2;
  color: #c62836;
  padding: 4px 7px;
  font-size: 8px;
  font-weight: 850;
}
.feedback-ticket__top em { color: var(--text-tertiary, #8e8e93); font-size: 8px; font-style: normal; }
.feedback-ticket > b {
  display: block;
  margin-top: 9px;
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.55;
}
.feedback-ticket__meta { display: flex; gap: 10px; margin-top: 7px; color: var(--text-tertiary, #8e8e93); font-size: 8px; }
.feedback-ticket__meta span + span::before { content: "·"; margin-right: 10px; }
.app-shell.theme-dark .feedback-hero {
  border-color: rgba(255, 59, 74, .25);
  background: linear-gradient(145deg, rgba(255, 59, 74, .12), var(--surface-card, #202126));
}
.app-shell.theme-dark .feedback-service__icon,
.app-shell.theme-dark .feedback-empty > div,
.app-shell.theme-dark .feedback-category-option.is-active,
.app-shell.theme-dark .feedback-ticket__top span {
  background: rgba(255, 59, 74, .14);
}

@media (max-width: 360px) {
  .feedback-category > div { grid-template-columns: 1fr; }
  .feedback-service em { display: none; }
}

@media (max-width: 380px) {
  .creator-center-page { padding-right: 13px; padding-left: 13px; }
  .creator-center-tabs { margin-right: -13px; margin-left: -13px; padding-right: 13px; padding-left: 13px; }
  .creator-stage-main h2 { font-size: 15px; }
  .creator-stage-ring { width: 48px; height: 48px; }
  .creator-stage-ring::before { width: 37px; height: 37px; }
  .creator-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creator-metric-card small { min-height: auto; }
  .creator-period-head { flex-direction: column; }
  .creator-data-range { align-self: stretch; text-align: center; }
  .creator-performance-row { grid-template-columns: 32px minmax(0, 1fr) auto 8px; }
  .creator-performance-row > div:nth-child(4) { display: none; }
  .creator-filter-row { margin-right: -13px; margin-left: -13px; padding-right: 13px; padding-left: 13px; }
  .legal-document__hero { padding: 20px 16px 17px; }
  .legal-document__hero h1 { font-size: 21px; }
  .legal-document__toc > div { grid-template-columns: 1fr; }
  .legal-document__sections section { padding: 17px 14px; }
}

@media (min-width: 420px) {
  .creator-center-page { padding-right: 20px; padding-left: 20px; }
  .creator-center-tabs { margin-right: -20px; margin-left: -20px; padding-right: 20px; padding-left: 20px; }
  .creator-filter-row { margin-right: -20px; margin-left: -20px; padding-right: 20px; padding-left: 20px; }
  .creator-preview-scroll { grid-auto-columns: minmax(220px, 68%); }
}

@media (max-height: 700px) {
  .identity-country-sheet { height: 88%; max-height: calc(100% - 8px); }
  .system-modal { align-items: center !important; }
  .system-modal__card { padding: 16px !important; }
  .destructive-confirm-modal { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Campaign workbench: creator-facing execution surface; Contract remains the audit layer. */
.campaign-workbench {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 8px;
}

.campaign-workbench-hero {
  overflow: hidden;
  position: relative;
  padding: 19px 17px 17px;
  border: 1px solid rgba(255, 91, 104, .2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 77, 92, .34), transparent 38%),
    linear-gradient(145deg, #2a2024, #17171a 68%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(24, 16, 19, .14);
}

.campaign-workbench-hero::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -54px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.campaign-workbench-hero__top,
.campaign-card-heading,
.campaign-playable-summary,
.campaign-settlement-summary,
.campaign-contract-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.campaign-workbench-hero__top span {
  color: #ff9da6;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
}

.campaign-workbench-hero__top em {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.campaign-workbench-hero h1 {
  position: relative;
  z-index: 1;
  margin: 13px 0 6px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.campaign-workbench-hero > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-size: 10px;
  line-height: 1.65;
}

.campaign-workbench-meta {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 15px;
}

.campaign-workbench-meta > div {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
}

.campaign-workbench-meta > div:last-child { grid-column: 1 / -1; }
.campaign-workbench-meta span,
.campaign-workbench-meta b { display: block; }
.campaign-workbench-meta span { color: rgba(255, 255, 255, .48); font-size: 8px; }
.campaign-workbench-meta b { overflow-wrap: anywhere; margin-top: 4px; color: #fff; font-size: 9px; line-height: 1.5; }

.campaign-workbench-card,
.campaign-contract-details {
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 18px;
  background: var(--surface-card, #fff);
}

.campaign-workbench-card { padding: 15px; }
.campaign-card-heading { align-items: flex-start; }
.campaign-card-heading > div { display: flex; min-width: 0; align-items: flex-start; gap: 9px; }
.campaign-card-heading > div > span {
  display: grid;
  flex: none;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 9px;
  background: var(--surface-subtle, #f7f7fa);
  color: #ff3b4a;
  font-size: 8px;
  font-weight: 900;
}
.campaign-card-heading b,
.campaign-card-heading small { display: block; }
.campaign-card-heading b { color: var(--text-primary, #1c1c1e); font-size: 13px; line-height: 1.35; }
.campaign-card-heading small { margin-top: 3px; color: var(--text-tertiary, #8e8e93); font-size: 8px; line-height: 1.45; }
.campaign-card-heading > em {
  flex: none;
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff1f2;
  color: #c62836;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.campaign-task-highlight {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff1f2, var(--surface-subtle, #f7f7fa));
}
.campaign-task-highlight > i {
  display: grid;
  flex: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: #ff3b4a;
  color: #fff;
  font-size: 16px;
  font-style: normal;
}
.campaign-task-highlight b,
.campaign-task-highlight span { display: block; }
.campaign-task-highlight b { color: var(--text-primary, #1c1c1e); font-size: 11px; }
.campaign-task-highlight span { margin-top: 4px; color: var(--text-secondary, #636366); font-size: 8px; line-height: 1.5; }

.campaign-requirement-grid,
.campaign-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}
.campaign-requirement-grid > div,
.campaign-result-grid > div {
  min-width: 0;
  padding: 10px;
  border-radius: 12px;
  background: var(--surface-subtle, #f7f7fa);
}
.campaign-requirement-grid span,
.campaign-requirement-grid b,
.campaign-result-grid span,
.campaign-result-grid b { display: block; }
.campaign-requirement-grid span,
.campaign-result-grid span { color: var(--text-tertiary, #8e8e93); font-size: 8px; }
.campaign-requirement-grid b { overflow-wrap: anywhere; margin-top: 4px; color: var(--text-primary, #1c1c1e); font-size: 9px; line-height: 1.45; }

.campaign-playable-summary {
  margin-top: 14px;
  padding: 11px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 14px;
  background: var(--surface-subtle, #f7f7fa);
}
.campaign-playable-summary__icon {
  display: grid;
  flex: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #ff6471, #ff3346);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 7px 15px rgba(255, 59, 74, .2);
}
.campaign-playable-summary > div:nth-child(2) { min-width: 0; flex: 1; }
.campaign-playable-summary b,
.campaign-playable-summary span { display: block; }
.campaign-playable-summary b { overflow: hidden; color: var(--text-primary, #1c1c1e); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.campaign-playable-summary span { margin-top: 4px; color: var(--text-tertiary, #8e8e93); font-size: 8px; line-height: 1.45; }
.campaign-playable-summary > i { color: #ff3b4a; font-size: 18px; font-style: normal; font-weight: 700; }

.campaign-boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.campaign-boundary-column { padding: 11px; border: 1px solid var(--border-primary, #e5e5ea); border-radius: 14px; }
.campaign-boundary-column.is-editable { border-color: #ccebd8; background: #f4fbf7; }
.campaign-boundary-column.is-locked { border-color: #ffd6da; background: #fff7f8; }
.campaign-boundary-column > div { display: flex; align-items: center; gap: 6px; }
.campaign-boundary-column > div i { font-size: 11px; font-style: normal; }
.campaign-boundary-column.is-editable > div { color: #147542; }
.campaign-boundary-column.is-locked > div { color: #c62836; }
.campaign-boundary-column > div b { font-size: 10px; }
.campaign-boundary-column ul { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.campaign-boundary-column li { position: relative; padding-left: 9px; color: var(--text-secondary, #636366); font-size: 8px; line-height: 1.45; }
.campaign-boundary-column li::before { content: ""; position: absolute; top: .55em; left: 0; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.campaign-progress-list { display: grid; gap: 0; margin-top: 12px; }
.campaign-progress-item { display: grid; position: relative; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 9px; align-items: start; padding: 8px 0; }
.campaign-progress-item:not(:last-child)::after { content: ""; position: absolute; top: 31px; bottom: -2px; left: 11.5px; width: 1px; background: var(--border-primary, #e5e5ea); }
.campaign-progress-item > i { display: grid; z-index: 1; width: 24px; height: 24px; place-items: center; border-radius: 50%; font-size: 8px; font-style: normal; font-weight: 900; }
.campaign-progress-item b,
.campaign-progress-item span { display: block; }
.campaign-progress-item b { font-size: 10px; line-height: 1.4; }
.campaign-progress-item span { margin-top: 3px; color: var(--text-tertiary, #8e8e93); font-size: 8px; line-height: 1.45; }
.campaign-progress-item > em { padding-top: 4px; font-size: 8px; font-style: normal; font-weight: 800; }

.campaign-result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.campaign-result-grid > div { text-align: center; }
.campaign-result-grid b { margin-top: 5px; color: var(--text-primary, #1c1c1e); font-size: 15px; }
.campaign-settlement-summary { align-items: flex-start; flex-wrap: wrap; margin-top: 9px; padding: 11px; border-radius: 13px; background: var(--surface-subtle, #f7f7fa); }
.campaign-settlement-summary span { color: var(--text-tertiary, #8e8e93); font-size: 8px; }
.campaign-settlement-summary b { margin-left: auto; color: #ff3b4a; font-size: 9px; }
.campaign-settlement-summary small { width: 100%; color: var(--text-secondary, #636366); font-size: 8px; line-height: 1.45; }
.campaign-secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 9px; }
.campaign-secondary-actions button {
  min-height: 38px;
  border: 1px solid var(--border-primary, #e5e5ea);
  border-radius: 999px;
  background: var(--surface-card, #fff);
  color: var(--text-primary, #1c1c1e);
  font-size: 9px;
  font-weight: 850;
}

.campaign-contract-details { overflow: hidden; }
.campaign-contract-details summary { min-height: 58px; padding: 11px 14px; cursor: pointer; list-style: none; }
.campaign-contract-details summary::-webkit-details-marker { display: none; }
.campaign-contract-details summary span,
.campaign-contract-details summary b { display: block; }
.campaign-contract-details summary span { color: var(--text-tertiary, #8e8e93); font-size: 8px; }
.campaign-contract-details summary b { margin-top: 3px; color: var(--text-primary, #1c1c1e); font-size: 11px; }
.campaign-contract-details summary > i { color: var(--text-tertiary, #8e8e93); font-size: 16px; font-style: normal; transition: transform .18s ease; }
.campaign-contract-details[open] summary > i { transform: rotate(180deg); }
.campaign-contract-details__body { display: grid; gap: 9px; padding: 0 14px 14px; border-top: var(--divider-height) solid var(--border-primary, #e5e5ea); }
.campaign-contract-details__body > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 9px; padding-top: 9px; }
.campaign-contract-details__body b { color: var(--text-primary, #1c1c1e); font-size: 9px; }
.campaign-contract-details__body span { overflow-wrap: anywhere; color: var(--text-secondary, #636366); font-size: 9px; line-height: 1.5; }
.campaign-contract-details__body > p { margin: 2px 0 0; padding: 10px; border-radius: 11px; background: var(--surface-subtle, #f7f7fa); color: var(--text-tertiary, #8e8e93); font-size: 8px; line-height: 1.55; }

.campaign-primary-action {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4858, #ff3346);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(255, 59, 74, .2);
}
.campaign-demo-note { margin: -3px 12px 4px; color: var(--text-tertiary, #8e8e93); font-size: 8px; line-height: 1.55; text-align: center; }

.app-shell.theme-dark .campaign-card-heading > em,
.app-shell.theme-dark .campaign-boundary-column.is-locked { background: rgba(255, 59, 74, .12); }
.app-shell.theme-dark .campaign-boundary-column.is-editable { border-color: rgba(40, 165, 96, .34); background: rgba(31, 130, 75, .1); }
.app-shell.theme-dark .campaign-boundary-column.is-locked { border-color: rgba(255, 59, 74, .28); }
.app-shell.theme-dark .campaign-task-highlight { background: linear-gradient(135deg, rgba(255, 59, 74, .13), var(--surface-subtle, #28292e)); }

@media (max-width: 360px) {
  .campaign-boundary-grid { grid-template-columns: 1fr; }
  .campaign-workbench-meta { grid-template-columns: 1fr; }
  .campaign-workbench-meta > div:last-child { grid-column: auto; }
  .campaign-requirement-grid { grid-template-columns: 1fr; }
  .campaign-progress-item { grid-template-columns: 24px minmax(0, 1fr); }
  .campaign-progress-item > em { display: none; }
}

/* Personal-page icon scale: enlarge glyphs while preserving compact controls
   and their expanded touch targets. */
.app-topbar__action--rewards svg,
.app-topbar__action--notifications svg {
  width: 24px !important;
  height: 24px !important;
}

.app-topbar__action--settings svg {
  width: 26px !important;
  height: 26px !important;
}

.profile-edit-trigger svg {
  width: 17px !important;
  height: 17px !important;
}

.bottom-nav__icon {
  width: 27px !important;
  height: 27px !important;
}

/* iOS-inspired glass tab switching. The capsule stays compact while a single
   glass lens moves between the five 44px interaction targets. */
.app-shell .bottom-nav__capsule {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border-color: rgba(255, 255, 255, 0.82) !important;
  background: rgba(248, 248, 250, 0.68) !important;
  box-shadow: 0 10px 30px rgba(20, 20, 26, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
}

/* Home keeps a white glass capsule over its black lower feed surface. */
.app-shell.is-home-screen:not(.theme-dark) .bottom-nav__capsule {
  border-color: rgba(255, 255, 255, 0.94) !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(28, 28, 30, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Secondary pages keep a white glass capsule over the page-matching canvas. */
.app-shell.is-secondary-screen:not(.theme-dark) .bottom-nav__capsule {
  border-color: rgba(255, 255, 255, 0.94) !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(28, 28, 30, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Deep Brief uses a compact read layer over the native-size input. WKWebView
   may enlarge small form text, so the 10px resting value is a normal span;
   focus reveals the underlying 16px input and avoids iOS page magnification. */
.composer-deep-field {
  position: relative;
  display: block;
  min-width: 0;
  height: 38px;
  overflow: hidden;
  border: 1px solid #e5e5ea;
  border-radius: 10px;
  background: #fff;
}

.composer-deep-field--wide {
  grid-column: 1 / -1;
}

.app-shell .composer-deep-field > input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 9px;
  border: 0 !important;
  border-radius: inherit;
  background: transparent !important;
  color: transparent !important;
  caret-color: transparent;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.composer-deep-field__display {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 9px;
  overflow: hidden;
  color: var(--text-primary, #1c1c1e);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
}

.composer-deep-field:focus-within {
  border-color: #ff7b85;
}

.app-shell .composer-deep-field > input:focus {
  color: var(--text-primary, #1c1c1e) !important;
  caret-color: currentColor;
}

.composer-deep-field > input:focus + .composer-deep-field__display {
  opacity: 0;
}

.app-shell.theme-dark .composer-deep-field {
  border-color: var(--border-strong) !important;
  background: var(--surface-control) !important;
}

.app-shell.theme-dark .composer-deep-field > input {
  background: transparent !important;
}

.app-shell .bottom-nav__capsule::before {
  position: absolute;
  top: 50%;
  left: calc(10% + 4.8px);
  z-index: 0;
  width: 46px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.54));
  box-shadow: 0 5px 16px rgba(35, 35, 45, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 -1px 1px rgba(90, 90, 110, 0.08);
  content: "";
  transform: translate(-50%, -50%);
  transition: left 420ms cubic-bezier(0.22, 0.9, 0.22, 1.16), width 180ms ease, box-shadow 220ms ease;
  pointer-events: none;
}

.app-shell .bottom-nav__capsule[data-active-index="1"]::before { left: calc(30% + 2.4px); }
.app-shell .bottom-nav__capsule[data-active-index="2"]::before { left: 50%; }
.app-shell .bottom-nav__capsule[data-active-index="3"]::before { left: calc(70% - 2.4px); }
.app-shell .bottom-nav__capsule[data-active-index="4"]::before { left: calc(90% - 4.8px); }

.app-shell .bottom-nav__capsule > [role="button"] {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex: 0 0 44px;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 999px;
  transition: color 220ms ease, transform 280ms cubic-bezier(0.22, 0.9, 0.22, 1.2), filter 220ms ease;
}

.app-shell .bottom-nav__capsule > [role="button"]:active {
  transform: scale(0.88);
}

.app-shell .bottom-nav__capsule > [aria-current="page"],
.app-shell .bottom-nav__capsule > .is-active {
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.45));
  transform: translateY(-1px);
}

.app-shell .bottom-nav__capsule > .is-active .bottom-nav__icon {
  animation: airvanaGlassTabSettle 380ms cubic-bezier(0.22, 0.9, 0.22, 1.18);
}

.app-shell.theme-dark .bottom-nav__capsule {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(36, 37, 43, 0.66) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.app-shell.theme-dark .bottom-nav__capsule::before {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.34), inset 0 1px 1px rgba(255, 255, 255, 0.22), inset 0 -1px 1px rgba(0, 0, 0, 0.12);
}

@keyframes airvanaGlassTabSettle {
  0% { transform: scale(0.84); }
  58% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell .bottom-nav__capsule::before,
  .app-shell .bottom-nav__capsule > [role="button"] {
    transition-duration: 0.001ms !important;
  }
  .app-shell .bottom-nav__capsule > .is-active .bottom-nav__icon { animation: none; }
}

/* The search field already has a visible container boundary. Avoid drawing a
   second red focus ring inside it when the text input is active. */
.global-search-box input:focus,
.global-search-box input:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

/* KOL activation keeps commercial setup separate from real service approval. */
.kol-activation{position:absolute;inset:0;z-index:92;display:flex;flex-direction:column;background:var(--surface-canvas,#F2F2F7);color:var(--text-primary,#1C1C1E);animation:fadeIn .22s ease;overflow:hidden}.kol-activation__header{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px;padding:calc(14px + var(--safe-top,0px)) 17px 8px;background:var(--surface-canvas,#F2F2F7)}.kol-activation__header>div:nth-child(2){text-align:center}.kol-activation__header span,.kol-activation__header b{display:block}.kol-activation__header span{font-size:14px;font-weight:950}.kol-activation__header b{font-size:9px;color:#8E8E93;margin-top:2px}.kol-activation__header button{width:34px;height:34px;border:0;border-radius:50%;background:var(--surface-card,#FFF);color:var(--text-primary,#1C1C1E);font-size:23px;line-height:1;box-shadow:0 3px 12px rgba(28,28,30,.07)}.kol-activation__back{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;cursor:pointer}.kol-activation__progress{height:3px;background:var(--border-primary,#E5E5EA);flex:none}.kol-activation__progress i{display:block;height:100%;border-radius:999px;background:#FF3B4A;transition:width .25s ease}.kol-activation__body{flex:1;min-height:0;overflow-y:auto;padding:23px 18px 24px;overscroll-behavior:contain}.kol-activation__heading>span{font-size:9px;font-weight:950;letter-spacing:1.4px;color:#FF3B4A}.kol-activation__heading h1{font-size:25px;line-height:1.18;letter-spacing:-.6px;margin:7px 0 0}.kol-activation__heading p{font-size:11px;line-height:1.7;color:var(--text-tertiary,#8E8E93);margin:8px 0 0}.kol-welcome-card{margin-top:20px;padding:22px 18px;border-radius:23px;background:linear-gradient(145deg,#1C1C1E,#343438);color:#FFF;text-align:center;box-shadow:0 16px 35px rgba(28,28,30,.15)}.kol-welcome-card__mark{width:58px;height:58px;border-radius:19px;margin:0 auto 13px;display:flex;align-items:center;justify-content:center;background:#19B667;font-size:26px;font-weight:950}.kol-welcome-card strong{font-size:16px}.kol-welcome-card p{font-size:10px;line-height:1.7;color:#D1D1D6;margin:8px 0 0}.kol-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.kol-feature-grid article{min-height:104px;border-radius:17px;padding:13px;background:var(--surface-card,#FFF);border:1px solid var(--border-primary,#E5E5EA)}.kol-feature-grid i,.kol-feature-grid b,.kol-feature-grid span{display:block}.kol-feature-grid i{font-style:normal;font-size:9px;font-weight:950;color:#FF3B4A}.kol-feature-grid b{font-size:12px;margin-top:13px}.kol-feature-grid span{font-size:8px;line-height:1.5;color:#8E8E93;margin-top:5px}.kol-form-card,.kol-agreement-card,.kol-channel-list,.kol-campaign-intro{margin-top:18px;border-radius:21px;background:var(--surface-card,#FFF);border:1px solid var(--border-primary,#E5E5EA);padding:16px}.kol-form-card{display:grid;gap:13px}.kol-form-card label>span{display:block;font-size:9px;font-weight:850;color:var(--text-secondary,#636366);margin:0 0 6px 2px}.kol-form-card input,.kol-form-card textarea{box-sizing:border-box;width:100%;min-height:45px;border-radius:13px;border:1px solid var(--border-primary,#E5E5EA);background:var(--surface-subtle,#F7F7FA);color:var(--text-primary,#1C1C1E);padding:0 12px;font-size:11px;outline:none}.kol-form-card textarea{min-height:78px;padding-top:11px;resize:none;font-family:inherit;line-height:1.5}.kol-form-card input:focus,.kol-form-card textarea:focus{border-color:#FF6977;box-shadow:0 0 0 3px rgba(255,59,74,.08)}.kol-boundary-note{display:flex;gap:10px;align-items:flex-start;margin-top:11px;padding:11px 12px;border-radius:14px;background:#FFF8E8;color:#735A20}.kol-boundary-note b{font-size:9px;white-space:nowrap}.kol-boundary-note span{font-size:8px;line-height:1.55}.kol-agreement-card__version{display:inline-flex;border-radius:999px;background:#FFF0F1;color:#C62836;padding:5px 8px;font-size:8px;font-weight:900}.kol-agreement-card h2{font-size:16px;margin:11px 0 0}.kol-agreement-list{display:grid;gap:9px;margin-top:14px}.kol-agreement-list p{margin:0;padding:11px;border-radius:13px;background:var(--surface-subtle,#F7F7FA)}.kol-agreement-list b,.kol-agreement-list span{display:block}.kol-agreement-list b{font-size:10px}.kol-agreement-list span{font-size:8px;line-height:1.55;color:#8E8E93;margin-top:4px}.kol-agreement-check{display:grid;grid-template-columns:23px 1fr;gap:9px;align-items:start;margin-top:14px;cursor:pointer}.kol-agreement-check i{width:23px;height:23px;border-radius:7px;background:#FFF;border:1px solid #C7C7CC;color:#FFF;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:950}.kol-agreement-check[aria-checked="true"] i{background:#FF3B4A;border-color:#FF3B4A}.kol-agreement-check span{font-size:9px;line-height:1.6;color:var(--text-secondary,#636366)}.kol-channel-list{display:grid;padding:0;overflow:hidden}.kol-channel-row{min-height:68px;display:grid;grid-template-columns:39px 1fr auto 28px;align-items:center;gap:10px;padding:10px 13px;border-bottom:var(--divider-height) solid var(--border-subtle,#F1F1F6);cursor:pointer}.kol-channel-row:last-child{border-bottom:0}.kol-channel-row>i{width:39px;height:39px;border-radius:13px;background:var(--surface-subtle,#F7F7FA);display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:950}.kol-channel-row b,.kol-channel-row span{display:block}.kol-channel-row b{font-size:11px}.kol-channel-row span{font-size:8px;color:#8E8E93;margin-top:4px}.kol-channel-row em{font-style:normal;font-size:8px;color:#8E8E93;white-space:nowrap}.kol-channel-row>strong{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#F1F1F6;color:#8E8E93;font-size:11px}.kol-channel-row.is-selected>i,.kol-channel-row.is-selected>strong{background:#FFF0F1;color:#FF3B4A}.kol-campaign-intro__flow{display:grid;grid-template-columns:28px 1fr 28px 1fr 28px;align-items:center}.kol-campaign-intro__flow span{width:28px;height:28px;border-radius:50%;background:#F1F1F6;color:#8E8E93;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:950}.kol-campaign-intro__flow span.is-current{background:#FF3B4A;color:#FFF}.kol-campaign-intro__flow i{height:2px;background:#E5E5EA}.kol-campaign-intro__labels{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;margin-top:7px}.kol-campaign-intro__labels b{font-size:7px;color:#8E8E93;text-align:center}.kol-campaign-intro h2{font-size:17px;margin:22px 0 0}.kol-campaign-intro>p{font-size:10px;line-height:1.7;color:#8E8E93;margin:8px 0 0}.kol-campaign-checks{display:grid;gap:8px;margin-top:14px}.kol-campaign-checks>div{display:grid;grid-template-columns:27px 1fr;gap:9px;align-items:start;padding:10px;border-radius:13px;background:var(--surface-subtle,#F7F7FA)}.kol-campaign-checks i{width:27px;height:27px;border-radius:9px;background:#FFF0F1;color:#FF3B4A;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;font-weight:950}.kol-campaign-checks b,.kol-campaign-checks span{display:block}.kol-campaign-checks b{font-size:10px;margin-bottom:3px}.kol-campaign-checks span{font-size:8px;line-height:1.5;color:#8E8E93}.kol-activation__error{margin-top:12px;padding:10px 12px;border-radius:12px;background:#FFF0F1;color:#A51C2B;font-size:9px;line-height:1.5}.kol-activation__footer{display:grid;grid-template-columns:.8fr 1.35fr;gap:9px;padding:10px 18px calc(11px + var(--safe-bottom,0px));background:var(--surface-canvas,#F2F2F7);border-top:var(--divider-height) solid var(--border-primary,#E5E5EA)}.kol-activation__footer button{min-height:46px;border-radius:999px;font-size:11px;font-weight:900}.kol-activation__later{border:1px solid var(--border-primary,#E5E5EA);background:var(--surface-card,#FFF);color:var(--text-secondary,#636366)}.kol-activation__primary{border:0;background:#FF3B4A;color:#FFF}.kol-activation__primary.is-disabled{background:#C7C7CC;cursor:not-allowed}.creator-activation-resume{margin:0 18px;padding:13px 14px;border-radius:17px;background:#FFF3D6;border:1px solid #F1D28A;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.creator-activation-resume strong,.creator-activation-resume span{display:block}.creator-activation-resume strong{font-size:11px;color:#734E00}.creator-activation-resume span{font-size:8px;color:#8B6A27;margin-top:4px}.creator-activation-resume>b{font-size:10px;color:#8B5B00;white-space:nowrap}.theme-dark .kol-welcome-card{background:linear-gradient(145deg,#18191D,#2A2B31)}.theme-dark .kol-boundary-note{background:#302A1E;color:#E5C87B}.theme-dark .kol-agreement-card__version,.theme-dark .kol-channel-row.is-selected>i,.theme-dark .kol-channel-row.is-selected>strong,.theme-dark .kol-campaign-checks i{background:#3D2327}.theme-dark .creator-activation-resume{background:#332D20;border-color:#6E5D30}.theme-dark .creator-activation-resume strong,.theme-dark .creator-activation-resume>b{color:#F0D37E}.theme-dark .creator-activation-resume span{color:#C8B36E}
.wallet-binding-modal{position:absolute;inset:0;z-index:96;background:rgba(12,13,16,.48);display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(6px);animation:fadeIn .2s ease}.wallet-binding-sheet{width:100%;max-height:min(88%,780px);overflow-y:auto;overscroll-behavior:contain;background:var(--surface-canvas,#F7F7FA);color:var(--text-primary,#1C1C1E);border-radius:28px 28px 0 0;padding:10px 18px calc(22px + env(safe-area-inset-bottom,0px));box-shadow:0 -22px 60px rgba(15,18,26,.24);animation:slideUp .28s cubic-bezier(.22,.9,.32,1)}.wallet-binding-sheet__handle{width:42px;height:5px;border-radius:999px;background:#D1D1D6;margin:0 auto 13px}.wallet-binding-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.wallet-binding-sheet>header span{display:block;font-size:10px;font-weight:900;letter-spacing:.8px;color:#FF3B4A}.wallet-binding-sheet>header h2{font-size:21px;line-height:1.2;margin:4px 0 0}.wallet-binding-sheet>header button{width:36px;height:36px;border:0;border-radius:50%;background:var(--surface-card,#FFF);color:var(--text-primary,#1C1C1E);font-size:22px;line-height:1;box-shadow:0 2px 10px rgba(20,23,28,.08)}.wallet-binding-security{display:flex;gap:10px;align-items:flex-start;margin-top:15px;padding:12px;border-radius:15px;background:#EEF9F2;border:1px solid #CBEAD5}.wallet-binding-security>i{width:23px;height:23px;border-radius:50%;background:#22A85A;color:#FFF;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;flex:none}.wallet-binding-security span,.wallet-binding-security b,.wallet-binding-security small{display:block}.wallet-binding-security b{font-size:11px}.wallet-binding-security small{font-size:9px;line-height:1.55;color:#447258;margin-top:3px}.wallet-binding-method{margin-top:12px;padding:14px;border:1px solid var(--border-primary,#E5E5EA);border-radius:19px;background:var(--surface-card,#FFF)}.wallet-binding-method--recommended{border-color:#FFB2B9;box-shadow:0 8px 24px rgba(255,59,74,.07)}.wallet-binding-method__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.wallet-binding-method__head>span{display:flex;align-items:center;gap:8px}.wallet-binding-method__head i{width:24px;height:24px;border-radius:8px;background:#FFF0F1;color:#FF3B4A;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:10px;font-weight:900}.wallet-binding-method__head b{font-size:14px}.wallet-binding-method__head>em{font-size:9px;font-style:normal;font-weight:900;color:#FF3B4A;background:#FFF0F1;border-radius:999px;padding:5px 8px}.wallet-binding-method__head>em.is-muted{color:#737780;background:#F1F1F6}.wallet-binding-method>p{font-size:10px;line-height:1.55;color:var(--text-secondary,#636366);margin:8px 0 11px}.wallet-binding-primary,.wallet-binding-save{width:100%;min-height:46px;border:0;border-radius:999px;background:#1C1C1E;color:#FFF;font-size:12px;font-weight:900}.wallet-binding-primary:disabled,.wallet-binding-save:disabled,.wallet-binding-save.is-disabled{background:#D1D1D6;color:#FFF;cursor:not-allowed}.wallet-mobile-links{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px}.wallet-mobile-links a{min-height:38px;padding:0 4px;border-radius:11px;background:var(--surface-subtle,#F7F7FA);border:1px solid var(--border-primary,#E5E5EA);color:var(--text-primary,#1C1C1E);display:flex;align-items:center;justify-content:center;text-align:center;font-size:9px;font-weight:800}.wallet-connect-note{display:grid;grid-template-columns:auto 1fr;gap:8px;margin-top:9px;padding:9px 10px;border-radius:11px;background:#FFF8E8;color:#735A20}.wallet-connect-note b{font-size:9px}.wallet-connect-note span{font-size:8px;line-height:1.5}.wallet-binding-divider{display:flex;align-items:center;gap:10px;margin:10px 2px 0;color:#A0A0A6;font-size:9px}.wallet-binding-divider::before,.wallet-binding-divider::after{content:"";height:1px;background:var(--border-primary,#E5E5EA);flex:1}.wallet-binding-field{display:block;margin-top:9px}.wallet-binding-field>span{display:block;font-size:9px;font-weight:800;color:var(--text-secondary,#636366);margin:0 0 5px 2px}.wallet-binding-field input,.wallet-binding-field select{width:100%;min-height:44px;border:1px solid var(--border-primary,#E5E5EA);border-radius:12px;background:var(--surface-subtle,#F7F7FA);color:var(--text-primary,#1C1C1E);padding:0 12px;font-size:12px;outline:none}.wallet-binding-field input[aria-invalid=true]{border-color:#FF6F7B;background:#FFF7F8}.wallet-binding-tools{display:flex;gap:8px;margin-top:8px}.wallet-binding-tools button,.wallet-binding-tools label{min-height:37px;border:1px solid var(--border-primary,#E5E5EA);border-radius:11px;background:var(--surface-card,#FFF);color:var(--text-primary,#1C1C1E);padding:0 11px;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:800;cursor:pointer}.wallet-binding-tools input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.wallet-binding-feedback{margin-top:8px;padding:9px 10px;border-radius:10px;background:#EEF9F2;color:#247047;font-size:9px;line-height:1.5}.wallet-binding-feedback.is-error{background:#FFF0F1;color:#A51C2B}.wallet-binding-save{margin-top:10px;background:#FF3B4A}.wallet-binding-sheet>footer{font-size:8px;color:var(--text-tertiary,#8E8E93);line-height:1.55;padding:11px 3px 0}.wallet-candidate-list{display:grid;gap:8px}.wallet-candidate-card{border-radius:13px;background:var(--surface-subtle,#F7F7FA);padding:11px}.wallet-candidate-card__head{display:flex;justify-content:space-between;gap:8px;align-items:center}.wallet-candidate-card__head span{font-size:9px;font-weight:900;color:var(--text-secondary,#636366)}.wallet-candidate-card__head em{font-size:8px;font-style:normal;font-weight:900;color:#8B5B00;background:#FFF3D6;border-radius:999px;padding:4px 7px}.wallet-candidate-card__head em.is-detected{color:#2F5AA3;background:#EAF1FF}.wallet-candidate-card>b{display:block;font-size:12px;margin-top:8px;letter-spacing:.15px}.wallet-candidate-card>small{display:block;font-size:8px;color:var(--text-tertiary,#8E8E93);line-height:1.5;margin-top:4px}.wallet-candidate-card>div:last-child{display:flex;gap:7px;margin-top:9px}.wallet-candidate-card button{min-height:34px;border:0;border-radius:10px;background:#1C1C1E;color:#FFF;padding:0 11px;font-size:9px;font-weight:850}.wallet-candidate-card button.is-danger{background:#FFF0F1;color:#A51C2B}
