@charset "UTF-8";
@property --light-x {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 72%;
}
@property --light-y {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 0%;
}
@property --prism-angle {
  syntax: '<angle>';
  inherits: true;
  initial-value: 115deg;
}
:root {
  color-scheme:dark;
  --bg:#09090c;
  --surface:#101014;
  --surface-raised:#16161c;
  --line:#22222b;
  --text:#f5f5f8;
  --muted:#9a9aa8;
  --silver:#e2e4ee;
  --best:#b4e6ff;
  --best-prism:linear-gradient(90deg,#91e5ff 0%,#c9b3ff 54%,#f2ace6 100%);
  --good:#9ab4dc;
  --inaccuracy:#e4c882;
  --mistake:#f082a0;
  --gold:#dec068;
  --radius:14px;
  --font:"Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --prism:linear-gradient(110deg,#ededff 3%,#b7b5ff 35%,#eda5e8 62%,#a6d8ff 86%,#e6faff);
  --prism-engine:linear-gradient(110deg,#c2a9ff 0%,#91e5ff 25%,#f1ebd6 32%,#e4c6ee 38%,#f1a3de 47%,#b9b4ff 59%,#91e5ff 79%,#f1ebd6 86%,#dcc9f3 92%,#e7b2f5 100%);
  --gutter:56px;
  --banner-text-halo:0 0 1px #000,0 0 3px #000,0 0 8px #000,0 0 16px #000,0 0 28px #000a;
  font-family:var(--font);
  font-synthesis:none;
}
* { box-sizing:border-box; }
html {
  scroll-behavior:smooth;
  scroll-padding-top:0;
  scrollbar-gutter:stable;
}
body {
  margin:0;
  overflow-x:clip;
  background:var(--bg);
  color:var(--text);
  font-size:1rem;
  line-height:1.6;
}
button,input { font:inherit; }
button,a,label,summary { -webkit-tap-highlight-color:transparent; }
button {
  cursor:pointer;
  color:inherit;
  text-align:left;
}
a {
  color:inherit;
  text-decoration:none;
}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible {
  outline:2px solid var(--silver);
  outline-offset:4px;
}
button:disabled {
  opacity:.38;
  cursor:default;
}
img { display:block; }
h1,h2,h3,p,dl,dd,ul { margin:0; }
h1,h2,h3 { text-wrap:balance; }
a,button { touch-action:manipulation; }
[hidden] { display:none!important; }
.visual-filters {
  position:absolute;
  pointer-events:none;
}
.shell {
  width:min(1220px,calc(100% - 2 * var(--gutter)));
  margin-inline:auto;
}
.muted { color:var(--muted); }
.accent { color:var(--silver); }
.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  z-index:20;
  background:var(--silver);
  color:var(--bg);
  padding:10px 20px;
}
.skip-link:focus { top:12px; }

/* Header & First Screen (Sanctuarized Prismatic Banner) */
.site-header {
  position:absolute;
  inset:0 0 auto;
  z-index:90;
  gap:16px;
  height:88px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  border-bottom:1px solid #ffffff1a;
}
.site-header .brand {
  justify-self:start;
}
.site-header .header-actions {
  justify-self:end;
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:1.5rem;
  font-weight:750;
  letter-spacing:-.055em;
  white-space:nowrap;
  flex-shrink:0;
}
.brand-tft {
  color:#9999a6;
  font-weight:500;
}
.brand img {
  width:40px;
  height:40px;
  object-fit:contain;
  flex-shrink:0;
}
.site-header nav.site-nav {
  justify-self:center;
  display:flex;
  align-items:center;
  gap:30px;
  color:#c8c8d6;
  font-size:0.875rem;
  font-weight:540;
  text-shadow:none;
}
.site-header nav.site-nav > a {
  padding:6px 0;
  white-space:nowrap;
  transition:color .16s;
}
.site-header nav.site-nav > a:hover,
.text-link:hover {
  color:#ffffff;
}
.site-header nav.site-nav > a[aria-current="page"] {
  color:#ffffff;
  font-weight:540;
}
.nav-dropdown {
  position:relative;
}
.nav-dropdown-trigger {
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:6px 0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  white-space:nowrap;
  text-shadow:inherit;
  transition:color .16s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger,
.nav-dropdown-trigger.is-current {
  color:#ffffff;
}
.nav-dropdown-trigger.is-current {
  font-weight:620;
}
.nav-chevron {
  color:#9d9db0;
  transition:transform .18s ease,color .16s;
}
.nav-dropdown-trigger:hover .nav-chevron,
.nav-dropdown.is-open .nav-chevron {
  color:#ffffff;
}
.nav-dropdown.is-open .nav-chevron {
  transform:rotate(180deg);
}
.nav-dropdown-panel {
  position:absolute;
  top:calc(100% + 10px);
  left:-10px;
  z-index:60;
  width:236px;
  padding:6px;
  border-radius:7px;
  background:#0e0e13;
  border:1px solid #23232d;
  box-shadow:0 16px 40px rgba(0,0,0,0.72);
  display:flex;
  flex-direction:column;
  gap:2px;
  text-shadow:none;
}
.nav-dropdown-item {
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:8px 10px;
  border-radius:5px;
  color:#e4e4ee;
  transition:background .14s,color .14s;
}
.nav-dropdown-item:hover {
  background:#17171f;
  color:#ffffff;
}
.nav-dropdown-item[aria-current="page"] {
  background:#15151d;
}
.nav-dropdown-title {
  color:#ededf4;
  font-size:0.84rem;
  font-weight:560;
  line-height:1.25;
}
.nav-dropdown-item:hover .nav-dropdown-title,
.nav-dropdown-item[aria-current="page"] .nav-dropdown-title {
  color:#ffffff;
}
.nav-dropdown-sub {
  color:#7e7e8f;
  font-size:0.74rem;
  font-weight:430;
  line-height:1.35;
}
.mobile-nav-meta {
  color:#7f7f91;
  font-size:0.75rem;
  font-weight:480;
}

/* Header Right Actions: 3-Level Visual Hierarchy (Log in -> Contact us -> Try Oracle) */
.header-actions {
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.auth-header-slot {
  display:inline-flex;
  align-items:center;
  margin-right:4px;
  flex-shrink:0;
}
/* Level 3: Plain borderless text link matching nav tabs */
.header-login-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  padding:0 8px;
  border:0;
  background:transparent;
  color:#d6d6e2;
  font-size:0.875rem;
  font-weight:500;
  white-space:nowrap;
  text-shadow:var(--banner-text-halo);
  transition:color .16s;
}
.header-login-link:hover {
  color:#ffffff;
}
/* Level 2: Sculpted dark obsidian-glass pill with crisp metallic rim */
.header-contact-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.22);
  background:rgba(16,16,22,0.72);
  backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.14),0 4px 16px rgba(0,0,0,0.42);
  color:#f2f2f7;
  font-size:0.825rem;
  font-weight:540;
  letter-spacing:-.008em;
  white-space:nowrap;
  transition:background .18s,border-color .18s,box-shadow .18s,color .18s;
}
.header-contact-btn:hover {
  background:rgba(30,30,40,0.88);
  border-color:rgba(255,255,255,0.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.22),0 6px 20px rgba(0,0,0,0.52);
  color:#ffffff;
}
/* Level 1: Luminous pearl-white pill with crisp specular edge */
.header-try-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.94);
  background-color:#ededf5;
  box-shadow:inset 0 1px 0 #ffffff,inset 0 -1px 0 rgba(0,0,0,0.08),0 6px 20px rgba(0,0,0,0.46),0 0 0 1px rgba(255,255,255,0.12);
  color:#09090c;
  font-size:0.825rem;
  font-weight:630;
  letter-spacing:-.012em;
  white-space:nowrap;
  transition:background-color .18s,box-shadow .18s,color .18s;
}
.header-try-btn:hover {
  background-color:#ffffff;
  color:#050507;
  box-shadow:inset 0 1px 0 #ffffff,inset 0 -1px 0 rgba(0,0,0,0.04),0 8px 24px rgba(0,0,0,0.54),0 0 18px rgba(226,232,255,0.22);
}

/* Signed-in Compact Account Menu (sits in Level 3 slot) */
.auth-account-menu {
  position:relative;
}
.auth-account-trigger {
  display:inline-flex;
  align-items:center;
  gap:7px;
  height:36px;
  padding:0 8px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#e4e4ef;
  font-size:0.84rem;
  font-weight:560;
  white-space:nowrap;
  text-shadow:var(--banner-text-halo);
  transition:background .15s,color .15s;
}
.auth-account-trigger:hover,
.auth-account-menu.is-open .auth-account-trigger {
  background:#ffffff10;
  color:#ffffff;
}
.auth-account-chevron {
  color:#9c9cae;
  transition:transform .16s ease;
}
.auth-account-menu.is-open .auth-account-chevron {
  transform:rotate(180deg);
}
.auth-user-avatar {
  display:inline-grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:5px;
  background:#222230;
  border:1px solid #38384a;
  color:#f2f2f7;
  font-size:0.65rem;
  font-weight:740;
  letter-spacing:.02em;
  text-shadow:none;
  flex-shrink:0;
}
.auth-user-name {
  max-width:108px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.auth-account-panel {
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  z-index:70;
  width:230px;
  padding:8px;
  border-radius:11px;
  background:#101016f7;
  backdrop-filter:blur(14px);
  border:1px solid #292936;
  box-shadow:0 20px 50px rgba(0,0,0,0.74),inset 0 1px 0 rgba(255,255,255,0.05);
  display:flex;
  flex-direction:column;
  gap:4px;
  text-shadow:none;
}
.auth-account-head {
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:6px 8px 8px;
  border-bottom:1px solid #20202b;
}
.auth-account-handle {
  color:#f4f4f8;
  font-size:0.86rem;
  font-weight:660;
}
.auth-account-email {
  color:#8d8d9f;
  font-size:0.73rem;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.auth-account-stats {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  padding:6px 4px;
}
.auth-account-stat {
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:7px 8px;
  border-radius:7px;
  background:#15151e;
  border:1px solid #232330;
}
.auth-account-stat span {
  color:#8f8fa2;
  font-size:0.68rem;
  font-weight:560;
}
.auth-account-stat strong {
  color:#f4f4f8;
  font-size:0.9rem;
  font-weight:720;
  font-variant-numeric:tabular-nums;
}
.auth-account-item {
  display:flex;
  align-items:center;
  width:100%;
  padding:8px 9px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#dcdce8;
  font-size:0.81rem;
  font-weight:560;
  transition:background .13s,color .13s;
}
.auth-account-item:hover {
  background:#1c1c27;
  color:#ffffff;
}
.auth-account-divider {
  height:1px;
  margin:2px 4px;
  background:#20202b;
}
.auth-account-item.is-logout {
  color:#c8c8d8;
}
.auth-account-item.is-logout:hover {
  background:#251820;
  color:#ffafc4;
}

/* Mobile Nav Trigger & Drawer */
.mobile-nav-toggle {
  display:none;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.22);
  background:rgba(16,16,22,0.74);
  backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.14);
  color:#ececf4;
  transition:background .16s,border-color .16s,color .16s;
}
.mobile-nav-toggle:hover {
  background:rgba(30,30,40,0.9);
  border-color:rgba(255,255,255,0.42);
  color:#ffffff;
}
.mobile-nav-drawer {
  position:absolute;
  top:calc(100% + 1px);
  left:calc(-1 * var(--gutter));
  right:calc(-1 * var(--gutter));
  z-index:65;
  padding:14px var(--gutter) 18px;
  background:#0c0c11f8;
  backdrop-filter:blur(16px);
  border-bottom:1px solid #262634;
  box-shadow:0 24px 56px rgba(0,0,0,0.82);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.mobile-nav-group {
  display:flex;
  flex-direction:column;
  gap:2px;
  padding-bottom:10px;
  border-bottom:1px solid #1d1d27;
}
.mobile-nav-label {
  padding:2px 8px 4px;
  color:#7f7f92;
  font-size:0.7rem;
  font-weight:640;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.mobile-nav-group a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:9px 8px;
  border-radius:7px;
  color:#e0e0ec;
  font-size:0.92rem;
  font-weight:560;
}
.mobile-nav-group a:hover,
.mobile-nav-group a[aria-current="page"] {
  background:#161620;
  color:#ffffff;
}
.mobile-nav-footer {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding-top:2px;
}
.mobile-drawer-login,
.mobile-drawer-contact,
.mobile-drawer-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:38px;
  padding:0 12px;
  border-radius:8px;
  font-size:0.84rem;
  font-weight:580;
}
.mobile-drawer-login,
.mobile-drawer-action {
  border:1px solid #2a2a38;
  background:#111118;
  color:#e8e8f2;
}
.mobile-drawer-contact {
  border:1px solid #343446;
  background:#1b1b26;
  color:#f5f5fa;
}
.mobile-auth-signed {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.mobile-auth-info {
  display:flex;
  flex-direction:column;
  min-width:0;
}
.mobile-auth-info strong {
  font-size:0.84rem;
  color:#f4f4f8;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mobile-auth-info span {
  font-size:0.72rem;
  color:#9292a4;
}
.mobile-auth-signed .mobile-drawer-action {
  width:auto;
  height:32px;
  padding:0 10px;
  font-size:0.76rem;
}

.site-header-sub {
  position:relative;
  inset:auto;
  border-bottom:1px solid var(--line);
}
.site-header-sub nav.site-nav,
.site-header-sub .header-login-link,
.site-header-sub .auth-account-trigger {
  text-shadow:none;
}
.button {
  display:inline-flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  padding:12px 20px;
  border:1px solid transparent;
  border-radius:8px;
  font-size:0.875rem;
  font-weight:600;
  transition:background .18s,border-color .18s;
}
.button-outline {
  border-color:#30303a;
  background:transparent;
  color:#e8e8f0;
}
.button-outline:hover {
  border-color:#626274;
  background:#ffffff06;
}
.button-primary {
  background:#f2f2f7;
  color:#09090c;
  border-color:#ffffff;
}
.button-primary:hover { background:#ffffff; }
.header-cta {
  padding:10px 16px;
  font-size:.8125rem;
  border-radius:7px;
}

.intro {
  position:relative;
  isolation:isolate;
  overflow:clip;
  display:grid;
  place-items:start center;
  min-height:100vh;
  min-height:100svh;
  padding:168px 0 88px;
  background:var(--bg);
}
.intro-layout { display:block; min-width:0; }
.intro-scene {
  position:absolute;
  inset:0;
  z-index:-1;
  overflow:hidden;
  opacity:var(--intro-art-opacity,1);
  pointer-events:none;
}
.intro-artwork {
  position:absolute;
  inset:0;
  transform-origin:78% 45%;
  animation:intro-breathe 18s ease-in-out infinite;
  animation-play-state:paused;
  will-change:transform;
}
.intro-scene img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:78% center;
  filter:url("#intro-crisp");
}
.intro-iris {
  position:absolute;
  visibility:hidden;
  pointer-events:none;
  mix-blend-mode:screen;
}
.intro-iris[data-aligned="true"] { visibility:visible; }
.iris-facet {
  opacity:0;
  animation:iris-facet-light 7s ease-in-out infinite;
  animation-play-state:paused;
}
.iris-facet-b { animation-delay:-3.1s; animation-duration:8.4s; }
.iris-facet-c { animation-delay:-5.3s; animation-duration:6.6s; }
.iris-glint {
  opacity:0;
  animation:iris-twinkle 6.8s ease-in-out infinite;
  animation-play-state:paused;
}
.iris-glint-a { animation-delay:-1.5s; }
.iris-glint-b { animation-delay:-4.1s; animation-duration:7.9s; }
.iris-glint-c { animation-delay:-3s; animation-duration:6.2s; }
.iris-glint-d { animation-delay:-.6s; animation-duration:8.2s; }
.iris-glint-e { animation-delay:-5s; animation-duration:7.1s; }
.iris-glint-f { animation-delay:-2.8s; animation-duration:8.6s; }
@keyframes iris-twinkle {
  0%,12%,75%,100% { opacity:0; }
  40% { opacity:.82; }
  54% { opacity:.18; }
}
@keyframes iris-facet-light {
  0%,100% { opacity:0; }
  45% { opacity:.15; }
  65% { opacity:.035; }
}
.intro-reflections {
  position:absolute;
  inset:-20%;
  pointer-events:none;
  background:linear-gradient(112deg,transparent 39%,#b7d9ff0d 46%,#e6d4ff29 50%,#9fd8ff0d 54%,transparent 61%);
  mix-blend-mode:screen;
  opacity:0;
  animation:intro-refraction 14s ease-in-out infinite;
  animation-play-state:paused;
}
.intro[data-motion="running"] .intro-artwork,
.intro[data-motion="running"] .intro-reflections,
.intro[data-motion="running"] .iris-glint,
.intro[data-motion="running"] .iris-facet,
.intro[data-motion="running"] .engine-version-prism {
  animation-play-state:running;
}
@keyframes intro-breathe {
  0%,100% { transform:scale(1.012) translate3d(0,0,0); }
  50% { transform:scale(1.024) translate3d(-.2%,.08%,0); }
}
@keyframes intro-refraction {
  0%,100% { transform:translate3d(-24%,0,0); opacity:0; }
  28% { opacity:.55; }
  60% { transform:translate3d(24%,0,0); opacity:.32; }
  80% { transform:translate3d(29%,0,0); opacity:0; }
}
.intro-scene::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#0007,transparent 62%),linear-gradient(180deg,#0005,transparent 20%,transparent 76%,#0009 92%,var(--bg));
}
.intro-copy {
  width:48%;
  min-width:0;
  display:flex;
  flex-direction:column;
  text-align:left;
  opacity:var(--intro-copy-opacity,1);
  transform:translate3d(0,var(--intro-copy-shift,0px),0);
  pointer-events:none;
}
.intro-copy:focus-within { opacity:1; }
.intro-lower {
  margin-top:clamp(96px,16vh,168px);
}
.engine-version-prism {
  color:#dad5f1;
  background:var(--prism-engine);
  background-size:240% 100%;
  background-position:0% 50%;
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:engine-prism 9s ease-in-out infinite;
  animation-play-state:paused;
}
@keyframes engine-prism {
  0%,100% { background-position:0% 50%; }
  50% { background-position:100% 50%; }
}
.engine-tagline {
  width:fit-content;
  margin:14px 0 0 clamp(24px,3.2vw,52px);
  color:#ece9f5;
  font-size:clamp(1.05rem,2.12vw,2.25rem);
  font-weight:550;
  letter-spacing:-.028em;
  line-height:1.22;
  white-space:nowrap;
  text-shadow:var(--banner-text-halo);
}
.intro-benefits {
  display:grid;
  gap:15px;
  margin:0;
  padding:0;
  list-style:none;
  color:#d6d2e2;
  font-size:clamp(.98rem,1.25vw,1.15rem);
  font-weight:450;
  line-height:1.42;
  letter-spacing:-.01em;
  text-shadow:var(--banner-text-halo);
}
.intro-benefits li {
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  align-items:center;
  gap:14px;
}
.intro-benefits svg {
  display:block;
  width:24px;
  height:24px;
  color:#b6afc8;
  filter:drop-shadow(0 0 3px #000) drop-shadow(0 0 9px #000b);
}
@keyframes prism-orbit {
  from { --prism-angle: 0deg; }
  to { --prism-angle: 360deg; }
}
.cta-arrow {
  color:#d4cce8;
  transition:transform .2s ease;
}
.engine-name {
  display:flex;
  width:fit-content;
  align-items:baseline;
  gap:.06em;
  color:#f1eff5;
  font-size:clamp(3.5rem,9.4vw,10rem);
  font-weight:600;
  letter-spacing:-.07em;
  line-height:1;
}
.engine-version {
  flex:none;
  padding-inline-end:.12em;
  margin-inline-end:-.12em;
  color:#c4c0ce;
  font-weight:500;
}

.service-status {
  position:relative;
  z-index:5;
  color:#a8a7b8;
  font-size:.75rem;
}
.intro-scroll { text-shadow:var(--banner-text-halo); }
.service-status summary {
  display:inline-flex;
  align-items:center;
  gap:8px;
  list-style:none;
  cursor:pointer;
  padding:6px 12px;
  min-height:34px;
  border-radius:999px;
  border:1px solid #242430;
  background:#0f0f14;
  transition:border-color .18s,color .18s,background .18s;
}
.service-status summary:hover,
.service-status[open] summary {
  border-color:#444458;
  background:#14141c;
  color:#efeff6;
}
.service-status summary::-webkit-details-marker { display:none; }
.service-status[open] summary>svg { transform:rotate(180deg); }
.service-indicator {
  width:6px;
  height:6px;
  flex-shrink:0;
  border-radius:50%;
  background:#93909e;
}
.service-status[data-state="operational"] .service-indicator { background:#a5d5c2; }
.service-status[data-state="degraded"] .service-indicator,
.service-status[data-state="maintenance"] .service-indicator { background:#d8b895; }
.service-status[data-state="offline"] .service-indicator { background:#db9b9b; }
.service-status[data-state="unavailable"] .service-indicator { background:#b5a4b9; }
.service-panel {
  position:absolute;
  right:0;
  left:auto;
  bottom:calc(100% + 10px);
  width:min(330px,calc(100vw - 48px));
  padding:20px;
  background:#111115f7;
  border:1px solid #3d3549;
  border-radius:12px;
  box-shadow:0 12px 42px #0006;
}
.service-panel-title { font-size:.875rem; font-weight:600; color:#eee8f5; }
.service-panel dl { margin:17px 0; }
.service-panel dl>div {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  margin-top:10px;
}
.service-panel dt { color:#a9a2b6; }
.service-panel dd { margin:0; text-align:right; color:#ddd4e9; }
#service-detail { color:#a9a2b6; line-height:1.7; }
.service-panel-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:15px;
  border-top:1px solid #302938;
  padding-top:10px;
}
.service-panel time { color:#9990a7; font-size:.75rem; }
.service-panel button {
  border:0;
  background:transparent;
  color:#d7c6ee;
  min-height:36px;
  padding:4px 0 4px 8px;
  font-size:.75rem;
}
.intro-scroll {
  position:absolute;
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:4px;
  padding:8px 16px;
  color:#bab4c8;
  font-size:0.76rem;
  font-weight:500;
  letter-spacing:.02em;
  white-space:nowrap;
  transition:color .18s;
}
.intro-scroll:hover {
  color:#ffffff;
}
.intro-scroll-label {
  color:inherit;
}
.intro-scroll-arrow {
  font-size:1.15rem;
  line-height:1;
  color:#e4ddf2;
  transition:transform .25s ease,color .18s;
}
.intro-scroll:hover .intro-scroll-arrow { transform:translateY(4px); color:#ffffff; }

/* Below the fold: Clean Uniform Typography & Subtle Surface Reflections */
#review:focus,#try:focus,#how-main:focus { outline:none; }
:is(.try-section,.review-section,.puzzles-promo-section,.bento-section,.method-section,.plans-section,.faq-section,.how-hero,.how-contrast,.how-verdicts,.how-closing) p { text-wrap:pretty; }

.try-section {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:64px;
  align-items:center;
  padding-block:96px;
  border-top:1px solid var(--line);
}
.try-section h2 {
  font-size:clamp(2.15rem,3.6vw,3rem);
  font-weight:680;
  line-height:1.1;
  letter-spacing:-.045em;
  margin-bottom:16px;
}
.hero-description {
  color:var(--muted);
  line-height:1.72;
  max-width:430px;
  font-size:1.02rem;
}
.text-link {
  font-size:0.875rem;
  color:#d2d2de;
}
.hero-workspace { min-width:0; }

.upload-card {
  background:var(--surface);
  border:1px solid #2c2c36;
  border-radius:var(--radius);
  padding:24px;
  position:relative;
  isolation:isolate;
  --light-x:72%;
  --light-y:0%;
  transition:--light-x .45s ease-out,--light-y .45s ease-out;
}
@supports (mask-composite:exclude) {
  :is(.upload-card,.bento-card,.plan-card,.verdict-card)::before {
    content:"";
    position:absolute;
    inset:-1px;
    border-radius:inherit;
    pointer-events:none;
    padding:1px;
    background:
      radial-gradient(240px circle at var(--light-x) var(--light-y),#eceaff78 0%,#b8b2f034 34%,transparent 70%),
      linear-gradient(135deg,#ffffff16,transparent 35%,transparent 70%,#ffffff10);
    mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    mask-composite:exclude;
  }
}
.upload-card-title {
  font-weight:650;
  font-size:1.25rem;
  letter-spacing:-.03em;
}
.dropzone {
  display:flex;
  position:relative;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  border:1px dashed #3d3d4a;
  background:#0c0c10;
  border-radius:9px;
  margin-top:18px;
  padding:24px 14px;
  cursor:pointer;
  transition:border-color .2s,background .2s;
}
.dropzone:hover,.dropzone:focus-within,.dropzone.dragging {
  border-color:#7d7d92;
  background:#131319;
}
.dropzone input {
  position:absolute;
  inset:0;
  opacity:0;
  width:100%;
  height:100%;
  cursor:pointer;
}
.upload-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border:1px solid #3a3a48;
  border-radius:7px;
  color:var(--silver);
  font-size:1.35rem;
  line-height:1;
  margin-bottom:8px;
}
.dropzone strong { font-size:0.9375rem; font-weight:600; }
.dropzone>span:not(.upload-icon) { font-size:0.8125rem; color:var(--muted); }
.dropzone small { color:#7c7c8d; font-size:0.75rem; margin-top:8px; }
.upload-card .file-status {
  font-size:0.75rem;
  text-align:center;
  margin-top:14px;
  min-height:18px;
  color:#8c8c9c;
}
.upload-card .file-status.error { color:#ffb4a4; }
.try-fallback {
  margin-top:14px;
  text-align:center;
  color:#858596;
  font-size:0.81rem;
  line-height:1.5;
}
.try-fallback a {
  color:#d4d4e2;
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-color:#4c4c60;
  transition:color .15s,text-decoration-color .15s;
}
.try-fallback a:hover {
  color:#ffffff;
  text-decoration-color:#ffffff99;
}

.local-preview { padding-bottom:76px; scroll-margin-top:30px; }
.local-preview video {
  display:block;
  width:100%;
  max-height:560px;
  background:#000;
  border:1px solid var(--line);
  border-radius:10px;
}
.video-filename { overflow-wrap:anywhere; margin-bottom:12px; color:var(--silver); font-size:0.875rem; }
.video-note { font-size:0.875rem; color:var(--muted); margin-top:12px; }

.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.section-heading h2 {
  font-weight:680;
  font-size:clamp(1.9rem,3vw,2.4rem);
  letter-spacing:-.045em;
  line-height:1.15;
}
.section-subcopy {
  margin-top:8px;
  color:var(--muted);
  font-size:0.98rem;
}

/* =========================================================
   WORLDS SHOWCASE + CHESS.COM-STYLE 2-COLUMN GAME REVIEW
   ========================================================= */
.review-section {
  position:relative;
  isolation:isolate;
  padding-block:68px 76px;
}
.review-section.is-fullscreen-host,
.review-section:has(.review-window.is-expanded-frame),
.review-section:has(.review-window:fullscreen) {
  z-index:9999;
}
.review-section::before {
  content:"";
  position:absolute;
  inset:16px 0 auto;
  height:440px;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(ellipse 60% 45% at 50% 20%,#b7b5ff12 0%,#91e5ff08 42%,transparent 74%);
}
.keynote-head {
  text-align:center;
  max-width:1040px;
  margin-inline:auto;
  margin-bottom:44px;
}
.keynote-kicker {
  margin-bottom:14px;
  color:#9a9aac;
  font-size:0.78rem;
  font-weight:650;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.keynote-head h2 {
  font-size:clamp(2.25rem,4.5vw,3.95rem);
  font-weight:700;
  letter-spacing:-.055em;
  line-height:1.06;
  color:var(--text);
}
.review-section .keynote-head {
  max-width:960px;
  margin-bottom:32px;
}
.review-section .keynote-head h2 {
  font-size:clamp(1.9rem,3.5vw,3.15rem);
  font-weight:700;
  letter-spacing:-.045em;
  line-height:1.1;
}
.review-section .keynote-sub {
  max-width:740px;
  margin:12px auto 0;
  font-size:0.94rem;
  line-height:1.58;
  color:#9a9aa8;
}
.keynote-sub {
  max-width:790px;
  margin:18px auto 0;
  color:var(--muted);
  font-size:clamp(0.98rem,1.15vw,1.08rem);
  line-height:1.62;
  text-wrap:balance;
}
.review-window {
  display:grid;
  grid-template-columns:minmax(0,1fr) 368px;
  width:100%;
  max-width:1220px;
  margin-inline:auto;
  border:1px solid #22222b;
  border-radius:10px;
  overflow:hidden;
  background:#0c0c10;
  --cost-1:#8f9aa6;
  --cost-2:#1fb37a;
  --cost-3:#2f8fe0;
  --cost-4:#b74ee0;
  --cost-5:#f0b43a;
}

/* Left Column: Game View (Puzzles-Unified Obsidian Framework with Held Units List) */
.game-view {
  padding:14px 18px 14px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:10px;
  min-width:0;
  background:#0c0c10;
}
.game-hud {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:start;
  gap:10px;
  min-height:46px;
  font-size:0.8125rem;
}
.hud-left {
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  min-width:0;
  max-width:100%;
  justify-self:start;
}
.hud-round {
  color:#f2f2f7;
  font-size:1rem;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.hud-portal {
  margin-left:4px;
  padding:3px 10px;
  border-radius:6px;
  border:1px solid #2b2b38;
  background:#14141c;
  color:#e8e8f2;
  font-size:0.88rem;
  font-weight:600;
  transition:border-color .15s,background .15s,color .15s;
}
.review-window .hud-portal {
  margin-left:0;
  padding:5px 12px;
  border-radius:6px;
  border:1px solid #2c2c38;
  background:#14141b;
  color:#eeeef6;
  font-size:0.9rem;
  font-weight:660;
  line-height:1.25;
  white-space:nowrap;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
}
.hud-portal:hover,
.hud-portal:focus-visible {
  border-color:#56566e;
  background:#1b1b26;
  color:#fff;
}
.has-tooltip {
  cursor:help;
}
.hud-right {
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
  justify-self:end;
}
.hud-board-toggle {
  height:30px;
  padding:0 11px;
  border-radius:6px;
  border:1px solid #2e2e3d;
  background:#14141b;
  color:#e4e4f0;
  font-size:0.76rem;
  font-weight:620;
  white-space:nowrap;
  transition:border-color .15s,background .15s,color .15s;
}
.hud-board-toggle:hover {
  border-color:#56566e;
  background:#1d1d27;
  color:#fff;
}
.hud-board-toggle.is-on {
  border-color:#6884a8;
  background:#131826;
  color:var(--best);
}
.coach-phase-tracker {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:0;
}
.coach-phase-box {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:32px;
  min-width:0;
  padding:0 16px;
  border-radius:6px;
  background:#14141c;
  border:1px solid #2c2c3a;
  color:#f2f2f7;
  font-size:0.84rem;
  font-weight:680;
  letter-spacing:-.01em;
  white-space:nowrap;
}
.coach-phase-stepper {
  list-style:none;
  padding:0;
  margin:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.coach-phase-step {
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.coach-phase-pip-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 0;
  border:0;
  background:transparent;
  cursor:pointer;
}
.coach-phase-pip {
  display:block;
  width:24px;
  height:6px;
  border-radius:2px;
  background:#16161e;
  border:1px solid #303040;
  transition:background .18s ease,border-color .18s ease;
}
.coach-phase-pip-btn:hover .coach-phase-pip {
  border-color:#5b5b74;
}
.coach-phase-step.is-done .coach-phase-pip {
  background:#f0f1f6;
  border-color:#ffffff;
}
.coach-phase-step.is-active .coach-phase-pip {
  background:#4bc979;
  border-color:#72e69c;
}
.coach-fullscreen-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  padding:0;
  border-radius:6px;
  border:1px solid #282834;
  background:#14141b;
  color:#b6b6c8;
  cursor:pointer;
  flex-shrink:0;
  transition:border-color .13s,background .13s,color .13s;
}
.coach-fullscreen-btn:hover {
  border-color:#444458;
  background:#1d1d27;
  color:#ffffff;
}
.phase-toggle {
  display:inline-flex;
  padding:2px;
  border-radius:7px;
  border:1px solid #2b2b38;
  background:#101015;
}
.hud-step {
  color:#9a9aac;
  font-size:0.8rem;
  font-weight:560;
}
.phase-btn {
  padding:4px 13px;
  border:0;
  border-radius:5px;
  background:transparent;
  color:#8f8fa0;
  font-size:0.78rem;
  font-weight:600;
  transition:color .15s,background .15s;
}
.phase-btn:hover { color:#dedee8; }
.phase-btn.active {
  background:#20202b;
  color:#fff;
}
.shop-gold {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-bottom:-6px;
  color:#fff;
  font-size:1.15rem;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  line-height:1;
  text-shadow:0 1px 0 #000,0 0 6px #000c;
}
.shop-gold-coin { width:24px; height:auto; }

.board-canvas {
  display:grid;
  grid-template-columns:46px 142px minmax(0,1fr);
  align-items:stretch;
  gap:0;
  flex:1;
  min-height:0;
  border-radius:10px;
  border:1px solid #23232d;
  background:#101016;
  overflow:hidden;
}
/* One fixed-height stage: identical height across Step 0 and all Steps 1..16 */
.game-stage {
  height:484px;
}
.board-block {
  display:flex;
  flex-direction:column;
  gap:14px;
  height:100%;
}
.tiers-block {
  display:flex;
  flex-direction:column;
  gap:7px;
  padding-top:4px;
  height:100%;
  overflow:visible;
}
.tiers-block.is-many-tiers {
  padding-top:0;
  gap:8px;
}
.tiers-history {
  position:relative;
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:7px;
  overflow-y:auto;
  padding:8px 9px 4px 2px;
  scrollbar-width:thin;
  scrollbar-color:#2c2c38 transparent;
}
.tier-row {
  padding:6px 11px 7px;
  border-radius:9px;
  background:#111117;
  border:1px solid #1e1e28;
  overflow:visible;
  transition:border-color .15s,background .15s;
}
.tier-row.is-final {
  flex:1;
  background:#13131a;
  border-color:#2b2b38;
}
.tiers-block.is-many-tiers .tier-row.is-final {
  flex:0 0 auto;
}
.tier-row.is-current {
  border-color:#5a5a72;
  background:#17171f;
}
.tier-row-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:5px;
}
.tier-row-label {
  color:#9a9aac;
  font-size:0.74rem;
  font-weight:600;
}
.tier-row.is-final .tier-row-label,
.tier-row.is-current .tier-row-label { color:#ececf4; }
.tier-row-verdict {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#a8a8ba;
  font-size:0.72rem;
  font-weight:600;
  font-variant-numeric:tabular-nums;
}
.tier-row-verdict.is-best { color:var(--best); }
.tier-row-verdict.is-mistake { color:var(--mistake); }
.tier-row-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.tier-aug {
  position:relative;
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:6px 9px;
  border-radius:7px;
  background:#16161e;
  border:1.5px solid #252532;
  min-width:0;
  overflow:visible;
}
.tier-aug.is-kept { opacity:.74; }
.tier-aug.is-rolled { border-color:#3f4a62; }
.tier-row.is-final .tier-aug { padding:10px; }
.tier-aug.is-best { border-color:#8dc6f2; background:linear-gradient(135deg,#131826 0%,#171426 100%); }
.tier-aug.is-mistake { border-color:#c95c7c; background:#1d1117; }
.tier-aug-top {
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.tier-aug-top img {
  width:24px;
  height:24px;
  border-radius:4px;
  flex-shrink:0;
}
.tier-aug-name {
  flex:1;
  min-width:0;
  color:#ededf5;
  font-size:0.76rem;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.tier-aug-tag {
  flex-shrink:0;
  color:#a9b6cc;
  font-size:0.68rem;
  font-weight:650;
  font-variant-numeric:tabular-nums;
}
.tier-aug-desc {
  color:#9c9cae;
  font-size:0.7rem;
  line-height:1.4;
}
.tier-aug .shop-score-under { margin-top:auto; padding:0; }
.tier-aug-pin {
  position:absolute;
  top:-8px;
  right:-8px;
  display:block;
  line-height:0;
  border-radius:50%;
  box-shadow:0 0 0 2px #13131a,0 2px 6px #0009;
}
.board-canvas[hidden] { display:none; }
.trait-tracker {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  width:142px;
  padding:8px;
  background:#0c0c12;
  border-right:1px solid #1c1c26;
  flex-shrink:0;
}
.synergy-row {
  display:flex;
  align-items:center;
  gap:5px;
  padding:3px 7px 3px 4px;
  border-radius:6px;
  background:#12131ad9;
  border:1px solid #222430;
  transition:border-color .15s,background .15s;
}
.synergy-row:hover,
.synergy-row:focus-visible {
  border-color:#4a4d66;
  background:#191b25;
  outline:none;
}
.synergy-row.is-active {
  background:linear-gradient(90deg,#221a14 0%,#15161f 100%);
  border-color:#6d4e36;
  box-shadow:inset 0 1px 0 #ffffff10,0 2px 6px #0006;
}
.synergy-row.is-active:hover,
.synergy-row.is-active:focus-visible {
  border-color:#9e7350;
  background:linear-gradient(90deg,#2a2018 0%,#1a1b26 100%);
}
.synergy-hex {
  display:grid;
  place-items:center;
  width:22px;
  height:24px;
  flex-shrink:0;
  clip-path:polygon(50% 0%,96% 25%,96% 75%,50% 100%,4% 75%,4% 25%);
  background:#232634;
}
.synergy-row.is-active .synergy-hex {
  width:24px;
  height:26px;
  background:linear-gradient(180deg,#cf9463 0%,#83502b 100%);
}
.synergy-hex img {
  display:block;
  width:13px;
  height:13px;
  opacity:.72;
}
.synergy-row.is-active .synergy-hex img {
  width:14px;
  height:14px;
  opacity:1;
  filter:drop-shadow(0 1px 1px #000b);
}
.synergy-count {
  padding:1px 4px;
  border-radius:3px;
  background:#261d17;
  border:1px solid #59412e;
  color:#f7ede2;
  font-size:0.69rem;
  font-weight:750;
  font-variant-numeric:tabular-nums;
  line-height:1.15;
  flex-shrink:0;
}
.synergy-meta {
  display:flex;
  flex-direction:column;
  gap:1px;
  min-width:0;
}
.synergy-name {
  color:#a0a2b6;
  font-size:0.67rem;
  font-weight:580;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.synergy-row.is-active .synergy-name {
  color:#f3f3fa;
  font-size:0.69rem;
  font-weight:680;
}
.synergy-bp {
  color:#6d6f82;
  font-size:0.59rem;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  line-height:1.1;
  white-space:nowrap;
}
.synergy-bp .bp-on {
  color:#f2dfd0;
  font-weight:760;
}
.synergy-more-pill {
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:5px;
  background:#20222f;
  color:#b6b8cc;
  font-size:0.64rem;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  flex-shrink:0;
}

.item-dock {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:46px;
  height:100%;
  padding:8px 0;
  background:#0b0b10;
  border-top:0;
  border-right:1px solid #1c1c26;
  overflow-y:auto;
}
.item-rail {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.rail-slot {
  position:relative;
  width:30px;
  height:30px;
  flex-shrink:0;
  border-radius:6px;
  overflow:hidden;
  border:1px solid #6b5a33;
  background:#15151c;
  box-shadow:0 0 0 1px #000a;
}
.rail-slot.is-empty {
  border:1px solid #21212b;
  background:#101015;
  box-shadow:inset 0 0 8px #0008;
}
.rail-slot img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.rail-qty {
  position:absolute;
  right:1px;
  bottom:1px;
  padding:0 3px;
  border-radius:3px;
  background:#09090cee;
  color:#fff;
  font-size:0.62rem;
  font-weight:750;
  line-height:1.25;
}

/* Unified Plateau Arena + Non-Overlapping Held Units */
.board-stage {
  display:grid;
  grid-template-rows:minmax(0,1fr);
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  background:#101016;
}
.board-arena {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:26px;
  padding:12px 10px 10px;
  min-width:0;
  min-height:0;
  overflow-y:auto;
}
.arena-corner-label {
  position:absolute;
  top:10px;
  left:13px;
  color:#787b90;
  font-size:0.68rem;
  font-weight:650;
  letter-spacing:.04em;
  text-transform:uppercase;
  line-height:1;
  pointer-events:none;
  user-select:none;
}
.arena-orbs {
  display:inline-flex;
  align-items:flex-start;
  gap:10px;
  flex-shrink:0;
}
.arena-orbs-title {
  margin-top:19px;
  color:#a2a4b8;
  font-size:0.76rem;
  font-weight:660;
  letter-spacing:.01em;
  line-height:1;
  white-space:nowrap;
}
.arena-orbs-row {
  display:inline-flex;
  align-items:flex-start;
  gap:10px;
}
.arena-orb-item {
  margin-top:11px;
}
.units-row-items,
.units-list {
  display:flex;
  align-items:flex-start;
  flex-wrap:wrap;
  column-gap:6px;
  row-gap:9px;
}
.units-list { justify-content:center; }
.held-unit-item {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  width:52px;
}
.held-unit-item.is-sold .held-unit-name {
  color:#7e7e90;
}
.bench-unit {
  position:relative;
  width:52px;
  height:52px;
  border-radius:6px;
  border:1.75px solid var(--cost-1);
  background:#121218;
  overflow:visible;
}
.bench-unit.cost-2 { border-color:var(--cost-2); }
.bench-unit.cost-3 { border-color:var(--cost-3); }
.bench-unit.cost-4 { border-color:var(--cost-4); }
.bench-unit.cost-5 { border-color:var(--cost-5); }
.bench-unit.is-moved { box-shadow:0 0 0 1px #fff6,0 0 10px #ffffff2e; }
.bench-unit.is-sold > img {
  opacity:.42;
  filter:saturate(.35);
}
.bench-unit > img {
  display:block;
  border-radius:4.5px;
  width:100%;
  height:100%;
  object-fit:cover;
}
.bench-stars {
  position:absolute;
  top:-8px;
  left:50%;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  padding:1px 4px;
  border-radius:99px;
  background:#0a0d13eb;
  border:1px solid #262b36;
  gap:0;
  z-index:2;
}
.bench-stars img { width:12px; height:12px; }
.unit-tag-orb {
  position:absolute;
  top:-6px;
  left:-4px;
  padding:0 4px;
  border-radius:3px;
  background:#14151e;
  border:1px solid #3c3f52;
  color:#d6d8e8;
  font-size:0.54rem;
  font-weight:650;
  line-height:1.3;
  z-index:2;
}
.unit-tag-sold {
  position:absolute;
  bottom:2px;
  left:50%;
  transform:translateX(-50%);
  padding:0 5px;
  border-radius:3px;
  background:#09090ceb;
  border:1px solid #3a3c4a;
  color:#c8c8d6;
  font-size:0.55rem;
  font-weight:650;
  line-height:1.25;
  z-index:2;
}
.held-unit-name {
  color:#dcdce8;
  font-size:0.68rem;
  font-weight:560;
  line-height:1.3;
  padding-bottom:1px;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Bottom Action Tray: locked height across Overview, Stage 1 shops, and 2-1 Augment offers */
.action-tray {
  height:158px;
  min-height:158px;
  max-height:158px;
  flex:0 0 158px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:11px 12px;
  border-radius:10px;
  background:linear-gradient(180deg,#16161d,#101015);
  border:1px solid #23232d;
  overflow:visible;
}
.action-tray.is-tiers {
  padding:4px 0 0;
  background:none;
  border:0;
}

/* =========================================================
   COACHING FRAMEWORK — PUZZLES-UNIFIED OBSIDIAN LAYOUT
   Strictly scoped to .review-window (zero impact on puzzles.html)
   ========================================================= */
.review-window .game-stage {
  height:516px;
}
.review-window .board-block {
  gap:8px;
}
.review-window .board-canvas {
  --coach-item-sz:42px;
  --coach-trait-w:162px;
  --coach-side-w:216px;
  --coach-board-max:358px;
  --coach-unit-sz:62px;
  --coach-orb-col:80px;
  display:grid;
  grid-template-columns:minmax(var(--coach-side-w),1fr) minmax(0,var(--coach-board-max)) minmax(var(--coach-side-w),1fr);
  align-items:center;
  column-gap:12px;
  flex:1 1 auto;
  min-height:0;
  border:0;
  border-radius:0;
  background:transparent;
  overflow:visible;
}
.review-window .coach-left-dock {
  grid-column:1;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.review-window .item-dock {
  width:auto;
  height:auto;
  max-height:100%;
  padding:4px 4px;
  background:transparent;
  border:0;
  justify-content:safe center;
  overflow-x:hidden;
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:#2c2c38 transparent;
}
.review-window .item-rail {
  gap:6px;
}
.review-window .item-dock .rail-slot {
  width:var(--coach-item-sz);
  height:var(--coach-item-sz);
  border-radius:6px;
  border:1px solid #2a2a36;
  background:#14141b;
  box-shadow:none;
  overflow:visible;
  transition:border-color .13s,background .13s;
}
.review-window .item-dock .rail-slot:not(.is-empty):hover {
  border-color:#b89a4e;
  background:#1a1a23;
}
.review-window .item-dock .rail-slot.is-empty {
  border:1px dashed #23232e;
  background:#0e0e13;
  box-shadow:none;
}
.review-window .item-dock .rail-slot img {
  border-radius:4px;
}
.review-window .item-dock .rail-qty {
  right:-2px;
  bottom:-2px;
  min-width:16px;
  padding:0 3.5px;
  border-radius:3px;
  background:#09090cf2;
  border:1px solid #353542;
  color:#f2f2f7;
  font-size:0.62rem;
  font-weight:720;
  line-height:1.3;
  text-align:center;
  font-variant-numeric:tabular-nums;
}
.review-window .trait-tracker {
  width:var(--coach-trait-w);
  padding:0;
  gap:5px;
  background:transparent;
  border:0;
  overflow:visible;
}
.review-window .trait-tracker .synergy-row {
  min-height:38px;
  padding:4px 9px 4px 7px;
  gap:8px;
  border-radius:7px;
}
.review-window .trait-tracker .synergy-hex {
  width:28px;
  height:30px;
}
.review-window .trait-tracker .synergy-row.is-active .synergy-hex {
  width:30px;
  height:32px;
}
.review-window .trait-tracker .synergy-hex img {
  width:16px;
  height:16px;
}
.review-window .trait-tracker .synergy-row.is-active .synergy-hex img {
  width:17px;
  height:17px;
}
.review-window .trait-tracker .synergy-count {
  padding:2px 5px;
  font-size:0.76rem;
}
.review-window .trait-tracker .synergy-meta {
  gap:2px;
}
.review-window .trait-tracker .synergy-name {
  color:#d4d6e4;
  font-size:0.8rem;
  font-weight:660;
  line-height:1.18;
}
.review-window .trait-tracker .synergy-row.is-active .synergy-name {
  color:#ffffff;
  font-size:0.8rem;
  font-weight:700;
}
.review-window .trait-tracker .synergy-bp {
  color:#8a8da4;
  font-size:0.69rem;
  line-height:1.15;
}
.review-window .trait-tracker .synergy-row.is-more-btn {
  width:100%;
  text-align:left;
  cursor:pointer;
  background:#13141c;
  border-color:#2d2f3f;
  font-family:inherit;
}
.review-window .trait-tracker .synergy-row.is-more-btn:hover {
  border-color:#535772;
  background:#1b1d28;
}
.review-window .trait-tracker .synergy-more-pill {
  width:28px;
  height:28px;
  border-radius:6px;
  background:#202230;
  border:1px solid #35384b;
  color:#e4e6f2;
  font-size:0.74rem;
  font-weight:740;
}
.review-window .board-stage {
  grid-column:2;
  background:transparent;
  align-self:center;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:auto;
}
.review-window .board-arena {
  position:relative;
  width:100%;
  height:256px;
  min-height:256px;
  max-height:256px;
  padding:28px 14px 20px;
  gap:0;
  border-radius:10px;
  background:#101015;
  border:1px solid #242430;
  overflow:visible;
}
.coach-board-label {
  position:absolute;
  top:10px;
  left:13px;
  color:#7e8094;
  font-size:0.65rem;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
  line-height:1;
  pointer-events:none;
  user-select:none;
}
.review-window .units-list {
  column-gap:10px;
  row-gap:14px;
}
.review-window .held-unit-item {
  width:var(--coach-unit-sz);
  gap:5px;
}
.review-window .bench-unit {
  width:var(--coach-unit-sz);
  height:var(--coach-unit-sz);
  border-radius:6px;
}
.review-window .bench-stars.is-2star {
  top:-9px;
  height:18px;
  padding:0 6px;
  gap:1.5px;
  border-radius:999px;
  background:linear-gradient(180deg,#2a3140 0%,#141720 100%);
  border:1.4px solid #e4eeff;
  box-shadow:0 2px 8px rgba(0,0,0,0.68),0 0 8px rgba(226,238,255,0.36);
}
.review-window .bench-stars svg {
  display:block;
  width:10px;
  height:10px;
}
.review-window .held-unit-name {
  color:#e4e4f0;
  font-size:0.74rem;
  font-weight:600;
}

/* Vertical Right-Side Orb Drop Panel (balanced inside the symmetric right wing) */
.review-window .arena-orbs {
  grid-column:3;
  align-self:center;
  justify-self:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:0;
}
.coach-orb-box {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding:10px 9px;
  border-radius:8px;
  background:#111116;
  border:1px solid #282834;
}
.coach-orb-title {
  color:#a8a8bc;
  font-size:0.65rem;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
  white-space:nowrap;
  line-height:1.1;
}
.coach-orb-icons {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
}
.coach-orb-tile {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:var(--coach-item-sz);
  height:var(--coach-item-sz);
  border-radius:6px;
  background:#0d0d12;
  border:1.5px solid #2f2f3c;
  overflow:visible;
  transition:border-color .13s;
}
.coach-orb-tile.cost-1 { border-color:var(--cost-1); }
.coach-orb-tile.cost-2 { border-color:var(--cost-2); }
.coach-orb-tile.cost-3 { border-color:var(--cost-3); }
.coach-orb-tile.cost-4 { border-color:var(--cost-4); }
.coach-orb-tile.cost-5 { border-color:var(--cost-5); }
.coach-orb-tile.is-item:hover { border-color:#b89a4e; }
.coach-orb-tile img {
  display:block;
  width:100%;
  height:100%;
  border-radius:4px;
  object-fit:cover;
}
.coach-orb-badge {
  position:absolute;
  right:-3px;
  bottom:-3px;
  min-width:16px;
  padding:0 3.5px;
  border-radius:3px;
  background:#09090cf2;
  border:1px solid #353542;
  color:#f2f2f7;
  font-size:0.62rem;
  font-weight:720;
  line-height:1.3;
  text-align:center;
  font-variant-numeric:tabular-nums;
}

/* Raised Gold Annex + Flat Obsidian Shop Dock (matches Puzzles .arena-bottom-dock) */
.coach-bottom-dock {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  flex-shrink:0;
}
.coach-gold-annex-row {
  display:flex;
  align-items:flex-end;
  justify-content:center;
  width:100%;
}
.review-window .shop-gold {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:4px 16px 5px;
  margin-bottom:-1px;
  position:relative;
  z-index:3;
  background:#101015;
  border:1px solid #262632;
  border-bottom:0;
  border-radius:8px 8px 0 0;
  color:#fff;
  font-size:1.05rem;
  font-weight:800;
  line-height:1;
  text-shadow:0 1px 0 #000;
}
.review-window .shop-gold-coin {
  width:20px;
  height:20px;
}
.review-window .action-tray {
  border-radius:8px;
  background:#101015;
  border:1px solid #262632;
  padding:10px 11px;
}
.review-window .coach-sidebar {
  border-left:1px solid #22222b;
  background:#101015;
}
.review-window .coach-body {
  padding:14px 14px 10px;
  gap:8px;
}
.review-window .coach-dialog {
  height:132px;
  min-height:132px;
  max-height:132px;
  transition:height .18s ease,min-height .18s ease,max-height .18s ease;
}
.review-window .coach-dialog .speech-bubble {
  max-height:132px;
  transition:max-height .18s ease;
}
.review-window .coach-dialog.is-explain-open {
  height:220px;
  min-height:220px;
  max-height:220px;
}
.review-window .coach-dialog.is-explain-open .speech-bubble {
  max-height:220px;
}
.coach-moves-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  height:28px;
  min-height:28px;
  max-height:28px;
  padding:0 2px 2px;
  margin-top:2px;
  flex-shrink:0;
}
.coach-moves-label {
  color:#8f8fa0;
  font-size:0.74rem;
  font-weight:660;
  letter-spacing:.04em;
  text-transform:uppercase;
  line-height:1.2;
}
.coach-moves-head .round-reliability {
  row-gap:4px;
}
.coach-moves-head .round-reliability.is-hidden-intro {
  display:none;
}
.coach-moves-head .rel-value {
  font-size:0.96rem;
}

/* Reproportioned Game Summary Panel (exact continuity with Moves list) */
.review-window .match-summary {
  padding:15px 14px;
  justify-content:space-between;
  gap:14px;
}
.review-window .match-summary-head {
  gap:10px;
  align-items:stretch;
}
.review-window .match-summary-metric {
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  padding:11px 13px 12px;
  border-radius:8px;
  background:linear-gradient(180deg,#14141d 0%,#101017 100%);
  border:1px solid #22222f;
  transition:border-color .15s,background .15s;
}
.review-window .match-summary-metric.is-rel {
  padding-left:13px;
  border-left:1px solid #22222f;
}
.review-window .match-summary-metric:hover,
.review-window .match-summary-metric:focus-visible {
  border-color:#36364a;
  background:linear-gradient(180deg,#181823 0%,#12121b 100%);
}
.review-window .match-summary-label {
  font-size:0.71rem;
  font-weight:620;
  letter-spacing:.035em;
  text-transform:uppercase;
  color:#9294aa;
}
.review-window .match-summary-score {
  font-size:1.78rem;
  font-weight:760;
  letter-spacing:-.03em;
  color:#f6f7fc;
}
.review-window .match-summary-score.is-rel {
  font-size:1.78rem;
  font-weight:740;
  letter-spacing:-.03em;
  color:#d9dced;
}
.review-window .match-phases {
  gap:11px;
  padding-top:14px;
  border-top:1px solid #1c1c26;
}
.review-window .match-phase-row {
  grid-template-columns:minmax(0,1fr) 104px 40px;
  gap:10px;
  font-size:0.84rem;
  line-height:1.25;
}
.review-window .match-phase-name {
  color:#c8c9da;
  font-weight:580;
}
.review-window .match-phase-track {
  height:6px;
  background:#1a1a24;
}
.review-window .match-phase-pct {
  font-size:0.85rem;
  font-weight:730;
}
.review-window .match-counts {
  gap:10px;
  padding-top:14px;
  border-top:1px solid #1c1c26;
}
.review-window .match-count-row {
  grid-template-columns:20px minmax(0,1fr) auto;
  gap:10px;
  font-size:0.85rem;
  line-height:1.25;
}
.review-window .match-count-name {
  color:#c8c9da;
  font-weight:560;
}
.review-window .match-count-num {
  font-size:0.94rem;
  font-weight:740;
  color:#f4f5fb;
}

/* Reproportioned Moves List (uses reclaimed vertical space, identical frame to Summary) */
.review-window .move-list {
  padding:4px 0;
}
.review-window .move-btn {
  grid-template-columns:22px 20px minmax(0,1fr) 20px;
  gap:9px;
  padding:6px 11px;
  font-size:0.815rem;
  line-height:1.25;
}
.review-window .move-icon {
  width:20px;
  height:20px;
}
.review-window .move-num {
  font-size:0.76rem;
}
.review-window .move-row.is-transition {
  margin-block:3px;
}
.review-window .move-list > .move-row.is-transition:first-child {
  margin-top:0;
  border-top:0;
}
.review-window .move-btn.is-transition {
  padding:6px 11px;
  font-size:0.74rem;
}

.review-window:fullscreen .coach-body,
.review-window.is-expanded-frame .coach-body {
  padding:clamp(14px, 1.8vh, 22px) clamp(14px, 1.4vw, 20px) 12px;
  gap:10px;
}
.review-window:fullscreen .coach-dialog,
.review-window.is-expanded-frame .coach-dialog {
  height:122px;
  min-height:122px;
  max-height:122px;
}
.review-window:fullscreen .coach-dialog .speech-bubble,
.review-window.is-expanded-frame .coach-dialog .speech-bubble {
  max-height:122px;
}
.review-window:fullscreen .coach-dialog.is-explain-open,
.review-window.is-expanded-frame .coach-dialog.is-explain-open {
  height:clamp(206px, 21vh, 236px);
  min-height:clamp(206px, 21vh, 236px);
  max-height:clamp(206px, 21vh, 236px);
}
.review-window:fullscreen .coach-dialog.is-explain-open .speech-bubble,
.review-window.is-expanded-frame .coach-dialog.is-explain-open .speech-bubble {
  max-height:clamp(206px, 21vh, 236px);
}
.review-window:fullscreen .match-summary,
.review-window.is-expanded-frame .match-summary {
  justify-content:flex-start;
  padding:clamp(18px, 2.2vh, 24px) 18px;
  gap:clamp(20px, 2.6vh, 30px);
}
.review-window:fullscreen .match-summary-metric,
.review-window.is-expanded-frame .match-summary-metric {
  padding:14px 15px 15px;
}
.review-window:fullscreen .match-summary-score,
.review-window.is-expanded-frame .match-summary-score,
.review-window:fullscreen .match-summary-score.is-rel,
.review-window.is-expanded-frame .match-summary-score.is-rel {
  font-size:1.95rem;
}
.review-window:fullscreen .match-phases,
.review-window.is-expanded-frame .match-phases,
.review-window:fullscreen .match-counts,
.review-window.is-expanded-frame .match-counts {
  padding-top:clamp(16px, 2vh, 22px);
  gap:13px;
}
.review-window:fullscreen .match-phase-row,
.review-window.is-expanded-frame .match-phase-row {
  grid-template-columns:minmax(0,1fr) 124px 44px;
  font-size:0.88rem;
}
.review-window:fullscreen .match-count-row,
.review-window.is-expanded-frame .match-count-row {
  font-size:0.89rem;
}
.review-window:fullscreen .move-btn,
.review-window.is-expanded-frame .move-btn {
  padding:7.5px 12px;
  font-size:0.84rem;
}
.review-window:fullscreen .move-btn.is-transition,
.review-window.is-expanded-frame .move-btn.is-transition {
  padding:7px 12px;
  font-size:0.76rem;
}

/* True Full-Viewport Edge-to-Edge Fullscreen Mode for Coaching */
.review-window:fullscreen,
.review-window.is-expanded-frame {
  position:fixed;
  inset:0;
  z-index:9999;
  max-width:none;
  width:100vw;
  height:100vh;
  margin:0;
  border:0;
  border-radius:0;
  background:#0c0c10;
  grid-template-columns:minmax(0,1fr) clamp(360px, 26vw, 430px);
}
.review-window:fullscreen .game-view,
.review-window.is-expanded-frame .game-view {
  height:100%;
  padding:clamp(14px, 1.8vh, 22px) clamp(18px, 2.2vw, 30px) clamp(14px, 1.8vh, 22px);
  gap:clamp(10px, 1.5vh, 18px);
}
.review-window:fullscreen .hud-portal,
.review-window.is-expanded-frame .hud-portal {
  font-size:clamp(0.86rem, 1.05vw, 1.08rem);
  padding:clamp(5px, 0.7vh, 7px) clamp(11px, 1.1vw, 16px);
}
.review-window:fullscreen .coach-phase-box,
.review-window.is-expanded-frame .coach-phase-box {
  height:clamp(32px, 3.8vh, 40px);
  padding:0 clamp(14px, 1.6vw, 22px);
  font-size:clamp(0.8rem, 0.98vw, 1rem);
}
.review-window:fullscreen .coach-phase-pip,
.review-window.is-expanded-frame .coach-phase-pip {
  width:clamp(22px, 2.4vw, 34px);
  height:clamp(5px, 0.7vh, 7px);
}
.review-window:fullscreen .coach-fullscreen-btn,
.review-window.is-expanded-frame .coach-fullscreen-btn {
  width:34px;
  height:34px;
}
.review-window:fullscreen .hud-board-toggle,
.review-window.is-expanded-frame .hud-board-toggle {
  height:34px;
  padding:0 13px;
  font-size:0.82rem;
}
.review-window:fullscreen .game-stage,
.review-window.is-expanded-frame .game-stage {
  height:auto;
  flex:1 1 auto;
  min-height:0;
}
.review-window:fullscreen .board-canvas,
.review-window.is-expanded-frame .board-canvas {
  --coach-item-sz:clamp(44px, min(4vw, 6.2vh), 60px);
  --coach-trait-w:clamp(184px, 16vw, 236px);
  --coach-side-w:calc(var(--coach-item-sz) + var(--coach-trait-w) + clamp(18px, 1.8vw, 28px));
  --coach-board-max:clamp(440px, 46vw, 700px);
  --coach-unit-sz:clamp(64px, min(5.2vw, 8vh), 78px);
  --coach-orb-col:clamp(84px, 6.8vw, 96px);
  width:100%;
  max-width:none;
  margin-inline:0;
  grid-template-columns:minmax(var(--coach-side-w),1fr) minmax(0,var(--coach-board-max)) minmax(var(--coach-side-w),1fr);
  column-gap:clamp(16px, 2vw, 28px);
}
.review-window:fullscreen .board-arena,
.review-window.is-expanded-frame .board-arena {
  min-height:clamp(280px, 42vh, 410px);
  padding:clamp(30px, 3.6vh, 40px) clamp(18px, 2vw, 28px) clamp(22px, 2.8vh, 30px);
  border-radius:12px;
}
.review-window:fullscreen .coach-board-label,
.review-window.is-expanded-frame .coach-board-label {
  top:13px;
  left:16px;
  font-size:0.7rem;
}
.review-window:fullscreen .coach-left-dock,
.review-window.is-expanded-frame .coach-left-dock {
  gap:clamp(12px, 1.3vw, 20px);
}
.review-window:fullscreen .trait-tracker,
.review-window.is-expanded-frame .trait-tracker {
  gap:clamp(5px, 0.8vh, 8px);
}
.review-window:fullscreen .trait-tracker .synergy-row,
.review-window.is-expanded-frame .trait-tracker .synergy-row {
  min-height:clamp(40px, 5.2vh, 52px);
  padding:5px 11px 5px 8px;
  gap:10px;
}
.review-window:fullscreen .trait-tracker .synergy-hex,
.review-window.is-expanded-frame .trait-tracker .synergy-hex {
  width:clamp(30px, 2.4vw, 36px);
  height:clamp(32px, 2.6vw, 39px);
}
.review-window:fullscreen .trait-tracker .synergy-row.is-active .synergy-hex,
.review-window.is-expanded-frame .trait-tracker .synergy-row.is-active .synergy-hex {
  width:clamp(32px, 2.6vw, 38px);
  height:clamp(34px, 2.8vw, 41px);
}
.review-window:fullscreen .trait-tracker .synergy-hex img,
.review-window.is-expanded-frame .trait-tracker .synergy-hex img {
  width:clamp(17px, 1.4vw, 21px);
  height:clamp(17px, 1.4vw, 21px);
}
.review-window:fullscreen .trait-tracker .synergy-name,
.review-window.is-expanded-frame .trait-tracker .synergy-name {
  font-size:clamp(0.84rem, 0.96vw, 0.96rem);
}
.review-window:fullscreen .trait-tracker .synergy-bp,
.review-window.is-expanded-frame .trait-tracker .synergy-bp {
  font-size:clamp(0.72rem, 0.82vw, 0.82rem);
}
.review-window:fullscreen .trait-tracker .synergy-more-pill,
.review-window.is-expanded-frame .trait-tracker .synergy-more-pill {
  width:clamp(30px, 2.4vw, 36px);
  height:clamp(30px, 2.4vw, 36px);
  font-size:clamp(0.76rem, 0.88vw, 0.88rem);
}
.review-window:fullscreen .units-list,
.review-window.is-expanded-frame .units-list {
  column-gap:clamp(12px, 1.4vw, 20px);
  row-gap:clamp(14px, 2vh, 22px);
}
.review-window:fullscreen .bench-stars.is-2star,
.review-window.is-expanded-frame .bench-stars.is-2star {
  top:-10px;
  height:20px;
  padding:0 7px;
}
.review-window:fullscreen .bench-stars svg,
.review-window.is-expanded-frame .bench-stars svg {
  width:11px;
  height:11px;
}
.review-window:fullscreen .held-unit-name,
.review-window.is-expanded-frame .held-unit-name {
  font-size:clamp(0.78rem, 0.9vw, 0.88rem);
}
.review-window:fullscreen .coach-bottom-dock,
.review-window.is-expanded-frame .coach-bottom-dock {
  width:100%;
  max-width:1160px;
  margin-inline:auto;
}
.review-window:fullscreen .shop-gold,
.review-window.is-expanded-frame .shop-gold {
  padding:5px 20px 6px;
  font-size:clamp(1.08rem, 1.25vw, 1.26rem);
}
.review-window:fullscreen .shop-gold-coin,
.review-window.is-expanded-frame .shop-gold-coin {
  width:22px;
  height:22px;
}
.review-window:fullscreen .action-tray,
.review-window.is-expanded-frame .action-tray {
  height:auto;
  min-height:172px;
  max-height:none;
  flex:0 0 auto;
  padding:clamp(12px, 1.4vh, 16px) clamp(12px, 1.4vw, 16px);
}
.review-window:fullscreen .shop-strip,
.review-window.is-expanded-frame .shop-strip {
  gap:clamp(8px, 1vw, 12px);
}
.review-window:fullscreen .shop-foot,
.review-window.is-expanded-frame .shop-foot {
  height:clamp(24px, 3vh, 28px);
  padding:0 9px;
}
.review-window:fullscreen .shop-name,
.review-window.is-expanded-frame .shop-name,
.review-window:fullscreen .shop-coin,
.review-window.is-expanded-frame .shop-coin {
  font-size:clamp(0.74rem, 0.88vw, 0.84rem);
}
.review-window:fullscreen .shop-traits li,
.review-window.is-expanded-frame .shop-traits li {
  font-size:clamp(0.66rem, 0.76vw, 0.74rem);
}
.review-window:fullscreen .tiers-block,
.review-window.is-expanded-frame .tiers-block {
  max-width:1080px;
  width:100%;
  margin-inline:auto;
  justify-content:center;
  gap:clamp(10px, 1.4vh, 16px);
}
.review-window:fullscreen .tier-row,
.review-window.is-expanded-frame .tier-row {
  padding:clamp(10px, 1.3vh, 14px) clamp(12px, 1.4vw, 16px);
}
.review-window:fullscreen .tier-row.is-final,
.review-window.is-expanded-frame .tier-row.is-final {
  flex:0 0 auto;
}
.review-window:fullscreen .tier-aug-name,
.review-window.is-expanded-frame .tier-aug-name {
  font-size:clamp(0.8rem, 0.95vw, 0.92rem);
}
.review-window:fullscreen .tier-aug-desc,
.review-window.is-expanded-frame .tier-aug-desc {
  font-size:clamp(0.74rem, 0.85vw, 0.84rem);
}
.shop-strip {
  container-type:inline-size;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  width:100%;
  overflow:visible;
}
@container (max-width:520px) {
  .shop-strip .trait-name { display:none; }
}
.shop-slot-col {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  overflow:visible;
}
.shop-card {
  position:relative;
  display:flex;
  flex-direction:column;
  overflow:visible;
  border-radius:4px;
  background:#0b0d11;
  border:1.5px solid #566070;
  box-shadow:0 2px 6px #0008;
}
.shop-card.cost-2 { border-color:#1e8d64; }
.shop-card.cost-3 { border-color:var(--cost-3); }
.shop-card.cost-4 { border-color:var(--cost-4); }
.shop-card.cost-5 { border-color:var(--cost-5); }
.shop-card.is-passed {
  border-color:#262834;
}
.shop-card.is-passed .shop-art-box,
.shop-card.is-passed .shop-foot {
  opacity:.38;
  filter:saturate(.45);
}
.shop-card.is-bought .shop-art-box,
.shop-card.is-bought .shop-foot {
  opacity:.32;
  filter:saturate(.35);
}
.shop-card.is-bought {
  border-color:#2a2c38;
}
.shop-card.is-active {
  border-color:#e6e6f0;
  box-shadow:0 0 0 1px #e6e6f055,0 2px 6px #0008;
}
.shop-art-box {
  position:relative;
  width:100%;
  aspect-ratio:256 / 152;
  border-radius:2.5px 2.5px 0 0;
  overflow:hidden;
}
.shop-art {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.shop-art-box::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(24deg,#06080c7a 0%,#06080c2e 28%,transparent 52%);
  pointer-events:none;
}
.shop-traits {
  position:absolute;
  left:5px;
  bottom:5px;
  z-index:2;
  display:grid;
  gap:2.5px;
  margin:0;
  padding:0;
  list-style:none;
}
.shop-traits li {
  display:flex;
  align-items:center;
  gap:4px;
  color:#f0f1f5;
  font-size:0.62rem;
  font-weight:600;
  line-height:1;
  text-shadow:0 1px 2px #000,0 0 4px #000c;
  white-space:nowrap;
}
.trait-badge {
  display:grid;
  place-items:center;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#181c24e6;
  box-shadow:inset 0 0 0 1px #454d5c;
  flex-shrink:0;
}
.trait-badge img { width:8.5px; height:8.5px; }
.shop-foot {
  height:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:4px;
  padding:0 7px;
  border-radius:0 0 2.5px 2.5px;
  overflow:hidden;
  background:linear-gradient(90deg,#1d222c,#262c39);
  border-top:1px solid #ffffff14;
  flex-shrink:0;
}
.shop-card.cost-2 .shop-foot {
  background:linear-gradient(90deg,#103125,#164131);
}
.shop-name {
  color:#eff1f6;
  font-size:0.7rem;
  font-weight:650;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.shop-score-under {
  display:grid;
  gap:4px;
  padding:0 2px;
  flex-shrink:0;
}
.shop-score-track {
  height:4px;
  border-radius:99px;
  background:#1f1f2a;
  overflow:hidden;
}
.shop-score-fill {
  height:100%;
  border-radius:inherit;
  background:#7c7e90;
}
.shop-score-fill.is-high { background:var(--best-prism); }
.shop-score-fill.is-alt { background:var(--good); }
.shop-score-fill.is-bad { background:var(--mistake); }
.shop-score-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:4px;
  font-size:0.67rem;
  line-height:1.15;
  font-variant-numeric:tabular-nums;
}
.shop-score-meta.is-pct-only {
  justify-content:flex-end;
}
.shop-score-state { color:#767688; }
.shop-score-state.is-high { color:#bcbccc; }
.shop-score-state.is-alt { color:var(--good); font-weight:600; }
.shop-score-state.is-bad { color:var(--mistake); font-weight:600; }
.shop-score-val { color:#dedee8; font-weight:650; }
.shop-score-val.is-high { color:var(--best); }
.shop-score-val.is-alt { color:var(--good); }
.shop-score-val.is-bad { color:var(--mistake); }

/* Unified Prismatic Move Grade Frame + Faceted Top-Right Gem */
.card-grade-pin {
  position:absolute;
  top:-9px;
  right:-9px;
  z-index:5;
  display:block;
  line-height:0;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,0.88));
  pointer-events:none;
}
.bench-unit .card-grade-pin {
  top:-8px;
  right:-8px;
}
.shop-card.is-grade-best,
.bench-unit.is-grade-best,
.tier-aug.is-grade-best,
.aug-card.is-grade-best {
  border-color:#9cd6ff;
  box-shadow:0 0 0 1px rgba(186,184,255,0.34),0 4px 14px #000a;
}
.tier-aug.is-grade-best,
.aug-card.is-grade-best {
  background:linear-gradient(135deg,#131826 0%,#171426 100%);
}
.shop-card.is-grade-good,
.bench-unit.is-grade-good,
.tier-aug.is-grade-good,
.aug-card.is-grade-good {
  border-color:#6d86b2;
  box-shadow:0 0 0 1px rgba(154,180,220,0.26),0 4px 14px #000a;
}
.tier-aug.is-grade-good,
.aug-card.is-grade-good {
  background:#12151f;
}
.shop-card.is-grade-inaccuracy,
.bench-unit.is-grade-inaccuracy,
.tier-aug.is-grade-inaccuracy,
.aug-card.is-grade-inaccuracy {
  border-color:#cca95f;
  box-shadow:0 0 0 1px rgba(228,200,130,0.26),0 4px 14px #000a;
}
.tier-aug.is-grade-inaccuracy,
.aug-card.is-grade-inaccuracy {
  background:#1a1610;
}
.shop-card.is-grade-mistake,
.bench-unit.is-grade-mistake,
.tier-aug.is-grade-mistake,
.aug-card.is-grade-mistake {
  border-color:#dc6888;
  box-shadow:0 0 0 1px rgba(240,130,160,0.3),0 4px 14px #000a;
}
.tier-aug.is-grade-mistake,
.aug-card.is-grade-mistake {
  background:#1d1117;
}

/* 2-1 Augment offer (one state per move) */
.aug-offer {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:8px;
  width:100%;
  height:100%;
  overflow:visible;
}
.aug-card {
  position:relative;
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:10px 12px;
  border-radius:8px;
  background:#14141b;
  border:1.5px solid #252532;
  min-width:0;
  overflow:visible;
}
.aug-card.is-kept { opacity:.74; }
.aug-card.is-new { border-color:#5a5a70; }
.aug-card.is-best { border-color:#8dc6f2; background:linear-gradient(135deg,#131826 0%,#171426 100%); }
.aug-card.is-mistake { border-color:#c95c7c; background:#1d1117; }
.aug-card-top {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
.aug-card-top img {
  width:30px;
  height:30px;
  border-radius:5px;
  flex-shrink:0;
}
.aug-card-name {
  color:#ededf5;
  font-size:0.82rem;
  font-weight:650;
  line-height:1.25;
}
.aug-card-desc {
  color:#9c9cae;
  font-size:0.72rem;
  line-height:1.4;
}
.aug-card .shop-score-under { margin-top:auto; padding:0; }
.aug-card-new {
  margin-top:auto;
  color:#8f8fa0;
  font-size:0.67rem;
}
.shop-coin {
  display:inline-flex;
  align-items:center;
  gap:3px;
  color:#f4f5f8;
  font-size:0.7rem;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  flex-shrink:0;
}
.shop-coin::before {
  content:"";
  width:11px;
  height:10px;
  background:url(/assets/ui/gold.svg) center/contain no-repeat;
}

/* 2-1 Chronological Augment Tiers */
.tiers-stack {
  display:grid;
  gap:12px;
}
.aug-tier {
  padding:10px 12px;
  border-radius:9px;
  background:#111117;
  border:1px solid #1e1e28;
}
.aug-tier.is-final-tier {
  padding:12px;
  background:#13131a;
  border-color:#2b2b38;
}
.aug-tier-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
  font-size:0.72rem;
}
.aug-tier-title {
  color:#9898aa;
  font-weight:600;
}
.aug-tier.is-final-tier .aug-tier-title {
  color:#e4e4f0;
}
.aug-tier-verdict {
  font-weight:600;
  font-size:0.7rem;
}
.aug-tier-verdict.is-ok { color:var(--best); }
.aug-tier-verdict.is-bad { color:var(--mistake); }

.aug-tier-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.tier-card {
  position:relative;
  padding:8px 9px;
  border-radius:7px;
  background:#16161e;
  border:1px solid #252532;
  min-width:0;
  transition:opacity .15s,border-color .15s,background .15s;
}
.aug-tier.is-final-tier .tier-card {
  padding:11px 10px;
}
.tier-card.state-carried,
.tier-card.state-idle {
  opacity:.55;
}
.tier-card:hover,
.tier-card:focus-visible {
  opacity:1;
  border-color:#4b4b60;
}
.tier-card.state-rerolled {
  border-color:#42574e;
  background:#141a18;
}
.tier-card.state-best {
  border-color:#689680;
  background:#131b18;
}
.tier-card.state-mistake {
  border-color:#96604b;
  background:#1b1413;
}
.tier-card-top {
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
.tier-card-top img {
  width:22px;
  height:22px;
  border-radius:4px;
  flex-shrink:0;
}
.aug-tier.is-final-tier .tier-card-top img {
  width:26px;
  height:26px;
}
.tier-card-name {
  font-size:0.74rem;
  font-weight:600;
  color:#ededf5;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  flex:1;
}
.tier-roll-tag {
  font-size:0.65rem;
  font-weight:700;
  color:var(--best);
  flex-shrink:0;
}
.tier-card-desc {
  margin-top:6px;
  font-size:0.7rem;
  line-height:1.4;
  color:#9c9cae;
}
.corner-pin {
  position:absolute;
  top:-7px;
  right:-7px;
  width:20px;
  height:20px;
  border-radius:50%;
  font-size:0.7rem;
  font-weight:800;
  color:#0c0c10;
  display:grid;
  place-items:center;
  box-shadow:0 2px 6px #0009;
}
.corner-pin.best { background:var(--best); }
.corner-pin.mistake { background:var(--mistake); }

/* Right Column: Coach Sidebar. On desktop its content fills the row height set by the
   game view, so long comments shrink the move list instead of resizing the frame. */
.coach-sidebar {
  position:relative;
  border-left:1px solid var(--line);
  background:#121217;
  min-width:0;
}
.coach-sidebar-inner {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
}
.round-strip {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 16px;
  border-bottom:1px solid var(--line);
  background:#0f0f14;
}
.round-strip-main {
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.round-strip-title {
  color:#f4f4f8;
  font-size:0.95rem;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.round-strip-verdict {
  font-size:0.84rem;
  font-weight:600;
  white-space:nowrap;
}
.round-strip-verdict::before {
  content:"· ";
  color:#5c5d70;
}
.round-strip-verdict.is-best { color:var(--best); }
.round-strip-verdict.is-good { color:var(--good); }
.round-strip-verdict.is-mistake { color:var(--mistake); }
.round-reliability {
  display:grid;
  grid-template-columns:auto auto;
  align-items:baseline;
  column-gap:8px;
  row-gap:5px;
  flex-shrink:0;
}
.shop-score-under.is-hidden-intro,
.round-reliability.is-hidden-intro {
  visibility:hidden;
  pointer-events:none;
}
.rel-label {
  color:#9a9aac;
  font-size:0.74rem;
  font-weight:560;
  white-space:nowrap;
}
.rel-value {
  color:#f4f4f8;
  font-size:1.15rem;
  font-weight:750;
  line-height:1;
  font-variant-numeric:tabular-nums;
  text-align:right;
}
.rel-meter {
  grid-column:1 / -1;
  display:block;
  height:4px;
  border-radius:99px;
  background:#22222c;
  overflow:hidden;
}
.rel-meter-fill {
  display:block;
  height:100%;
  border-radius:inherit;
  background:#c9cad6;
}
.move-tabs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-bottom:1px solid var(--line);
  background:#0f0f14;
}
.move-tab {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:12px 3px;
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  font-size:0.74rem;
  font-weight:600;
  color:#8f8fa0;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  transition:color .15s,background .15s,border-color .15s;
}
.move-tab:hover {
  color:#dedee8;
  background:#15151c;
}
.move-tab.active {
  color:#fff;
  background:#121217;
  border-bottom-color:#dcdce8;
}
.tab-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#666678;
  flex-shrink:0;
}
.tab-glyph {
  width:15px;
  height:15px;
  border-radius:50%;
  font-size:0.6rem;
  font-weight:800;
  color:#0c0c10;
  display:grid;
  place-items:center;
  flex-shrink:0;
}
.tab-glyph.best { background:var(--best); }
.tab-glyph.good { background:var(--good); }
.tab-glyph.mistake { background:var(--mistake); }
.tab-glyph.neutral { background:#666678; }

.coach-body {
  padding:9px 14px 8px;
  display:flex;
  flex-direction:column;
  gap:6px;
  flex:1;
  min-height:0;
}

/* Chess.com-style move list */
.move-list {
  position:relative;
  flex:1;
  min-height:0;
  list-style:none;
  margin:0;
  padding:2px 0;
  overflow-y:auto;
  border:1px solid #202029;
  border-radius:9px;
  background:#0d0d12;
  scrollbar-width:thin;
  scrollbar-color:#2c2c38 transparent;
}
.move-btn {
  display:grid;
  grid-template-columns:22px 18px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  width:100%;
  padding:4px 10px;
  border:0;
  background:transparent;
  color:#cdcdda;
  font-size:0.78rem;
  line-height:1.25;
  font-weight:540;
  text-align:left;
  transition:background .12s,color .12s;
}
.move-btn:hover { background:#16161e; color:#fff; }
.move-row.is-active .move-btn {
  background:#22222e;
  color:#fff;
}
.move-row.is-transition {
  margin-block:2px;
  border-top:1px solid #1b1b24;
  border-bottom:1px solid #1b1b24;
  background:#111118;
}
.move-btn.is-transition {
  grid-template-columns:8px minmax(0,1fr);
  gap:8px;
  padding:4px 10px;
  color:#a6a8be;
  font-size:0.73rem;
  font-weight:600;
  letter-spacing:.005em;
}
.move-transition-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#6e7399;
  justify-self:center;
}
.move-row.is-transition.is-active .move-btn.is-transition {
  background:#22222e;
  color:#fff;
}
.move-row.is-transition.is-active .move-transition-dot {
  background:#c4c8ea;
}
.move-num {
  color:#727286;
  font-size:0.74rem;
  font-variant-numeric:tabular-nums;
}
.move-row.is-active .move-num { color:#a8a8bc; }
.move-icon {
  width:18px;
  height:18px;
  border-radius:4px;
  object-fit:cover;
}
.move-label {
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.move-btn .tab-dot { justify-self:center; }
.coach-dialog {
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  align-items:start;
  gap:10px;
  height:196px;
  min-height:196px;
  max-height:196px;
  flex-shrink:0;
}
.coach-avatar-wrap {
  position:relative;
  width:46px;
  height:46px;
  margin-top:2px;
}
.coach-avatar {
  width:46px;
  height:46px;
  border-radius:12px;
  object-fit:contain;
  background:#0b0b0f;
  border:1px solid #2e2e3c;
  box-shadow:0 6px 16px #0007;
}
.verdict-badge {
  position:absolute;
  right:-7px;
  bottom:-7px;
  display:block;
  line-height:0;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,0.9));
}
.grade-icon {
  display:block;
  flex-shrink:0;
}
.round-strip-glyph { display:block; line-height:0; }
.move-btn .grade-icon { justify-self:center; }

.speech-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  margin-top:6px;
  flex-shrink:0;
}
.coach-action-btn {
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:26px;
  padding:0 10px;
  border-radius:6px;
  border:1px solid #353545;
  background:#23232e;
  color:#ececf4;
  font-size:0.75rem;
  font-weight:600;
  line-height:1;
  flex-shrink:0;
  transition:background .15s,border-color .15s,color .15s;
}
.coach-action-btn.best-link {
  padding:0 9px 0 6px;
}
.coach-action-btn:hover {
  background:#2c2c3a;
  border-color:#4d4d63;
  color:#fff;
}
.coach-action-btn.is-on {
  background:#2d2d3d;
  border-color:#636382;
  color:#fff;
}
.verdict-badge .grade-icon { width:19px; height:19px; }

.speech-bubble {
  position:relative;
  display:flex;
  flex-direction:column;
  gap:4px;
  height:auto;
  min-height:0;
  max-height:196px;
  padding:10px 13px;
  border-radius:12px;
  background:#191922;
  border:1px solid #2a2a37;
}
.speech-bubble::before {
  content:"";
  position:absolute;
  left:-6px;
  top:17px;
  width:10px;
  height:10px;
  background:#191922;
  border-left:1px solid #2a2a37;
  border-bottom:1px solid #2a2a37;
  transform:rotate(45deg);
}
.speech-head {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}
.speech-title {
  font-size:0.9rem;
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.24;
  white-space:normal;
  flex-shrink:0;
}
.speech-reliability {
  font-size:0.74rem;
  color:#8a8a9c;
  font-variant-numeric:tabular-nums;
  flex-shrink:0;
}
.coach-comment {
  flex:1;
  min-height:0;
  font-size:0.775rem;
  line-height:1.4;
  color:#dcdce8;
  overflow-y:auto;
  scroll-behavior:smooth;
  scrollbar-width:thin;
  scrollbar-color:#2c2c38 transparent;
}

.match-summary {
  flex:1;
  min-height:0;
  overflow-y:auto;
  padding:11px 13px;
  border-radius:9px;
  background:#0d0d12;
  border:1px solid #202029;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:8px;
  scrollbar-width:thin;
  scrollbar-color:#2c2c38 transparent;
}
.match-summary-head {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:center;
  gap:10px;
}
.match-summary-metric {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:6px;
  border-radius:5px;
  transition:color .15s;
}
.match-summary-metric.is-rel {
  padding-left:10px;
  border-left:1px solid #1d1d27;
}
.match-summary-metric:hover .match-summary-label,
.match-summary-metric:focus-visible .match-summary-label {
  color:#d0d0e0;
}
.match-summary-label {
  color:#9898ac;
  font-size:0.78rem;
  font-weight:580;
  text-decoration:underline dotted #48485c;
  text-underline-offset:3px;
  white-space:nowrap;
}
.match-summary-score {
  color:#f4f4f8;
  font-size:1.28rem;
  font-weight:760;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
.match-summary-score.is-rel {
  color:#d9dbe8;
  font-size:1.18rem;
}
.match-phases {
  display:grid;
  gap:5px;
  padding-top:7px;
  border-top:1px solid #1b1b24;
}
.match-phase-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) 64px 34px;
  align-items:center;
  gap:8px;
  font-size:0.73rem;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
}
.match-phase-name {
  color:#b6b6c8;
  font-weight:550;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.match-phase-track {
  display:block;
  height:5px;
  border-radius:99px;
  background:#1c1c26;
  overflow:hidden;
}
.match-phase-fill {
  display:block;
  height:100%;
  border-radius:inherit;
  background:#8b8ba0;
}
.match-phase-fill.is-high { background:var(--best-prism); }
.match-phase-fill.is-good { background:var(--good); }
.match-phase-fill.is-low { background:var(--mistake); }
.match-phase-pct {
  text-align:right;
  font-weight:720;
  color:#ededf6;
}
.match-phase-pct.is-high { color:var(--best); }
.match-phase-pct.is-good { color:var(--good); }
.match-phase-pct.is-low { color:var(--mistake); }
.match-counts {
  display:grid;
  gap:5px;
  padding-top:7px;
  border-top:1px solid #1b1b24;
}
.match-count-row {
  display:grid;
  grid-template-columns:16px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  font-size:0.79rem;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
}
.match-count-name {
  color:#bdbdcf;
  font-weight:540;
}
.match-count-num {
  color:#f2f2f8;
  font-weight:720;
}

.engine-drawer {
  margin-top:auto;
  border-top:1px solid #1f1f28;
  padding-top:12px;
}
.engine-drawer summary {
  list-style:none;
  cursor:pointer;
  font-size:0.78rem;
  font-weight:550;
  color:#9292a4;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.engine-drawer summary::-webkit-details-marker { display:none; }
.engine-drawer summary::after {
  content:"+";
  font-size:0.95rem;
}
.engine-drawer[open] summary::after { content:"−"; }
.engine-drawer summary:hover { color:#dedee8; }
.engine-drawer-body {
  margin-top:12px;
}
.engine-summary {
  font-size:0.72rem;
  color:#858598;
  margin-bottom:9px;
}
.gauge-list {
  display:grid;
  gap:8px;
}
.gauge-item {
  display:grid;
  gap:4px;
}
.gauge-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:0.75rem;
}
.gauge-entity {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
.gauge-entity img {
  width:18px;
  height:18px;
  border-radius:4px;
  object-fit:cover;
  flex-shrink:0;
}
.gauge-name {
  color:#eaeaf2;
  font-weight:550;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.gauge-tag {
  font-size:0.68rem;
  color:#8c8ca0;
  flex-shrink:0;
}
.gauge-item.tone-best .gauge-tag { color:var(--best); }
.gauge-item.tone-mistake .gauge-tag { color:var(--mistake); }
.gauge-track {
  height:5px;
  border-radius:99px;
  background:#1d1d27;
  overflow:hidden;
}
.gauge-fill {
  height:100%;
  border-radius:inherit;
  background:#555568;
}
.gauge-item.tone-best .gauge-fill { background:var(--best); }
.gauge-item.tone-good .gauge-fill { background:var(--good); }
.gauge-item.tone-mistake .gauge-fill { background:var(--mistake); }

.coach-nav {
  display:grid;
  grid-template-columns:auto 44px minmax(0,1fr) 44px;
  align-items:center;
  gap:8px;
  height:54px;
  min-height:54px;
  max-height:54px;
  padding:0 14px;
  border-top:1px solid var(--line);
  background:#0f0f14;
  flex-shrink:0;
}
.coach-nav.is-intro {
  grid-template-columns:1fr;
}
.nav-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 11px;
  border-radius:7px;
  border:1px solid #292935;
  background:#16161e;
  font-size:0.84rem;
  font-weight:650;
  line-height:1;
  text-align:center;
  white-space:nowrap;
  color:#e4e4ee;
  transition:background .15s,border-color .15s,color .15s;
}
.nav-btn-overview {
  font-size:0.76rem;
  font-weight:600;
  padding:0 10px;
  color:#cfcfe0;
}
.nav-btn:not(:disabled):hover {
  background:#1e1e28;
  border-color:#48485c;
}
.nav-btn-primary {
  background:#ececf4;
  color:#0e0e13;
  border-color:transparent;
}
.nav-btn-primary:not(:disabled):hover {
  background:#ffffff;
}
.nav-step {
  font-size:0.76rem;
  color:#828294;
  text-align:center;
  font-variant-numeric:tabular-nums;
}

/* Bento Overview Section (Home) + Editorial Method (Subpage) */
.bento-section {
  padding-block:96px;
  border-top:1px solid var(--line);
}
.bento-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.bento-card {
  position:relative;
  isolation:isolate;
  padding:30px 28px;
  border-radius:14px;
  background:#0f0f14;
  border:1px solid #23232e;
  --light-x:50%;
  --light-y:0%;
}
.bento-card h3 {
  font-size:1.25rem;
  font-weight:660;
  letter-spacing:-.025em;
  margin-bottom:10px;
}
.bento-card p {
  color:var(--muted);
  font-size:0.95rem;
  line-height:1.65;
}
.bento-foot {
  margin-top:32px;
  display:flex;
  justify-content:center;
}

}

.method-section {
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:80px;
  padding-block:84px;
  border-top:1px solid var(--line);
}
.method-intro h2 {
  font-size:clamp(2rem,3.2vw,2.6rem);
  font-weight:680;
  letter-spacing:-.045em;
  line-height:1.15;
  margin-bottom:16px;
}
.method-intro p {
  color:var(--muted);
  max-width:380px;
  line-height:1.75;
}
.method-more-cta {
  margin-top:24px;
}
.method-points article {
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.method-points article:first-child { padding-top:0; }
.method-points h3 {
  font-size:1rem;
  font-weight:650;
  margin-bottom:6px;
}
.method-points p {
  color:var(--muted);
  line-height:1.7;
  max-width:470px;
}

/* Plans Section */
.plans-section {
  padding-block:84px;
  border-top:1px solid var(--line);
}
.plans-heading h2 {
  font-size:clamp(1.9rem,3vw,2.5rem);
  font-weight:680;
  letter-spacing:-.045em;
}
.plans-description {
  max-width:520px;
  margin-top:10px;
  color:var(--muted);
}
.plans-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-top:32px;
}
.plan-card {
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  padding:24px 20px;
  border-radius:12px;
  background:#0f0f14;
  border:1px solid #23232d;
  --light-x:50%;
  --light-y:0%;
}
.plan-card-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.plan-badge {
  display:inline-flex;
  align-items:center;
  height:21px;
  padding:0 8px;
  border-radius:999px;
  font-size:0.65rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
  flex-shrink:0;
}
.plan-badge.is-popular {
  background:#221c10;
  border:1px solid #7d6328;
  color:#f0d484;
}
.plan-badge.is-value {
  background:#1c172b;
  border:1px solid #6b58a6;
  color:#dcd0ff;
}
.plan-card-featured {
  background:#131319;
  border-color:#444456;
}
.plan-card h3 {
  font-size:1.125rem;
  font-weight:650;
}
.plan-tagline {
  margin-top:5px;
  font-size:0.875rem;
  color:var(--muted);
}
.plan-price-block {
  display:flex;
  align-items:baseline;
  gap:6px;
  margin-top:20px;
  padding-bottom:18px;
  border-bottom:1px solid #202029;
  font-variant-numeric:tabular-nums;
}
.plan-amount {
  font-size:2rem;
  font-weight:700;
  letter-spacing:-.04em;
  line-height:1;
}
.plan-period {
  font-size:0.85rem;
  color:#8c8c9e;
}
.plan-features {
  list-style:none;
  padding:0;
  margin:18px 0 24px;
  display:grid;
  gap:10px;
  font-size:0.875rem;
  color:#c5c5d4;
  flex:1;
}
.plan-features li {
  position:relative;
  padding-left:18px;
}
.plan-features li::before {
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#8c90a4;
  font-size:0.78rem;
}
.plan-features strong { color:#fff; font-weight:600; }
.plan-cta { width:100%; }

/* Plans read like TFT Augment tiers: Free silver, Plus hextech cyan, Pro gold, Ultra prismatic */
.plan-card[data-plan="free"] {
  --tier-edge:linear-gradient(160deg,#ffffff 0%,#c3c8d8 38%,#7a7f92 100%);
  --tier-ink:#e4e7f1;
  --tier-tick:#b4b9ca;
  --tier-glow:#d7dcec22;
  --tier-halo:#c8cde04d;
  border-color:#9a9fb2;
}
.plan-card[data-plan="plus"] {
  --tier-edge:linear-gradient(160deg,#d8f6ff 0%,#68c6eb 42%,#356c96 100%);
  --tier-ink:#a8e5fc;
  --tier-tick:#78cbe9;
  --tier-glow:#68c6eb28;
  --tier-halo:#68c6eb52;
  border-color:#4b94ba;
}
.plan-card[data-plan="pro"] {
  --tier-edge:linear-gradient(160deg,#fff0c2 0%,#e6c264 38%,#9c7629 100%);
  --tier-ink:#ecd07e;
  --tier-tick:#d4b25c;
  --tier-glow:#e3c06a30;
  --tier-halo:#e3c06a59;
  border-color:#c9a552;
}
.plan-card[data-plan="ultra"] {
  --tier-edge:var(--prism-engine);
  --tier-tick:#c9b3ff;
  --tier-glow:#c9b3ff36;
  --tier-halo:#c9b3ff6b;
  border-color:#b9a8f0;
}
.plan-card[data-plan] {
  background:radial-gradient(110% 55% at 50% 0%,var(--tier-glow),transparent 72%),#0f0f14;
  box-shadow:0 0 34px -14px var(--tier-halo);
}
.plan-card[data-plan] h3 {
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--tier-ink,#fff);
}
.plan-card[data-plan] h3::before {
  content:"";
  flex-shrink:0;
  width:16px;
  height:18px;
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
  background:var(--tier-edge);
}
.plan-card[data-plan="ultra"] h3 {
  background:var(--prism-engine);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.plan-card[data-plan] .plan-features li::before { color:var(--tier-tick); }
@supports (mask-composite:exclude) {
  .plan-card[data-plan] { border-color:transparent; }
  .plan-card[data-plan]::after {
    content:"";
    position:absolute;
    inset:-1px;
    z-index:-1;
    border-radius:inherit;
    padding:1px;
    pointer-events:none;
    background:var(--tier-edge);
    mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    mask-composite:exclude;
  }
  /* Prismatic: the edge drifts like the 1.0 of the banner */
  .plan-card[data-plan="ultra"]::after {
    background-size:240% 100%;
    animation:engine-prism 9s ease-in-out infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plan-card[data-plan="ultra"]::after { animation:none; }
}

/* FAQ Section */
.faq-section {
  display:grid;
  grid-template-columns:0.9fr 1.4fr;
  gap:72px;
  padding-block:84px;
  border-top:1px solid var(--line);
}
.faq-intro h2 {
  font-size:clamp(1.85rem,3vw,2.4rem);
  font-weight:680;
  letter-spacing:-.04em;
  margin-bottom:12px;
}
.faq-intro p { color:var(--muted); max-width:340px; }
.faq-list { display:grid; gap:10px; }
.faq-item {
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface);
  padding:0 18px;
}
.faq-item summary {
  list-style:none;
  cursor:pointer;
  padding:16px 0;
  font-size:0.95rem;
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; color:#8a8a9c; font-size:1.1rem; }
.faq-item[open] summary::after { content:"−"; }
.faq-item p {
  padding-bottom:16px;
  font-size:0.8875rem;
  line-height:1.68;
  color:var(--muted);
}
.faq-item strong { color:#e6e6f0; font-weight:600; }

/* Footer */
.site-footer {
  display:flex;
  flex-direction:column;
  gap:16px;
  border-top:1px solid var(--line);
  padding-block:28px 36px;
  color:var(--muted);
  font-size:0.75rem;
}
.footer-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
}
.footer-brand { font-size:1.25rem; color:var(--text); }
.footer-brand img { width:32px; height:32px; }
.riot-disclaimer {
  color:#78788a;
  line-height:1.6;
  max-width:900px;
}
::selection { background:#5c528f; color:#fff; }

/* Floating TFT Hover Tooltip (Portals, Augments & Items) */
.game-tooltip {
  position:fixed;
  z-index:10020;
  width:max-content;
  max-width:296px;
  padding:12px 14px;
  border-radius:9px;
  background:#111218f8;
  border:1px solid #3b3d4e;
  box-shadow:0 16px 38px #000d,inset 0 1px 0 #ffffff14;
  pointer-events:none;
}
.game-tooltip.is-wide {
  max-width:min(368px,calc(100vw - 24px));
}
.gtip-head {
  display:flex;
  align-items:center;
  gap:9px;
  padding-bottom:8px;
  margin-bottom:8px;
  border-bottom:1px solid #242634;
}
.gtip-icon {
  width:26px;
  height:26px;
  border-radius:5px;
  border:1px solid #343646;
  object-fit:cover;
  flex-shrink:0;
}
.gtip-icon.is-trait-icon {
  object-fit:contain;
  padding:4px;
  background:#191c26;
}
.gtip-meta {
  display:flex;
  flex-direction:column;
  gap:1px;
  min-width:0;
}
.gtip-name {
  font-size:0.84rem;
  font-weight:680;
  color:#f5f5fc;
  line-height:1.2;
}
.gtip-kind {
  font-size:0.69rem;
  font-weight:550;
  color:#8d8fa4;
  line-height:1.2;
}
.gtip-body {
  font-size:0.79rem;
  line-height:1.5;
  color:#dedee9;
  white-space:pre-line;
}
.gtip-bps {
  list-style:none;
  padding:0;
  margin:7px 0 0;
  display:grid;
  gap:3px;
  font-size:0.74rem;
  line-height:1.38;
  color:#87899e;
}
.gtip-bps .is-active-bp {
  color:#f4f4fb;
  font-weight:660;
}
.gtip-rule {
  margin-top:6px;
  font-size:0.72rem;
  line-height:1.45;
  color:#8f91a6;
}
.gtip-oracle {
  margin-top:9px;
  padding-top:8px;
  border-top:1px solid #262838;
  display:grid;
  gap:6px;
}
.gtip-oracle-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.gtip-oracle-kicker {
  font-size:0.66rem;
  font-weight:720;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#9ea2ba;
}
.gtip-oracle-pill {
  padding:2px 6px;
  border-radius:4px;
  font-size:0.66rem;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  background:#1d1f2b;
  border:1px solid #323548;
  color:#d6d8e8;
}
.gtip-oracle-pill.is-best {
  background:#141a2b;
  border-color:#6587b2;
  color:var(--best);
}
.gtip-oracle-pill.is-mistake {
  background:#231219;
  border-color:#8c425a;
  color:var(--mistake);
}
.gtip-oracle-summary {
  font-size:0.74rem;
  line-height:1.42;
  color:#d6d8e6;
}
.gtip-oracle-list {
  margin:0;
  padding-left:14px;
  display:grid;
  gap:4px;
  font-size:0.72rem;
  line-height:1.38;
  color:#cbcedf;
}

/* Dedicated "How it works" Page */
.how-hero {
  position:relative;
  isolation:isolate;
  padding-block:88px 72px;
}
.how-hero::before {
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:420px;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(ellipse 60% 50% at 30% 25%,#b7b5ff13 0%,#91e5ff08 45%,transparent 75%);
}
.how-hero h1 {
  font-size:clamp(2.7rem,5.2vw,4.35rem);
  font-weight:720;
  letter-spacing:-.055em;
  line-height:1.04;
  max-width:780px;
}
.how-statement {
  margin-top:24px;
  color:var(--muted);
  font-size:clamp(1.1rem,1.6vw,1.35rem);
  line-height:1.58;
  letter-spacing:-.015em;
  max-width:680px;
}
.how-section-intro {
  max-width:560px;
  margin-bottom:28px;
}
.how-section-intro h2 {
  font-size:clamp(1.85rem,3vw,2.45rem);
  font-weight:680;
  letter-spacing:-.045em;
  line-height:1.15;
}
.how-section-intro p {
  margin-top:10px;
  color:var(--muted);
  line-height:1.7;
}
.how-contrast,
.how-verdicts {
  padding-block:76px;
  border-top:1px solid var(--line);
}
.contrast-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.contrast-card {
  padding:28px;
  border-radius:12px;
  background:#0e0e13;
  border:1px solid #22222c;
}
.contrast-card-oracle {
  position:relative;
  isolation:isolate;
  background:#13131a;
  border-color:#363646;
}
@supports (mask-composite:exclude) {
  .contrast-card-oracle::before {
    content:"";
    position:absolute;
    inset:-1px;
    border-radius:inherit;
    pointer-events:none;
    padding:1px;
    background:
      radial-gradient(240px circle at var(--light-x) var(--light-y),#eceaff70 0%,#b8b2f030 34%,transparent 70%),
      linear-gradient(135deg,#ffffff18,transparent 40%,transparent 70%,#ffffff10);
    mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    mask-composite:exclude;
  }
}
.contrast-card h3 {
  font-size:1.1rem;
  font-weight:650;
  margin-bottom:10px;
}
.contrast-card p {
  color:var(--muted);
  line-height:1.72;
  font-size:0.94rem;
}
.verdict-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.verdict-card {
  position:relative;
  isolation:isolate;
  padding:24px;
  border-radius:12px;
  background:#0f0f14;
  border:1px solid #23232d;
  --light-x:50%;
  --light-y:0%;
}
.verdict-card-head {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.verdict-card-head .tab-glyph {
  width:20px;
  height:20px;
  font-size:0.7rem;
}
.verdict-card h3 {
  font-size:1rem;
  font-weight:650;
}
.verdict-card p {
  color:var(--muted);
  font-size:0.9rem;
  line-height:1.68;
}
.how-closing {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:28px;
  padding-block:76px 88px;
  border-top:1px solid var(--line);
}
.how-closing h2 {
  font-size:clamp(1.75rem,2.8vw,2.25rem);
  font-weight:680;
  letter-spacing:-.04em;
}
.how-closing p {
  margin-top:8px;
  color:var(--muted);
  max-width:520px;
}
.how-closing-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
}

/* Dedicated Set 19 Puzzles Showcase Section (#puzzles-showcase) */
.puzzles-promo-section {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:64px;
  align-items:center;
  padding-block:104px;
  border-top:1px solid var(--line);
}
.puzzles-promo-kicker {
  margin-bottom:14px;
  color:#8e8ea0;
  font-size:0.78rem;
  font-weight:580;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.puzzles-promo-copy h2 {
  font-size:clamp(2.15rem,3.6vw,3rem);
  font-weight:680;
  line-height:1.08;
  letter-spacing:-.045em;
  margin-bottom:16px;
}
.puzzles-promo-desc {
  color:var(--muted);
  line-height:1.7;
  max-width:460px;
  font-size:1.02rem;
}
.puzzles-promo-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 18px;
  margin-top:28px;
}
.puzzles-promo-tier-note {
  color:#8f8fa4;
  font-size:0.8rem;
  font-weight:560;
}
.puzzles-promo-cta {
  padding:11px 18px;
  border-radius:8px;
  font-size:0.88rem;
  font-weight:630;
}
.puzzles-promo-cta .cta-arrow {
  color:#2b2b38;
  transition:transform .2s ease,color .16s;
}
.puzzles-promo-cta:hover .cta-arrow {
  transform:translateX(3px);
  color:#09090c;
}
.puzzles-promo-card {
  display:block;
  position:relative;
  isolation:isolate;
  padding:22px 24px;
  border-radius:14px;
  background:radial-gradient(110% 55% at 50% 0%,#68c6eb1e,transparent 68%),linear-gradient(180deg,#111119 0%,#0c0c12 100%);
  border:1px solid #2b3546;
  box-shadow:0 16px 40px rgba(0,0,0,0.42);
  transition:border-color .18s ease,transform .18s ease;
}
.puzzles-promo-card:hover {
  border-color:#5894b8;
  transform:translateY(-2px);
}
.puzzles-promo-card-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:14px;
  border-bottom:1px solid #1e1e2a;
}
.puzzles-promo-card-title {
  color:#eef0f8;
  font-size:0.84rem;
  font-weight:650;
  letter-spacing:-.01em;
}
.puzzles-elo-badge {
  padding:3px 9px;
  border-radius:999px;
  border:1px solid #3c7b9c;
  background:#102029;
  color:#a8e5fc;
  font-size:0.72rem;
  font-weight:720;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.puzzles-spot-strip {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid #1c1c27;
}
.puzzles-spot-units {
  display:flex;
  align-items:center;
  gap:8px;
}
.puzzles-unit-tile {
  position:relative;
  width:42px;
  height:42px;
  border-radius:7px;
  border:1.5px solid #4d5563;
  background:#0a0a0f;
  overflow:hidden;
}
.puzzles-unit-tile.cost-2 {
  border-color:#26a875;
}
.puzzles-unit-tile img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.puzzles-unit-tile.is-unlock em {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:1px 0;
  background:rgba(9,12,18,0.88);
  color:#a8e5fc;
  font-style:normal;
  font-size:0.52rem;
  font-weight:750;
  letter-spacing:.04em;
  text-transform:uppercase;
  text-align:center;
}
.puzzles-spot-recipe {
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:6px 10px;
  border-radius:8px;
  border:1px solid #242433;
  background:#0c0c12;
  color:#85879c;
  font-size:0.74rem;
  font-weight:700;
}
.puzzles-spot-recipe img {
  border-radius:4px;
}
.puzzles-spot-recipe img.is-result {
  border:1px solid #75b4d6;
}
.puzzles-promo-card-foot {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #1d1d28;
  font-size:0.76rem;
  color:#8f8fa4;
}
.puzzles-promo-card-go {
  color:#a8e5fc;
  font-weight:650;
  white-space:nowrap;
}
.puzzles-promo-steps {
  list-style:none;
  margin:0;
  padding:0;
}
.puzzles-promo-steps li {
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid #1a1a24;
}
.puzzles-promo-steps li:last-child {
  padding-bottom:2px;
  border-bottom:0;
}
.puzzles-step-num {
  color:#747487;
  font-size:0.76rem;
  font-weight:620;
  font-variant-numeric:tabular-nums;
  padding-top:2px;
}
.puzzles-promo-steps h3 {
  color:#f0f0f6;
  font-size:0.92rem;
  font-weight:600;
  letter-spacing:-.015em;
  line-height:1.3;
}
.puzzles-promo-steps p {
  margin-top:3px;
  color:#8c8c9e;
  font-size:0.83rem;
  line-height:1.5;
}

/* Interactive Set 19 Puzzle Arena embedded on Homepage (#puzzles-showcase)
   Matches .review-window width (1220px), border, radius, and exact height */
.puzzle-embed-shell {
  position:relative;
  width:100%;
  max-width:1220px;
  height:var(--review-frame-h,600px);
  margin-inline:auto;
  border-radius:10px;
  border:1px solid #22222b;
  background:#0c0c10;
  overflow:hidden;
}
.puzzle-embed-iframe {
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#0c0c10;
}
@media (max-width:860px) {
  .puzzle-embed-shell {
    height:520px;
  }
}

/* Global Account & Contact Modals (#auth-modal, #contact-modal) */
.auth-modal-backdrop {
  position:fixed;
  inset:0;
  z-index:120;
  display:grid;
  place-items:center;
  padding:16px;
  background:rgba(6,6,10,0.78);
  backdrop-filter:blur(5px);
}
.auth-modal-card {
  width:100%;
  max-width:404px;
  padding:18px 20px 20px;
  border-radius:11px;
  background:#101015;
  border:1px solid #282834;
  box-shadow:0 26px 68px rgba(0,0,0,0.72);
  color:#f2f2f7;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.auth-modal-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.auth-modal-title {
  color:#f2f2f7;
  font-size:1.08rem;
  font-weight:680;
  letter-spacing:-.02em;
}
.auth-modal-close {
  display:inline-grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:6px;
  border:1px solid #282834;
  background:#15151d;
  color:#a8a8b8;
  font-size:1rem;
  line-height:1;
  transition:border-color .13s,background .13s,color .13s;
}
.auth-modal-close:hover {
  border-color:#444458;
  background:#1f1f2a;
  color:#fff;
}
.auth-modal-tabs {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:4px;
  padding:3px;
  border-radius:7px;
  background:#0b0b0f;
  border:1px solid #22222c;
}
.auth-tab-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:30px;
  border:0;
  border-radius:5px;
  background:transparent;
  color:#8f8fa0;
  font-size:0.78rem;
  font-weight:640;
  transition:background .13s,color .13s;
}
.auth-tab-btn:hover {
  color:#ececf4;
}
.auth-tab-btn.is-active {
  background:#1e1e29;
  color:#fff;
}
.auth-modal-notice {
  padding:9px 11px;
  border-radius:6px;
  background:#171512;
  border:1px solid #594b2d;
  color:#e4d3a8;
  font-size:0.76rem;
  line-height:1.45;
}
.auth-oauth-stack {
  display:flex;
  flex-direction:column;
  gap:7px;
}
.oauth-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  height:36px;
  padding:0 12px;
  border-radius:6px;
  border:1px solid #2e2e3b;
  background:#16161e;
  color:#ececf4;
  font-size:0.79rem;
  font-weight:640;
  transition:border-color .13s,background .13s,color .13s;
}
.oauth-btn:hover {
  border-color:#4a4a5e;
  background:#20202b;
  color:#fff;
}
.oauth-btn.is-discord {
  border-color:#3a4068;
  background:#171929;
}
.oauth-btn.is-discord:hover {
  border-color:#5865f2;
  background:#1e2238;
}
.oauth-btn.is-google,
.oauth-btn.is-github {
  border-color:#353544;
}
.oauth-btn.is-unconfigured {
  opacity:.72;
}
.auth-divider {
  display:flex;
  align-items:center;
  gap:10px;
  color:#767688;
  font-size:0.7rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.auth-divider::before,
.auth-divider::after {
  content:"";
  flex:1;
  height:1px;
  background:#22222c;
}
.auth-form {
  display:flex;
  flex-direction:column;
  gap:10px;
}
.auth-field {
  display:flex;
  flex-direction:column;
  gap:4px;
}
.auth-field span {
  color:#b6b6c6;
  font-size:0.74rem;
  font-weight:620;
}
.auth-field input {
  width:100%;
  height:36px;
  padding:0 11px;
  border-radius:6px;
  border:1px solid #2c2c38;
  background:#0c0c10;
  color:#f2f2f7;
  font-size:0.82rem;
  font-family:inherit;
  transition:border-color .13s;
}
.auth-field input:focus {
  border-color:#5c5c74;
}
.auth-form-error {
  padding:8px 10px;
  border-radius:6px;
  background:#241413;
  border:1px solid #7d4034;
  color:#f4b3a4;
  font-size:0.75rem;
  line-height:1.4;
}
.auth-submit-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:40px;
  margin-top:2px;
  padding:9px 14px;
  border-radius:7px;
  border:1px solid #ffffff;
  background:#f2f2f7;
  color:#09090c;
  font-size:0.82rem;
  font-weight:680;
  letter-spacing:-.01em;
  transition:background .15s,color .15s;
}
.auth-submit-btn:not(:disabled):hover {
  background:#ffffff;
  color:#050507;
}

/* Contact Modal Extensions (Editorial, No Nested Cards) */
.contact-modal-card {
  max-width:416px;
  gap:14px;
}
.contact-topics {
  display:flex;
  flex-direction:column;
  border-top:1px solid #1e1e28;
}
.contact-topic {
  padding:10px 0;
  border-bottom:1px solid #1e1e28;
}
.contact-topic-title {
  color:#ededf4;
  font-size:0.83rem;
  font-weight:580;
}
.contact-topic-desc {
  margin-top:2px;
  color:#88889a;
  font-size:0.77rem;
  line-height:1.42;
}
.contact-email-box {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 8px 8px 12px;
  border-radius:6px;
  background:#0b0b10;
  border:1px solid #242430;
}
.contact-email-addr {
  color:#f2f2f7;
  font-size:0.84rem;
  font-weight:560;
  overflow:hidden;
  text-overflow:ellipsis;
}
.contact-copy-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:28px;
  padding:0 11px;
  border-radius:5px;
  border:1px solid #2f2f3d;
  background:#171720;
  color:#e4e4ee;
  font-size:0.75rem;
  font-weight:560;
  flex-shrink:0;
  transition:border-color .14s,background .14s,color .14s;
}
.contact-copy-btn:hover {
  border-color:#4b4b5f;
  background:#21212d;
  color:#ffffff;
}
.contact-copy-btn.is-copied {
  border-color:#5c8fb8;
  background:#141f2a;
  color:var(--best);
}
.contact-modal-actions {
  display:flex;
}

/* Home: How it works, three steps built from the showcase game */
.how-section {
  padding-block:104px;
  border-top:1px solid var(--line);
  scroll-margin-top:24px;
}
.how-section:focus { outline:none; }
.how-section h2 {
  text-align:center;
  font-size:clamp(2.15rem,3.6vw,3rem);
  font-weight:680;
  letter-spacing:-.045em;
  line-height:1.1;
  margin-bottom:44px;
}
.how-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:0;
  padding:0;
  list-style:none;
}
.how-step {
  display:flex;
  flex-direction:column;
  border-radius:14px;
  background:#0f0f14;
  border:1px solid #23232e;
  overflow:hidden;
}
.how-visual {
  height:200px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:radial-gradient(ellipse 80% 70% at 50% 0%,#191924 0%,transparent 72%),#0b0b0f;
  border-bottom:1px solid #1d1d26;
}
.how-caption {
  display:flex;
  align-items:baseline;
  gap:12px;
  padding:20px 22px 22px;
  color:#f0f0f6;
  font-size:1.1rem;
  font-weight:650;
  letter-spacing:-.02em;
}
.how-num {
  font-size:0.8rem;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  background:var(--best-prism);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.how-foot {
  margin-top:28px;
  text-align:center;
}
/* Step 1: a recording that starts at 1-1 */
.how-vod {
  position:relative;
  width:100%;
  max-width:300px;
  aspect-ratio:16/9;
  border-radius:8px;
  border:1px solid #2a2a35;
  background:linear-gradient(180deg,#14141c,#0a0a0e);
  color:#d8d8e4;
}
.how-vod-rec {
  position:absolute;
  top:10px;
  left:12px;
  display:flex;
  align-items:center;
  gap:6px;
  color:#ff9db3;
  font-size:0.64rem;
  font-weight:700;
  letter-spacing:.1em;
}
.how-vod-rec::before {
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ff5d7e;
  animation:how-rec 1.6s ease-in-out infinite;
}
.how-vod-play {
  position:absolute;
  top:38%;
  left:50%;
  translate:-50% -50%;
  opacity:.8;
}
.how-vod-rounds {
  position:absolute;
  left:12px;
  right:12px;
  bottom:10px;
  display:flex;
  justify-content:space-between;
  margin:0;
  padding:12px 0 0;
  list-style:none;
  color:#9a9aac;
  font-size:0.62rem;
  font-weight:650;
  font-variant-numeric:tabular-nums;
}
.how-vod-rounds::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  border-radius:99px;
  background:var(--best-prism);
}
.how-vod-rounds li:first-child { color:#fff; }
@keyframes how-rec { 50% { opacity:.3; } }
/* Step 2: the real 1-3 shop with Oracle's hold % */
.how-shop .shop-gold {
  display:inline-flex;
  gap:6px;
  padding:4px 14px 5px;
  margin:0 0 -1px;
  position:relative;
  z-index:1;
  background:#101015;
  border:1px solid #262632;
  border-bottom:0;
  border-radius:8px 8px 0 0;
  font-size:0.98rem;
}
.how-shop .shop-gold-coin { width:18px; height:18px; }
.how-shop .shop-strip {
  gap:5px;
  padding:8px;
  border-radius:8px;
  background:#101015;
  border:1px solid #262632;
}
.how-shop .shop-foot { display:none; }
.how-shop .shop-art-box { border-radius:2.5px; }
.how-shop .shop-traits li { gap:0; }
.how-shop .trait-name { display:none; }
.shop-score-fill.hold-91 { width:91%; }
.shop-score-fill.hold-57 { width:57%; }
.shop-score-fill.hold-87 { width:87%; }
.shop-score-fill.hold-95 { width:95%; }
.shop-score-fill.hold-62 { width:62%; }
/* Step 3: the 2-1 Augment call, Oracle's pick rate per option */
.how-pick {
  display:grid;
  gap:14px;
  width:100%;
  max-width:320px;
}
.how-pick-row {
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto;
  grid-template-rows:auto auto;
  align-items:center;
  gap:5px 10px;
  color:#a9a9b9;
  font-size:0.8rem;
  font-weight:600;
}
.how-pick-row img { grid-row:1 / 3; width:30px; height:30px; border-radius:6px; }
.how-pick-name {
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
}
.how-pick-name .grade-icon { flex-shrink:0; }
.how-pick-bar {
  grid-column:2 / 4;
  grid-row:2;
  height:4px;
  border-radius:99px;
  background:#1f1f2a;
  overflow:hidden;
}
.how-pick-bar i { display:block; height:100%; border-radius:inherit; background:#7c7e90; }
.how-pick-bar .pick-70 { width:70%; }
.how-pick-bar .pick-16 { width:16%; }
.how-pick-bar .pick-14 { width:14%; }
.how-pick-row strong {
  grid-column:3;
  grid-row:1;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.how-pick-row.is-best { color:#f0f0f6; }
.how-pick-row.is-best .how-pick-bar i { background:var(--best-prism); }
.how-pick-row.is-best strong { color:var(--best); }
.how-pick-row.is-picked .how-pick-bar i { background:var(--mistake); }
.how-pick-row.is-picked strong { color:var(--mistake); }

/* Review glow fades in smoothly under the hero banner instead of starting on a hard edge */
.intro + .how-section,
.intro + .review-section { border-top:0; }
.how-section + .review-section::before,
.intro + .review-section::before {
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 160px);
  mask-image:linear-gradient(180deg,transparent 0,#000 160px);
}

/* Footer links: the secondary pages */
.footer-nav {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 22px;
}
.footer-nav a,
.footer-contact {
  padding:0;
  border:0;
  background:none;
  color:#a3a3b3;
  font:inherit;
  font-size:0.8rem;
  cursor:pointer;
  transition:color .15s;
}
.footer-nav a:hover,
.footer-contact:hover { color:#fff; }

/* Plans on their own page */
.plans-page .plans-section { border-top:0; min-height:0; padding-block:72px 96px; }
.plans-page .plans-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px 24px;
}
.plans-page .plans-heading h1 {
  font-size:clamp(1.9rem,3vw,2.5rem);
  font-weight:680;
  letter-spacing:-.045em;
}
.plans-banner {
  margin-top:22px;
  padding:12px 15px;
  border-radius:8px;
  border:1px solid #2d2d3a;
  background:#12121a;
  color:#e2e2ee;
  font-size:0.86rem;
  line-height:1.5;
}
.plans-banner[data-tone="success"] {
  border-color:#446d57;
  background:#111d17;
  color:#c5f0d8;
}
.plans-banner[data-tone="error"] {
  border-color:#7d4034;
  background:#231413;
  color:#f4b3a4;
}
.plans-banner[data-tone="info"] {
  border-color:#3a4b63;
  background:#121722;
  color:#cde0f8;
}
.plans-waitlist-bar {
  margin-top:26px;
  padding:20px 22px;
  border-radius:12px;
  background:#101016;
  border:1px solid #282836;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px 24px;
}
.plans-waitlist-copy {
  max-width:540px;
}
.plans-waitlist-copy strong {
  display:block;
  color:#f2f2f7;
  font-size:0.96rem;
  font-weight:650;
  letter-spacing:-.015em;
}
.plans-waitlist-copy p {
  margin-top:4px;
  color:var(--muted);
  font-size:0.84rem;
  line-height:1.5;
}
.plans-waitlist-controls {
  display:flex;
  align-items:center;
  gap:10px;
  flex:1 1 300px;
  max-width:420px;
}
.plans-waitlist-controls input {
  flex:1 1 auto;
  min-width:0;
  height:40px;
  padding:0 13px;
  border-radius:7px;
  border:1px solid #2d2d3b;
  background:#09090d;
  color:#f2f2f7;
  font:inherit;
  font-size:0.84rem;
  transition:border-color .14s;
}
.plans-waitlist-controls input:focus {
  border-color:#64647d;
}
.plans-waitlist-controls .button {
  flex-shrink:0;
  height:40px;
  padding:0 18px;
}

/* Auth Modal & Account Dropdown Launch Extensions */
.auth-modal-notice[data-tone="success"] {
  background:#111d17;
  border-color:#446d57;
  color:#c5f0d8;
}
.auth-modal-notice[data-tone="error"] {
  background:#241413;
  border-color:#7d4034;
  color:#f4b3a4;
}
.auth-aux-row {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  margin-top:2px;
}
.auth-text-btn {
  padding:2px 0;
  border:0;
  background:none;
  color:#9a9aae;
  font:inherit;
  font-size:0.76rem;
  font-weight:560;
  cursor:pointer;
  transition:color .14s;
}
.auth-text-btn:hover {
  color:#f2f2f7;
}
.auth-account-head-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.auth-plan-pill {
  display:inline-flex;
  align-items:center;
  height:20px;
  padding:0 7px;
  border-radius:999px;
  font-size:0.66rem;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  flex-shrink:0;
}
.auth-plan-pill.is-free {
  background:#191923;
  border:1px solid #2c2c3a;
  color:#a8a8bc;
}
.auth-plan-pill.is-plus {
  background:#102029;
  border:1px solid #3c7b9c;
  color:#a8e5fc;
}
.auth-plan-pill.is-pro {
  background:#221c10;
  border:1px solid #7d6328;
  color:#f0d484;
}
.auth-plan-pill.is-ultra {
  background:#1f192b;
  border:1px solid #7d64b8;
  color:#dfd0ff;
}
.auth-account-item.is-danger {
  color:#cf8b99;
}
.auth-account-item.is-danger:hover {
  background:#2b151a;
  color:#ff9db2;
}

/* Legal Pages (/terms.html, /privacy.html, /legal.html) */
.legal-page {
  padding-block:68px 104px;
  max-width:820px;
}
.legal-head {
  padding-bottom:28px;
  border-bottom:1px solid var(--line);
}
.legal-kicker {
  color:#8e8ea2;
  font-size:0.76rem;
  font-weight:620;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.legal-head h1 {
  font-size:clamp(2rem,3.4vw,2.75rem);
  font-weight:680;
  letter-spacing:-.045em;
  line-height:1.1;
}
.legal-meta {
  margin-top:12px;
  color:var(--muted);
  font-size:0.88rem;
}
.legal-body {
  display:flex;
  flex-direction:column;
  gap:28px;
  margin-top:32px;
}
.legal-body section h2 {
  color:#f2f2f7;
  font-size:1.12rem;
  font-weight:650;
  letter-spacing:-.02em;
  margin-bottom:10px;
}
.legal-body p,
.legal-body li {
  color:#b4b4c4;
  font-size:0.93rem;
  line-height:1.72;
}
.legal-body p + p {
  margin-top:10px;
}
.legal-body ul {
  margin:10px 0 0;
  padding-left:20px;
  display:grid;
  gap:7px;
}
.legal-body a {
  color:#d9e8ff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.legal-body a:hover {
  color:#ffffff;
}
.legal-body code {
  padding:1px 6px;
  border-radius:4px;
  background:#15151e;
  border:1px solid #262634;
  color:#e4e4f0;
  font-size:0.82rem;
}
.legal-dl {
  margin:0;
  border-top:1px solid #1e1e28;
}
.legal-dl > div {
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:12px 20px;
  padding:12px 0;
  border-bottom:1px solid #1e1e28;
}
.legal-dl dt {
  color:#8f8fa3;
  font-size:0.84rem;
  font-weight:600;
}
.legal-dl dd {
  margin:0;
  color:#ececf4;
  font-size:0.9rem;
  line-height:1.5;
}
.legal-head-row {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px 20px;
}
.legal-lang-switch {
  display:inline-flex;
  align-items:center;
  gap:3px;
  padding:3px;
  border-radius:8px;
  background:#0e0e14;
  border:1px solid #242431;
}
.legal-lang-btn {
  height:30px;
  padding:0 12px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#9898ac;
  font:inherit;
  font-size:0.78rem;
  font-weight:620;
  cursor:pointer;
  transition:background .14s,color .14s;
}
.legal-lang-btn:hover {
  color:#f2f2f7;
}
.legal-lang-btn.is-active {
  background:#1f1f2b;
  color:#ffffff;
}
.legal-box {
  margin-top:14px;
  padding:16px 18px;
  border-radius:9px;
  background:#101016;
  border:1px solid #262634;
}
.legal-box p {
  font-size:0.84rem;
  color:#c8c8d8;
}
.legal-table-wrap {
  margin-top:12px;
  overflow-x:auto;
  border:1px solid #22222f;
  border-radius:9px;
  background:#0d0d13;
}
.legal-table {
  width:100%;
  border-collapse:collapse;
  font-size:0.84rem;
  text-align:left;
}
.legal-table th,
.legal-table td {
  padding:11px 13px;
  border-bottom:1px solid #1d1d27;
  vertical-align:top;
  line-height:1.5;
}
.legal-table tr:last-child td {
  border-bottom:0;
}
.legal-table th {
  color:#e2e2ee;
  font-weight:640;
  background:#13131b;
  font-size:0.76rem;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.legal-table td {
  color:#b6b6c6;
}
.plans-patch-note {
  margin-top:20px;
  padding:14px 18px;
  border-radius:10px;
  background:#0e0e14;
  border:1px solid #232331;
}
.plans-patch-note p {
  color:#a4a4b6;
  font-size:0.83rem;
  line-height:1.55;
}
.plans-patch-note strong {
  color:#e4e4f0;
  font-weight:620;
}
.plans-consent-box {
  margin-top:24px;
  padding:15px 18px;
  border-radius:10px;
  background:#101016;
  border:1px solid #272736;
}
.plans-consent-label {
  display:flex;
  align-items:flex-start;
  gap:11px;
  cursor:pointer;
  color:#b8b8c8;
  font-size:0.82rem;
  line-height:1.55;
}
.plans-consent-label input[type="checkbox"] {
  margin-top:3px;
  width:16px;
  height:16px;
  accent-color:#f2f2f7;
  flex-shrink:0;
}
.plans-consent-label a {
  color:#d9e8ff;
  text-decoration:underline;
  text-underline-offset:2px;
}

/* Full-Viewport Chapter Rhythm on Desktop (Adapts 720p–1080p, caps cleanly on 1440p/4K) */
@media(min-width:861px) {
  .review-window:not(:fullscreen):not(.is-expanded-frame) {
    height:605px;
  }
  .review-section,
  .bento-section,
  .plans-section {
    min-height:min(100svh,980px);
  }
  .review-section,
  .bento-section,
  .plans-section {
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .bento-grid,
  .plans-grid {
    width:100%;
  }
}

/* Responsive */
@media(max-width:1080px) {
  .plans-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:1024px) {
  .site-header nav.site-nav {
    gap:20px;
  }
}
@media(max-width:1160px) {
  :root { --gutter:24px; }
  .review-window {
    grid-template-columns:minmax(0,1.25fr) 340px;
  }
  .review-window .board-canvas {
    --coach-item-sz:38px;
    --coach-trait-w:152px;
    --coach-unit-sz:54px;
    --coach-orb-col:auto;
    grid-template-columns:auto minmax(0,1fr) var(--coach-orb-col);
    column-gap:10px;
  }
  .review-window .board-canvas:not(.has-orbs) {
    --coach-orb-col:0px;
  }
  .review-window .coach-left-dock {
    justify-self:start;
    gap:10px;
  }
  .review-window .board-arena {
    height:226px;
    min-height:226px;
    max-height:226px;
    padding:24px 10px 16px;
  }
  .review-window .arena-orbs {
    justify-self:end;
  }
  .review-window .trait-tracker .synergy-row {
    min-height:34px;
    padding:3px 7px 3px 5px;
    gap:6px;
  }
  .review-window .trait-tracker .synergy-hex {
    width:24px;
    height:26px;
  }
  .review-window .trait-tracker .synergy-row.is-active .synergy-hex {
    width:26px;
    height:28px;
  }
  .review-window .trait-tracker .synergy-name {
    font-size:0.74rem;
  }
}
@media(min-width:861px) and (max-width:1040px) {
  .review-window .board-canvas {
    --coach-item-sz:36px;
    --coach-trait-w:auto;
    --coach-unit-sz:52px;
    --coach-orb-col:auto;
    grid-template-columns:auto minmax(0,1fr) var(--coach-orb-col);
    column-gap:8px;
  }
  .review-window .coach-left-dock {
    gap:8px;
  }
  .review-window .board-canvas:not(.has-orbs) {
    --coach-orb-col:0px;
  }
  .review-window .trait-tracker .synergy-meta { display:none; }
  .review-window .trait-tracker .synergy-row { min-height:32px; padding:3px 5px; gap:4px; }
}
@media(max-width:860px) {
  :root { --gutter:22px; }
  .site-header {
    display:flex;
    justify-content:space-between;
  }
  .site-header nav.site-nav,
  .header-actions .auth-header-slot,
  .header-contact-btn {
    display:none;
  }
  .mobile-nav-toggle {
    display:inline-flex;
  }
  .bento-grid {
    grid-template-columns:1fr;
    gap:14px;
  }
  .review-window,
  .review-window:fullscreen,
  .review-window.is-expanded-frame {
    grid-template-columns:1fr;
  }
  .review-window:fullscreen,
  .review-window.is-expanded-frame {
    overflow-y:auto;
  }
  .review-window .board-canvas,
  .review-window:fullscreen .board-canvas,
  .review-window.is-expanded-frame .board-canvas {
    --coach-item-sz:40px;
    --coach-trait-w:158px;
    --coach-unit-sz:56px;
    --coach-orb-col:auto;
    grid-template-columns:auto minmax(0,1fr) var(--coach-orb-col);
    column-gap:10px;
  }
  .review-window .arena-orbs,
  .review-window:fullscreen .arena-orbs,
  .review-window.is-expanded-frame .arena-orbs {
    justify-self:end;
  }
  .review-window .board-canvas:not(.has-orbs),
  .review-window:fullscreen .board-canvas:not(.has-orbs),
  .review-window.is-expanded-frame .board-canvas:not(.has-orbs) {
    --coach-orb-col:0px;
  }
  .coach-sidebar {
    border-left:0;
    border-top:1px solid var(--line);
  }
  .coach-sidebar-inner { position:static; }
  .move-list { flex:none; max-height:280px; }
  .try-section,
  .puzzles-promo-section,
  .method-section,
  .faq-section,
  .contrast-grid,
  .verdict-grid {
    grid-template-columns:1fr;
    gap:24px;
  }
  .how-steps { grid-template-columns:1fr; max-width:480px; margin-inline:auto; }
  .how-section { padding-block:64px; }
  .review-section,
  .puzzles-promo-section,
  .bento-section,
  .try-section,
  .method-section,
  .faq-section,
  .how-contrast,
  .how-verdicts,
  .how-closing {
    padding-block:64px;
  }
  .plans-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:640px) {
  .plans-grid {
    grid-template-columns:1fr;
    max-width:480px;
  }
}
@media(max-width:700px) {
  :root { --gutter:18px; }
  .service-panel { left:0; right:auto; width:min(330px,calc(100vw - 36px)); }
  .engine-name { font-size:clamp(3.3rem,14.5vw,5.5rem); }
  .intro-scene::after {
    background:linear-gradient(90deg,#000b,#000a 68%,#0003),linear-gradient(180deg,#0005,transparent 50%,#0009 86%,var(--bg));
  }
  .intro { padding:124px 0 88px; min-height:100svh; }
  .intro-copy { width:100%; }
  .intro-lower { margin-top:48px; }
  .intro-benefits { margin-top:0; gap:15px; font-size:1rem; }
  .intro-benefits li { grid-template-columns:22px minmax(0,1fr); gap:12px; }
  .intro-benefits svg { width:22px; height:22px; }
  .engine-tagline { font-size:1.08rem; margin:12px 0 0 0; white-space:normal; }
  .intro-scroll { bottom:22px; }
  .puzzles-promo-card { padding:18px; }
  .puzzles-promo-cta { width:100%; }
  .site-header { height:76px; }
  .brand { font-size:1.34rem; gap:7px; }
  .brand img { width:34px; height:34px; }
  .header-try-btn { height:34px; padding:0 14px; font-size:0.78rem; }
  .mobile-nav-toggle { width:34px; height:34px; }
  .header-cta { padding:9px 12px; font-size:0.75rem; }

  .review-window .game-view { padding:12px 12px 14px; }
  .review-window .game-hud { grid-template-columns:minmax(0,1fr) auto; row-gap:8px; }
  .review-window .coach-phase-tracker { grid-column:1 / -1; order:3; }
  .review-window .game-stage,
  .review-window .board-block,
  .review-window .tiers-block { height:auto; }
  .review-window .board-canvas,
  .review-window:fullscreen .board-canvas,
  .review-window.is-expanded-frame .board-canvas {
    --coach-item-sz:34px;
    --coach-trait-w:auto;
    --coach-unit-sz:50px;
    --coach-orb-col:auto;
    grid-template-columns:auto minmax(0,1fr) var(--coach-orb-col);
    column-gap:8px;
    flex:none;
    min-height:190px;
  }
  .review-window .coach-left-dock {
    justify-self:start;
    gap:6px;
  }
  .review-window .board-arena {
    min-height:176px;
    padding:22px 8px 14px;
  }
  .review-window .board-canvas:not(.has-orbs),
  .review-window:fullscreen .board-canvas:not(.has-orbs),
  .review-window.is-expanded-frame .board-canvas:not(.has-orbs) {
    --coach-orb-col:0px;
  }
  .tiers-history { flex:none; max-height:340px; }
  .tier-row-grid { grid-template-columns:1fr; gap:6px; }
  .review-window .trait-tracker .synergy-meta { display:none; }
  .review-window .trait-tracker .synergy-row { min-height:30px; padding:3px 4px; gap:4px; }
  .review-window .action-tray,
  .review-window:fullscreen .action-tray,
  .review-window.is-expanded-frame .action-tray { padding:8px; height:auto; min-height:0; max-height:none; flex:0 0 auto; }
  .aug-offer { grid-template-columns:1fr; height:auto; }
  .aug-card-desc { display:none; }
  .round-strip { padding:12px 14px; }
  .coach-dialog { height:186px; min-height:186px; max-height:186px; }
  .speech-bubble { height:auto; min-height:0; max-height:186px; }
  .review-window .coach-dialog,
  .review-window .coach-dialog.is-explain-open { height:auto; min-height:112px; max-height:none; }
  .review-window .coach-dialog .speech-bubble,
  .review-window .coach-dialog.is-explain-open .speech-bubble { max-height:none; }
  .review-window .match-summary { justify-content:flex-start; gap:14px; }
  .shop-strip { gap:4px; }
  .shop-strip .shop-traits { display:none; }
  .shop-art-box::after { background:none; }
  .shop-foot { height:22px; padding:0 4px; }
  .shop-name { max-width:100%; font-size:0.58rem; }
  .shop-coin { font-size:0.58rem; }
  .shop-score-state { display:none; }
  .shop-score-meta { justify-content:center; font-size:0.62rem; }
  .aug-tier-grid { grid-template-columns:1fr; }
  .coach-body { padding:20px 16px; }
  .legal-page { padding-block:44px 72px; }
  .legal-dl > div { grid-template-columns:1fr; gap:4px; }
  .plans-waitlist-bar { padding:16px; }
  .plans-waitlist-controls { flex-direction:column; align-items:stretch; max-width:none; }
  .plans-waitlist-controls .button { width:100%; }
}
@media(min-width:701px) and (max-width:1024px) {
  .intro-scene::after {
    background:linear-gradient(90deg,#000b,#0009 34%,#0004 50%,transparent 64%),linear-gradient(180deg,#000b,#0006 9%,transparent 22%,transparent 76%,#0009 92%,var(--bg));
  }
}
@media(min-width:701px) and (max-height:800px) {
  .intro { padding-top:150px; }
}
.vod-analyze-bar {
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px 16px;
}
.vod-analyze-bar .video-note {
  margin:0;
}
.vod-analyze-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.vod-progress-box {
  margin-top:12px;
  padding:12px 14px;
  border-radius:10px;
  background:#111118;
  border:1px solid #242433;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.vod-progress-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:0.82rem;
  color:#cfd2e3;
  font-variant-numeric:tabular-nums;
}
.vod-progress-track {
  width:100%;
  height:6px;
  border-radius:999px;
  background:#1d1d2a;
  overflow:hidden;
}
.vod-progress-fill {
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg,#91e5ff,#c9b3ff,#f2ace6);
  transition:width .25s ease;
}

@media(prefers-reduced-motion:reduce) {
  .intro-reflections,.intro-iris {
    display:none;
  }
  .intro-artwork,.intro-copy { transform:none; opacity:1; }
  .intro-scene { opacity:1; }
  html { scroll-behavior:auto; }
  *,*:before,*:after { transition:none!important; animation:none!important; }
}
