/* Home-only discoverables. */
#home-mystery-friend[hidden],#home-forbidden-button[hidden],#home-reef-dialog [hidden]{display:none!important}
#home-mystery-friend{flex:0 0 auto;width:82px;max-width:22vw;border:0;border-radius:14px;padding:0;background:transparent;color:inherit;cursor:pointer;transition:transform .2s ease}
#home-mystery-friend svg{display:block;width:100%;height:auto;filter:drop-shadow(0 3px 7px #e9a5d044)}
#home-mystery-friend:hover{transform:translateY(-3px) rotate(-3deg)}
#home-mystery-friend:focus-visible,#home-forbidden-button:focus-visible{outline:3px solid #ffd28b;outline-offset:4px}
.home-secret-corner{display:flex;justify-content:flex-end;margin:30px 0 0}
/* Hex's warning button intentionally ignores all custom palette colors. */
#home-forbidden-button{font:700 10px/1.2 system-ui,sans-serif;letter-spacing:.07em;background:#b91c1c!important;color:#fff!important;border:1px solid #ef4444!important;border-radius:5px;padding:6px 8px;min-height:24px;cursor:pointer}
#home-forbidden-button:hover{background:#dc2626!important}
#home-forbidden-button:active{background:#991b1b!important}
body.ptg-shell-ready #home-forbidden-button:focus-visible{outline:3px solid #fca5a5!important;outline-offset:4px}
#home-reef-dialog{box-sizing:border-box;width:min(92vw,410px);max-height:88dvh;overflow:auto;padding:22px;border:1px solid #8d80ba;border-radius:20px;background:linear-gradient(150deg,#34264b,#173747);color:#fff;text-align:center;box-shadow:0 18px 60px #0009;font-family:system-ui,sans-serif}
#home-reef-dialog::backdrop{background:#121022b8}
#home-reef-dialog.home-reef-dark{background:linear-gradient(150deg,#2c132a,#160f20);border-color:#e94b60}
#home-reef-dialog.home-reef-dark::backdrop{background:#200c17d9}
#home-reef-dialog .home-reef-art{max-width:220px;margin:0 auto;filter:drop-shadow(0 0 16px #a3dfd740)}
#home-reef-dialog.home-reef-dark .home-reef-art{filter:drop-shadow(0 0 18px #e94b604d)}
#home-reef-dialog .home-reef-art svg{display:block;width:100%;height:auto}
#home-reef-dialog .home-reef-reveal{font-size:.85rem;color:#f9c8d8;margin:8px 0;font-weight:700}
#home-reef-dialog h2{color:inherit;font-size:1.55rem;margin:8px 0}
#home-reef-dialog .home-reef-status{font-size:.9rem;color:inherit;line-height:1.5;min-height:2.5em}
#home-reef-dialog .home-reef-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}
#home-reef-dialog .home-reef-actions button{min-height:44px;padding:8px 16px;font:600 .9rem system-ui,sans-serif;color:#fff;background:#514d83;border:1px solid #a597cf;border-radius:9px;cursor:pointer}
#home-reef-dialog.home-reef-dark .home-reef-actions button{background:#71223e;border-color:#d65a74}
#home-reef-dialog button:focus-visible{outline:3px solid #ffd28b;outline-offset:2px}
@media(max-width:600px){#home-forbidden-button{min-height:44px;min-width:86px}}
@media(prefers-reduced-motion:reduce){#home-mystery-friend{transition:none}#home-mystery-friend:hover{transform:none}}
