:root{--ink:#1c3428;--forest:#122e23;--moss:#9eac7e;--gold:#eac583;--paper:#f4ebd4;--line:#d4c4a2;font-family:'DM Sans',sans-serif;color:#f6efd8;background:#10241b;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d9ad57;outline-offset:4px}[hidden]{display:none!important}button{color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Spectral',Georgia,serif;font-weight:600;line-height:1.12}button{border:0}main{outline:none}.forest-backdrop{position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,#10281ee8,#0f271ff5 85%),url('../assets/pixel_bg.png') center/cover}.shell-header{max-width:1440px;margin:auto;min-height:78px;padding:14px 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #b8c1a51f}.camp-brand{display:flex;align-items:center;gap:10px;font-family:'Spectral',Georgia,serif;font-size:20px;color:#eadcba}.camp-brand>span{font-size:34px;color:var(--gold)}.shell-header nav{display:flex;align-items:center;gap:26px;font-size:13px}.profile-link{display:flex;align-items:center;gap:9px}.nav-button{background:transparent;color:#e2dfcb;border:1px solid #bac5ad4d;padding:9px 15px;border-radius:6px}.avatar{position:relative;display:block;width:180px;aspect-ratio:.74}.avatar-body{position:absolute;width:100%;top:29%;left:0}.avatar-face{position:absolute;width:70%;left:15%;top:0;filter:drop-shadow(0 2px 1px #17271e55)}.mini-avatar{width:37px;height:37px;overflow:hidden;border-radius:50%;background:#d4cda92b;aspect-ratio:1}.mini-avatar .avatar-body{display:none}.mini-avatar .avatar-face{width:100%;left:0;top:0}.home{max-width:1120px;margin:auto;padding:30px 24px 24px}.home-heading{text-align:center}.adventure-script{font-family:'Spectral',Georgia,serif;font-style:italic;color:#c5c9a9;font-size:17px}.home-heading h1{font-family:'Lilita One',sans-serif;font-size:clamp(55px,6.6vw,90px);font-weight:400;letter-spacing:.085em;color:#f1d595;text-shadow:0 3px 0 #795b2b,0 8px 30px #0006;margin:5px 0 13px;line-height:1}.home-heading p{font-size:15px;line-height:1.65;color:#bfcbb5;margin-bottom:25px}.game-choices{display:grid;grid-template-columns:1fr 1fr;gap:24px}.game-cover{height:325px;position:relative;overflow:hidden;border:1px solid #c5aa6e80;border-radius:12px 12px 5px 5px;box-shadow:0 14px 30px #0004}.game-cover>img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.classic-cover>img{object-position:center 44%}.game-cover:hover>img{transform:scale(1.025)}.game-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#091d18fa 0%,#0a211bc9 25%,#09241b08 75%);pointer-events:none}.cover-copy{position:absolute;z-index:2;bottom:23px;left:28px;right:28px}.chapter-label{color:#d6cfab;font-size:11px;letter-spacing:.03em}.cover-copy h2{font-size:31px;letter-spacing:-.02em;margin:6px 0 8px;color:#fff0ca}.cover-copy p{color:#d3d9c3;font-size:13px;margin-bottom:20px}.cover-action{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:700;border-top:1px solid #dbc78c50;padding-top:14px;color:#e9c788}.cover-action>span{font-size:23px}.cover-character{position:absolute;right:12%;top:10%;filter:drop-shadow(0 5px 5px #10241b77)}.cover-character .avatar{width:118px}.camp-footer{display:flex;align-items:center;justify-content:space-between;padding:24px 10px 10px;gap:24px}.camp-footer>a{display:flex;align-items:center;gap:12px;font-size:15px}.camp-footer small{display:block;color:#a9b9a2;font-size:11px;margin-top:5px}.footer-symbol{font-size:34px;color:var(--gold)}.camp-motto{font-family:'Spectral',Georgia,serif;font-style:italic;text-align:center;font-size:14px;line-height:1.5;color:#9fae91}.setup-notice{text-align:center;font-size:11px;color:#8fa48f;margin-top:16px}.setup-notice a{text-decoration:underline}.page-heading{position:relative;max-width:1200px;margin:0 auto;padding:30px 0 24px}.back-link{display:inline-block;color:#b9c7ab;font-size:12px;margin-bottom:18px}.page-heading h1{font-size:38px;color:#f1dfb6;margin:0 0 8px}.page-heading p{font-size:14px;line-height:1.6;color:#b6c5af;margin:0}.profile-page,.teacher-page,.setup-page,.auth-page{max-width:1200px;margin:auto;padding:0 32px 50px}.profile-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:30px;align-items:start}.character-stage{min-height:550px;position:sticky;top:20px;background-size:auto 100%;background-position:51% center;border-radius:12px;border:1px solid #b5a67566;box-shadow:0 16px 40px #0003;overflow:hidden;display:grid;place-items:center}.character-stage:before{content:'';position:absolute;inset:0;background:linear-gradient(transparent 50%,#0b2518b8)}#avatar-preview{position:relative;margin-top:80px}#avatar-preview .avatar{width:260px;filter:drop-shadow(0 15px 8px #162a1833)}.character-name{position:absolute;bottom:30px;left:10%;right:10%;font-family:'Spectral',Georgia,serif;font-size:27px;text-align:center;text-shadow:0 2px 5px #000}.paper-panel{color:var(--ink);background:var(--paper);padding:28px;border:1px solid #c0a46d;border-radius:10px;box-shadow:0 8px 28px #0002}.paper-panel h2{font-size:27px;margin-bottom:15px}.paper-panel p{font-size:14px;line-height:1.65}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700;margin-bottom:19px}.field input,.field select,.field textarea,input:not([type=file]):not([type=range]):not([type=radio]),select,textarea{color:var(--ink);width:100%;min-height:43px;border:1px solid #baae8e;border-radius:5px;background:#fffbef;padding:10px 12px;font-weight:400}.field textarea{resize:vertical;line-height:1.6}fieldset{border:0;padding:0;margin:0 0 25px}legend{font-family:'Spectral',Georgia,serif;font-size:21px;font-weight:600;margin-bottom:12px}.world-options,.body-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.world-options button,.body-options button{padding:0;border:2px solid #cec3a4;background:#e8ddc1;color:var(--ink);border-radius:7px;overflow:hidden}.world-options button[aria-pressed=true],.body-options button[aria-pressed=true]{border-color:#3c7953;box-shadow:0 0 0 2px #3c795333}.world-options img{display:block;width:100%;height:74px;object-fit:cover}.world-options span,.body-options span{display:block;font-size:11px;padding:8px 3px;font-weight:700}.body-options img{height:108px;width:100%;object-fit:contain;display:block}.primary-button,.gold-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px 20px;border-radius:6px;font-size:14px;font-weight:700;box-shadow:0 3px 0 #071b1466;text-align:center}.primary-button{background:#285b3c;color:#fff5d9;border:1px solid #1d482e}.gold-button{background:linear-gradient(#f4d591,#dcb263);color:#263b27;border:1px solid #f6dfa3;box-shadow:0 3px 0 #523c1a8c}.quiet{background:transparent;color:inherit;border:1px solid currentColor;border-radius:5px;padding:9px 12px;font-size:12px;display:inline-flex;align-items:center;justify-content:center}.text-button{display:inline-block;background:none;color:#426c46;font-size:12px;padding:12px;text-decoration:underline}.upload-button{display:inline-flex;position:relative;border:1px dashed #758c60;background:#e1e8ce;padding:11px 16px;border-radius:6px;font-size:13px;cursor:pointer}.upload-button input,.file-label input{position:absolute;width:100%;height:100%;inset:0;opacity:0;cursor:pointer}.field-copy,.paper-panel .field-copy{font-weight:400;font-size:12px;color:#6d795a;line-height:1.6;margin:0 0 12px}.small-copy,.paper-panel .small-copy{font-size:11px;line-height:1.6;color:#7b7b60;margin:13px 0 0}.form-error{color:#9c3e2e!important;font-size:13px;min-height:1em}.profile-options>.primary-button{width:100%}#crop-area{background:#d9e0c4;border-radius:8px;padding:15px;margin-top:15px}#crop-preview{width:180px;height:180px;display:block;margin:0 auto 10px;background:repeating-conic-gradient(#bbc9ad 0% 25%,#ced8bf 0% 50%) 50%/14px 14px;border-radius:8px}.slider-field{display:grid;grid-template-columns:130px 1fr;font-size:11px;align-items:center;gap:10px;margin:10px 0}.slider-field input{accent-color:#386747;width:100%}.setup-layout{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;max-width:960px;margin:auto}.setup-art img{width:100%;border-radius:14px;box-shadow:0 20px 50px #0005}.mode-options{display:flex;gap:12px;margin:22px 0}.mode-options label{border:1px solid #b7b58f;padding:12px;border-radius:6px;font-size:13px;flex:1;cursor:pointer}.mode-options small{display:block;margin:5px 0 0 23px;font-size:10px;color:#697254}.mode-options input{accent-color:#315d3c}.setup-layout .primary-button{width:100%}.auth-form{max-width:440px;margin:auto;text-align:center;padding:32px 38px}.auth-form .field{text-align:left}.auth-emblem{font-size:50px;color:#937134;display:block;margin-bottom:12px}.auth-form .primary-button{width:100%}.auth-form .text-button{display:block}.board-page{max-width:1390px;margin:auto;padding:0 35px 25px}.board-page .page-heading{max-width:none;padding:14px 0 8px}.board-page .back-link{margin-bottom:10px}.board-page .page-heading h1{font-size:26px}.board-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:30px;align-items:center}.board-surface{position:relative;width:min(100%,calc(100vh - 190px));min-width:500px;aspect-ratio:1;margin:0 auto;border-radius:12px;overflow:hidden;box-shadow:0 16px 50px #0006;container-type:inline-size}#board-canvas,#board-canvas canvas{position:absolute;inset:0;width:100%!important;height:100%!important}.crystal-content{position:absolute;top:28%;left:28%;width:44%;height:43%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#edffdd;padding:0 1%;text-shadow:0 2px 6px #002d13;overflow:auto;scrollbar-width:thin}.crystal-content:before{content:'';position:absolute;inset:8% 0;background:radial-gradient(ellipse,#06351fbd,transparent 72%);z-index:-1}.crystal-content h2{font-size:clamp(17px,3.7cqw,28px);color:#f2f5cd;margin:8px 0;line-height:1.06}.crystal-content p{font-size:clamp(11px,2.05cqw,16px);line-height:1.5;margin:3px 0 12px;font-weight:500}.crystal-kicker{font-size:clamp(9px,1.65cqw,12px);color:#c4e6ac}.crystal-content .gold-button{font-size:clamp(11px,1.85cqw,14px);min-height:34px;padding:8px 13px;text-shadow:none}.dice{font-family:Arial,sans-serif;font-size:clamp(36px,8cqw,65px);line-height:1;margin-top:5px;color:#fff0ce}.rolling{animation:roll .13s linear infinite}@keyframes roll{50%{transform:rotate(20deg) scale(.85)}}.key-hint{font-size:9px;margin-top:12px;color:#acd098}.number-answer{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.number-answer input{max-width:110px;min-height:32px!important;font-size:12px;padding:7px!important}.challenge-feedback{font-size:11px;line-height:1.4;margin-top:8px;color:#e4fac8}.try-again{color:#ffe6a1}.answer-options{display:grid;gap:5px}.crystal-answer{background:#e9efd9ed;border:1px solid #cfdfb5;color:#173b29;font-size:12px;padding:7px 12px;border-radius:5px}.crystal-answer:hover{background:#fce6a5}.crystal-content small{display:block;font-size:9px;line-height:1.4;margin-top:8px;color:#c5dbb3}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.memory-grid button{width:36px;height:35px;background:#e7d8a5;color:#203a2b;font-size:21px;border-radius:4px;box-shadow:0 2px 0 #27351e}.memory-grid .matched{background:#8cc39b;opacity:.75}.expedition-log h2{font-size:23px;color:#dfcfaa;margin-bottom:20px}.player-row{display:flex;align-items:center;gap:11px;margin-bottom:10px;padding:14px 12px;border:1px solid #94a88f30;border-radius:6px;background:#142d2380}.player-row.active{background:#293d2c;border-color:var(--player)}.player-number{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--player);color:#223b29;font-size:12px;font-weight:700}.player-row strong{font-size:13px;display:block;max-width:145px;overflow-wrap:anywhere}.player-row span:not(.player-number):not(.turn-marker){display:block;color:#9fb49a;font-size:10px;margin-top:4px}.turn-marker{margin-left:auto;color:var(--player);font-size:12px}.rule-note{font-size:12px;line-height:1.75;color:#aabc9f;margin:24px 4px}.board-tools{display:flex;gap:8px}.board-tools .quiet{color:#bec9ad}.save-status{display:block;font-size:10px;color:#8da383;margin:15px 0}.journal{font-size:11px;color:#9fae90;margin-top:23px}.journal summary{cursor:pointer}.journal ol{padding-left:17px;line-height:1.65}.journal li{margin-bottom:7px}.teacher-toolbar{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#bbcaac;margin:0 0 22px}.teacher-toolbar>div{display:flex;gap:10px}.file-label{position:relative;cursor:pointer}.teacher-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;align-items:start}.tile-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tile-picker button{background:#1b382c;border:1px solid #7f977052;border-radius:6px;padding:11px 8px;text-align:left;min-height:76px}.tile-picker button[aria-pressed=true]{background:#d9bd7f;color:#213b2b;border-color:#f6dd9c}.tile-picker b{display:block;font-family:'Spectral',Georgia,serif;font-size:24px;margin-bottom:4px}.tile-picker span{display:block;font-size:10px;line-height:1.35}.teacher-layout .paper-panel{position:sticky;top:15px}.editor-number{font-size:12px;color:#807246;display:block;margin-bottom:8px}.editor-actions{display:flex;gap:15px;align-items:center}.editor-actions span{font-size:10px;color:#6c794f}.classroom-users{margin-top:32px}.reset-password{display:grid;grid-template-columns:1fr 1fr auto;gap:15px;align-items:center;border-top:1px solid #d9ccab;padding:16px 0}.reset-password small{display:block;font-size:11px;color:#687653;margin-top:4px}.reset-password input{font-size:12px}.reset-result{font-size:11px;color:#375e3f;grid-column:1/-1}.empty-copy{color:#6d7b5e}.adventure-page{height:calc(var(--action-vh,100dvh) - var(--shell-header-height,78px));display:flex;flex-direction:column}.adventure-toolbar{display:flex;justify-content:space-between;padding:12px 24px;font-size:12px;color:#d0d6bd;gap:15px}.adventure-toolbar>span{color:#9fb398}.adventure-page iframe{display:block;width:100%;border:0;flex:1;min-height:0}.modal-shade{position:fixed;z-index:80;inset:0;background:#071b16cc;display:grid;place-items:center;padding:25px;backdrop-filter:blur(5px)}.paper-dialog{background:var(--paper);color:var(--ink);padding:30px;max-width:580px;border:1px solid #c7ac77;border-radius:10px;box-shadow:0 18px 80px #0006;max-height:90vh;overflow:auto}.paper-dialog h2{font-size:30px}.paper-dialog li{font-size:14px;line-height:1.7;margin-bottom:8px}.paper-dialog p{font-size:12px;line-height:1.6}.victory-title{font-family:'Lilita One',sans-serif;font-size:45px!important;color:#ffdf8c!important}#notice{position:fixed;z-index:120;bottom:24px;left:50%;transform:translateX(-50%);max-width:min(90vw,600px);padding:13px 23px;background:#f4e5b9;color:#264530;border:1px solid #a58c51;border-radius:8px;box-shadow:0 7px 24px #0004;font-size:13px}#notice.error{background:#ffdec9;color:#7c3527}.loading,.error-page{padding:90px 24px;text-align:center;color:#c9d6b8}.loading-compass{display:block;font-size:50px;color:var(--gold);margin-bottom:15px}.error-page h1{font-size:36px}.error-page p{line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1450px){.home{padding-top:24px}.game-cover{height:315px}.home-heading h1{font-size:88px}.board-surface{width:min(100%,calc(100vh - 190px))}}
@media(max-width:1000px){.shell-header{padding:12px 24px;min-height:66px}.camp-brand{font-size:17px}.shell-header nav{gap:15px}.home{padding-top:23px}.game-cover{height:320px}.cover-copy{left:20px;right:20px}.cover-copy h2{font-size:27px}.camp-motto{display:none}.profile-layout{gap:20px;grid-template-columns:.8fr 1fr}.character-stage{min-height:480px}#avatar-preview .avatar{width:220px}.paper-panel{padding:22px}.board-page{padding:0 20px 25px}.board-layout{grid-template-columns:190px minmax(0,1fr);gap:18px}.board-surface{min-width:440px}.board-tools{flex-direction:column}.teacher-layout{gap:20px;grid-template-columns:1fr 1fr}.tile-picker{grid-template-columns:repeat(3,1fr)}.adventure-page{height:calc(var(--action-vh,100dvh) - var(--shell-header-height,66px))}}
@media(max-width:740px){.shell-header{padding:10px 15px;min-height:64px}.camp-brand{font-size:14px}.camp-brand>span{font-size:25px}.shell-header nav{gap:9px}.profile-link>span:last-child{display:none}.nav-button{font-size:11px;padding:8px 10px}.home{padding:27px 18px}.adventure-script{font-size:14px}.home-heading h1{font-size:59px}.home-heading p{font-size:13px}.game-choices{grid-template-columns:1fr;gap:18px;max-width:480px;margin:auto}.game-cover{height:300px}.camp-footer{padding:24px 0;align-items:start;gap:14px}.camp-footer>a{font-size:12px;gap:7px}.camp-footer small{font-size:10px;max-width:130px;line-height:1.5}.footer-symbol{font-size:26px}.setup-notice{line-height:1.8}.profile-page,.teacher-page,.setup-page,.auth-page{padding:0 18px 30px}.page-heading{padding:22px 0}.page-heading h1{font-size:30px}.page-heading p{font-size:12px}.profile-layout,.setup-layout,.teacher-layout{grid-template-columns:1fr}.character-stage{position:relative;top:0;min-height:360px;background-size:cover}#avatar-preview{margin-top:25px}#avatar-preview .avatar{width:185px}.character-name{bottom:15px;font-size:22px}.setup-art{display:none}.teacher-layout .paper-panel{position:relative;top:0}.tile-picker{grid-template-columns:repeat(8,1fr);gap:5px}.tile-picker button{padding:6px 3px;min-height:40px;text-align:center}.tile-picker b{font-size:19px;margin:0}.tile-picker span{display:none}.teacher-toolbar{align-items:start;gap:12px;line-height:1.5}.teacher-toolbar>span{max-width:140px;font-size:10px}.teacher-toolbar>div{gap:6px}.teacher-toolbar .quiet{font-size:10px;padding:8px}.reset-password{grid-template-columns:1fr auto;gap:8px}.reset-password>span:first-child{grid-column:1/-1}.reset-password input{min-width:0}.reset-password .quiet{font-size:10px}.auth-form{padding:26px}.board-layout{display:flex;flex-direction:column-reverse;gap:22px}.board-surface{min-width:0;width:100%;max-width:550px;aspect-ratio:auto;overflow:visible;box-shadow:none;padding-top:0;border-radius:9px;background:url('../assets/board-classic.png') top center/100% auto no-repeat}#board-canvas{position:relative;height:auto;aspect-ratio:1}#board-canvas canvas{border-radius:9px}.crystal-content{position:relative;top:auto;left:auto;width:100%;height:auto;min-height:220px;padding:23px;background:radial-gradient(ellipse at top,#245c3d,#102e22);border:1px solid #b8a36d;border-radius:8px;margin-top:15px;overflow:visible}.crystal-content h2{font-size:27px}.crystal-content p{font-size:14px;max-width:360px}.crystal-kicker{font-size:12px}.crystal-content .gold-button{font-size:14px;min-height:42px}.crystal-content small,.challenge-feedback{font-size:12px}.dice{font-size:55px}.crystal-answer{font-size:14px;padding:10px}.memory-grid button{width:47px;height:43px}.expedition-log{width:100%}.expedition-log h2{font-size:22px;margin-bottom:13px}.board-page #players{display:grid;grid-template-columns:1fr 1fr;gap:8px}.player-row{margin-bottom:0;padding:11px 8px}.player-row strong{font-size:12px}.rule-note{margin:18px 0}.board-tools{flex-direction:row}.board-page{padding:0 15px 30px}.board-page .page-heading h1{font-size:25px}.adventure-page{height:calc(var(--action-vh,100dvh) - var(--shell-header-height,64px))}.adventure-toolbar{font-size:10px;padding:12px}.adventure-toolbar>span{display:none}.journal{margin-top:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.participant-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.participant-fields select{font-size:12px}.editor-actions{flex-wrap:wrap}.editor-actions .text-button{padding:5px;font-size:10px}
@media(max-width:420px){.participant-fields{grid-template-columns:1fr;gap:0}}

/* The teacher edits the same physical stops that the pieces use. */
.teacher-route-bar{display:flex;align-items:center;gap:28px;margin:22px 0}.teacher-route-bar>.field{flex:0 1 440px;margin:0}.teacher-route-bar>p{font-size:12px;line-height:1.6;max-width:440px;color:#ccdacb}.special-key-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#89d6a1;box-shadow:0 0 12px #80eeab80;margin-right:6px}.tile-picker button.special-tile{border-color:#82c19b;background:#294d38}.tile-picker button.special-tile small{display:block;font-size:9px;color:#b9f6cb;margin-top:5px}.tile-picker button[aria-pressed=true].special-tile{background:#a8d4a4;color:#173c26}.tile-picker button[aria-pressed=true].special-tile small{color:#214d2d}.tile-picker .finish-tile{border-color:#dbc183}
@media(max-width:700px){.teacher-route-bar{display:block}.teacher-route-bar>.field{width:100%}.teacher-route-bar>p{margin-top:12px}}

/* Validation belongs to the expedition, rather than browser-language bubbles. */
.field-warning{display:block;margin:7px 0 2px;padding:10px 12px;border:1px solid #bca16b;border-left:3px solid #98603a;border-radius:4px;background:#f1e4c4;color:#67402b;font:500 12px/1.5 'DM Sans',sans-serif;box-shadow:0 2px 5px #3025110d;text-align:left;overflow-wrap:anywhere}
input[aria-invalid=true],textarea[aria-invalid=true],select[aria-invalid=true]{border-color:#98603a!important;box-shadow:0 0 0 2px #98603a25}
.form-error:not(:empty){padding:11px 14px;border:1px solid #bca16b;border-left:3px solid #98603a;border-radius:4px;background:#f1e4c4;color:#67402b!important;line-height:1.6}
.film-answer-form{flex-wrap:wrap}.film-answer-form>.field-warning{flex:0 0 100%;order:3;margin:0;background:#26392b;color:#f3dfb2;border-color:#a58c56}
.reset-password>.field-warning{grid-column:1/-1;grid-row:2;margin:0}

.field+.field-warning,.access-form .field+.field-warning{margin:-7px 0 17px}

/* The teacher's expedition notebook shares the game's forest and parchment palette. */
.teacher-game-tabs{display:flex;gap:8px;border-bottom:1px solid #8b9c7066;margin:0 0 26px;padding-bottom:12px}.teacher-game-tabs button{background:#1b382c;border:1px solid #8eaa725c;border-radius:7px;padding:14px 23px;color:#cbd9bd;font-weight:700;font-size:14px}.teacher-game-tabs button[aria-selected=true]{background:#dbc08a;border-color:#f5dfa8;color:#263a27;box-shadow:0 3px 0 #80663b}.teacher-river-intro{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:40px;margin:0 0 23px}.teacher-river-intro h2{font-size:29px;color:#ead6aa;margin:10px 0}.teacher-river-intro p{font-size:13px;line-height:1.7;color:#b9c9ad;margin:0}.teacher-river-intro .teacher-river-note{border-left:2px solid #cbb37b;padding-left:19px;color:#d3d2b6;font-size:12px}.river-place-picker{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:26px}.river-place-picker button{display:flex;gap:15px;align-items:center;padding:20px;text-align:left;background:#1b382c;border:1px solid #829c6459;border-radius:8px;color:#dce2cb}.river-place-picker button[aria-pressed=true]{border-color:#d8bd7c;background:#294936;box-shadow:inset 0 0 0 1px #bca56555}.river-place-marker{flex-shrink:0;width:43px;height:43px;border:1px solid #a3b48288;border-radius:50%;display:grid;place-items:center;color:#e2c78c;font-family:'Spectral',Georgia,serif;font-size:19px}.river-place-picker strong{display:block;font-family:'Spectral',Georgia,serif;font-size:21px;line-height:1.2;color:#f0dfb5}.river-place-picker small{display:block;font-size:11px;color:#b7c8a6;line-height:1.6;margin-top:5px}.river-place-count{font-size:10px;color:#c7c8a4;white-space:nowrap;margin-left:auto}.teacher-river-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:25px;align-items:start}.river-seal-picker{display:grid;gap:12px;position:sticky;top:20px}.river-seal-picker button{display:flex;gap:13px;background:#19352a;border:1px solid #7b946452;color:#d1dcc3;border-radius:7px;padding:18px 16px;text-align:left}.river-seal-picker button[aria-pressed=true]{background:#d9bd7f;color:#213b2b;border-color:#f6dd9c}.river-seal-number{font-family:'Spectral',Georgia,serif;font-size:30px;line-height:1;min-width:21px}.river-seal-picker strong{display:block;font-size:14px}.river-seal-picker small{display:block;font-size:10px;margin-top:5px}.river-seal-prompt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:11px;line-height:1.65;margin-top:11px;opacity:.8}.river-field-pair,.river-stone-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.river-stone-fields{border:1px solid #c9bd98;border-radius:6px;padding:17px 17px 0;margin-bottom:20px;background:#e5dfc3}.river-stone-fields legend{font-size:20px;padding:0 8px;margin:0}.river-stone-fields .field{margin-bottom:17px}.river-teacher-preview{border:1px solid #b2b996;background:#dce4ca;border-radius:6px;margin:0 0 17px;padding:13px 17px}.river-teacher-preview summary{cursor:pointer;font-size:12px;font-weight:700}.river-teacher-preview p{margin:16px 0 12px}.river-teacher-preview small{font-size:11px;line-height:1.5}.river-preview-stones{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.river-preview-stones>span{background:#314f37;border:1px solid #8a9b6d;box-shadow:0 3px 0 #193323;border-radius:5px;padding:8px;text-align:center;color:#fff1c5;font-weight:700;font-size:14px;overflow-wrap:anywhere}.river-preview-stones>span>small{display:block;font-weight:400;color:#b2c49c;font-size:9px;margin-bottom:4px}#river-reload-wrap{border-top:1px solid #c9bd98;margin-top:19px;padding-top:16px}
@media(max-width:850px){.teacher-river-layout{grid-template-columns:220px minmax(0,1fr);gap:17px}.river-place-picker button{padding:14px;gap:10px}.river-place-count{display:none}.river-place-picker strong{font-size:19px}.river-field-pair{grid-template-columns:1fr}}
@media(max-width:650px){.teacher-game-tabs button{padding:12px 10px;font-size:12px;flex:1}.teacher-river-intro{grid-template-columns:1fr;gap:15px}.teacher-river-intro h2{font-size:26px}.river-place-picker{grid-template-columns:1fr;gap:9px}.river-place-picker strong{font-size:20px}.river-place-count{display:block}.teacher-river-layout{grid-template-columns:1fr}.river-seal-picker{position:static;grid-template-columns:repeat(3,1fr);gap:7px}.river-seal-picker button{padding:11px 8px;gap:7px}.river-seal-picker strong{font-size:12px}.river-seal-number{font-size:25px;min-width:14px}.river-seal-prompt{display:none}.river-stone-grid{gap:0 12px}.river-preview-stones{grid-template-columns:1fr 1fr}.river-stone-fields{padding:14px 12px 0}.teacher-river-layout .paper-panel{padding:21px 18px}.teacher-river-layout input,.teacher-river-layout textarea,.teacher-river-layout select{font-size:16px}}

.adventure-toolbar nav{display:flex;align-items:center;gap:18px}.adventure-toolbar nav a{padding:5px 0;border-bottom:2px solid transparent}.adventure-toolbar nav [aria-current=page]{color:#f2d18a;border-bottom-color:#c5a75e}@media(max-width:580px){.adventure-toolbar{gap:8px}.adventure-toolbar nav{gap:10px}.adventure-toolbar>a:last-child{display:none}}
/* Four region links remain visible without widening the mobile game viewport. */
@media(max-width:580px){.adventure-toolbar{flex-wrap:wrap;row-gap:4px}.adventure-toolbar nav{order:2;flex:1 1 100%;justify-content:space-between;gap:8px}.adventure-toolbar nav a{white-space:nowrap}.adventure-toolbar>a:last-child{display:none}}
/* Starting a board game has the same fixed action row as registration. */
.setup-page:has(#new-game){height:calc(var(--action-vh,100dvh) - 78px);min-height:0;display:flex;flex-direction:column;overflow:hidden}.setup-page:has(#new-game)>.page-heading{flex:none}.setup-page:has(#new-game) .setup-layout{flex:1;min-height:0;align-items:stretch}.setup-page #new-game.action-layout{height:100%;max-height:100%;min-height:0;padding:0;--action-surface:var(--paper)}#new-game>.action-layout-content{padding:24px 30px 12px}#new-game>.new-game-actions{padding:12px 30px 18px;border-top:1px solid #d4c4a2;display:flex;gap:9px;flex-wrap:wrap;align-items:center}#new-game>.new-game-actions .primary-button{flex:1 1 100%;margin:0;min-height:44px}#new-game>.new-game-actions>.setup-rules-link,#new-game>.new-game-actions>.text-button{margin:0;padding:6px;font-size:12px}#new-game>.new-game-actions .setup-rules-link{order:2}#new-game>.new-game-actions .text-button{order:3}@media(max-width:700px){.setup-page:has(#new-game){height:calc(var(--action-vh,100dvh) - 64px);padding:12px}.setup-page:has(#new-game) .page-heading{margin:0 0 12px}.setup-page:has(#new-game) .page-heading h1{font-size:26px}.setup-page:has(#new-game) .page-heading p{display:none}#new-game>.action-layout-content{padding:18px}#new-game>.new-game-actions{padding:10px 18px}}@media(max-height:480px){.setup-page:has(#new-game){padding-block:6px}.setup-page:has(#new-game) .page-heading{margin:0 0 7px}.setup-page:has(#new-game) .page-heading h1{font-size:23px}.setup-page:has(#new-game) .page-heading p{display:none}#new-game>.action-layout-content{padding:14px 18px 7px}#new-game>.new-game-actions{padding:8px 18px}#new-game>.new-game-actions .primary-button{flex-basis:auto}}
/* A grid's automatic minimum must not expand past the bounded setup page. */
.setup-page:has(#new-game) .setup-layout{grid-template-rows:minmax(0,1fr)}.setup-page:has(#new-game) .setup-art{min-height:0;height:100%;overflow:hidden}.setup-page:has(#new-game)>.page-heading{width:100%;margin:0}
@media(max-height:480px){.setup-page:has(#new-game)>.page-heading{padding:3px 0 6px}.setup-page:has(#new-game) .back-link{margin-bottom:4px}.setup-page:has(#new-game) .page-heading h1{margin-bottom:0}.setup-page:has(#new-game) #new-game>.new-game-actions{flex-wrap:nowrap}.setup-page:has(#new-game) #new-game>.new-game-actions .primary-button{font-size:12px;flex:1;min-width:0}.setup-page:has(#new-game) #new-game>.new-game-actions>.setup-rules-link,.setup-page:has(#new-game) #new-game>.new-game-actions>.text-button{font-size:10px;flex:1;min-width:0}}
/* Five campaign regions fit the mobile toolbar without widening its iframe. */
@media(max-width:580px){.adventure-toolbar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 10px;width:100%;min-width:0}.adventure-toolbar nav a{white-space:normal;line-height:1.3;min-width:0;padding:4px 0;font-size:10px}.adventure-toolbar>a{font-size:10px}}

.camp-footer{flex-wrap:wrap;justify-content:center}
