@font-face{font-family:Rye;src:url('fonts/Rye-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
:root{--ink:#21120c;--panel:#392217;--gold:#edbd51;--cream:#fff0ce;--muted:#d4b88d;--line:#d5a65066;--red:#a62a1b;--green:#bfd291;--western:Rye,Georgia,serif;color-scheme:dark;font-family:Arial,Helvetica,sans-serif;color:var(--cream);background:var(--ink)}
*{box-sizing:border-box}body{margin:0;overflow:hidden}button,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,select:focus-visible{outline:3px solid #fff1b3;outline-offset:5px}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:hover:not(:disabled){filter:brightness(1.13)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}#app{position:relative;width:100vw;height:100dvh;overflow:hidden;background:#100e0c}#game{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}#vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#100c0855,transparent 25%,transparent 80%,#100c0866)}
.eyebrow{font-size:10px;font-weight:700;letter-spacing:.24em;color:var(--gold);text-transform:uppercase}.tiny{font-size:10px;letter-spacing:.1em;color:var(--muted)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif}h2{font-size:clamp(32px,4.2vw,58px);line-height:1.04;font-weight:700;letter-spacing:-.045em}h3{font-size:24px;letter-spacing:-.02em}p{line-height:1.65;color:var(--muted)}button.primary,.primary{background:var(--gold);border:1px solid var(--gold);color:#211609;font-weight:800;box-shadow:0 3px 0 #836236;font-size:12px;letter-spacing:.13em;padding:18px 30px;text-transform:uppercase}button.secondary{background:#211b1599;border:1px solid #c4a97166;font-size:11px;letter-spacing:.12em;padding:17px 22px;font-weight:700;text-transform:uppercase}.text-button{border:0;background:none;color:var(--muted);font-size:11px;letter-spacing:.1em;padding:12px;text-transform:uppercase}.icon-button{background:#17130f99;border:1px solid var(--line);height:40px;min-width:40px;color:var(--gold);font-size:17px}.button-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.divider{height:1px;background:var(--line);margin:25px 0}kbd{font:10px Arial,sans-serif;border:1px solid #e4d0a450;background:#1a151699;color:#e5d8bf;padding:4px 6px;border-radius:3px;min-width:20px;display:inline-block;text-align:center}
#menu{position:absolute;inset:0;z-index:10;overflow:auto;overscroll-behavior:contain}#menu:empty{display:none}.home{min-height:100%;display:flex;flex-direction:column;background:#1c100e url('art/title-frontier.png') center 34%/cover no-repeat;position:relative}.home:before{content:'';position:absolute;inset:0;background:linear-gradient(#0d0b0990 0%,transparent 22%,transparent 49%,#140f0bea 82%,#140f0b 100%);pointer-events:none}.home>*{position:relative}.topbar{display:flex;align-items:center;justify-content:space-between;padding:24px 36px;gap:16px}.brand-mark{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:.2em;font-weight:700}.brand-mark img{width:35px;height:35px}.topbar-right{display:flex;align-items:center;gap:20px}.edition{font-size:10px;color:#dfd4bf;letter-spacing:.13em}.home-bottom{margin-top:auto;text-align:center;padding:25px 24px 27px}.home-tagline{font:700 17px Georgia,serif;letter-spacing:.1em;color:#e8d7b8;margin-bottom:21px}.home .button-row{justify-content:center}.home .primary{min-width:235px}.home-foot{display:flex;justify-content:space-between;gap:10px;color:#a79880;font-size:9px;letter-spacing:.13em;margin-top:31px}.save-label{font-size:10px;color:#c4b598;margin:14px 0 0}.official{text-transform:uppercase;font-size:10px;letter-spacing:.24em;color:#f5dab1}.home .secondary{background:#21180edb}
.panel-screen{min-height:100%;background:radial-gradient(ellipse at 85% 15%,#3c2e1c44,transparent 50%),#17130ff7;padding:32px clamp(22px,5vw,80px);display:flex;flex-direction:column}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:30px}.panel-heading .eyebrow{display:block;margin-bottom:12px}.panel-heading p{font-size:13px;margin-top:12px}.balance{font-family:Georgia,serif;color:var(--gold);font-size:25px}.balance small{font:10px Arial,sans-serif;letter-spacing:.12em;color:var(--muted);display:block;margin-bottom:6px}.map-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:10px 0 28px}.chapter-card{position:relative;min-height:205px;text-align:left;background:#292118;border:1px solid var(--line);padding:0;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s}.chapter-card:not(:disabled):hover{transform:translateY(-4px)}.chapter-art{height:112px;background-size:cover;background-position:center;position:relative}.chapter-art:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#292118)}.chapter-card.locked .chapter-art{filter:grayscale(1);opacity:.3}.chapter-number{position:absolute;left:15px;top:14px;font:26px Georgia,serif;color:var(--gold);z-index:1}.chapter-type{position:absolute;right:12px;top:17px;font-size:8px;letter-spacing:.16em;z-index:1;color:#f5e1b5}.chapter-info{padding:0 15px 15px}.chapter-info h3{font-size:20px;margin-bottom:9px;line-height:1.05}.chapter-meta{font-size:9px;letter-spacing:.13em;color:var(--muted);display:flex;justify-content:space-between;gap:6px}.chapter-card.current{border-color:var(--gold)}.chapter-card.locked{color:#908475}.panel-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);gap:15px;padding-top:20px;border-top:1px solid var(--line)}
.story-screen{min-height:100%;display:grid;grid-template-columns:1.1fr 1fr;background:#17130f}.story-art{position:relative;background-size:cover;background-position:center;border-right:1px solid var(--line);min-height:350px}.story-art:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 65%,#17130f)}.story-art .chapter-stamp{position:absolute;left:40px;top:40px;z-index:1;border:1px solid #f1d8a388;padding:14px 20px;font:22px Georgia,serif;letter-spacing:.12em;background:#21170aa8}.story-portrait{position:absolute;height:60%;max-width:90%;object-fit:contain;bottom:8%;left:50%;transform:translateX(-50%);filter:drop-shadow(0 12px 10px #0009)}.story-copy{padding:clamp(30px,6vw,90px);display:flex;flex-direction:column;justify-content:center}.story-copy .eyebrow{margin-bottom:19px}.story-copy p{font-size:14px;margin:24px 0}.story-quote{font:italic 21px/1.45 Georgia,serif;color:var(--gold);margin:26px 0 0;border-top:1px solid var(--line);padding-top:24px}.mission{font-size:11px;color:var(--cream);margin-bottom:28px;line-height:1.7}.mission b{font-size:9px;letter-spacing:.15em;color:var(--gold);display:block}.story-copy .button-row{margin-top:12px}
.center-screen{min-height:100%;display:grid;place-items:center;background:#110e0bdd;backdrop-filter:blur(8px);padding:25px}.dialog{width:min(760px,100%);background:#221b13;border:1px solid #bda06b55;padding:clamp(24px,4vw,50px);box-shadow:0 20px 100px #0005}.dialog .eyebrow{display:block;margin-bottom:14px}.dialog p{margin:17px 0 23px;font-size:13px}.pause-menu{display:flex;flex-direction:column;gap:11px;margin-top:28px}.pause-menu button{width:100%;text-align:left}.pause-menu .primary:after{content:'→';float:right}.pause-layout{display:grid;grid-template-columns:1fr 1fr;gap:35px}.pause-info{border-left:1px solid var(--line);padding-left:28px;display:flex;flex-direction:column;justify-content:center}.pause-info p{font-size:11px;margin:10px 0}.pause-info strong{font:26px Georgia,serif;color:var(--gold)}
.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:12px 0 28px}.shop-item{border:1px solid var(--line);padding:25px;background:#211b15;display:flex;flex-direction:column;min-height:230px}.shop-item .symbol{font:35px Georgia,serif;color:var(--gold);margin-bottom:16px}.shop-item p{font-size:12px;margin:12px 0 20px;flex:1}.shop-item button{width:100%;padding:12px;font-size:10px}.shop-item button:disabled{background:#333025;color:#9b947b;box-shadow:none;border-color:#514632}.shop-item.owned{border-color:#abc39c60}.shop-item.owned .symbol{color:var(--green)}
.settings-row{display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid var(--line);padding:17px 0}.settings-row strong{font-size:13px}.settings-row small{display:block;font-size:11px;color:var(--muted);margin-top:5px;line-height:1.5}.toggle{min-width:70px;padding:9px 15px;border:1px solid var(--gold);background:#dfb86d20;color:var(--gold);font-size:10px;font-weight:bold;letter-spacing:.1em}.toggle.off{background:transparent;border-color:#685b48;color:#a49986}select{background:#17130f;border:1px solid var(--line);padding:12px;color:var(--cream);max-width:180px}.settings-actions{margin-top:26px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.guide-grid h3{font-size:20px;color:var(--gold)}.guide-grid p{font-size:12px;margin:8px 0}.key-table{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:12px;padding:20px 0}.guide-note{padding:15px;background:#dfb86d0b;border-left:2px solid var(--gold);font-size:12px;color:var(--muted);line-height:1.6}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0}.stat strong{display:block;font:30px Georgia,serif;color:var(--gold);margin-bottom:8px}.stat span{font-size:8px;letter-spacing:.15em;color:var(--muted)}.awards{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0 28px}.award{font-size:9px;color:var(--green);padding:9px;border:1px solid #abc39c50;letter-spacing:.09em}.award.missing{color:#877d6a;border-color:var(--line)}.ending{background:linear-gradient(90deg,#140f0bf5 20%,#140f0b66 100%),url('art/town.png') center/cover}.ending .dialog{background:#211b15e8}.credits{font-size:11px;color:var(--muted);line-height:1.8;margin:20px 0}.reset-warning{border-left:2px solid var(--red);padding-left:15px}
#loading{position:absolute;inset:0;background:#17130f;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}#loading h1{font-size:clamp(35px,7vw,75px);line-height:.92;margin:28px 0;letter-spacing:-.04em}#loading em{color:var(--gold);font-style:normal}#loading p{font-size:11px;margin-top:17px}.loading-track{height:3px;width:220px;background:#4c3b20}.loading-track i{display:block;background:var(--gold);height:100%;width:0;transition:width .2s}.load-error{padding:25px;max-width:500px}.load-error button{margin:20px}
#hud{position:absolute;inset:0;pointer-events:none;padding:26px 30px;z-index:3}#hud button{pointer-events:auto}.hud-left{position:absolute;left:30px;top:26px}.hud-middle{position:absolute;top:27px;left:50%;transform:translateX(-50%);text-align:center;width:240px}.hud-middle strong{display:block;font:18px Georgia,serif;margin-top:7px;letter-spacing:.02em;text-shadow:0 2px 4px #000}.hud-right{position:absolute;right:28px;top:26px;display:flex;gap:12px;align-items:center}#gold{font:27px Georgia,serif;text-shadow:0 2px 4px #000}.gold-icon{color:var(--gold);font-size:24px}#health{font-size:23px;letter-spacing:3px;color:#eec584;text-shadow:1px 2px 4px #000;margin-top:5px}#health .empty{color:#5c4c3bbb}.trail{height:2px;background:#f3debb33;margin-top:9px}.trail i{display:block;height:100%;background:var(--gold);width:0}#weapon{position:absolute;left:30px;top:112px}#rounds{display:flex;gap:5px;height:17px}.round{width:6px;height:17px;border-radius:4px 4px 1px 1px;background:#f3cd7d;box-shadow:0 1px 3px #000}.round.empty{background:#544a3f;border:1px solid #92816b}#weapon-label{display:block;color:#efe0c3;font-size:9px;letter-spacing:.13em;margin-top:9px;text-shadow:0 2px 3px #000}#reload-track{height:2px;background:#f1dfb444;margin-top:7px;width:75px}#reload-track i{display:block;height:100%;background:var(--gold);width:0}#badges{position:absolute;top:90px;right:30px;color:var(--gold);font-size:20px;letter-spacing:7px;text-shadow:0 2px 4px #000}#boss-hud{position:absolute;left:50%;transform:translateX(-50%);top:96px;width:min(410px,45vw)}#boss-hud>div:first-child{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.1em;margin-bottom:8px;text-shadow:0 2px 4px #000}#boss-name{font-weight:bold;text-transform:uppercase}#boss-state{color:#f3ca89;font-size:9px}.boss-track{height:7px;background:#241b13bb;border:1px solid #f5d9a55c}.boss-track i{height:100%;background:#d58755;display:block;transition:width .1s}#control-strip{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:22px;white-space:nowrap;font-size:10px;color:#e0cfb3;align-items:center}#control-strip kbd{margin-right:4px}#toast{position:absolute;top:24%;left:50%;transform:translate(-50%,-8px);z-index:20;background:#20190feb;border:1px solid var(--gold);padding:14px 25px;text-align:center;font-size:12px;color:var(--cream);opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;max-width:90vw;line-height:1.4}#toast.show{opacity:1;transform:translate(-50%,0)}#hint{position:absolute;bottom:64px;left:50%;transform:translateX(-50%);pointer-events:none;color:#f6e9d2;background:#231a11de;padding:10px 20px;border-left:2px solid var(--gold);font-size:11px;z-index:4;max-width:80%;text-align:center;line-height:1.5}#hint:empty{display:none}
#touch{position:absolute;inset:0;z-index:5;pointer-events:none;padding:env(safe-area-inset-bottom)}#touch button{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;border:1px solid #ecd6a778;background:#241b12aa;color:#f2dcaf;width:62px;height:62px;border-radius:50%;font-size:10px;font-weight:bold;backdrop-filter:blur(2px)}#touch button.pressed{background:#d9b571aa;color:#20170c}#touch .small-touch{width:44px;height:44px;font-size:8px}#touch .jump-touch{background:#ba8c40aa;width:72px;height:72px}.touch-move,.touch-actions{position:absolute;bottom:28px;display:flex;align-items:flex-end;gap:12px}.touch-move{left:26px}.touch-actions{right:26px}.touch-mode #control-strip{display:none}.touch-mode #hint{bottom:114px}.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}.reduced-motion *{transition:none!important;animation:none!important}
@media(min-aspect-ratio:2/1){.home{background-size:auto 110%;background-color:#160d09}.home-bottom{padding-top:0}.topbar{padding:15px 30px}.home-foot{margin-top:17px}}
@media(max-width:900px){.topbar{padding:19px 23px}.map-grid{gap:10px}.chapter-card{min-height:180px}.chapter-art{height:95px}.chapter-info h3{font-size:17px}.shop-item{padding:20px}.hud-middle{width:180px}.hud-middle strong{font-size:15px}#control-strip{gap:11px}#boss-state{display:none}.story-copy{padding:32px}.story-copy h2{font-size:37px}.story-copy p{font-size:13px}.story-quote{font-size:18px}.home-tagline{font-size:14px}}
@media(max-width:640px){.topbar{padding:18px}.brand-mark{font-size:8px;letter-spacing:.13em;gap:8px}.brand-mark img{width:28px;height:28px}.edition{display:none}.topbar-right{gap:6px}.official{font-size:8px}.home{background-position:center 30%;background-size:auto 75%;background-repeat:no-repeat}.home:before{background:linear-gradient(#100d0999,transparent 25%,transparent 43%,#140f0bf5 72%,#140f0b)}.home-bottom{padding:25px 18px}.home .button-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.home .primary{grid-column:1/-1}.home .secondary{padding:14px 12px;font-size:10px}.home-tagline{font-size:12px;line-height:1.6;max-width:260px;margin:0 auto 20px}.home-foot{font-size:8px;letter-spacing:.06em;margin-top:22px}.save-label{font-size:9px}.panel-screen{padding:23px 19px}.panel-header{align-items:flex-start;margin-bottom:23px}.panel-heading p{font-size:11px}.panel-heading h2{font-size:37px}.map-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.chapter-card{min-height:180px}.chapter-info h3{font-size:19px}.chapter-meta{font-size:8px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shop-item{padding:17px;min-height:245px}.shop-item h3{font-size:21px}.shop-item p{font-size:11px}.shop-item .symbol{margin-bottom:12px}.story-screen{display:flex;flex-direction:column}.story-art{height:33dvh;min-height:190px;border:0}.story-art .chapter-stamp{left:20px;top:22px;font-size:15px;padding:9px 13px}.story-portrait{height:90%;bottom:0}.story-copy{padding:25px 24px}.story-copy h2{font-size:37px}.story-copy .eyebrow{margin-bottom:12px}.story-copy p{margin:17px 0}.story-quote{font-size:17px;margin-top:14px;padding-top:17px}.mission{margin-bottom:14px}.guide-grid{grid-template-columns:1fr}.pause-layout{grid-template-columns:1fr}.pause-info{display:none}.stats{gap:12px;grid-template-columns:1fr 1fr}.stat strong{font-size:26px}.settings-row{gap:12px}.settings-row small{font-size:10px}.settings-row strong{font-size:12px}.dialog{padding:24px}.dialog h2{font-size:36px}.dialog .button-row button{flex:1;white-space:nowrap;padding:15px 12px}.hud-left{left:16px;top:18px}.hud-middle{top:100px;width:200px}.hud-right{right:14px;top:17px}#health{font-size:18px}#weapon{left:16px;top:85px}#badges{right:16px;top:82px;font-size:17px}#boss-hud{top:148px;width:70vw}#hint{font-size:10px;max-width:90%;width:max-content;bottom:145px}.touch-mode #hint{bottom:145px}.touch-move{left:14px;bottom:50px}.touch-actions{right:14px;bottom:50px;gap:7px;max-width:240px;flex-wrap:wrap;justify-content:flex-end}#touch button{width:50px;height:50px}#touch .jump-touch{width:60px;height:60px}#control-strip{display:none}.panel-footer{font-size:9px}}
@media(max-height:550px) and (min-width:641px){.home-bottom{padding-bottom:14px}.home-tagline{margin-bottom:12px}.home-foot{margin-top:14px}.home .primary,.home .secondary{padding:13px 22px}.topbar{padding:12px 25px}.save-label{margin-top:9px}.story-copy{padding:25px}.story-copy h2{font-size:34px}.story-copy p{margin:14px 0;font-size:12px}.story-quote{font-size:16px;margin:10px 0 0;padding-top:13px}.mission{margin-bottom:10px}.story-copy .primary{padding:14px 22px}.panel-screen{padding-top:22px}.hud-left,.hud-right,.hud-middle{top:15px}#weapon{top:85px}#badges{top:69px}#boss-hud{top:76px}#health{font-size:18px}#hint{bottom:27px}#touch button{width:49px;height:49px}#touch .jump-touch{width:59px;height:59px}.touch-move,.touch-actions{bottom:14px;gap:9px}.touch-move{left:18px}.touch-actions{right:18px}#touch .small-touch{width:37px;height:37px;font-size:7px}.chapter-card{min-height:160px}.chapter-art{height:85px}}
.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:15px 0 30px}.journal-entry{padding:22px;border:1px dashed #8d78453d;background:#221c14}.journal-entry.found{border:1px solid #d4b06d65}.journal-entry h3{margin:15px 0 10px;font-size:23px}.journal-entry p{font-size:12px;min-height:70px}.journal-entry small{display:block;color:var(--gold);letter-spacing:.12em;font-size:9px;margin-top:15px}.journal-entry:not(.found) h3{color:#918470}.home .primary:focus-visible{outline-color:#fff2c9}@media(max-width:850px){.journal-grid{grid-template-columns:1fr 1fr}}@media(max-width:550px){.journal-grid{grid-template-columns:1fr}.journal-entry p{min-height:0}.home .button-row{grid-template-columns:1fr 1fr}}

@media(max-width:640px){.touch-mode #hint{bottom:177px}}
@media(max-height:550px) and (min-width:641px){.touch-mode #hint{bottom:94px;max-width:65%;font-size:10px}}

.volume-row label{font-size:13px}.volume-row>div{display:flex;align-items:center;gap:12px}.volume-row input{width:140px;accent-color:var(--gold)}.volume-row output{font-size:11px;min-width:36px;text-align:right}.sound-preview{display:flex;align-items:center;gap:15px;padding:18px 0}.sound-preview span{font-size:11px;color:var(--muted);line-height:1.5}.sound-preview button{white-space:nowrap;padding:12px 16px}@media(max-width:480px){.volume-row input{width:110px}.sound-preview{align-items:flex-start;flex-direction:column;gap:10px}}

.settings-dialog{padding:28px 38px}.settings-dialog .settings-row{padding:11px 0}.settings-dialog .settings-actions{margin-top:18px}.settings-dialog .sound-preview{padding:12px 0}.settings-dialog h2{margin:14px 0 18px}input[type=range]:focus-visible{outline:3px solid #fff1b3;outline-offset:5px}@media(max-width:640px){.settings-dialog{padding:24px}}

/* Original DVD-poster art direction: red ink, stamped gold, worn paper. */
h1,h2,h3{font-family:var(--western);font-weight:400;letter-spacing:-.025em}
h2{font-size:clamp(30px,3.7vw,50px);line-height:1.14}
h3{line-height:1.2}
button.primary,.primary{background:repeating-linear-gradient(0deg,#fff4bf12 0 1px,transparent 1px 5px),linear-gradient(#f7d67b,#d39932);border:2px solid #3e2112;outline:1px solid #edbd51;color:#351909;box-shadow:inset 0 0 0 2px #ffefb480,0 4px 0 #5e2d11;font-family:var(--western);font-weight:400;letter-spacing:.03em}
button.secondary{background:linear-gradient(#a62e1d,#7d1e15);border:2px solid #41180f;box-shadow:inset 0 0 0 1px #f2c37c88,0 3px 0 #32170e;color:#ffedbb;letter-spacing:.025em;font-family:var(--western);font-weight:400}
button:focus-visible,select:focus-visible,input[type=range]:focus-visible{outline:3px solid #1684a6;outline-offset:5px}
.eyebrow{letter-spacing:.16em}.text-button{font-weight:700}.icon-button{background:#7e2318;border:1px solid #e5bb66;color:#fff0c2}
.home{background-color:#381b10;background-position:center center}
.home:before{background:linear-gradient(#31190b85 0%,transparent 19%,transparent 57%,#24130cdf 83%,#24130c 100%)}
.topbar{padding:20px 30px;text-shadow:0 1px 3px #201009}.brand-mark{color:#fff0ca}.official{color:#fff0ca;letter-spacing:.13em}
.title-lockup{text-align:center;margin:0 auto;padding:0;width:min(47vw,710px);text-shadow:none;line-height:1;flex:none}
.title-lockup h1{font:inherit;line-height:0;letter-spacing:0;-webkit-text-stroke:0}
.title-wordmark{display:block;width:100%;height:auto;filter:drop-shadow(0 4px 1px #28160b99)}
.title-kicker{display:inline-block;margin:8px 0 0;padding:8px 20px;background:#8f281b;border:1px solid #f4ce84;box-shadow:0 2px 0 #32180e;font:11px var(--western);letter-spacing:.13em;color:#fff0c2}
.home-bottom{padding-top:22px}.home-tagline{font:15px var(--western);color:#ffe4a8;letter-spacing:.04em;text-shadow:0 2px #341c11}
.home .secondary{background:linear-gradient(#a62e1d,#7d1e15)}.save-label,.home-foot,.home-foot .text-button{color:#e6cea5}.home-foot{align-items:center}.home .primary:focus-visible{outline-color:#fff5d1}
.panel-screen,.dialog,.story-copy{--cream:#2d1a10;--muted:#674630;--gold:#99321c;--line:#87512e55;--green:#416535;color:var(--cream);color-scheme:light;background:repeating-linear-gradient(0deg,#91582c05 0 1px,transparent 1px 4px),radial-gradient(ellipse at 20% 0,#fff2c8,transparent 65%),#e7c991}
.panel-screen{border:9px solid #81301c;outline:2px solid #e4b854;outline-offset:-7px}
.panel-header{border-bottom:3px double #98562e;padding-bottom:22px;margin-bottom:18px}.panel-heading h2{color:#802819;text-shadow:0 1px #fff0ba}.panel-heading p{color:#5b3d29}.panel-heading .eyebrow{color:#70451f}.balance{font-family:var(--western);font-size:23px;color:#812819}.balance small{color:#674630}
.chapter-card{background:#edd29e;border:2px solid #85502a;box-shadow:2px 3px 0 #9c663b44;color:#391f13}.chapter-art:after{background:linear-gradient(transparent 35%,#edd29e)}.chapter-art{height:122px}.chapter-number{font-family:var(--western);color:#fff0b4;text-shadow:2px 2px #572914}.chapter-type{padding:4px 6px;background:#552215cc;color:#fff0be;top:15px}.chapter-info{padding-top:3px}.chapter-info h3{font-size:18px}.chapter-meta{color:#634026;letter-spacing:.03em}.chapter-card.current{border-color:#a52d19;box-shadow:0 0 0 2px #be692f55}.chapter-card.locked{color:#795d41;background:#d4b789}.chapter-card.locked .chapter-art{opacity:.5}.chapter-card.locked .chapter-art:after{background:linear-gradient(transparent,#d4b789)}
.story-screen{background:#d29d59;border:7px solid #782718}.story-art{border-right:3px solid #79331c}.story-art:after{background:linear-gradient(transparent 65%,#49230a66)}.story-art .chapter-stamp{font:18px var(--western);background:#902c1ddd;color:#fff0c1;border:3px double #edc26f;letter-spacing:.05em}.story-copy h2{color:#882a1b;text-shadow:1px 1px #fff1c6}.story-quote{font:18px/1.5 var(--western);color:#864022}.story-copy .mission{color:#382012}
.center-screen{background:#3c1b11b8}.dialog{border:8px solid #872b1c;outline:2px solid #e8ba59;outline-offset:-5px;box-shadow:0 20px 80px #170a0799,inset 0 0 50px #ad6d2330}.dialog h2{color:#872819;text-shadow:0 1px #fff4cf}.dialog .eyebrow{color:#744624}.pause-info strong{font-family:var(--western);color:#8d321c}.ending .dialog{background:#e7c991f5}.credits{color:#573921}
.shop-item{background:#f3dbab;border:2px solid #92562c;box-shadow:3px 4px 0 #9c663b33}.shop-item h3{font-size:22px;color:#812c1b}.shop-item .symbol{color:#a23b1c}.shop-item button:disabled{background:#dec38e;color:#775c37;border-color:#967147;outline:none;box-shadow:inset 0 0 0 1px #b58a53}.shop-item.owned{border-color:#5c773d}
.journal-entry{background:#eed4a0;border:1px dashed #926233}.journal-entry.found{background:#fff0c8;border:2px solid #995129}.journal-entry h3{font-size:21px}.journal-entry:not(.found) h3{color:#876642}.journal-entry small{color:#7c361e}.journal-entry p{color:#66442b}
.guide-note{background:#bd762415;border-left:3px solid #a34420;color:#5c3d25}.guide-grid h3{color:#913520}.key-table kbd{background:#f9e7bd;border-color:#997349;color:#46291a}.stats{border-block:3px double #9e6939}.stat strong{font-family:var(--western);color:#942e1c;font-size:26px}.award{border-color:#718346;color:#44652e;background:#7281340e}.award.missing{border-color:#967443;color:#7f674a}
select{background:#f5dfb3;border:1px solid #92613a;color:#382419}.toggle{border:2px solid #8d3a1f;background:#95321c;color:#ffe6ad}.toggle.off{border-color:#9c7747;color:#745638;background:#dfc593}.volume-row input{accent-color:#9c2f1d}.settings-row small,.sound-preview span{color:#674630}
#loading{background:radial-gradient(ellipse at 50% 20%,#237c95,#303229 55%,#381b10);border:7px double #e9b952}#loading h1{width:min(76vw,580px);line-height:0;margin:26px 0}#loading h1 img{width:100%;height:auto}.loading-track{height:7px;background:#442618;border:1px solid #dbb361}.loading-track i{background:#efc052}#loading p{color:#f2d4a1}
.hud-left,.hud-middle,.hud-right{padding:10px 14px;background:linear-gradient(#422617ed,#22120bdf);border:3px double #dcad53;box-shadow:2px 3px 0 #1c0d0866}.hud-left{left:20px;top:18px}.hud-middle{top:18px;width:255px}.hud-right{right:20px;top:18px}.hud-middle strong{font:14px var(--western);line-height:1.2}.hud-middle .eyebrow,.hud-left .eyebrow{color:#f2cb71;letter-spacing:.12em}#gold{font:22px var(--western)}#health{font-size:20px;line-height:1.1;margin-top:5px}#weapon{top:113px;left:28px;padding:8px 11px;background:#331a10dc;border-left:3px solid #bb752c}#badges{top:95px;right:28px}#boss-hud{top:111px;padding:10px 13px;background:#401b13ed;border:2px solid #d7a14d}#boss-name{font-family:var(--western);font-weight:400}.boss-track{background:#1d0e09;border-color:#d1a24e}.boss-track i{background:linear-gradient(#e7552e,#a02619)}#control-strip{padding:8px 16px;background:#321a10dc;border-block:1px solid #c69b5466;color:#f1d7aa}#toast{background:#812718ed;border:3px double #f6c976;color:#fff0c9}#hint{background:#381b10e8;border-left:3px solid #e2ad46;color:#ffebbf}#touch button{background:#612619c9;border:2px solid #efc570;color:#fff0ca;box-shadow:inset 0 0 0 2px #572814}#touch .jump-touch{background:#b97c2cde}#touch button.pressed{background:#edbd51;color:#34160b}
@media(max-width:900px){.title-lockup{width:54vw}.chapter-info h3{font-size:16px}.hud-middle{width:210px}.hud-middle strong{font-size:12px}}
@media(max-width:640px){.home{background-size:auto 73%;background-position:center 60px}.home:before{background:linear-gradient(#31190b77,transparent 18%,transparent 38%,#24130c 73%)}.topbar{padding:17px 14px}.brand-mark span{display:none}.official{font-size:8px;letter-spacing:.04em}.title-lockup{width:88vw;margin:5px auto 0}.title-kicker{font-size:8px;margin-top:3px;padding:6px 13px}.home-bottom{padding:30px 17px 20px}.home-tagline{font-size:11px;max-width:100%;margin-bottom:17px}.home-foot{font-size:7px;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:18px}.home-foot .text-button{font-size:8px!important}.home .primary{font-size:11px}.panel-screen{border-width:5px;padding:22px 16px}.panel-heading h2,.story-copy h2,.dialog h2{font-size:30px}.panel-header{padding-bottom:18px;gap:10px}.balance{font-size:18px}.chapter-info h3{font-size:16px}.chapter-art{height:101px}.chapter-card{min-height:190px}.chapter-info{padding-inline:11px}.chapter-number{font-size:23px;left:11px}.chapter-type{font-size:7px;right:7px;top:13px;padding:4px}.shop-item{padding:15px;min-height:250px}.shop-item h3{font-size:18px}.story-screen{border-width:4px}.story-art{border:0}.story-copy{padding:25px 21px}.story-quote{font-size:16px}.dialog{border-width:6px;padding:22px}.settings-dialog{padding:20px}.settings-dialog h2{margin:10px 0 14px}.settings-dialog .settings-row{padding:10px 0}.hud-left{left:10px;top:10px;padding:7px 10px}.hud-right{right:10px;top:10px;padding:7px 10px;gap:7px}.hud-middle{top:95px;width:185px;padding:7px 9px}.hud-middle strong{font-size:11px}.hud-middle .eyebrow{font-size:8px}#health{font-size:17px}#gold{font-size:19px}#weapon{left:12px;top:90px;padding:7px}#badges{top:86px;right:12px}#boss-hud{top:166px;width:72vw;padding:8px}.pause-menu button{font-size:11px}.stats .stat strong{font-size:23px}}
@media(max-height:550px) and (min-width:641px){.title-lockup{width:min(39vw,440px);margin:0 auto}.title-kicker{margin:0;padding:5px 15px;font-size:8px}.topbar{padding:10px 22px}.home-bottom{padding:12px 22px}.home-tagline{font-size:11px;margin-bottom:12px}.home-foot{margin-top:13px}.home .button-row{gap:8px}.home .primary,.home .secondary{padding:12px 15px;font-size:10px}.home .primary{min-width:200px}.save-label{font-size:9px;margin-top:10px}.hud-left,.hud-middle,.hud-right{top:10px;padding:5px 10px}.hud-middle strong{font-size:11px}#health{font-size:17px}#weapon{top:85px;padding:5px 8px}#badges{top:75px}#boss-hud{top:91px;padding:6px 10px}.story-copy h2{font-size:29px}.story-quote{font-size:15px}.dialog h2{font-size:30px}}

@media(max-width:640px){.home{background-image:url('art/title-frontier.png'),linear-gradient(#24566b 0 38%,#6a3a1d 62%,#24130c 85%);background-size:100% auto,100% 100%;background-position:center 47%,center}.home:before{background:linear-gradient(#162f3b55,transparent 32%,transparent 55%,#24130c88 72%,#24130c 100%)}}
.settings-dialog{padding:24px 32px}.settings-dialog .settings-row{padding:9px 0}.settings-dialog h2{font-size:42px;margin:10px 0 14px}@media(max-width:640px){.settings-dialog{padding:20px}.settings-dialog h2{font-size:30px}}

/* Supplied studio mark stays exact; the surrounding intro supplies the animation. */
.studio-intro{position:relative;min-height:100dvh;overflow:hidden;background:#0c0e12;color:#eef3f7;isolation:isolate}
.studio-intro:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.42;background:radial-gradient(ellipse at 50% 85%,#07547855,transparent 62%);transition:opacity .8s}
.intro-stage{position:absolute;inset:0 20px 70px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;opacity:0;visibility:hidden;transition:opacity .55s,visibility .55s;pointer-events:none}
.intro-studio img{width:min(540px,86vw);height:auto;display:block}
.intro-overline,.intro-presents{font:700 10px Arial,sans-serif;letter-spacing:.42em;color:#afbbc7}.intro-overline{margin-bottom:34px}.intro-presents{margin-top:28px;color:#b9c7d0}
.intro-rule{height:2px;width:100px;background:linear-gradient(90deg,transparent,#20bafd,transparent);margin-top:34px}
.intro-game img{width:min(610px,80vw);height:auto;filter:drop-shadow(0 5px 0 #0008)}
.intro-game-label{font:11px var(--western);letter-spacing:.1em;color:#edbd51;margin-top:22px}.intro-game p{font:14px var(--western);color:#e6ce9e;margin:24px 0 0;padding:0 16px}
.studio-intro[data-intro=studio] .intro-studio,.studio-intro[data-intro=game] .intro-game{opacity:1;visibility:visible;animation:intro-arrive .9s ease-out both}
.studio-intro[data-intro=game]:before{opacity:.15}
.intro-bottom{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:clamp(18px,4vw,52px);right:clamp(18px,4vw,52px);display:flex;justify-content:space-between;gap:20px;align-items:center}
.intro-bottom>span{color:#8796a5;font:700 9px Arial,sans-serif;letter-spacing:.15em}
.intro-skip{background:#151e27;border:1px solid #597180;padding:13px 18px;color:#e3edf5;font:700 11px Arial,sans-serif;letter-spacing:.06em;min-height:44px}
.studio-brand{padding:0;border:1px solid #a47a4555;background:#0c0e12;line-height:0;flex-shrink:0}.studio-brand img{display:block;width:178px;height:auto}.home-foot{margin-top:20px}
.credits-studio{margin:25px 0 20px;background:#0c0e12;display:block;padding:12px 16px;width:min(312px,100%)}.credits-studio img{width:min(280px,100%);height:auto;display:block}
.loading-studio{width:178px;height:auto;position:absolute;bottom:28px;background:#0c0e12}
@keyframes intro-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.intro-still .intro-stage{animation:none!important;transition:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){.studio-intro .intro-stage,.studio-intro:before{animation:none!important;transition:none!important;transform:none!important}}
@media(max-width:640px){.intro-overline{margin-bottom:25px}.intro-studio img{width:88vw}.intro-game img{width:90vw}.intro-game p{font-size:12px;line-height:1.7;max-width:280px}.intro-game-label{font-size:9px;letter-spacing:.04em}.intro-bottom>span{font-size:8px}.studio-brand img{width:150px}.home-foot{gap:12px}.home-foot>span{max-width:120px;line-height:1.8}.loading-studio{bottom:20px}}
@media(max-height:550px) and (min-width:641px){.intro-stage{inset:0 20px 45px}.intro-overline{margin-bottom:15px}.intro-studio img{width:min(444px,65vw)}.intro-rule{margin-top:15px}.intro-presents{margin-top:15px}.intro-game img{width:330px;max-width:65vw}.intro-game-label{margin-top:5px;font-size:9px}.intro-game p{margin-top:12px;font-size:12px}.intro-bottom{bottom:13px}.home-foot{margin-top:10px}.studio-brand img{width:135px}.loading-studio{bottom:12px;width:135px}}

/* Small, steady combat readouts keep attention on the street. */
#trail-fill,#reload-fill,#boss-fill,#slap-fill,#roll-fill,#combo-fill{width:100%!important;transform:scaleX(0);transform-origin:left;will-change:transform}
#boss-fill{transition:transform .1s ease-out}
#ability-hud{position:absolute;left:28px;top:181px;display:flex;gap:8px}
.ability{width:79px;background:#321a10eb;border:1px solid #c79a4e88;padding:7px 8px 6px}
.ability span{display:flex;justify-content:space-between;gap:5px;font-size:8px;letter-spacing:.04em;color:#e3c397}
.ability b{font-size:7px;color:#ffe29c}.ability i{display:block;height:3px;background:#edbd51;margin-top:6px}
#score-hud{position:absolute;right:28px;top:133px;min-width:134px;padding:9px 12px;background:#321a10e8;border-right:3px solid #c79a4e;text-align:right}
#score-hud span{display:block;font-size:8px;letter-spacing:.11em;color:#eed39d}#score-hud strong{display:block;margin-top:5px;font:18px var(--western);color:#ffe7b2}#score-hud i{display:block;height:2px;background:#e9b34c;margin-top:6px}
#health.low-health{color:#ffa486}.run-summary{display:flex;gap:24px;border-top:1px solid #98673366;padding:14px 0 22px;color:#745034;font-size:9px;letter-spacing:.07em}.run-summary b{font:18px var(--western);color:#8b301d;margin-right:5px}
.melee-only .gun-control,.melee-only #touch [data-hold=fire],.melee-only #touch [data-tap=reload]{display:none}
#touch button{-webkit-touch-callout:none}#touch .small-touch{min-width:44px;min-height:44px}
.touch-move{left:max(18px,env(safe-area-inset-left));bottom:max(20px,env(safe-area-inset-bottom))}.touch-actions{right:max(18px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom))}
.icon-button,.studio-brand,.toggle{min-height:44px}.studio-brand{display:grid;place-items:center}
@media(max-width:640px){#ability-hud{top:155px;left:12px;gap:5px}.ability{width:65px;padding:6px 5px}.ability span{font-size:7px}.ability b{font-size:6px}#score-hud{top:121px;right:12px;min-width:95px;padding:7px 8px}#score-hud span{font-size:7px;max-width:85px;line-height:1.6}#score-hud strong{font-size:16px}#boss-hud{top:211px;width:90vw}#boss-state{display:inline;font-size:8px}.touch-move{bottom:max(35px,env(safe-area-inset-bottom));left:max(12px,env(safe-area-inset-left));gap:6px;flex-wrap:wrap;width:112px}.touch-actions{bottom:max(35px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right));max-width:210px;gap:6px}.touch-move .small-touch{margin-top:3px}.run-summary{gap:16px}.studio-brand img{width:150px}}
@media(max-height:550px) and (min-width:641px){#ability-hud{top:146px;left:28px}.ability{width:73px;padding:5px 7px}#score-hud{top:106px;right:28px;min-width:115px;padding:6px 9px}#score-hud strong{font-size:16px}#boss-state{display:inline;font-size:8px}#boss-hud{width:min(320px,40vw)}.touch-move,.touch-actions{bottom:max(12px,env(safe-area-inset-bottom));gap:8px}#touch .small-touch{width:44px;height:44px;font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:640px){.hud-middle{width:140px}.hud-middle strong{font-size:10px;line-height:1.35}.hud-middle .eyebrow{font-size:7px;letter-spacing:.1em}#ability-hud{top:185px}#boss-hud{top:233px}}
@media(max-width:360px){.hud-middle{width:110px}#score-hud{min-width:89px;width:89px}#score-hud span{max-width:69px;font-size:6px}.touch-actions{max-width:172px}}

/* High Noon and the bounty office share the worn gold / red poster palette. */
#noon-button{width:117px;min-height:44px;text-align:left;touch-action:none;user-select:none;-webkit-user-select:none;align-self:flex-start;border-color:#bd914c;position:relative}
#noon-button span{font-size:8px}#noon-button b{font-size:7px}#noon-fill{transform:scaleX(0);transform-origin:left;width:100%;will-change:transform}
#noon-button:disabled{opacity:1;cursor:default}#noon-button[data-state=ready]{background:linear-gradient(#f4d181,#c58a32);border:2px solid #fff0ba;box-shadow:0 0 15px #efb74866}
#noon-button[data-state=ready] span,#noon-button[data-state=ready] b{color:#422713}#noon-button[data-state=ready] i{background:#6c391b}
#noon-button[data-state=active]{background:#762b1c;border-color:#ffe0a0}#noon-button:focus-visible{outline-offset:2px}
.bounty-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:15px 0 28px}
.bounty-poster{background:repeating-linear-gradient(0deg,#7b492a06 0 1px,transparent 1px 5px),#f4dca9;border:3px double #92512d;padding:24px;box-shadow:3px 5px 0 #8e5b3033;position:relative}
.bounty-poster:before{content:'★';position:absolute;right:20px;top:19px;color:#a54322;font-size:24px}.bounty-poster>.eyebrow{padding-right:28px;display:block;line-height:1.6}.bounty-poster h3{color:#852a1b;margin:12px 0 18px;font-size:25px}.bounty-poster.locked{opacity:.65}
.bounty-strip{margin:8px 0 18px}.bounty-line{display:flex;align-items:center;gap:10px;border-top:1px dashed #a7784855;padding:10px 0;color:#624429}.bounty-line>span:first-child{font-size:22px;color:#9e733f}.bounty-line>span:nth-child(2){flex:1}.bounty-line b{display:block;font-size:11px}.bounty-line small{display:block;font-size:10px;line-height:1.6;margin-top:4px}.bounty-line em{font-style:normal;font-size:9px;white-space:nowrap;font-weight:bold;color:#99552b}.bounty-line.claimed>span:first-child,.bounty-line.claimed em{color:#486836}.bounty-line.on-track>span:first-child{color:#a72e1d}
.story-copy .bounty-strip{margin-top:-6px}.story-copy .bounty-line{padding:8px 0}.bounty-results{margin:22px 0 8px}.bounty-results .eyebrow{margin-bottom:10px}.bounty-results .bounty-strip{margin-bottom:8px}.chapter-bounties{margin-top:10px;font-size:8px;color:#875331;letter-spacing:.05em}
.pause-info .bounty-strip{margin-top:18px}.pause-info .bounty-line small{font-size:9px}.pause-info .bounty-line b{font:10px Arial,sans-serif;color:#6a3c20}
@media(max-width:640px){#noon-button{width:112px;padding:6px}#noon-button span{font-size:7px}#noon-button b{font-size:6px}.bounty-board{grid-template-columns:1fr;gap:14px}.bounty-poster{padding:18px}.bounty-poster h3{font-size:23px}.story-copy .bounty-line b{font-size:10px}.story-copy .bounty-line small{font-size:9px}.bounty-line{gap:8px}.bounty-line em{font-size:8px}}
@media(max-height:550px) and (min-width:641px){#noon-button{width:115px}.story-copy .bounty-strip{margin-bottom:6px}.story-copy .bounty-line{padding:5px 0}}

/* Nightfall edition: stronger red ink, quieter paper and actual item illustrations. */
.store-art{display:block;width:128px;height:96px;margin:0 auto 14px;object-fit:contain;filter:drop-shadow(0 5px 3px #3b201944)}
.shop-item{background:linear-gradient(140deg,#eed4a0,#d8b37a);border-color:#713b23}.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.home:before{background:linear-gradient(#100d2199,transparent 24%,#180d1822 50%,#140c0ff5 83%,#140c0f)}
.panel-screen,.dialog,.story-copy{background:repeating-linear-gradient(0deg,#73381d08 0 1px,transparent 1px 4px),radial-gradient(ellipse at 25% 0,#e9cca0,transparent 65%),#caaa78}
.bounty-poster,.journal-entry{background-color:#dec08d}.hud-middle strong{letter-spacing:.01em}
@media(max-width:640px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-art{width:104px;height:78px}.shop-item{min-height:300px}.shop-item h3{font-size:17px}}
@media(max-width:360px){.shop-grid{grid-template-columns:1fr}.shop-item{min-height:0}.store-art{width:128px;height:96px}}
