@font-face{font-family:Lilita;src:url('/assets/lilita-one.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Atkinson;src:url('/assets/atkinson-regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Atkinson;src:url('/assets/atkinson-bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
:root{--paper:#f7f0df;--ink:#2b413c;--muted:#57685a;--teal:#235d55;--sun:#efbd65;--line:#c9c7ad;--panel:#fff9eb;--ease:cubic-bezier(.16,1,.3,1);color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.55 Atkinson,'Trebuchet MS',sans-serif}a{color:var(--teal);text-underline-offset:.2em}a:hover{color:#7e422a}button,input,select,textarea{font:inherit}button,.button{min-height:44px;border:1px solid var(--line);border-radius:8px;padding:9px 17px;background:var(--panel);color:var(--ink);font-weight:700;cursor:pointer;transition:background .14s,transform .14s var(--ease);text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.button:hover{background:#efe1c1;color:var(--ink)}button:active,.button:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.52;transform:none}.primary{background:var(--teal);border-color:var(--teal);color:#fff9e7}.primary:hover{background:#18473f;color:#fff9e7}.subtle{background:transparent}.danger{color:#9c3b2c}svg{width:22px;height:22px;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400;line-height:1.1;text-wrap:balance;font-family:Lilita,'Trebuchet MS',sans-serif}h1{font-size:clamp(36px,4vw,62px);letter-spacing:-.015em}h2{font-size:clamp(28px,3vw,40px)}h3{font-size:25px}p+p{margin-top:1em}strong{font-weight:700}::selection{background:#efbd65;color:#243d35}:focus-visible{outline:3px solid #ae4c31;outline-offset:4px}button:focus-visible{outline-offset:2px}input{accent-color:var(--teal);caret-color:var(--teal)}[hidden]{display:none!important}.small{font-size:14px;color:var(--muted)}.lead{font-size:23px;line-height:1.45;max-width:65ch}.skip{position:fixed;left:12px;top:-80px;background:white;padding:12px;z-index:100}.skip:focus{top:12px}.site-header{max-width:1440px;margin:auto;padding:22px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.wordmark{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:Lilita;font-size:23px;line-height:1.1;color:var(--ink)}.wordmark>svg{width:34px;height:34px;color:#a46635}.brand-edition{display:block;font-family:Atkinson;font-size:12px;letter-spacing:.035em;margin-top:3px;color:var(--muted)}#site-nav{display:flex;gap:22px;align-items:center;font-size:15px}#site-nav a{text-decoration:none;white-space:nowrap;padding:6px 0}#site-nav a[aria-current]{border-bottom:2px solid var(--teal);font-weight:bold}.nav-toggle{display:none}.play-page{max-width:1440px;padding:0 40px;margin:auto}.play-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px 0 22px}.play-heading h1{font-size:clamp(36px,3.5vw,54px)}.play-heading p{margin-top:4px}.edition{font-size:14px;text-align:right;color:var(--muted)}.game-frame{position:relative;height:min(70vh,760px);min-height:520px;width:100%;overflow:hidden;border:5px solid #385248;border-radius:18px;background:#b9cfc9;color:#fff8dc;isolation:isolate;touch-action:none;box-shadow:0 16px 38px -28px #38493480}.game-frame:fullscreen,.game-frame.expanded{width:100vw;height:100dvh;max-width:none;min-height:0;border:0;border-radius:0;background:#b9cfc9}.game-frame.expanded{position:fixed;inset:0;z-index:99}.game-frame:fullscreen #game-dialog{max-height:85dvh}#sand-canvas{display:block;width:100%;height:100%;outline-offset:-5px;touch-action:none;cursor:crosshair}.game-hud{position:absolute;top:20px;left:20px;right:20px;display:flex;justify-content:space-between;pointer-events:none;gap:20px}.hud-money,.hud-progress{background:#233e38ed;padding:12px 17px;border-radius:9px;box-shadow:0 5px 18px -10px #172b29aa}.hud-money{display:grid;gap:2px}.hud-money strong{font:32px/1 Lilita;color:#ffe3a1;font-variant-numeric:tabular-nums}.hud-money span{font-size:14px}.hud-progress{display:grid;grid-template-columns:1fr auto;min-width:220px;font-size:14px;gap:3px 15px}.hud-progress>strong{font:18px Lilita}.hud-progress>.meter,.hud-progress>#remaining-value{grid-column:1/-1}.meter{height:7px;border-radius:4px;background:#102d29;overflow:hidden}.meter i{display:block;height:100%;width:0;background:#eac071;transition:width .15s linear}.game-top-actions{position:absolute;top:118px;right:20px;display:flex;align-items:center;gap:7px;color:#fff8dc;font-variant-numeric:tabular-nums}.game-top-actions button{min-height:40px;padding:7px 10px;background:#29473de8;color:#fff8dc;border-color:#60715d}.game-top-actions>span{background:#29473de8;border-radius:7px;padding:6px 10px}.start-screen{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;background:linear-gradient(90deg,#233d3330,transparent,#233d3330);z-index:5}.start-content{background:#f8efdaef;color:var(--ink);padding:30px 40px;border-radius:14px;box-shadow:0 8px 40px #263d332e;max-width:440px; margin:20px}.start-content h2{font-size:45px}.start-content>p{margin:12px 0 20px}.start-content>.primary{font-size:19px;padding:12px 26px;width:100%}.trial-start{display:block;margin:9px auto 0;border:0;background:transparent;font-size:15px}.start-content .control-hint{font-size:13px;margin:15px 0 0;color:var(--muted)}.touch-hint{display:none}.crosshair{position:absolute;top:50%;left:50%;width:5px;height:5px;margin:-2.5px;background:#fff7dc;border-radius:50%;box-shadow:0 0 2px #2d3d34;pointer-events:none}.game-frame:not(.playing) .crosshair,.game-frame:not(.playing) .game-bottom,.game-frame:not(.playing) .camp-direction,.game-frame:not(.playing) .touch-controls{visibility:hidden}.game-toast{position:absolute;top:29%;left:50%;transform:translate(-50%,-6px);background:#fff2d7;color:var(--ink);padding:10px 20px;border-radius:8px;max-width:85%;text-align:center;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s var(--ease);z-index:8;font-weight:bold;font-size:16px;box-shadow:0 6px 18px #243d3326}.game-toast.show{opacity:1;transform:translate(-50%,0)}.game-bottom{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);width:min(480px,95%);background:#29473df0;border-radius:10px;padding:12px 15px;z-index:2}.tool-line{display:flex;justify-content:space-between;font-size:14px;color:#efdcae}.tool-line>span:first-child{font-weight:bold;color:#fff5d7}.bag-line{margin-top:3px;font-variant-numeric:tabular-nums}.bag-line strong{display:block;margin-bottom:5px}#bag-fill{background:#eac071}#bag-fill.full{background:#f08f65}.game-bottom>p{font-size:13px;margin:8px 0;color:#f3e7c8}.game-actions{display:flex;gap:7px}.game-actions button{flex:1;font-size:14px;padding:6px;min-height:38px;background:#f8edcf}.game-actions button[aria-pressed=true]{background:#efbd65}.camp-direction{position:absolute;bottom:20px;left:22px;display:flex;align-items:center;gap:7px;background:#29473ddc;padding:8px 12px;border-radius:7px;font-size:14px}.camp-direction svg{width:25px;height:25px}.touch-controls{display:none}.game-caption{display:flex;justify-content:space-between;font-size:13px;padding:10px 4px;color:var(--muted)}.sandstorm:after{content:'';position:absolute;inset:0;background:#e7b76b;animation:storm 1s ease-out forwards;pointer-events:none;z-index:20}@keyframes storm{0%{opacity:.1}30%{opacity:.95}100%{opacity:0}}dialog{color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:16px;width:min(620px,94vw);max-height:85dvh;overflow-y:auto;padding:24px;box-shadow:0 15px 70px #142a2966}dialog::backdrop{background:#152d2a80}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.dialog-heading h2{font-size:31px}.dialog-heading button{font-size:25px;width:44px;padding:0;flex-shrink:0}.panel-tabs{display:flex;gap:8px}.panel-tabs button[aria-pressed=true]{background:var(--teal);color:#fff9e7}.wallet{font-size:24px;font-weight:bold;margin-top:15px}#dialog-content h3{margin-top:26px;margin-bottom:10px}#dialog-content p{margin-top:12px}.shop-list{margin:12px 0}.shop-list>div{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}.shop-list>div>span{flex:1}.shop-list small{display:block;line-height:1.4;font-size:14px;color:var(--muted);margin-top:3px}.shop-list button{min-width:95px;flex-shrink:0}.settings-list{margin:20px 0}.settings-list>label{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}.settings-list input[type=range]{width:46%}.settings-list input[type=checkbox]{width:22px;height:22px}.settings-list select{max-width:55%;padding:6px;border-radius:6px}.panel-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.panel-actions label{margin:0}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.find-tile{text-align:center;padding:16px 8px;background:#e6e1cf;border-radius:9px;font-size:15px}.find-tile strong{display:block;font-size:15px}.find-tile small{color:var(--muted)}.find-tile.found{background:#ede5ce}.find-art{display:block;width:45px;height:45px;margin:0 auto 12px;background:var(--find-color);border:3px solid #29463e;border-radius:9px;transform:rotate(-8deg)}.find-tile:not(.found) .find-art{background:#a8ad94;border:0;border-radius:50%;position:relative}.find-tile:not(.found) .find-art:after{content:'?';font-family:Lilita;font-size:30px;color:#fff5d7;position:absolute;inset:0}.shape-float,.shape-compass,.shape-hat,.shape-beetle,.shape-shell{border-radius:50%}.shape-bottle,.shape-rocket{width:23px;border-radius:8px 8px 4px 4px}.shape-glasses{height:25px;margin-top:20px}.result-time{font:65px/1 Lilita;text-align:center;font-variant-numeric:tabular-nums;margin:20px 0}.result-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;text-align:center}.result-stats>div{padding:10px 0}.result-stats dt{font-size:13px}.result-stats dd{margin:5px 0;font-weight:bold}#score-form label{display:block;margin-top:25px;font-weight:bold}#score-name{display:block;margin:8px 0;width:100%;padding:12px;border:1px solid #829077;border-radius:7px}#score-form button{margin-top:15px}#share-text{width:100%;min-height:110px;margin-top:15px;padding:10px}.home-content{padding:60px 0 0}.intro{max-width:800px}.intro p{margin-top:20px;font-size:19px}.guide-links{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:40px 0 60px}.guide-links>a{position:relative;padding:24px 18px 24px 0;text-decoration:none}.guide-links span{display:block;color:var(--muted);font-size:14px}.guide-links strong{font:25px Lilita;display:block;margin-top:4px}.guide-links svg{position:absolute;right:20px;bottom:27px;width:18px}.instruction-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:25px}.instruction-columns p{margin-top:12px}.faq{max-width:900px;margin:65px 0}.faq h2{margin-bottom:24px}.faq details{border-bottom:1px solid var(--line);padding:17px 0}.faq summary{font-size:20px;font-weight:bold;cursor:pointer}.faq details p{margin-top:14px;padding-right:20px}.site-footer{max-width:1440px;margin:50px auto 0;padding:36px 40px;border-top:1px solid var(--line);font-size:14px}.footer-brand{font:30px Lilita;text-decoration:none;color:var(--ink)}.site-footer nav{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin:16px 0}.site-footer nav button{min-height:32px;padding:4px 10px;font-weight:400;font-size:13px}.site-footer>p{max-width:800px}.read-page{max-width:860px;margin:0 auto;padding:30px 35px 0}.breadcrumbs{display:flex;gap:12px;align-items:center;margin-bottom:32px;font-size:14px;text-transform:capitalize}.read-page h1{margin-bottom:20px;font-size:clamp(35px,4vw,54px)}.read-page>p{margin:18px 0;max-width:72ch}.read-page h2{margin:45px 0 18px;font-size:34px}.read-page h3{margin:28px 0 12px;font-size:25px}.read-page ul,.read-page ol{padding-left:25px}.read-page li{margin:10px 0}.read-page table{width:100%;border-collapse:collapse;font-size:16px;margin:25px 0;line-height:1.4}.read-page td,.read-page th{text-align:left;padding:13px 12px;border-bottom:1px solid var(--line)}.read-page th{background:#e8e2ce}.read-page caption{text-align:left;font-size:14px;color:var(--muted);padding:10px 0}.table-scroll{overflow:auto;max-width:100%;scrollbar-color:#9b9e82 #f2ecd7}.read-page img{display:block;width:100%;height:auto;margin:28px auto;border-radius:9px}.read-page>aside,.notice{padding:16px 20px;background:#ece4cd;border-radius:8px;margin:25px 0}.return-play{margin:50px 0}.read-page>h1+.lead{margin-top:0}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:#eee6d0}::-webkit-scrollbar-thumb{background:#9a9e86;border:2px solid #eee6d0;border-radius:5px}
@media(max-width:1100px){.site-header,.play-page{padding-left:25px;padding-right:25px}#site-nav{gap:15px;font-size:14px}.guide-links svg{display:none}.camp-direction{bottom:200px}}
@media(max-width:850px){.site-header{padding:14px 20px;position:relative;z-index:30}.wordmark{font-size:21px}.nav-toggle{display:flex;min-height:42px;padding:8px 10px;font-size:14px}#site-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:var(--paper);border-bottom:1px solid var(--line);padding:10px 20px;box-shadow:0 15px 24px #233e3320}#site-nav.open{display:flex}#site-nav a{padding:11px;font-size:17px}#site-nav a[aria-current]{border:0;background:#e5e4cf;border-radius:7px}.play-page{padding:0 16px}.play-heading{padding:22px 0 17px}.edition{font-size:12px}.play-heading p{font-size:15px}.game-frame{height:66dvh;min-height:510px}.home-content{padding-top:40px}.guide-links{grid-template-columns:1fr 1fr}.guide-links>a{padding:18px 10px 18px 0}.guide-links strong{font-size:24px}.instruction-columns{grid-template-columns:1fr;gap:25px}.instruction-columns>div{max-width:65ch}.site-footer{padding:30px 22px}.site-footer nav{gap:15px}.read-page{padding:24px 23px 0}.read-page h1{font-size:38px}.read-page table{font-size:14px}.read-page td,.read-page th{padding:10px 7px}.game-hud{top:12px;left:12px;right:12px;gap:10px}.hud-money strong{font-size:27px}.hud-progress{min-width:155px;padding:11px 12px;font-size:12px;gap:4px 10px}.hud-money{padding:12px}.hud-progress>strong{font-size:16px}.game-top-actions{top:110px;right:12px}.game-top-actions button{min-height:38px;padding:6px 8px;font-size:14px}.game-top-actions>span{font-size:14px}.game-bottom{bottom:14px;max-width:430px}.start-content{padding:25px;max-width:360px}.start-content h2{font-size:39px}}
@media(pointer:coarse){.touch-hint{display:inline}.desktop-hint{display:none}.playing .touch-controls{display:flex;justify-content:space-between;align-items:flex-end;position:absolute;left:18px;right:18px;bottom:155px;pointer-events:none;z-index:3}#joystick{width:104px;height:104px;border:2px solid #fff8ddaa;border-radius:50%;background:#29473d55;display:flex;align-items:center;justify-content:center;pointer-events:auto;touch-action:none}#joystick-thumb{display:block;width:45px;height:45px;border-radius:50%;background:#fff1cdca;box-shadow:0 4px 10px #29473d40;pointer-events:none}#dig-button{width:78px;height:78px;min-height:78px;border:2px solid #fff7d9c9;border-radius:50%;background:#29473ddd;color:#fff7dc;display:flex;flex-direction:column;gap:0;pointer-events:auto;touch-action:none;font-size:17px;padding:8px}.camp-direction{bottom:275px;left:20px}.game-frame{touch-action:none}}
@media(max-width:450px){.play-page{padding:0 10px}.site-header{padding:12px 14px}.play-heading h1{font-size:33px}.play-heading{gap:8px}.play-heading>div>p{font-size:14px}.edition{font-size:11px}.game-frame{border-width:3px;border-radius:12px;min-height:500px;height:65dvh}.game-hud{top:10px;left:8px;right:8px}.hud-money{padding:10px}.hud-money strong{font-size:24px}.hud-progress{min-width:145px;padding:9px 10px}.game-top-actions{top:103px;right:8px;left:8px;justify-content:flex-end;gap:5px}.game-top-actions>span{margin-left:auto}.game-top-actions button:first-child{margin-right:auto}.game-bottom{width:calc(100% - 16px);bottom:9px;padding:9px 11px}.game-bottom>p{font-size:12px;margin:5px 0}.game-actions button{min-height:36px;font-size:13px}.tool-line{font-size:13px}.bag-line strong{font-size:15px}.start-content{padding:25px 20px;margin:12px;max-width:310px}.start-content h2{font-size:36px}.start-content>p{font-size:16px}.start-content .control-hint{font-size:13px}.game-caption{font-size:12px;padding:8px 3px}.playing .touch-controls{left:14px;right:14px;bottom:155px}.camp-direction{bottom:268px;font-size:12px;padding:5px 8px;left:15px}#joystick{width:90px;height:90px}#dig-button{width:74px;height:74px;min-height:74px}.home-content{padding:35px 8px 0}.intro p{font-size:17px}.guide-links strong{font-size:22px}.read-page{padding-left:18px;padding-right:18px}.read-page h1{font-size:35px}.read-page h2{font-size:29px}.read-page .lead{font-size:21px}dialog{padding:18px 16px;width:calc(100vw - 24px);max-height:88dvh}.dialog-heading{margin-bottom:15px}.dialog-heading h2{font-size:29px}.shop-list{font-size:16px}.shop-list small{font-size:13px}.shop-list button{min-width:81px;padding:7px 10px}.collection-grid{grid-template-columns:1fr 1fr}.result-time{font-size:56px}.settings-list label{gap:12px}.result-stats{gap:4px}.result-stats dt{font-size:12px}.panel-actions>button,.panel-actions>label{flex-grow:1}}
@media(max-height:500px) and (orientation:landscape){.game-frame{height:85dvh;min-height:330px}.game-frame:fullscreen,.game-frame.expanded{height:100dvh}.game-hud{top:9px;left:10px;right:10px}.hud-money strong{font-size:22px}.hud-money,.hud-progress{padding:7px 10px}.hud-money span{font-size:12px}.hud-progress{min-width:175px}.game-top-actions{top:85px;right:10px;left:auto}.game-bottom{width:300px;bottom:8px;padding:7px 10px}.game-bottom>p{display:none}.game-actions{margin-top:6px}.game-actions button{min-height:33px;padding:4px;font-size:12px}.bag-line strong{font-size:14px}.playing .touch-controls{bottom:18px;left:18px;right:18px}.camp-direction{left:20px;bottom:120px;font-size:12px}.start-content{padding:16px 25px;max-width:350px}.start-content h2{font-size:30px}.start-content>p{margin:7px 0 10px}.start-content .control-hint{margin-top:9px}.trial-start{margin-top:5px}.start-content>.primary{padding:8px 20px;min-height:42px;font-size:17px}dialog{max-height:92dvh}.game-toast{top:38%;font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}.game-toast{transform:translateX(-50%)}.game-toast.show{transform:translateX(-50%)}}

@media(pointer:coarse){.game-actions button{min-height:44px;font-size:14px}.playing .touch-controls{bottom:164px}.camp-direction{font-size:14px;bottom:275px}}
@media(max-height:500px) and (orientation:landscape) and (pointer:coarse){.playing .touch-controls{bottom:18px}.game-actions button{min-height:36px;font-size:13px}.camp-direction{bottom:120px}}
.table-scroll table{min-width:500px}.table-scroll{overscroll-behavior-x:contain}

.article-toc{display:grid;gap:.4rem;padding:1.2rem 1.4rem;border-left:3px solid var(--teal,#287b75);background:#eee5ce;margin:1.8rem 0 2.5rem}.article-toc a{font-size:1rem}.read-page h2,.read-page h3{scroll-margin-top:6rem}.find-map{padding:1rem;border:1px solid #c5b58f;border-radius:12px;margin:1.4rem 0}.find-map summary{cursor:pointer;font-weight:700}.find-map svg{display:block;width:min(100%,480px);height:auto;margin:1rem auto;font-family:inherit;font-size:11px;fill:#354b45}.map-key{columns:2;padding-left:1.8rem}.map-key li{break-inside:avoid;font-size:1rem;padding:.25rem 0}@media(max-width:420px){.map-key{columns:1}}

.guide-figure{margin:1.5rem 0 2rem}.guide-figure img{display:block;width:100%;height:auto;max-width:720px;border-radius:12px;border:1px solid #d3c49f}.guide-figure figcaption{font-size:1rem;line-height:1.5;color:#53645b;margin-top:.7rem}.find-map .guide-figure img{max-width:600px}.play-stage{display:block}

.brand-edition{font-size:14px}.hud-progress>#remaining-value{font-size:14px}@media(max-width:450px){.result-stats{grid-template-columns:1fr 1fr}.result-stats>div:last-child{grid-column:1/-1}}

/* Keep standalone controls generous on every input device. Inline prose links retain text flow. */
.game-frame button,.site-header button,.site-footer nav button,.game-frame .start-content>.primary{min-width:44px;min-height:44px}
#site-nav a,.site-footer nav>a,.breadcrumbs>a,.article-toc>a{display:inline-flex;align-items:center;min-width:44px;min-height:44px}
.site-footer nav{column-gap:15px;row-gap:3px}.site-footer .footer-brand{display:inline-flex;align-items:center;min-height:44px}.game-caption>a{display:inline-flex;align-items:center;min-height:44px}
