
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .3s;
  animation-timing-function: cubic-bezier(.4, 0, .2, 1);
}
:root {
  --r-xl: 34px;
  --r-lg: 28px;
  --r-md: 22px;
  --r-sm: 16px;
  --acc-1: #0990DE;               
  --acc-2: #045FA6;               
  --grad-acc: linear-gradient(160deg, #1FA9F0 0%, #0A8CD8 48%, #045A9E 100%);
  --grad-acc-soft: color-mix(in srgb, var(--acc-1) 11%, transparent);  
  --gold-grad: linear-gradient(135deg, #FFDF97 0%, #F7BE45 100%);
  --silver-grad: linear-gradient(135deg, #F0F3F9 0%, #C4CEDD 100%);
  --bronze-grad: linear-gradient(135deg, #F2C9A0 0%, #D99A5B 100%);
  --ok: #2EBD85;
  --warn: #F5A623;
  --bad: #F0506E;
  --sheet-top: 10px;   
  --backdrop: rgba(12, 15, 30, .4);                 
  --sheet-shadow: 0 -12px 44px rgba(20, 28, 66, .20); 
  --x: 0;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F2F4F7;
  --sk: #E3E7EE;
  --sk-shine: rgba(255, 255, 255, .55);
  --text: #0C0E1A;
  --text-2: #6A7085;
  --text-3: #9AA0B4;
  --line: rgba(20, 28, 66, .07);
  --shadow-soft: 0 10px 34px rgba(24, 34, 84, .09), 0 2px 8px rgba(24, 34, 84, .05);
  --shadow-float: 0 18px 48px rgba(24, 34, 84, .16), 0 4px 12px rgba(24, 34, 84, .07);
  --glass-surface: rgba(255, 255, 255, 0.22);
  --glass-filter: blur(2.5px) saturate(1.8) brightness(1.04);
  --glass-rim-filter: blur(18px);
  --glass-rim-w: 22px;
  --glass-outer:
      0 2px 6px rgba(24, 34, 84, .07),
      0 14px 34px rgba(24, 34, 84, .13);
  --glass-bezel:  
      inset 0 1.5px 3px -1px rgba(255, 255, 255, .65),
      inset 0 -2px 4px -2px rgba(24, 34, 84, .18),
      inset 0 0 14px rgba(255, 255, 255, .12);
  --glass-rim: rgba(255, 255, 255, .85);   
  --glass-rim-2: rgba(255, 255, 255, .40); 
  --glass-fallback: rgba(255, 255, 255, .88);
  --drop-shadow:
      inset 0 1px 1px rgba(255, 255, 255, .75),
      inset 0 -1px 1.5px rgba(255, 255, 255, .35),
      inset 0 0 0 1px rgba(255, 255, 255, .22),
      0 2px 5px rgba(24, 34, 84, .07),
      0 8px 20px rgba(24, 34, 84, .09);
  --tabbar-h: 72px;
  --safe-b: max(env(safe-area-inset-bottom, 0px),
                calc(var(--tg-safe-area-inset-bottom, 0px) + var(--tg-content-safe-area-inset-bottom, 0px)));
  --safe-t: max(env(safe-area-inset-top, 0px),
                calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px)));
  --dur-sheet: .47s;
  --dur-page: .40s;
  --dur-dock: .46s;
  --dur-switch: .3s;
  --dur-switch-fill: .2s;
  --ease-switch-fill: cubic-bezier(.4, 0, .2, 1);
  --dur-switch-drag: .06s;
  --sw-off: rgba(20, 28, 66, .20);
  --ease-spring: cubic-bezier(.35, .5, .1, .94);
  color-scheme: light;
}
:root[data-easing="precise"] {
  --ease-spring: linear(0, 0.0662, 0.2032, 0.3543, 0.4955, 0.6157, 0.7129,
    0.789, 0.847, 0.8902, 0.9224, 0.946, 0.963, 0.9753, 0.9841, 0.9903,
    0.9947, 0.9978, 1);
}
:root[data-theme="dark"] {
  --bg: #191919;
  --surface: #232323;
  --surface-2: #2F2F2F;
  --backdrop: rgba(0, 0, 0, .52);
  --sheet-shadow: 0 -12px 44px rgba(0, 0, 0, .5);
  --sk: #313131;                        
  --sk-shine: rgba(255, 255, 255, .07);
  --text: #F1F1F1;
  --text-2: #A1A1A1;
  --text-3: #6E6E6E;
  --line: rgba(255, 255, 255, .10);
  --shadow-soft: 0 6px 20px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .05);
  --shadow-float: 0 16px 40px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .06);
  --grad-acc-soft: color-mix(in srgb, var(--acc-1) 24%, transparent);
  --glass-surface: rgba(26, 26, 26, 0.45);
  --glass-filter: blur(3px) saturate(1.45) brightness(1.1);
  --sw-off: #2F2F2F;                
  --glass-rim-filter: blur(18px);   
  --glass-outer:
      0 2px 6px rgba(0, 0, 0, .3),
      0 14px 34px rgba(0, 0, 0, .38);
  --glass-bezel:
      inset 0 4px 8px -4px rgba(0, 0, 0, .45),
      inset 0 -4px 8px -4px rgba(0, 0, 0, .3);
  --glass-rim: rgba(255, 255, 255, .09);   
  --glass-rim-2: rgba(255, 255, 255, .04);
  --glass-fallback: rgba(30, 30, 30, .94);
  --drop-shadow:
      0 2px 6px rgba(0, 0, 0, .22),
      0 6px 16px rgba(0, 0, 0, .2);
  color-scheme: dark;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
html { background: var(--bg); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;                                              
  min-height: min(var(--tg-viewport-stable-height, 100vh), 100dvh);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  user-select: none;
}
* { scrollbar-width: none; }
::-webkit-scrollbar { width: 0; height: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; }
input { font: inherit; color: inherit; }
.tabbar {
  --glass-rim-w: 30px;
  --glass-rim-filter: blur(24px);
}
.liquid-glass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--glass-surface);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  box-shadow: var(--glass-outer);
}
.liquid-glass::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  -webkit-backdrop-filter: var(--glass-rim-filter);
  backdrop-filter: var(--glass-rim-filter);
  -webkit-mask:
    linear-gradient(to right, #000, transparent var(--glass-rim-w), transparent calc(100% - var(--glass-rim-w)), #000),
    linear-gradient(to bottom, #000, transparent var(--glass-rim-w), transparent calc(100% - var(--glass-rim-w)), #000);
  -webkit-mask-composite: source-over;
  mask:
    linear-gradient(to right, #000, transparent var(--glass-rim-w), transparent calc(100% - var(--glass-rim-w)), #000),
    linear-gradient(to bottom, #000, transparent var(--glass-rim-w), transparent calc(100% - var(--glass-rim-w)), #000);
  mask-composite: add;
}
.liquid-glass::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  padding: 1.2px;
  background: conic-gradient(
      var(--glass-rim) 0%,
      transparent 16%,
      transparent 34%,
      var(--glass-rim-2) 50%,
      transparent 66%,
      transparent 84%,
      var(--glass-rim) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .liquid-glass { background: var(--glass-fallback); }
}
.liquid-glass.lg-live::after,
.liquid-glass.lg-static::after { display: none; }
#app {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;                                              
  min-height: min(var(--tg-viewport-stable-height, 100vh), 100dvh);
  display: flex;
  flex-direction: column;
}
.home-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.theme-btn {
  width: 56px; height: 56px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-2);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease, color .2s ease;
}
.theme-btn:active { transform: scale(.9); }
.theme-btn .icon { width: 22px; height: 22px; stroke-width: 1.9; }
.theme-btn .icon.swap-in { animation: theme-swap .3s cubic-bezier(.34,1.56,.64,1); }
@keyframes theme-swap {
  from { transform: rotate(-40deg) scale(.6); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .theme-btn .icon.swap-in { animation: none; } }
.profile-chip {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 0;
  padding: 7px 15px 7px 7px;
  border-radius: 100px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease;
  max-width: 58%;   
  flex: 0 1 auto;
}
.profile-chip:active { transform: scale(.97); }
.profile-ava {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
  font-weight: 700; font-size: 17px; color: #fff;
  background: var(--acc-1);
}
.profile-ava img { width: 100%; height: 100%; object-fit: cover; display: block; grid-area: 1 / 1; opacity: 0; transition: opacity .45s ease; }
.profile-ava img.on { opacity: 1; }
.sk { display: block; background: var(--sk); border-radius: 16px; position: relative; overflow: hidden; }
.sk::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, var(--sk-shine), transparent);
  animation: sk-shimmer 1.25s infinite;
}
@keyframes sk-shimmer { to { transform: translateX(100%); } }
.sk-chip  { width: 176px; max-width: 58%; flex: 0 1 auto;
            height: 56px; border-radius: 28px; }
.sk-about { flex: 1 1 auto; min-width: 96px; height: 56px; border-radius: 28px; }
.sk-tbtn  { width: 56px; height: 56px; flex: none; border-radius: 50%; }
@media (min-width: 900px) {
  .home-head .sk-chip  { margin-inline-end: auto; }
  .home-head .sk-about { flex: none; width: 96px; }
}
.sk-hero  { height: 224px; border-radius: var(--r-xl); }
.sk-card  { height: 168px; border-radius: var(--r-lg); }
.sk-row   { height: 74px;  border-radius: var(--r-lg); }
.reveal-ov {
  position: absolute; inset: 0; z-index: 4;
  pointer-events: none;
}
.reveal-ov .sk { position: absolute; }
@media (prefers-reduced-motion: reduce) {
  .sk::after { animation: none; }
  .reveal-ov .sk { transition: opacity .2s ease !important; }
  .screen { transition: none !important; }
}
.profile-name {
  font-size: 17px; font-weight: 700; letter-spacing: -.3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.profile-chip .chev { color: var(--text-3); width: 19px; height: 19px; flex: none; }
.about-chip {
  flex: 1 1 auto;
  min-width: 96px;
  white-space: nowrap;
  height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px;
  border-radius: 100px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  font-size: 16px; font-weight: 700; letter-spacing: -.2px;
  transition: transform .16s ease;
}
.about-chip:active { transform: scale(.96); }
#view {
  flex: 1; padding: calc(14px + var(--safe-t)) 16px calc(var(--tabbar-h) + var(--safe-b) + 42px);
  transform-origin: 50% 0;
  transition: transform var(--dur-sheet) var(--ease-spring);
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: start;
}
body.sheet-open #view { transform: scale(.955) translateY(4px); }
.screen { position: relative; display: flex; flex-direction: column; gap: 14px; grid-area: 1 / 1; min-width: 0; animation: screen-in .42s cubic-bezier(.16, 1, .3, 1); }
.screen[hidden] { display: none; }
@keyframes screen-in {
  from { opacity: 0; transform: scale(.992); }
  to   { opacity: 1; transform: none; }
}
.screen.screen-out { pointer-events: none; animation: screen-out .34s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes screen-out {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: scale(.992); }
}
@media (prefers-reduced-motion: reduce) { .screen, .screen.screen-out { animation: none; } }
.section-title {
  font-size: 14px; font-weight: 700;
  color: var(--text-2);
  letter-spacing: .2px;
  margin: 8px 4px 0;
  display: flex; align-items: center; gap: 7px;
}
.section-title .icon { width: 17px; height: 17px; stroke-width: 2; }
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.hero-card {
  border-radius: var(--r-xl);
  padding: 20px;
  color: #fff;
  background: var(--grad-acc);
  box-shadow: var(--shadow-soft), inset 0 1px 1.5px rgba(255,255,255,.45);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  top: -150px; right: -90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.32), rgba(255,255,255,.05) 60%, transparent 70%);
}
.hero-card::after {
  content: '';
  position: absolute;
  width: 210px; height: 210px;
  bottom: -120px; left: -70px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,.16), transparent 65%);
}
.hero-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.hero-plan { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; letter-spacing: -.1px; }
.hero-plan .icon { width: 19px; height: 19px; stroke-width: 2; }
.hero-days { position: relative; z-index: 1; margin-top: 20px; font-size: 40px; font-weight: 800; letter-spacing: -1.4px; line-height: 1; }
.hero-days small { font-size: 17px; font-weight: 600; letter-spacing: 0; opacity: .82; margin-inline-start: 6px; }
.hero-sub { position: relative; z-index: 1; margin-top: 7px; font-size: 13.5px; opacity: .86; font-weight: 500; }
.hero-foot {
  position: relative; z-index: 1;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  display: flex; gap: 16px;
  font-size: 12.5px; font-weight: 600; opacity: .92;
}
.hero-foot span { display: flex; align-items: center; gap: 6px; }
.hero-foot .icon { width: 15px; height: 15px; stroke-width: 2.1; }
.hero-shield {
  position: absolute; right: 14px; bottom: -26px; z-index: 0;
  width: 120px; height: 120px;
  color: rgba(255, 255, 255, .13);
}
.hero-shield .icon { width: 100%; height: 100%; stroke-width: 1.1; }
.ac-offer {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  color: #fff;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26);
}
.ac-offer-pct {
  flex: none;
  padding: 3px 7px;
  border-radius: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .3px;
  color: #7A5200;
  background: var(--gold-grad);
  box-shadow: 0 4px 10px rgba(244, 178, 33, .30), inset 0 1px 1px rgba(255, 255, 255, .55);
}
.ac-offer-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ac-offer-text > b { font-size: 13px; font-weight: 700; }
.ac-offer-sub { font-size: 11.5px; font-weight: 500; opacity: .86; }
.ac-offer-sub s { text-decoration-color: rgba(255, 255, 255, .6); }
#acOfferLeft, #acClaimLeft { font-variant-numeric: tabular-nums; }
button.ac-offer {
  width: 100%; text-align: start; font: inherit; color: inherit;
  cursor: pointer; -webkit-appearance: none; appearance: none;
  border: 0;
  transition: transform .18s cubic-bezier(.22, 1, .36, 1);
}
button.ac-offer:active { transform: scale(.985); }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .2px;
}
.chip .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.chip-glass {
  color: #fff;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.35);
}
.chip-ok   { color: var(--ok);   background: color-mix(in srgb, var(--ok) 13%, transparent); }
.chip-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.chip-bad  { color: var(--bad);  background: color-mix(in srgb, var(--bad) 12%, transparent); }
.chip-acc  { color: var(--text); background: color-mix(in srgb, var(--acc-1) 11%, transparent); }
.chip-popular { color: var(--surface); background: var(--text); box-shadow: 0 2px 6px rgba(20,28,66,.18); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; }
.plan-ico {
  width: 40px; height: 40px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--text);
  background: var(--grad-acc-soft);
}
.plan-ico .icon { width: 21px; height: 21px; }
.plan-sub { font-size: 12.5px; color: var(--text-2); font-weight: 500; margin-top: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-weight: 700; font-size: 14.5px;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:active { transform: scale(.965); }
.btn .icon { width: 18px; height: 18px; stroke-width: 2.1; }
.btn-primary {
  color: #fff;
  background: var(--grad-acc);
  box-shadow: inset 0 1px 1.5px rgba(255,255,255,.45);
}
.btn-hero {
  position: relative; z-index: 1;
  margin-top: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.42), inset 0 -1px 1px rgba(255,255,255,.12);
}
.btn-soft { color: var(--text); background: color-mix(in srgb, var(--acc-1) 9%, transparent); }
.btn-ghost { color: var(--text-2); background: var(--surface-2); }
.btn-danger { color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 14px; font-size: 13.5px; border-radius: 13px; }
.boot-error {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 64px 24px 0;
}
.boot-error-emoji { font-size: 40px; line-height: 1; margin-bottom: 6px; }
.boot-error-title { font-weight: 700; font-size: 17px; color: var(--text); }
.boot-error-sub   { font-size: 14px; color: var(--text-2); max-width: 260px; }
.boot-error .btn  { margin-top: 18px; min-width: 160px; }
@media (hover: hover) and (pointer: fine) {
  :is(.btn, .icon-btn, .sheet-close, .row.selectable, .invite-link,
      .profile-chip, .about-chip, .theme-btn, .action-tile,
      .task-card.task-open, .key-link, .set-row, .route-row,
      .support-card, .nav-row,
      .admin-tile, .hub-tile, .admin-row, .admin-h-info, .adm-select,
      .adm-date, .admin-search-go, .adm-chip, .cfg-tap, .opt,
      .period-pill, .wish-card, .mono-copy, .toast-undo,
      .dev-step-btn, button.ac-offer) {
    position: relative;
  }
  :where(.btn, .icon-btn, .sheet-close, .row.selectable, .invite-link,
      .profile-chip, .about-chip, .theme-btn, .action-tile,
      .task-card.task-open, .key-link, .set-row, .route-row,
      .support-card, .nav-row,
      .admin-tile, .hub-tile, .admin-row, .admin-h-info, .adm-select,
      .adm-date, .admin-search-go, .adm-chip, .cfg-tap, .opt,
      .period-pill, .wish-card, .mono-copy, .toast-undo,
      .dev-step-btn, button.ac-offer)::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    background: currentColor;
    opacity: 0;
    transition: opacity .18s ease;
    pointer-events: none;
  }
  :where(.btn, .icon-btn, .sheet-close, .row.selectable, .invite-link,
      .profile-chip, .about-chip, .theme-btn, .action-tile,
      .task-card.task-open, .key-link, .set-row, .route-row,
      .support-card, .nav-row,
      .admin-tile, .hub-tile, .admin-row, .admin-h-info, .adm-select,
      .adm-date, .admin-search-go, .adm-chip, .cfg-tap, .opt,
      .period-pill, .wish-card, .mono-copy, .toast-undo,
      .dev-step-btn, button.ac-offer):hover::after {
    opacity: .08;
  }
  .set-row::after { inset: 4px -6px; border-radius: 14px; }
  .route-row::after { inset: 9px -6px -5px; border-radius: 14px; }
  .route-opt::after { content: none; }
  .route-opt:hover { transform: scale(1.02); }
  .cfg-tap::after { inset: 4px -8px; border-radius: 14px; }
  .key-link .icon-btn::after { display: none; }
}
.icon-btn {
  width: 42px; height: 42px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--text);
  background: color-mix(in srgb, var(--acc-1) 9%, transparent);
  transition: transform .16s ease;
}
.icon-btn:active { transform: scale(.92); }
.icon-btn .icon { width: 19px; height: 19px; stroke-width: 2; }
.icon-btn.is-danger { color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); }
.key-link {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px;
  padding: 12px 12px 12px 15px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  box-shadow: inset 0 1px 2px rgba(20,28,66,.05);
  cursor: pointer;   
}
.key-link code {
  flex: 1; min-width: 0;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 13px; }
.route-row {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: start;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  transition: opacity .15s ease;
}
.route-row:active { opacity: .6; }
.route-ico {
  width: 38px; height: 38px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--text); background: var(--grad-acc-soft);
}
.route-ico .icon { width: 20px; height: 20px; }
.route-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.route-text > span { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.route-text b { font-size: 14.5px; letter-spacing: -.1px; }
.route-row .chev { color: var(--text-3); width: 19px; height: 19px; }
.route-opt { align-items: flex-start; }
.route-opt .row-main b { font-size: 15px; }
.route-opt .row-main span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); font-weight: 500; white-space: normal; }
.route-opt .radio-dot { margin-top: 3px; }
.action-tile {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 13px 6px 11px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: 12px; font-weight: 650; color: var(--text-2);
  transition: transform .16s ease;
}
.action-tile:active { transform: scale(.95); }
.action-tile .icon { width: 21px; height: 21px; color: var(--text); }
.support-card {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: start;
  padding: 15px 16px;
  transition: transform .16s ease;
}
.support-card:active { transform: scale(.98); }
.support-ico {
  width: 44px; height: 44px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--text); background: var(--grad-acc-soft);
}
.support-ico .icon { width: 23px; height: 23px; }
.support-text { flex: 1; min-width: 0; }
.support-text b { display: block; font-size: 15px; letter-spacing: -.15px; }
.support-text span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.support-card .chev { color: var(--text-3); width: 19px; height: 19px; }
.wish-card {
  display: flex; flex-direction: column; align-items: flex-start;
  width: 100%; text-align: start;
  border-radius: var(--r-xl);
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform .16s ease;
}
.wish-card:active { transform: scale(.98); }
.wish-title {
  position: relative; z-index: 1;
  color: var(--text);
  font-size: 21px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15;
}
.wish-sub {
  position: relative; z-index: 1;
  margin-top: 8px; max-width: 32ch;
  color: var(--text-2);
  font-size: 13.5px; font-weight: 500; line-height: 1.45;
}
.wish-cta {
  position: relative; z-index: 1;
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  border-radius: 100px;
  color: var(--surface);
  background: var(--text);
  font-size: 14px; font-weight: 700; letter-spacing: -.1px;
  box-shadow: 0 4px 12px rgba(20, 28, 66, .18);
}
.wish-cta .icon { width: 17px; height: 17px; stroke-width: 2.1; }
.wish-glow {
  position: absolute; right: -18px; bottom: -30px; z-index: 0;
  width: 132px; height: 132px;
  color: color-mix(in srgb, var(--text) 7%, transparent);
}
.wish-glow .icon { width: 100%; height: 100%; stroke-width: 1.1; }
.invite { display: flex; flex-direction: column; gap: 12px; }
.invite-title { font-size: 13px; font-weight: 650; color: var(--text-2); letter-spacing: -.1px; }
.invite-link {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: start;
  padding: 13px 13px 13px 16px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  transition: transform .16s ease;
}
.invite-link:active { transform: scale(.985); }
.invite-link.uid-link { transition: none; }
.invite-link.uid-link:active { transform: none; }
.invite-link code {
  flex: 1; min-width: 0;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; color: var(--text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.invite-copy { flex: none; color: var(--text); display: grid; place-items: center; }
.invite-copy .icon { width: 19px; height: 19px; stroke-width: 2; }
.nav-row {
  display: flex; align-items: center; gap: 13px;
  width: 100%; text-align: start;
  padding: 15px 16px;
  transition: transform .16s ease;
}
.nav-row:active { transform: scale(.98); }
.nav-ico {
  width: 38px; height: 38px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--text);
  background: color-mix(in srgb, var(--acc-1) 9%, transparent);
}
.nav-ico .icon { width: 19px; height: 19px; }
.nav-label { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 650; letter-spacing: -.1px; }
.nav-row .chev { color: var(--text-3); width: 19px; height: 19px; }
.empty-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 5px; padding: 30px 22px;
}
.empty-ico {
  width: 52px; height: 52px; margin-bottom: 8px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--text);
  background: var(--grad-acc-soft);
}
.empty-ico .icon { width: 25px; height: 25px; }
.empty-card b { font-size: 15px; letter-spacing: -.15px; }
.empty-card span { font-size: 13px; color: var(--text-2); font-weight: 500; line-height: 1.5; }
.hero-actions { position: relative; z-index: 1; margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-actions .btn { margin-top: 0; width: 100%; white-space: nowrap; }
.hero-default { margin-top: 10px; width: 100%; }
.stats-card { padding: 16px 18px 18px; }
.stats-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stats-title { font-size: 15px; font-weight: 750; letter-spacing: -.2px; }
.period-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 10px 7px 13px;
  border-radius: 100px;
  font-size: 13px; font-weight: 650; color: var(--text);
  background: var(--surface-2);
  transition: transform .15s ease;
}
.period-pill:active { transform: scale(.95); }
.period-pill .chev { width: 15px; height: 15px; color: var(--text-3); transform: rotate(90deg); stroke-width: 2.4; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.metric { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; position: relative; }
.metric + .metric::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 30px; width: 1px; background: var(--line);
}
.metric b { font-size: 19px; font-weight: 800; letter-spacing: -.6px; white-space: nowrap; }
.metric span { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.tag-default {
  display: inline-block; vertical-align: middle;
  margin-inline-start: 6px; padding: 2px 7px;
  border-radius: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: .2px;
  color: var(--text);
  background: color-mix(in srgb, var(--acc-1) 11%, transparent);
}
.opt-list { display: flex; flex-direction: column; gap: 8px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: start;
  padding: 15px 16px;
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; letter-spacing: -.1px;
  color: var(--text-2);
  background: var(--surface-2);
  transition: background .15s ease, transform .15s ease, color .15s ease;
}
.opt:active { transform: scale(.985); }
.opt .opt-check { width: 20px; height: 20px; flex: none; color: var(--text); opacity: 0; stroke-width: 2.4; }
.opt.sel { color: var(--text); background: color-mix(in srgb, var(--acc-1) 9%, transparent); font-weight: 700; }
.opt.sel .opt-check { opacity: 1; }
.opt-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt-main b { font-size: 15px; font-weight: 700; letter-spacing: -.1px; }
.opt-main span { font-size: 12px; color: var(--text-3); font-weight: 600; }
.tag-default {
  display: inline-block; vertical-align: middle;
  margin-inline-start: 6px; padding: 2px 7px;
  border-radius: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: .2px;
  color: var(--text);
  background: color-mix(in srgb, var(--acc-1) 11%, transparent);
}
.row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 4px;
}
.row + .row { border-top: 1px solid var(--line); }
.row-ico {
  width: 40px; height: 40px; flex: none;
  border-radius: 13px;
  display: grid; place-items: center;
  color: var(--text);
  background: var(--grad-acc-soft);
}
.row-ico .icon { width: 20px; height: 20px; }
.row-main { flex: 1; min-width: 0; }
.row-main b { display: block; font-size: 14px; letter-spacing: -.1px; }
.row-main span { font-size: 12px; color: var(--text-3); font-weight: 500; }
.row-side { font-size: 13px; font-weight: 700; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.row-side .icon { width: 16px; height: 16px; color: var(--text-3); }
.dev-step { display: flex; align-items: center; gap: 10px; }
.dev-step-n { font-size: 15px; font-weight: 700; min-width: 20px; text-align: center; }
.dev-step-btn {
  width: 28px; height: 28px; flex: none;
  border: 0; border-radius: 50%;
  font-size: 17px; font-weight: 600; line-height: 1;
  color: var(--text-2); background: var(--surface-2);
  transition: transform .16s ease, opacity .2s ease;
}
.dev-step-btn:active { transform: scale(.88); }
.dev-step-btn:disabled { opacity: .35; }
.row.selectable { border-radius: var(--r-sm); padding: 13px 10px; transition: background .15s ease, transform .15s ease; }
.row.selectable:active { transform: scale(.985); }
.row.selected { background: rgba(9, 144, 222, .09); }
.row.selected { background: color-mix(in srgb, var(--acc-1) 7%, transparent); }
.route-list { position: relative; padding: 2px 0; }
.route-list .row { position: relative; z-index: 1; }
.route-list .row + .row { border-top: 0; }
.route-list .row.selected,
.route-list .row.selectable:active { background: transparent; }
.route-list .radio-dot { width: 24px; height: 24px; }
.route-pill {
  position: absolute; left: 0; top: 0;
  z-index: 0; opacity: 0;
  border-radius: var(--r-sm);
  background: var(--surface-2);                 
  box-shadow: inset 0 0 0 1px var(--line);      
  pointer-events: none;
  will-change: transform;
  transition: transform .34s var(--ease-spring),
              height .34s var(--ease-spring),
              width .34s var(--ease-spring),
              left .34s var(--ease-spring),
              opacity .2s ease;
}
.row.selected .row-ico { color: #fff; background: var(--acc-1); }
.radio-dot {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  border: 2px solid var(--text-3);
  display: grid; place-items: center;
  transition: border-color .18s ease, background-color .18s ease;
}
.row.selected .radio-dot { border-color: var(--text); background: var(--acc-1); }
.radio-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0; transform: scale(.4); transition: opacity .18s ease, transform .18s ease; }
.row.selected .radio-dot::after { opacity: 1; transform: none; }
.ava {
  position: relative;
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -.2px;
  background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
  overflow: hidden;
}
.ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ava-anon { background: #303034; color: #fff; }
.ava-anon .icon { width: 23px; height: 23px; stroke-width: 1.7; }
.lb-ava { position: relative; flex: none; line-height: 0; }
.lb-badge {
  position: absolute; right: -4px; bottom: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums;
  color: var(--text-2);
  background: var(--surface);
  border: 2px solid var(--surface);
  box-shadow: 0 2px 6px rgba(20,28,66,.16);
}
.lb-badge.me-badge { color: #fff; background: var(--acc-1); border-color: var(--text); }
.lb-row .row-main b { font-size: 14.5px; }
.lb-row { contain: layout paint; }
.lbseg-wrap { position: relative; margin-top: 6px; }
.lbseg {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: stretch;
  height: 54px;
  padding: 7px;
  border-radius: 100px;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  cursor: grab;
}
.lbseg.liquid-glass {
  -webkit-backdrop-filter: blur(2.5px) saturate(1.4);
  backdrop-filter: blur(2.5px) saturate(1.4);
}
.lbseg.liquid-glass::before,
.lbseg.liquid-glass::after { display: none; }
.lbseg-drop {
  position: absolute; left: 0; top: 0;
  z-index: 4; pointer-events: none;   
  will-change: transform;
  transition: transform .55s cubic-bezier(.3, 1.35, .35, 1), width .3s ease, height .3s ease;
}
.lbseg.drag + .lbseg-drop { transition: none; }
.lbseg.drag + .lbseg-drop .drop-glass {
  transform: scale(1.12);
  box-shadow: var(--drop-shadow), 0 8px 20px rgba(20, 28, 66, .18);
  animation: drop-grab-seg .3s;
  transition: box-shadow .36s ease;
}
.lbseg-drop.drop-release .drop-glass { animation: drop-release-seg .44s; }
.lbseg-drop.press .drop-glass {
  transform: scale(1.05, .988);
  transition: transform .13s cubic-bezier(.3, 0, .3, 1);
}
@keyframes drop-grab-seg {
  0%   { transform: scale(1.05, .988);  animation-timing-function: cubic-bezier(.2, 1.4, .36, 1); }
  100% { transform: scale(1.12); }
}
@keyframes drop-release-seg {
  0%   { transform: translateX(var(--rel-t, 0%)) scale(var(--rel-x, 1.12), var(--rel-y, 1.12));
                                        animation-timing-function: cubic-bezier(.22, .72, .3, 1); }
  62%  { transform: translateX(0%) scale(.99, 1.008);
                                        animation-timing-function: cubic-bezier(.33, 0, .3, 1); }
  100% { transform: translateX(0%) scale(1); }
}
.lbseg.drag button:active { transform: none; }
.lbseg button {
  position: relative; z-index: 3;
  border-radius: 100px;
  font-size: 12.5px; font-weight: 650; letter-spacing: -.1px;
  color: var(--text-2);
  white-space: nowrap;
  transition: color .22s ease, transform .15s ease;
}
.lbseg button:active { transform: scale(.94); }
.lbseg button.on,
.lbseg button.lit { color: var(--text); }
.lbseg.drag button.on:not(.lit) { color: var(--text-2); }
.lb-podium {
  display: grid;
  grid-template-columns: 1fr 1.14fr 1fr;
  gap: 10px;
  align-items: end;
}
.pod {
  position: relative;
  text-align: center;
  background: var(--surface);
  border-radius: 22px;
  padding: 22px 6px 14px;
  box-shadow: var(--shadow-soft);
}
.pod-ava-wrap { position: relative; width: 52px; margin: 0 auto 8px; line-height: 0; }
.pod-ava { width: 52px; height: 52px; font-size: 19px; margin: 0 auto; }
.pod-medal {
  position: absolute;
  right: -5px; bottom: -5px;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  border: 2.5px solid var(--surface);
}
.pod.p1 { padding-top: 28px; padding-bottom: 18px; background: linear-gradient(180deg, rgba(255, 199, 84, .2), transparent 62%), var(--surface); }
.pod.p1 .pod-ava-wrap { width: 62px; margin-bottom: 10px; }
.pod.p1 .pod-ava { width: 62px; height: 62px; font-size: 23px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), 0 0 0 3px rgba(244,178,33,.55); }
.pod.p1 .pod-medal { width: 27px; height: 27px; font-size: 13px; color: #7A5200; background: var(--gold-grad); box-shadow: 0 4px 10px rgba(244, 178, 33, .45), inset 0 1px 2px rgba(255,255,255,.65); }
.pod.p2 { background: linear-gradient(180deg, rgba(148, 163, 190, .14), transparent 60%), var(--surface); }
.pod.p2 .pod-ava { box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), 0 0 0 3px rgba(148,163,190,.5); }
.pod.p2 .pod-medal { color: #4E586B; background: var(--silver-grad); box-shadow: 0 3px 8px rgba(120, 136, 165, .35), inset 0 1px 2px rgba(255,255,255,.7); }
.pod.p3 { background: linear-gradient(180deg, rgba(212, 138, 66, .13), transparent 60%), var(--surface); }
.pod.p3 .pod-ava { box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), 0 0 0 3px rgba(212,138,66,.5); }
.pod.p3 .pod-medal { color: #7B4315; background: var(--bronze-grad); box-shadow: 0 3px 8px rgba(196, 128, 62, .35), inset 0 1px 2px rgba(255,255,255,.55); }
.pod-name {
  font-size: 13px; font-weight: 750; letter-spacing: -.1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding: 0 4px;
}
.pod.p1 .pod-name { font-size: 14px; }
.pod-count {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 4px;
  font-size: 12px; font-weight: 700;
  color: var(--text-2);
}
.pod-count .icon { width: 13px; height: 13px; stroke-width: 2.2; }
.pod-prize { margin-top: 8px; }
.chip-gold {
  color: #7A5200;
  background: var(--gold-grad);
  box-shadow: 0 4px 10px rgba(244, 178, 33, .3), inset 0 1px 1px rgba(255,255,255,.55);
}
.task-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.task-card.task-open { cursor: pointer; padding-inline-end: 46px;
                       transition: transform .16s ease; }
.task-card.task-open:active { transform: scale(.98); }
.task-card .task-chev {
  position: absolute; right: 15px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-3); width: 20px; height: 20px;
}
.task-head { display: flex; align-items: flex-start; gap: 12px; }
.task-num {
  width: 42px; height: 42px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 16px;
  color: var(--text);
  background: var(--grad-acc-soft);
}
.task-num.done { color: #fff; background: var(--ok); }
.task-num.done .icon { width: 20px; height: 20px; stroke-width: 2.4; }
.task-title { font-size: 14.5px; font-weight: 700; letter-spacing: -.1px; line-height: 1.35; }
.task-reward { display: inline-flex; margin-top: 5px; }
.task-progress { display: flex; align-items: center; gap: 12px; }
.task-bar { flex: 1; height: 9px; border-radius: 100px; background: var(--surface-2); overflow: hidden; box-shadow: inset 0 1px 2px rgba(20,28,66,.06); }
.task-fill { height: 100%; width: 100%; background: var(--acc-1);
             transform-origin: left; transform: scaleX(0);
             transition: transform .8s cubic-bezier(.22, .9, .3, 1); }
[dir="rtl"] .task-fill { transform-origin: right; }
@media (prefers-reduced-motion: reduce) { .task-fill { transition: none; } }
.task-fill.done { background: var(--ok); }
.task-count { font-size: 12.5px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.pm-hero {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  padding: 22px 20px 24px;
  color: #fff;
  background: linear-gradient(160deg, #262A33 0%, #12141A 60%, #0A0C11 100%);
  box-shadow: var(--shadow-soft);
}
.pm-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 100px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .2px;
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pm-badge .icon { width: 14px; height: 14px; stroke-width: 2; }
.pm-h { margin-top: 14px; font-size: 27px; font-weight: 800; letter-spacing: -.6px; }
.pm-sub { margin-top: 8px; max-width: 32ch; font-size: 13.5px; line-height: 1.5; font-weight: 500; opacity: .82; }
.pm-card {
  position: relative; overflow: hidden;
  margin-top: 20px; height: 156px;
  border-radius: 18px;
  background: linear-gradient(135deg, #3C424E 0%, #191C23 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 1px rgba(255, 255, 255, .12);
}
.pm-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 100% 0, rgba(255, 255, 255, .16), transparent 55%);
}
.pm-card > span { position: absolute; z-index: 1; }
.pm-card-brand { top: 16px; left: 18px; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; }
.pm-card-chip {
  top: 50px; left: 18px; width: 38px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, #EAD08A, #B8923F);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.pm-card-num { bottom: 40px; left: 18px; font-size: 16.5px; font-weight: 600; letter-spacing: 2px; font-variant-numeric: tabular-nums; }
.pm-card-sys { bottom: 16px; right: 18px; font-size: 15px; font-weight: 800; font-style: italic; letter-spacing: .5px; }
.pm-cta {
  margin-top: 20px; width: 100%;
  color: #14161C; background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}
.pm-cta:active { transform: scale(.97); }
.pm-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 8px; }
.pm-stats > div { position: relative; text-align: center; }
.pm-stats > div + div::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 26px; background: var(--line);
}
.pm-stats b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.pm-stats span { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.pm-note { font-size: 11.5px; color: var(--text-3); line-height: 1.5; font-weight: 500; text-align: center; padding: 0 10px; }
.tabbar-wrap {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--safe-b) + 12px);
  z-index: 60;
  width: min(calc(100% - 28px), 420px);
  height: var(--tabbar-h);
  --tabs: 3;
}
@keyframes tabbar-in {
  from { transform: translate(-50%, calc(var(--tabbar-h) + var(--safe-b) + 24px)); }
  to   { transform: translateX(-50%); }
}
html.app-ready .tabbar-wrap {
  animation: tabbar-in .52s var(--ease-spring);
}
@media (prefers-reduced-motion: reduce) {
  html.app-ready .tabbar-wrap { animation: none; }
}
.tabbar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: stretch;
  padding: 8px;
}
.tab {
  position: relative;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border-radius: 26px;
  color: var(--text-2);
  font-weight: 650;
  transition: color .22s ease, transform .15s ease;
}
.tab[hidden] { display: none; }
.tab span { font-size: 10px; letter-spacing: 0; white-space: nowrap; }
.tab:active { transform: scale(.94); }
.tabbar.dragging .tab:active { transform: none; }
.tab .icon { width: 22px; height: 22px; transition: stroke-width .22s ease; }
.tab.active,
.tab.lit { color: var(--text); }
.tab.active .icon,
.tab.lit .icon { stroke-width: 2.1; }
.tabbar.dragging .tab.active:not(.lit) { color: var(--text-2); }
.tabbar.dragging .tab.active:not(.lit) .icon { stroke-width: 1.8; }
.tab-drop {
  position: absolute;
  top: 8px; left: 0;
  height: calc(100% - 16px);
  width: calc((100% - 16px) / var(--tabs, 3));
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform .55s cubic-bezier(.3, 1.35, .35, 1),
    width .3s ease,
    height .3s ease,
    opacity .25s ease;
}
.tab-drop.placed { opacity: 1; }
.drop-glass {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 100px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .06) 52%, rgba(255, 255, 255, .15));
  box-shadow: var(--drop-shadow);
  -webkit-backdrop-filter: saturate(1.8) brightness(1.06);
  backdrop-filter: saturate(1.8) brightness(1.06);
  will-change: transform;
  transition: transform .46s cubic-bezier(.28, 1.42, .38, 1);
}
.drop-glass::after {
  content: ''; position: absolute;
  left: 9%; right: 9%; top: 2px; height: 46%;
  border-radius: 100px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 92%);
  opacity: .5;
}
:root[data-theme="dark"] .drop-glass {
  background: rgba(255, 255, 255, .10);
}
:root[data-theme="dark"] .drop-glass::after { opacity: 0; }
.tab-drop.drop-stretch .drop-glass,
.lbseg-drop.drop-stretch .drop-glass {
  transform: scale(1.22, .84);
  transition: transform .2s cubic-bezier(.4, 0, .6, 1);
}
.tab-drop.drag { transition: none; cursor: grabbing; }
.tab-drop.drag .drop-glass {
  transform: scale(1.17);
  box-shadow: var(--drop-shadow), 0 12px 30px rgba(20, 28, 66, .22);
  animation: drop-grab-tab .3s;
  transition: box-shadow .36s ease;
}
.tab-drop.drop-release .drop-glass { animation: drop-release-tab .44s; }
.tab-drop.press .drop-glass {
  transform: scale(1.06, .985);
  transition: transform .13s cubic-bezier(.3, 0, .3, 1);
}
@keyframes drop-grab-tab {
  0%   { transform: scale(1.06, .985);  animation-timing-function: cubic-bezier(.2, 1.4, .36, 1); }
  100% { transform: scale(1.17); }
}
@keyframes drop-release-tab {
  0%   { transform: translateX(var(--rel-t, 0%)) scale(var(--rel-x, 1.17), var(--rel-y, 1.17));
                                        animation-timing-function: cubic-bezier(.22, .72, .3, 1); }
  62%  { transform: translateX(0%) scale(.985, 1.012);
                                        animation-timing-function: cubic-bezier(.33, 0, .3, 1); }
  100% { transform: translateX(0%) scale(1); }
}
.tabbar { cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
@media (prefers-reduced-motion: reduce) {
  .tab-drop, .drop-glass, .tab-drop.drag .drop-glass,
  .tab-drop.drop-stretch .drop-glass, .lbseg-drop.drop-stretch .drop-glass,
  .lbseg-drop, .lbseg.drag + .lbseg-drop .drop-glass,
  .tab-drop.drop-release .drop-glass, .lbseg-drop.drop-release .drop-glass,
  .tab-drop.press .drop-glass, .lbseg-drop.press .drop-glass {
    transition: none; transform: none; animation: none;
  }
}
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: var(--backdrop);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  will-change: opacity; 
  transition: opacity var(--dur-sheet) var(--ease-spring);
}
.sheet-backdrop.show { opacity: 1; }
body.sheet-open { overflow: hidden; }
body.adm-open { overflow: hidden; }
.sheet {
  --x: 0;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  width: 100%;
  max-height: calc(100vh - var(--sheet-top) - var(--safe-t));
  max-height: calc(
    clamp(50dvh, min(var(--tg-viewport-stable-height, 100dvh), 100dvh), 100dvh)
    - var(--sheet-top) - var(--safe-t));
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: 32px 32px 0 0;
  overflow: hidden;
  box-shadow: var(--sheet-shadow);
  transform: translateY(100%);
  will-change: transform, height; 
  transition: transform var(--dur-sheet) var(--ease-spring),
              height var(--dur-sheet) var(--ease-spring);
}
.sheet.open { transform: translateY(0); }
.sheet-grab {
  align-self: stretch; height: calc(26px - 14px * var(--x)); flex: none;
  display: flex; align-items: center; justify-content: center;
  touch-action: none; cursor: grab;
}
.sheet-grab::before {
  content: '';
  width: calc(40px + 8px * var(--x)); height: 4.5px;
  border-radius: 100px; background: var(--line);
  opacity: calc(1 - var(--x));
}
.sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(10px - 4px * var(--x)) calc(18px + 6px * var(--x)) calc(4px + 8px * var(--x));
  flex: none; touch-action: none;
}
.sheet-head h3 { font-size: calc(19px + 12px * var(--x)); font-weight: 800; letter-spacing: -.4px;
                 transition: opacity .15s ease; }   
.sheet-close {
  color: var(--text-2); background: var(--surface-2);
  width: calc(32px + 4px * var(--x)); height: calc(32px + 4px * var(--x));
  border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transition: transform .15s ease, opacity .15s ease;
}
.sheet-close:active { transform: scale(.9); opacity: .7; }
.sheet-close .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.sheet-close .icon { width: 15px; height: 15px; stroke-width: 2.3; display: block; }
.sheet-body {
  padding: calc(12px + 8px * var(--x)) calc(18px + 6px * var(--x)) calc(18px + var(--safe-b));
  overflow-y: auto; overscroll-behavior: contain;
  flex: 1 1 auto; min-height: 0;   
  font-size: calc(15px + 1px * var(--x));
  transition: opacity .15s ease;   
}
.sheet-foot {
  flex: none;
  padding: 10px 18px calc(14px + var(--safe-b));
  background: var(--surface);
  border-top: 1px solid var(--line);
  transition: opacity .15s ease;   
}
.sheet-foot .btn { border-radius: 18px; padding: 15px 18px; font-size: 15px; }
.sheet:has(.sheet-foot) .sheet-body { padding-bottom: 10px; }
.sheet-foot.gate-foot { display: flex; flex-direction: column; gap: 9px; }
.gate-foot .gate-cta {
  font-size: 15.5px; font-weight: 800; letter-spacing: -.2px;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.gate-foot .gate-cta:active { box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.sheet-note { font-size: 12.5px; color: var(--text-3); line-height: 1.5; font-weight: 500; }
.plan-list { display: flex; flex-direction: column; gap: 9px; }
.plan-list .row.selectable {
  padding: 14px 15px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1.5px solid transparent;
  transition: border-color .18s ease, background .18s ease, transform .15s ease;
}
.plan-list .row.selectable:active { transform: scale(.985); }
.plan-list .row.selected {
  background: color-mix(in srgb, var(--acc-1) 8%, var(--surface));
  border-color: var(--text);
}
.plan-list .row.offer { position: relative; overflow: hidden; }
.plan-list .row.offer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 105% at 100% 0%,
              rgba(244, 178, 33, .14) 0%, transparent 62%);
}
.plan-list .row.offer > * { position: relative; z-index: 1; }
.row-main .chip-off {
  color: #7A5200;
  font-weight: 800;
  letter-spacing: .3px;
  background: var(--gold-grad);
  box-shadow: 0 4px 10px rgba(244, 178, 33, .30), inset 0 1px 1px rgba(255, 255, 255, .55);
}
.row-side.price-off {
  display: flex; flex-direction: column; align-items: flex-end; gap: 1px;
  line-height: 1.15;
}
.row-side.price-off .was {
  font-size: 12px; font-weight: 600; color: var(--text-3);
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--text-3) 65%, transparent);
}
.row-side.price-off .now {
  font-size: 18px; font-weight: 800; letter-spacing: -.35px; color: var(--text);
}
.pay-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  padding: 22px 20px 20px;
  color: #fff; text-align: center;
  background: var(--grad-acc);
  box-shadow: var(--shadow-soft), inset 0 1px 1.5px rgba(255, 255, 255, .4);
}
.pay-card::before {
  content: ''; position: absolute;
  width: 260px; height: 260px; top: -150px; right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .34), rgba(255, 255, 255, .04) 62%, transparent 70%);
}
.pay-card-label { position: relative; z-index: 1; font-size: 11.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; opacity: .85; }
.pay-card-sum { position: relative; z-index: 1; font-size: 42px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.04; margin-top: 6px; }
.pay-card-plan { position: relative; z-index: 1; font-size: 13.5px; font-weight: 500; opacity: .9; margin-top: 7px; }
.pay-card-glow { position: absolute; right: -14px; bottom: -24px; z-index: 0; opacity: .16; color: #fff; }
.pay-card-glow .icon { width: 120px; height: 120px; stroke-width: 1.1; }
.trust-list { display: flex; flex-direction: column; margin-top: 16px; }
.trust { display: flex; align-items: center; gap: 12px; padding: 11px 2px; }
.trust + .trust { border-top: 1px solid var(--line); }
.t-ico {
  width: 38px; height: 38px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--text); background: var(--grad-acc-soft);
}
.t-ico .icon { width: 19px; height: 19px; }
.trust > div { min-width: 0; }
.trust b { display: block; font-size: 14px; letter-spacing: -.1px; }
.trust > div > span { display: block; margin-top: 1px; font-size: 12px; color: var(--text-3); font-weight: 500; }
.plan-pick {
  display: flex; align-items: center; gap: 13px;
  width: 100%;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  text-align: start;
  margin-bottom: 11px;
  transition: transform .16s ease, box-shadow .2s ease;
}
.plan-pick:active { transform: scale(.97); }
.plan-pick .plan-ico { width: 46px; height: 46px; border-radius: 16px; }
.plan-pick b { font-size: 15px; display: block; letter-spacing: -.15px; }
.plan-pick span { font-size: 12px; color: var(--text-2); font-weight: 500; line-height: 1.4; display: block; margin-top: 2px; }
.plan-pick .icon.chev { color: var(--text-3); width: 18px; height: 18px; }
.field { margin: 12px 0; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-2); margin: 0 4px 7px; }
.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  background: var(--surface-2);
  font-size: 15px; font-weight: 600;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 10%, transparent); }
.field input::placeholder { color: var(--text-3); font-weight: 500; }
.field textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  background: var(--surface-2);
  color: inherit;
  font: inherit;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  resize: none;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea:focus { border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 10%, transparent); }
.field textarea::placeholder { color: var(--text-3); font-weight: 500; }
.total-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 16px;
  border-radius: var(--r-sm);
  background: var(--grad-acc-soft);
  font-weight: 700; font-size: 14px;
  margin-top: 10px;
}
.total-line b { font-size: 19px; font-weight: 800; letter-spacing: -.4px; color: var(--text); }
.qr-wrap {
  display: grid; place-items: center;
  margin: calc(12px + 4px * var(--x)) auto;
  padding: calc(18px - 4px * var(--x));
  width: fit-content; max-width: 100%;
  border-radius: calc(var(--r-md) + 6px * var(--x));
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.qr-wrap img, .qr-wrap canvas {
  border-radius: 8px; display: block;
  width:  min(calc(210px + 260px * var(--x)), calc(100vw - 84px)) !important;
  height: min(calc(210px + 260px * var(--x)), calc(100vw - 84px)) !important;
}
.step-row { display: flex; gap: 13px; padding: 12px 0; }
.step-row + .step-row { border-top: 1px solid var(--line); }
.step-n {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13.5px; font-weight: 800;
  color: var(--text);
  background: var(--grad-acc-soft);
}
.step-row p { font-size: 13.5px; line-height: 1.5; color: var(--text-2); font-weight: 500; padding-top: 4px; }
.step-row p b { color: var(--text); }
.dev-list {
  max-height: 46vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0 -4px;
  padding: 0 4px;
}
.prof-head {
  position: relative;
  height: calc(54px + 189px * var(--x));       
  margin: 2px 2px calc(16px + 10px * var(--x));
}
.prof-ava {
  position: absolute; top: 0;
  left: calc(50% * var(--x));                  
  transform: translateX(calc(-50% * var(--x)));
  width:  calc(54px + 116px * var(--x));       
  height: calc(54px + 116px * var(--x));
  font-size: calc(21px + 34px * var(--x));     
}
.prof-id {
  position: absolute;
  width: max-content;
  max-width: calc(100% - 76px + 68px * var(--x));
  text-align: start;                            
  left: calc(68px + (50% - 68px) * var(--x));  
  top:  calc(27px + 161px * var(--x));         
  transform: translateX(calc(-50% * var(--x)))
             translateY(calc(-50% + 50% * var(--x)));
}
.prof-id b {
  display: block; font-size: calc(18px + 9px * var(--x)); font-weight: 750; letter-spacing: -.3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prof-id span {
  display: block; margin-top: calc(1px + 5px * var(--x));
  font-size: calc(13px + 4px * var(--x)); color: var(--text-3); font-weight: 500;
}
.stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.stat-cell {
  display: flex; align-items: center; gap: 11px;
  padding: calc(12px + 2px * var(--x)) 13px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}
.stat-ico {
  width: calc(38px + 2px * var(--x)); height: calc(38px + 2px * var(--x)); flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--text);
  background: var(--surface-2);
}
.stat-ico .icon { width: calc(20px + 1px * var(--x)); height: calc(20px + 1px * var(--x)); }
.stat-body { min-width: 0; }
.stat-body b {
  display: block;
  font-size: calc(15.5px + 2px * var(--x)); font-weight: 800; letter-spacing: -.3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stat-body span {
  display: block; margin-top: 1px;
  font-size: calc(11px + 1px * var(--x)); color: var(--text-2); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.set-list { padding: calc(6px + 2px * var(--x)) calc(14px + 2px * var(--x)); }
.set-row {
  display: flex; align-items: center; gap: calc(13px + 1px * var(--x));
  width: 100%; text-align: start;
  padding: calc(11px + 2px * var(--x)) 2px;
  transition: transform .16s ease;
}
.set-row + .set-row { border-top: 1px solid var(--line); }
.set-row:active { transform: scale(.98); }
.set-ico {
  width: calc(38px + 3px * var(--x)); height: calc(38px + 3px * var(--x)); flex: none;
  border-radius: calc(11px + 1px * var(--x));
  display: grid; place-items: center;
  color: #fff;
}
.set-ico .icon { width: calc(21px + 1px * var(--x)); height: calc(21px + 1px * var(--x)); stroke-width: 2; }
.set-label { flex: 1; min-width: 0; font-size: calc(15px + 1px * var(--x)); font-weight: 600; letter-spacing: -.1px; }
.set-row .chev { color: var(--text-3); width: 19px; height: 19px; flex: none; }
.success-box { text-align: center; padding: 12px 0 6px; }
.success-ico {
  width: 74px; height: 74px;
  margin: 6px auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2EBD85, #1FA873);
  box-shadow: 0 14px 32px rgba(46,189,133,.38), inset 0 1px 2px rgba(255,255,255,.5);
  animation: pop-in .45s cubic-bezier(.34,1.56,.64,1);
}
.success-ico .icon { width: 34px; height: 34px; stroke-width: 2.4; }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.success-box h4 { font-size: 18px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 7px; }
.success-box p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; font-weight: 500; }
.confirm-actions { display: flex; gap: 10px; margin-top: 18px; }
.confirm-actions .btn { flex: 1; min-width: 0; }
.btn-danger { color: #fff; background: var(--bad); }
.toast {
  position: fixed;
  left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 30px);
  transform: translate(-50%, 16px);
  z-index: 120;
  max-width: min(calc(100vw - 32px), 420px);
  text-align: center;
  padding: 12px 20px;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700;
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition: opacity .28s ease, transform .28s cubic-bezier(.22,.9,.3,1);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.fallback-main {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: calc(var(--safe-b) + 14px);
  z-index: 100;
  width: min(calc(100% - 32px), 432px);
  padding: 16px;
  border-radius: 19px;
  color: #fff;
  font-size: 15px; font-weight: 800; letter-spacing: -.1px;
  background: var(--grad-acc);
  box-shadow: var(--shadow-float), inset 0 1px 1.5px rgba(255,255,255,.5);
  transition: transform .16s ease;
}
.fallback-main:active { transform: translateX(-50%) scale(.97); }
.banner {
  border-radius: var(--r-lg);
  padding: 17px;
  display: flex; align-items: center; gap: 13px;
  background: var(--grad-acc-soft);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.4), var(--shadow-soft);
  overflow: hidden;
  position: relative;
  text-align: start;
  width: 100%;
}
.banner-ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--acc-1);
}
.banner-ico .icon { width: 22px; height: 22px; }
.banner-static { cursor: default; }
.banner-text { flex: 1; min-width: 0; }
.banner-text b { font-size: 14px; display: block; letter-spacing: -.1px; }
.banner-text span { font-size: 12px; color: var(--text-2); font-weight: 500; display: block; margin-top: 2px; line-height: 1.4; }
.banner .icon.chev { color: var(--text-3); width: 18px; height: 18px; margin-inline-start: auto; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.muted { color: var(--text-3); font-size: 12px; font-weight: 500; }
.hidden { display: none !important; }
.stat-strip { display: flex; gap: 10px; }
.stat-box {
  flex: 1;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.stat-box b { font-size: 21px; font-weight: 800; letter-spacing: -.5px; display: block; }
.stat-box b em { font-style: normal; color: var(--text); }
.stat-box span { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.support-ico,
.nav-ico,
.empty-ico,
.row-ico,
.t-ico,
.step-n,
.banner-ico,
.task-num {
  background: var(--surface-2);
}
.banner-ico { color: var(--text); }
.set-ico { background: var(--surface-2) !important; color: var(--text) !important; }
.row.selected .row-ico { color: var(--text); background: var(--surface-2); }
.lb-badge.rank-1 { color: #7A5200; background: var(--gold-grad); }
.lb-badge.rank-2 { color: #4E586B; background: var(--silver-grad); }
.lb-badge.rank-3 { color: #7B4315; background: var(--bronze-grad); }
.lb-prize {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 5px; padding: 3px 10px 3px 8px;
  border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: .1px;
  color: #7C5A16;
  background: linear-gradient(180deg, #FFF3D6 0%, #F6E1AE 100%);
  border: 1px solid rgba(199, 154, 58, .45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 1px 3px rgba(176,128,28,.14);
}
.lb-prize .icon { width: 12.5px; height: 12.5px; stroke-width: 2.1; color: #C79A3A; }
:root[data-theme="dark"] .lb-prize {
  color: #F2D486;
  background: linear-gradient(180deg, rgba(120,92,38,.55), rgba(84,64,26,.42));
  border-color: rgba(214,168,74,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 3px rgba(0,0,0,.2);
}
:root[data-theme="dark"] .lb-prize .icon { color: #E9C877; }
.hero-expired { background: linear-gradient(140deg, #34303A 0%, #211E27 60%, #1A171F 100%); }
.hero-expired .hero-shield { color: rgba(240, 190, 120, .12); }
.chip-expired {
  color: #F4C983;
  background: rgba(244, 178, 33, .16);
  box-shadow: inset 0 0 0 1px rgba(244, 178, 33, .28);
}
.chip-expired .icon { color: #F4C983; }
.lb-row.lb-me { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px; }
:root,
:root[data-theme="light"] { --grad-acc-soft: var(--surface-2); }
:root[data-theme="dark"]   { --grad-acc-soft: var(--surface-2); }
.chip-acc,
.btn-soft,
.icon-btn,
.tag-default { background: var(--surface-2); }
.btn-primary { background: var(--text); color: var(--surface); box-shadow: none; }
.fallback-main { background: var(--text); color: var(--surface); box-shadow: var(--shadow-float); }
.lb-badge.me-badge { background: var(--text); color: var(--surface); }
.lb-badge.me-badge { border-color: var(--text); }
.row.selected .radio-dot { border-color: var(--text); background: var(--text); }
.row.selected .radio-dot::after { background: var(--surface); }
.task-fill { background: var(--text-2); }
.row.selected { background: color-mix(in srgb, var(--text) 6%, transparent); }
.opt.sel { background: var(--surface); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text) 26%, transparent); }
.plan-list .row.selected { background: var(--surface); border-color: var(--text); }
.success-ico {
  background: var(--text) !important;
  color: var(--surface) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.18) !important;
}
.about { display: flex; flex-direction: column; gap: 14px; }
.about-claim {
  position: relative; z-index: 1;
  margin-top: 18px;
  font-size: 27px; font-weight: 800; letter-spacing: -.8px; line-height: 1.16;
}
.about-hero .hero-foot { flex-wrap: wrap; row-gap: 9px; }
.about-title {
  font-size: 13px; font-weight: 700; letter-spacing: -.1px;
  color: var(--text-2);
  margin: 10px 6px -2px;
}
.about-feats {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 2px 17px;
  overflow: hidden;
}
.feat { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; }
.feat + .feat { border-top: 1px solid var(--line); }
.feat-ico {
  width: 38px; height: 38px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--text);
  background: var(--surface-2);
}
.feat-ico .icon { width: 20px; height: 20px; }
.feat-body { min-width: 0; }
.feat-body b { display: block; font-size: 14.5px; letter-spacing: -.15px; }
.feat-body span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.55; color: var(--text-2); font-weight: 500; }
.about-cta { margin-top: 6px; }
.about-foot { text-align: center; font-size: 12px; color: var(--text-3); font-weight: 600; line-height: 1.5; margin: 6px 6px 0; }
#screen-admin { --x: 0; }
#screen-admin .admin-tile-ico,
#screen-admin .admin-row-ico,
#screen-admin .admin-h-ico,
#screen-admin .node-sum-ico,
#screen-admin .node-metric-ico {
  color: var(--text);
  background: var(--surface-2);
  box-shadow: none;
}
.admin-head { display: flex; flex-direction: column; gap: 3px; padding: 2px; }
.admin-title { font-size: 24px; font-weight: 820; letter-spacing: -.5px; line-height: 1.1; }
.admin-sub { font-size: 13px; color: var(--text-2); font-weight: 500; }
.admin-tiles { display: flex; flex-direction: column; gap: 10px; }
.admin-tile {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: start;
  padding: 15px 16px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-soft);
  transition: transform .16s ease;
}
.admin-tile:active { transform: scale(.98); }
.admin-tile-ico {
  width: 44px; height: 44px; flex: none; border-radius: 13px;
  display: grid; place-items: center;
}
.admin-tile-ico .icon { width: 23px; height: 23px; stroke-width: 2; }
.admin-tile-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.admin-tile-txt b { font-size: 15.5px; font-weight: 700; letter-spacing: -.15px; }
.admin-tile-txt small { font-size: 12px; color: var(--text-2); font-weight: 500; }
.admin-tile .chev { color: var(--text-3); width: 19px; height: 19px; flex: none; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hub-tile:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 102px; }
.hub-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  width: 100%; min-height: 130px; padding: 14px;
  text-align: start;
  border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-soft);
  transition: transform .16s ease;
}
.hub-tile:active { transform: scale(.98); }
.hub-ico {
  width: 40px; height: 40px; flex: none; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--text); background: var(--surface-2);
}
.hub-ico .icon { width: 21px; height: 21px; stroke-width: 2; }
.hub-name {
  position: relative; z-index: 1;
  margin-top: auto; padding-top: 10px;
  font-size: 15.5px; font-weight: 700; letter-spacing: -.15px; line-height: 1.25;
}
.hub-echo {
  position: absolute; right: -14px; top: -16px; z-index: 0;
  width: 104px; height: 104px;
  color: var(--text); opacity: .075;
  pointer-events: none;
}
.hub-echo .icon { width: 100%; height: 100%; stroke-width: 1.1; }
:root[data-theme="dark"] .hub-echo { opacity: .1; }
.admin-body { display: flex; flex-direction: column; gap: 12px; }
@keyframes adm-spin { to { transform: rotate(360deg); } }
.admin-count { font-size: 12.5px; color: var(--text-2); font-weight: 600; margin: -2px 4px; }
.admin-count b { color: var(--text); }
.admin-live { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 12.5px; font-weight: 600; color: var(--text-2); margin: -2px 4px; }
.admin-live-dot { width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-3); animation: adm-pulse 1.8s ease-in-out infinite; }
@keyframes adm-pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .admin-live-dot { animation: none; } }
.admin-list { display: flex; flex-direction: column; gap: 8px; }
.admin-row {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: start;
  padding: 13px 15px; border-radius: var(--r-sm);
  background: var(--surface); box-shadow: var(--shadow-soft);
  transition: transform .16s ease;              
}
.admin-row:active { transform: scale(.98); }
.admin-row-ico {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
}
.admin-row-ico .icon { width: 21px; height: 21px; stroke-width: 2; }
.admin-row-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.admin-row-txt b { font-size: 15px; font-weight: 700; letter-spacing: -.1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-row-txt small { font-size: 12px; color: var(--text-2); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-why { font-style: normal; color: var(--text-3); }
.adm-why::before { content: ' · '; }
.admin-row .chev { color: var(--text-3); width: 18px; height: 18px; flex: none; }
.admin-badge {
  flex: none; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
  letter-spacing: .01em; color: var(--text-2); background: var(--surface-2);
}
.admin-badge.is-live {
  color: var(--text); background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.admin-kvs { display: flex; flex-direction: column; gap: 0; padding: 6px 18px; }
.admin-kv { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; }
.admin-kv + .admin-kv { border-top: 1px solid var(--line); }
.admin-kv span { font-size: 13.5px; color: var(--text-2); font-weight: 500; min-width: 0; }
.admin-kv b { font-size: 14.5px; font-weight: 750; letter-spacing: -.1px; text-align: end;
  overflow-wrap: anywhere; }
.admin-h {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 800; letter-spacing: -.2px; color: var(--text);
  margin: 8px 4px 0;
}
.admin-h-ico { width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center; }
.admin-h-ico .icon { width: 16px; height: 16px; stroke-width: 2.1; }
.admin-h-count { margin-inline-start: auto; font-size: 12px; font-weight: 700; color: var(--text-3);
  background: var(--surface-2); border-radius: 999px; padding: 2px 9px; }
.admin-h-info {
  margin-inline-start: auto; width: 26px; height: 26px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  color: var(--text-3); background: var(--surface-2);
  transition: transform .14s ease, color .14s ease;
}
.admin-h-count + .admin-h-info { margin-inline-start: 8px; }
.admin-h-info .icon { width: 16px; height: 16px; stroke-width: 2; }
.admin-h-info:active { transform: scale(.92); }
.admin-h-info[aria-expanded="true"] { color: var(--text); }
.admin-h-set { margin-inline-start: auto; }
.admin-h-set + .admin-h-info { margin-inline-start: 8px; }
.admin-line { padding: 7px 18px; font-size: 13.5px; color: var(--text-2); font-weight: 500; line-height: 1.5; }
.admin-kvs .admin-line { padding: 7px 0; }
.admin-adm-card { display: flex; flex-direction: column; gap: 0; padding: 6px 16px; }
.admin-adm-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.admin-adm-row + .admin-adm-row { border-top: 1px solid var(--line); }
.admin-adm-ava {
  position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  color: var(--text); font-size: 15px; font-weight: 700;
  background: var(--surface-2);
}
.admin-adm-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.admin-adm-txt { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.admin-adm-txt b { font-size: 14.5px; font-weight: 700; }
.admin-adm-txt small { font-size: 12px; color: var(--text-3); font-weight: 500;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace; }
.adm-period { display: flex; flex-direction: column; gap: 9px; }
.adm-select-wrap { position: relative; z-index: 5; }
.adm-select {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: var(--surface-2); color: var(--text);
  font-size: 14px; font-weight: 650; text-align: start;
  transition: transform .14s ease, box-shadow .14s ease;
}
.adm-select:active { transform: scale(.99); }
.adm-select-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-select-arr { display: flex; flex-direction: column; gap: 1px; flex: none; color: var(--text-3); }
.adm-select-arr .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.adm-select-arr .icon:first-child { transform: rotate(-90deg); }
.adm-select-arr .icon:last-child { transform: rotate(90deg); }
.adm-select.is-open { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text) 26%, transparent); }
.adm-drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  padding: 8px; border-radius: var(--r-sm);
  background: var(--surface); box-shadow: var(--shadow-float);
  gap: 4px;
}
.adm-drop[hidden] { display: none; }
.adm-drop .opt { padding: 12px 14px; font-size: 14px; }
.adm-drop .opt .opt-check { width: 18px; height: 18px; }
.adm-gran { z-index: 4; margin-top: -5px; }  
.opt.is-off { opacity: .38; pointer-events: none; }
.adm-dates { display: flex; align-items: center; gap: 10px; }
.adm-dates .adm-date { flex: 1 1 0; min-width: 0; }
.adm-dash { flex: none; font-style: normal; font-weight: 650; color: var(--text-3); }
.adm-seg-wrap { position: relative; z-index: 0; }
.adm-custom { position: relative; z-index: 1; }
.adm-lbseg { height: 46px; padding: 6px; border-radius: 100px; }
.adm-lbseg button { font-size: 12.5px; font-weight: 650; }
.adm-toggle button { font-size: 13.5px; }
.adm-seg-wrap.no-drop > .lbseg-drop { opacity: 0; }
.adm-date { position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 11px 12px;
  border-radius: 12px; background: var(--surface-2);
  color: var(--text); font-size: 14px; font-weight: 600;
  transition: transform .16s ease; }
.adm-date:active { transform: scale(.98); }
.adm-date-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; stroke-width: 2; color: var(--text-3); }
.adm-date input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; border: none; background: none; padding: 0;
  font-family: inherit; font-size: inherit;
  -webkit-appearance: none; appearance: none;
}
.adm-date.is-empty .adm-date-txt { color: var(--text-3); }
.node-summary-head { display: flex; align-items: center; gap: 10px; margin-bottom: 15px;
  font-size: 16px; font-weight: 800; letter-spacing: -.2px; }
.node-sum-ico { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; }
.node-sum-ico .icon { width: 18px; height: 18px; stroke-width: 2; }
.node-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.node-metric { display: flex; align-items: center; gap: 10px; min-width: 0; }
.node-metric-ico { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; }
.node-metric-ico .icon { width: 17px; height: 17px; stroke-width: 2; }
.node-metric-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.node-metric-txt b { font-size: 15px; font-weight: 750; letter-spacing: -.2px; }
.node-metric-txt small { font-size: 10.5px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .04em; }
.node-card .node-name { font-size: 15px; font-weight: 750; letter-spacing: -.15px; margin-bottom: 14px; }
.node-summary .node-name { opacity: 1; }
.node-err-txt { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 650; color: var(--text-2); }
.node-err-txt .icon { width: 16px; height: 16px; stroke-width: 2.4; }
#screen-admin .admin-search-ico,
#screen-admin .admin-urow-ava,
#screen-admin .admin-gate-ico,
#screen-admin .admin-warn-ico,
#screen-admin .admin-fail-ico,
#screen-admin .admin-run-ico {
  color: var(--text);
  background: var(--surface-2);
}
.admin-search { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; }
.admin-search-ico { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; }
.admin-search-ico .icon { width: 17px; height: 17px; stroke-width: 2; }
.admin-search input {
  flex: 1; min-width: 0; border: none; background: none; padding: 8px 0;
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--text);
}
.admin-search input::placeholder { color: var(--text-3); font-weight: 500; }
.admin-search input::-webkit-search-cancel-button { display: none; }
.admin-search input:focus, .admin-search input:focus-visible { outline: none; box-shadow: none; }
.admin-search-go {
  flex: none; padding: 10px 15px; border-radius: 12px;
  font-size: 13px; font-weight: 700; color: var(--surface); background: var(--text);
  transition: transform .14s ease, opacity .14s ease;
}
.admin-search-go:active { transform: scale(.96); opacity: .9; }
.admin-note { font-size: 12px; line-height: 1.45; color: var(--text-3); font-weight: 500; margin: -4px 6px 0; }
.admin-urow { gap: 12px; }
.admin-urow-ava {
  position: relative; overflow: hidden;
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; font-weight: 700;
}
.admin-urow-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.admin-badge.is-ban { color: var(--surface); background: var(--text); }
.admin-more { width: 100%; margin: 2px 0 0; }
.adm-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.adm-chip {
  padding: 10px 6px; border-radius: 100px; text-align: center;
  font-size: 12px; font-weight: 650; color: var(--text-2); background: var(--surface-2);
  transition: transform .14s ease;
}
.adm-chip:active { transform: scale(.97); }
.adm-chip.on { color: var(--surface); background: var(--text); }
.adm-fchips { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 4px 10px; }
.adm-fchips:empty { display: none; }
.adm-fchips .adm-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px;
}
.adm-fchips .adm-chip .icon { width: 12px; height: 12px; opacity: .75; }
.adm-drop { margin-bottom: 10px; }
.adm-drop[hidden] { display: none; }
.admin-line { overflow-wrap: anywhere; }
.admin-gates { display: flex; flex-direction: column; gap: 0; padding: 6px 16px; }
.admin-gate { display: flex; align-items: center; gap: 12px; padding: 13px 0; }
.admin-gate + .admin-gate { border-top: 1px solid var(--line); }
.admin-gate-ico { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; }
.admin-gate-ico .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.admin-gate-txt { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 700; letter-spacing: -.1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-sw {
  position: relative; flex: none;
  width: 61px; height: 31px; border-radius: 999px; padding: 0;
  background: var(--sw-off);
  transition: background var(--dur-switch-fill) var(--ease-switch-fill), opacity .15s ease;
  touch-action: pan-y;            
  -webkit-tap-highlight-color: transparent;
}
.admin-sw.on { background: var(--text); }
.admin-sw::after { content: ''; position: absolute; left: 0; right: 0; top: -7px; bottom: -7px; }
.admin-sw > i {
  position: absolute; top: 2px; left: 2px;
  display: block; width: 37px; height: 27px; border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 2px 5px rgba(24, 34, 84, .22), 0 0 1px rgba(24, 34, 84, .3);
  transition: transform var(--dur-switch) var(--ease-spring),
              width var(--dur-switch) var(--ease-spring),
              background var(--dur-switch-fill) var(--ease-switch-fill);
}
.admin-sw.on > i { transform: translateX(20px); }
.admin-sw.pressing > i { width: 43px; }
.admin-sw.on.pressing > i { transform: translateX(14px); }
.admin-sw.dragging > i {
  transition: width var(--dur-switch) var(--ease-spring),
              background var(--dur-switch-drag) linear;
}
.admin-sw.dragging { transition: background var(--dur-switch-drag) linear; }
:root[data-theme="dark"] .admin-sw:not(.on) > i { background: var(--text-2); }
@media (prefers-reduced-motion: reduce) {
  .admin-sw, .admin-sw > i { transition: none; }
}
.admin-warn, .admin-run, .admin-fail {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 18px; text-align: center;
}
.admin-warn-ico, .admin-fail-ico, .admin-run-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 2px;
}
.admin-warn-ico .icon, .admin-fail-ico .icon, .admin-run-ico .icon { width: 23px; height: 23px; stroke-width: 2; }
.admin-run-ico .icon { animation: adm-spin 1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .admin-run-ico .icon { animation: none; } }
.admin-warn b, .admin-run b, .admin-fail b { font-size: 16px; font-weight: 800; letter-spacing: -.2px; }
.admin-warn > span:not([class]), .admin-run > span:not([class]), .admin-fail > span:not([class]) {
  font-size: 13px; line-height: 1.5; color: var(--text-2); font-weight: 500; max-width: 30em;
}
.admin-run small { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.admin-run-btn { width: 100%; margin: 0; }
.cfg-group { display: flex; flex-direction: column; gap: 0; padding: 6px 16px; }
.cfg-group > * + * { border-top: 1px solid var(--line); }
.cfg-row {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: start;
  min-height: 62px; padding: 8px 0;
}
.cfg-tap { transition: transform .16s ease; }
.cfg-tap:active { transform: scale(.985); }
.cfg-row.is-wrap { padding: 13px 0; }
.cfg-row.is-wrap .cfg-txt small { white-space: normal; }
.cfg-ico {
  width: 36px; height: 36px; flex: none; border-radius: 11px;
  display: grid; place-items: center;
  color: var(--text); background: var(--surface-2);
}
.cfg-ico .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.cfg-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cfg-txt b { font-size: 14.5px; font-weight: 700; letter-spacing: -.1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cfg-txt small { font-size: 12px; color: var(--text-2); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cfg-val { flex: none; font-size: 13.5px; font-weight: 700; letter-spacing: -.1px; color: var(--text-2); }
.cfg-chev { flex: none; width: 18px; height: 18px; color: var(--text-3); margin-inline-start: -3px; }
.cfg-kv {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 8px 0;
}
.cfg-kv span { font-size: 13.5px; color: var(--text-2); font-weight: 500; min-width: 0; }
.cfg-kv b { font-size: 14.5px; font-weight: 750; letter-spacing: -.1px; text-align: end; }
.cfg-kv b i { font-style: normal; font-weight: 600; color: var(--text-3); margin-inline-start: 6px; }
.cfg-sec { display: flex; flex-direction: column; gap: 12px; }
.cfg-go { flex: none; }
.cfg-sec.is-tail { margin-top: 8px; }
.cfg-sec:empty { display: none; }
.cfg-skel { gap: 12px; }
.cfg-sk-ico { width: 36px; height: 36px; border-radius: 11px; flex: none; }
.cfg-sk-txt { flex: 1; max-width: 168px; height: 11px; border-radius: 6px; }
.cfg-sk-side { width: 61px; height: 31px; border-radius: 999px; flex: none; }
.mono-copy {
  display: inline; text-align: inherit; padding: 0; border-radius: 6px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: .94em; font-weight: 650; color: inherit; overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-style: dotted;
  text-underline-offset: 3px; text-decoration-color: var(--text-3);
  transition: opacity .14s ease;
}
.mono-copy:active { opacity: .55; }
.admin-acts { margin-top: 4px; }
.admin-sub-title { padding: 9px 0 3px; font-size: 14.5px; font-weight: 750; letter-spacing: -.1px; }
.admin-row.is-danger .admin-row-txt b { color: var(--bad); }
.admin-row.is-danger .admin-row-ico { color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); }
.admin-form { display: flex; flex-direction: column; gap: 14px; }
.admin-field { display: flex; flex-direction: column; gap: 6px; }
.admin-field > span {
  font-size: 12px; font-weight: 650; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .04em;
}
.admin-field input, .admin-field select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: none;
  background: var(--surface-2); color: var(--text);
  font-family: inherit; font-size: 15px; font-weight: 600;
  -webkit-appearance: none; appearance: none;
}
.admin-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
                    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-inline-end: 38px;
}
.admin-field input::placeholder { color: var(--text-3); font-weight: 500; }
.admin-field > small { font-size: 11.5px; line-height: 1.4; color: var(--text-3); font-weight: 500; }
.admin-form-go { width: 100%; margin: 2px 0 0; }
.metric-card { display: flex; flex-direction: column; gap: 2px; padding: 15px 17px 12px; }
.metric-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.metric-title { font-size: 13px; font-weight: 650; color: var(--text-2); letter-spacing: -.05px; }
.metric-value { font-size: 26px; font-weight: 800; letter-spacing: -.7px; line-height: 1.15; }
.metric-card > small { font-size: 11.5px; font-weight: 600; color: var(--text-3); margin-top: 2px; }
.spark { display: block; width: 100%; height: 56px; margin: 8px 0 2px; color: var(--text); overflow: visible; }
.spark-line { fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linejoin: round; stroke-linecap: round;
  vector-effect: non-scaling-stroke; }
.spark-area { fill: currentColor; fill-opacity: .10; stroke: none; }
.spark-wrap { position: relative; touch-action: pan-y; }
.spark-cur {
  position: absolute; top: 8px; bottom: 2px; width: 1px; margin-inline-start: -.5px;
  background: var(--text-3); opacity: 0; pointer-events: none;
  transition: opacity .14s ease;
}
.spark-cur > b {
  position: absolute; left: 50%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--text); transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px var(--surface);
}
.metric-card.is-scrub .spark-cur,
.node-hist.is-scrub .spark-cur { opacity: 1; }
.spark-axis {
  display: flex; justify-content: space-between; gap: 10px; margin: 1px 0 3px;
  font-size: 11px; font-weight: 600; color: var(--text-3);
}
.delta {
  display: inline-flex; align-items: center; gap: 3px; flex: none;
  font-size: 11.5px; font-weight: 700; letter-spacing: .01em;
  padding: 3px 8px 3px 6px; border-radius: 999px;
  color: var(--text-2); background: var(--surface-2);
}
.delta .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.delta.is-up,
.delta.is-down { color: var(--text); }
.delta.is-flat { padding: 3px 9px; }
.gauge-card { display: flex; flex-direction: column; align-items: center; padding: 16px 18px 16px; }
.gauge-wrap { position: relative; width: 100%; max-width: 264px; }
.gauge { display: block; width: 100%; height: auto; }
.gauge-track, .gauge-keep, .gauge-lost { fill: none; stroke-width: 15; }
.gauge-track { stroke: var(--surface-2); }
.gauge-keep { stroke: var(--ok); }
.gauge-lost { stroke: var(--bad); }
.gauge-cap { stroke: none; }
.gauge-cap.is-keep { fill: var(--ok); }
.gauge-cap.is-lost { fill: var(--bad); }
.gauge-read {
  position: absolute; left: 0; right: 0; bottom: 2px;
  display: flex; justify-content: center; gap: 26px;
}
.gauge-side { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1; }
.gauge-side b { font-size: 21px; font-weight: 800; letter-spacing: -.6px; }
.gauge-side small { font-size: 10.5px; font-weight: 650; color: var(--text-3); }
.gauge-side.is-keep { color: var(--ok); }
.gauge-side.is-lost { color: var(--bad); }
.gauge-card .stats-grid { width: 100%; margin-top: 12px; }
.funnel { display: flex; flex-direction: column; gap: 13px; padding: 15px 17px; }
.funnel-step { display: flex; flex-direction: column; gap: 6px; }
.funnel-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--text-2); }
.funnel-top b { font-size: 14.5px; font-weight: 750; color: var(--text); letter-spacing: -.1px; }
.funnel-top b i { font-style: normal; font-weight: 700; color: var(--text-2); margin-inline-start: 9px; }
.funnel-top b em { font-style: normal; font-size: 11.5px; font-weight: 650;
  color: var(--text-3); margin-inline-start: 7px; }
.funnel-bar { height: 8px; border-radius: 100px; background: var(--surface-2); overflow: hidden; }
.funnel-bar > i { display: block; height: 100%; border-radius: 100px; background: var(--text-2); }
.node-hist { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.node-hist .spark-cur { top: 0; bottom: 0; }
.node-hist-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 11.5px; font-weight: 600; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .04em; }
.node-hist-head b { font-size: 12px; font-weight: 700; color: var(--text-2); text-transform: none; letter-spacing: 0; }
.node-hist .spark { height: 44px; margin: 6px 0 0; }
.adm-stack {
  position: fixed; inset: 0; z-index: 70;
  overflow: hidden;
  background: var(--bg);
  transform-origin: 50% 0;
  filter: none;
  opacity: 1;
  transition: transform var(--dur-sheet) var(--ease-spring),
              filter var(--dur-sheet) var(--ease-spring),
              opacity calc(var(--dur-sheet) * .6) var(--ease-spring);
}
body.sheet-open .adm-stack {
  transform: scale(.955) translateY(4px);
  filter: blur(6px);
  opacity: 0;
}
.adm-stack[hidden] { display: none; }
.adm-modal-back {
  position: fixed; inset: 0; z-index: 95;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--safe-t) + 16px) 16px calc(var(--safe-b) + 16px);
  background: var(--backdrop);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .26s var(--ease-spring);
}
.adm-modal-back.show { opacity: 1; }
.adm-modal {
  width: 100%; max-width: 380px;
  max-height: 100%;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(20, 28, 66, .22);
  transform: scale(.94);
  opacity: 0;
  transition: transform .26s var(--ease-spring), opacity .26s var(--ease-spring);
}
.adm-modal-back.show .adm-modal { transform: scale(1); opacity: 1; }
.adm-modal.rest { transform: none; }
.adm-modal-head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 18px 12px;
}
.adm-modal-head h3 { font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.adm-modal-head .sheet-close { margin-inline-start: auto; }
.adm-modal-body { padding: 0 16px; overflow-y: auto; }
.adm-modal-foot { padding: 14px 16px calc(16px); }
.adm-modal-foot .btn { border-radius: 18px; padding: 15px 18px; font-size: 15px; }
:root[data-theme="dark"] .adm-modal { box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.adm-card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--bg);
}
.adm-card:not(.is-top) { pointer-events: none; }
.adm-scrim {
  position: absolute; inset: 0; z-index: 5;
  background: #000; opacity: 0; pointer-events: none;
}
.adm-scroll {
  flex: 1; min-height: 0;
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior-y: contain;
  padding: calc(14px + var(--safe-t)) 16px calc(var(--safe-b) + 32px);
  display: flex; flex-direction: column;
  width: 100%; max-width: 480px; margin: 0 auto;
}
.adm-large { flex: none; padding-bottom: 14px; }
.adm-large:empty { display: none; }
.adm-content { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.admin-skel { display: flex; flex-direction: column; gap: 8px;
  opacity: 0; animation: adm-skel-in .18s ease .22s forwards; }
@keyframes adm-skel-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .admin-skel { animation-duration: .01s; } }
.admin-skel-row {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 15px; border-radius: var(--r-sm);
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.admin-skel-ico { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.admin-skel-lines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.admin-skel-line { height: 11px; border-radius: 6px; }
.admin-skel-line.is-short { width: 45%; height: 9px; }
.admin-skel.is-stats { gap: 12px; }        
.sk-h { display: flex; align-items: center; gap: 9px; margin: 8px 4px 0; }
.sk-h-ico { width: 28px; height: 28px; border-radius: 9px; flex: none; }
.sk-h-txt { width: 104px; height: 13px; border-radius: 7px; }
.sk-metric { display: flex; flex-direction: column; padding: 15px 17px 12px; }
.sk-metric-title { width: 92px; height: 11px; border-radius: 6px; }
.sk-metric-value { width: 148px; height: 24px; border-radius: 8px; margin-top: 9px; }
.sk-metric-chart { height: 56px; border-radius: 12px; margin: 12px 0 8px; }
.sk-metric-cap { width: 156px; height: 9px; border-radius: 5px; }
.sk-kvs { display: flex; flex-direction: column; padding: 6px 18px; }
.sk-kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.sk-kv + .sk-kv { border-top: 1px solid var(--line); }
.sk-kv > i:first-child { width: 42%; height: 11px; border-radius: 6px; }
.sk-kv > i:last-child { width: 62px; height: 11px; border-radius: 6px; }
.adm-refresh {
  position: absolute; z-index: 3; left: 0; right: 0;
  top: calc(var(--safe-t) + 10px);
  display: grid; place-items: center;
  pointer-events: none;
  opacity: var(--pull, 0);
  transform: translateY(calc(-14px + 20px * var(--pull, 0)))
             scale(calc(.7 + .3 * var(--pull, 0)));
}
.adm-refresh .icon {
  width: 19px; height: 19px; color: var(--text-3); stroke-width: 2.2;
  transform: rotate(calc(var(--pull, 0) * 260deg));
}
.adm-refresh.is-spinning .icon { animation: adm-spin 1s linear infinite; transform: none; }
@media (prefers-reduced-motion: reduce) { .adm-refresh.is-spinning .icon { animation: none; } }
.toast-undo {
  position: fixed;
  left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 30px);
  transform: translate(-50%, 16px);
  z-index: 121;
  max-width: min(calc(100vw - 32px), 420px);
  display: flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 20px;
  border-radius: 100px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700;
  box-shadow: var(--shadow-float);
  opacity: 0;
  transition: opacity .28s ease, transform var(--dur-sheet) var(--ease-spring);
  white-space: nowrap;
}
.toast-undo.on { opacity: 1; transform: translate(-50%, 0); }
.toast-undo button {
  flex: none; padding: 8px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 700;
  color: var(--surface); background: var(--text);
  transition: transform .14s ease, opacity .14s ease;
}
.toast-undo button:active { transform: scale(.95); opacity: .9; }
.toast-undo i {
  position: absolute; left: 0; bottom: 0; height: 2px;
  width: 100%;
  background: var(--text-3); border-radius: 0 0 100px 100px;
  transform-origin: left;
  animation: undo-drain 5s linear forwards;
}
@keyframes undo-drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  .toast-undo i { animation: none; transform: scaleX(0); }
}
.adm-peek-veil {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .18s ease;
}
.adm-peek-veil.on { opacity: 1; }
.adm-peek {
  position: fixed; z-index: 96;
  width: min(240px, calc(100vw - 32px));
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  transform-origin: 50% 0;
  transform: scale(.86); opacity: 0;
  transition: transform var(--dur-sheet) var(--ease-spring), opacity .16s ease;
}
.adm-peek.on { transform: scale(1); opacity: 1; }
.adm-peek button {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: start;
  padding: 13px 15px; font-size: 15px; font-weight: 600; color: var(--text);
  transition: background-color .14s ease;
}
.adm-peek button + button { box-shadow: inset 0 1px 0 var(--line); }
.adm-peek button:active { background: var(--surface-2); }
.adm-peek button .icon { width: 19px; height: 19px; color: var(--text-2); flex: none; }
.adm-peek button.is-danger, .adm-peek button.is-danger .icon { color: var(--bad); }
.admin-row.is-peeked { transform: scale(1.02); z-index: 2; }
img.media-pending { opacity: 0; }
img.media-in { animation: media-in .34s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes media-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  img.media-pending { opacity: 1; }
  img.media-in { animation: none; }
}
.tabbar-wrap {
  transform:
    translateX(-50%)
    translateY(calc(var(--dock-hide, 0) * 155%))
    scale(calc(1 - var(--dock-hide, 0) * .1));
  transform-origin: 50% 130%;
  opacity: max(0, calc(1 - var(--dock-hide, 0) * 1.35));
}
.tabbar-wrap.is-tucked { pointer-events: none; }
.adm-view-scrim {
  position: fixed; inset: 0; z-index: 55;
  background: #000; opacity: 0; pointer-events: none;
}
.adm-view-scrim[hidden] { display: none; }
.yo {
  position: relative;
  overflow: hidden;
  padding: 12px 18px 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform .15s ease;
}
.yo:active { transform: scale(.995); }
.yo-shine { display: none; }
.yo > * { position: relative; z-index: 1; }
.yo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.yo-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: var(--text-3);
}
.yo-badge {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .2px;
  color: #7A5200; background: var(--gold-grad);
  box-shadow: 0 4px 10px rgba(244, 178, 33, .28),
              inset 0 1px 1px rgba(255, 255, 255, .55);
}
.yo-price {
  margin-top: 1px;      
  font-size: 40px; font-weight: 800; letter-spacing: -1.4px; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.yo-price b { font-weight: 800; color: var(--text); }
.yo-price small {
  margin-inline-start: 6px;
  font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--text-2);
}
.yo-meta {
  margin-top: 2px;      
  font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--text-2);
}
.yo-meta s { color: var(--text-3); text-decoration-thickness: 1.5px; margin-inline-start: 5px; }
.yo-actions { margin-top: 19px; }   
.login-wrap {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  padding: 20px 0 calc(var(--safe-b) + 24px);
}
.login-brand {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.login-mark { width: 72px; height: 72px; border-radius: var(--r-lg); display: block; }
.login-word { font-size: 27px; font-weight: 800; letter-spacing: -.5px; color: var(--text); }
.login-card { width: 100%; max-width: 440px; padding: 32px 28px 30px; }
.login-title {
  font-size: 19px; font-weight: 800; letter-spacing: -.5px;
  color: var(--text); margin: 0;
}
.login-sub {
  font-size: 13.5px; color: var(--text-2);
  margin: 7px 0 20px; line-height: 1.45;
}
.login-card .btn-primary { margin-top: 18px; padding-top: 16px; padding-bottom: 16px; }
html.app-ready .login-wrap { animation: login-in .34s cubic-bezier(.16, 1, .3, 1); }
@keyframes login-in {
  from { opacity: 0; transform: translateY(6px) scale(.994); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.app-ready .login-wrap { animation: none; }
}
html.is-login .tabbar-wrap { display: none; }
html.is-login #view > .screen {
  grid-template-columns: minmax(0, 1fr);
  align-content: stretch;
}
html.is-login #view {
  padding-top: 0;
  padding-bottom: 0;
  align-items: stretch;
}
@media (min-width: 900px) {
  #app { max-width: 1280px; }
  .sheet {
    width: min(100%, 480px);
    margin-inline: auto;
  }
}
@media (min-width: 900px) {
  .home-head .profile-chip { margin-inline-end: auto; }
  .home-head .about-chip { flex: none; }
}
@media (min-width: 1000px) {
  html.is-web, html.is-web body { background: #000; }
  html.is-web #app {
    width: 480px;
    max-width: 480px;
    margin: 20px auto;
    height: calc(100dvh - 40px);
    min-height: 0;
    border-radius: 46px;
    overflow: hidden;
    background: var(--bg);
    box-shadow: var(--shadow-soft);
    transform: translateZ(0);
  }
  html.is-web #view { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
  html.is-web #view { scrollbar-width: none; }
  html.is-web #view::-webkit-scrollbar { width: 0; height: 0; }
  html.is-web, html.is-web body { overflow: hidden; }
  html.is-web #app { --safe-t: 0px; --safe-b: 0px; }
}
@media (min-width: 1900px) and (min-aspect-ratio: 21/9) {
  .login-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    padding: 0;
    max-width: 940px;
    margin: 0 auto;
  }
  .login-brand { flex-direction: column; align-items: flex-start; gap: 18px; }
  .login-mark { width: 96px; height: 96px; }
  .login-word { font-size: 27px; }
  .login-card { max-width: none; margin: 0; }
}
[dir="rtl"] .chev { transform: scaleX(-1); }
[dir="rtl"] .period-pill .chev { transform: rotate(90deg); }
[dir="rtl"] .task-card .task-chev { transform: translateY(-50%) scaleX(-1); }
[dir="rtl"] .task-card .task-chev { right: auto; inset-inline-end: 15px; }
[dir="rtl"] :is(.opt-check, .i-check, .i-search, .i-logo, .i-mir, .i-refresh) {
  transform: none;
}
[dir="rtl"] #admStack { direction: ltr; text-align: start; }
[dir="rtl"] .pm-card { direction: ltr; }
[dir="rtl"] :is(.key-link code, .invite-link code, .mono-copy, .adm-id) {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}
[dir="rtl"] :is(.hero-days, .row-side, .total-line b, .metric b, .stat-body b,
                 .yo-price, .yo-meta, .yo-meta s) {
  unicode-bidi: isolate;
}
[dir="rtl"] * { letter-spacing: normal; }
[dir="rtl"] .hero-days { line-height: 1.25; }
[dir="rtl"] :is(.hero-plan, .plan-title, .sheet-title, .admin-title) { line-height: 1.35; }
[lang="ur"] body,
[lang="ur"] input,
[lang="ur"] button { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif; }
[lang="ur"] :is(body, .row-main, .sheet-body, .plan-sub) { line-height: 1.9; }
.lang-search {
  position: sticky;
  top: calc(-12px - 8px * var(--x));   
  z-index: 2;
  margin: calc(-12px - 8px * var(--x)) 0 12px;
  padding: calc(12px + 8px * var(--x)) 0 10px;
  background: var(--surface);
}
.lang-search .field { margin: 0; }
.sheet-cta { position: relative; }
.sheet-cta.is-busy {
  color: transparent;              
  pointer-events: none;
}
.sheet-cta.is-busy::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  color: #fff;
  animation: adm-spin .8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .sheet-cta.is-busy::before { animation: none; opacity: .6; }
}
html.lang-swap :is(#view, .sheet, .tabbar-wrap)
  :is(span, b, i, em, strong, small, p, label, h1, h2, h3, h4, code, li, a, button):not(:has(*)):not(:empty),
html.lang-swap-out :is(#view, .sheet, .tabbar-wrap)
  :is(span, b, i, em, strong, small, p, label, h1, h2, h3, h4, code, li, a, button):not(:has(*)):not(:empty) {
  border-radius: 999px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  cursor: default;
  transition: color .22s cubic-bezier(.4, 0, .2, 1),
              background-color .22s cubic-bezier(.4, 0, .2, 1);
}
html.lang-swap :is(#view, .sheet, .tabbar-wrap)
  :is(span, b, i, em, strong, small, p, label, h1, h2, h3, h4, code, li, a, button):not(:has(*)):not(:empty) {
  color: transparent !important;
  background-color: var(--sk);
}
html:is(.lang-swap, .lang-swap-out) #screen-admin
  :is(span, b, i, em, strong, small, p, label, h1, h2, h3, h4, code, li, a, button) {
  color: inherit !important;
  background-color: transparent;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  html:is(.lang-swap, .lang-swap-out) :is(#view, .sheet, .tabbar-wrap)
    :is(span, b, i, em, strong, small, p, label, h1, h2, h3, h4, code, li, a, button) {
    transition: none;
  }
}
.sheet-body .btn[hidden] { display: none; }
