@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#35271d;--brown:#65462f;--muted:#88745f;--paper:#f3ead8;--panel:#fffaf0;--line:#ddcbb0;--gold:#b38a4c;--green:#526b4e;--red:#a64f3d}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;color:var(--ink);font-family:'DM Sans',sans-serif;background-color:var(--paper);background-image:radial-gradient(#b79c7440 .7px,transparent .7px);background-size:8px 8px}
.topbar{height:82px;background:#493323;color:#fff7e9;display:flex;align-items:center;gap:14px;padding:0 max(22px,calc((100% - 1160px)/2));box-shadow:0 4px 18px #39261922}
.brand-mark{width:43px;height:43px;border:1px solid #c8a66c;border-radius:50%;display:grid;place-items:center;color:#e3c58e;font-family:Georgia,serif;font-weight:bold}
.topbar h1{font:600 25px 'Cormorant Garamond',serif;margin:0;letter-spacing:.4px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--gold);margin:0 0 5px}.topbar .eyebrow{color:#d6b77e;font-size:8px}.top-note{margin-left:auto;font:italic 15px 'Cormorant Garamond',serif;color:#d8c3a1}
.container{max-width:1160px;margin:30px auto;padding:0 22px}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:0 8px 24px #5b402012;padding:26px;margin-bottom:22px}
.hero{min-height:240px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;background:linear-gradient(110deg,#fffaf0 0%,#f1e2c8 100%)}
.hero:after{content:"";position:absolute;width:300px;height:300px;border:1px solid #b38a4c55;border-radius:50%;right:95px;top:-85px;box-shadow:0 0 0 18px #b38a4c0d,0 0 0 38px #b38a4c0a}
.hero-copy{position:relative;z-index:1;max-width:650px}.hero h2,.section-heading h2,.game-heading h2,.result-panel h2{font:700 clamp(30px,4vw,45px)/.98 'Cormorant Garamond',serif;margin:7px 0 12px}.hero h2 em{color:#8c623b;font-weight:600}.intro{max-width:600px;color:#75624f;line-height:1.7;font-size:14px}.hero-facts{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.hero-facts span{font-size:11px;border:1px solid #d7c3a3;padding:7px 10px;border-radius:30px;color:#70563d;background:#fffaf080}
.compass{position:relative;z-index:1;margin-right:60px;width:145px;height:145px;border:1px solid #b38a4c;border-radius:50%;display:grid;place-items:center;color:#9b7745;font:42px Georgia}.compass:before,.compass:after{content:"";position:absolute;background:#b38a4c55}.compass:before{width:1px;height:120px}.compass:after{height:1px;width:120px}.compass span{font-size:55px}.compass b,.compass i{position:absolute;font:700 10px 'DM Sans';font-style:normal}.compass b{top:8px}.compass i{bottom:8px}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.section-heading h2{font-size:32px;margin:0}.small-stamp{border:1px solid #c8ad83;padding:7px 10px;color:#98784d;font-size:9px;letter-spacing:1.5px;transform:rotate(-3deg)}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.category-card{position:relative;text-align:left;border:1px solid #d9c6a8;border-radius:10px;background:#fffdf7;padding:22px 18px 17px;min-height:190px;color:var(--ink);cursor:pointer;transition:.2s}.category-card:hover{transform:translateY(-4px);border-color:var(--gold);box-shadow:0 9px 20px #60401b18}.card-number{position:absolute;right:16px;top:14px;font:600 23px 'Cormorant Garamond';color:#c9b28f}.card-icon{display:block;font-size:27px;color:#9a7547;margin-bottom:17px}.category-card strong{display:block;font:700 21px 'Cormorant Garamond';max-width:220px}.category-card small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.card-bottom{display:flex;justify-content:space-between;margin-top:20px;padding-top:12px;border-top:1px solid #eadfce;color:#92744e;font-size:9px;letter-spacing:1px}.card-bottom b{font-size:17px}
.hidden{display:none!important}.game-heading{margin:5px 0 20px}.text-button{background:none;border:0;color:#866541;cursor:pointer;font-weight:600;padding:5px 0}.game-title-row{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.game-heading h2{font-size:36px;margin:0}.score-box{background:#493323;color:#fff3df;padding:9px 18px;border-radius:8px;text-align:center;min-width:80px}.score-box small{display:block;font-size:9px;letter-spacing:1px;color:#d6b77e}.score-box strong{font:700 25px 'Cormorant Garamond'}.progress-track{height:7px;background:#e8ddca;border-radius:20px;overflow:hidden;margin-top:17px}.progress-track div{height:100%;width:0;background:var(--green);transition:width .3s}.progress-label{display:flex;justify-content:space-between;color:#87745e;font-size:10px;margin-top:7px}
.game-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.85fr);gap:18px;align-items:start}.board-panel,.clues-panel{margin:0;padding:20px}.board-heading{display:flex;justify-content:space-between;align-items:center}.board-heading h3{font:700 25px 'Cormorant Garamond';margin:0}.legend{font-size:10px;color:#86745e}.legend i{display:inline-block;width:9px;height:9px;background:#fff;border:1px solid #ad936d;margin-right:5px}.board-help{font-size:11px;color:#8a7863;line-height:1.5}.board-scroll{overflow:auto;padding:12px 2px 18px;max-width:100%}.crossword{display:grid;gap:2px;justify-content:center;margin:auto;width:max-content}.cell{width:31px;height:31px;position:relative;background:#4a3628;border-radius:3px}.cell.open{background:#fffdf6;border:1px solid #c9b797}.cell input{width:100%;height:100%;border:0;background:transparent;text-align:center;text-transform:uppercase;font:700 16px 'DM Sans';color:#3d2b1e;outline:0;padding:0}.cell input:focus{background:#f3dfb8}.cell.selected{background:#f0d69f;border-color:#a57b40}.cell.correct{background:#dce8d6;border-color:#829c77}.cell.wrong{background:#f1d8cf;border-color:#bc7563}.cell-number{position:absolute;left:2px;top:0;font-size:7px;line-height:9px;color:#8b6d48;z-index:1;pointer-events:none}.board-actions,.result-actions{display:flex;gap:9px;flex-wrap:wrap}.primary-button,.secondary-button{border:0;border-radius:6px;padding:11px 16px;font:600 12px 'DM Sans';cursor:pointer;transition:.15s}.primary-button{background:#62452f;color:#fff7e9}.primary-button:hover{background:#493323}.secondary-button{background:#eee3d0;color:#604a33;border:1px solid #d7c4a5}.feedback{min-height:18px;font-size:11px;color:#826b50;margin:12px 0 0}.feedback.success{color:var(--green);font-weight:700}.feedback.error{color:var(--red);font-weight:700}
.clue-tabs{display:flex;border-bottom:1px solid #e3d6c2;gap:4px}.clue-tab{flex:1;border:0;background:none;padding:10px 5px;color:#89765f;font:600 12px 'DM Sans';cursor:pointer;border-bottom:2px solid transparent}.clue-tab.active{color:#60432e;border-color:#a47b48}.clue-tab span{font-size:10px;color:#aa8c61;margin-left:3px}.clue-list{max-height:410px;overflow:auto;padding:8px 2px}.clue-item{display:flex;gap:10px;width:100%;text-align:left;padding:10px 8px;border:0;border-bottom:1px solid #eee5d7;background:transparent;color:#49382a;cursor:pointer;border-radius:5px}.clue-item:hover,.clue-item.active{background:#f2e7d4}.clue-item.done .clue-number{background:#dce8d6;color:#486342}.clue-number{flex:0 0 25px;height:25px;display:grid;place-items:center;background:#eee2cf;border-radius:4px;color:#795b37;font-weight:700;font-size:11px}.clue-text{font-size:11px;line-height:1.5}.clue-length{display:block;color:#a28a6b;font-size:9px;margin-top:3px}.tip-box{background:#f3eadb;border-left:3px solid #b28b54;padding:11px 12px;margin-top:12px}.tip-box b{font:700 15px 'Cormorant Garamond'}.tip-box p{font-size:10px;line-height:1.6;color:#806d57;margin:4px 0 0}
.result-panel{text-align:center;padding:38px 20px}.result-seal{width:60px;height:60px;margin:0 auto 12px;border:1px solid #b38a4c;border-radius:50%;display:grid;place-items:center;font-size:30px;color:#a17b46}.result-panel h2{font-size:38px;margin:5px}.result-panel>p:not(.eyebrow){color:#826f58;font-size:13px}.result-score{display:flex;justify-content:center;align-items:baseline;gap:7px;margin:16px}.result-score strong{font:700 58px 'Cormorant Garamond';color:#765233}.result-score span{color:#9a815e}.result-detail{margin-bottom:22px}.result-actions{justify-content:center}
footer{display:flex;justify-content:space-between;color:#9b8669;font-size:9px;letter-spacing:.5px;padding:8px 2px 20px}
@media(max-width:800px){.container{margin:18px auto;padding:0 13px}.game-layout{grid-template-columns:1fr}.category-grid{grid-template-columns:1fr}.category-card{min-height:155px}.compass{margin-right:10px;width:105px;height:105px;flex:0 0 105px}.compass:before{height:85px}.compass:after{width:85px}.hero{padding:22px}.panel{padding:19px}.clue-list{max-height:300px}}
@media(max-width:480px){.topbar{height:70px;padding:0 16px}.topbar h1{font-size:22px}.top-note{font-size:12px}.hero{align-items:flex-start}.compass{display:none}.hero h2{font-size:35px}.hero-facts{gap:5px}.hero-facts span{font-size:9px}.section-heading h2{font-size:27px}.small-stamp{font-size:7px}.cell{width:27px;height:27px}.cell input{font-size:14px}.game-heading h2{font-size:29px}footer{gap:12px;flex-wrap:wrap}}
