/* Chapter presentation supplements the accepted Stillwater material system. */
.journey,.gallery{overflow-y:auto;min-height:0;padding:10px 22px 25px;scrollbar-width:thin}.journey-heading{text-align:center}.journey-heading h1,.gallery h1{font-size:34px}.mode-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:20px}.mode-picker button{padding:12px 4px;min-height:65px;border:1px solid #9cad97;border-radius:12px;background:#f5f1df;color:var(--ink)}.mode-picker strong{display:block;font:19px Georgia,serif}.mode-picker small{font-size:9px;display:block;margin-top:3px}.mode-picker button[aria-pressed=true]{background:#294f46;color:#fff4d8;border-color:#345d4e;box-shadow:inset 0 1px #b5c4aa}.journey>#mode-description{text-align:center;min-height:34px;margin:10px 0 16px}.chapter-card{border:1px solid #c1c6ad;border-radius:18px;overflow:hidden;position:relative;margin-bottom:18px;background:#f5f1e3;box-shadow:0 8px 25px #294d4610}.chapter-card>img{width:100%;height:125px;object-fit:cover;object-position:50% 40%;display:block}.chapter-copy{padding:13px 15px 0}.chapter-copy h2{font-size:27px}.chapter-copy p{font-size:11px;margin:5px 0 11px}.level-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:0 12px 13px}.level-grid button{min-height:52px;background:#f5efda;border:1px solid #c1c4a8;border-radius:10px;color:#294f46;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.level-grid span{font:21px Georgia,serif}.level-grid small{font-size:8px}.level-grid button.complete{background:#c8dbc8;border-color:#879f80}.level-grid button:disabled{opacity:.58}.gallery-link{width:100%;display:flex;justify-content:space-between}.gallery{text-align:center}.discovery{margin:22px 0;background:#f7f2e5;border:1px solid #c6bd9a;border-radius:18px;overflow:hidden;padding-bottom:16px}.discovery img{width:100%;display:block}.discovery h2{font-size:27px;margin:18px 10px 8px}.discovery p{font-size:12px;margin:0 14px}.discovery.locked img{filter:blur(12px) saturate(.5);opacity:.35}.discovery.locked{overflow:hidden}.condition{margin:6px 22px 5px;text-align:center;font-size:11px;min-height:18px;color:var(--muted)}.focus-picker{display:flex;gap:4px;justify-content:center;padding:2px 20px}.focus-picker button{min-width:55px;min-height:36px;padding:5px 10px;border:1px solid #b9c7ad;border-radius:18px;background:#f1efdf;color:var(--ink);font-size:11px}.focus-picker button[aria-pressed=true]{background:#315e51;color:#fff7dc}.challenge-tools{display:flex;justify-content:center;gap:10px;margin-top:7px}.challenge-tools button{min-height:36px;padding:5px 17px;font-size:11px}.game-tools button{min-height:39px}.hearts{white-space:nowrap;font-size:20px;letter-spacing:1px}.arrow.gated .arrow-ink{stroke:#78847a;stroke-dasharray:1 0}.arrow.gated{opacity:.55}.journey-bubble{filter:drop-shadow(0 0 5px #bcece480)}.finish-art{position:relative;width:245px;max-width:58%;margin:0 auto 15px}.finish-art img{width:100%;display:block;border-radius:28px;border:2px solid #d4c592;box-shadow:0 14px 32px #1c463b27}.finish-seal{position:absolute;bottom:-12px;right:13px;font-size:24px;width:42px;height:42px;border-radius:50%;background:#fbefcd;border:1px solid #bba773;color:#927735}.finish.lost .finish-art{filter:grayscale(.45);opacity:.65}.finish .primary{margin-top:15px}.finish .text-button{min-height:35px;padding:7px}#brief p{font-size:14px;line-height:1.6}#brief .primary,#paused .primary{width:100%}#brief .text-button,#paused .text-button{display:block;margin:8px auto 0}#paused::backdrop{background:#dce5d8}#options::backdrop,#confirm::backdrop{background:#dce5d8f7}.depths{background:#102d39}.depths #app{background:radial-gradient(ellipse at 50% 40%,#356575,transparent 65%),linear-gradient(#183d4b,#173442);color:#f0edcf;--ink:#e3ebda;--muted:#b9d3ca}.depths .eyebrow,.depths #message,.depths .micro,.depths .save-dot,.depths .progress-row{color:#bfd7cf}.depths .icon-button{background:#d3e6df24;color:#f2edcf;border-color:#c0cdbb4a}.depths .focus-picker button{color:#173c44}.depths .focus-picker button[aria-pressed=true]{background:#d4c18d;color:#1b3d43}.depths .progress-track{background:#c2d3b724}.depths .progress-track i{background:#d4bd79}.depths .finish h1 em{color:#bfcda9}.depths #finish-stat{color:#e5d6ab}.depths .app-foot button,.depths .text-button{color:#e8e9cf}.depths dialog{--ink:#254d46;--muted:#577268}.depths dialog .text-button{color:#254d46}.play{min-height:0}#board-wrap{min-height:200px;margin:0;flex:1}#board{overflow:visible}.board-footer{padding-bottom:4px}#message{min-height:34px;margin:0 auto 5px;font-size:12px}.micro{margin:5px 0 2px}.level-heading{padding-bottom:4px}.level-heading h1{font-size:27px}.progress-row{font-size:11px}.app-foot{flex-shrink:0}
@media(min-width:800px){.journey,.gallery{max-width:760px;width:100%;margin:auto}.chapter-card>img{height:150px}.level-grid button{min-height:62px}.mode-picker small{font-size:11px}.mode-picker strong{font-size:23px}.journey-heading h1{font-size:43px}.finish-art{width:290px}.gallery #gallery-items{display:grid;grid-template-columns:1fr 1fr;gap:18px}.play{max-width:650px}}
@media(max-height:740px){.level-heading h1{font-size:23px}.condition{font-size:10px;margin-top:4px}.focus-picker button{min-height:32px}.challenge-tools button{min-height:32px}.game-tools button{min-height:35px}#board-wrap{min-height:190px}.finish-art{width:170px}.finish h1{font-size:32px}.finish .primary{margin-top:10px}.finish p:not(.eyebrow){font-size:12px;margin:8px auto}#finish-stat{padding:6px 10px;font-size:10px}.finish .text-button{min-height:30px;padding:5px}.finish{padding-top:0}.intro .eyebrow{font-size:9px}}
@media(orientation:landscape) and (max-height:500px) and (min-width:600px){.journey,.gallery{max-width:900px}.journey-heading{float:left;width:35%;padding:15px 8px}.mode-picker{margin-left:37%;margin-top:4px}.journey>#mode-description{margin-left:37%;min-height:0}#chapter-list{display:grid;grid-template-columns:1fr 1fr;gap:16px;clear:both}.chapter-card>img{height:90px}.play{display:grid;grid-template-columns:53% 47%;grid-template-rows:52px 20px 5px 28px 38px 1fr;max-width:950px;height:calc(100dvh - 78px)}.level-heading{grid-column:2;grid-row:1}.progress-row{grid-column:2;grid-row:2}.progress-track{grid-column:2;grid-row:3}.condition{grid-column:2;grid-row:4;margin:5px 15px 0 0;font-size:10px}.focus-picker{grid-column:2;grid-row:5;padding:0 15px 0 0}.focus-picker button{min-height:30px}#board-wrap{grid-column:1;grid-row:1/7;height:100%;min-height:0}.board-footer{grid-column:2;grid-row:6;padding-right:15px;padding-bottom:0}.game-tools button{min-height:32px}.challenge-tools{margin:4px 0}.challenge-tools button{min-height:30px}.micro{display:none}#message{min-height:30px;font-size:11px}.finish{display:flex;position:relative;padding:5px 20px 5px 43%;max-width:900px}.finish-art{position:absolute;left:5%;top:12%;width:30%;max-width:none}.finish-art img{max-height:225px;object-fit:cover}.finish h1{font-size:27px}.finish .primary{margin-top:7px;min-height:37px}.finish p:not(.eyebrow){font-size:11px;margin:6px auto}.finish .text-button{font-size:10px;min-height:27px;padding:3px}.finish .eyebrow{font-size:8px}.finish #finish-stat{font-size:9px;padding:5px}}

.depths .secondary{color:#254d46}.depths .fine{color:#bfd7cf}.depths dialog .fine{color:#577268}.finish.lost .finish-art img{filter:blur(6px)}
@media(orientation:portrait) and (max-width:799px){#app{height:100dvh;min-height:0}.play{height:auto;min-height:0}#board-wrap{min-height:0}.intro{overflow-y:auto;flex-shrink:1}.level-heading,.progress-row,.progress-track,.condition,.focus-picker,.board-footer{flex-shrink:0}}

.journey-bubble{transition:transform .9s cubic-bezier(.2,.8,.2,1);transform-origin:0 0}.reduced .journey-bubble{transition:none}.pressure .condition{padding-bottom:5px;border-bottom:3px solid transparent;background:linear-gradient(90deg,#bc8c54 var(--pressure,0%),#9ebfb570 var(--pressure,0%)) left bottom/100% 3px no-repeat}@media(prefers-reduced-motion:reduce){.journey-bubble{transition:none}}

/* Five-part discoveries share one locally bundled painting per scene. */
.picture-window{position:relative;aspect-ratio:1;overflow:hidden;background:#b9cfc5}.picture-window img{width:100%;height:100%;object-fit:cover;display:block}.picture-fog{position:absolute;width:50.2%;height:50.2%;background:radial-gradient(ellipse at 30% 20%,#e3e8d8,#abc6bb);box-shadow:inset 0 0 30px #5c8c7b25}.quadrant-0{left:0;top:0}.quadrant-1{right:0;top:0}.quadrant-2{left:0;bottom:0}.quadrant-3{right:0;bottom:0}.chapter-card>.picture-window{height:125px;aspect-ratio:auto}.chapter-card .picture-window img{object-position:50% 45%}.chapter-card .picture-window .picture-fog{background:#b8cfc4ed}.chapter-copy h2{font-size:25px}.finish-crop{aspect-ratio:1;overflow:hidden;border-radius:25px;border:2px solid #d4c592;box-shadow:0 14px 32px #1c463b27}.finish-crop #finish-picture{display:block;height:auto;border:0;border-radius:0;box-shadow:none;transform-origin:0 0}.finish-art .finish-seal{z-index:1}.discovery.partial{background:#f7f2e5}.level-heading h1{font-size:25px}.level-heading .eyebrow{font-size:8px;letter-spacing:1.2px}@media(min-width:800px){.chapter-card>.picture-window{height:150px}}@media(orientation:landscape) and (max-height:500px) and (min-width:600px){.chapter-card>.picture-window{height:90px}.finish-crop #finish-picture{max-height:none;object-fit:initial}.finish-art{max-width:225px}}

.tutorial-entry{min-height:36px;padding:5px 16px;margin:0 auto;color:var(--ink);font-size:12px}.tutorial-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.tutorial-heading h2{font-size:27px;margin:0}#how-to-play{padding:18px;width:min(94vw,560px);max-height:90dvh;overflow:auto}#how-to-play video,#tutorial-still{width:100%;aspect-ratio:3/2;object-fit:contain;border-radius:15px;margin:14px 0 8px;background:#e9eadb}#how-to-play [hidden]{display:none}#tutorial-replay{min-height:44px}#tutorial-fallback{font-size:14px}.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}#options [data-how-to-play]{display:block;width:100%;margin:10px 0}
