:root{color:#262b24;font-synthesis:none;--paper:#f7f5ed;--ink:#262b24;--forest:#293f34;--brass:#80602c;--line:#d4cebc;--serif:"Palatino Linotype", Palatino, Georgia, serif;background:#f7f5ed;font-family:Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:280px;margin:0}button,a{font:inherit}button{cursor:pointer;color:inherit}a{color:#365341;text-underline-offset:3px}button:focus-visible,a:focus-visible{outline-offset:4px;outline:3px solid #b45a21}h1:focus:not(:focus-visible){outline:none}.wrap{width:min(1190px,89%);margin-inline:auto}.skip{z-index:10;background:#fff;padding:.7rem;position:fixed;top:-5rem;left:1rem}.skip:focus{top:1rem}.mast{color:#fff9e9;background:#243a30;border-bottom:3px solid #b49a67}.bar{justify-content:space-between;align-items:center;gap:1.4rem;min-height:72px;display:flex}.brand{font:bold 1.6rem var(--serif);letter-spacing:-.055em;color:inherit;align-items:center;gap:10px;text-decoration:none;display:inline-flex}.brand img{border:1px solid #b8a47870;border-radius:6px}nav{align-self:stretch;gap:clamp(10px,2.9vw,40px);display:flex}nav button{color:#eae9dc;background:0 0;border:0;padding-inline:2px;font-size:.92rem;position:relative}nav button.active:after{content:"";background:#dac493;width:21px;height:2px;position:absolute;bottom:13px;left:calc(50% - 10px)}nav button:hover{color:#fff;text-underline-offset:4px;text-decoration:underline}.hero{border-bottom:1px solid var(--line);grid-template-columns:1.05fr 1fr;align-items:center;gap:clamp(28px,5.4vw,80px);padding:clamp(32px,4vw,62px) 0;display:grid}.micro{text-transform:uppercase;letter-spacing:.13em;font:600 .75rem/1.5 Consolas,Courier New,monospace}.eyebrow{color:var(--brass)}.intro .eyebrow{align-items:center;gap:10px;display:flex}.eyeline{background:#a88549;width:27px;height:1px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:500}.intro h1{letter-spacing:-.067em;margin:20px 0 17px;font-size:clamp(3.2rem,5.95vw,5.9rem);line-height:1.02}.intro em{color:#50624c;letter-spacing:-.06em;font-family:Georgia,serif;font-weight:400}.intro p,.game>p{color:#52584d;max-width:49ch;font-size:1.06rem;line-height:1.65}.actions{flex-wrap:wrap;align-items:center;gap:22px;margin-top:25px;display:flex}.primary,.secondary,.text-button{border:0;font-size:.98rem;font-weight:600}.primary{background:var(--forest);color:#fff;border-radius:5px;justify-content:center;align-items:center;gap:11px;min-height:48px;padding:12px 22px;display:inline-flex;box-shadow:0 2px 3px #242c2419}.primary:hover{background:#3c5343}.play-icon{border:6px solid #0000;border-left:9px solid #e6d7b7;border-right:0;width:0;height:0}.secondary,.text-button{color:#374c3c;text-underline-offset:5px;background:0 0;min-height:44px;padding:10px 0;-webkit-text-decoration:underline #8b9987;text-decoration:underline #8b9987}.round-meta,.caption,.footer{color:#626459;font-size:.84rem}.round-meta{align-items:center;gap:11px;margin-top:17px;display:flex}.round-meta i{background:#978a68;border-radius:50%;width:3px;height:3px}.display-field{--grid-step:14px;isolation:isolate;aspect-ratio:1.45;background:radial-gradient(ellipse at 55% 46%, #f4f1e3, transparent 70%), repeating-linear-gradient(0deg, transparent 0 calc(var(--grid-step) - 1px), #948a6020 var(--grid-step)), repeating-linear-gradient(90deg, transparent 0 calc(var(--grid-step) - 1px), #948a6020 var(--grid-step)), #e9e5d6;border:1px solid #c6c0ac;border-radius:6px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #fff8,0 3px 8px #170e072e}.display-field.featured{--grid-step:24px;aspect-ratio:auto;border-radius:9px;height:clamp(230px,23.2vw,346px);box-shadow:0 8px 22px #3f33170b}.sample-photo{object-fit:contain;filter:drop-shadow(1px 4px 3px #47332438);width:67%;height:75%;position:absolute;top:54%;left:42%;transform:translate(-50%,-50%)}.featured .sample-photo{filter:drop-shadow(2px 13px 7px #47332435);width:65%;max-width:355px;height:80%;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-7deg)}.chem{color:#424a3c;text-align:left;min-width:25px;font:1rem/1.05 var(--serif);background:#efecdf;border:1px solid #a09b80;padding:2px 4px;position:absolute;top:6px;right:6px}.chem small{margin-bottom:1px;font:.58rem/1.1 Consolas,monospace;display:block}.featured .chem{width:47px;padding:4px 6px 5px;font-size:1.58rem;top:17px;right:18px}.featured .chem small{margin-bottom:4px;font-size:.7rem}.orbits{border:1px solid #a1a38548;border-radius:50%;width:78%;height:70%;position:absolute;top:19%;left:11%;transform:rotate(-13deg)}.orbits i{border:1px dashed #a1a38557;border-radius:50%;width:90%;height:89%;position:absolute;top:5%;left:5%}.orbits i+i{border-style:solid;transform:rotate(33deg)}.close{background:0 0;border:1px solid #c3bea8;border-radius:50%;min-width:44px;min-height:44px;font-size:1.65rem;line-height:1}.close:hover{background:#e4e1d2}.exhibit{padding:28px 0 24px}.footer,.game-tools,.dialog-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.exhibit h2{letter-spacing:-.055em;margin-bottom:18px;font-size:clamp(2rem,3vw,2.8rem);line-height:1.2}.material-grid,.play-board{background:linear-gradient(#251c1290,#170e0780),#423024 url(/images/valnot.webp) 50%/cover;border:1px solid #533e28;border-radius:8px;position:relative;box-shadow:inset 0 1px #e4c29360,inset 0 -4px #20170d99,0 6px 12px #39261022}.material-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:clamp(12px,1.6vw,24px);margin:0;padding:clamp(14px,2vw,28px);list-style:none;display:grid}.material-grid li{text-align:center;color:#fff7e4;min-width:0;font:500 1.12rem/1.4 var(--serif)}.material-name{margin-top:5px;display:block}.caption{margin-top:12px;line-height:1.5}.footer{border-top:1px solid var(--line);padding:17px 0 24px}.footer span:first-child{font-family:var(--serif);font-weight:700}dialog{background:var(--paper);width:min(530px,92vw);max-height:85dvh;color:var(--ink);border:1px solid #a9a187;border-radius:10px;padding:clamp(20px,4vw,32px);overflow:auto;box-shadow:0 20px 80px #15221944}dialog::backdrop{background:#13201899}.dialog-head{margin-bottom:20px}.dialog-head h2,.game h2{font-size:1.6rem;line-height:1.14}dialog p,.steps,.source-list,.feedback p{margin:12px 0;line-height:1.6}dialog h3{margin-top:16px;font-size:1.35rem}.steps,.source-list{padding-left:1.4rem}.steps li,.source-list li{margin-block:.65rem}.source-list a{display:block}.game{min-height:78vh;padding-block:28px 50px}.game-tools{margin-bottom:18px}.game h1{letter-spacing:-.055em;font-size:clamp(2.5rem,5vw,4rem);line-height:1.1}.game>p{margin:10px 0 20px}.game>.score{color:var(--forest);font-variant-numeric:tabular-nums;background:#f0ead8;border:1px solid #c5b995;border-radius:4px;margin:12px 0 0;padding:4px 12px;display:inline-block}.levels{border:0;flex-wrap:wrap;gap:8px;min-width:0;margin:16px 0 0;padding:0;display:flex}.levels legend,.leaderboard label{margin-bottom:5px;font-size:.88rem;font-weight:600}.levels label{cursor:pointer;border:1px solid #bfbda9;border-radius:5px;align-items:center;gap:7px;min-height:44px;padding:6px 15px;display:inline-flex}.levels label:has(:checked){border-color:var(--forest);background:#e1e7da}.levels input{accent-color:var(--forest);margin:0}.intro .level-note{margin-top:6px;font-size:.88rem}.leaderboard{border-block:1px solid var(--line);max-width:620px;margin:18px 0;padding:18px 0}.leaderboard h3{margin:0;font-size:1.4rem}.leaderboard p{margin:8px 0;line-height:1.5}.leaderboard form{flex-wrap:wrap;align-items:end;gap:10px;margin-block:12px;display:flex}.leaderboard label{gap:4px;max-width:100%;margin:0;display:grid}.leaderboard input{width:100%;min-width:0;min-height:48px;font:inherit;border:1px solid #8a8a77;border-radius:4px;padding:10px;font-size:1rem}.leaderboard table{border-collapse:collapse;width:100%;margin-top:10px}.leaderboard td,.leaderboard th{text-align:start;border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:6px}.leaderboard td:last-child,.leaderboard th:last-child{text-align:end}.current-result{background:#e5eada}.playing-card{cursor:grab;background:#efebdc;border:1px solid #c0b497;border-radius:6px;align-items:center;gap:18px;width:fit-content;margin:20px 0;padding:14px;display:flex}.playing-card img{object-fit:contain;background:#e9e6da;border-radius:3px;width:102px;height:76px;padding:4px}.playing-card h2{margin:4px 0}.board-label{margin:25px 0 10px}.play-board{flex-wrap:wrap;align-items:stretch;gap:9px;padding:20px;display:flex}.play-step{display:contents}.placed,.slot{border-radius:4px;flex-direction:column;justify-content:center;min-height:65px;padding:10px 14px;display:flex}.placed{color:#352d1c;background:linear-gradient(110deg,#f2e4bd,#d9bd82);flex:125px}.placed span{font-size:.84rem}.placed strong{font:bold 1.1rem var(--serif);margin-top:3px}.slot{color:#fff8df;background:#201c13c9;border:1px dashed #cfb779;align-items:center;gap:2px;min-width:65px;font-size:.88rem}.slot:hover{background:#54482e}.feedback{background:#e9eddf;border-left:3px solid #64744e;max-width:720px;margin:16px 0;padding:16px 20px}@media (width<=780px){.wrap{width:92%}.hero{gap:22px}.intro .eyebrow{letter-spacing:.05em;font-size:.72rem}.intro p{font-size:1rem}}@media (width<=650px){.wrap{width:90%}.bar{gap:7px;min-height:60px}.brand{gap:6px;font-size:1.22rem}.brand img{width:28px;height:28px}nav{gap:11px}nav button{font-size:.79rem}nav button.active:after{bottom:8px}.hero{grid-template-columns:1fr;gap:26px;padding:30px 0}.intro h1{margin:14px 0;font-size:clamp(3.35rem,12vw,4.6rem)}.actions{margin-top:18px}.round-meta{margin-top:11px}.display-field.featured{height:clamp(200px,53vw,260px)}.exhibit{padding-top:21px}.material-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 6px;padding:12px 8px}.material-grid li{font-size:1rem}.play-board{flex-direction:column;gap:7px;padding:12px}.placed{flex:auto}.slot{flex-direction:row;gap:8px;min-height:44px}.playing-card{gap:10px;padding:10px}.playing-card img{width:66px}.playing-card h2{font-size:1.24rem}}@media (width<=470px){.bar{flex-wrap:wrap;justify-content:center;padding-top:8px}nav{justify-content:center;width:100%;min-height:44px}nav button.active:after{bottom:0}.actions{gap:14px}.material-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}
