@font-face{font-family:Europa;src:url('./europa.woff2') format('woff2');font-display:swap}
:root{--night:#132e35;--deep:#0b252d;--cream:#f4e8cc;--gold:#d4b779;--line:#d4b77940;--muted:#c1c7b6;--red:#df6043;--jade:#197e78;font-family:Europa,'Trebuchet MS',sans-serif;color:var(--cream);background:var(--night);font-synthesis:none;color-scheme:dark}*{box-sizing:border-box;user-select:none;-webkit-user-select:none}body{margin:0;min-width:760px;background:radial-gradient(ellipse at 75% 28%,#477c7829,transparent 65%),linear-gradient(145deg,#173b43,#102c34);min-height:100dvh;overflow-x:hidden}body:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:10;opacity:.045;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.7' d='M0 0h160v160H0z' fill='white'/%3E%3C/svg%3E")}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}button:disabled{cursor:default;opacity:.3}button:focus-visible,[tabindex]:focus-visible{outline:2px solid #ffe4a2;outline-offset:5px}button{touch-action:manipulation}svg{overflow:visible;display:block}h1,h2,h3,p{margin:0}h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}button:enabled{transition:color .18s,background .18s,opacity .18s}button:hover:enabled{color:#ffe5a5}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.title-screen{position:relative;min-height:720px;height:100dvh;overflow:hidden;isolation:isolate}.title-screen:before{content:'';position:absolute;width:85vw;height:85vw;border:1px solid #e3c58a15;border-radius:50%;left:38%;top:-16vw;box-shadow:0 0 0 50px #e3c58a04,0 0 0 51px #e3c58a0b;z-index:-1}.title-art{position:absolute;width:65%;height:91%;right:-2%;bottom:0;animation:arrive 1.1s ease both}.title-art .board{width:100%;height:100%;filter:drop-shadow(0 20px 20px #031c2670)}.title-panel{position:relative;padding-left:8%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:43%;padding-bottom:30px;pointer-events:none}.title-panel>*{pointer-events:auto}.title-ornament{display:flex;align-items:center;gap:17px;color:var(--gold);margin:0 0 24px 5px}.title-ornament i{height:1px;width:25px;background:var(--line)}h1{font:clamp(100px,10vw,160px)/1 Georgia,serif;letter-spacing:-.07em;color:#f7e9c7;text-shadow:0 4px 1px #071e2444}.title-dot{color:#db6949}.menu-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:44px}.menu-actions button{font:29px/1.4 Georgia,serif;padding:4px 0;position:relative}.menu-actions button:before{content:'';position:absolute;width:6px;height:6px;background:var(--gold);transform:rotate(45deg);left:-19px;top:48%;opacity:0}.menu-actions button:hover:before{opacity:1}.menu-bottom{display:flex;align-items:center;gap:18px;margin-top:46px}.menu-bottom>span{font-size:12px;letter-spacing:.17em;color:var(--muted)}.icon-button{width:46px;height:46px;border:1px solid var(--line);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-button:hover:enabled{background:#ebd69a0a;border-color:#e1c280}.title-corner{position:absolute;bottom:30px;right:36px;color:#d4b77977;letter-spacing:.3em;font:14px Georgia}.game-screen{height:100dvh;min-height:710px;display:flex;flex-direction:column;max-width:1800px;margin:auto;padding:0 40px}header{height:104px;flex-shrink:0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.small-brand{font:36px Georgia;letter-spacing:-.06em;padding:8px 0}.small-brand span{color:#df6a4c}.scoreboard{display:flex;gap:38px;align-items:center}.player-score{opacity:.6;transition:opacity .3s}.player-score.active{opacity:1}.player-name{display:flex;align-items:center;gap:8px;margin-bottom:10px}.player-name i{width:10px;height:10px;border-radius:50%;background:var(--team);box-shadow:0 0 0 2px #f8e9c322}.player-name strong{font-size:18px;font-weight:400}.player-name>span{font-size:13px;color:var(--muted);margin-left:4px}.score-lines{display:flex;align-items:center;gap:22px}.score-divider{height:49px;width:1px;background:var(--line)}.lives{display:flex;gap:5px;color:#f1d59b}.lives .lost{opacity:.18}.seeds{display:flex;align-items:center;gap:5px;color:var(--gold)}.seeds strong{font-size:21px;font-weight:400;color:var(--cream)}.seeds strong span{color:var(--muted)}.tools{display:flex;gap:10px}.turn-strip{height:80px;min-height:80px;display:flex;align-items:center;justify-content:center;gap:22px}.turn-strip h2{font-size:27px}.orders{display:flex;align-items:center;gap:7px}.orders i{width:9px;height:9px;transform:rotate(45deg);background:var(--gold);border:1px solid var(--gold)}.orders i.spent{background:transparent;opacity:.4}.orders span{font-size:15px;color:var(--muted);margin-left:6px}.table{flex:1;min-height:0;position:relative;display:flex;justify-content:center;align-items:center}.board-wrap{height:100%;width:100%;max-width:1000px;display:flex;align-items:center;justify-content:center}.board{width:100%;height:100%;max-height:850px}.well-shadow{fill:#9b8b613f}.well{fill:#fff9e5;stroke:#b6a67d;stroke-width:1.2}.connections{stroke:#ac9c7088;stroke-width:1.2;fill:none}.space.selectable,.space.legal{cursor:pointer}.space.selectable:hover .piece-body{filter:brightness(1.12)}.space.legal:hover .target-ring{stroke-width:5}.space:focus-visible{outline:none}.space:focus-visible>.well{stroke:#f4a032;stroke-width:5}.piece.spent .piece-body{filter:saturate(.72)}.selection-ring{filter:drop-shadow(0 0 3px #fff4c7)}.command-bar{height:102px;min-height:102px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 14px}.selected-info{display:flex;align-items:center;gap:15px;font-size:17px;min-width:0}.selected-info>div{display:flex;flex-direction:column;gap:4px}.selected-info strong{font-size:20px;font-weight:400}.selected-info>div>span{font-size:15px;color:var(--muted)}.turn-emblem{opacity:.8}.commands{display:flex;gap:30px}.text-button{position:relative;display:inline-flex;justify-content:center;align-items:center;font:23px/1.2 Georgia,serif;padding:12px 2px;border-bottom:1px solid #d4b77988;white-space:nowrap}.text-button:hover:enabled{border-color:#ffe5a5;background:transparent}.quiet-button{font-size:15px;color:var(--muted);padding:10px 0;text-decoration:underline;text-underline-offset:4px}.veil{position:fixed;inset:0;z-index:20;background:#071d26a6;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:28px;animation:fade .18s ease}.modal{position:relative;width:min(650px,95vw);padding:48px 52px;background:linear-gradient(145deg,#1c434b,#102e37);border:1px solid #d9bd8077;box-shadow:0 28px 90px #05182088,0 0 0 6px #0b252d,0 0 0 7px #d9bd802e;max-height:90dvh;overflow-y:auto;text-align:center}.modal .close{position:absolute;right:16px;top:16px;width:35px;height:35px;border:0}.modal h2{font-size:40px;line-height:1.15;margin-bottom:22px;color:#f8e8bc}.modal p:not(.overline){font-size:19px;line-height:1.6;color:#d9dfcf}.overline{font-size:12px;letter-spacing:.2em;color:var(--gold);margin:0 0 18px}.dialog-actions{display:flex;justify-content:center;gap:36px;margin-top:32px}.setup{width:850px;padding:48px 38px}.difficulties{display:grid;grid-template-columns:repeat(5,1fr);margin:30px 0 34px;gap:8px}.difficulty{padding:10px 4px;color:#c3cbb8;display:flex;align-items:center;flex-direction:column;gap:13px;font-size:16px;border-bottom:1px solid transparent}.difficulty svg{width:82px;height:82px}.difficulty.active{color:#ffe0a0;border-color:#e0bd77}.difficulty.active svg{filter:drop-shadow(0 0 10px #e9c47728)}.seat-choice{display:flex;gap:20px;justify-content:center;align-items:center;font-size:16px}.seat-choice>span{color:var(--muted)}.seat-choice button{display:flex;gap:9px;align-items:center;padding:10px 5px;border-bottom:1px solid transparent;opacity:.6}.seat-choice button.active{opacity:1;border-color:var(--gold)}.seat-choice i{width:13px;height:13px;border-radius:50%;background:var(--team);border:1px solid #ffffff55}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);font-size:19px;text-align:left}.setting-row button{min-width:70px;color:var(--gold);padding:8px}.setting-note{margin-top:24px;font-size:15px!important}.rule-symbol,.result-emblem{display:flex;justify-content:center;color:var(--gold);margin:10px 0 24px}.rule-copy{min-height:150px}.rule-navigation{display:flex;justify-content:space-between;margin-top:22px}.rules .quiet-button{margin-top:25px}.result .quiet-button{margin-top:20px}.learning .table{justify-content:flex-start}.learning .board-wrap{width:calc(100% - 330px);max-width:1100px}.coach{width:310px;margin-right:20px;padding:27px 24px;position:relative;border:1px solid #d4b77966;background:#163940;box-shadow:0 12px 35px #05252b33}.coach:before{content:'';width:12px;height:12px;border-left:1px solid #d4b77966;border-bottom:1px solid #d4b77966;background:#163940;position:absolute;left:-7px;top:50%;transform:rotate(45deg)}.lesson-count{font-size:13px;letter-spacing:.12em;color:var(--gold)}.coach h3{font-size:28px;margin:14px 0}.coach p{font-size:17px;line-height:1.55;color:#e5e6d4}.coach-prompt{margin-top:24px;font-size:15px;color:#f1d69d;padding-top:16px;border-top:1px solid var(--line)}.coach .quiet-button{display:block;margin-top:20px;font-size:13px}.coach .text-button{margin-top:18px}.lesson-piece{filter:drop-shadow(0 0 8px #fff2ab);animation:lesson-glow 1.6s ease-in-out infinite}.learning .space:not(.selectable):not(.legal):not(.chosen) .piece-body{opacity:.66}.learning .space.legal .piece-body{opacity:1}@keyframes lesson-glow{50%{filter:drop-shadow(0 0 14px #fff7bc)}}@keyframes arrive{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fade{from{opacity:0}to{opacity:1}}@media(max-height:800px){.title-screen{min-height:650px}.title-panel{padding-bottom:0}.title-art{height:95%}.menu-actions{margin-top:28px;gap:5px}.menu-bottom{margin-top:28px}.game-screen{min-height:640px}header{height:90px}.turn-strip{height:65px;min-height:65px}.command-bar{height:86px;min-height:86px}.coach{padding:20px}.coach h3{font-size:25px}.coach p{font-size:16px}}@media(max-width:1100px){.game-screen{padding:0 22px}.scoreboard{gap:22px}.small-brand{font-size:30px}.tools{gap:6px}.tools .icon-button{width:40px;height:40px}.player-name>span{display:none}.title-panel{padding-left:6%}.title-panel h1{font-size:100px}.title-art{width:64%;right:-6%}.menu-actions button{font-size:26px}.learning .board-wrap{width:calc(100% - 270px)}.coach{width:260px;margin-right:0}.commands{gap:17px}.text-button{font-size:21px}.selected-info>div>span{max-width:260px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Vesper — illuminated tabletop edition */
:root{--night:#073747;--deep:#031d30;--cream:#fff1cc;--gold:#f2c775;--line:#efc77b55;--muted:#d1e3dc;--red:#ff653b;--jade:#12c9ad}
body{background:radial-gradient(ellipse at 50% 55%,#187c87 0%,#094555 42%,#031e33 85%)}
body:before{opacity:.025}
body:after{content:'';position:fixed;inset:16px;pointer-events:none;border:1px solid #e4bc6330;z-index:11;box-shadow:inset 0 0 100px #001a2b22}
.title-screen{background:radial-gradient(ellipse at 76% 62%,#25cfb920,transparent 46%)}
.title-screen:before{width:76vw;height:76vw;left:43%;top:-7vw;border:1px solid #f8d48b33;box-shadow:0 0 0 22px #ebcc7b05,0 0 0 23px #f8d48b15,0 0 0 80px #1cafaa08}
.title-panel{padding-left:9%;width:44%}.title-panel h1{font-size:clamp(90px,9.5vw,165px);font-variant:small-caps;letter-spacing:-.055em;color:#ffe9ae;text-shadow:0 2px #b5813d,0 5px #543e28,0 12px 28px #00192c88}.title-dot{display:none}
.title-ornament{color:#ffdc91;gap:22px;margin-left:12px}.title-ornament svg{filter:drop-shadow(0 2px 0 #032936)}
.title-art{width:67%;height:94%;right:-3%;bottom:-1%}.title-art .board{filter:drop-shadow(0 30px 22px #00132199)}
.menu-actions{gap:13px;margin-top:34px;min-width:275px}.menu-actions button{width:100%;padding:12px 30px;font-size:27px;text-align:center;border:1px solid #e7c47777;background:linear-gradient(100deg,#062c3b88,#195363cc,#062c3b88);box-shadow:0 4px 0 #021c2c88,inset 0 0 0 3px #092b3c,inset 0 0 0 4px #b9934d38;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,12px 100%,0 50%)}
.menu-actions button:before{display:none}.menu-actions button:hover{background:linear-gradient(100deg,#11566b,#247c83,#11566b);text-shadow:0 0 18px #fff0b555;transform:translateY(-2px)}.menu-bottom{margin-top:26px}
.game-screen{padding:0 44px}header{border:0;height:108px}.small-brand{color:#ffe0a0;font-size:38px;text-shadow:0 3px #032438}.scoreboard{gap:28px}.score-divider{height:40px;background:linear-gradient(transparent,#e6c27b88,transparent)}
.player-score{min-width:200px;opacity:.82;padding:14px 24px 16px;position:relative;background:linear-gradient(145deg,#052f40bb,#082b3c55);border-bottom:2px solid color-mix(in srgb,var(--team) 65%,#e2d4a5);clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px)}
.player-score.active{background:linear-gradient(135deg,color-mix(in srgb,var(--team) 22%,#063245),#052b3a);opacity:1}.player-name{justify-content:center}.score-lines{justify-content:center}.player-name strong{font-size:19px}.player-name i{box-shadow:0 0 12px var(--team)}.player-name>span{font-size:15px}.seeds strong{font-size:23px}
.icon-button{border-color:#d5b47088;background:radial-gradient(circle at 40% 20%,#24616c,#082b3b);box-shadow:0 3px 0 #021c2c, inset 0 0 0 3px #062d3d;width:48px;height:48px;color:#ffe0a0}.icon-button:hover:enabled{background:#227786}
.turn-strip{height:64px;min-height:64px;position:relative}.turn-strip:before,.turn-strip:after{content:'';height:1px;width:60px;background:linear-gradient(90deg,transparent,#eacb82)}.turn-strip:after{transform:rotate(180deg)}.turn-strip h2{color:#ffe4aa;text-shadow:0 2px 2px #002337;font-size:26px}
.board{filter:drop-shadow(0 18px 16px #00182655)}.well{fill:#b9e1d6;stroke:#7ebbb4;stroke-width:1.4}.well-shadow{fill:#001f37;transform:translateY(2px)}.connections{stroke:#8be0d055;stroke-width:1.5}.space.selectable:hover .piece-body{filter:brightness(1.22) drop-shadow(0 0 8px #ffe4a966)}.space.legal .well{fill:#e4f7db;stroke:#fff0a6;stroke-width:2}.selection-ring{stroke:#fff3ad;filter:drop-shadow(0 0 6px #ffe59f)}.tide-stone{filter:drop-shadow(0 0 6px #3dcbe955)}
.command-bar{border-top:0;position:relative;height:96px;min-height:96px;padding:0 24px}.command-bar:before{content:'';position:absolute;left:20%;right:20%;top:0;height:1px;background:linear-gradient(90deg,transparent,#e8c37c66,transparent)}
.text-button{font-size:22px;min-width:150px;padding:14px 25px;border:1px solid #eac77688;background:linear-gradient(#1b6370,#083747);box-shadow:0 4px 0 #021c2c,inset 0 0 0 3px #082e3f,inset 0 0 0 4px #c2a25b33;clip-path:polygon(9px 0,calc(100% - 9px) 0,100% 9px,100% calc(100% - 9px),calc(100% - 9px) 100%,9px 100%,0 calc(100% - 9px),0 9px)}
.text-button:hover:enabled{background:linear-gradient(#27818b,#0e5264);border-color:#ffe4a0;transform:translateY(-1px)}.text-button:active:enabled{transform:translateY(2px)}
.veil{background:#001625b8;backdrop-filter:blur(9px)}.modal{background:radial-gradient(ellipse at 50% 0,#237c83,#063547 75%);border:2px solid #d4ad63;box-shadow:0 30px 100px #00121c,0 0 0 5px #072838,0 0 0 6px #e9c67a66,inset 0 0 0 5px #082c3d,inset 0 0 0 6px #d9b87344;padding-top:54px}.modal h2{color:#ffe3a5;text-shadow:0 3px #043043}.difficulty{font-size:18px;gap:17px}.difficulty.active{background:radial-gradient(ellipse,#e7d79615,transparent 70%);border-color:#f9d88c}.difficulty svg{width:88px;height:88px}.difficulty.active svg{filter:drop-shadow(0 0 8px #ffe5a555)}.seat-choice{font-size:18px}.dialog-actions{gap:24px}.coach{background:linear-gradient(135deg,#125969,#062e40);border-color:#e5bd70aa;box-shadow:0 8px 0 #03253577,0 18px 40px #001b2d55}.coach:before{background:#104d5e;border-color:#e5bd70aa}.coach h3{color:#ffe1a0}.coach .quiet-button{font-size:15px}.coach-prompt{font-size:16px}.learning .space:not(.selectable):not(.legal):not(.chosen) .piece-body{opacity:.8}
@media(max-height:800px){header{height:92px}.player-score{padding:8px 18px}.turn-strip{height:56px;min-height:56px}.command-bar{height:78px;min-height:78px}.menu-actions{gap:9px;margin-top:24px}.menu-actions button{font-size:24px;padding:9px 24px}.menu-bottom{margin-top:20px}}
@media(max-width:1100px){.game-screen{padding:0 25px}.player-score{min-width:170px;padding:10px 15px}.scoreboard{gap:15px}.title-panel{padding-left:7%}.menu-actions{min-width:240px}.title-panel h1{font-size:100px}.text-button{min-width:125px;padding:12px 18px}.turn-strip:before,.turn-strip:after{width:30px}}
.well{fill:url(#space-enamel);stroke:#e0f1d488;stroke-width:1}.space.legal .well{fill:#e4f7db}.piece.spent .piece-body{filter:saturate(.8) brightness(.88)}
.seeds{gap:5px}.seed-slot{display:block;color:#ffe08b}.seed-slot.empty{color:#afc9c1;opacity:.48}.seed-slot.filled svg{filter:drop-shadow(0 0 5px #ffd76966)}.seed-slot.filled path{fill:#f0cb6466}
.well.home-ember{fill:url(#home-ember-enamel)}.well.home-jade{fill:url(#home-jade-enamel)}.space.legal .well.home-ember,.space.legal .well.home-jade{fill:#e4f7db}
/* The same wordmark at every size. */
.wordmark,.title-panel h1.wordmark,.small-brand.wordmark{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-style:normal;font-variant:normal;font-kerning:normal;letter-spacing:-.055em;line-height:1;color:#ffe9ae;text-shadow:0 .012em #b5813d,0 .03em #543e28,0 .07em .16em #00192c88}
.join-form{margin-top:35px}.join-form label{display:block;margin-bottom:15px;color:var(--muted);font-size:18px}.join-form>div{display:flex;justify-content:center;align-items:center;gap:20px}.join-form input{width:160px;padding:12px 10px;font:27px Georgia;letter-spacing:.16em;text-align:center;text-transform:uppercase;color:var(--cream);background:#042d3f;border:1px solid var(--gold);outline-offset:5px;user-select:text;-webkit-user-select:text}.room-code{font:64px Georgia;letter-spacing:.16em;color:#ffe09a;margin:25px 0;user-select:all}.room-status{min-height:28px;margin-top:20px;font-size:16px!important}.online-menu .dialog-actions{flex-wrap:wrap}
@media(max-height:800px){.title-panel .menu-actions{gap:6px}.title-panel .menu-actions button{padding:7px 24px}.title-panel .title-ornament{margin-bottom:16px}}
.room-badge{font:17px Georgia;letter-spacing:.12em;color:var(--gold);padding:8px;border-bottom:1px solid var(--line)}
