@import url('/workshop.css');
:root{--ink:#183d3a;--ink-deep:#102e2e;--cream:#f4efdf;--paper:#fbf7ec;--orange:#d57349;--orange-dark:#ae5032;--muted:#7b8579;--line:#d9daca;--gold:#e2b76e;--shadow:0 18px 70px #15352c25;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:15px/1.5 'Trebuchet MS',Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}input:focus,select:focus{outline:2px solid var(--orange);outline-offset:2px}img{max-width:100%}[hidden]{display:none!important}.screen{min-height:100svh}h1,h2,h3,p{margin-top:0}h1,h2{font-family:var(--serif);font-weight:400;line-height:1.08;letter-spacing:-2px}h1{font-size:clamp(40px,4.8vw,72px);margin-bottom:22px}h2{font-size:40px;margin-bottom:18px}h3{font-size:18px}em{font-weight:400}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:2.8px;display:flex;align-items:center;gap:14px;color:#e9debe;margin-bottom:23px}.eyebrow.dark{color:#8b957b}.small-label{font-size:9px;font-weight:bold;letter-spacing:1.7px;display:block}.little-line{height:1px;width:34px;background:var(--gold)}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:52px;padding:14px 26px;border-radius:5px;font-weight:700;font-size:14px;transition:transform .18s,background .18s,box-shadow .18s}.button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 22px #0002}.button span{font-size:21px;line-height:1}.primary{background:var(--orange);color:#fff7e6}.primary:hover{background:var(--orange-dark)}.ink{background:var(--ink);color:var(--cream)}.outline{border:1px solid var(--line);background:transparent;color:var(--ink)}.wide{width:100%}.text-button{background:none;color:var(--cream);padding:8px 0;font-size:13px}.text-button:hover{text-decoration:underline}.text-button.dark{color:var(--ink)}.danger{color:#a84c3e}.icon-button{width:36px;height:36px;border-radius:50%;background:#fff1;color:var(--cream);font-size:19px;border:1px solid #fff3}.quiet-note{font-size:12px;color:var(--muted);line-height:1.8}.lede{color:#6b7c72;line-height:1.7;font-size:16px}.form-error{color:#a44335;font-size:13px;min-height:20px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.home-screen{position:relative;isolation:isolate;overflow:hidden;background:#173d3e;color:var(--cream);display:flex;flex-direction:column}.home-landscape{position:absolute;z-index:-3;inset:0;background:url('/assets/scenes/village.webp') center 52%/cover;animation:landscape-drift 35s ease-in-out infinite alternate;transform:scale(1.04)}.home-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#102d32dc 0%,#1236359c 42%,#12363518 80%),linear-gradient(0deg,#102e32 0%,#133a3540 40%,#17343250 100%)}.site-header{display:flex;align-items:center;justify-content:space-between;padding:34px 5.4vw}.wordmark{display:flex;gap:12px;align-items:center;font-size:19px;letter-spacing:2px;font-weight:bold;line-height:1.3}.mountain-mark{font-size:65px;font-family:var(--serif);line-height:.6;transform:rotate(180deg);color:var(--gold)}.wordmark small{display:block;font-size:8px;font-weight:400;letter-spacing:3px;margin-top:5px;color:#e1d9bd}.site-header nav{display:flex;gap:28px;align-items:center}.admin-link{font-size:12px;border-left:1px solid #fff3;padding-left:27px}.admin-link span{margin-left:8px}.hero{padding:7vh 7.3vw 6vh;flex:1}.hero h1{font-size:clamp(55px,5.8vw,88px);line-height:1.05;letter-spacing:-3px;text-shadow:0 2px 25px #0b2b3530}.hero h1 em{color:#edc28a}.hero p{color:#e1e4d3;line-height:1.8;font-size:15px;font-weight:400;margin:26px 0 30px;max-width:530px}.hero-cta{min-width:190px;min-height:58px;font-size:16px;justify-content:space-between;box-shadow:0 7px 25px #0003}.hero-facts{display:flex;gap:25px;flex-wrap:wrap;font-size:10px;letter-spacing:.1px;color:#c9d4c8;margin-top:26px}.hero-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:0 7.3vw 25px;min-height:148px}.hero-note{max-width:250px;flex-shrink:0;padding-bottom:20px}.hero-note .small-label{color:#d9b67d;margin-bottom:10px}.hero-note strong{font-family:var(--serif);font-size:19px;font-weight:400;display:block}.hero-note>span:last-child{font-size:10px;color:#a7bdb1;display:block;margin-top:5px}.intro-characters{display:flex;align-items:flex-end;justify-content:center;height:154px;max-width:620px;flex:1;overflow:hidden;position:relative}.intro-characters:after{content:'';position:absolute;bottom:0;width:100%;height:12px;background:radial-gradient(ellipse,#0d2b2d77,transparent 70%)}.intro-sprite{width:78px;height:104px;background-size:312px 520px;background-repeat:no-repeat;flex-shrink:0;image-rendering:auto;animation:intro-walk .8s steps(4) infinite;position:relative;margin-left:-18px;filter:drop-shadow(0 4px 5px #071f2770)}.intro-sprite:nth-child(even){height:128px;width:96px;background-size:384px 640px;animation-name:intro-walk-big}.scroll-note{font-size:8px;letter-spacing:1.5px;line-height:1.8;color:#b9cdc2;flex-shrink:0;padding-bottom:22px}.scroll-note span{font-size:45px;font-family:var(--serif);float:left;margin-right:13px;line-height:1.1;color:#edc28a}.home-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #e2e7ce1c;padding:17px 5.4vw;font-size:8px;letter-spacing:1.4px;color:#a6b7ae}.home-footer>span:last-child{letter-spacing:.2px}.inner-header{padding:25px 5vw;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.small-brand{font-weight:bold;font-size:17px;letter-spacing:2px}.small-brand small{font-size:9px;letter-spacing:2px;display:block;opacity:.65;margin-top:5px}.parchment-screen{background:radial-gradient(ellipse at 70% 20%,#fff9eb99,transparent 60%),var(--cream)}.lobby-main{max-width:960px;margin:auto;padding:50px 30px 30px;text-align:center}.lobby-main .eyebrow{justify-content:center}.lobby-main h1{font-size:48px}.lobby-main h1 em{color:#6c816d}.lobby-options{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:35px;text-align:left}.lobby-card{border:1px solid #d9d9c8;padding:28px 32px 32px;border-radius:10px;background:#faf7ef;position:relative;overflow:hidden}.lobby-card.create-card{background:#e8edde;border-color:#cbd6c0}.card-number{font-size:9px;letter-spacing:2px;color:#84947f}.card-art{height:100px;text-align:right;margin-top:-12px}.card-art img{height:110px;width:130px;object-fit:contain;filter:drop-shadow(0 6px 7px #2c47262b)}.lobby-card h2{font-size:29px;letter-spacing:-.8px}.lobby-card p{font-size:13px;color:#6a7b70;max-width:320px;line-height:1.8;min-height:70px}.code-input-wrap{display:flex;gap:10px}input,select{border:1px solid #cfd3c5;background:#fffcf5;color:var(--ink);border-radius:5px;padding:13px 15px;min-height:48px;min-width:0}.code-input-wrap input{width:100%;font-weight:bold;font-size:24px;letter-spacing:6px;text-transform:uppercase;line-height:1}.code-input-wrap .button{padding:14px 20px;font-size:23px}.code-badge{display:flex;align-items:center;gap:12px;font-size:9px;letter-spacing:2px;background:#e7ebdc;border:1px solid #cdd6c4;border-radius:5px;padding:10px 15px;color:var(--ink)}.code-badge strong{font-size:17px;letter-spacing:4px}.selection-main{max-width:1220px;margin:auto;padding:36px 30px}.selection-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.selection-heading h1{font-size:48px;margin-bottom:10px}.selection-heading .lede{font-size:14px;margin-bottom:27px}.badge{display:inline-flex;white-space:nowrap;border:1px solid #cbd6c5;border-radius:20px;background:#e5ebdb;padding:6px 14px;font-size:12px}.character-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.character-card{border:1px solid #d7dbcd;border-radius:9px;min-height:210px;padding:12px;background:#faf7ed;position:relative;text-align:center;color:var(--ink);transition:.2s}.character-card:hover:not(:disabled){background:#edf0e2;transform:translateY(-3px)}.character-card.selected{background:#e3ebd7;border:2px solid var(--ink);padding:11px;box-shadow:0 4px 15px #183d3a15}.character-card .character-stage{height:133px;display:flex;justify-content:center;align-items:flex-end;background:radial-gradient(ellipse at center bottom,#9eb89f33,transparent 66%)}.character-card strong{display:block;font-size:15px;margin-top:9px}.character-card small{display:block;color:#82917c;font-size:9px;margin-top:3px}.character-card .select-check{position:absolute;top:9px;right:10px;width:21px;height:21px;border-radius:50%;border:1px solid #cdd3c5;display:grid;place-items:center;font-size:12px}.character-card.selected .select-check{background:var(--ink);color:var(--cream);border-color:var(--ink)}.character-card .occupied{position:absolute;top:9px;left:9px;background:#dce1d7;color:#687b6a;font-size:8px;padding:3px 6px;border-radius:4px}.character-sprite{width:96px;height:128px;background-size:384px 640px;background-repeat:no-repeat}.character-card.selected .character-sprite{animation:idle-big 1.5s steps(4) infinite}.selection-footer{border-top:1px solid var(--line);padding-top:24px;margin-top:26px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.selection-footer label{display:block;font-size:11px;margin-bottom:8px}.selection-footer label span{color:var(--muted)}.selection-footer input{width:300px;max-width:100%}.selection-action{text-align:right}.selection-action p{font-size:11px;color:var(--muted);margin:0 0 8px}
.story-screen{background:#183b3a;color:var(--cream);display:flex;flex-direction:column;padding:0 5vw}.story-header{display:flex;justify-content:space-between;align-items:center;padding:30px 0}.storybook{display:grid;grid-template-columns:1.1fr 1fr;max-width:1150px;width:100%;margin:auto;box-shadow:0 25px 70px #001a1b60;border-radius:7px;overflow:hidden;min-height:540px;background:var(--paper);color:var(--ink)}.story-image-wrap{position:relative;overflow:hidden}.story-image-wrap>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;animation:story-pan 20s ease-out forwards}.story-image-caption{position:absolute;bottom:23px;left:25px;font-size:8px;letter-spacing:2px;color:var(--cream);text-shadow:0 1px 7px #000;background:#183d3a88;padding:7px 10px}.story-copy{padding:58px 45px 40px;display:flex;flex-direction:column;background:linear-gradient(90deg,#c5bb9726,transparent 6%),var(--paper)}.story-copy h1{font-size:43px;line-height:1.15}.story-copy p{font-family:var(--serif);font-size:20px;line-height:1.8;color:#687b68;margin:0 0 18px}.story-copy>.text-button{align-self:flex-start;font-size:12px;color:#a16642}.story-nav{margin-top:auto;padding-top:28px;display:flex;justify-content:space-between;align-items:center}.story-dots{display:flex;gap:7px}.story-dots span{width:6px;height:6px;border-radius:50%;background:#d4d8c9}.story-dots span.active{background:var(--orange);width:19px;border-radius:5px}.story-foot{text-align:center;font-size:10px;letter-spacing:.8px;padding:25px 0;margin:0;color:#afc0b1}
.game-screen{position:fixed;inset:0;overflow:hidden;background:#173c3b;min-height:0;color:var(--cream);user-select:none;touch-action:none}.game-screen canvas{width:100%;height:100%;display:block;outline:none}.game-top{position:absolute;top:20px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:flex-start;gap:18px;pointer-events:none}.location-hud{display:flex;gap:14px;align-items:center;min-width:240px;background:#173b35e8;backdrop-filter:blur(15px);border:1px solid #ecedce30;border-radius:8px;padding:14px 18px;box-shadow:0 6px 25px #0002}.location-hud .compass{font-size:40px;color:var(--gold)}.location-hud .small-label{color:#a6bda8;font-size:7px;letter-spacing:1.5px}.location-hud strong{font-family:var(--serif);font-size:22px;font-weight:400}.hearts{font-size:15px;letter-spacing:4px;color:#ed916b;line-height:1.4}.hearts .empty{color:#6b8575}.mission-hud{text-align:center;background:#173b35dc;backdrop-filter:blur(15px);border:1px solid #ecedce22;border-radius:8px;padding:12px 23px;min-width:210px}.mission-hud .small-label{font-size:7px;color:#c1cfb5;letter-spacing:1.8px}.mission-hud strong{font-size:27px;font-family:var(--serif);font-weight:400;display:block;line-height:1.5}.mission-hud small{font:11px 'Trebuchet MS',sans-serif}.progress-track{height:3px;background:#fff2;border-radius:5px;overflow:hidden}.progress-track>div{height:100%;background:var(--gold);width:0;transition:width .4s}.game-menu{display:flex;gap:8px;pointer-events:auto}.hud-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#173b35e8;border:1px solid #ecedce30;border-radius:8px;color:var(--cream);min-width:59px;min-height:60px;font-size:23px;backdrop-filter:blur(10px)}.hud-button span{font-size:8px}.hud-button:hover{background:#315a46}.team-strip{position:absolute;left:24px;top:127px;display:flex;gap:5px}.team-dot{width:28px;height:28px;border-radius:50%;border:1px solid #fff6;background:#224739;overflow:hidden}.team-dot img{width:100%;height:100%;object-fit:cover}.team-dot.away{opacity:.5}.game-bottom{position:absolute;bottom:53px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:flex-end;gap:18px;pointer-events:none}.quest-hud{background:#143b34dc;border:1px solid #e8e8c82b;padding:14px 18px;border-radius:7px;max-width:360px;backdrop-filter:blur(10px)}.quest-hud .small-label{color:var(--gold);font-size:7px}.quest-hud strong{display:block;font-size:13px;font-weight:400;margin:6px 0}.quest-hud>span:last-child{display:block;font-size:9px;color:#bfd2bc}.potion-belt{display:flex;gap:5px;max-width:45%;flex-wrap:wrap;justify-content:center;pointer-events:auto}.belt-potion{background:#173b35e8;border:1px solid #ecedce40;border-radius:7px;color:var(--cream);width:54px;min-height:62px;position:relative;display:flex;flex-direction:column;align-items:center;padding:4px}.belt-potion.selected{border:2px solid var(--gold);background:#416149}.belt-potion img{width:30px;height:32px;object-fit:contain}.belt-potion small{font-size:7px;white-space:nowrap}.belt-potion b{position:absolute;right:5px;top:3px;font-size:10px}.empty-belt{pointer-events:auto;color:var(--cream);background:#173b35dd;border:1px solid #ecedce40;padding:13px 20px;border-radius:7px;font-size:11px}.game-code{pointer-events:auto;background:#173b35db;border:1px solid #ecedce30;border-radius:6px;color:#c6d3bb;padding:12px;font-size:7px;letter-spacing:1.3px}.game-code strong{display:block;font-size:16px;letter-spacing:3px;color:#f3eacb;margin-top:4px}.keyboard-strip{position:absolute;bottom:0;width:100%;display:flex;justify-content:center;gap:25px;align-items:center;height:33px;background:#0b282fbb;font-size:8px;color:#c1ccbd;pointer-events:none}kbd{font:10px 'Trebuchet MS',sans-serif;display:inline-block;border:1px solid #a6b5a84a;border-radius:3px;padding:1px 5px;min-width:20px;text-align:center;margin-right:3px;background:#eff1d410}.game-notice{position:absolute;top:22%;left:50%;transform:translateX(-50%) translateY(-10px);padding:12px 23px;max-width:90%;text-align:center;border-radius:8px;background:#f7f1dceb;color:var(--ink);font-size:13px;box-shadow:var(--shadow);opacity:0;transition:.2s;pointer-events:none}.game-notice.visible{opacity:1;transform:translateX(-50%) translateY(0)}.connection-notice{position:absolute;top:20%;left:50%;transform:translateX(-50%);z-index:5;background:var(--orange);padding:10px 20px;border-radius:7px;font-size:12px}.touch-controls{display:none}
.modal{border:1px solid #d6dac8;border-radius:12px;box-shadow:0 30px 120px #082c2a70;background:var(--paper);color:var(--ink);padding:38px;max-width:680px;width:calc(100% - 36px);max-height:88svh;overflow:auto}.modal::backdrop{background:#0b272bd6;backdrop-filter:blur(5px)}.modal .eyebrow{font-size:9px;margin-bottom:15px}.modal h2{font-size:38px;letter-spacing:-1.2px}.modal-close{position:absolute;right:14px;top:12px;background:transparent;color:#6b7d69;width:30px;height:30px;font-size:26px;line-height:1}.modal-intro{font-size:13px;color:#7c8c78;max-width:600px}.help-steps{display:grid;gap:12px;margin:26px 0}.help-steps p{display:flex;gap:16px;font-size:13px;color:#72816e}.help-steps p>b{color:var(--orange);font-family:var(--serif);font-size:23px;font-weight:400}.help-steps strong{display:block;color:var(--ink);margin-bottom:4px}.controls-table{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin-bottom:20px}.controls-table>div{display:flex;align-items:center;margin:6px 0;font-size:11px;gap:4px}.controls-table span{margin-left:auto;text-align:right;font-size:10px;color:#6d7c67}.controls-table kbd{background:#e9ecdf;border-color:#cdd6c3;font-size:11px}.book-modal{max-width:1050px}.mortar-status{display:flex;align-items:center;gap:10px;padding:10px 13px;background:#e7eddd;border-radius:6px;font-size:11px;margin-bottom:13px}.mortar-status img{height:30px;width:40px;object-fit:contain}.mortar-status.missing{background:#f1e4d4;color:#996348}.inventory-strip{display:flex;gap:10px;flex-wrap:wrap;padding-bottom:19px;margin-bottom:20px;border-bottom:1px solid var(--line)}.inventory-item{display:flex;align-items:center;gap:5px;padding:5px 8px;background:#eeeede;border-radius:5px;font-size:10px}.inventory-item img{width:23px;height:25px;object-fit:contain}.inventory-item b{font-size:12px;color:#4d7557}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.recipe-card{border:1px solid var(--line);border-radius:7px;padding:16px;background:#f4f2e5;position:relative}.recipe-card.healed{background:#e7efde;border-color:#c9d8b9}.recipe-card>img{width:76px;height:62px;object-fit:contain;float:right;margin-top:-5px}.recipe-card h3{font-family:var(--serif);font-weight:400;font-size:20px;margin:0 0 3px;letter-spacing:-.3px}.recipe-card .animal-name{font-size:10px;color:#88927c}.recipe-ingredients{clear:both;display:flex;align-items:center;justify-content:space-between;font-size:10px;margin:16px 0 12px;gap:4px;color:#727e69}.recipe-ingredients .short{color:#b86b4d}.recipe-card .button{width:100%;font-size:11px;min-height:35px;padding:8px 12px}.recipe-card .dose{font-size:9px;display:block;text-align:center;margin-top:6px;color:#87937d}.map-modal{max-width:900px}.map-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:25px}.map-card{border-radius:7px;overflow:hidden;border:1px solid var(--line);background:#f1f0e3}.map-card.current{border:2px solid var(--orange)}.map-card img{height:110px;width:100%;object-fit:cover}.map-card>div{padding:12px}.map-card h3{font-family:var(--serif);font-size:20px;font-weight:400;margin:0 0 8px}.map-card p{font-size:9px;color:#788873;margin:4px 0}.map-card .you-are-here{color:var(--orange);font-size:9px}.menu-modal{max-width:380px;text-align:center}.menu-modal .eyebrow{justify-content:center}.menu-modal p{font-size:13px;color:#76836f}.menu-modal .button{margin-bottom:12px}.win-modal{text-align:center;max-width:620px;padding:42px}.win-modal .eyebrow{justify-content:center}.win-symbol{font-size:55px;line-height:1;color:var(--orange);margin:20px}.win-modal h2{font-size:44px}.win-modal h2 em{color:#6e8c65}.win-modal p{max-width:420px;margin:15px auto;color:#76866c;font-size:14px;line-height:1.8}.win-team{height:120px;display:flex;justify-content:center;overflow:hidden}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(15px);background:var(--ink);color:var(--cream);box-shadow:var(--shadow);border:1px solid #fff2;padding:12px 24px;border-radius:7px;font-size:12px;z-index:100;max-width:90vw;opacity:0;pointer-events:none;transition:.2s}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}
@keyframes landscape-drift{to{transform:scale(1.1) translateX(-1%)}}@keyframes intro-walk{from{background-position:0 -104px}to{background-position:-312px -104px}}@keyframes intro-walk-big{from{background-position:0 -128px}to{background-position:-384px -128px}}@keyframes idle-big{from{background-position:0 0}to{background-position:-384px 0}}@keyframes story-pan{from{transform:scale(1.02)}to{transform:scale(1.12)}}
@media(min-width:1600px){.hero{padding-top:10vh}.hero-bottom{min-height:190px}.intro-characters{height:170px}}
@media(max-width:1000px){.hero{padding-top:8vh}.hero h1{font-size:68px}.hero-bottom{padding-left:6vw;padding-right:6vw;gap:15px}.hero-note{max-width:210px}.hero-note strong{font-size:17px}.intro-sprite{margin-left:-36px}.scroll-note{display:none}.hero-facts{gap:16px;font-size:9px}.character-card{min-height:200px}.character-card .character-stage{height:120px}.character-sprite{width:84px;height:112px;background-size:336px 560px}.character-card.selected .character-sprite{animation:none}.story-copy{padding:38px 28px}.story-copy h1{font-size:37px}.story-copy p{font-size:18px}.game-top{left:15px;right:15px;top:15px}.location-hud{min-width:195px;padding:10px 13px}.location-hud strong{font-size:20px}.location-hud .compass{font-size:30px}.mission-hud{min-width:170px;padding:10px 13px}.game-bottom{left:15px;right:15px;gap:10px}.quest-hud{max-width:290px}.keyboard-strip{gap:12px;font-size:7px}.game-code{display:none}.recipe-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.site-header{padding:23px 6vw}.wordmark{font-size:15px;gap:8px}.wordmark small{font-size:6px;letter-spacing:2px}.mountain-mark{font-size:45px}.site-header nav{gap:16px}.site-header nav>.text-button{display:none}.admin-link{padding-left:15px;font-size:11px}.hero{padding:8vh 7vw 3vh}.hero h1{font-size:clamp(43px,8.5vw,60px);letter-spacing:-2px}.hero .eyebrow{font-size:8px;letter-spacing:2px}.hero p{font-size:13px;max-width:350px;margin:22px 0}.hero p br{display:none}.hero-facts{gap:8px 15px;font-size:8px;margin-top:22px}.hero-facts>span:last-child{display:none}.hero-bottom{padding-top:15px;padding-bottom:13px;display:block;min-height:165px}.hero-note{display:none}.intro-characters{max-width:100%;height:145px;margin:0 auto}.intro-sprite{margin-left:-25px}.intro-sprite:nth-child(n+8){display:none}.home-footer{padding:15px 6vw;font-size:6px}.home-footer>span:last-child{display:none}.home-landscape{background-position:65% center}.home-shade{background:linear-gradient(90deg,#102d32cc,#153b3460),linear-gradient(0deg,#102e32 0%,transparent 70%)}.inner-header{padding:18px 20px;gap:10px}.inner-header .small-brand{font-size:12px}.inner-header>.text-button{font-size:10px}.lobby-main{padding:35px 20px 20px}.lobby-main h1{font-size:34px}.lobby-main .eyebrow{font-size:8px;letter-spacing:2px}.lobby-main .lede{font-size:13px}.lobby-options{gap:16px;grid-template-columns:1fr;margin-top:22px}.lobby-card{padding:23px}.card-art{height:50px;position:absolute;right:25px;top:30px}.card-art img{height:70px;width:85px}.lobby-card h2{font-size:26px;margin-top:35px}.lobby-card p{font-size:12px;min-height:0;max-width:85%}.selection-main{padding:26px 18px}.selection-main>.eyebrow{font-size:8px;margin-bottom:13px}.selection-heading h1{font-size:35px}.selection-heading .lede{font-size:12px;max-width:280px}.selection-heading{align-items:flex-start}.selection-heading .badge{font-size:9px;padding:5px 8px;margin-top:8px}.character-grid{grid-template-columns:repeat(2,1fr);gap:10px}.character-card{min-height:185px}.character-card:nth-child(5n){grid-column:auto}.selection-footer{flex-direction:column;align-items:stretch;gap:16px;position:sticky;bottom:0;background:#f4efdfef;backdrop-filter:blur(8px);padding:15px 0 8px}.selection-footer label{font-size:10px}.selection-footer input{width:100%;min-height:40px;padding:9px 12px}.selection-action p{display:none}.selection-action .button{width:100%;font-size:12px}.code-badge{padding:8px;font-size:7px;gap:5px;letter-spacing:1px}.code-badge strong{font-size:13px;letter-spacing:2px}.selection .inner-header .small-brand{display:none}.story-screen{padding:0 20px}.story-header{padding:20px 0}.story-header .small-brand{font-size:13px}.story-header .small-brand small{font-size:7px}.storybook{grid-template-columns:1fr;min-height:0;margin:0 auto}.story-image-wrap{height:230px}.story-copy{padding:28px 25px}.story-copy h1{font-size:32px;margin-bottom:16px}.story-copy p{font-size:17px;line-height:1.65}.story-copy .eyebrow{font-size:8px;margin-bottom:16px}.story-nav{padding-top:10px}.story-foot{font-size:8px;padding:18px 0}.modal{padding:27px 22px;width:calc(100% - 24px);max-height:90svh}.modal h2{font-size:31px}.modal .eyebrow{font-size:7px;letter-spacing:1.8px}.recipe-grid{grid-template-columns:1fr 1fr;gap:8px}.recipe-card{padding:10px}.recipe-card h3{font-size:17px;clear:both}.recipe-card>img{float:none;width:65px;height:50px;display:block;margin:0 auto 6px}.recipe-ingredients{font-size:8px;flex-wrap:wrap;justify-content:center;gap:5px}.recipe-card .animal-name{font-size:9px}.inventory-strip{gap:5px}.inventory-item{padding:4px;font-size:8px;gap:2px}.inventory-item img{width:19px;height:21px}.map-grid{grid-template-columns:repeat(2,1fr);gap:9px}.map-card img{height:85px}.map-card>div{padding:10px}.map-card h3{font-size:18px}.controls-table>div{align-items:flex-start;font-size:9px}.controls-table span{max-width:65%;font-size:9px}.win-modal h2{font-size:34px}}
@media(pointer:coarse),(max-width:700px){.touch-controls{position:absolute;bottom:18px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none}.touch-pad,.touch-actions{display:flex;gap:8px;align-items:flex-end;pointer-events:auto}.touch-pad>div{display:flex;flex-direction:column;gap:6px}.touch-controls button{height:45px;min-width:45px;border-radius:9px;background:#183d3bb8;border:1px solid #f1ecc060;color:var(--cream);font-size:21px;touch-action:none;user-select:none}.touch-controls button.pressed{background:#d57349d9}.touch-actions{gap:5px}.touch-actions button{font-size:10px;padding:8px}.touch-actions .throw-touch{background:#ce7647de;min-width:61px}.keyboard-strip{display:none}.game-bottom{bottom:130px}.game-top{left:10px;right:10px;top:10px;gap:8px}.location-hud{min-width:0;padding:7px 10px;gap:8px}.location-hud .compass{display:none}.location-hud strong{font-size:17px}.location-hud .small-label{font-size:6px;letter-spacing:.5px}.hearts{font-size:12px;letter-spacing:3px}.mission-hud{min-width:120px;padding:7px 10px}.mission-hud .small-label{font-size:6px;letter-spacing:.7px}.mission-hud strong{font-size:21px}.mission-hud small{font-size:8px}.hud-button{min-width:40px;min-height:44px;font-size:19px}.hud-button span{font-size:6px}.game-menu{gap:4px}.team-strip{top:90px;left:10px}.team-dot{width:21px;height:21px}.quest-hud{padding:9px 11px;max-width:250px}.quest-hud strong{font-size:10px}.quest-hud>span:last-child{font-size:8px}.quest-hud .small-label{font-size:6px}.potion-belt{max-width:50%;gap:3px}.belt-potion{width:40px;min-height:47px}.belt-potion img{width:23px;height:24px}.belt-potion small{font-size:5px}.empty-belt{padding:8px 12px;font-size:9px}}
@media(max-width:550px) and (orientation:portrait){.game-top{flex-wrap:wrap}.location-hud{width:calc(100% - 136px)}.game-menu{position:absolute;right:0;top:74px}.mission-hud{width:125px}.game-bottom{bottom:132px;left:10px;right:10px;flex-wrap:wrap}.quest-hud{max-width:100%;width:100%}.potion-belt{max-width:100%;justify-content:flex-start}.game-notice{top:28%;font-size:11px}.touch-controls{left:12px;right:12px;bottom:18px}.touch-pad,.touch-actions{gap:5px}.touch-controls button{min-width:39px;height:42px}.touch-actions button{font-size:8px;padding:6px}.touch-actions .throw-touch{min-width:50px}}
@media(max-height:500px) and (orientation:landscape){.game-top{top:7px}.location-hud{padding:6px 10px}.location-hud strong{font-size:16px}.location-hud .small-label{font-size:5px}.hearts{font-size:10px}.mission-hud{padding:5px 12px}.mission-hud strong{font-size:18px}.mission-hud .small-label{font-size:5px}.hud-button{min-height:36px;min-width:42px;font-size:17px}.team-strip{top:75px}.game-bottom{bottom:80px}.quest-hud{padding:6px 10px;max-width:270px}.quest-hud strong{font-size:9px;margin:3px 0}.quest-hud .small-label{font-size:5px}.touch-controls{bottom:10px}.touch-pad>div{flex-direction:row}.touch-controls button{height:42px}.game-notice{top:26%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:550px) and (orientation:portrait){.game-bottom{top:145px;bottom:auto}.quest-hud{padding:8px 11px;background:#173b35e8}.game-notice{top:36%}}
@media(max-height:500px) and (orientation:landscape){.game-bottom{top:80px;bottom:auto;align-items:flex-start}.quest-hud{max-width:270px;background:#173b35e0}}
.audio-setting{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 0;border-top:1px solid var(--line);font-size:14px}.audio-setting input[type=checkbox]{width:22px;height:22px;min-height:22px;accent-color:var(--ink);flex-shrink:0}.audio-setting input[type=range]{width:100%;min-height:36px;padding:0;accent-color:var(--orange)}.audio-setting.volume-setting{display:block}.volume-caption{display:flex;justify-content:space-between;gap:15px;margin-bottom:5px}.audio-modal .quiet-note{margin:14px 0}.audio-modal{max-width:460px}
