:root{--ink:#49344d;--muted:#786574;--paper:#fffaf2;--pink:#a53767;--pink-dark:#762349;--line:#e9d9d6;--mint:#e6f0e9;--gold:#f2dcb0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff8ee;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:12px;padding:12px 17px;background:#fffaf3;color:var(--ink);min-height:44px;font-weight:600;transition:background .15s,box-shadow .15s,transform .15s}button:hover{background:#f5e4e9;color:#49344d;border-color:#bb8a9b}button:active{background:#e9cad6;color:#3e263e;transform:translateY(1px)}button:disabled{background:#eee6e8!important;color:#665663!important;border-color:#d8cccf!important;cursor:default;transform:none;opacity:1}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.boardViewport:focus-visible{outline:3px solid #346ac4;outline-offset:4px}a{color:#88315b}a:hover{color:#542644}h1,h2,h3,p{margin-top:0}h2{font:normal 36px/1.1 Georgia,serif;letter-spacing:-1px}h3{font:normal 21px Georgia,serif;margin:14px 0 8px}p{line-height:1.55}.topbar{max-width:1536px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 32px;border-bottom:1px solid var(--line)}.return{text-decoration:none;font-size:13px;font-weight:bold}.wordmark{font-size:12px;letter-spacing:2px}.wordmark i{font:italic 14px Georgia;letter-spacing:0;margin-left:10px;color:var(--muted)}nav{display:flex;gap:7px;align-items:center}.quiet{background:transparent;border-color:transparent}.iconButton{font-size:23px;min-width:44px;padding:5px 10px}.topbar nav .quiet{font-size:13px}main{max-width:1536px;margin:auto;padding:0 32px}.heading{display:flex;align-items:center;justify-content:space-between;padding:30px 0 23px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:bold;color:#866273;margin-bottom:10px}h1{font:normal 64px/.98 Georgia,serif;letter-spacing:-3px;margin:0 0 13px}h1 em{color:#aa4770;font-weight:normal}.titleStar{font-size:36px;vertical-align:top;margin-left:16px;color:#be914e}.subtitle{font:italic 17px Georgia,serif;color:var(--muted);margin:0}.edition{font-size:12px;text-align:right}.edition span{display:block;color:var(--muted);margin-top:8px;font-size:11px}.gameLayout{display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:24px;align-items:start}.boardPanel{background:#fffcf6;border:1px solid #e4d5d0;border-radius:24px;box-shadow:0 12px 35px #7047550c;overflow:hidden}.boardToolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;gap:8px;font-size:12px;color:#6e5363}.boardToolbar>div{display:flex;gap:4px}.small{min-height:34px;font-size:11px;padding:7px 10px;border-radius:8px}.selected,.small[aria-pressed=true]{background:#583d56;color:#fff8ef;border-color:#583d56}.selected:hover,.small[aria-pressed=true]:hover{background:#765372;color:white}.boardViewport{overflow:auto;max-height:calc(100vh - 270px);min-height:380px;background:#f6eada;scroll-behavior:smooth}.boardSurface{position:relative;width:100%;line-height:0}.boardViewport.close .boardSurface{width:165%;min-width:1050px}.boardArt{display:block;width:100%;height:auto}#pieceLayer{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.pieceShadow{filter:drop-shadow(0 3px 3px #55354f66)}.boardLegend{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;padding:11px;font-size:11px}.boardLegend span{white-space:nowrap}.boardLegend b{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;margin-right:5px}.playPanel{border:1px solid var(--line);border-radius:24px;background:#fffdf7;padding:23px 22px;box-shadow:0 12px 40px #6c4b5806}.welcome h2{font-size:45px;margin:22px 0 16px}.welcome>p:not(.eyebrow){font-size:13px;color:var(--muted)}.welcomePieces{height:129px;display:flex;justify-content:center;align-items:end;margin-bottom:23px}.welcomePieces img{height:105px;width:76px}.welcomePieces img:nth-child(1){transform:rotate(-12deg)}.welcomePieces img:nth-child(2){height:124px;width:88px}.welcomePieces img:nth-child(3){transform:rotate(12deg)}.wide{width:100%;margin-bottom:9px}.primary{background:var(--pink);color:#fffaf0;border-color:var(--pink);box-shadow:0 5px 14px #a537671b;min-height:50px}.primary:hover{background:#862752;color:#fffaf0;border-color:#862752}.primary:active{background:#662041;color:#fffaf0}.primary span{float:right}.secondary{background:#f9efe8;color:#694158;border-color:#e6cfd0}.secondary:hover{background:#ecd6df;color:#492a40}.secondary:active{background:#dfc0ce;color:#392139}.smallText{font-size:11px!important;color:var(--muted);line-height:1.55;margin:12px 0 0}.turnHeader{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.turnHeader .eyebrow{font-size:9px;letter-spacing:1px;margin:0}.turnHeader .small{padding:6px}.turnSub{font-size:12px;color:var(--muted);min-height:19px;margin-bottom:17px}#turnTitle{font-size:31px;margin:14px 0 6px}.card{height:179px;width:145px;margin:0 auto 21px;border-radius:15px;background:#fff8ea;border:6px solid white;outline:1px solid #e2c6c5;box-shadow:0 8px 20px #7a47621a;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}.cardBack{position:absolute;inset:0;background:repeating-linear-gradient(45deg,#a9456a,#a9456a 7px,#b34f78 7px,#b34f78 9px);color:#fff0d4;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.cardBack>span{font-size:46px}.cardBack strong{font:22px Georgia;letter-spacing:-1px}.cardBack small{font-size:6px;letter-spacing:1.5px;margin-top:15px}.cardSymbols{display:flex;gap:8px;flex-direction:column}.cardBlock{display:grid;place-items:center;width:55px;height:55px;border-radius:12px;font-size:32px}.cardLabel{font-size:11px;font-weight:bold;text-align:center;margin:8px 4px 0;line-height:1.3}.destinationIcon{font-size:53px;color:#a53767;line-height:1.1}.flip{animation:cardFlip .45s ease-out}.drawZone p{font-size:12px;min-height:55px;color:#6c5364;margin:5px 0 18px;line-height:1.5}.players{border-top:1px solid var(--line)}.playerRow{display:flex;align-items:center;gap:8px;padding:8px 6px;border-bottom:1px solid #eee1dd;font-size:12px;border-radius:9px}.playerRow.current{background:#f4e7ed;box-shadow:inset 3px 0 var(--pink)}.playerRow img{width:31px;height:40px}.playerRow>div{flex:1;min-width:0}.playerRow strong{display:block;overflow-wrap:anywhere}.playerRow small{color:var(--muted);font-size:10px;display:block;margin-top:4px}.playerRow .position{font-size:12px;white-space:nowrap}.history{margin-top:16px;font-size:11px}.history summary{cursor:pointer;min-height:30px;padding:6px 0;color:#6b5365}.history summary span{float:right}.history ol{padding-left:18px;color:#786374}.history li{padding:6px 0;line-height:1.4}.roomCode{font:30px Georgia;letter-spacing:4px;width:100%;background:#f8e8df;color:#783655;margin:4px 0 8px}.roomCode:hover{background:#f1d8e2;color:#59213d}label{display:block;font-size:12px;font-weight:bold;margin:16px 0 10px}input:not([type=checkbox]):not([type=range]),select{width:100%;min-height:44px;border:1px solid #ccb5bd;border-radius:9px;background:#fffefa;color:#483146;padding:10px;margin-top:7px;min-width:0}input[type=range]{display:block;width:100%;margin:16px 0;accent-color:#a53767}input[type=checkbox]{width:21px;height:21px;accent-color:#a53767;flex:none}.checkLabel{display:flex;align-items:flex-start;gap:10px;padding:12px;background:#f9eceb;border-radius:12px;font-size:12px;line-height:1.5}.checkLabel input{margin-top:1px}.checkLabel small{display:block;font-weight:normal;color:#755b6c;margin-top:4px}.setupSeat{display:grid;grid-template-columns:36px minmax(0,1fr) 108px;gap:8px;align-items:end;padding:8px 0;border-bottom:1px solid var(--line)}.setupSeat img{width:32px;height:44px}.setupSeat label{margin:0;font-size:10px}.setupSeat select{padding:10px 5px}.divider{text-align:center;font:italic 15px Georgia;color:#937583;margin:22px 0}.error{font-size:13px;color:#98364a;line-height:1.5}.notice{padding:12px 16px;background:#fff0d5;border:1px solid #d4b486;border-radius:12px;font-size:13px;margin-bottom:15px}.notice:empty{display:none}dialog{border:1px solid #dbc3c7;border-radius:24px;padding:30px;background:#fffaf2;color:var(--ink);width:min(94vw,490px);max-height:90dvh;overflow:auto;box-shadow:0 25px 100px #37223d40}dialog::backdrop{background:#3d253b80;backdrop-filter:blur(6px)}.dialogTop{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.dialogTop p{margin:0}dialog h2{font-size:34px;margin-bottom:23px}dialog p{font-size:13px}dialog .primary{margin-top:10px}.rulesDialog{width:min(94vw,740px)}.ruleGrid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:20px}.ruleGrid p{color:var(--muted);margin:0}.example{display:grid;place-items:center;width:62px;height:62px;border:5px solid white;border-radius:13px;font-size:32px;box-shadow:0 3px 9px #49344d15}.example.one{background:#d43762;color:white}.example.pink{background:#f8beda;color:#733251}.example.trail{background:#ead7b1;color:#583648}.example.trap{background:#50344d;color:white}details p{font-size:12px}.tutorial{padding-left:20px}.tutorial li{padding:8px 0;font-size:14px;line-height:1.6}.tutorial strong{display:block}#winnerDialog{text-align:center}.winnerStars{font-size:50px;color:#c89840;margin:15px}.linkButton{padding:0;background:transparent;border:none;min-height:24px;font-size:inherit;text-decoration:underline;color:#80405f}footer{display:flex;justify-content:space-between;gap:20px;font:italic 13px Georgia;color:#937884;padding:24px 0 28px}footer span{font:10px Arial}.sparkle{position:absolute;color:white;text-shadow:0 0 5px #fff;line-height:1;font-size:30px;pointer-events:none;animation:sparkle 4s ease-in-out infinite}.sparkleA{left:40%;top:25%}.sparkleB{left:82%;top:12%;animation-delay:2s}.reduced .sparkle{animation:none}.reduced *{scroll-behavior:auto!important}.reduced .flip{animation:none}@keyframes sparkle{50%{opacity:.3;transform:scale(.6)}}@keyframes cardFlip{0%{transform:rotateY(90deg) scale(.92)}100%{transform:rotateY(0) scale(1)}}[hidden]{display:none!important}
@media(min-width:1500px){.gameLayout{grid-template-columns:minmax(0,1fr) 330px}.boardViewport{max-height:850px}.playPanel{padding:28px}}
@media(max-width:1000px){main{padding:0 18px}.topbar{padding:12px 18px}.gameLayout{grid-template-columns:minmax(0,1fr) 267px;gap:15px}.playPanel{padding:18px}.boardToolbar{flex-wrap:wrap}.boardViewport{min-height:300px;max-height:calc(100vh - 245px)}h1{font-size:55px}.heading{padding:24px 0}.boardLegend{gap:8px;font-size:10px}.wordmark{display:none}}
@media(max-width:720px){main{padding:0 12px}.topbar{padding:8px 12px;gap:8px}.return{font-size:11px}.topbar nav .quiet{font-size:11px;padding:8px}.heading{padding:22px 5px 19px}.heading .eyebrow{font-size:8px;letter-spacing:1.5px}h1{font-size:49px;margin-bottom:8px}.subtitle{font-size:14px}.edition{display:none}.gameLayout{display:flex;flex-direction:column;gap:14px}.boardPanel{width:100%;border-radius:18px}.boardToolbar{font-size:10px;padding:8px 10px;justify-content:center}.boardToolbar>span{display:none}.small{min-height:40px;padding:8px 12px;font-size:11px}.boardViewport{max-height:52dvh;min-height:230px}.boardViewport.close{height:48dvh}.boardViewport.close .boardSurface{min-width:900px}.boardLegend{padding:8px;gap:6px;font-size:9px}.boardLegend b{width:18px;height:18px;margin-right:2px}.playPanel{width:100%;padding:18px;border-radius:18px}.welcome{position:relative}.welcome h2{font-size:33px;margin:12px 0}.welcome h2 br{display:none}.welcomePieces{float:right;height:85px;width:130px;margin:-12px 0 10px 8px}.welcomePieces img{width:42px;height:62px}.welcomePieces img:nth-child(2){width:48px;height:75px}.welcome .wide{clear:both}.welcome .eyebrow{font-size:9px}.welcome .smallText{text-align:center}#turnPanel{display:grid;grid-template-columns:90px 1fr;column-gap:17px}.turnHeader{grid-column:1/-1;margin-bottom:0}#turnTitle{grid-column:2;grid-row:2;font-size:25px;margin:9px 0 0}.turnSub{grid-column:2;grid-row:3;font-size:11px;margin:5px 0 10px}.card{grid-column:1;grid-row:2/5;width:87px;height:114px;margin:10px 0;border-width:4px}.cardBack strong{font-size:16px}.cardBack small{font-size:4px;letter-spacing:.3px}.cardBack>span{font-size:29px}.cardSymbols{flex-direction:row;gap:4px}.cardBlock{width:31px;height:36px;font-size:22px}.cardLabel{font-size:9px;margin-top:8px}.destinationIcon{font-size:35px}.drawZone{grid-column:2;grid-row:4}.drawZone p{grid-column:1/-1;margin:6px 0 12px;font-size:11px;min-height:0}.drawZone .primary{min-height:49px}.players{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;margin-top:3px;gap:3px}.playerRow{font-size:11px;padding:7px 4px}.playerRow img{width:25px;height:34px}.playerRow .position{font-size:10px}.history{grid-column:1/-1;margin-top:9px}.turnHeader .small{min-height:35px}footer{display:block;text-align:center;font-size:12px;line-height:1.7}footer span{display:block;margin-top:5px}dialog{padding:23px}.setupSeat{grid-template-columns:28px minmax(0,1fr) 96px}.ruleGrid{gap:16px}.ruleGrid h3{font-size:19px}.ruleGrid p{font-size:12px}.titleStar{font-size:27px}.notice{font-size:12px}}
@media(max-width:720px) and (orientation:landscape){.heading{padding:12px 0}.heading .eyebrow,.subtitle{display:none}.heading h1{font-size:38px}.gameLayout{display:grid;grid-template-columns:minmax(0,1fr) 265px;align-items:start}.boardViewport{max-height:72dvh;min-height:220px}.boardLegend{display:none}.playPanel{padding:12px}.players{display:block}.card{width:75px}.boardToolbar .small{padding:5px;font-size:10px}#turnPanel{column-gap:7px;grid-template-columns:75px 1fr}.drawZone p{font-size:10px}.primary{font-size:12px;padding:10px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Fit the entire route in Overview; closer view retains an explicitly scrollable canvas. */
.boardSurface{max-width:calc(120vh - 324px);margin-inline:auto}.boardViewport.close .boardSurface{max-width:none;margin:0}
@media(min-width:1500px){.boardSurface{max-width:1020px}}
@media(max-width:1000px){.boardSurface{max-width:calc(120vh - 294px)}}
@media(max-width:720px){.boardSurface{max-width:62.4dvh}.playing .heading{padding:13px 5px}.playing h1{font-size:36px;margin-bottom:0}.playing .heading .eyebrow,.playing .subtitle{display:none}.playing .boardViewport{max-height:42dvh;min-height:190px}.playing .boardSurface{max-width:50.4dvh}.playing .boardViewport.close .boardSurface{max-width:none}.playing .boardViewport.close{height:42dvh}}
@media(max-width:720px) and (orientation:landscape){.playing .boardViewport{max-height:72dvh;min-height:200px}.playing .boardSurface,.boardSurface{max-width:86.4dvh}}
