:root{color-scheme:dark;--ink:#13120f;--black:#0d0c0b;--panel:#1c1914;--line:#393024;--gold:#ebbd64;--light:#fcf3df;--muted:#c5b8a3;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:var(--ink);color:var(--light);font:1rem/1.6 system-ui,sans-serif;min-height:100vh;display:flex;flex-direction:column} main{flex:1} [hidden]{display:none!important} img{display:block;max-width:100%} a{color:inherit} button{font:inherit;cursor:pointer} button:disabled{cursor:default;opacity:.42} :focus-visible{outline:2px solid #ffcf71;outline-offset:4px} .skip{position:fixed;top:12px;left:16px;background:var(--gold);color:#15100a;padding:8px 12px;z-index:5;transform:translateY(-150%)} .skip:focus{transform:none}
.shell{width:min(1160px,calc(100% - 80px));margin-inline:auto}.site-header{background:#10100e;border-bottom:1px solid #5a432a}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:80px;gap:18px}.brand{display:block;flex:none}.brand img{width:116px;height:67px;object-fit:contain}.site-header nav{display:flex;align-items:center;gap:clamp(16px,3.6vw,52px)}.site-header nav a{text-decoration:none;color:#e2d8c7;padding-block:27px 24px;border-bottom:2px solid transparent;white-space:nowrap;font-size:.91rem}.site-header nav a:hover,.site-header nav a[aria-current]{color:var(--gold);border-color:var(--gold)}
.hero{position:relative;isolation:isolate;background:linear-gradient(90deg,#100e0add 3%,#140f0bbb 30%,#160e0770 48%,transparent 72%),linear-gradient(0deg,#100d09a3,transparent 60%),url('./treasure-coast.webp') 52% 55%/cover;border-bottom:1px solid #634a2e}.hero-inner{min-height:535px;display:flex;align-items:center}.hero-copy{max-width:640px;padding:70px 0 80px}.eyebrow{font-size:.87rem;text-transform:uppercase;letter-spacing:.18em;color:#f5ce81;font-weight:650;margin:0 0 16px}.eyebrow span{margin-right:9px}.hero h1,.info-page h1,.game-header h1{font:normal clamp(3rem,6.5vw,6rem)/1.01 var(--serif);letter-spacing:-.05em;margin:0;text-wrap:balance}.hero h1 em{color:#ffcc73;font-weight:normal}.hero-copy>p:not(.eyebrow){margin:24px 0 29px;max-width:355px;font-size:1.12rem;color:#f4e7d1}.actions{display:flex;flex-wrap:wrap;gap:12px}.button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:10px 19px;border:1px solid #765b36;border-radius:4px;text-decoration:none;font-weight:650;line-height:1.3}.primary{background:#ecc06f;border-color:#ecc06f;color:#211609}.primary:hover{background:#ffdc98;border-color:#ffdc98}.outline{background:#18120c9c;border-color:#b88b54;color:#fff0d8}.outline:hover{background:#493218}
.catalog{padding:52px 0 68px}.shelf{margin-bottom:52px}.section-header,.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:21px}.section-header h2,.daily-promo h2,.info-page h2{font:normal clamp(1.9rem,4vw,2.9rem)/1.13 var(--serif);letter-spacing:-.025em;margin:0}.section-header p,.daily-promo p{color:var(--muted);margin:8px 0 0}.carousel-controls{display:flex;gap:8px;flex:none}.carousel-controls button,.dialog-close{width:42px;height:42px;border:1px solid #745a3b;border-radius:4px;background:#201a12;color:#ffd589;font-size:1.7rem;line-height:1}.carousel-controls button:hover:not(:disabled),.dialog-close:hover{background:#51391f}
.book-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 68px)/3.45);gap:20px;overflow:auto;scroll-snap-type:x mandatory;padding:12px;scroll-padding-inline:12px;background:#ebbd64;border:2px solid #f6d28a;border-radius:10px;color-scheme:light;scrollbar-color:#916225 #f4ce86;scrollbar-width:thin}.shelf:nth-child(2) .book-track{grid-auto-columns:calc((100% - 45px)/2.55)}.book{scroll-snap-align:start;min-width:0;background:#ebbd64;color:#241b12;border:1px solid #ba883a;border-radius:7px;overflow:hidden}.cover{display:block;margin:6px 6px 0;overflow:hidden;background:#ebbd64;border-radius:3px}.cover:focus-visible{outline-color:#76501d;outline-offset:1px}.cover img{width:100%;height:auto;aspect-ratio:620/880;object-fit:cover;transition:transform .23s ease}.cover:hover img{transform:scale(1.035)}.book-copy{padding:15px 16px 18px}.book h3{font:normal 1.42rem/1.15 var(--serif);margin:0}.book p{color:#654620;margin:5px 0 7px}.book span{color:#62574a;font-size:.87rem}.book i{font-style:normal;color:#825b28;margin:0 4px}.shelf-rule{height:1px;background:linear-gradient(90deg,#8b6538,#3d3121 45%,transparent);margin-top:24px}
.daily-promo{border:1px solid #604727;border-radius:6px;background:radial-gradient(ellipse at left,#483019 0%,#22190f 52%,#1f1812);padding:28px 36px;display:flex;align-items:center;gap:23px}.daily-promo>a{margin-left:auto}.daily-promo img{object-fit:contain}.site-footer{margin-top:auto;border-top:1px solid #413323;background:#0e0d0b}.foot{min-height:90px;display:flex;gap:24px;justify-content:space-between;align-items:center;color:var(--muted);font-size:.9rem}.footer-brand{display:flex;align-items:center;gap:8px;font:1.35rem var(--serif);text-decoration:none;color:var(--gold)}
dialog{position:relative;background:#1b160f;color:var(--light);border:1px solid #80603c;border-radius:8px;padding:18px;max-height:91vh;max-width:calc(100% - 24px)}dialog::backdrop{background:#080705d9}dialog img{max-height:70vh;width:auto;max-width:100%;object-fit:contain;margin:auto}dialog h2{font:1.3rem var(--serif);margin:12px 44px 0 0}.dialog-close{position:absolute;right:8px;top:8px}
.info-page{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,8vw,110px);align-items:center;padding:75px 0 100px}.info-page h1,.game-header h1{font-size:clamp(3rem,6vw,5rem)}.info-page h2{font-size:1.8rem;margin-top:26px}.info-page p{color:var(--muted)}.info-page .lead{font-size:1.17rem;color:#efe0c7}.info-copy .actions{margin-top:26px}.about-art,.contact-art{border:1px solid #675033;border-radius:7px;width:100%}.about-art{min-height:380px;object-fit:cover;object-position:right}.contact-art{display:grid;place-items:center;min-height:330px;background:radial-gradient(ellipse,#382615,#201910 60%,#16130e)}.contact-art img{height:auto;max-width:80%;object-fit:contain}.contact-card{border-top:1px solid var(--line)}.contact-card p a{color:var(--gold)}
.game-page{padding:43px 0 65px}.game-header{margin-bottom:25px}.game-header .eyebrow{margin-bottom:10px}.puzzle-meta{display:flex;align-items:baseline;gap:8px 18px;flex-wrap:wrap;margin-top:13px}.puzzle-meta h2{font:normal 1.55rem/1.2 var(--serif);margin:0}.puzzle-meta span{color:var(--gold);font-size:.92rem}.game-header>p:last-child{max-width:750px;color:var(--muted);margin:13px 0 0}.puzzle-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:20px;align-items:start}.play-panel,.clue-panel,.landmark-panel,.instructions{border:1px solid #55432d;border-radius:7px;background:#1c1914;padding:19px}.panel-heading{margin-bottom:14px}.puzzle-layout h3{font:normal 1.45rem var(--serif);margin:0}.panel-heading p{color:var(--muted);font-size:.9rem;margin:3px 0 0}.timer{font:1.14rem ui-monospace,monospace;color:var(--gold);border:1px solid #6c5233;border-radius:4px;padding:4px 9px}.modes,.game-actions{display:flex;gap:8px;flex-wrap:wrap}.modes{margin-bottom:12px}.modes button,.game-actions button:not(.primary){background:#2a231a;color:#f4dfbb;border:1px solid #735b3b;border-radius:4px;padding:7px 12px;font-size:.89rem}.modes button[aria-pressed=true]{background:#52401f;color:#ffdc90;border-color:#d7a353}
.puzzle-grid{display:grid;grid-template-columns:clamp(24px,5vw,37px) repeat(var(--cols,8),minmax(0,1fr));gap:3px;width:100%}.grid-label,.cell{padding:0;min-width:0;border-radius:3px;line-height:1;touch-action:manipulation}.grid-label{min-height:27px;border:1px solid transparent;background:#292219;color:#f5cf8d;font-size:.86rem}.grid-label:hover:enabled{border-color:#d8a752}.grid-label[aria-pressed="true"]{background:#41301d;border-color:#987547;color:#ffdea5}.cell{position:relative;aspect-ratio:1;border:1px solid #665335;background:#30281c;color:#ead6ab;display:grid;place-content:center}.cell:hover:enabled{border-color:#f6c46d;background:#47361e}.cell .marker{font-size:clamp(.83rem,2vw,1.32rem);font-weight:650}.cell[data-landmark]{background:#60471f;color:#ffe1a0}.cell[data-hazard]{background:#503022;color:#ffd9a9}.cell[data-state="out"]{background:#211d18;color:#887c6c}.cell[data-state="out"] .marker{opacity:.34}.cell[data-state="out"]::after{content:'×';position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(1.05rem,3vw,2rem);color:#c4ae9a}.cell[data-state="guess"],.cell[data-state="solved"]{background:#a6782f;border-color:#ffda87;box-shadow:inset 0 0 0 1px #ffe09c;color:#fff7df}.cell[data-state="guess"]::after{content:'◆';position:absolute;right:3px;bottom:2px;color:#fff0a7;font-size:.72rem}.cell img{width:43%;margin:auto;max-height:88%;object-fit:contain}
.game-actions{margin-top:15px}.game-actions .primary{min-height:42px;font-size:.94rem}.feedback{min-height:1.5em;margin-top:10px;color:#e9cf9f;font-size:.92rem}.feedback[data-kind="success"]{color:#c5efaa}.feedback[data-kind="warn"]{color:#ffbf9e}.side-panel{display:grid;gap:16px}.clue{display:flex;align-items:start;gap:11px;padding:10px 0;border-top:1px solid #3e3427;cursor:pointer;font-size:.96rem;white-space:pre-line}.clue input{accent-color:#e9b85b;width:18px;height:18px;flex:none;margin:4px 1px 0 0}.clue:has(input:checked){color:#a99e8c}.clue:has(input:checked) span{text-decoration:line-through}.clue:last-child{padding-bottom:0}.landmarks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:9px 15px;margin-top:12px}.landmark{display:flex;gap:8px;align-items:center;color:#e7d8c0;font-size:.9rem}.landmark-badge{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:3px;background:#60471f;color:#ffe1a0;line-height:1}.landmark-badge[data-hazard]{background:#503022;color:#ffd9a9}
.landmark b{padding:2px 5px;border:1px solid #745936;border-radius:4px;color:#ffd488;min-width:30px;text-align:center}.landmark small{display:block;color:#f4bc9f;font-size:.77rem}.instructions{margin-top:19px}.instructions summary{cursor:pointer;color:#f3ce92}.instructions p{max-width:700px;color:var(--muted);margin-bottom:0}
@media(max-width:820px){.shell{width:calc(100% - 44px)}.hero-inner{min-height:470px}.hero{background-position:60% center}.puzzle-layout{grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:12px}.play-panel,.clue-panel,.landmark-panel{padding:13px}.book-track{grid-auto-columns:calc((100% - 43px)/2.6)}.shelf:nth-child(2) .book-track{grid-auto-columns:calc((100% - 43px)/2.45)}}
@media(max-width:640px){.shell{width:calc(100% - 32px)}.header-inner{flex-direction:column;gap:0;padding-top:3px}.brand img{height:50px;width:100px}.site-header nav{align-self:stretch;justify-content:space-between;gap:6px}.site-header nav a{padding-block:8px 11px;font-size:clamp(.77rem,3.35vw,.97rem)}.hero-inner{min-height:495px;align-items:end}.hero{background-image:linear-gradient(0deg,#120c07 3%,#130c08d9 38%,#110c0680 67%,#160e080c 92%),url('./treasure-coast.webp');background-position:67% 34%}.hero-copy{padding:86px 0 33px}.hero h1{font-size:clamp(2.8rem,10vw,4rem)}.hero-copy>p:not(.eyebrow){margin:16px 0 21px;font-size:1rem}.catalog{padding:34px 0 43px}.shelf{margin-bottom:34px}.section-header{align-items:flex-start;margin-bottom:15px}.section-header p{font-size:.91rem}.carousel-controls{gap:5px}.carousel-controls button{width:34px;height:37px}.book-track,.shelf:nth-child(2) .book-track{gap:12px;grid-auto-columns:calc((100% - 22px)/1.68)}.book-copy{padding:12px}.book h3{font-size:1.26rem}.foot{flex-wrap:wrap;gap:6px 12px;padding:15px 0}.foot>span{order:3;width:100%}.daily-promo{gap:13px;padding:17px;flex-wrap:wrap}.daily-promo img{display:none}.daily-promo>a{margin-left:0}.info-page{grid-template-columns:1fr;padding:42px 0 60px;gap:25px}.about-art,.contact-art{min-height:240px}.game-page{padding-top:31px}.puzzle-layout{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
.cell img{width:22%;height:auto}.cell[data-state="solved"]{box-shadow:inset 0 0 0 1px #ffe09c,0 0 8px #d39b45}

.daily-choices{margin:0 0 22px;padding:16px 18px;border:1px solid #55432d;border-radius:7px;background:#1c1914}
.daily-choices h2{font:1.3rem/1.2 var(--serif);margin:0 0 10px}
.daily-choice-groups{display:flex;flex-wrap:wrap;gap:12px 20px}
.daily-choice-groups fieldset{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;border:0;min-width:0}
.daily-choice-groups legend{padding:0;margin-bottom:6px;color:var(--muted);font-size:.85rem}
.daily-choice-groups button{min-height:38px;padding:5px 11px;border:1px solid #735b3b;border-radius:4px;background:#2a231a;color:#f4dfbb;cursor:pointer}
.daily-choice-groups button:hover{border-color:#d8a752}
.daily-choice-groups button[aria-pressed="true"]{background:#edc776;color:#21180b;border-color:#edc776;font-weight:700}
.daily-details{margin-bottom:16px}
#load-status:empty{display:none}

.daily-heading-brand{color:var(--gold)}
