@font-face{font-family:M;src:url('assets/brand/montserrat-medium.ttf')}@font-face{font-family:M;src:url('assets/brand/Montserrat-Bold.ttf');font-weight:700}:root{--paper:#f8eee7;--panel:#fff6ee;--ink:#2c1c30;--plum:#522366;--teal:#205a52;--gold:#bc8558;--line:#caaebc}*{box-sizing:border-box}body{margin:0;background:radial-gradient(at 10% 0%,#e7d6e8,#f8eee7 65%);color:var(--ink);font:1rem/1.52 M,system-ui,sans-serif}h1,h2,h3,p{margin:0 0 .65rem}h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.07;letter-spacing:-.035em}h2{font-size:1.39rem;line-height:1.2}h3{font-size:1.06rem}small,.subtle{font-size:.86em}a{color:var(--plum)}[hidden]{display:none!important}.shell{max-width:1450px;width:calc(100% - 2rem);margin-inline:auto}.skip{position:absolute;z-index:3;top:.5rem;left:.5rem;transform:translateY(-200%);background:#fff6ee;color:#25182e;padding:.6rem}.skip:focus{transform:none}header{background:#291a32;color:#fff4e9;border-bottom:3px solid #af7d53}.mast{display:flex;gap:1rem;align-items:center;padding:.65rem 0}.mast img{display:block;width:6.3rem;height:4.3rem;object-fit:contain;background:#fffbf4;border-radius:.65rem;padding:.2rem}.mast strong{font-size:clamp(1.1rem,3.1vw,2.1rem);line-height:1}.mast p{color:#f7c892}.badge{margin-left:auto;border:1px solid #c29163;border-radius:99px;padding:.38rem .7rem;color:#fff0cc;font-size:.78rem;white-space:nowrap}.eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#64336c}.pane{padding:clamp(.8rem,2vw,1.35rem);background:var(--panel);border:1px solid var(--line);border-radius:1.13rem;margin-bottom:1rem;box-shadow:0 .3rem 1.1rem #47223c0a}.intro,.entry,.grid,.stage{display:grid;gap:1rem}.intro{grid-template-columns:.9fr 1.1fr;align-items:center}.intro img{width:100%;display:block;border:1px solid var(--gold);border-radius:1rem}.entry{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1.7fr 1fr;align-items:start}.stage{grid-template-columns:1fr auto;align-items:center}.heading,.roombar,.dialogHead{display:flex;align-items:center;justify-content:space-between;gap:.65rem;flex-wrap:wrap}.actions{display:flex;gap:.42rem;flex-wrap:wrap;align-items:center}.actions>*{max-width:100%}button,.button{font:inherit;font-weight:700;border:1px solid transparent;border-radius:.68rem;padding:.64rem .87rem;min-height:44px;cursor:pointer;background:var(--plum);color:#fff9f5;text-decoration:none;display:inline-block;line-height:1.3}button:hover,.button:hover{background:#692a7c}.alt{background:#eee1ef;border-color:#ad8db2;color:#42204c}.alt:hover{background:#e4cce7}button:disabled{opacity:.58;cursor:not-allowed}:focus-visible{outline:3px solid #265f69;outline-offset:3px}header :focus-visible{outline-color:#fedc9d}label{display:block;font-weight:700;margin:.7rem 0 .22rem}input,select,textarea{width:100%;font:inherit;color:#281a30;border:1px solid #9c789f;background:#fcf4ed;border-radius:.53rem;padding:.55rem}textarea{min-height:4.5rem;resize:vertical}form .actions,form>button{margin-top:.8rem}#progress{list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:0;gap:.35rem;margin:1rem 0}#progress li{padding:.5rem .35rem;text-align:center;border:1px solid #b391ac;background:#efe2ec;border-radius:.6rem;font-size:clamp(.65rem,1.25vw,.92rem)}#progress [aria-current]{background:#57266a;color:#fff;border-color:#57266a;font-weight:700}#map{display:grid;grid-template:repeat(2,1fr)/repeat(5,1fr);gap:.45rem;min-height:20rem;padding:4.5% 4%;background:#321e36 url('assets/board/territory-board.webp') center/100% 100% no-repeat;border-radius:.9rem;border:1px solid var(--gold);align-items:center}#map button{justify-self:center;align-self:center;border:1px solid #e4b984;background:#2a1735;color:#fff5e8;width:94%;display:grid;place-items:center;text-align:center;font-size:clamp(.74rem,1.3vw,1.01rem);padding:.55rem .3rem;gap:.12rem;box-shadow:0 .16rem .6rem #26143170}#map button:hover{background:#542966}#map img{width:clamp(1.9rem,4vw,3.2rem);height:auto}#map .alex{grid-area:1/3/3/4;background:#662848}#map .fire{grid-area:1/1/2/3}#map .visiting{grid-area:1/4/2/6}#map .family{grid-area:2/1/3/3}#map .housing{grid-area:2/4/3/6}#map small{font-size:.64em;color:#ffddac}.chip{display:inline-flex;gap:.25rem;align-items:center;font-size:.78rem;border-radius:2rem;background:#e9dfec;border:1px solid #c1a8c3;padding:.11rem .52rem}.chip img{width:2rem;height:2rem;object-fit:contain}#pieces{display:grid;grid-template-columns:repeat(auto-fit,minmax(6rem,1fr));gap:.42rem;margin:.65rem 0 0}#pieces span{display:flex;align-items:center;gap:.25rem;background:#ede3f1;border-radius:.55rem;padding:.28rem;font-size:.72rem;font-weight:700}#pieces img{width:2.15rem;height:2.15rem;object-fit:contain}.exhibit{background:#efe4ee;border-left:4px solid #855590;border-radius:.48rem;padding:.7rem;margin:.5rem 0}.exhibit p:last-child{margin-bottom:0}dialog{width:min(43rem,calc(100% - 1.25rem));max-height:90dvh;overflow:auto;border:1px solid #a97550;border-radius:1rem;padding:1rem;color:var(--ink);background:var(--panel)}dialog::backdrop{background:#1d1326d6}dialog>img{width:100%;max-height:45vh;object-fit:contain;background:#302039;border-radius:.7rem;display:block;margin-bottom:.7rem}.dialogHead{margin-bottom:.7rem}.dialogHead h2{margin:0}footer{font-size:.78rem;padding:0 0 1.3rem}#status{margin:.6rem 0;color:#792b35;font-weight:700}#status:empty{margin:0}#reports article{border-bottom:1px solid #c4a6ba;padding:.55rem 0}@media(max-width:820px){.grid{grid-template-columns:1fr}.stage{grid-template-columns:1fr}.entry,.intro{grid-template-columns:1fr}#map{min-height:15rem}#progress{grid-template-columns:repeat(3,1fr)}}@media(max-width:420px){.shell{width:calc(100% - 1rem)}.badge{display:none}.mast img{width:4.9rem;height:3.3rem}#map{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,auto);min-height:0;background:#321e36}#map button{width:100%;padding:.38rem}#map .alex{grid-area:1/1/2/3}#map .fire{grid-area:2/1/3/2}#map .visiting{grid-area:2/2/3/3}#map .family{grid-area:3/1/4/2}#map .housing{grid-area:3/2/4/3}}@media print{body{background:#fff;color:#111}.mast,#progress,.stage,.grid>div:first-child,#jigsaw,footer,#hostGuide,#plan button,#status,.roombar{display:none!important}.grid{display:block}#plan{border:0;box-shadow:none;width:100%;padding:0}textarea{min-height:3rem}}
#coordLink{margin-top:.65rem}
#map button.fire{background:#5b361d}#map button.visiting{background:#1a365c}#map button.family{background:#16473e}#map button.housing{background:#482a57}#map button:hover{filter:brightness(1.24)}#map button:focus-visible{outline-color:#ffde9d}#map .alex img{width:clamp(2.45rem,4.5vw,4rem)}
#pieces .piece{display:flex;align-items:center;gap:.24rem;min-width:0;text-align:left;border:1px solid #b28eb6;background:#e8dbed;color:#41234b;border-radius:.55rem;padding:.25rem;overflow-wrap:anywhere}#pieces .piece[aria-pressed=true]{border:2px solid #216458;background:#d9ebe0;color:#133b33}#pieces .piece span{background:transparent;padding:0}#planPieces{margin-top:.6rem}#planPieces .chip{background:#dbeade;border-color:#6f9b8b;color:#20483b}
#dialogBody video{width:100%;max-height:48dvh;object-fit:contain;background:#2b1931;border-radius:.68rem;display:block;margin:0 0 .62rem}#dialogBody details{margin:.55rem 0;padding:.55rem .65rem;border:1px solid #bb9bb7;border-radius:.55rem}#dialogBody summary{font-weight:700;cursor:pointer}#dialogBody details p{margin:.45rem 0 0}

/* The illustrated diorama is the control. Only its nameplate and evidence pin sit over the art. */
#map{
 display:block;position:relative;aspect-ratio:16/9;min-height:0;
 padding:0;isolation:isolate;background:#2c1a34 url('assets/board/territory-board.webp') center/100% 100% no-repeat;
 overflow:visible;border-radius:clamp(.6rem,1.3vw,1rem);box-shadow:0 .45rem 1.2rem #44203629;
}
#map button:is(.fire,.visiting,.family,.housing,.alex){
 position:absolute;inset:auto;display:flex;align-items:flex-end;justify-content:center;
 width:42%;height:42%;min-height:0;max-width:none;padding:0 0 2.3%;
 font-size:clamp(.74rem,1.35vw,1rem);
 line-height:1.12;
 border:2px solid transparent;border-radius:18% / 20%;color:#2e1d33;
 background:transparent;box-shadow:none;filter:none;text-align:center;
 transition:box-shadow .16s ease,border-color .16s ease;
}
#map button:is(.fire,.visiting,.family,.housing,.alex):hover{
 border-color:#ffe0a69c;box-shadow:inset 0 0 0 1px #fff5d374,inset 0 -1.1rem 2.4rem #f0b46a28;
}
#map button:is(.fire,.visiting,.family,.housing,.alex):focus-visible{
 border-color:#fff1c2;outline:3px solid #fff1c2;outline-offset:1px;box-shadow:0 0 0 6px #412644;
}
#map button.fire{left:4%;top:6%}#map button.visiting{left:54%;top:6%}
#map button.family{left:4%;top:51%}#map button.housing{left:54%;top:51%}
#map button.alex{left:37.5%;top:25%;width:25%;height:51%;z-index:1;border-radius:50%;padding-bottom:7.2%}
#map .territory-name{
 position:relative;display:inline-flex;align-items:center;justify-content:center;
 max-width:95%;padding:.36em .76em .42em;
 background:linear-gradient(180deg,#ffedcb,#e2af7b);
 border:1px solid #b37648;border-bottom-width:2px;border-radius:99px;
 box-shadow:inset 0 1px #fff7dd,0 2px 1px #3a223969,0 4px 10px #2a142a5e;
 color:#351f2d;font-weight:700;letter-spacing:-.02em;
}
#map button.alex .territory-name{background:linear-gradient(180deg,#fff1d7,#efb490);box-shadow:inset 0 1px #fff7dd,0 2px 1px #3a223969,0 4px 10px #2a142a5e}
#map .territory-badge{display:none;position:absolute;top:5%;right:6%;width:clamp(.45rem,1.2vw,.75rem);aspect-ratio:1;border-radius:50%;background:#ffd378;border:1px solid #5d3e26;box-shadow:0 1px 2px #362022}
#map .has-file .territory-badge{display:block}
#map .alex .territory-badge{top:10%;right:17%}
@media(max-width:550px){#map button:is(.fire,.visiting,.family,.housing,.alex){font-size:clamp(.57rem,2.55vw,.78rem);padding-bottom:2.6%}#map button.alex{padding-bottom:5%}#map .territory-name{white-space:normal;padding:.26em .45em;border-bottom-width:1px}}
@media(prefers-reduced-motion:reduce){#map button:is(.fire,.visiting,.family,.housing,.alex){transition:none}}
@media(forced-colors:active){#map .territory-name{border:1px solid ButtonText;background:ButtonFace;color:ButtonText}#map button:is(.fire,.visiting,.family,.housing,.alex):focus-visible{outline:3px solid Highlight}}
#map{margin-top:.65rem}

/* Expo polish: quieter surfaces, clear action hierarchy and a readable evidence sheet. */
:root{
 --panel:#fff6ee;--ink:#2c1c30;--plum:#542368;--line:#d7bdcc;
 --ui-gap:clamp(.85rem,2vw,1.4rem);--ui-inset:clamp(.85rem,2.1vw,1.45rem);
}
body>main{padding-block:clamp(.75rem,2vw,1.4rem) 0}
.pane{padding:var(--ui-inset);margin-bottom:var(--ui-gap);border-radius:1.14rem}
.intro,.entry,.grid,.stage{gap:var(--ui-gap)}
.intro{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(1rem,3vw,2.35rem)}
.intro p:not(.eyebrow),.stage p:not(.eyebrow){max-width:63ch}
.intro .button{margin-top:.35rem}
.entry{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.entry>form{display:flex;flex-direction:column;align-items:stretch}
.entry>form>button{margin-top:auto;align-self:flex-start}
.entry>form> :is(input,select):has(+button){margin-bottom:1rem}
.grid{grid-template-columns:minmax(0,1.75fr) minmax(0,1fr)}
.grid>div,.heading>div,.stage>div{min-width:0}
.stage{grid-template-columns:minmax(0,1fr) auto}
.stage h1{font-size:clamp(1.8rem,3.45vw,3.05rem)}
.stage p:last-child,.heading p:last-child{margin-bottom:0}
#advance{max-width:18rem}
.eyebrow{margin-bottom:.42rem}
.pane h2{margin-bottom:.48rem}
.heading,.roombar{gap:.85rem 1.15rem}
.actions{gap:.6rem;align-items:stretch}
button,.button{padding:.63rem .95rem;min-height:44px;border-radius:.72rem;overflow-wrap:anywhere;text-align:center}
button:not(.alt):not(.piece):not(#map button),.button:not(.alt){box-shadow:0 2px 0 #32173f}
button:not(.alt):not(.piece):not(#map button):active,.button:not(.alt):active{box-shadow:none}
.alt{background:#efe5f2;color:#462052;border-color:#bc9cc2}
.alt:hover{background:#e8d7ed;color:#361840;border-color:#a782ae}
#map{margin-top:1rem}
#coordLink{margin-top:.85rem}
#progress{gap:.45rem;margin:var(--ui-gap) 0}
#progress li{display:grid;place-items:center;min-height:2.55rem;line-height:1.2;padding:.45rem .2rem}
#pieces{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:.45rem}
#pieces .piece{min-height:44px;padding:.38rem .48rem;gap:.35rem}
#pieces .piece[aria-pressed=true]{border-width:1px;box-shadow:inset 0 0 0 1px #216458}
#plan #capture{display:grid;gap:.22rem}
#plan textarea{padding:.65rem}
#reports article,#dialogBody{overflow-wrap:anywhere}
.exhibit{background:#f1e8f2;padding:.8rem .9rem;border-radius:.65rem;margin:.55rem 0}
#dialog{width:min(42rem,calc(100% - 2rem));max-height:min(87dvh,49rem);padding:0;overflow:hidden;border-radius:1.14rem;box-shadow:0 1.35rem 4rem #180b2355}
#dialog[open]{display:flex;flex-direction:column}
#dialog::backdrop{background:#201329a8}
body:has(#dialog[open]){overflow:hidden}
.dialogHead{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem;padding:.8rem var(--ui-inset);margin:0;background:#f2e6ee;border-bottom:1px solid var(--line)}
.dialogHead h2{font-size:clamp(1.08rem,2.5vw,1.4rem);overflow-wrap:anywhere}
.dialogHead h2:focus{outline:none}
.dialogHead button{padding:.5rem .75rem}
.dialogScroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:var(--ui-inset);scroll-padding-block:1rem}
#dialogImage,#dialogBody video{display:block;width:100%;max-height:min(36dvh,19rem);object-fit:contain;border-radius:.75rem;background:#302039}
#dialogImage{margin:0 0 1rem}
#dialogBody>:last-child{margin-bottom:0}
#dialogActions:not(:empty){margin-top:1rem;padding-top:.85rem;border-top:1px solid var(--line)}
#dialogActions button{text-align:left}
@media(max-width:820px){
 .grid,.intro,.entry,.stage{grid-template-columns:minmax(0,1fr)}
 #advance{justify-self:start}
}
@media(max-width:560px){
 #hostLinks,#consultChoices,.heading>button{width:100%}
 #hostLinks>*{flex:1 1 10rem}
 #consultChoices>*{flex:1 1 9rem}
 #advance{width:100%;max-width:none}
 #dialog{margin:auto auto 0;width:calc(100% - .7rem);max-height:82dvh;border-radius:1.05rem 1.05rem .4rem .4rem}
 .dialogScroll{padding-bottom:max(1rem,env(safe-area-inset-bottom))}
 #dialogActions>*{width:100%}
}
@media(forced-colors:active){
 .pane,.exhibit,#dialog,.dialogHead{border:1px solid CanvasText}
 #progress [aria-current]{border:2px solid Highlight}
}
@media(min-width:821px){
 .roombar{padding-block:.65rem}
 .roombar .eyebrow{margin-bottom:.18rem}
 #progress{margin-block:.8rem}
 .stage{padding-block:.85rem}
 .stage h1{margin-bottom:.4rem}
 #mapRegion>.heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(11rem,16rem);align-items:center;gap:1rem}
 #openScene{justify-self:end}
}

/* Board refinement — presentation only; existing artwork and game controls preserved. */
@media screen {
 #room .roombar{background:#f3e9ef;border-color:#d6bfce;box-shadow:none}
 #room .stage{position:relative;border-left:5px solid #8b559b;background:#faf1e9}
 #room .stage h1{font-size:clamp(1.8rem,2.8vw,2.45rem)}
 #room #mapRegion{padding:clamp(.8rem,1.6vw,1.4rem);border-color:#c9adbd;box-shadow:0 8px 26px #48233e0b}
 #mapRegion .heading p{font-size:.88rem;line-height:1.6;max-width:49ch;color:#624f65}
 #mapRegion h2{font-size:clamp(1.15rem,1.7vw,1.5rem)}
 #map{margin-top:1.15rem;border:2px solid #b38359;box-shadow:0 5px 0 #d9c2b6,0 12px 22px #45203c19}
 #map .territory-name{padding:.42em .8em .46em;line-height:1.2}
 #map .territory-badge{top:-.45rem;right:-.35rem;width:.9rem;border:2px solid #fff0c7;background:#e7ac38;box-shadow:0 0 0 2px #6a4324,0 2px 5px #28162b66}
 #map .alex .territory-badge{top:-.45rem;right:-.35rem}
 #coordLink{padding-top:.9rem;margin-top:1rem;border-top:1px solid #e0cdd5}
 #coordLink button{font-size:.86rem}
 #jigsaw{background:#f4edf5;border-color:#c9b2d0}
 #jigsaw>h2,#plan>h2{font-size:1.22rem}
 #jigsaw>p,#plan>p{font-size:.88rem;line-height:1.6}
 #tokens{gap:.5rem}
 #tokens .chip{width:100%;border:0;border-radius:.65rem;padding:.3rem .55rem;background:#e8deed;line-height:1.4;font-weight:700}
 #tokens .chip img{width:1.8rem;height:1.8rem;margin-right:.25rem}
 #pieces{margin-top:1rem;gap:.5rem;grid-template-columns:repeat(2,minmax(0,1fr))}
 #pieces>span,#pieces .piece{padding:.55rem;min-height:3.5rem;background:#e9dfed;line-height:1.4;border-radius:.7rem}
 #plan label{font-size:.88rem;line-height:1.5}
 #plan textarea{min-height:6rem;background:#fcf6ef;border-color:#b699ba}
 #plan #submitState:empty{margin:0}
 #progress li{border-color:#d3bdcf;background:#f2e8ef;color:#68536b}
 #progress [aria-current]{background:#57266a;color:#fff;box-shadow:0 3px 0 #d7bedf;border-color:#57266a}
 @media(min-width:1000px){
  #room>.grid{grid-template-columns:minmax(0,2.1fr) minmax(19rem,1fr);gap:1.25rem}
  #room .roombar{padding-block:.5rem}
  #room .roombar>div:first-child{display:flex;align-items:center;gap:1rem}
  #room .roombar .eyebrow{margin:0}
  #room .stage{padding-block:1rem}
  #room .stage>div{display:grid;grid-template-columns:minmax(9rem,.5fr) minmax(0,2fr);column-gap:1.7rem;align-items:center}
  #room .stage #timing{grid-column:1/-1}
  #room .stage h1{margin:0}
  #room .stage #instruction{border-left:1px solid #d8c3d0;padding-left:1.7rem;font-size:.94rem}
  #mapRegion>.heading{grid-template-columns:minmax(0,1fr) 12.5rem}
  #openScene{font-size:.86rem;min-height:3rem}
 }
 @media(max-width:560px){
  #mapRegion .heading{gap:.75rem}
  #mapRegion .heading p{font-size:.82rem}
  #openScene{font-size:.85rem}
  #map{margin-top:.9rem}
  #map .territory-name{padding:.35em .5em;max-width:100%}
  #map .territory-badge,#map .alex .territory-badge{width:.65rem;top:-.3rem;right:-.2rem;border-width:1px}
  #map button:is(.fire,.visiting,.family,.housing,.alex){font-size:clamp(.59rem,2.6vw,.8rem)}
  #coordLink button{width:100%}
  #progress{gap:.4rem}
  #progress li{min-height:2.65rem;font-size:.75rem}
 }
}

/* Narrative captions are burned into the media, with full text available alongside it. */
.sceneContext{padding:.8rem 1rem;background:#eee4f0;color:#302038;border-left:4px solid #8b559b;border-radius:.6rem;line-height:1.6}
#map.person-map{background-image:url('assets/sam/board.webp')}
#map.person-map .territory-name{font-size:.84em;max-width:97%}
#audienceScene{margin-bottom:1rem}

#map.person-map button.alex{padding-bottom:0;height:51%;top:25%}
.sceneCaption{font-size:1rem;line-height:1.6;padding:.8rem 1rem;background:#2c192e;color:#fff4ea;border-radius:.65rem;margin:.65rem 0;white-space:pre-line}

#mapRegion>.heading{grid-template-columns:minmax(0,1fr) auto;align-items:start}#mapRegion>.heading>div{grid-row:1/3}#personProfile,#openScene{max-width:15rem;justify-self:end}#map.person-map .territory-name{font-size:.82em}@media(max-width:700px){#mapRegion>.heading{display:flex}#personProfile,#openScene{max-width:none;width:100%}}

#map[data-case="rowan"] button.fire,#map[data-case="rowan"] button.visiting{top:4%;height:39%}
#map[data-case="rowan"] button.family,#map[data-case="rowan"] button.housing{top:44%;height:38%}
#map[data-case="rowan"] button.alex{top:17%;height:56%;width:29%;left:35.5%}
#map[data-case="evelyn"] button.fire,#map[data-case="evelyn"] button.visiting{top:3%;height:42%}
#map[data-case="evelyn"] button.family,#map[data-case="evelyn"] button.housing{top:46%;height:38%}
#map[data-case="evelyn"] button.alex{top:14%;height:57%;width:29%;left:35.5%}
#map[data-case="kit"] button.fire,#map[data-case="kit"] button.visiting{top:4%;height:40%}
#map[data-case="kit"] button.family,#map[data-case="kit"] button.housing{top:47%;height:38%}
#map[data-case="kit"] button.alex{top:23%;height:50%;width:27%;left:36.5%}
#frameworkNote{font-size:.9rem;line-height:1.6}

.decisionOptions{display:grid;gap:.65rem;margin:1rem 0}.decisionOptions button{text-align:left}#decisionPane{border-left:5px solid #917036}#decisionBody textarea{width:100%}
.decisionPrint{display:none}@media print{.decisionPrint{display:block}.decisionPrint article{break-inside:avoid}}
