/* ===================== Allhomes at Work ===================== */
body:not(.ns) .ah-bar{background:var(--navy);color:#fff;border-bottom:4px solid var(--gold)}
body:not(.ns) .ah-bar .wrap{display:flex;align-items:center;gap:10px 14px;padding-block:10px;flex-wrap:wrap}
body:not(.ns) .ah-id{display:flex;align-items:center;gap:10px;min-width:0}
body:not(.ns) .ah-id svg{flex:none}
body:not(.ns) .ah-an{font-family:var(--display);font-weight:800;font-size:18px;line-height:1.05}
body:not(.ns) .ah-at{font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#e8dcb8}
body:not(.ns) .ah-sp{flex:1}
body:not(.ns) .ah-barbtn{border:1.5px solid #fff;background:transparent;color:#fff;font-family:var(--mono);font-size:12.5px;padding:6px 11px;border-radius:3px;font-weight:600}
body:not(.ns) .ah-barbtn:hover{background:#fff;color:var(--navy)}
body:not(.ns) .ah-back{font-family:var(--mono);font-size:12px;color:#ddd;text-decoration:none}
body:not(.ns) .ah-back:hover{text-decoration:underline}
body:not(.ns) .ah-kbd,body:not(.ns) .ah-play kbd,body:not(.ns) .ah-teams kbd{display:inline-block;min-width:1.6em;text-align:center;font-family:var(--mono);font-size:11px;line-height:1.45;padding:0 4px;border:1px solid rgba(0,0,0,.25);border-bottom-width:2px;border-radius:3px;background:rgba(255,255,255,.75);color:var(--ink);font-weight:600}

/* ---------- brief ---------- */
body:not(.ns) .ah-brief{max-width:820px;padding-block:14px 28px}
body:not(.ns) .ah-bcard{background:var(--card);border:1px solid var(--rule);overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:stretch}
body:not(.ns) .ah-hero{display:grid;gap:10px;align-content:start;background:#2a2e33;padding:12px}
body:not(.ns) .ah-heromap{background:#fff;border-radius:4px;overflow:hidden;line-height:0}
body:not(.ns) .ah-heromap .ah-map{border:0}
body:not(.ns) .ah-heromon{background:#16181b;border-radius:6px;padding:6px}
body:not(.ns) .ah-mini{background:#fff;border-radius:2px;overflow:hidden;height:100%}
body:not(.ns) .ah-mini .ah-sitebar{padding:5px 8px}
body:not(.ns) .ah-th.ah-th-mini{height:70px}
body:not(.ns) .ah-miniprice{font-family:var(--display);font-weight:800;font-size:17px;padding:4px 8px 0;color:#16302e}
body:not(.ns) .ah-miniaddr{font-size:11px;padding:0 8px 8px;color:#4a5a58;line-height:1.3}
body:not(.ns) .ah-bbody{padding:16px 18px 14px;min-width:0}
body:not(.ns) .ah-kicker{font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
body:not(.ns) .ah-h1{font-family:var(--display);font-weight:800;font-size:clamp(28px,3.6vw,38px);letter-spacing:-.02em;line-height:1.02;margin:4px 0 8px}
body:not(.ns) .ah-tagline{margin:0 0 12px;font-size:15px;line-height:1.4;max-width:44ch}
body:not(.ns) .ah-sub{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px}
body:not(.ns) .ah-small{font-family:var(--mono);font-size:12px;color:var(--muted);margin:0 0 14px}
body:not(.ns) .ah-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
body:not(.ns) .ah-bcard .ah-actions{gap:12px;align-items:center;margin:0 0 20px}
body:not(.ns) .ah-bcard .ah-actions .btn{font-size:16px;padding:10px 18px}
body:not(.ns) .ah-bcard .ah-small{margin:0}
body:not(.ns) .sticky.ah-note{font-size:19px;padding:12px 14px 12px;margin:0 0 16px;max-width:400px}
body:not(.ns) .sticky.ah-note small{font-size:16px;margin-top:4px}
body:not(.ns) .ah-how{font-size:13.5px}
body:not(.ns) .ah-how summary{cursor:pointer;font-family:var(--mono);font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--muted);padding:4px 0}
body:not(.ns) .ah-how summary:hover{color:var(--ink)}
body:not(.ns) .ah-how ul{margin:4px 0 2px;padding-left:18px;display:grid;gap:5px}
/* first-play hint above the boss key */
body:not(.ns) .ah-hint{margin:0 0 6px;background:#fff4c7;border:1.5px dashed var(--gold);border-radius:6px;padding:6px 10px;font-size:13px;line-height:1.35;color:var(--ink);text-align:center}
body:not(.ns) .ah-hint[hidden]{display:none}

/* ---------- play layout ---------- */
body:not(.ns) .ah-play{padding-block:14px 28px;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);grid-template-areas:"hud hud" "floor desk" "boss desk" "live live";gap:12px 18px;align-items:start;outline:none}
body:not(.ns) .ah-hud{grid-area:hud;display:grid;grid-template-columns:1.4fr 1.2fr 1fr 1fr;background:var(--card);border:1px solid var(--rule);border-radius:4px}
body:not(.ns) .ah-hcell{padding:7px 12px;border-left:1px solid var(--rule);min-width:0}
body:not(.ns) .ah-hcell:first-child{border-left:0}
body:not(.ns) .ah-hcell span{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
body:not(.ns) .ah-hcell b{font-family:var(--display);font-weight:800;font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums}
body:not(.ns) .ah-strk{display:flex;align-items:center;gap:4px}
body:not(.ns) .ah-strk i{width:20px;height:20px;border:2px solid var(--ink);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-family:var(--body)}
body:not(.ns) .ah-strk i.on{background:var(--red);border-color:var(--red);color:#fff}
body:not(.ns) .ah-strk em{font-style:normal;font-family:var(--mono);font-size:11px;font-weight:600;color:var(--muted);margin-left:4px}

body:not(.ns) .ah-floorbox{grid-area:floor;background:var(--card);border:1px solid var(--rule);border-radius:4px;padding:10px 12px 12px}
body:not(.ns) .ah-fhead{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin-bottom:6px}
body:not(.ns) .ah-fhead b{font-family:var(--display);font-weight:800;font-size:16px}
body:not(.ns) .ah-fhead span{font-family:var(--mono);font-size:10.5px;color:var(--muted)}
body:not(.ns) .ah-map{display:block;width:100%;height:auto;border:1px solid #b9b4a8;border-radius:3px}
body:not(.ns) .ah-floor{fill:#d9dde0}
body:not(.ns) .ah-weave{stroke:#cbd0d4;stroke-width:.5}
body:not(.ns) .ah-glass{fill:#9ec5da}
body:not(.ns) .ah-roombox{fill:#efe9dc;stroke:#a9a395;stroke-width:.25}
body:not(.ns) .ah-room{font:600 1.9px var(--mono);fill:#6a675d;text-anchor:middle;letter-spacing:.06px}
body:not(.ns) .ah-room.ah-l{text-anchor:start}
body:not(.ns) .ah-pod{fill:#bfb8a8}
body:not(.ns) .ah-desk{fill:#f4efe4;stroke:#a69f8e;stroke-width:.2}
body:not(.ns) .ah-mydesk{fill:#fff4c7;stroke:var(--gold);stroke-width:.45}
body:not(.ns) .ah-mon2{fill:#3b3f44}
body:not(.ns) .ah-ini{font:700 2.1px var(--mono);fill:#7d7768;text-anchor:middle}
body:not(.ns) .ah-seat circle{fill:#fff;stroke:var(--navy);stroke-width:.6;transition:fill .15s}
body:not(.ns) .ah-seat text{font:800 1.75px var(--body);fill:var(--navy);text-anchor:middle}
body:not(.ns) .ah-seat.ah-safe circle{stroke:var(--good);stroke-dasharray:1 .6}
body:not(.ns) .ah-seat.ah-warn circle{fill:var(--amber)}
body:not(.ns) .ah-seat.ah-seen circle{fill:var(--red);stroke:#6b0d12}
body:not(.ns) .ah-seat.ah-seen text{fill:#fff}
body:not(.ns) .ah-cone{fill:rgba(242,172,53,.32);stroke:rgba(160,100,10,.7);stroke-width:.3;stroke-dasharray:1.2 .7;transition:fill .15s}
body:not(.ns) .ah-cone.ah-hot{fill:rgba(209,32,43,.38);stroke:#8d1018}
body:not(.ns) .ah-nose{fill:#7b1d4a}
body:not(.ns) .ah-nbody{fill:#7b1d4a;stroke:#fff;stroke-width:.5}
body:not(.ns) .ah-nlab{font:800 2.5px var(--body);fill:#fff;text-anchor:middle}
body:not(.ns) .ah-cup path,body:not(.ns) .ah-cup rect{fill:#fff;stroke:#3b2a1f;stroke-width:.3}
body:not(.ns) #ahfeet ellipse{fill:#5d3b4c}
body:not(.ns) .ah-bubble rect{fill:#fff;stroke:#7b1d4a;stroke-width:.4}
body:not(.ns) .ah-bubble text{font:700 2.4px var(--body);fill:#7b1d4a;text-anchor:middle}

body:not(.ns) .ah-prox{margin-top:10px}
body:not(.ns) .ah-ptrack{position:relative;height:26px;border-radius:13px;background:linear-gradient(90deg,#e7efe5 0%,#f6ead0 55%,#f5d1cd 100%);border:1px solid var(--rule)}
body:not(.ns) .ah-ptrack::before{content:'far';position:absolute;left:10px;top:4px;font:600 10px var(--mono);color:var(--muted)}
body:not(.ns) .ah-ptrack::after{content:'behind you';position:absolute;right:10px;top:4px;font:600 10px var(--mono);color:var(--bad)}
body:not(.ns) .ah-pcup{position:absolute;top:1px;left:0;width:22px;height:22px;transition:left .12s linear;z-index:1}
body:not(.ns) .ah-pcup svg{width:22px;height:22px;display:block}
body:not(.ns) .ah-pcup svg path,body:not(.ns) .ah-pcup svg rect{fill:#fff;stroke:#3b2a1f;stroke-width:.8}
body:not(.ns) .ah-pstat{margin:6px 0 0;font-family:var(--mono);font-size:12px;color:var(--muted);min-height:1.5em}
body:not(.ns) .ah-pstat b{color:var(--ink)}
body:not(.ns) .ah-pstat.ah-alarm,body:not(.ns) .ah-pstat.ah-alarm b{color:var(--bad);font-weight:700}
body:not(.ns) .ah-doing{margin:4px 0 0;font-size:13px;font-style:italic;color:var(--ink);min-height:2.6em}

body:not(.ns) .ah-bosswrap{grid-area:boss}
body:not(.ns) .ah-boss{width:100%;min-height:62px;border:2px solid var(--ink);background:var(--ink);color:#fff;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:10px;font-family:var(--display);font-weight:800;font-size:19px;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;padding:6px 12px}
body:not(.ns) .ah-boss .ah-bk{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;opacity:.8}
body:not(.ns) .ah-boss:hover{background:#000}
body:not(.ns) .ah-boss[aria-pressed="true"]{background:#1e6b41;border-color:#1e6b41}
body:not(.ns) .ah-boss:active{transform:translateY(1px)}
body:not(.ns) .ah-live{grid-area:live;margin:0;font-family:var(--mono);font-size:12.5px;color:var(--muted);text-align:center;min-height:1.5em}

/* ---------- monitor ---------- */
body:not(.ns) .ah-deskbox{grid-area:desk;min-width:0}
body:not(.ns) .ah-mon{background:#1a1c1f;border-radius:10px;padding:10px 10px 0;box-shadow:0 10px 26px rgba(0,0,0,.2)}
body:not(.ns) .ah-mon::after{content:'';display:block;width:30%;height:14px;margin:0 auto;background:linear-gradient(#2a2d31,#1a1c1f);clip-path:polygon(18% 0,82% 0,100% 100%,0 100%)}
body:not(.ns) .ah-screen{position:relative;background:#fff;border-radius:3px;overflow:hidden;min-height:470px;height:510px;display:flex;flex-direction:column}
body:not(.ns) .ah-screen.ah-shake{animation:ahShake .4s}
@keyframes ahShake{20%{transform:translateX(-5px)}40%{transform:translateX(5px)}60%{transform:translateX(-3px)}80%{transform:translateX(2px)}}
body:not(.ns) .ah-taskbar{display:flex;align-items:center;gap:8px;background:#2b2d31;color:#d7d9dc;margin:0 -10px;padding:6px 10px;font-size:12px;flex-wrap:wrap}
body:not(.ns) .ah-tchip{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
body:not(.ns) .ah-tlogo{display:inline-flex;width:18px;height:18px;border-radius:4px;background:#5b5fc7;color:#fff;font:800 11px var(--body);align-items:center;justify-content:center;font-style:normal;flex:none}
body:not(.ns) .ah-mute{border:1.5px solid #6c6f75;background:#3a3d42;color:#fff;border-radius:4px;padding:3px 8px;font-size:12px;font-weight:700}
body:not(.ns) .ah-mute.on{background:#5b5fc7;border-color:#8b8fe6}
body:not(.ns) .ah-mute kbd{background:#e9e9ee}
body:not(.ns) .ah-tcam{font-family:var(--mono);font-size:11px;color:#9da1a7}

/* AllHouses(ish): a property site, definitely not that one */
body:not(.ns) .ah-site{display:flex;flex-direction:column;flex:1;min-height:0;color:#16302e;font-size:14px}
body:not(.ns) .ah-sitebar{display:flex;align-items:center;gap:10px;background:#0e6f6a;color:#fff;padding:7px 12px;flex-wrap:wrap}
body:not(.ns) .ah-logo{display:inline-flex;align-items:center;gap:6px;font-family:var(--display);font-weight:800;font-size:18px;letter-spacing:-.02em;color:#fff;line-height:1}
body:not(.ns) .ah-logo sup{font-family:var(--hand);font-size:15px;font-weight:700;color:#ffd7a8;vertical-align:baseline;position:relative;top:-6px;letter-spacing:0}
body:not(.ns) .ah-logoroof{display:inline-block;width:18px;height:14px;background:#ff8f6b;clip-path:polygon(50% 0,100% 45%,86% 45%,86% 100%,14% 100%,14% 45%,0 45%);font-style:normal}
body:not(.ns) .ah-search{flex:1;min-width:120px;background:#fff;color:#5b6b69;border-radius:14px;padding:3px 10px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.ns) .ah-short{font-family:var(--mono);font-size:11.5px;background:rgba(255,255,255,.15);padding:3px 8px;border-radius:12px}
body:not(.ns) .ah-chips{display:flex;gap:6px;padding:7px 12px;overflow:hidden;white-space:nowrap;border-bottom:1px solid #e3ecea;background:#f5faf9}
body:not(.ns) .ah-chips span{font-size:11px;border:1px solid #c4d7d4;border-radius:12px;padding:2px 8px;color:#35524f;background:#fff;flex:none}
body:not(.ns) .ah-cardwrap{flex:1;padding:10px 12px 4px;min-height:0}
body:not(.ns) .ah-card{border:1px solid #d6e2e0;border-radius:6px;overflow:hidden;background:#fff;box-shadow:0 2px 8px rgba(14,60,58,.08)}
body:not(.ns) .ah-card.ah-isSaved{border-color:#e05a47;box-shadow:0 0 0 2px rgba(224,90,71,.25)}
body:not(.ns) .ah-thwrap{position:relative}
body:not(.ns) .ah-tag{position:absolute;left:8px;top:8px;background:#16302e;color:#fff;font-size:10.5px;font-weight:700;padding:2px 7px;border-radius:3px;letter-spacing:.02em}
body:not(.ns) .ah-savedtag{position:absolute;right:8px;top:8px;background:#e05a47;color:#fff;font-size:11px;font-weight:700;padding:2px 8px;border-radius:3px}
body:not(.ns) .ah-count{position:absolute;right:8px;bottom:6px;background:rgba(0,0,0,.55);color:#fff;font:600 10.5px var(--mono);padding:1px 6px;border-radius:3px}
body:not(.ns) .ah-cbody{padding:9px 12px 10px}
body:not(.ns) .ah-price{font-family:var(--display);font-weight:800;font-size:22px;line-height:1.1;letter-spacing:-.01em}
body:not(.ns) .ah-addr{font-size:13px;color:#3d5654}
body:not(.ns) .ah-feat{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:#3d5654;margin:4px 0 6px;font-weight:600}
body:not(.ns) .ah-feat span+span::before{content:'·';margin-right:12px;color:#9bb3b0}
body:not(.ns) .ah-head{font-family:var(--body);font-weight:700;font-size:15px;line-height:1.25;margin:0 0 3px;color:#0d4a46}
body:not(.ns) .ah-blurb{margin:0 0 6px;font-size:13.5px;line-height:1.42}
body:not(.ns) .ah-fine{margin:0;font-family:var(--mono);font-size:10.5px;line-height:1.4;color:#6f7d7b;border-top:1px dashed #d6e2e0;padding-top:5px}
body:not(.ns) .ah-fine span{text-transform:uppercase;letter-spacing:.08em;font-weight:600}
body:not(.ns) .ah-nav{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:8px;padding:6px 12px 12px}
body:not(.ns) .ah-navbtn,body:not(.ns) .ah-save{min-height:42px;border-radius:6px;font-weight:700;font-size:14px;touch-action:manipulation}
body:not(.ns) .ah-navbtn{border:1.5px solid #0e6f6a;background:#fff;color:#0e6f6a}
body:not(.ns) .ah-navbtn:hover{background:#e7f3f1}
body:not(.ns) .ah-save{border:1.5px solid #e05a47;background:#fff;color:#b8382a}
body:not(.ns) .ah-save:hover{background:#fdeeea}
body:not(.ns) .ah-save.on{background:#e05a47;color:#fff}
body:not(.ns) .ah-save kbd{margin-left:4px}

/* the spreadsheet */
body:not(.ns) .ah-sheet{display:flex;flex-direction:column;flex:1;min-height:0;font-family:'Segoe UI',system-ui,sans-serif;font-size:12px;color:#222;background:#fff}
body:not(.ns) .ah-xtitle{background:#1e6b41;color:#fff;padding:6px 10px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
body:not(.ns) .ah-xtitle b{font-weight:600;font-size:12.5px}
body:not(.ns) .ah-xtitle span{opacity:.8;font-size:11px}
body:not(.ns) .ah-xribbon{display:flex;gap:14px;padding:5px 10px;background:#f3f3f3;border-bottom:1px solid #d6d6d6;overflow:hidden;white-space:nowrap}
body:not(.ns) .ah-xribbon span.on{border-bottom:2px solid #1e6b41;font-weight:600}
body:not(.ns) .ah-xfx{display:flex;gap:8px;align-items:center;padding:4px 8px;border-bottom:1px solid #d6d6d6;font-family:var(--mono);font-size:11px;min-width:0}
body:not(.ns) .ah-xfx i{font-style:italic;color:#666;border-right:1px solid #ccc;padding-right:8px}
body:not(.ns) .ah-xfx span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.ns) .ah-xgrid{flex:1;min-height:0;display:grid;grid-template-columns:24px minmax(0,1.7fr) minmax(0,.6fr) minmax(0,.75fr) minmax(0,.7fr) minmax(0,1.3fr);align-content:start;overflow:hidden}
body:not(.ns) .ah-xh{background:#f0f0f0;border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;text-align:center;color:#555;font-size:11px;padding:2px 0}
body:not(.ns) .ah-xc{border-right:1px solid #e3e3e3;border-bottom:1px solid #e3e3e3;padding:4px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:cell}
body:not(.ns) .ah-xhead{font-weight:700;background:#e2efe7}
body:not(.ns) .ah-xc.on{outline:2px solid #1e6b41;outline-offset:-2px;background:#f2f8f4}
body:not(.ns) .ah-xtabs{display:flex;gap:2px;background:#f0f0f0;border-top:1px solid #d6d6d6;padding:0 8px;font-size:11px;overflow:hidden;white-space:nowrap}
body:not(.ns) .ah-xtabs span{padding:4px 10px}
body:not(.ns) .ah-xtabs span.on{background:#fff;color:#1e6b41;font-weight:700;border-bottom:2px solid #1e6b41}

/* Teams question */
body:not(.ns) .ah-teams{position:absolute;left:10px;right:10px;top:10px;z-index:4;background:#2d2c3c;color:#fff;border-radius:8px;padding:10px 12px 10px;box-shadow:0 12px 30px rgba(0,0,0,.4);border-top:4px solid #7f85f5;animation:ahDrop .2s ease-out}
@keyframes ahDrop{from{transform:translateY(-14px);opacity:0}}
body:not(.ns) .ah-qhead{display:flex;align-items:center;gap:9px}
body:not(.ns) .ah-qhead div{flex:1;min-width:0;line-height:1.2}
body:not(.ns) .ah-qhead b{display:block;font-size:13px}
body:not(.ns) .ah-qhead div span{font-size:11px;color:#b7b8d6}
body:not(.ns) .ah-qav{width:30px;height:30px;border-radius:50%;background:#7f85f5;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:12px;flex:none}
body:not(.ns) .ah-qsec{font:700 15px var(--mono);color:#ffd27a}
body:not(.ns) .ah-qq{margin:8px 0 6px;font-size:15px;font-weight:700;line-height:1.3}
body:not(.ns) .ah-qtime{height:5px;background:#4a4960;border-radius:3px;overflow:hidden;margin-bottom:8px}
body:not(.ns) .ah-qtime i{display:block;height:100%;background:#ffd27a;width:100%}
body:not(.ns) .ah-qunmute{width:100%;min-height:40px;border:0;border-radius:6px;background:#c4314b;color:#fff;font-weight:800;font-size:14px;margin-bottom:6px}
body:not(.ns) .ah-qunmute:hover{background:#a3243b}
body:not(.ns) .ah-qlive{margin:0 0 6px;font-size:12px;color:#a9e6b8;font-family:var(--mono)}
body:not(.ns) .ah-qopts{display:grid;gap:5px}
body:not(.ns) .ah-qopt{text-align:left;border:1px solid #5b5a74;background:#3b3a4f;color:#fff;border-radius:5px;padding:6px 9px;font-size:13px;line-height:1.3}
body:not(.ns) .ah-qopt:hover{background:#4c4b66}
body:not(.ns) .ah-qnote{margin:6px 0 0;font-size:12px;color:#ffb4b4;min-height:0}
body:not(.ns) .ah-qnote:empty{display:none}

/* overlays on the screen */
body:not(.ns) .ah-over{position:absolute;z-index:5}
body:not(.ns) .ah-over.ah-toast{left:10px;right:10px;bottom:64px;box-shadow:0 6px 18px rgba(0,0,0,.3);background:rgba(29,35,32,.94);color:#fff;border-radius:6px;padding:9px 12px;font-size:13px;line-height:1.35}
body:not(.ns) .ah-over.ah-toast p{margin:0 0 3px}
body:not(.ns) .ah-over.ah-toast small{color:#f6d68b;font-size:12px}
body:not(.ns) .ah-over.ah-pausebox,body:not(.ns) .ah-over.ah-endbox{inset:0;background:rgba(22,24,27,.9);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;gap:12px}
body:not(.ns) .ah-over.ah-pausebox .btn{border-color:#fff;background:#fff;color:var(--ink)}
body:not(.ns) .ah-endbox p{margin:0;max-width:30em;font-size:18px;line-height:1.35}
body:not(.ns) .ah-endbox .ah-endk{font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#b7b8d6}
body:not(.ns) .ah-endbox small{font-family:var(--mono);font-size:12px;color:#c9c9c9}

/* ---------- CSS thumbnails ---------- */
body:not(.ns) .ah-th{position:relative;height:150px;overflow:hidden;background:linear-gradient(var(--sky),#eef4f7)}
body:not(.ns) .ah-th i{position:absolute;display:block;font-style:normal}
body:not(.ns) .ah-th b{display:block}
body:not(.ns) .ah-grass{left:0;right:0;bottom:0;height:24%;background:#8db06a}
body:not(.ns) .ah-roof{left:24%;width:52%;top:20%;height:24%;background:var(--roof);clip-path:polygon(50% 0,100% 100%,0 100%)}
body:not(.ns) .ah-wall{left:29%;width:42%;top:44%;height:33%;background:var(--wall);display:flex !important;align-items:flex-end;justify-content:space-around;padding:0 6%;box-shadow:inset 0 -3px 0 rgba(0,0,0,.12)}
body:not(.ns) .ah-win{width:20%;height:42%;align-self:center;background:linear-gradient(135deg,#eaf5fb 40%,#bcd7e6 40%);border:2px solid rgba(0,0,0,.28)}
body:not(.ns) .ah-door{width:14%;height:64%;background:#5b4636;border:1px solid rgba(0,0,0,.3);border-bottom:0}
body:not(.ns) .ah-k-mansion .ah-roof{left:10%;width:80%;height:20%;top:24%}
body:not(.ns) .ah-k-mansion .ah-wall{left:14%;width:72%}
body:not(.ns) .ah-k-mansion .ah-win{width:11%}
body:not(.ns) .ah-k-mansion .ah-door{width:9%}
body:not(.ns) .ah-tower{left:33%;width:34%;top:7%;bottom:22%;background-color:var(--wall);border-top:5px solid var(--roof);background-image:linear-gradient(90deg,var(--wall) 28%,transparent 28% 72%,var(--wall) 72%),linear-gradient(var(--wall) 30%,#d9eaf3 30% 72%,var(--wall) 72%);background-size:14px 100%,100% 12px}
body:not(.ns) .ah-tower.ah-back{left:16%;width:34%;top:5%}
body:not(.ns) .ah-tower.ah-front{left:40%;width:46%;top:22%;filter:brightness(.9);box-shadow:-6px 0 12px rgba(0,0,0,.2)}
body:not(.ns) .ah-tw{top:30%;bottom:22%;width:21%;clip-path:polygon(50% 0,100% 24%,100% 100%,0 100%,0 24%);background:linear-gradient(#e6f2f8,#e6f2f8) 50% 46%/42% 16% no-repeat,linear-gradient(#5b4636,#5b4636) 50% 100%/26% 28% no-repeat,linear-gradient(var(--roof) 0 24%,var(--wall) 24%)}
body:not(.ns) .ah-tw:nth-child(2){left:18%}
body:not(.ns) .ah-tw:nth-child(3){left:39.5%;filter:brightness(.95)}
body:not(.ns) .ah-tw:nth-child(4){left:61%}
body:not(.ns) .ah-k-coast{background:linear-gradient(#7fc4e6,#d8eef7)}
body:not(.ns) .ah-k-coast .ah-grass{background:#ead7a4}
body:not(.ns) .ah-sea{left:0;right:0;bottom:24%;height:16%;background:repeating-linear-gradient(90deg,#2f87ad 0 18px,#3a96bc 18px 36px);border-top:2px solid #e8f6fb}
body:not(.ns) .ah-k-coast .ah-roof{left:40%;width:46%;top:22%}
body:not(.ns) .ah-k-coast .ah-wall{left:44%;width:38%;top:46%;height:31%}
body:not(.ns) .ah-k-land .ah-grass{display:none}
body:not(.ns) .ah-dirt{left:0;right:0;bottom:0;height:40%;background:repeating-linear-gradient(170deg,#b38a5a 0 10px,#a97f51 10px 20px)}
body:not(.ns) .ah-peg{left:22%;bottom:30%;width:3px;height:16%;background:#ff7a1a}
body:not(.ns) .ah-peg::after{content:'';position:absolute;top:0;left:3px;width:10px;height:6px;background:#ff7a1a}
body:not(.ns) .ah-peg.ah-p2{left:48%;bottom:22%}
body:not(.ns) .ah-peg.ah-p3{left:70%;bottom:33%}
body:not(.ns) .ah-k-lodge{background:linear-gradient(#8fb2cf,#dfe9f1)}
body:not(.ns) .ah-k-lodge .ah-grass{background:#f1f4f6;height:28%}
body:not(.ns) .ah-mtn{left:-10%;right:-10%;top:18%;bottom:20%;background:linear-gradient(#ffffff 0 22%,#9fb1c0 22%);clip-path:polygon(0 100%,30% 10%,46% 46%,62% 0,100% 100%)}
body:not(.ns) .ah-aframe{left:34%;width:32%;top:36%;bottom:22%;clip-path:polygon(50% 0,100% 100%,0 100%);background:linear-gradient(#e6f2f8,#e6f2f8) 50% 68%/26% 20% no-repeat,linear-gradient(var(--roof) 0 20%,var(--wall) 20%)}
/* decorations */
body:not(.ns) .ah-d-skip{left:5%;bottom:12%;width:17%;height:11%;background:#e8b423;clip-path:polygon(0 0,100% 0,88% 100%,12% 100%)}
body:not(.ns) .ah-d-crane{right:8%;top:6%;width:4px;height:68%;background:#e5a92a}
body:not(.ns) .ah-d-crane::before{content:'';position:absolute;top:0;right:-14px;width:64px;height:4px;background:#e5a92a}
body:not(.ns) .ah-d-crane::after{content:'';position:absolute;top:4px;left:-34px;width:1px;height:26px;background:#555}
body:not(.ns) .ah-d-sign{right:7%;bottom:14%;width:58px;height:28px;background:#fff;border:2px solid #d1202b;box-shadow:0 10px 0 -8px #6b4b3a}
body:not(.ns) .ah-d-sign::after{content:'FOR SALE';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:800 9px var(--body);color:#d1202b}
body:not(.ns) .ah-th:has(.ah-d-crack) .ah-wall,body:not(.ns) .ah-th:has(.ah-d-crack) .ah-roof{transform:rotate(-3deg);transform-origin:20% 100%}
body:not(.ns) .ah-d-crack{left:51%;top:47%;width:2px;height:24%;background:#2c2c2c;transform:rotate(18deg);box-shadow:3px 8px 0 #2c2c2c}
body:not(.ns) .ah-d-you{left:56%;top:28%;background:#d1202b;color:#fff;font:800 9px var(--body) !important;padding:2px 5px;border-radius:3px}
body:not(.ns) .ah-d-you::after{content:'YOU LIVE HERE'}
body:not(.ns) .ah-d-tree{left:5%;bottom:17%;width:18%;height:40%;background:radial-gradient(circle at 50% 36%,#4f7a4a 0 44%,transparent 45%),linear-gradient(#6b4b3a,#6b4b3a) 50% 100%/10% 45% no-repeat}
body:not(.ns) .ah-d-magpie{right:10%;top:20%;width:20px;height:11px;border-radius:50% 60% 40% 50%;background:linear-gradient(90deg,#111 0 42%,#fff 42% 62%,#111 62%)}
body:not(.ns) .ah-d-magpie::after{content:'!';position:absolute;right:-9px;top:-12px;font:800 13px var(--body);color:#d1202b}
body:not(.ns) .ah-d-plane{left:18%;top:10%;width:44px;height:7px;border-radius:4px;background:#f3f6f8;box-shadow:-60px 1px 0 -2px rgba(255,255,255,.8),-30px 1px 0 -2px rgba(255,255,255,.8)}
body:not(.ns) .ah-d-plane::before{content:'';position:absolute;left:16px;top:-9px;width:8px;height:25px;background:#cfd8de;transform:skewX(-35deg)}
body:not(.ns) .ah-d-plane::after{content:'';position:absolute;left:1px;top:-7px;width:6px;height:9px;background:#cfd8de}
body:not(.ns) .ah-d-solar{left:38%;top:31%;width:22%;height:7%;background:repeating-linear-gradient(90deg,#1d3557 0 7px,#7d9cc4 7px 8px);transform:skewX(-25deg)}
body:not(.ns) .ah-d-lake{left:0;right:0;bottom:0;height:16%;background:repeating-linear-gradient(90deg,#4f9b7e 0 14px,#5aa78a 14px 28px)}
body:not(.ns) .ah-d-note{left:8%;bottom:20%;background:#222;color:#fff;font:800 8px var(--mono) !important;padding:2px 4px;transform:rotate(-6deg)}
body:not(.ns) .ah-d-note::after{content:'VENUE CLOSED'}

/* ---------- result ---------- */
body:not(.ns) .ah-result .verdict p.ah-payline{font-weight:600}
body:not(.ns) .ah-ownline{background:#fff4c7;border-left:4px solid var(--gold);padding:6px 10px}
body:not(.ns) .ah-report{background:var(--card);border:1px solid var(--rule);border-radius:6px;overflow:hidden}
body:not(.ns) .ah-rh{background:#0e6f6a;color:#fff;padding:10px 16px;font-family:var(--display);font-weight:800;font-size:18px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body:not(.ns) .ah-logo-sm{font-size:15px}
body:not(.ns) .ah-rb{padding:12px 16px 16px}
body:not(.ns) .ah-slist{list-style:none;margin:0;padding:0;display:grid;gap:8px}
body:not(.ns) .ah-slist li{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:start;border-bottom:1px solid var(--rule);padding-bottom:8px}
body:not(.ns) .ah-th.ah-th-sm{height:52px;border-radius:3px}
body:not(.ns) .ah-th-sm .ah-tag,body:not(.ns) .ah-th-sm .ah-d-sign::after,body:not(.ns) .ah-th-sm .ah-d-you,body:not(.ns) .ah-th-sm .ah-d-note,body:not(.ns) .ah-th-sm .ah-d-crane::before,body:not(.ns) .ah-th-sm .ah-d-crane::after,body:not(.ns) .ah-th-mini .ah-d-crane::before{display:none}
body:not(.ns) .ah-th-sm .ah-d-sign{width:16px;height:10px}
body:not(.ns) .ah-th-sm .ah-d-plane{transform:scale(.5)}
body:not(.ns) .ah-sl1{font-size:14px;line-height:1.3}
body:not(.ns) .ah-sl2{font-size:13px;color:var(--muted);line-height:1.35;margin-top:2px}
body:not(.ns) .ah-vt{display:inline-block;font-family:var(--mono);font-size:10.5px;font-weight:600;padding:1px 6px;border-radius:3px;border:1.5px solid;white-space:nowrap}
body:not(.ns) .ah-vgood{color:var(--good);border-color:var(--good)}
body:not(.ns) .ah-vok{color:#6a5a1f;border-color:#a8923f}
body:not(.ns) .ah-vtrap{color:var(--bad);border-color:var(--bad);background:#fbece8}
body:not(.ns) .ah-vown{color:var(--navy);border-color:var(--navy);background:#fff4c7}
body:not(.ns) .ah-empty{margin:0;color:var(--muted);font-style:italic}
body:not(.ns) .ah-missed{font-size:13.5px;background:var(--paper);border:1px dashed var(--rule);padding:7px 10px;margin:10px 0 0}
body:not(.ns) .ah-items{margin:10px 0 0;padding-left:18px;font-size:13px;color:var(--muted);display:grid;gap:3px}

/* ---------- responsive ---------- */
@media (max-width:640px){
  body:not(.ns) .ah-bcard{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:760px){
  body:not(.ns) .ah-play{grid-template-columns:minmax(0,1fr);grid-template-areas:"hud" "floor" "desk" "live" "boss";gap:10px;padding-block:10px 16px}
  body:not(.ns) .ah-hud{grid-template-columns:repeat(4,minmax(0,1fr))}
  body:not(.ns) .ah-hcell{padding:5px 7px}
  body:not(.ns) .ah-hcell span{font-size:8.5px;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body:not(.ns) .ah-hcell b{font-size:17px}
  body:not(.ns) .ah-strk i{width:15px;height:15px;font-size:9px;border-width:1.5px}
  body:not(.ns) .ah-strk em{display:none}
  body:not(.ns) .ah-floorbox{padding:8px}
  body:not(.ns) .ah-fhead{display:none}
  body:not(.ns) .ah-floorbox .ah-map{height:150px;border:0;background:#d9dde0}
  body:not(.ns) .ah-play{padding-block:6px 10px}
  body:not(.ns) .ah-prox{display:flex;align-items:center;gap:8px;margin-top:6px}
  body:not(.ns) .ah-ptrack{flex:0 0 38%;height:22px}
  body:not(.ns) .ah-ptrack::before,body:not(.ns) .ah-ptrack::after{display:none}
  body:not(.ns) .ah-pcup{width:20px;height:20px;top:0}
  body:not(.ns) .ah-pcup svg{width:20px;height:20px}
  body:not(.ns) .ah-pstat{margin:0;font-size:11px;line-height:1.3}
  body:not(.ns) .ah-doing{font-size:12px;min-height:0;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body:not(.ns) .ah-mon{padding:6px 6px 0;border-radius:8px}
  body:not(.ns) .ah-mon::after{display:none}
  body:not(.ns) .ah-taskbar{margin:0 -6px;padding:5px 8px}
  body:not(.ns) .ah-tcam{display:none}
  body:not(.ns) .ah-screen{min-height:0;height:398px}
  body:not(.ns) .ah-th{height:84px}
  body:not(.ns) .ah-screen .ah-sitebar{padding:5px 10px}
  body:not(.ns) .ah-logo{font-size:16px}
  body:not(.ns) .ah-cbody{padding:7px 10px 8px}
  body:not(.ns) .ah-feat{margin:2px 0 4px}
  body:not(.ns) .ah-head{font-size:14px}
  body:not(.ns) .ah-navbtn,body:not(.ns) .ah-save{min-height:44px}
  body:not(.ns) .ah-chips{display:none}
  body:not(.ns) .ah-search{display:none}
  body:not(.ns) .ah-cardwrap{padding:8px 8px 2px}
  body:not(.ns) .ah-price{font-size:19px}
  body:not(.ns) .ah-blurb{font-size:12.5px;line-height:1.38;margin-bottom:4px}
  body:not(.ns) .ah-nav{padding:6px 8px 8px}
  body:not(.ns) .ah-save kbd,body:not(.ns) .ah-mute kbd,body:not(.ns) .ah-qunmute kbd,body:not(.ns) .ah-qopt kbd{display:none}
  body:not(.ns) .ah-bosswrap{position:sticky;bottom:0;z-index:6;padding:4px 0 max(4px,env(safe-area-inset-bottom,0px));background:var(--ground)}
  body:not(.ns) .ah-boss{min-height:58px;font-size:18px}
  body:not(.ns) .ah-boss kbd{display:none}
  body:not(.ns) .ah-heromon{display:none}
}
@media (max-width:520px){
  body:not(.ns) .ah-at{display:none}
  body:not(.ns) .ah-an{font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  body:not(.ns) .ah-screen.ah-shake,body:not(.ns) .ah-teams{animation:none}
  body:not(.ns) .ah-pcup,body:not(.ns) .ah-seat circle,body:not(.ns) .ah-cone{transition:none}
}

body:not(.ns) .ah-agendawrap{margin:0 0 12px}
body:not(.ns) .ah-agenda{margin:4px 0 0;padding-left:20px;font-size:13.5px;line-height:1.35;display:grid;gap:1px}
