/* wheel-knowledge.com — the game's own skin (wok_theme.dart): navy, raised navy, gold. */
:root{--navy:#10121C;--raised:#1A2036;--line:#2A3352;--gold:#D4AF37;--gold-bright:#EACB5F;--white:#F0F0F5;--dim:#A8ADC4;--danger:#E05B5B}
*{box-sizing:border-box}
html,body{margin:0;background:var(--navy);color:var(--white);font:16px/1.6 -apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
a{color:var(--gold-bright);text-decoration:none}a:hover{text-decoration:underline}
.wrap{max-width:980px;margin:0 auto;padding:0 20px}
header.top{border-bottom:1px solid var(--line);background:rgba(16,18,28,.92);position:sticky;top:0;backdrop-filter:blur(6px)}
header.top .wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:12px;color:var(--white);font-weight:700;letter-spacing:.02em}
.brand img{width:36px;height:36px;border-radius:8px}
.brand small{display:block;font-weight:400;color:var(--dim);font-size:12px;letter-spacing:0}
nav a{margin-left:18px;color:var(--white);font-size:14px}nav a.current{color:var(--gold-bright)}
.hero{position:relative;margin:24px 0 8px;border:1.4px solid var(--gold);border-radius:16px;overflow:hidden;background:var(--raised)}
.hero img{display:block;width:100%;height:auto}
.hero .copy{padding:22px 24px 26px}
.hero h1{margin:0 0 6px;font-size:34px;line-height:1.15;color:var(--gold-bright)}
.hero .tag{margin:0 0 12px;font-size:20px;font-weight:600}
.hero .soon{color:var(--dim);font-style:italic;margin:0}
main{padding:8px 0 40px}
h2{margin:36px 0 12px;font-size:24px;color:var(--gold-bright);letter-spacing:.01em}
h3{margin:28px 0 10px;font-size:19px;color:var(--gold-bright)}
h1.page{margin:28px 0 4px;font-size:32px;color:var(--gold-bright)}
p{margin:0 0 14px}
ul,ol{margin:0 0 14px 22px;padding:0}li{margin:6px 0}
table{border-collapse:collapse;width:100%;margin:8px 0 18px;background:var(--raised);border:1px solid var(--line);border-radius:12px;overflow:hidden}
th,td{padding:10px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
th{color:var(--gold-bright);font-weight:600;background:rgba(212,175,55,.06)}
tr:last-child td{border-bottom:none}
.domains{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin:8px 0 20px}
.domain{background:var(--raised);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.domain b{color:var(--gold-bright);letter-spacing:.06em}
.board{margin:8px 0 18px;text-align:center}.board img{max-width:520px;width:100%;border-radius:16px;border:1.4px solid var(--gold)}
.card{background:var(--raised);border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:12px 0}
.stars{color:var(--gold-bright);letter-spacing:2px}
.meta{color:var(--dim);font-size:13px}
.legal p,.legal li{color:var(--white)}.legal .updated{color:var(--dim);font-style:italic}
footer{border-top:1px solid var(--line);padding:26px 0 40px;color:var(--dim);font-size:13px}
footer .links a{margin-right:16px}
footer p{margin:0 0 8px}
hr{border:0;border-top:1px solid var(--line);margin:28px 0}

/* the language menu (WF.5): a flag beside every language; the ten first */
nav{display:flex;align-items:center}
details.langs{position:relative;margin-left:18px}
details.langs summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;color:var(--white);font-size:14px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:var(--raised)}
details.langs summary::-webkit-details-marker{display:none}
details.langs summary::after{content:"▾";color:var(--dim);font-size:11px}
.flag{display:inline-block;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
.langs-list{position:absolute;right:0;top:calc(100% + 6px);width:300px;max-height:70vh;overflow:auto;background:var(--raised);border:1.4px solid var(--gold);border-radius:12px;padding:8px;z-index:20}
.langs-list a{display:grid;grid-template-columns:24px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:6px 8px;border-radius:8px;color:var(--white);margin:0;font-size:14px}
.langs-list a .flag{grid-row:1/3}
.langs-list a small{grid-column:2;color:var(--dim);font-size:11px}
.langs-list a:hover{background:rgba(212,175,55,.08);text-decoration:none}
.langs-list a.current{color:var(--gold-bright)}
.langs-more{border-top:1px solid var(--line);margin-top:6px;padding-top:6px}
.langs-more b{display:block;color:var(--dim);font-size:11px;font-weight:600;margin:4px 8px 6px;letter-spacing:.06em;text-transform:uppercase}
.machine{color:var(--dim);font-style:italic;border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin:0 0 16px}
[dir=rtl] .langs-list{right:auto;left:0}

/* the board's art on the page (WF.7/WF.8) */
.iconrow{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:center;margin:6px 0 18px}
.iconrow img{width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(0,0,0,.45))}
.iconrow img:first-child{width:96px;height:96px}
.special{display:grid;grid-template-columns:150px 1fr;gap:16px;align-items:center;background:var(--raised);border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:12px 0}
.special-art{position:relative;width:150px;height:150px}
.special-art .corner{width:150px;height:150px;object-fit:contain;border-radius:12px}
.special-art .tile{position:absolute;right:-6px;bottom:-6px;width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}
.special-copy p{margin:0}
@media (max-width:560px){.special{grid-template-columns:1fr}.special-art{margin:0 auto}}

/* ── WF.9: the first page as layers ── */
.eyebrow{margin:0 0 6px;color:var(--gold);font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
section{margin:56px 0}
section h2{margin-top:0}
.hero-x{position:relative;margin:24px 0 0;border:1.4px solid var(--gold);border-radius:18px;overflow:hidden;background:#0d1230;min-height:420px;display:flex;align-items:flex-end}
.hero-bg{position:absolute;inset:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:right center;opacity:.95}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,18,48,.96) 0%,rgba(13,18,48,.86) 38%,rgba(13,18,48,.15) 70%,rgba(13,18,48,0) 100%),linear-gradient(0deg,rgba(13,18,48,.9) 0%,rgba(13,18,48,0) 45%)}
.hero-copy{position:relative;padding:48px 36px 36px;max-width:560px}
.hero-copy h1{margin:0 0 8px;font-size:44px;line-height:1.05;color:var(--gold-bright);text-shadow:0 2px 12px rgba(0,0,0,.5)}
.hero-copy .tag{margin:0 0 14px;font-size:21px;font-weight:600}
.hero-copy .lede{margin:0 0 20px;color:var(--white);font-size:16px}
.badges{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 16px}
.badge{display:inline-flex;flex-direction:column;padding:9px 16px;border:1px solid var(--gold);border-radius:10px;background:rgba(16,18,28,.7);color:var(--white);font-weight:600;font-size:15px;line-height:1.15}
.badge small{color:var(--dim);font-weight:400;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.scroll{color:var(--gold-bright);font-size:14px}
.two{display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center}
.two .two-art{display:flex;justify-content:center;align-items:center}
.two .two-art img{max-width:100%;height:auto}
.two.domains-x .two-art img.board-x{width:100%;max-width:460px;border-radius:16px;border:1.4px solid var(--gold);box-shadow:0 20px 60px rgba(0,0,0,.5)}
.glow{position:relative}
.glow img{width:220px;filter:drop-shadow(0 0 30px rgba(212,175,55,.35)) drop-shadow(0 8px 20px rgba(0,0,0,.6))}
.domains{grid-template-columns:1fr 1fr;gap:10px}
.domain{display:flex;gap:12px;align-items:center;padding:10px 12px}
.domain img{width:44px;height:44px;flex:none;filter:drop-shadow(0 2px 4px rgba(0,0,0,.5))}
.domain div{display:flex;flex-direction:column;gap:2px}.domain span{color:var(--dim);font-size:13px;line-height:1.35}
.turn .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;position:relative;margin-top:22px}
.turn .steps::before{content:"";position:absolute;left:8%;right:8%;top:38px;height:2px;background:linear-gradient(90deg,transparent,var(--gold),var(--gold),transparent);opacity:.6}
.step{position:relative;background:var(--raised);border:1px solid var(--line);border-radius:14px;padding:52px 16px 18px;text-align:center}
.step-icon{position:absolute;left:50%;top:-4px;transform:translateX(-50%);width:80px;height:80px}
.step-icon img{width:80px;height:80px;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(0,0,0,.6))}
.step-icon i{position:absolute;right:-4px;bottom:2px;width:24px;height:24px;border-radius:50%;background:var(--gold);color:var(--navy);font-style:normal;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}
.step h3{margin:22px 0 6px;font-size:17px}.step p{margin:0;color:var(--white);font-size:14px;line-height:1.5}
.orbit{position:relative;width:340px;height:340px;margin:0 auto}
.orbit img{position:absolute;width:88px;height:88px;object-fit:contain;filter:drop-shadow(0 6px 14px rgba(0,0,0,.6))}
.orbit .orbit-0{width:120px;height:120px;left:110px;top:110px;filter:drop-shadow(0 0 26px rgba(212,175,55,.35))}
.orbit .orbit-1{left:126px;top:0}.orbit .orbit-2{left:236px;top:64px}.orbit .orbit-3{left:236px;top:190px}
.orbit .orbit-4{left:126px;top:252px}.orbit .orbit-5{left:14px;top:190px}.orbit .orbit-6{left:14px;top:64px}
.band{display:grid;grid-template-columns:320px 1fr;gap:28px;align-items:center;background:var(--raised);border:1px solid var(--line);border-radius:16px;padding:18px 22px;margin:14px 0}
.band.flip{grid-template-columns:1fr 320px}.band.flip .band-art{order:2}
.band-art{position:relative;width:320px;height:300px;display:flex;align-items:center;justify-content:center}
.band-art .corner{width:300px;height:300px;object-fit:contain;filter:drop-shadow(0 12px 30px rgba(0,0,0,.6))}
.band-art .tile{position:absolute;right:8px;bottom:8px;width:86px;height:86px;object-fit:contain;filter:drop-shadow(0 4px 12px rgba(0,0,0,.7))}
.band-copy h3{margin:0 0 8px;font-size:24px;letter-spacing:.08em}.band-copy p{margin:0;font-size:16px;line-height:1.6}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.tile{background:var(--raised);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.tile b{display:block;color:var(--gold-bright);margin-bottom:6px;font-size:15px}.tile p{margin:0;color:var(--white);font-size:14px;line-height:1.5}
.company .devicon{width:180px;border-radius:32px;border:1.4px solid var(--gold);box-shadow:0 12px 40px rgba(0,0,0,.5)}
@media (max-width:820px){.two,.two.domains-x{grid-template-columns:1fr}.turn .steps{grid-template-columns:1fr 1fr}.turn .steps::before{display:none}.tiles{grid-template-columns:1fr 1fr}.band,.band.flip{grid-template-columns:1fr}.band.flip .band-art{order:0}.band-art{margin:0 auto}}
@media (max-width:560px){.hero-copy h1{font-size:32px}.hero-x{min-height:360px}.turn .steps,.tiles,.domains{grid-template-columns:1fr}.orbit{transform:scale(.8)}}

/* ── WF.9-r1: TWO VIEWS. The browser view runs edge to edge with the imagery doubled;
   the phone view is one column. The 820/560 rules above stay as the middle ground. ── */
.badge b{font-weight:700}
a.badge.live{border-color:var(--gold-bright);background:linear-gradient(180deg,rgba(212,175,55,.22),rgba(212,175,55,.08))}
a.badge.live:hover{text-decoration:none;background:rgba(212,175,55,.3)}
a.badge.live small{color:var(--gold-bright)}
@media (min-width:1024px){
  .wrap{max-width:none;padding:0 4vw}
  header.top .wrap{height:76px}
  .brand{font-size:18px}.brand img{width:44px;height:44px}nav a{font-size:16px;margin-left:24px}
  .hero-x{margin:0 -4vw;border-radius:0;border-left:0;border-right:0;min-height:640px}
  .hero-copy{padding:72px 4vw 56px;max-width:760px}
  .hero-copy h1{font-size:64px}.hero-copy .tag{font-size:26px}.hero-copy .lede{font-size:19px;max-width:640px}
  .badge{padding:14px 24px;font-size:18px;border-radius:14px}.badge small{font-size:12px}
  .scroll{font-size:16px}
  section{margin:88px 0}
  .eyebrow{font-size:13px}section h2,h2{font-size:34px}h3{font-size:22px}
  p,li{font-size:17.5px}
  .two{gap:64px}
  .glow img{width:440px}
  .two.domains-x .two-art img.board-x{max-width:920px}
  .domains{gap:14px}.domain{padding:14px 16px}.domain img{width:64px;height:64px}.domain b{font-size:17px}.domain span{font-size:15px}
  .turn .steps{gap:24px;margin-top:40px}.turn .steps::before{top:70px}
  .step{padding:96px 22px 26px}.step-icon{width:150px;height:150px;top:-12px}.step-icon img{width:150px;height:150px}.step-icon i{width:32px;height:32px;font-size:16px}
  .step h3{margin-top:32px}.step p{font-size:16px}
  .orbit{width:680px;height:680px}
  .orbit img{width:176px;height:176px}
  .orbit .orbit-0{width:240px;height:240px;left:220px;top:220px}
  .orbit .orbit-1{left:252px;top:0}.orbit .orbit-2{left:472px;top:128px}.orbit .orbit-3{left:472px;top:380px}
  .orbit .orbit-4{left:252px;top:504px}.orbit .orbit-5{left:28px;top:380px}.orbit .orbit-6{left:28px;top:128px}
  .band{grid-template-columns:600px 1fr;gap:48px;padding:28px 36px;margin:22px 0}.band.flip{grid-template-columns:1fr 600px}
  .band-art{width:600px;height:560px}.band-art .corner{width:560px;height:560px}.band-art .tile{width:160px;height:160px;right:12px;bottom:12px}
  .band-copy h3{font-size:34px}.band-copy p{font-size:19px;line-height:1.65}
  .tiles{gap:20px}.tile{padding:22px 24px}.tile b{font-size:18px}.tile p{font-size:16px}
  .company .devicon{width:360px}
  footer{font-size:15px}
}

/* ── D-W3 THE MOTION LAW (M.1; r3): one speed, only in view; the reduced-motion gate withdrawn by the owner's ruling (2026-09-06) -- a tap pauses on a phone ── */
@keyframes wok-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.hub-svg{width:100%;height:100%;display:block;overflow:visible}
.spin-disc{transform-box:view-box;transform-origin:59.6218px 68.8453px;animation:wok-spin 36s linear infinite;animation-play-state:paused}
.spinner.in-view .spin-disc{animation-play-state:running}
.glow.spinner{width:220px;height:220px;filter:drop-shadow(0 0 30px rgba(212,175,55,.35)) drop-shadow(0 8px 20px rgba(0,0,0,.6))}
@media (min-width:1024px){.glow.spinner{width:440px;height:440px}}

/* ── D-W3 (M.2): the board as a wheel; the wedge ring around the still hub with its turning disc ── */
.spin-whole,.ring{animation:wok-spin 36s linear infinite;animation-play-state:paused;transform-origin:50% 50%}
.spinner.in-view .spin-whole,.spinner.in-view .ring{animation-play-state:running}
.two.domains-x .two-art{overflow:visible}
.orbit .ring{position:absolute;inset:0}
.orbit .orbit-hub{position:absolute;left:110px;top:110px;width:120px;height:120px;filter:drop-shadow(0 0 26px rgba(212,175,55,.35))}
@media (min-width:1024px){.orbit .orbit-hub{left:220px;top:220px;width:240px;height:240px}}

/* ── M.2-r1: the board's frame stands, its round part turns; the wedges keep their attitude while circling ── */
.board-stack{position:relative;width:100%;max-width:460px;aspect-ratio:1/1;border-radius:16px;border:1.4px solid var(--gold);box-shadow:0 20px 60px rgba(0,0,0,.5);background:#fff;overflow:hidden}
.board-stack .layer{position:absolute;inset:0;width:100%;height:100%;display:block}
.ring img{animation:wok-spin 36s linear infinite reverse;animation-play-state:paused;transform-origin:50% 50%}
.spinner.in-view .ring img{animation-play-state:running}
@media (min-width:1024px){.board-stack{max-width:920px}}

/* ── D-W3 on a phone (M.2-r2): compositing hints, containment, the orbit sized to the screen, touch parity ── */
.spinner .layer,.ring,.ring img,.spin-disc{will-change:transform;backface-visibility:hidden}
.spinner{contain:layout paint}
.board-stack .layer{transform:translateZ(0)}
@media (hover:none) and (pointer:coarse){
  /* no hover on a phone: nothing depends on it; a tap on a spinner pauses and resumes it */
  .spinner.paused .spin-disc,.spinner.paused .spin-whole,.spinner.paused .ring,.spinner.paused .ring img{animation-play-state:paused!important}
}

/* M.2-r3: the two hubs centred in their rows on every view (the box is its own flex container and has a fixed width) */
.two .two-art.glow.spinner{justify-self:center;margin:0 auto}
.two.domains-x .two-art.spinner{justify-self:stretch;width:100%}

/* M.2-r4: the board's square on browsers without aspect-ratio (a padding spacer gives the box its height) */
.board-stack::before{content:"";display:block;padding-top:100%}

/* ── W-13 (before 1.2), r2: the header above every layer; the menu's search. THE PHONE VIEW LIVES IN mobile.css (W-11 r1) ── */
header.top{z-index:1000}
.langs-list{z-index:1001}
.langs-search{display:block;width:100%;box-sizing:border-box;margin:0 0 8px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:var(--navy);color:var(--white);font-size:14px;outline:none}
.langs-search:focus{border-color:var(--gold-bright)}
.langs-search::placeholder{color:var(--dim)}
.langs-none{margin:6px 8px;color:var(--dim);font-size:13px}
.langs-list a[hidden]{display:none}
.langs-more b[hidden]{display:none}
html{overscroll-behavior-y:none}
footer{margin-bottom:0}
.orbit{overflow:visible}

/* W-14 (2026-09-07): the footer at the foot of the screen on a short page (the reviews page) -- both views */
body{min-height:100vh;display:flex;flex-direction:column}
main{flex:1 0 auto}
footer{flex:0 0 auto}

/* ── W-15 (2026-09-17, Phase 1.7.d.2): CALL AND MEET IN THE LOBBY — the first feature after the hero ── */
.call .lede{color:var(--white);font-size:16px;line-height:1.55;margin:0 0 18px}
.call .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:6px}
.call .step{padding:34px 14px 16px}
.call .step-icon{width:44px;height:44px;top:-14px}.call .step-icon i{position:static;width:44px;height:44px;font-size:18px;line-height:44px;display:block;border-radius:50%;background:var(--gold);color:var(--navy);font-style:normal;font-weight:800;text-align:center}
.call .step h3{margin:6px 0 4px;font-size:16px}
.private{margin-top:18px;padding:14px 16px;border:1.4px solid var(--gold);border-radius:14px;background:rgba(212,175,55,.06);color:var(--white);font-size:14px;line-height:1.55}
.private b,.private strong{color:var(--gold-bright)}
/* the lobby ring: six seats around the hub; the hub's disc turns by D-W3's law (the same spin-disc, its own instance) */
.lobby{position:relative;width:340px;height:340px;margin:0 auto}
.lobby-hub{position:absolute;left:110px;top:110px;width:120px;height:120px;filter:drop-shadow(0 0 26px rgba(212,175,55,.35))}
.lobby-hub svg,.lobby-hub img{width:120px;height:120px;display:block}
.seat{position:absolute;width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;letter-spacing:.06em;background:var(--raised);border:1.4px solid var(--gold);color:var(--white);box-shadow:0 6px 14px rgba(0,0,0,.6)}
.seat.you{background:var(--gold);color:var(--navy)}
.seat.friend{border-color:#35c759;color:#35c759}
.seat.empty{border-style:dashed;color:var(--gold-bright);opacity:.85}
.seat-1{left:134px;top:0}.seat-2{left:246px;top:66px}.seat-3{left:246px;top:200px}.seat-4{left:134px;top:266px}.seat-5{left:22px;top:200px}.seat-6{left:22px;top:66px}
.lobby-video{position:absolute;left:190px;top:34px;width:26px;height:26px;border-radius:50%;background:#35c759;color:var(--navy);font-size:11px;line-height:26px;text-align:center;font-weight:800;box-shadow:0 0 0 3px var(--navy)}
@media (min-width:1024px){.lobby{width:440px;height:440px}.lobby-hub{left:150px;top:150px;width:140px;height:140px}.lobby-hub svg,.lobby-hub img{width:140px;height:140px}.seat{width:84px;height:84px;font-size:13px}.seat-1{left:178px;top:0}.seat-2{left:326px;top:86px}.seat-3{left:326px;top:270px}.seat-4{left:178px;top:356px}.seat-5{left:30px;top:270px}.seat-6{left:30px;top:86px}.lobby-video{left:246px;top:44px}}
