#post-home { --activity-ink:#4f6466; --activity-muted:#748382; --activity-line:#d9d8c5; background:#f3efe2; }
#post-home .activity-house-mark { color:#98aaa0; }
.post-collection { margin-left:auto; font-size:12px; padding:8px 14px; color:#76877c; background:#e7ecdf; border-radius:18px; }
.post-content { height:calc(100% - 116px); padding:0 28px 22px; display:flex; flex-direction:column; gap:14px; }
.post-toolbar { display:flex; align-items:center; justify-content:space-between; }
.post-toolbar > div { display:flex; gap:10px; }
#post-home .post-toolbar button { min-height:50px; padding:11px 22px; background:#fffbef; border-color:#dddcc8; box-shadow:none; color:#6c7c74; }
#post-home [data-post-mode][aria-pressed="true"] { background:#dfebe6; border-color:#9bb4a8; color:#486e62; }
#post-home .post-sound { min-height:44px; font-size:12px; background:transparent; }
.post-layout { flex:1; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 244px; gap:22px; }
.post-main { display:flex; flex-direction:column; min-height:0; }
.post-puzzle-stage,.post-search-stage { position:relative; flex:1; min-height:0; overflow:hidden; display:flex; justify-content:center; align-items:center; border:2px solid #d8d9c4; border-radius:25px; background:#e8e6d7; }
.post-puzzle-stage { background-image:radial-gradient(#bdb89633 .7px,transparent .7px); background-size:13px 13px; }
.post-puzzle-canvas,.post-search-canvas { position:relative; flex:none; }
.post-puzzle-canvas>svg,.post-search-canvas>svg { display:block; width:100%; height:100%; }
.post-board-art { position:absolute; inset:0; transition:transform .5s ease-out; transform-origin:50% 50%; }
.post-pieces,.post-slots,.post-hotspots { position:absolute; inset:0; pointer-events:none; }
#post-home .post-piece { position:absolute; display:block; pointer-events:auto; padding:0; background:transparent; border:0; border-radius:0; box-shadow:none; touch-action:none; user-select:none; -webkit-user-select:none; transform:none; transition:filter .15s; filter:drop-shadow(0 3px 2px #675b492b); }
.post-piece svg { display:block; width:100%; height:100%; overflow:visible; }
#post-home .post-piece.is-selected { filter:drop-shadow(0 0 3px #679d8b) drop-shadow(0 4px 3px #5c776333); }
#post-home .post-piece.is-dragging { z-index:4; filter:drop-shadow(0 9px 6px #65583c55); cursor:grabbing; }
#post-home .post-piece.is-placed { opacity:1; cursor:default; filter:none; pointer-events:none; }
#post-home .post-piece:focus-visible { outline:2px dashed #688d7d; outline-offset:-12px; border-radius:16px; }
#post-home [data-slot] { pointer-events:auto; position:absolute; border:1px solid transparent; background:transparent; padding:0; border-radius:0; box-shadow:none; transform:none; }
#post-home [data-slot]:disabled { pointer-events:none; }
#post-home [data-slot].is-ready { border-color:#9bb2a160; }
#post-home [data-slot].is-ready:hover,#post-home [data-slot]:focus-visible { background:#a7c5b340; outline:2px dashed #6f9d85; outline-offset:-5px; }
.post-whole-painting { opacity:0; pointer-events:none; }
.post-secret-star { opacity:0; pointer-events:none; }
#post-home[data-puzzle="complete"] .post-whole-painting { opacity:1; }
#post-home[data-puzzle="complete"] .post-board-art { transform:scale(1.3); }
#post-home[data-puzzle="complete"] .post-piece { opacity:0; }
#post-home[data-puzzle="complete"] .post-secret-star { animation:post-secret 1.2s .35s ease-out both; }
.post-feedback { font-size:12px; line-height:1.7; color:#687f6b; min-height:35px; margin:10px 3px 0; }
.post-sidebar { display:flex; flex-direction:column; gap:14px; min-height:0; }
.post-puzzle-notes,.post-letter-notes { padding:20px; background:#fffbef; border:1px solid #dedac4; border-radius:23px; }
.post-letter-notes { padding:17px 20px; }
.post-eyebrow { font-size:10px; letter-spacing:1px; color:#869283; }
.post-sidebar h2 { font-size:20px; margin:10px 0 14px; letter-spacing:1px; }
.post-sidebar p { font-size:12px; line-height:1.85; color:#77836f; margin:12px 0; }
.post-counter { margin:22px 0; border-top:1px dashed #d5d8bf; border-bottom:1px dashed #d5d8bf; padding:18px 0; text-align:center; }
.post-counter b { font-size:30px; font-weight:500; color:#668875; display:block; letter-spacing:4px; }
.post-counter span { display:block; font-size:11px; color:#8b967c; margin-top:7px; }
#post-home .post-replay-puzzle,#post-home .post-replay-hunt { width:100%; min-height:44px; padding:10px; font-size:12px; background:#edf0df; color:#768563; border:1px solid #d5dbc0; box-shadow:none; }
#post-home button:disabled { cursor:default; }
#post-home .post-replay-puzzle:disabled { opacity:.5; }
.post-discovery { flex:1; padding:20px; border:1px solid #d7dec8; border-radius:23px; background:#e8efdf; display:flex; flex-direction:column; }
.post-discovery h3 { margin:9px 0 0; font-size:16px; line-height:1.5; }
.post-discovery p { margin:10px 0 0; }
.post-save-note { margin:0!important; font-size:9px!important; text-align:center; color:#95a08b!important; }
.post-room-caption { position:absolute; top:17px; left:20px; font-size:11px; color:#71827a; letter-spacing:2px; }
#post-home [data-place] { pointer-events:auto; position:absolute; background:transparent; border:2px solid transparent; border-radius:13px; padding:0; box-shadow:none; transform:none; }
#post-home [data-place]:hover,#post-home [data-place]:focus-visible { background:#fff9d322; border-color:#faf0bcaa; outline:none; }
#post-home [data-place][aria-pressed="true"] { border-color:#edd490; box-shadow:0 0 0 3px #f9e6a622; }
[data-place] span { position:absolute; bottom:-20px; left:50%; transform:translateX(-50%); padding:4px 9px; background:#fff9e9; border:1px solid #dbd5bd; border-radius:9px; color:#6a7668; font-size:11px; white-space:nowrap; opacity:0; pointer-events:none; }
[data-place]:focus-visible span,[data-place]:hover span { opacity:1; }
.post-letter { background:#f5edda; border:1px solid #ded2b2; border-radius:4px 15px 4px 15px; padding:17px 14px; position:relative; }
.post-letter:before { content:""; position:absolute; width:37px; height:14px; left:40%; top:-7px; rotate:-5deg; background:#b7c6a18c; }
.post-letter>span { font-size:11px; color:#8a826b; }
.post-letter p { font-size:17px; line-height:1.85; color:#556e70; letter-spacing:1px; margin:11px 0; }
.post-letter small { display:block; text-align:right; font-size:10px; color:#958d75; }
.post-reading-tip { font-size:11px!important; }
#post-home[data-hunt="found"] .post-letter-notes { padding:15px 17px; }
#post-home[data-hunt="found"] .post-letter { padding:12px; }
#post-home[data-hunt="found"] .post-letter>span,#post-home[data-hunt="found"] .post-letter small,#post-home[data-hunt="found"] .post-reading-tip { display:none; }
#post-home[data-hunt="found"] .post-letter p { font-size:14px; line-height:1.7; margin:0; }
#post-home .post-open-box { min-height:47px; margin-top:auto; background:#88a084; color:#fffcec; padding:11px; border-color:#7f977a; box-shadow:none; font-size:14px; }
.post-map-thumb { margin:8px auto; width:150px; max-height:104px; }
.post-map-thumb svg { width:100%; height:100%; display:block; }
.post-found-map { opacity:0; pointer-events:none; }
#post-home[data-hunt="found"] .post-box-lid { transform-origin:133px 416px; animation:post-lid .5s ease-out forwards; }
#post-home[data-hunt="found"] .post-found-map { animation:post-map .7s .3s ease-out both; }
#post-home .post-replay-hunt { margin-top:auto; }
@keyframes post-secret { from { opacity:0; scale:.8; } to { opacity:1; scale:1; } }
@keyframes post-lid { to { transform:translate(-7px,-27px) rotate(-15deg); } }
@keyframes post-map { from { opacity:0; translate:0 25px; } to { opacity:1; translate:0 0; } }
@media(max-height:760px),(max-width:1100px) {
 .post-content { height:calc(100% - 92px); padding-bottom:16px; gap:11px; }
 .post-layout { grid-template-columns:minmax(0,1fr) 222px; gap:16px; }
 #post-home .post-toolbar button { min-height:46px; padding:10px 18px; font-size:14px; }
 .post-puzzle-notes,.post-letter-notes,.post-discovery { padding:15px 17px; }
 .post-sidebar { gap:10px; }.post-sidebar h2 { font-size:18px; margin:8px 0 10px; }
 .post-sidebar p { font-size:11px; line-height:1.75; margin:9px 0; }
 .post-counter { margin:15px 0; padding:12px 0; }.post-counter b { font-size:25px; }
 .post-feedback { font-size:11px; min-height:31px; margin-top:7px; }
 .post-discovery h3 { font-size:14px; }.post-letter { padding:14px 12px; }.post-letter p { font-size:15px; line-height:1.9; }
 .post-map-thumb { max-height:80px; width:122px; }
}
@media(prefers-reduced-motion:reduce) { #post-home *,#post-home { animation:none!important; transition:none!important; } #post-home[data-puzzle="complete"] .post-secret-star,#post-home[data-hunt="found"] .post-found-map { opacity:1; } #post-home[data-hunt="found"] .post-box-lid { transform:translate(-7px,-27px) rotate(-15deg); } }
