/* Wild scenery surrounds calm, legible deeds. Player and property colors keep
   their meaning; every world can also be applied to a different board. */
.theme-sugar-riot{--board-well:#24142d;--board-base:#63304f;--tile:#fff1db;--tile-text:#44213f;--board-center-ink:#fff2df}
.theme-brasswing-borough{--board-well:#122c28;--board-base:#395240;--tile:#f0e7cb;--tile-text:#193a2d;--board-center-ink:#f1dfad}
.theme-impossible-fair{--board-well:#201b44;--board-base:#57436d;--tile:#f5ecdf;--tile-text:#302047;--board-center-ink:#f3e3c8}
:root body[data-board-style=candy]{--bg:#25152e;--paper:#39213e;--ink:#fff2df;--muted:#e0bdd0;--line:#986482;--green:#8dddc6;--gold:#f5d46e;--style-panel:#4a2a4c;--style-hover:#633653;--style-accent:#ffabd0;--style-button:#53304e;--style-active:#59304e;background:radial-gradient(ellipse at 10% 0,#62294b,transparent 65%),#25152e;color:var(--ink);color-scheme:dark}
:root body[data-board-style=brass]{--bg:#132923;--paper:#213b30;--ink:#f3e8c6;--muted:#c5ccb0;--line:#868763;--green:#c3db98;--gold:#ebc67e;--style-panel:#304b39;--style-hover:#425d42;--style-accent:#e9c478;--style-button:#38533d;--style-active:#3d5137;background:radial-gradient(ellipse at 50% 0,#46523a,transparent 70%),#132923;color:var(--ink);color-scheme:dark}
:root body[data-board-style=fair]{--bg:#231d3b;--paper:#342945;--ink:#f5ead8;--muted:#d2bfd7;--line:#9681a3;--green:#c1ddbd;--gold:#edc785;--style-panel:#463555;--style-hover:#5d426b;--style-accent:#d8bbf3;--style-button:#503b60;--style-active:#533d63;background:radial-gradient(ellipse at 80% 0,#61456e,transparent 65%),#231d3b;color:var(--ink);color-scheme:dark}
:root :is(.theme-sugar-riot,.theme-brasswing-borough,.theme-impossible-fair) :is(.tv-center,.center-property,.creator-board-center){background:var(--board-well);color:var(--board-center-ink);padding:16px;box-shadow:0 9px 24px #0b092650}
.theme-sugar-riot :is(.tv-center,.center-property,.creator-board-center){border:3px solid #f4a2c4;border-radius:24px 8px 24px 8px}
.theme-brasswing-borough :is(.tv-center,.center-property,.creator-board-center){border:4px double #c2a269;border-radius:28px}
.theme-impossible-fair :is(.tv-center,.center-property,.creator-board-center){border:3px solid #c6acde;border-radius:50px 50px 8px 8px}
:root body[data-board-style=candy] :is(.tv-title h1,.tv-announcement,.estate-deed h2,.event-card h3){font-family:'Trebuchet MS',system-ui,sans-serif;font-weight:900;letter-spacing:-.035em}
:root body:is([data-board-style=brass],[data-board-style=fair]) :is(.tv-title h1,.tv-announcement,.estate-deed h2,.event-card h3){font-family:Georgia,serif;font-weight:500}
:root body[data-board-style=candy] :is(.desktop-sidebar,.tv-table){border:2px solid #dc8bae;border-radius:24px 8px 24px 8px;box-shadow:5px 5px 0 #130d22}
:root body[data-board-style=brass] :is(.desktop-sidebar,.tv-table){border:4px double #b29b65;border-radius:18px}
:root body[data-board-style=fair] :is(.desktop-sidebar,.tv-table){border:2px solid #b79acb;border-top:6px solid #d6b886;border-radius:18px 18px 4px 4px}
/* Candy wrappers, brass guild certificates and die-cut admission tickets. */
:root body[data-board-style=candy] :is(.tv-card,.event-card),:root .creator-card-preview[data-card-style=candy]{background:linear-gradient(#fff1db 0 0) padding-box,repeating-linear-gradient(135deg,#ec639b 0 12px,#f8c969 12px 24px) border-box;color:#44213f;border:8px solid transparent;border-radius:22px 7px 22px 7px;padding:20px;box-shadow:6px 6px 0 #29152d60}
:root body[data-board-style=brass] :is(.tv-card,.event-card),:root .creator-card-preview[data-card-style=brass]{background:radial-gradient(circle at 14px 14px,#96733d 0 3px,transparent 4px),radial-gradient(circle at calc(100% - 14px) 14px,#96733d 0 3px,transparent 4px),#f0e7cb;color:#193a2d;border:5px double #9b804b;border-radius:22px;padding:23px;box-shadow:0 8px 25px #0b241c60}
:root body[data-board-style=fair] :is(.tv-card,.event-card),:root .creator-card-preview[data-card-style=fair]{background:linear-gradient(90deg,#e9ccdd 0 12px,transparent 12px calc(100% - 12px),#e9ccdd calc(100% - 12px)),#f5ecdf;color:#302047;border:2px solid #b08fbd;border-top:7px solid #ce8b96;border-radius:40px 40px 8px 8px;padding:23px;box-shadow:0 9px 25px #18122f60}
:root body:is([data-board-style=candy],[data-board-style=brass],[data-board-style=fair]) :is(.tv-card,.event-card)::before,:is(.creator-card-preview[data-card-style=candy],.creator-card-preview[data-card-style=brass],.creator-card-preview[data-card-style=fair])::before{display:block;font:800 12px/1.5 Arial,sans-serif;letter-spacing:.13em;text-align:center;padding:0 5px 10px;margin-bottom:12px;border-bottom:2px dashed currentColor}
:root body[data-board-style=candy] :is(.tv-card,.event-card)::before,.creator-card-preview[data-card-style=candy]::before{content:'✦  UNWRAP AT YOUR OWN RISK  ✦';color:#8c305c}
:root body[data-board-style=brass] :is(.tv-card,.event-card)::before,.creator-card-preview[data-card-style=brass]::before{content:'⚙  OFFICE OF SMALL WONDERS  ⚙';color:#6f5327;border-bottom-style:double}
:root body[data-board-style=fair] :is(.tv-card,.event-card)::before,.creator-card-preview[data-card-style=fair]::before{content:'✧  ONE ADMISSION TO THE ABSURD  ✧';color:#744f83}
:root body[data-board-style=candy] :is(.tv-card,.event-card)[data-card-deck="Candy Crew"],:root .creator-card-preview[data-card-style=candy][data-card-deck="Candy Crew"]{background:linear-gradient(#e4f1d8 0 0) padding-box,repeating-linear-gradient(135deg,#65bca9 0 12px,#f8c969 12px 24px) border-box}
:root body[data-board-style=candy] :is(.tv-card,.event-card)[data-card-deck="Candy Crew"]::before,.creator-card-preview[data-card-style=candy][data-card-deck="Candy Crew"]::before{content:'✦  STICK TOGETHER  ✦';color:#356653}
:root body[data-board-style=brass] :is(.tv-card,.event-card)[data-card-deck="Hive Gazette"],:root .creator-card-preview[data-card-style=brass][data-card-deck="Hive Gazette"]{background:#e2ead0;border-color:#6d8357}
:root body[data-board-style=brass] :is(.tv-card,.event-card)[data-card-deck="Hive Gazette"]::before,.creator-card-preview[data-card-style=brass][data-card-deck="Hive Gazette"]::before{content:'❧  ALL THE BUZZ FIT TO PRINT  ❧';color:#47603c}
:root body[data-board-style=fair] :is(.tv-card,.event-card)[data-card-deck="Backstage"],:root .creator-card-preview[data-card-style=fair][data-card-deck="Backstage"]{background:#e9def0;border-color:#9475aa;border-top-color:#b398cd}
:root body[data-board-style=fair] :is(.tv-card,.event-card)[data-card-deck="Backstage"]::before,.creator-card-preview[data-card-style=fair][data-card-deck="Backstage"]::before{content:'✧  BEYOND THE VELVET CURTAIN  ✧'}
:root body[data-board-style=candy] .event-card p{color:#44213f!important}
:root body[data-board-style=brass] .event-card p{color:#193a2d!important}
:root body[data-board-style=fair] .event-card p{color:#302047!important}
:root body[data-board-style=candy] :is(.tv-card>span,.event-card>span){color:#70465d}
:root body[data-board-style=brass] :is(.tv-card>span,.event-card>span){color:#4b6149}
:root body[data-board-style=fair] :is(.tv-card>span,.event-card>span){color:#6a507c}
:root :is(.creator-card-preview[data-card-style=candy],.creator-card-preview[data-card-style=brass],.creator-card-preview[data-card-style=fair]) p{color:inherit;font:400 16px/1.55 system-ui,sans-serif}
:root .creator-card-preview[data-card-style=candy] h3{font:900 25px/1.2 'Trebuchet MS',sans-serif}
:root :is(.creator-card-preview[data-card-style=brass],.creator-card-preview[data-card-style=fair]) h3{font:500 25px/1.25 Georgia,serif}
:root body[data-board-style=candy] .die-face{background:#fff1db;border:3px solid #e978a5;border-radius:15px;box-shadow:inset 0 0 0 3px #fbd3e2}
:root body[data-board-style=candy] .die-face i{background:#bd3676;border:2px solid #f6b5d1;box-shadow:none}
:root body[data-board-style=brass] .die-face{background:#f0e7cb;border:3px double #97743d;border-radius:10px;box-shadow:inset 0 0 0 2px #d8c292}
:root body[data-board-style=brass] .die-face i{background:#315c45;border:2px solid #a99a60;box-shadow:none}
:root body[data-board-style=fair] .die-face{background:#f5ecdf;border:3px solid #a98abe;border-radius:6px;box-shadow:inset 0 0 0 3px #e5d4ed}
:root body[data-board-style=fair] .die-face i{background:#6a4280;border-radius:2px;transform:rotate(45deg);box-shadow:none}
:root body:is([data-board-style=candy],[data-board-style=brass],[data-board-style=fair]) .table-moment{background:var(--paper);color:var(--ink);border:3px solid var(--gold);box-shadow:0 12px 40px #100b2870}
:root body[data-board-style=candy] .table-moment{border-radius:28px 8px 28px 8px;border-color:#f4a2c4}
:root body[data-board-style=brass] .table-moment{border:5px double var(--gold);border-radius:24px}
:root body[data-board-style=fair] .table-moment{border-radius:42px 42px 8px 8px}
:root body:is([data-board-style=candy],[data-board-style=brass],[data-board-style=fair]) .table-moment :is(h2,h3){color:var(--gold)}
.effects-on .wild-candy-cloud{animation:wild-float 14s ease-in-out infinite alternate}
.effects-on .wild-beetle{animation:wild-float 18s ease-in-out infinite alternate}
.effects-on .wild-fair-moon{animation:wild-float 20s ease-in-out infinite alternate}
.effects-on .wild-fair-wheel{animation:wild-wheel 90s linear infinite;transform-box:fill-box;transform-origin:center}
@keyframes wild-float{to{translate:0 -12px}}
@keyframes wild-wheel{to{rotate:360deg}}
@media(prefers-reduced-motion:reduce){.wild-candy-cloud,.wild-beetle,.wild-fair-moon,.wild-fair-wheel{animation:none!important}}
