:root{--accent:#315c51;--ink:#263d36;--paper:#f8f4e8;--serif:Georgia,"Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.65 system-ui,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;overflow-wrap:anywhere}.player{width:min(100%,820px);margin:auto;border:1px solid #b6b6a0}.mast{background:var(--accent);color:#fff8de;padding:10px 22px;display:flex;gap:6px 15px;flex-wrap:wrap;justify-content:space-between;align-items:center;font-size:13px;letter-spacing:.04em}.mast label{display:flex;align-items:center;gap:6px;font-size:12px}select{font:inherit;max-width:100%;padding:5px;background:#f9f2dd;color:#263b37;border:1px solid #bcc3a9;border-radius:5px;min-height:36px}article{padding:clamp(12px,3.5vw,28px)}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--serif)}h1{font-size:clamp(23px,4.9vw,36px);line-height:1.35;margin:3px 0 7px;letter-spacing:.04em}h2{font-size:17px;margin:0 0 8px}.chapter{font-size:12px;color:var(--accent);font-weight:650;letter-spacing:.06em}.letter{color:#4c5d51;font-size:14px;margin-bottom:17px}button,a.primary{font:inherit;cursor:pointer;color:var(--ink);border:1px solid #afb49d;border-radius:5px;padding:8px 12px;background:#fcf8ed;min-height:42px;font-size:13px;line-height:1.45}button:hover{background:#e8eadd}button[aria-pressed="true"]{outline:2px solid var(--accent);background:#e6e9d9;outline-offset:-2px}button:disabled{opacity:.48;cursor:default}.primary,button.primary,a.primary{background:var(--accent);color:#fff9e5;border-color:var(--accent);font-weight:650}.player :is(button,a,summary,select):focus-visible{outline:3px solid #b07031;outline-offset:3px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:16px;background:#eeecdc;border:1px solid #c2c0a9;border-radius:8px}.comparison section{min-width:0}.grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:3px;width:100%;max-width:350px}.cell{aspect-ratio:1;min-width:0;min-height:0!important;display:grid;place-items:center;border:1px solid #172c222b;border-radius:3px;box-shadow:inset 0 0 0 1px #ffffff26;font-size:13px;font-weight:650;color:#fff;text-shadow:0 1px 2px #172b27cc;padding:0!important}.cell span:empty{text-shadow:none}.cell[style*="#faf5e6"],.cell[style*="#e0e8ce"],.cell[style*="#bdc2b2"]{color:#40533a;text-shadow:none}#board>.grid{max-width:440px;margin:12px auto}#controls{margin:16px 0}.pieces{display:flex;flex-wrap:wrap;gap:7px;align-items:stretch}.pieces>button{flex:1 1 120px;text-align:left}.pieces small{display:block;color:inherit;opacity:.8;font-size:11px;margin-top:3px}.preview{display:flex;gap:18px;align-items:center;background:#eee8d6;border:1px solid #c7bda5;border-radius:6px;padding:12px;margin-top:10px}.preview>.grid{width:105px;flex:none;gap:2px}.preview p{font-size:13px;margin-bottom:7px}.preview button+button{margin-left:5px}.tools,.audio-tools{display:flex;gap:7px;flex-wrap:wrap}.audio-tools{margin-top:12px}.count{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;font-size:12px;color:#586457;margin:7px 0 10px}#feedback{background:#e8e9da;border-left:3px solid #a0ab8e;padding:9px 12px;font-size:14px;line-height:1.6}#detail{font-size:13px}#detail:empty{display:none}#feedback[data-kind="success"]{background:#dcebdd;border-color:#4a7753}#feedback[data-kind="miss"]{background:#f1e2d4;border-color:#ad6c3e}.after{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0}.after a{text-decoration:none}details{font-size:13px;border-top:1px solid #c9c6b0;padding:9px 0}summary{font-weight:650;cursor:pointer}details p{margin-top:6px}footer{font-size:12px;color:#596558;text-align:center;padding:10px;border-top:1px solid #c9c6b0}.manifest{padding:13px;background:#e8eddf;border-radius:6px}.manifest p{display:flex;gap:4px 7px;flex-wrap:wrap;font-size:13px}.manifest span{border:1px solid #c3bea7;padding:3px 6px;border-radius:3px}.manifest .done{text-decoration:line-through;color:#697465;background:#dddccb}.manifest .waiting{background:#ffeac6;border-color:#af8f54}.stacks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.stack{display:block;min-width:0;padding:9px 7px}.crate-space{display:flex;flex-direction:column;gap:5px;margin:10px 0;border-bottom:4px solid #876e48;padding:0 4px 5px}.crate{display:block;border:1px solid #a18c5c;min-height:33px;background:#e7d8ae;border-left:7px solid var(--box);padding:5px 2px;font-size:12px;font-weight:650}.crate.empty{border:1px dashed #d4c9ad;background:transparent}.stack small{font-size:12px}.shadow-piece{min-width:0;flex:1 1 94px;padding:8px;border:1px solid #c5b8b3;border-radius:5px}.shadow-piece h3{font-size:13px;margin-bottom:5px}.shadow-piece .grid{max-width:125px}.shadow-piece button{font-size:11px;padding:5px;margin-top:6px;width:100%}.melody{display:flex;gap:5px;justify-content:center;flex-wrap:wrap}.note{flex:1 1 30px;max-width:53px;text-align:center;border:1px solid #c4b99b;border-radius:5px;background:#f7edd6;padding:5px}.note b,.note small{display:block}.note small{font-size:10px;color:#68604a}.note b{font-size:18px;color:#6f4d26}.pin-rows{display:flex;flex-direction:column;gap:5px;padding:6px 0;align-items:center}.pin-rows i{border:1px solid #a99162;border-radius:50%;width:9px;height:9px;background:#eee3c7}.pin-rows .pin{background:#a07838;box-shadow:0 0 0 2px #c3aa75}.note.playing{background:#fae2a6;outline:2px solid #a57a35}[hidden]{display:none!important}
@media(max-width:530px){.mast{padding:9px 12px}.comparison{padding:10px;gap:12px}.grid{gap:2px}h2{font-size:15px}.cell{font-size:11px}.letter{font-size:13px}.tools button{font-size:12px;padding:8px 9px}.preview{gap:10px;padding:10px}.preview>.grid{width:82px}.preview p{font-size:12px}.preview button{padding:6px 8px;font-size:12px}.stacks{gap:6px}.stack strong{font-size:12px}.crate{font-size:11px;padding:5px 1px}.shadow-piece{flex-basis:78px;padding:6px}.pieces>button{flex-basis:105px}.note{flex-basis:24px;padding:3px}.note b{font-size:15px}.comparison .melody{gap:3px}.switches small{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Town collection */
.board-note{display:flex;gap:5px 16px;flex-wrap:wrap;align-items:center;background:#e9e7d7;border:1px solid #c7c2aa;border-radius:6px;padding:10px 13px;font-size:13px;margin-bottom:14px}.board-note strong{color:var(--accent)}.legend{font-size:12px;color:#586052;margin:10px 0;text-align:center}.selection-note{font-size:13px;margin:9px 0}.map-grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:4px;max-width:440px;margin:14px auto;padding:7px;background:#a0aa98;border:1px solid #84917e;border-radius:7px}.map-cell{aspect-ratio:1;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#e8e2cd;border:1px solid #c9c8b0;border-radius:3px;min-width:0;overflow:hidden}.map-cell small{font-size:10px;line-height:1.1}.wall{background:repeating-linear-gradient(0deg,#838a79,#838a79 13px,#a5ae9a 14px,#a5ae9a 16px)}.person{position:absolute;width:29%;height:47%;right:7%;bottom:8%;fill:#28594d;filter:drop-shadow(0 1px 1px #fcf2d8);z-index:2}.post-office{background:#f0c9ae}.place{color:#a64736;font-weight:850;font-size:clamp(16px,3vw,28px);line-height:1.1}.house-icon{display:block;width:43%;text-align:center;background:#b68c5b;color:#fff9e8;padding:5px 0 0;line-height:1.25;clip-path:polygon(50% 0,100% 29%,90% 29%,90% 100%,10% 100%,10% 29%,0 29%);font-weight:bold;font-size:16px}.house.delivered{background:#cfdab9}.map-label{font-size:16px}.key-place{background:#f0dfac}.bridge{background:repeating-linear-gradient(0deg,#b7a37b,#b7a37b 7px,#d5c39f 8px,#d5c39f 10px);border-left:5px solid #78949a;border-right:5px solid #78949a}.bridge.closed:after{content:'×';position:absolute;top:0;right:3px;font-size:14px;color:#7e3932}.bridge.open:after{content:'✓';position:absolute;top:0;right:3px;font-size:12px;color:#355646}.directions{display:grid;grid-template:repeat(2,48px)/repeat(3,62px);gap:6px;justify-content:center;margin:8px auto}.directions .dir{padding:2px;font-size:25px;font-weight:bold;min-height:44px}.dir-0{grid-row:1;grid-column:2}.dir-1{grid-row:2;grid-column:3}.dir-2{grid-row:2;grid-column:2}.dir-3{grid-row:2;grid-column:1}.ice-floor{background:linear-gradient(135deg,#deeced,#c2d9df 60%,#e3eff1);border-color:#b5d0d7}.ice-wall{background:repeating-linear-gradient(45deg,#6e8790,#6e8790 6px,#8099a1 7px,#8099a1 10px);border-color:#6f8790}.glide-trail{box-shadow:inset 0 0 0 2px #e9f9fc}.stone{position:absolute;width:55%;height:55%;border-radius:38%;display:grid;place-items:center;background:#86949a;color:#fff;font-size:11px;left:8%;top:8%}.delivery-marker{border:2px solid #9d6241;border-radius:50%;color:#7e492d;width:49%;height:49%;display:grid;place-items:center;font-weight:bold;background:#f7e9cd}.sled{position:absolute;right:8%;bottom:8%;background:#e8fbff;border:2px solid #48859b;border-radius:4px 4px 12px 12px;box-shadow:0 3px 0 #6f5241;min-width:44%;font-size:12px;text-align:center}.store-floor{background:#e6dec2}.store-wall{background:repeating-linear-gradient(90deg,#7a7967,#7a7967 7px,#8e8b75 8px,#8e8b75 12px);border-color:#757667}.target-pad{position:absolute;font-size:40px;line-height:1;color:#8a5c31}.wooden-crate{position:absolute;width:75%;height:75%;display:grid;place-items:center;background:repeating-linear-gradient(0deg,#c6a76d,#c6a76d 7px,#c0a166 8px,#c0a166 10px);border:3px solid #876c43;box-shadow:inset 0 0 0 2px #e1c894;color:#674d28;font-weight:750;font-size:14px}.box-done .wooden-crate{background:#b0b78b;border-color:#637747;color:#354c27}.oven-clock{display:flex;align-items:center;gap:12px;justify-content:center;margin:8px 0 14px;color:#7c5737;font-size:13px}.oven-clock>b{border:2px solid #ac8757;background:#f1e2ba;border-radius:50%;width:90px;height:90px;display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:39px;font-weight:650;gap:3px}.oven-clock small{font-size:14px}.oven{display:grid;grid-template-columns:1fr 1fr;background:#644e3a;border:10px solid #8d7054;outline:1px solid #6b5a44;border-radius:15px 15px 6px 6px;gap:12px;padding:10px}.oven-tray{border:1px solid #ac9473;border-bottom:5px solid #b9a282;background:#3d362e;padding:9px 5px;color:#f5e6c9;text-align:center;min-height:132px;display:flex;align-items:center;flex-direction:column;justify-content:space-between;font-size:12px}.bread{border-radius:50% 50% 25% 25%;background:linear-gradient(120deg,#ead4a3,#bd8d4b);border:2px solid #a47639;color:#573c24;font-weight:650;padding:11px 18px;min-width:90px}.bread.baked{background:linear-gradient(120deg,#e3b466,#b67730);box-shadow:0 0 18px #eaa54666}.empty-tray{font-size:13px;opacity:.6;padding:23px}.job-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(122px,1fr));gap:7px;margin-top:14px}.job{background:#ece3ce;border:1px solid #cbbd9f;border-radius:5px;padding:9px;display:flex;flex-direction:column;font-size:12px}.job b{font-size:14px}.job.completed{background:#dce6cd}.job span,.job small{margin-top:3px}.bake-tools{display:flex;gap:8px;justify-content:center;margin-top:12px}.balance{display:grid;grid-template-columns:1fr 1fr;gap:40px;position:relative;padding:55px 0 20px;min-height:230px}.balance-beam{position:absolute;left:12%;right:12%;height:7px;background:#ae8e47;top:25px;transform:rotate(calc(var(--tilt)*4deg));border-radius:9px}.balance-post{position:absolute;top:20px;bottom:4px;width:7px;left:calc(50% - 3px);background:#ae8e47}.balance-post:after{content:'';width:62px;height:8px;background:#8f723e;border-radius:8px;position:absolute;bottom:0;left:-27px}.balance-pan{padding:14px 9px;border:1px solid #b49c65;border-bottom:8px solid #9e834b;border-radius:0 0 36% 36%;background:#ece5d1;text-align:center;position:relative}.balance-pan:before{content:'';height:30px;width:1px;background:#a48c54;position:absolute;top:-30px;left:50%}.balance-pan p{font-size:11px}.weight-total{font-family:var(--serif);font-size:31px;color:#796133}.pan-weights{display:flex;flex-wrap:wrap;justify-content:center;gap:3px;margin:7px 0;min-height:24px}.pan-weights span{background:#b79e62;border:1px solid #9e884f;color:#fff8db;border-radius:8px 8px 3px 3px;padding:1px 6px;font-size:12px}.weight-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.weight-list section{background:#eee7d5;border:1px solid #c5bca2;border-radius:6px;padding:10px;text-align:center}.weight-list strong{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px}.weight-list strong b{font-family:var(--serif);font-size:26px}.weight-list small{font-size:11px;display:block;margin-bottom:6px}.weight-list button{font-size:12px;padding:6px 13px;margin:0 2px}.book-layout{display:grid;grid-template-columns:1fr 140px;gap:28px;background:#eee7d5;padding:18px;border:1px solid #c3b895;border-radius:7px}.book-shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:#8b7455;padding:10px;border:4px solid #715b40}.book-slot{aspect-ratio:.85;min-width:0;min-height:0!important;border:0;border-bottom:4px solid #5e4e38;background:#c1ac86;padding:3px!important;display:grid;place-items:center;border-radius:1px}.spine{width:78%;height:90%;border-radius:4px 1px 1px 4px;border-left:5px solid #ffffff26;background:var(--spine);box-shadow:2px 2px 2px #594e3c;color:#fff5d7;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.spine b{font:650 27px var(--serif);border-top:1px solid #f1dfac9c;border-bottom:1px solid #f1dfac9c;padding:0 8px}.spine small{font-size:9px;letter-spacing:.05em}.empty-book{font-size:10px;color:#5b503d}.shelf-goal>div{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.shelf-goal>div span{background:#ded5be;border:1px solid #bfb292;text-align:center;padding:7px;font-size:13px}.shelf-goal p{font-size:12px;margin-top:10px}.order-grid{display:grid;grid-template-columns:repeat(4,1fr);max-width:380px;margin:16px auto;border:3px solid #765c51;background:#dac6b1;gap:0}.order-cell{position:relative;aspect-ratio:1;border:1px solid #d1beab!important;border-radius:0;display:grid;place-items:center;padding:6px!important;min-height:0!important;background:#f1e6ce}.order-cell:disabled{opacity:1;background:#e3d7bf}.order-cell.box-right{border-right:3px solid #765c51!important}.order-cell.box-bottom{border-bottom:3px solid #765c51!important}.order-cell[aria-pressed=true]{outline:3px solid #af6745;outline-offset:-5px;background:#f9ebd1}.order-cell.conflict{background:#efd0bd}.cup{position:relative;display:grid;place-items:center;background:var(--drink);width:64%;height:62%;border:3px solid #fff5df;border-radius:3px 3px 35% 35%;color:#fff9e7;font-size:20px;font-weight:650;box-shadow:0 2px 0 #b7a184}.cup:after{content:'';position:absolute;right:-29%;width:28%;height:50%;top:5%;border:3px solid #fff5df;border-left:0;border-radius:0 70% 70% 0}.cup[style*="#f1e7c9"]{color:#735c3d}.blank-order{color:#b8a88c;font-size:24px}.fixed-dot{position:absolute;right:5px;bottom:0;color:#887665;font-size:9px}.drink-legend,.drink-buttons{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.drink-legend{font-size:11px}.drink-legend b{color:var(--accent)}.drink-buttons button{flex:1 1 110px}.ferry-banks{display:grid;grid-template-columns:1fr 1fr;gap:54px;position:relative;background:repeating-linear-gradient(0deg,#c7d9da,#c7d9da 17px,#c1d4d6 19px,#c7d9da 22px);border:1px solid #abbebd;border-radius:7px;overflow:hidden}.river-bank{padding:18px 12px 10px;background:#e1dfc4;display:flex;flex-direction:column;min-height:240px;position:relative}.river-bank:first-child{border-right:7px solid #9ba38b}.river-bank:last-child{border-left:7px solid #9ba38b}.river-bank h2{font-size:16px}.passengers{display:flex;flex-direction:column;gap:7px;flex:1;margin:6px 0 12px}.passengers button{background:#faf2de}.passengers button:disabled{opacity:.7}.landing{min-height:47px;font-size:11px;border-top:3px solid #b6a078;display:flex;align-items:center;justify-content:center}.ferry-boat{background:#9f805b;color:#fff3ce;border-radius:4px 4px 50% 50%;padding:7px 11px;font-size:11px}.watch-pairs{margin:14px 0;background:#e9e3d1;border:1px solid #c8bea6;border-radius:5px;padding:12px}.watch-pairs h2{font-size:14px}.watch-pairs span{display:inline-block;border:1px solid #bfb49e;border-radius:4px;margin:3px 6px 3px 0;padding:3px 8px;font-size:13px;background:#f9f1df}.watch-pairs p{font-size:12px;margin-top:5px}.glass-tubes{display:flex;gap:12px 10px;flex-wrap:wrap;justify-content:center;background:#e8e5d6;padding:18px 9px 12px;border:1px solid #c2bda6;border-bottom:8px solid #9d8861;border-radius:7px}.tube{display:flex;align-items:center;flex-direction:column;padding:7px 9px;width:90px;background:#f2eee0}.tube strong{font-size:13px}.tube small{font-size:10px;margin-top:7px}.glass-column{display:flex;flex-direction:column;background:linear-gradient(90deg,#e4eeee88,#fff9,#d3e4e388);border:2px solid #94a9a8;border-top:4px double #94a9a8;border-radius:3px 3px 17px 17px;box-shadow:inset 2px 0 3px #fff;padding:6px 4px 4px;margin-top:7px;width:50px}.bead-space{display:grid;place-items:center;width:36px;height:36px}.bead{display:grid;place-items:center;background:radial-gradient(circle at 30% 25%,#ffffff99,var(--bead) 50%,var(--bead));border:1px solid #385b6244;width:31px;height:31px;border-radius:50%;color:#fff5df;font-size:12px;font-weight:bold;text-shadow:0 1px 3px #223733}.bead-legend{display:flex;justify-content:center;gap:10px;margin:12px 0}.bead-legend span{display:grid;place-items:center;background:var(--bead);width:25px;height:25px;border-radius:50%;color:#fff8df;font-size:11px}.nonogram{display:grid;grid-template-columns:minmax(42px,.95fr) repeat(var(--n),minmax(0,1fr));max-width:450px;margin:15px auto;background:#c6bda7;border:4px solid #bcae8e;border-radius:3px;gap:2px;padding:5px}.nono-corner{display:grid;align-items:end;font-size:11px;padding:5px;color:#716448}.column-clue{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:1px;background:#ede5d1;padding:6px 0}.column-clue small{font-size:9px;color:#837659;margin-bottom:auto;padding-bottom:6px}.column-clue b{font-size:13px;line-height:1.4}.row-clue{display:flex;justify-content:flex-end;align-items:center;gap:4px;background:#ede5d1;padding:0 5px 0 3px}.row-clue small{font-size:9px;color:#837659;margin-right:auto}.row-clue b{font-size:13px}.nono-cell{min-height:0!important;padding:0!important;aspect-ratio:1;border:0;border-radius:1px;font-size:24px}.nono-cell.unknown{background:#f6f0de}.nono-cell.lit{background:#3e5275;color:#f9da8e}.nono-cell.unlit{background:#ebe8d9;color:#a09985}.paint-tools{display:flex;gap:10px;justify-content:center}.paint-tools button{min-width:108px}.paint-tools+ .selection-note{text-align:center}
@media(max-width:530px){.map-grid{gap:3px;padding:5px}.map-cell small{font-size:8px}.house-icon{font-size:13px}.person{width:31%;height:47%}.map-label{font-size:12px}.delivery-marker{font-size:12px}.stone{font-size:9px}.sled{font-size:10px}.wooden-crate{border-width:2px;font-size:11px}.target-pad{font-size:29px}.board-note{font-size:12px;padding:8px 10px}.oven{gap:7px;padding:7px;border-width:7px}.oven-tray{min-height:123px}.bread{font-size:11px;padding:10px 9px;min-width:72px}.oven-clock{gap:8px;font-size:11px}.oven-clock>b{width:76px;height:76px;font-size:33px}.job-list{grid-template-columns:1fr 1fr}.balance{gap:26px}.balance-pan{padding:10px 5px}.balance-pan h2{font-size:14px}.pan-weights span{font-size:10px}.weight-list{grid-template-columns:1fr 1fr;gap:6px}.weight-list section{padding:6px}.weight-list button{padding:5px 9px}.book-layout{grid-template-columns:1fr;gap:15px;padding:12px}.book-shelf{max-width:330px;margin:auto}.book-slot{aspect-ratio:1.1}.spine{gap:4px}.spine b{font-size:24px}.shelf-goal{display:flex;align-items:center;justify-content:center;gap:13px}.shelf-goal h2{font-size:12px;margin:0}.shelf-goal>div{width:91px;gap:2px}.shelf-goal>div span{font-size:10px;padding:1px}.shelf-goal p{font-size:10px;margin:0}.ferry-banks{gap:24px}.river-bank{padding:12px 7px 8px;min-height:230px}.river-bank h2{font-size:13px}.ferry-boat{font-size:10px;padding:6px 4px}.watch-pairs{padding:9px}.watch-pairs span{font-size:12px}.glass-tubes{gap:9px 6px;padding:12px 5px 10px}.tube{width:72px;padding:6px 5px}.glass-column{width:45px;padding:5px 2px}.bead-space{height:33px;width:35px}.nonogram{padding:3px;gap:1px;grid-template-columns:minmax(36px,1.25fr) repeat(var(--n),minmax(0,1fr))}.nono-cell{font-size:20px}.row-clue{gap:3px;padding:0 3px 0 2px}.row-clue b,.column-clue b{font-size:11px}.nono-corner{font-size:10px}.cup{font-size:17px}.fixed-dot{font-size:8px;right:3px}}
/* Atelier collection */
.clue-list{border:1px solid #c9bfa8;background:#efe8d7;border-radius:7px;padding:14px;margin-bottom:16px}.clue-list h2{font-size:16px}.clue-list p{font-size:13px;margin:6px 0;padding:5px 8px;border-left:2px solid #c6b99d}.clue-list .met{border-color:#64805d;color:#436241;background:#e4e9d6}.clue-list .unmet{border-color:#ae745a;background:#f1dfcd}.flower-vases{display:grid;grid-template-columns:repeat(var(--vases),minmax(0,1fr));gap:7px;align-items:end;margin:20px 0;padding:13px 9px 12px;background:#e6dec7;border-bottom:7px solid #9d8058;border-radius:7px}.vase-button{padding:8px 3px!important;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;background:#f4eddc}.vase-button>small{font-size:10px}.vase-button>b{font-size:11px;font-weight:600;line-height:1.3}.flower-head{display:grid;place-items:center;position:relative;background:var(--flower);border:3px dotted #fff5dc88;border-radius:40%;width:32px;height:32px;font-size:13px;color:#fff8e6;font-weight:bold;z-index:1}.flower-head[style*="#fff8df"],.flower-head[style*="#e2dcc8"]{color:#755b42}.flower-head:after{content:'';position:absolute;top:29px;height:16px;width:3px;background:#6b8461;z-index:-1}.vase{display:block;height:24px;width:31px;border:2px solid #9eafac;background:linear-gradient(90deg,#cadcda88,#f6f9ed99,#c8d5cb99);border-radius:3px 3px 35% 35%;margin-top:5px}.graph-board{position:relative;width:min(100%,480px);aspect-ratio:1;margin:14px auto 22px;border:1px solid #bcc3b3;border-radius:8px}.graph-board>svg{position:absolute;width:100%;height:100%;inset:0;pointer-events:none}.graph-node{position:absolute;transform:translate(-50%,-50%);min-width:42px;width:44px;height:44px;padding:0!important;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1;z-index:2;font-size:18px}.graph-node small{font-size:9px;display:block;margin-top:2px;font-weight:500;line-height:1}.star-board{background:radial-gradient(circle at 72% 25%,#3e5170,#243851);border-color:#65758e}.star-board line{stroke-linecap:round}.star-board .untraced{stroke:#8b9bac;stroke-width:.7}.star-board .traced{stroke:#ddbf83;stroke-width:1.2}.star-node{background:#405576;border:1px solid #9faebd;color:#fcf2d7;box-shadow:0 0 0 2px #263d5577}.star-node:hover{background:#65758e}.star-node.current{background:#eed49b;border-color:#f6eac4;color:#4a4f5a}.star-node.endpoint{border:4px double #dfd7b7}.star-node b{font-size:20px}.star-node small{color:inherit;opacity:.86}.loom-control{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:12px;background:#e7e4d6;border-radius:6px;border:1px solid #c0bea8}.loom-control h2{font-size:14px}.loom-control section{display:flex;flex-wrap:wrap;gap:6px}.loom-control section h2{width:100%;margin-bottom:2px}.loom-control button{flex:1;font-size:12px;padding:7px 9px}.measuring-bottles{display:flex;gap:14px;justify-content:center;background:#eee6d2;border:1px solid #c8b99a;border-radius:7px;padding:18px 12px}.measuring-bottles section{width:115px;text-align:center}.measuring-bottles h2{font-size:16px}.measure-target{font-size:13px;background:#e6dac0;border-radius:5px;padding:4px;margin-bottom:14px}.measuring-glass{height:180px;width:80px;margin:auto;position:relative;border:3px solid #91a3a0;border-top:5px double #91a3a0;border-radius:2px 2px 15px 15px;overflow:hidden;background:repeating-linear-gradient(0deg,transparent,transparent 17px,#7d968f55 18px,transparent 19px),linear-gradient(90deg,#d3e3df55,#fff8,#bdd5d155)}.fragrant-water{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(90deg,#bf9958aa,#e5c778bb,#cda15d99);border-top:2px solid #b69752}.measuring-glass>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:650 36px var(--serif);color:#665333;text-shadow:0 1px 5px #fff}.measuring-bottles section>p:last-child{font-size:12px;margin-top:8px}.bottle-tools{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.bottle-tools section{display:flex;gap:5px;align-items:center;flex-wrap:wrap;justify-content:center;border:1px solid #c7bda4;background:#eee8d6;border-radius:6px;padding:8px;flex:1;min-width:130px}.bottle-tools b{width:100%;font-size:12px;text-align:center}.bottle-tools button{padding:6px 10px;font-size:12px}.control-heading{font-size:16px;margin:16px 0 9px}.pour-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.pour-buttons button{font-size:12px;padding:7px}.lamp-grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:3px;max-width:430px;margin:15px auto;border:5px solid #98937e;border-radius:5px;background:#98937e}.lamp-cell{aspect-ratio:1;padding:0!important;min-height:0!important;border:1px solid #c1bda3;border-radius:2px;color:#815e2b;font-size:16px}.lamp-cell.lamp-wall{background:repeating-linear-gradient(0deg,#6c7065,#6c7065 9px,#74796c 10px,#74796c 12px);color:#f8efd2;border-color:#606457;font-size:21px;font-weight:bold;opacity:1}.lamp-cell.dark-road{background:#e2dfcb}.lamp-cell.illuminated{background:radial-gradient(circle,#fff1bb,#eedba4)}.lamp-cell.conflicting{background:#dcb8a1;color:#7b3c31}.lamp-cell:hover:not(:disabled){outline:2px solid #c69642;outline-offset:-3px}.code-notes{background:#eee8d9;border:1px solid #c2bba1;border-radius:7px;padding:14px}.code-notes h2{font-size:16px}.code-note{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:10px 0;border-top:1px solid #d1c8af}.code-guess{display:flex;gap:6px}.code-guess span,.code-slots b{display:grid;place-items:center;background:var(--code);border:1px solid #263d3633;border-radius:4px;color:#fff9df;font-weight:bold;width:34px;height:37px;font-size:16px}.code-note p{font-size:12px;min-width:92px;line-height:1.65}.code-note p b{font-size:16px;margin-left:9px}.code-slots{display:flex;gap:12px;justify-content:center;background:#b4a084;border:5px solid #8e785c;border-radius:7px;padding:15px 10px}.code-slots>button{padding:6px;background:#eee5cd;border:1px solid #9f896b;display:flex;flex-direction:column;gap:7px;align-items:center}.code-slots small{font-size:10px}.code-slots b{width:45px;height:48px;font-size:24px}.code-slots b[style*="#ddd4bb"]{color:#76654c}.code-palette{display:flex;gap:8px;justify-content:center}.code-palette button{min-width:58px;display:flex;align-items:center;justify-content:center;gap:6px}.code-palette i{width:16px;height:16px;display:inline-block;border-radius:50%}.twin-floor{background:#e4dec8}.twin-wall{background:repeating-linear-gradient(90deg,#7c8179,#7c8179 8px,#90948a 9px,#90948a 11px);border-color:#737a70}.keeper{position:absolute;inset:20%;border-radius:28%;border:2px solid #f9eed4;display:grid;place-items:center;font-weight:bold;font-size:20px;color:#fff4d9;box-shadow:0 2px 1px #68706366;z-index:2}.keeper-0{background:#506c8d}.keeper-1{background:#a08245}.keeper-goal{display:grid;place-items:center;background:transparent;width:72%;height:72%;border:3px double #506c8d;border-radius:6px;font-size:13px;font-weight:bold;color:#506c8d}.keeper-goal.keeper-1{border-color:#9a7839;color:#9a7839}.stone-garden{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;background:radial-gradient(ellipse at 20% 30%,#d0ccb4,#c3bea4);padding:12px;border:6px solid #9c8c68;border-radius:8px;max-width:430px;margin:16px auto}.stone-socket{aspect-ratio:1;padding:0!important;min-height:0!important;display:grid;place-items:center;background:#d8d1b8;border:1px solid #b8b398;border-radius:50%;position:relative}.garden-stone{display:block;width:77%;height:73%;border-radius:47% 40% 43% 45%;background:radial-gradient(ellipse at 35% 24%,#84918b,#4f615e 64%,#334844);border:1px solid #4b6058;box-shadow:1px 2px 3px #555f4a99}.empty-socket{display:block;width:68%;height:62%;border-radius:50%;background:radial-gradient(ellipse,#b1ad94,#d2cbb1);border:1px solid #a9a48b}.stone-socket.gold-ring{border:4px double #b18e35;box-shadow:0 0 0 1px #ead28b}.stone-socket[aria-pressed=true]{outline:3px solid #c1893c;outline-offset:2px}.garden-moss{background:radial-gradient(ellipse at 50% 70%,#9eae80aa,transparent 65%);border-radius:35%}.theatre-stage{max-width:430px;margin:10px auto 16px;background:#92705c;border-bottom:5px solid #684e42;border-radius:0 0 45% 45%;color:#fff5dc;text-align:center;padding:8px;font:600 14px var(--serif);letter-spacing:.3em}.binary-grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:5px;width:min(100%,430px);margin:0 auto 16px;background:#d1bea2;border:6px solid #b39b7b;padding:7px;border-radius:5px}.binary-cell{aspect-ratio:1;position:relative;padding:0!important;min-height:0!important;border-radius:7px 7px 3px 3px;border-bottom:4px solid #a58c6d;display:grid;place-items:center;font-size:20px}.binary-cell:disabled{opacity:1}.binary-cell.seat-a{background:#f5e9c9;color:#87654d}.binary-cell.seat-b{background:#a66a68;color:#fff2d5}.binary-cell.undecided{background:#e3d4b6;color:#ac9676}.binary-cell small{position:absolute;right:4px;bottom:1px;font-size:8px;color:inherit}.seat-palette{display:flex;gap:10px;justify-content:center}.seat-palette button{min-width:100px}.island-board{background:repeating-linear-gradient(0deg,#d5e5df,#d5e5df 24px,#d0e0db 25px,#d5e5df 27px);border:2px solid #a8bcb1}.island-board line{stroke:#98794c;stroke-width:1.05;stroke-linecap:round}.island-node{background:#f6f0da;border:2px solid #aaa17f;color:#5e6047;box-shadow:0 0 0 3px #d4e2ce99}.island-node.complete-island{background:#d9e6bb;border-color:#80936a}.island-node b{font:650 22px var(--serif)}.island-node small{font-size:8px}.bridge-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.bridge-list button{font-size:12px;padding:7px 4px}.bridge-list small{display:block;font-size:10px;color:#6f745e}
@media(max-width:530px){.clue-list{padding:11px}.clue-list p{font-size:12px;padding:4px 5px}.flower-vases{padding:10px 4px 9px;gap:4px}.vase-button>b{font-size:9px}.vase-button>small{font-size:9px}.flower-head{width:28px;height:28px;font-size:11px}.flower-head:after{top:25px;height:15px}.vase{width:25px;height:23px}.graph-node{width:42px;height:42px}.star-node small{font-size:8px}.loom-control{gap:10px;padding:10px}.loom-control h2{font-size:12px}.loom-control button{padding:6px;font-size:11px}.measuring-bottles{gap:10px;padding:15px 8px}.measuring-bottles section{min-width:0}.measuring-glass{width:62px;height:157px}.measure-target{font-size:12px}.bottle-tools{gap:7px}.bottle-tools section{min-width:82px;padding:7px 3px;gap:4px}.bottle-tools button{font-size:11px;padding:6px}.pour-buttons{grid-template-columns:1fr 1fr}.lamp-grid{gap:2px;border-width:4px}.lamp-cell{font-size:13px}.lamp-cell.lamp-wall{font-size:17px}.code-notes{padding:11px}.code-note{gap:8px}.code-guess{gap:4px}.code-guess span{width:29px;height:33px;font-size:14px}.code-note p{font-size:11px;min-width:85px}.code-slots{gap:7px;padding:12px 7px}.code-slots b{width:39px;height:44px;font-size:22px}.code-palette{gap:6px}.code-palette button{min-width:52px;padding:7px 8px}.keeper{font-size:17px;inset:18%}.keeper-goal{font-size:11px}.stone-garden{gap:4px;padding:9px;border-width:5px}.stone-socket.gold-ring{border-width:3px}.binary-grid{gap:4px;padding:5px;border-width:5px}.binary-cell{font-size:17px;border-bottom-width:3px}.binary-cell small{font-size:6px;right:3px}.bridge-list{grid-template-columns:1fr 1fr}.island-node b{font-size:20px}}
.lamp-cell{position:relative}.lamp-coordinate{position:absolute;right:3px;bottom:1px;font-size:8px;color:#8f896c;line-height:1.2;font-weight:400}.stone-coordinate{position:absolute;bottom:0;left:50%;transform:translateX(-50%);font-size:8px;line-height:1.1;color:#69715d;background:#d6d0b8bb;border-radius:2px;padding:0 2px}.seat-coordinate{position:absolute;top:2px;left:3px;font-size:8px;line-height:1;opacity:.7;font-weight:400}.lamp-cell:has(.lamp-coordinate):not(.lamp-wall){padding-bottom:4px!important}@media(max-width:530px){.lamp-coordinate{font-size:7px;right:2px}.stone-coordinate{font-size:7px}.seat-coordinate{font-size:7px;top:1px;left:2px}}

:root{--accent:#9a7643}
