/* The season interface: stone, shade and worked bronze for the menu, the pages, the buttons and the dimming behind dialogs.
   Loaded after every other stylesheet. Every rule here needs a season (`data-look` on <html>), so Classic is unchanged. */
/* the season's colours and pictures, one line each; the page's own picture follows the place (data-place) */
html:root[data-look="spring"]{--w-shade:17,19,11;--felt:#181a12;--felt2:#1f2118;--panel:#282b20;--panel2:#323628;--line:#474c3a;--line2:#5f664d;--ink2:#c0c0ab;--mute:#9c9c86;--w-stone:url(/static/world/spring/ui-stone.webp?v=1);--w-tablet:url(/static/world/spring/ui-tablet.webp?v=1);--w-step:url(/static/world/spring/ui-ledge.webp?v=1);--w-edge:url(/static/world/spring/ui-edge.webp?v=1);--w-phone:url(/static/world/spring/table-phone.webp?v=1);--w-metal:#a9c3a6;--deep:#181a12;--vs-bg:#282b20;--go-bg:#323628;--links-bg:#1f2118;--arena-bg:#181a12;--overlay:rgba(17,19,11,.62)}
html:root[data-look="spring"]{--w-pic:url(/static/world/spring/lobby.webp?v=2)}
html:root[data-look="spring"][data-place="lobby"]{--w-pic:url(/static/world/spring/lobby.webp?v=2)}
html:root[data-look="spring"][data-place="decks"]{--w-pic:url(/static/world/spring/page-decks.webp?v=1)}
html:root[data-look="spring"][data-place="ladder"]{--w-pic:url(/static/world/spring/page-ladder.webp?v=1)}
html:root[data-look="spring"][data-place="tourn"]{--w-pic:url(/static/world/spring/page-tourn.webp?v=1)}
html:root[data-look="spring"][data-place="social"]{--w-pic:url(/static/world/spring/page-social.webp?v=1)}
html:root[data-look="spring"][data-place="replays"]{--w-pic:url(/static/world/spring/page-replays.webp?v=1)}
html:root[data-look="spring"][data-place="news"]{--w-pic:url(/static/world/spring/page-news.webp?v=1)}
html:root[data-look="spring"][data-place="gate"]{--w-pic:url(/static/world/spring/lobby.webp?v=2)}
html:root[data-look="summer"]{--w-shade:11,14,6;--felt:#12160c;--felt2:#191e11;--panel:#222817;--panel2:#2b3220;--line:#414a31;--line2:#586342;--ink2:#b8bba2;--mute:#93977d;--w-stone:url(/static/world/summer/ui-stone.webp?v=1);--w-tablet:url(/static/world/summer/ui-tablet.webp?v=1);--w-step:url(/static/world/summer/ui-ledge.webp?v=1);--w-edge:url(/static/world/summer/ui-edge.webp?v=1);--w-phone:url(/static/world/summer/table-phone.webp?v=1);--w-metal:#ffe07e;--deep:#12160c;--vs-bg:#222817;--go-bg:#2b3220;--links-bg:#191e11;--arena-bg:#12160c;--overlay:rgba(11,14,6,.62)}
html:root[data-look="summer"]{--w-pic:url(/static/world/summer/lobby.webp?v=2)}
html:root[data-look="summer"][data-place="lobby"]{--w-pic:url(/static/world/summer/lobby.webp?v=2)}
html:root[data-look="summer"][data-place="decks"]{--w-pic:url(/static/world/summer/page-decks.webp?v=1)}
html:root[data-look="summer"][data-place="ladder"]{--w-pic:url(/static/world/summer/page-ladder.webp?v=1)}
html:root[data-look="summer"][data-place="tourn"]{--w-pic:url(/static/world/summer/page-tourn.webp?v=1)}
html:root[data-look="summer"][data-place="social"]{--w-pic:url(/static/world/summer/page-social.webp?v=1)}
html:root[data-look="summer"][data-place="replays"]{--w-pic:url(/static/world/summer/page-replays.webp?v=1)}
html:root[data-look="summer"][data-place="news"]{--w-pic:url(/static/world/summer/page-news.webp?v=1)}
html:root[data-look="summer"][data-place="gate"]{--w-pic:url(/static/world/summer/lobby.webp?v=2)}
html:root[data-look="autumn"]{--w-shade:21,11,6;--felt:#1b120c;--felt2:#231811;--panel:#2f2118;--panel2:#3b2b20;--line:#564031;--line2:#705443;--ink2:#c9b5a5;--mute:#a89182;--w-stone:url(/static/world/autumn/ui-stone.webp?v=1);--w-tablet:url(/static/world/autumn/ui-tablet.webp?v=1);--w-step:url(/static/world/autumn/ui-ledge.webp?v=1);--w-edge:url(/static/world/autumn/ui-edge.webp?v=1);--w-phone:url(/static/world/autumn/table-phone.webp?v=1);--w-metal:#f0a66a;--deep:#1b120c;--vs-bg:#2f2118;--go-bg:#3b2b20;--links-bg:#231811;--arena-bg:#1b120c;--overlay:rgba(21,11,6,.62)}
html:root[data-look="autumn"]{--w-pic:url(/static/world/autumn/lobby.webp?v=2)}
html:root[data-look="autumn"][data-place="lobby"]{--w-pic:url(/static/world/autumn/lobby.webp?v=2)}
html:root[data-look="autumn"][data-place="decks"]{--w-pic:url(/static/world/autumn/page-decks.webp?v=1)}
html:root[data-look="autumn"][data-place="ladder"]{--w-pic:url(/static/world/autumn/page-ladder.webp?v=1)}
html:root[data-look="autumn"][data-place="tourn"]{--w-pic:url(/static/world/autumn/page-tourn.webp?v=1)}
html:root[data-look="autumn"][data-place="social"]{--w-pic:url(/static/world/autumn/page-social.webp?v=1)}
html:root[data-look="autumn"][data-place="replays"]{--w-pic:url(/static/world/autumn/page-replays.webp?v=1)}
html:root[data-look="autumn"][data-place="news"]{--w-pic:url(/static/world/autumn/page-news.webp?v=1)}
html:root[data-look="autumn"][data-place="gate"]{--w-pic:url(/static/world/autumn/lobby.webp?v=2)}
html:root[data-look="winter"]{--w-shade:8,13,22;--felt:#121822;--felt2:#19212e;--panel:#212b3a;--panel2:#2b374a;--line:#415167;--line2:#566983;--ink2:#b0bdce;--mute:#8b9bb0;--w-stone:url(/static/world/winter/ui-stone.webp?v=1);--w-tablet:url(/static/world/winter/ui-tablet.webp?v=1);--w-step:url(/static/world/winter/ui-ledge.webp?v=1);--w-edge:url(/static/world/winter/ui-edge.webp?v=1);--w-phone:url(/static/world/winter/table-phone.webp?v=1);--w-metal:#e6eefa;--deep:#121822;--vs-bg:#212b3a;--go-bg:#2b374a;--links-bg:#19212e;--arena-bg:#121822;--overlay:rgba(8,13,22,.62)}
html:root[data-look="winter"]{--w-pic:url(/static/world/winter/lobby.webp?v=2)}
html:root[data-look="winter"][data-place="lobby"]{--w-pic:url(/static/world/winter/lobby.webp?v=2)}
html:root[data-look="winter"][data-place="decks"]{--w-pic:url(/static/world/winter/page-decks.webp?v=1)}
html:root[data-look="winter"][data-place="ladder"]{--w-pic:url(/static/world/winter/page-ladder.webp?v=1)}
html:root[data-look="winter"][data-place="tourn"]{--w-pic:url(/static/world/winter/page-tourn.webp?v=1)}
html:root[data-look="winter"][data-place="social"]{--w-pic:url(/static/world/winter/page-social.webp?v=1)}
html:root[data-look="winter"][data-place="replays"]{--w-pic:url(/static/world/winter/page-replays.webp?v=1)}
html:root[data-look="winter"][data-place="news"]{--w-pic:url(/static/world/winter/page-news.webp?v=1)}
html:root[data-look="winter"][data-place="gate"]{--w-pic:url(/static/world/winter/lobby.webp?v=2)}

/* the game layer keeps today's colours: the tokens are set back inside the table */
html:root[data-look] .mat{--felt:#14171c;--felt2:#191d24;--panel:#1f242c;--panel2:#262c36;--line:#313945;--line2:#3d4654;--ink2:#a9aeb6;--mute:#6f7681;--overlay:rgba(20,23,28,.72);--vs-bg:#221f14;--go-bg:#2a2717;--links-bg:#1d1a12}
html:root[data-look] .mat .pop{--ink2:#cfc7b8;--mute:#b3aa9a;--line:rgba(255,255,255,.16);--line2:rgba(255,255,255,.22)}

/* pages: the place is seen, and every text stands on shade or carries its own */
html:root[data-look]:not([data-place]) .shell,html:root[data-look][data-place] .shell{--cp-wash:linear-gradient(180deg,rgba(var(--w-shade),.30) 0,rgba(var(--w-shade),.50) 45%,rgba(var(--w-shade),.64) 100%),var(--w-pic) center/cover;
  --cp-plate:color-mix(in srgb,var(--panel) 93%,transparent);--cp-plate2:color-mix(in srgb,var(--panel2) 95%,transparent);--cp-hi:inset 0 1px 0 rgba(255,255,255,.10),inset 0 -1px 0 rgba(0,0,0,.4)}
html:root[data-look] .shell .cp-head p,html:root[data-look] .shell .cp-head h1,html:root[data-look] .shell h2,html:root[data-look] .shell h3,html:root[data-look] .shell .cp-page>p{text-shadow:0 1px 2px rgba(0,0,0,.85),0 0 14px rgba(0,0,0,.75)}
html:root[data-look] .shell .cp-head p{color:var(--ink)}
html:root[data-look] .shell .cp-head>:first-child{position:relative;isolation:isolate}
html:root[data-look] .shell .cp-head>:first-child::before{content:"";position:absolute;inset:-34px -90px -28px -70px;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,rgba(var(--w-shade),.80),rgba(var(--w-shade),.62) 55%,rgba(var(--w-shade),0))}
html:root[data-look] .cp-decks h2{isolation:isolate}html:root[data-look] .cp-decks h2::before{content:"";position:absolute;left:-40px;top:-16px;width:340px;height:64px;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,rgba(var(--w-shade),.7),rgba(var(--w-shade),0))}

/* on a narrow window it stays inside the page's own margin: 90 px past a heading made four phone pages 74 px too wide */
@media (max-width:1240px){html:root[data-look] .shell .cp-head>:first-child::before{left:-16px;right:-16px}html:root[data-look] .shell .cp-decks h2::before{left:-16px;width:min(340px,calc(100% + 32px))}}
/* the top menu: a beam of the ruin, its lower edge chipped */
html:root[data-look] .shell .top-rule,html:root[data-look] .landing .top-rule{display:none}
html:root[data-look] .shell .bar,html:root[data-look] .pp-bar{border-bottom:0;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,0) 14%,rgba(0,0,0,0) 62%,rgba(0,0,0,.34)),var(--w-stone) 0 0/440px;box-shadow:none}
html:root[data-look] .shell .bar::after{content:"";position:absolute;left:0;right:0;top:100%;margin-top:-2px;height:14px;background:var(--w-edge) 0 0/auto 14px repeat-x;filter:drop-shadow(0 5px 5px rgba(0,0,0,.55));pointer-events:none;z-index:-1}
html:root[data-look] .shell .nav a,html:root[data-look] .brand,html:root[data-look] .cp-plate-t b{text-shadow:0 1px 2px rgba(0,0,0,.8)}
html:root[data-look] .shell .nav a{color:#d9d1c0}
html:root[data-look] .shell .nav a.on{background:linear-gradient(180deg,rgba(0,0,0,.42),rgba(0,0,0,.16));box-shadow:inset 0 3px 7px rgba(0,0,0,.6),inset 1px 0 0 rgba(255,255,255,.05),inset -1px 0 0 rgba(255,255,255,.05);color:#fff6dc}
html:root[data-look] .shell .nav a.on::after{height:3px;box-shadow:0 0 10px var(--glow)}
html:root[data-look] .brand{white-space:nowrap}html:root[data-look] .rolebadge{white-space:nowrap}
@media (min-width:900px) and (max-width:1640px){html:root[data-look] .shell .bar{padding:0 18px;gap:12px}html:root[data-look] .shell .nav{margin-left:4px}html:root[data-look] .shell .nav a{padding:0 10px;gap:7px;font-size:17px}html:root[data-look] .shell .nav a svg{width:20px;height:20px}html:root[data-look] .brand{font-size:17px}html:root[data-look] .cp-plate-t{max-width:120px;overflow:hidden}}


/* one button: worked bronze; the quiet one is cut into the stone */
/* the result card is approved (end-v3, 2026-11-28): nothing here reaches into .fin */
html:root[data-look] .btn:not(.quiet):not(.fin *),html:root[data-look] button.gold:not(.fin *),html:root[data-look] #overlay .scene .sbar button.gold,html:root[data-look] #overlay .scene .sbar button.act.go,html:root[data-look] #ask .scene .sbar button.gold{
  border-radius:9px;border:1px solid #f9dfa0;color:#271703;text-decoration:none;text-shadow:0 1px 0 rgba(255,244,205,.55);
  background:linear-gradient(180deg,#fbe09a 0,#eebb55 42%,#cf8f30 58%,#b87a25 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 3px 0 #6e4415,0 9px 16px rgba(0,0,0,.45)}
html:root[data-look] .btn:not(.quiet):not(.fin *):active,html:root[data-look] button.gold:not(.fin *):active{transform:translateY(2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 1px 0 #6e4415}
html:root[data-look] .btn.quiet:not(.fin *),html:root[data-look] .home-setup,html:root[data-look] #overlay .scene .sbar button:not(.gold):not(.act.go),html:root[data-look] #ask .scene .sbar button:not(.gold):not(.coinbtn){
  border-radius:9px;border:1px solid rgba(255,255,255,.20);color:#f1e8d6;text-decoration:none;background:rgba(0,0,0,.34);box-shadow:inset 0 2px 5px rgba(0,0,0,.6),0 1px 0 rgba(255,255,255,.10)}

/* the dimming behind a card's enlargement, the sign-in and the card zoom */
html:root[data-look] dialog.lightbox::backdrop{background:rgba(var(--w-shade),.72);-webkit-backdrop-filter:none;backdrop-filter:none}
html:root[data-look] dialog.lp-auth::backdrop{background:radial-gradient(90% 80% at 50% 46%,rgba(var(--w-shade),.66),rgba(var(--w-shade),.82))}
html:root[data-look] #cardzoom::backdrop{background:radial-gradient(90% 80% at 50% 46%,rgba(var(--w-shade),.78),rgba(var(--w-shade),.6))}

/* 4. stone with a carved line and chipped sides: what holds a question or a choice */
html:root[data-look] #overlay .scene .sbar,html:root[data-look] #ask .scene .sbar,html:root[data-look] .hmode,html:root[data-look] .home .gl-home-fmt .gl-fmt,html:root[data-look] #toast{
  border:26px solid transparent;border-image:var(--w-tablet) 104 fill stretch;background:none}
html:root[data-look] #overlay .scene .sbar,html:root[data-look] #ask .scene .sbar{width:auto;min-width:min(520px,86vw);max-width:min(1120px,94%);align-self:center;margin:0 auto;padding:4px 30px;filter:drop-shadow(0 16px 22px rgba(0,0,0,.6));color:#fff6e2;--ink:#fff6e2}
html:root[data-look] #overlay .scene .sbar::before,html:root[data-look] #overlay .scene .sbar::after,html:root[data-look] #ask .scene .sbar::before,html:root[data-look] #ask .scene .sbar::after{display:none}
html:root[data-look] #overlay .scene .prompt,html:root[data-look] #ask .prompt{text-shadow:0 2px 3px rgba(0,0,0,.85)}
html:root[data-look] #overlay .scene .sub{color:#f0e8d8;text-shadow:0 1px 2px #000,0 0 10px #000}
html:root[data-look] #ask form.scene{display:flex;justify-content:center}
/* the season stays in sight: the middle is shaded for the cards, the arena round it stays lit; a question without cards shades less */
html:root[data-look] #overlay:has(.scene){background:radial-gradient(75% 70% at 50% 44%,rgba(var(--w-shade),.80) 0,rgba(var(--w-shade),.74) 46%,rgba(var(--w-shade),.34) 100%);-webkit-backdrop-filter:none;backdrop-filter:none}
html:root[data-look] #overlay:has(.scene):not(:has(.grid .card)){background:radial-gradient(60% 50% at 50% 50%,rgba(var(--w-shade),.60),rgba(var(--w-shade),.30))}
html:root[data-look] dialog#ask::backdrop{background:radial-gradient(60% 50% at 50% 50%,rgba(var(--w-shade),.62),rgba(var(--w-shade),.32));-webkit-backdrop-filter:none;backdrop-filter:none}
html:root[data-look] #overlay .scene .grid .card.dim{filter:brightness(.5) saturate(.6)}
html:root[data-look] .wait{background:linear-gradient(90deg,rgba(var(--w-shade),0),rgba(var(--w-shade),.9) 20%,rgba(var(--w-shade),.9) 80%,rgba(var(--w-shade),0))}
html:root[data-look] #toast{border-width:18px;padding:2px 10px;box-shadow:none;filter:drop-shadow(0 12px 18px rgba(0,0,0,.55))}
/* the mulligan strip: two hands of seven stay inside the window, on more rows when they must (arena.js showMill: #toast is a flex row of column blocks, each a row of cards over a line) */
html:root[data-look] #toast{width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box;flex-wrap:wrap;justify-content:center}
html:root[data-look] #toast>div>div:first-child{flex-wrap:wrap;justify-content:center}
/* where two hands do not fit side by side, one lies above the other, so the stone hugs its cards */
@media (max-width:1680px){html:root[data-look] #toast{flex-direction:column}}
@media (min-width:900px){
  html:root[data-look] .mat .pop{border:15px solid transparent;border-image:var(--w-tablet) 104 fill stretch;background:none;border-radius:0;padding:0 2px;width:268px;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;filter:drop-shadow(0 14px 18px rgba(0,0,0,.6))}
  html:root[data-look] .mat .pop .act{background:rgba(0,0,0,.28);border-color:rgba(255,255,255,.14)}
  html:root[data-look] .mat .pop .act.go{background:linear-gradient(90deg,rgba(246,200,96,.34),rgba(246,200,96,.12));border-color:rgba(250,210,120,.75)}
}

@media (max-width:899px){html:root[data-look] #overlay .scene .sbar,html:root[data-look] #ask .scene .sbar{border-width:18px;min-width:0;width:calc(100% - 16px);max-width:none;padding:2px 6px}
  /* the mulligan strip on a phone: four cards in a row */
  html:root[data-look] #toast .card{width:min(72px,calc((100vw - 118px) / 4));height:auto;aspect-ratio:104/132}}

/* the title screen (2026-11-30): the page's own backdrop is the gate, lit; the shade is only behind the words at the top and at
   the bottom, and goes on below the first screen, so the gate is never drawn twice and nothing has an edge */
html:root[data-look]:not([data-place]) .shell.lp,html:root[data-look][data-place] .shell.lp{--cp-wash:var(--w-pic) center/cover}
html:root[data-look] .hero-scrim{background:linear-gradient(180deg,rgba(var(--w-shade),.80) 0,rgba(var(--w-shade),.62) 150px,rgba(var(--w-shade),0) 300px,rgba(var(--w-shade),0) 74%,rgba(var(--w-shade),.56) 100%)}
html:root[data-look] .lp-rest{background:linear-gradient(180deg,rgba(var(--w-shade),.56) 0,rgba(var(--w-shade),.78) 220px)}
html:root[data-look] .lp .landing{position:static;max-width:none;padding:0;flex-direction:column;align-items:stretch;justify-content:flex-start}
html:root[data-look] .lp .landing .pitch{position:relative;z-index:2;flex:1;box-sizing:border-box;width:100%;max-width:none;align-items:center;text-align:center;gap:6px;padding:16px 16px 0}
html:root[data-look] .lp .landing h1{font-size:clamp(44px,4.2vw,72px);text-shadow:0 2px 3px rgba(0,0,0,.85),0 0 26px rgba(0,0,0,.7)}
html:root[data-look] .lp .landing .lede{max-width:none;font-size:20px;text-shadow:0 1px 2px rgba(0,0,0,.95),0 0 16px rgba(0,0,0,.9)}
html:root[data-look] .lp .lp-cta{margin-top:auto;align-items:center;gap:18px;padding-bottom:38px}
html:root[data-look] .lp .lp-free{position:relative;isolation:isolate;color:#f6ecd8;text-shadow:0 1px 2px #000,0 0 12px #000}
html:root[data-look] .lp-free::before{content:"";position:absolute;inset:-14px -44px;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,rgba(var(--w-shade),.78),rgba(var(--w-shade),.6) 55%,rgba(var(--w-shade),0))}
html:root[data-look] .lp .lp-more{bottom:2px;height:32px;filter:drop-shadow(0 1px 3px #000);color:#f6ecd8}
/* the decks stand on the ground at the foot of the door. The backdrop is a 16:9 picture that covers the window from its
   centre: --g is its drawn height, the ground lies 31.5% of it below the middle, at every window size */
html:root[data-look] .lp-duel{--vh:100vh;--g:max(var(--vh),56.25vw);--cw:min(calc(var(--g)*.27),21vw,calc(var(--vh)*.38));--gap:min(calc(var(--g)*.19),13vw);--floor:min(calc(var(--vh)/2 + var(--g)*.315),calc(var(--vh) - 8px));position:absolute;inset:0;z-index:1;pointer-events:none}
@supports (height:1svh){html:root[data-look] .lp-duel{--vh:100svh}}
html:root[data-look] .lp-side{--d:-1;position:absolute;top:var(--floor);left:calc(50% + var(--d)*(var(--gap) + var(--cw)/2))}
html:root[data-look] .lp-side.s1{--d:1}
html:root[data-look] .lp-std{position:absolute;bottom:0;left:calc(var(--cw)/-2);width:var(--cw);transform:rotate(calc(var(--d)*1.4deg));transform-origin:50% 100%}
html:root[data-look] .lp-std.lp-mate{width:calc(var(--cw)*.82);bottom:calc(var(--cw)*.09);left:calc(var(--cw)*(-.41 + var(--d)*.56));transform:rotate(calc(var(--d)*5deg))}
html:root[data-look] .lp-std img{display:block;width:100%;height:auto;background:#0e1119;border-radius:4.5%/3.3%;box-shadow:0 10px 26px -8px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.28)}
html:root[data-look] .lp-std::before{content:"";position:absolute;left:-5%;right:-5%;bottom:calc(var(--cw)*-.09);height:calc(var(--cw)*.2);z-index:-1;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.82),rgba(0,0,0,.45) 60%,transparent)}
@keyframes lpstand{from{opacity:0}}
@media (prefers-reduced-motion:no-preference){html:root[data-look]:not(.nofx) .lp-std{animation:lpstand .6s cubic-bezier(.2,.7,.2,1) both .1s}}
/* the bar is the pages' beam of stone, the entries are the lobby's stone, the formats one slab */
html:root[data-look] .lp-bar{margin-top:0;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,0) 14%,rgba(0,0,0,0) 62%,rgba(0,0,0,.34)),var(--w-stone) 0 0/440px}
html:root[data-look] .lp-bar::after{content:"";position:absolute;left:0;right:0;top:100%;margin-top:-2px;height:14px;background:var(--w-edge) 0 0/auto 14px repeat-x;filter:drop-shadow(0 5px 5px rgba(0,0,0,.55));pointer-events:none}
html:root[data-look] .lp-links a,html:root[data-look] .lp-btn,html:root[data-look] .lp-beta{color:#f1e8d6;text-shadow:0 1px 2px rgba(0,0,0,.8)}
html:root[data-look] .lp-btn.out,html:root[data-look] .lp-beta{background:rgba(0,0,0,.34);border-color:rgba(255,255,255,.2)}
html:root[data-look] .lp-formats,html:root[data-look] .lp-modebtn{border:15px solid transparent;border-image:var(--w-tablet) 104 fill stretch;background:none;border-radius:0;box-shadow:none;filter:drop-shadow(0 8px 9px rgba(0,0,0,.5))}
html:root[data-look] .lp-formats{border-width:26px;padding:0 10px}
@media (min-width:900px){html:root[data-look] section.features{padding-top:44px}html:root[data-look] .lp-formats{margin-bottom:34px}html:root[data-look] .features h2{margin-bottom:18px}}
html:root[data-look] .lp-formats li{border-color:rgba(0,0,0,.45);box-shadow:inset 1px 0 0 rgba(255,255,255,.12)}
html:root[data-look] .lp-formats li:first-child{box-shadow:none}
html:root[data-look] .lp-formats b{color:#ffd778;text-shadow:0 1px 2px rgba(0,0,0,.9)}html:root[data-look] .lp-formats span{color:#f1e8d6;text-shadow:0 1px 2px rgba(0,0,0,.9)}
html:root[data-look] .lp-modebtn{border-width:14px;padding:0 4px}
html:root[data-look] .lp-modebtn b{color:#f6ecd8;text-shadow:0 1px 2px rgba(0,0,0,.85)}html:root[data-look] .lp-modebtn .hdisc{color:#d9cfba}
html:root[data-look] .lp-modebtn.on{filter:drop-shadow(0 0 9px rgba(250,200,90,.55)) drop-shadow(0 8px 9px rgba(0,0,0,.5))}
html:root[data-look] .lp-modebtn.on b,html:root[data-look] .lp-modebtn.on .hdisc{color:#ffd778}
html:root[data-look] .lp-big{background:rgba(0,0,0,.5)}
html:root[data-look] .lp .lp-line,html:root[data-look] .landing-foot{color:#f1e8d6}
@media (max-width:899px){
  html:root[data-look] .lp .hero{min-height:100svh}
  html:root[data-look] .hero-scrim{background:linear-gradient(180deg,rgba(var(--w-shade),.80) 0,rgba(var(--w-shade),.74) 225px,rgba(var(--w-shade),0) 360px,rgba(var(--w-shade),0) 74%,rgba(var(--w-shade),.56) 100%)}
  html:root[data-look] .lp .landing .pitch{padding:14px 16px 0}
  html:root[data-look] .lp .landing h1{font-size:clamp(34px,10.6vw,60px);white-space:nowrap}
  html:root[data-look] .lp .landing .lede{font-size:17px}
  html:root[data-look] .lp .lp-cta{width:min(100%,420px);padding-bottom:30px;gap:16px}
  html:root[data-look] .lp-duel{--cw:min(36vw,calc(var(--vh)*.2),220px);--gap:min(4vw,30px)}
  html:root[data-look] .lp-std.lp-mate{width:calc(var(--cw)*.74);left:calc(var(--cw)*(-.37 + var(--d)*.3));bottom:calc(var(--cw)*.14)}
  html:root[data-look] .lp-formats{border-width:20px;padding:0 4px}
  html:root[data-look] .lp-formats li:nth-child(odd){box-shadow:none}
  html:root[data-look] .lp-modebtn{border-width:12px;padding:0 4px 0 0}
  html:root[data-look] .lp-bar .brand-t{display:inline}
  html:root[data-look] .lp .community .lp-play{max-width:420px}
}
/* a low phone: PLAY goes down to the edge; where it still meets the cards it stands in front of them */
@media (max-width:899px) and (max-height:780px){html:root[data-look] .lp .lp-cta{gap:12px;padding-bottom:12px}}
/* a window too low for the words and the cards (a phone on its side): the words and PLAY stay */
@media (max-height:520px){html:root[data-look] .lp-duel{display:none}}

/* the public pages: the same menu, play button and shaded text */
html:root[data-look] .pp-rule{display:none}
html:root[data-look] .pp-bar::after{content:"";position:absolute;left:0;right:0;top:100%;margin-top:-2px;height:14px;background:var(--w-edge) 0 0/auto 14px repeat-x;pointer-events:none}
html:root[data-look] .pp-nav a{color:#d9d1c0;text-shadow:0 1px 2px rgba(0,0,0,.8)}html:root[data-look] .pp-nav a.on{color:#fff6dc;background:linear-gradient(180deg,rgba(0,0,0,.42),rgba(0,0,0,.16));box-shadow:inset 0 3px 7px rgba(0,0,0,.6)}
html:root[data-look] .pp-play{border:1px solid #f9dfa0;background:linear-gradient(180deg,#fbe09a 0,#eebb55 42%,#cf8f30 58%,#b87a25 100%);color:#271703}
html:root[data-look] .pp-log{background:rgba(var(--w-shade),.58)}
html:root[data-look] .pp-post{background:linear-gradient(90deg,rgba(var(--w-shade),.74) 0,rgba(var(--w-shade),.74) min(46rem,78%),rgba(var(--w-shade),.2) 100%)}
html:root[data-look] .shell .body:has(>#terms,>*>#terms,#terms){background:rgba(var(--w-shade),.7);box-shadow:0 0 0 28px rgba(var(--w-shade),.7);border-radius:2px}
html:root[data-look] .pp-hero::after{background:linear-gradient(90deg,rgba(var(--w-shade),.66),rgba(var(--w-shade),.52) 60%,rgba(var(--w-shade),.12))}html:root[data-look] .pp-hero :is(h1,p){text-shadow:0 1px 2px rgba(0,0,0,.85),0 0 14px rgba(0,0,0,.75)}
html:root[data-look][data-place] body:has(.pp-bar)::before{background:linear-gradient(180deg,rgba(var(--w-shade),.34) 0,rgba(var(--w-shade),.56) 45%,rgba(var(--w-shade),.7) 100%),var(--w-pic) center/cover}
/* 5. the table's rail is a pillar; the side panel is its shade */
html:root[data-look] .rail{border:0;background:linear-gradient(90deg,rgba(0,0,0,.55),rgba(255,255,255,.07) 5%,rgba(0,0,0,0) 22%,rgba(0,0,0,0) 78%,rgba(0,0,0,.35)),var(--w-stone) 0 0/440px;box-shadow:-10px 0 16px -4px rgba(0,0,0,.5)}
html:root[data-look] .rail .tn,html:root[data-look] .rail .rpl{color:#d6cebd;text-shadow:0 1px 2px #000}html:root[data-look] .rail .tt{text-shadow:0 1px 2px #000}
html:root[data-look] .rail-bottom .icon,html:root[data-look] .rail #tabs button,html:root[data-look] .rail-ctl .undo{background:rgba(0,0,0,.34);border-color:rgba(255,255,255,.14);color:#e6dcc8;box-shadow:inset 0 2px 5px rgba(0,0,0,.55),0 1px 0 rgba(255,255,255,.08)}
html:root[data-look] .rail-ctl .endturn.live{background:radial-gradient(circle at 50% 28%,#fff0bd,#f0bd55 45%,#b97b26);border-color:#fbe3a4}
html:root[data-look] .side{border-left:0}

/* 6. the lobby */
@media (min-width:900px){
  html:root[data-look] .hmode{border-width:15px;padding:1px 6px;border-radius:0;box-shadow:none;filter:drop-shadow(0 8px 9px rgba(0,0,0,.5))}
  html:root[data-look] .hmode b{color:#f6ecd8;text-shadow:0 1px 2px rgba(0,0,0,.85)}html:root[data-look] .hmode .hdisc{color:#d9cfba}
  html:root[data-look] .hmode.on{background:none;box-shadow:none;filter:drop-shadow(0 0 9px rgba(250,200,90,.55)) drop-shadow(0 8px 9px rgba(0,0,0,.5))}
  html:root[data-look] .hmode.on b,html:root[data-look] .hmode.on .hdisc{color:#ffd778}html:root[data-look] .hmode.on .hdisc{background:rgba(250,200,90,.16);box-shadow:0 0 14px rgba(250,200,90,.5)}
  html:root[data-look] .hmode:hover,html:root[data-look] .hmode:focus-within{z-index:6}
  html:root[data-look] .home .gl-home-fmt .gl-fmt{border-width:13px;padding:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 8px 9px rgba(0,0,0,.5))}
  html:root[data-look] .gl-fmt button[aria-pressed="false"]{color:#e0d7c5}
  html:root[data-look] .home-stage{--box:clamp(120px,min(13.2vw,24vh),250px)}
  html:root[data-look] .home-stage .mystery{border:0;background:rgba(0,0,0,.28);box-shadow:inset 0 6px 18px rgba(0,0,0,.75),inset 0 -1px 0 rgba(255,255,255,.18);color:#f1e8d6}
  html:root[data-look] .home-stage .mside .who{font-size:15px}html:root[data-look] .home-stage .matchup .vs small{font-size:15px}
  html:root[data-look] .home-go .home-setup{background:var(--w-stone) center/440px;border-radius:10px;white-space:nowrap}
}

/* 2. small text that stands on the picture itself, not on a plate: the light ink of the stone (measured: every visible text reaches its limit) */
html:root[data-look] .shell .head .hint,html:root[data-look] .waitlinks>.hint,html:root[data-look] .optl .hint,html:root[data-look] .optl .k,html:root[data-look] .cp-page>.sc-back:not(:hover),html:root[data-look] .tn-tabs>span:not(.on),html:root[data-look] .cp-h .sc-n,html:root[data-look] .shell section>.sc-quiet,html:root[data-look] .shell .cp-day{color:#f1e8d6;text-shadow:0 1px 2px rgba(0,0,0,.85)}
html:root[data-look] .resume summary .hint{color:var(--ink2)}
html:root[data-look] .steps-nav span:not(.on){color:#f1e8d6}
html:root[data-look] .steps-nav span.done{border-color:#f1e8d6}
html:root[data-look] .landing .lede{color:#f1e8d6}
html:root[data-look] .home-stage .matchup .mside .who{color:#f1e8d6}
html:root[data-look] .home-stage .matchup .vs small{position:relative;isolation:isolate}
html:root[data-look] .home-stage .matchup .vs small::before{content:"";position:absolute;inset:-10px -34px;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,rgba(var(--w-shade),.62),rgba(var(--w-shade),.4) 60%,rgba(var(--w-shade),0))}
html:root[data-look] .dr-start>span{color:#f1e8d6;text-shadow:0 1px 2px rgba(0,0,0,.85)}
@media (max-width:899px){html:root[data-look] .cp-page>.sc-back{padding:3px 9px;margin-left:-9px;border-radius:7px;background:rgba(var(--w-shade),.55)}}   /* the phone only: the label stands on a plate where the page's own padding is too small for the picture's busy side (measured: no text under its limit, no sideways scroll) */
/* the other pages (a check of every page, tab and text in all four seasons): tabs and lists that stand on the picture get a plate or a light ink */
html:root[data-look] .tn-tabs{background:linear-gradient(90deg,rgba(var(--w-shade),.5),rgba(var(--w-shade),.5) 45%,rgba(var(--w-shade),0))}
html:root[data-look] .tn-tabs>span.on{color:#ffe08a;text-shadow:0 1px 2px rgba(0,0,0,.85)}
html:root[data-look] .shell .cb-list{padding:12px 16px;border-radius:14px;background:rgba(var(--w-shade),.82)}
html:root[data-look] .shell .cb-row .st{color:var(--ink2)}
html:root[data-look] .cb-bar>span:not(.cb-seg),html:root[data-look] .cb-builder .tabs>span:not(.on),html:root[data-look] .tn-pane>.sc-quiet,html:root[data-look] #dk-piles>.hint,html:root[data-look] .dr-slot.free .dr-who span,html:root[data-look] .dr-main>h2>span,html:root[data-look] .dr-count>span{color:#f1e8d6;text-shadow:0 1px 2px rgba(0,0,0,.85)}
html:root[data-look] .err{color:#ffc4b5;text-shadow:0 1px 2px rgba(0,0,0,.85)}
html:root[data-look] .dk-cat>.hint{color:#fff8ea;text-shadow:0 1px 2px rgba(0,0,0,.85)}

/* 7. decks stand on stone. his pick A: the storeroom's wall runs from edge to edge */
html:root[data-look] .cp-shelf::before{display:none}
html:root[data-look] .cp-decks h2,html:root[data-look] .cp-decks h3{position:relative;z-index:2}
html:root[data-look] .cp-decks>section+section,html:root[data-look] .cp-decks .cp-sec+.cp-sec{margin-top:34px}
html:root[data-look] .cp-decks .boxes{--w-box:170px;--w-gap:92px;grid-template-columns:repeat(auto-fill,var(--w-box));justify-content:space-between;gap:var(--w-gap) 26px;grid-auto-rows:calc(var(--w-box) * 1.4);position:relative}
html:root[data-look] .cp-decks .boxes .dbox{z-index:1}
html:root[data-look] .cp-decks .boxes .dbox .wstep{display:none}
html:root[data-look] .cp-decks .boxes.cp-mine{justify-content:start;margin-top:0;padding-top:56px;padding-bottom:30px;column-gap:40px}
html:root[data-look] .cp-shelf{border:0;border-radius:0;box-shadow:none;margin-top:8px}
html:root[data-look] .cp-shelf .boxes.cp-row{margin-top:0;padding-top:64px;padding-bottom:46px}
html:root[data-look] .wstep{position:absolute;left:0;right:0;height:112px;margin-top:-64px;background:var(--w-step) var(--w-x,0px) 0/auto 112px repeat-x;pointer-events:none;z-index:0}
html:root[data-look] .wstep::after{content:"";position:absolute;left:0;right:0;top:calc(100% - 4px);height:40px;background:linear-gradient(180deg,rgba(0,0,0,.6),transparent)}
html:root[data-look] .cp-shelf{margin-inline:calc(50% - 50vw);padding:0 max(24px,calc(50vw - 50%));
  background:linear-gradient(180deg,rgba(var(--w-shade),0),rgba(var(--w-shade),.30) 110px,rgba(var(--w-shade),.38))}
@media (max-width:640px){html:root[data-look] .cp-mine-empty p{margin-top:34px;position:relative;z-index:2}html:root[data-look] .cp-decks .boxes{--w-box:112px;--w-gap:64px;gap:var(--w-gap) 12px}html:root[data-look] .wstep{height:78px;background-size:auto 78px;margin-top:-45px}html:root[data-look] .wstep::after{height:24px}}
/* 3. the lobby's deck step on a phone: its column may shrink (the row of deck markers held it at 461 px, so the page scrolled 87 to 117 px sideways) */
html:root[data-look] .decks{grid-template-columns:minmax(0,1fr)}

/* the four other places of the wood-and-felt picture: the deck picker, the match-up, the queue, the waiting page */
html:root[data-look] .waitstage,html:root[data-look] .q-stage,html:root[data-look] .dcase .stage,html:root[data-look] #matchup-host .matchup{background:linear-gradient(180deg,rgba(0,0,0,.6),rgba(0,0,0,.16) 45%,rgba(0,0,0,0) 78%),var(--w-step) 0 100%/auto 112px repeat-x,var(--w-stone) 0 0/440px;
  border-radius:10px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.6),inset 0 18px 30px rgba(0,0,0,.6),0 1px 0 rgba(255,255,255,.10)}
/* the waiting page: its line stands on the plain wall above the step's leaves, and the deck box stands on the step */
html:root[data-look] .waitstage{flex-flow:row wrap;align-items:flex-end;justify-content:center;gap:0 36px;padding:18px 24px 48px}
html:root[data-look] .waitstage .queued-msg{order:-1;flex:0 0 100%;margin-bottom:84px;text-align:center;color:var(--ink);text-shadow:0 1px 2px #000}

/* cubes are stone cubes on the same step: the Cubes page, the lobby's Cube draft and a tournament's chooser (one tile function, seasonCubeTile). Like the deck boxes they are 3D: no filter, opacity under 1 or overflow:hidden on the chain */
html:root[data-look] .cb-tile.wcube{--w-face:calc(var(--w-cube) * .82);--w-depth:calc(var(--w-cube) * .50);position:relative;display:block;width:var(--w-cube);height:var(--w-cube);overflow:visible;border:0;border-radius:0;background:none;box-shadow:none;perspective:1200px;z-index:1;transition:transform .25s ease}
html:root[data-look] .cb-tile.wcube:hover,html:root[data-look] .cb-tile.wcube:focus-visible{transform:translateY(-6px);border:0;outline:none}
/* 1. (Task 7's review) keyboard focus on the Cubes page is seen, as in the lobby and the chooser */
html:root[data-look] .cb-tile.wcube:focus-visible .wcube-front{outline:3px solid #fff6dc;outline-offset:1px}
html:root[data-look] .wcube-sh{position:absolute;left:2%;bottom:-9px;width:92%;height:22px;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.72),rgba(0,0,0,.34) 62%,transparent)}
html:root[data-look] .wcube-3d{position:absolute;left:0;bottom:0;width:var(--w-face);height:var(--w-face);transform-style:preserve-3d;transform:translateX(5%) rotateX(9deg) rotateY(-24deg);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
html:root[data-look] .wcube:hover .wcube-3d,html:root[data-look] .wcube:focus-visible .wcube-3d,html:root[data-look] .lc-pick.on .wcube-3d{transform:translateX(5%) rotateX(9deg) rotateY(-15deg)}
html:root[data-look] .wcube-face{position:absolute;display:block;backface-visibility:hidden}
html:root[data-look] .wcube-front{inset:0;transform:translateZ(calc(var(--w-depth) / 2));border-radius:5px;display:flex;flex-direction:column;color:#fff6e2}
html:root[data-look] .wcube-right{top:0;left:calc(100% - var(--w-depth) / 2);width:var(--w-depth);height:100%;transform:rotateY(90deg);border-radius:4px}
html:root[data-look] .wcube-top{left:0;top:calc(var(--w-depth) / -2);width:100%;height:var(--w-depth);transform:rotateX(90deg);border-radius:4px}
html:root[data-look] .wcube-art{position:relative;display:block;overflow:hidden;flex:1 1 0;min-height:0}
html:root[data-look] .wcube-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 15%;transform:scale(1.3);transform-origin:50% 40%}
html:root[data-look] .wcube-art.none{display:flex;align-items:center;justify-content:center;color:#f0cf86}html:root[data-look] .wcube-art.none svg{width:34%;height:34%}
html:root[data-look] .wcube-info{flex:none;display:flex;flex-direction:column;gap:2px;min-width:0;text-shadow:0 1px 2px rgba(0,0,0,.9)}
html:root[data-look] .wcube-info .tl-name{font-size:18px;line-height:1.08;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:clip}
html:root[data-look] .wcube-info .tl-sub{font-size:12px;line-height:1.25;color:#efe6d4;white-space:nowrap}
html:root[data-look] .wcube-info .wcube-by{font:600 12px/1.25 var(--body);color:#e4d8c0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:root[data-look] .wcube-cap{position:absolute;left:-7px;right:-5px;top:-23px;height:50px;background:var(--w-step) var(--w-cx,0px) 0/auto 62px repeat-x;pointer-events:none;
  -webkit-mask:linear-gradient(#000 78%,transparent),linear-gradient(90deg,transparent,#000 9px,#000 calc(100% - 3px),transparent);-webkit-mask-composite:source-in;mask:linear-gradient(#000 78%,transparent),linear-gradient(90deg,transparent,#000 9px,#000 calc(100% - 3px),transparent);mask-composite:intersect}
html:root[data-look] .wcube-right .wcube-cap{left:-3px;right:-9px;background-position:calc(var(--w-cx,0px) - 190px) 0;-webkit-mask:linear-gradient(#000 70%,transparent),linear-gradient(90deg,#000,#000 calc(100% - 26px),transparent);-webkit-mask-composite:source-in;mask:linear-gradient(#000 70%,transparent),linear-gradient(90deg,#000,#000 calc(100% - 26px),transparent);mask-composite:intersect}
html:root[data-look] .wcube-right .wcube-cap::after{content:"";position:absolute;inset:23px 0 0;background:linear-gradient(rgba(0,0,0,.16),rgba(0,0,0,.34))}
/* 1: a block of the ruin, the cover set into its front, the season on its edge */
html:root[data-look] .wcube-front{padding:17px 11px 9px;gap:7px;background:linear-gradient(118deg,rgba(255,246,226,.30),rgba(255,246,226,.10) 46%,rgba(0,0,0,.12)),var(--w-stone) var(--w-cx,0px) 0/440px;box-shadow:inset 1px 1px 0 rgba(255,246,226,.34),inset -1px -2px 0 rgba(0,0,0,.5)}
html:root[data-look] .wcube-art{border-radius:4px;background:rgba(0,0,0,.4);box-shadow:0 0 0 1px rgba(0,0,0,.65),0 1px 0 2px rgba(255,246,226,.16)}
html:root[data-look] .wcube-art::after{content:"";position:absolute;inset:0;border-radius:4px;box-shadow:inset 0 5px 10px rgba(0,0,0,.75),inset 0 0 0 1px rgba(0,0,0,.5)}
html:root[data-look] .wcube-right{background:linear-gradient(90deg,rgba(0,0,0,.20),rgba(0,0,0,.52)),var(--w-stone) 120px 60px/440px;box-shadow:inset 1px 0 0 rgba(255,246,226,.14),inset 0 1px 0 rgba(255,246,226,.12)}
html:root[data-look] .wcube-top{background:linear-gradient(rgba(255,246,226,.16),rgba(255,246,226,.34)),var(--w-stone) 60px 200px/440px}
/* where they stand: rows on the page, one long shelf to slide along in the lobby, rows in the chooser */
html:root[data-look] .cb-page .cb-grid:has(.wcube){--w-cube:232px;--w-gap:100px;display:grid;grid-template-columns:repeat(auto-fill,var(--w-cube));grid-auto-rows:var(--w-cube);justify-content:space-between;gap:var(--w-gap) 14px;position:relative;padding:26px 0 62px}
html:root[data-look] .cb-page section>.btn:not(.cb-more){align-self:flex-start}
html:root[data-look] .cb-page .cb-find{padding:0;border:0;background:none;box-shadow:none;position:relative;z-index:2}html:root[data-look] .cb-page .cb-find input{background:rgba(var(--w-shade),.78)}
html:root[data-look] .cb-page .cb-grid:has(.wcube)>.sc-quiet{grid-column:1/-1}html:root[data-look] .cb-page section,html:root[data-look] .cb-page .cp-h{position:relative;z-index:2}html:root[data-look] .cb-page section{z-index:auto}
@media (max-width:640px){html:root[data-look] .cb-page .cb-grid:has(.wcube){--w-cube:158px;--w-gap:66px;gap:var(--w-gap) 8px;padding:20px 0 46px}html:root[data-look] .wcube-x{display:none}html:root[data-look] .wcube-info .tl-name{font-size:15px}html:root[data-look] .wcube-front{padding:13px 8px 7px;gap:5px}html:root[data-look] .cb-tile.wcube .wcube-info .tl-name{font-size:15px}}
html:root[data-look] .ct-tiles:has(.wcube){--w-cube:190px;--w-gap:80px;position:relative;grid-template-columns:repeat(auto-fill,var(--w-cube));grid-auto-rows:var(--w-cube);justify-content:space-between;gap:var(--w-gap) 10px;padding:18px 10px 52px}html:root[data-look] .ct-tiles:has(.wcube) .wstep{left:-22px;right:-22px}html:root[data-look] .ct-chooser{overflow-x:clip}html:root[data-look] .ct-tiles .wcube-x{display:none}html:root[data-look] .ct-tiles .wcube-info .tl-name{font-size:16px}html:root[data-look] .ct-tiles:has(.wcube) .sc-quiet{grid-column:1/-1}
html:root[data-look] .ct-tiles button:focus-visible .wcube-front{outline:3px solid #fff6dc;outline-offset:1px}
@media (min-width:641px) and (max-width:899px){html:root[data-look] .cb-page .cb-grid:has(.wcube){--w-cube:208px}}
html:root[data-look] .lc-stage{border:0;border-radius:12px;background:linear-gradient(180deg,rgba(0,0,0,.50),rgba(0,0,0,.18) 40%,rgba(0,0,0,.36)),var(--w-stone) 0 0/440px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.6),inset 0 18px 30px rgba(0,0,0,.6),0 1px 0 rgba(255,255,255,.10)}
/* the Cube draft's case (lcube.js): stone with the snow step under the cubes */
html:root[data-look] .lc-ring{bottom:58px}   /* the cubes stand on the snow step */
html:root[data-look] .lc-case{--w-cube:var(--lc-cube);background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.12) 50%,rgba(0,0,0,0) 78%),var(--w-step) 0 100%/auto 112px repeat-x,var(--w-stone) 0 0/440px;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.6),inset 0 18px 30px rgba(0,0,0,.6)}
html:root[data-look] dialog.lightbox{scrollbar-width:thin;scrollbar-color:var(--line2) var(--panel)}
html:root[data-look] .lc-pick{width:var(--w-cube);border-radius:0}html:root[data-look] .lc-pick .cb-tile.wcube{width:var(--w-cube);height:var(--w-cube)}
html:root[data-look] .lc-pick.on,html:root[data-look] .lc-pick:focus-visible{outline:0;box-shadow:none}
html:root[data-look] .lc-pick.on .wcube-front{outline:3px solid #ffd778;outline-offset:-1px;box-shadow:0 0 26px 4px rgba(255,205,100,.75)}html:root[data-look] .lc-pick:focus-visible .wcube-front{outline:3px solid #fff6dc;outline-offset:1px}

@media (max-width:640px){html:root[data-look] .ct-tiles:has(.wcube){--w-cube:134px;--w-gap:62px;gap:var(--w-gap) 6px;padding:14px 0 42px}html:root[data-look] .ct-tiles .cb-tile.wcube .wcube-info .tl-name{font-size:14px}}
@media (min-width:900px) and (max-height:960px){html:root[data-look] .lc-stage .wcube-x{display:none}html:root[data-look] .lc-stage .wcube-info .tl-name{font-size:15px}html:root[data-look] .lc-stage .wcube-front{padding:13px 8px 7px;gap:5px}html:root[data-look] .lc-stage{gap:14px;padding-top:16px}}

/* 10. the coin: one metal, a real edge, thrown up from the table and down onto it (seasonCoinHtml and seasonCoinWords in world.js). Its metal and its stone
   are set on it, and only the sizes in today's place need data-look: a showing stays as it is when another look is picked. In a place (coinPlace) the stage
   gives it --coin-size, its row --coin-row and its words --coin-words; without one, each falls back to its own */
.wcoin-row{--w-up:1.16;display:flex;flex-wrap:wrap;justify-content:center;gap:14px 18px;max-width:min(430px,var(--coin-row,430px))}
.wcoin{--w-size:var(--coin-size,var(--w-base));position:relative;width:var(--w-size);height:var(--w-size);flex:none;perspective:calc(var(--w-size)*7)}
.wcoin-fly,.wcoin-turn{position:absolute;inset:0;transform-style:preserve-3d}
.wcoin-turn>*{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;display:block}
.wcoin-turn>i{background:repeating-conic-gradient(var(--w-e1) 0 1.6deg,var(--w-e2) 1.6deg 3.2deg);transform:translateZ(calc(var(--w-size)*.0075*(var(--w-k) - 5)))}
.wcoin-turn>img{backface-visibility:hidden;object-fit:cover}
.wcoin-turn>.wcoin-fh{transform:translateZ(calc(var(--w-size)*.039))}
.wcoin-turn>.wcoin-ft{transform:rotateX(180deg) translateZ(calc(var(--w-size)*.039))}
/* a face that fails leaves a plain disc of the metal */
.wcoin.noimg img{display:none}
.wcoin.noimg .wcoin-turn>i{background:var(--w-e1)}
.wcoin-sh{position:absolute;inset:4%;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.75),rgba(0,0,0,.5) 62%,transparent);transform:translate(3%,6%)}
.wcoin-dust{position:absolute;inset:-18%;border-radius:50%;opacity:0;background:radial-gradient(closest-side,transparent 60%,var(--w-dust) 74%,transparent)}
.wcoin .wcoin-turn{transform:rotateZ(-9deg)}.wcoin.wcoin-t .wcoin-turn{transform:rotateX(180deg) rotateZ(9deg)}
.wcoin.wcoin-go>.wcoin-fly{animation:wcoinfly var(--w-dur) both;animation-delay:var(--w-wait)}
.wcoin.wcoin-go.wcoin-h .wcoin-turn{animation:wcoinh var(--w-dur) both;animation-delay:var(--w-wait)}
.wcoin.wcoin-go.wcoin-t .wcoin-turn{animation:wcoint var(--w-dur) both;animation-delay:var(--w-wait)}
.wcoin.wcoin-go>.wcoin-sh{animation:wcoinsh var(--w-dur) both;animation-delay:var(--w-wait)}
.wcoin.wcoin-go>.wcoin-dust{animation:wcoindust var(--w-dur) both;animation-delay:var(--w-wait)}
@keyframes wcoinfly{0%{transform:scale(.82);animation-timing-function:cubic-bezier(.15,.7,.4,1)}40%{transform:translateY(-34%) scale(var(--w-up,1.95));animation-timing-function:cubic-bezier(.6,0,.85,.3)}74%{transform:none;animation-timing-function:ease-out}82%{transform:translateY(-4%) scale(1.13);animation-timing-function:ease-in}89%{transform:none;animation-timing-function:ease-out}93%{transform:scale(1.035);animation-timing-function:ease-in}97%,100%{transform:none}}
@keyframes wcoinh{0%{transform:rotateX(0) rotateZ(0)}74%{transform:rotateX(1800deg) rotateZ(-14deg)}82%{transform:rotateX(1818deg) rotateY(9deg) rotateZ(-12deg)}89%{transform:rotateX(1791deg) rotateY(-7deg) rotateZ(-10deg)}95%{transform:rotateX(1803deg) rotateY(2deg) rotateZ(-9deg)}100%{transform:rotateX(1800deg) rotateZ(-9deg)}}
@keyframes wcoint{0%{transform:rotateX(0) rotateZ(0)}74%{transform:rotateX(1980deg) rotateZ(14deg)}82%{transform:rotateX(1998deg) rotateY(9deg) rotateZ(12deg)}89%{transform:rotateX(1971deg) rotateY(-7deg) rotateZ(10deg)}95%{transform:rotateX(1983deg) rotateY(2deg) rotateZ(9deg)}100%{transform:rotateX(1980deg) rotateZ(9deg)}}
@keyframes wcoinsh{0%{transform:translate(3%,6%);opacity:1}40%{transform:translate(26%,64%) scale(1.5);opacity:.32}74%{transform:translate(3%,6%);opacity:1}82%{transform:translate(6%,14%) scale(1.06);opacity:.8}89%,100%{transform:translate(3%,6%);opacity:1}}
@keyframes wcoindust{0%,73%{transform:scale(.7);opacity:0}76%{opacity:.85}100%{transform:scale(1.55);opacity:0}}
/* its words on a small stone, as wide as its place at most, the stone's border included */
.wcoin-res{box-sizing:border-box;max-width:var(--coin-words,none);overflow-wrap:anywhere;border:15px solid transparent;border-image:var(--w-tablet) 104 fill stretch;padding:0 12px;text-align:center;color:#fff6e2;
  filter:drop-shadow(0 8px 10px rgba(0,0,0,.55));animation:wcoinres .3s both;animation-delay:var(--land)}
.wcoin-res b{display:block;font:700 22px/1.2 var(--display);text-shadow:0 1px 2px #000}
.wcoin-res small{display:block;font:500 14px/1.3 var(--body);color:#eadfca;text-shadow:0 1px 2px #000;max-width:300px;margin:0 auto}
/* the opening's last line is filled later (openingRun): where it WILL be filled (.soon) it keeps its height, so the coin does not jump then; elsewhere it stays empty and takes none */
.wcoin-res .open2{font:600 18px/1.3 var(--display);margin:0}
.wcoin-res .open2.soon{min-height:1.3em}
@keyframes wcoinres{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
/* motion off: the coin and its words are there at once, also when it is switched off while they show */
html.nofx .wcoin.wcoin-go *{animation:none!important}
html.nofx .wcoin-res{animation:none!important}
@media (prefers-reduced-motion:reduce){.wcoin.wcoin-go *{animation:none!important}.wcoin-res{animation:none!important}}
/* the stage is arena.css's (a column, `at` and `[hidden]` too), in its place or not. On a phone it starts at the table's middle, so it had half the table's width */
html:root[data-look] .coinstage:has(.wcoin){gap:16px}
@media (max-width:899px){html:root[data-look] #coinstage:has(.wcoin){width:max-content;max-width:calc(100% - 24px)}}
/* in today's place (a question over the table, or a bar with no room beside it) its coins are as tall as today's: one of 124 px with a season's taller words, or
   today's row, 56 px coins 12 px apart. A size set on a coin beats the one its stage hands down, so :not(.at) is what keeps these off a placed coin */
@media (min-width:900px){
  html:root[data-look] #coinstage:not(.at)>.wcoin{--coin-size:124px}
  html:root[data-look] #coinstage:not(.at)>.wcoin-row{--coin-size:56px;flex-wrap:nowrap;gap:12px;max-width:none}
}
/* on a phone its words and rows cover what today's words cover (measured at 390 and 360 px) */
@media (max-width:899px){
  html:root[data-look] #coinstage .wcoin-res{max-width:212px;padding:0 4px}
  html:root[data-look] #coinstage .wcoin-res b{font-size:19px}
  html:root[data-look] #coinstage .wcoin-res small{font-size:13px}
  html:root[data-look] #coinstage .wcoin-row{max-width:262px;gap:8px 10px}
}
/* the enlarged card of a resting mouse opens where the coin lands: it waits until the coin is gone (here the opening coin too) */
html:root[data-look]:has(.coinstage:not([hidden]) .wcoin) #hvp{visibility:hidden!important}
/* the call: the two faces, large (coinFaceUrl). At 400 px and less they stand closer, so they fit side by side on a 360 px screen */
html:root[data-look] #ask .coinbtn{flex-direction:column;gap:6px;padding:6px 18px 4px;border:0;background:none;box-shadow:none;border-radius:14px}
@media (max-width:400px){html:root[data-look] #ask .coinbtn{padding:6px 10px 4px}}
html:root[data-look] #ask .coinbtn img{width:112px;height:112px;box-shadow:none;border-radius:50%;filter:drop-shadow(0 8px 8px rgba(0,0,0,.6));transition:transform .15s ease}
html:root[data-look] #ask .coinbtn:hover img,html:root[data-look] #ask .coinbtn:focus-visible img{transform:translateY(-5px) scale(1.05)}
html:root[data-look] #ask .sbar:has(.coinbtn){flex-direction:column;gap:8px}
@media (min-width:900px){html:root[data-look] #ask .sbar:has(.coinbtn){min-width:420px}}
html:root[data-look] #ask .sbar .coinbtn:focus-visible{outline:0}
html:root[data-look] #ask .sbar .coinbtn:focus-visible img{box-shadow:0 0 0 3px #ffd778,0 0 22px rgba(255,210,110,.7)}
/* a face that fails leaves a plain disc of the season's metal (the coin's first edge colour, WCOIN_EDGE in world.js); it lifts and shows the focus as the picture does */
html:root[data-look] #ask .coinbtn.noimg img{display:none}
html:root[data-look] #ask .coinbtn.noimg::before{content:"";flex:none;width:112px;height:112px;border-radius:50%;background:var(--w-metal);filter:drop-shadow(0 8px 8px rgba(0,0,0,.6));transition:transform .15s ease}
html:root[data-look] #ask .coinbtn.noimg:hover::before,html:root[data-look] #ask .coinbtn.noimg:focus-visible::before{transform:translateY(-5px) scale(1.05)}
html:root[data-look] #ask .sbar .coinbtn.noimg:focus-visible::before{box-shadow:0 0 0 3px #ffd778,0 0 22px rgba(255,210,110,.7)}
html:root[data-look] #ask .coinleft{color:#eadfca;font-size:13px}
/* motion off: neither a stone cube nor a face of the call moves under the mouse or the keyboard, and a chosen cube stays turned. Twice, for the two signals, as for the coin */
html:root[data-look].nofx .cb-tile.wcube,html:root[data-look].nofx .wcube-3d,html:root[data-look].nofx #ask .coinbtn img,html:root[data-look].nofx #ask .coinbtn.noimg::before{transition:none}
html:root[data-look].nofx .cb-tile.wcube:is(:hover,:focus-visible),html:root[data-look].nofx #ask .coinbtn:is(:hover,:focus-visible) img,html:root[data-look].nofx #ask .coinbtn.noimg:is(:hover,:focus-visible)::before{transform:none}
html:root[data-look].nofx .wcube:is(:hover,:focus-visible) .wcube-3d:not(.lc-pick.on *){transform:translateX(5%) rotateX(9deg) rotateY(-24deg)}
@media (prefers-reduced-motion:reduce){
  html:root[data-look] .cb-tile.wcube,html:root[data-look] .wcube-3d,html:root[data-look] #ask .coinbtn img,html:root[data-look] #ask .coinbtn.noimg::before{transition:none}
  html:root[data-look] .cb-tile.wcube:is(:hover,:focus-visible),html:root[data-look] #ask .coinbtn:is(:hover,:focus-visible) img,html:root[data-look] #ask .coinbtn.noimg:is(:hover,:focus-visible)::before{transform:none}
  html:root[data-look] .wcube:is(:hover,:focus-visible) .wcube-3d:not(.lc-pick.on *){transform:translateX(5%) rotateX(9deg) rotateY(-24deg)}
}

/* what comes by itself: a challenge or a draft invitation is a second, darker course of the menu's stone (it had its own navy); the panel of the cards
   paid for a Trainer takes the season's shade; the two links of a guest's "Create account" had no colour but the browser's blue */
html:root[data-look] #chbar{padding-top:13px;border-bottom:0;background:linear-gradient(180deg,rgba(0,0,0,.62),rgba(0,0,0,.4) 30%,rgba(0,0,0,.46)),var(--w-stone) 0 -60px/440px;box-shadow:0 8px 14px -4px rgba(0,0,0,.55)}
html:root[data-look] #chbar button:not(.gold){border-color:var(--line2);background:rgba(0,0,0,.3)}
html:root[data-look] .fancost{background:rgba(var(--w-shade),.78)}
html:root[data-look] #claimbox .hint a{color:var(--gold)}

/* his pick of 2026-11-29: the Active circles, the discard trays, the Prize racks, the Lost Zone boxes and the Stadium's frame are stone; only their material
   changes, and only theirs: the tokens are set on these parts, because on <html> they also coloured the edge of the Bench */
html:root[data-look="spring"] .mat :is(.podium,.prop.tray,.prop.rack,.stack.lost:not(.lz-pile),.stad:has(.stadium[data-stadium])){--prop:#34362a;--prop-2:#2a2c21;--prop-face:#191a13;--prop-edge:#6d7256;--prop-line:#191a13}
html:root[data-look="summer"] .mat :is(.podium,.prop.tray,.prop.rack,.stack.lost:not(.lz-pile),.stad:has(.stadium[data-stadium])){--prop:#2c301f;--prop-2:#232718;--prop-face:#14170d;--prop-edge:#626c47;--prop-line:#14170d}
html:root[data-look="autumn"] .mat :is(.podium,.prop.tray,.prop.rack,.stack.lost:not(.lz-pile),.stad:has(.stadium[data-stadium])){--prop:#42301f;--prop-2:#35261a;--prop-face:#20160e;--prop-edge:#85634a;--prop-line:#20160e}
html:root[data-look="winter"] .mat :is(.podium,.prop.tray,.prop.rack,.stack.lost:not(.lz-pile),.stad:has(.stadium[data-stadium])){--prop:#333f51;--prop-2:#293344;--prop-face:#171e2a;--prop-edge:#7286a3;--prop-line:#171e2a}
html:root[data-look] .mat .podium{background:radial-gradient(circle,rgba(0,0,0,.42) 0 54%,rgba(0,0,0,0) 57%),radial-gradient(circle at 32% 24%,rgba(255,246,226,.30),rgba(255,246,226,.08) 46%,rgba(0,0,0,.20)),var(--w-stone) center/300px}
html:root[data-look] .mat .prop.tray{background:linear-gradient(180deg,rgba(0,0,0,.42),rgba(255,246,226,.10)),var(--w-stone) center/300px}
html:root[data-look] .mat .prop.rack{background:linear-gradient(165deg,rgba(255,246,226,.22),rgba(255,246,226,.04) 55%,rgba(0,0,0,.16)),var(--w-stone) center/300px}
html:root[data-look] .mat .stack.lost:not(.lz-pile){background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(255,246,226,.08)),var(--w-stone) center/300px}
/* the Stadium's frame: the circle's stone and light without its dark middle, where the card lies; border, shadow and padding stay arena.css's, and without a Stadium there is no frame */
html:root[data-look] .mat .stad:has(.stadium[data-stadium]){background:radial-gradient(circle at 32% 24%,rgba(255,246,226,.30),rgba(255,246,226,.08) 46%,rgba(0,0,0,.20)),var(--w-stone) center/300px}

/* the notice of the seasons: a stone tablet; the pictures, the buttons and the layout stay arena.css's */
html:root[data-look] dialog.lookask{border:26px solid transparent;border-image:var(--w-tablet) 104 fill stretch;background:none;padding:6px 14px;color:#fff6e2;--ink:#fff6e2;--ink2:#f0e8d8;filter:drop-shadow(0 16px 22px rgba(0,0,0,.6))}
html:root[data-look] dialog.lookask::backdrop{background:rgba(var(--w-shade),.28);-webkit-backdrop-filter:none;backdrop-filter:none}

/* the phone's table */
@media (max-width:899px){html:root[data-look] .mat{background:linear-gradient(rgba(var(--w-shade),.25),rgba(var(--w-shade),.25)),var(--w-phone) center/100% 100% no-repeat}
  html:root[data-look]{--table-pic:var(--w-phone)}
  html:root[data-look] .endback{background:linear-gradient(rgba(var(--w-shade),.25),rgba(var(--w-shade),.25)),var(--table-pic) center/100% 100% no-repeat,#070a10}
  html:root[data-look].arriving body::after{background:linear-gradient(rgba(var(--w-shade),.25),rgba(var(--w-shade),.25)),var(--table-pic) center/100% 100% no-repeat,#070a08}}

/* the gate's weather (world.js worldLoop): over the page's own picture, cut and shaded as it is. It fades in when it plays, and out while the lobby's menus slide
   away and below the gate. In the lobby only the picture stands still in the window: the page's shades are as tall as the page, so are the weather's (no transform
   or will-change on the box: its video would no longer stand still) */
html:root[data-look] .w-loop{display:none}
@media (min-width:900px) and (prefers-reduced-motion:no-preference){
  html:root[data-look]:not(.nofx) .w-loop{display:block;position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity 1.4s ease}
  html:root[data-look]:not(.nofx) .w-loop.on{opacity:1}
  html:root[data-look]:not(.nofx).arr-go .w-loop,html:root[data-look]:not(.nofx) .w-loop.w-loop-off{opacity:0;transition:opacity .45s ease}
  html:root[data-look]:not(.nofx) .w-loop video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
  html:root[data-look]:not(.nofx) .shell:has(>.w-loop-home){position:relative}
  html:root[data-look]:not(.nofx) .w-loop.w-loop-home{position:absolute}
  html:root[data-look]:not(.nofx) .w-loop.w-loop-home video{position:fixed;object-position:center 46%}
  html:root[data-look]:not(.nofx) .w-loop.w-loop-home::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 75% 70% at 50% 45%,transparent 55%,rgba(6,8,6,.62) 100%),
    linear-gradient(0deg,rgba(6,8,6,.78),transparent 26%),linear-gradient(180deg,rgba(6,8,6,.55),transparent 16%)}
}
