/* v2 globe -> picker transition states */
:root { --cream:#efe9dc; --ink:#2e2418; --gold:#c3a466; --gold-soft:#dcc48f; --sepia:#7a5130; --sea:#566870; --frame:#9a804a; }
#stage { transition: none; }
body.is-diving .panel, body.is-diving .compass, body.is-wheel .panel, body.is-wheel .compass, body.is-meshing .panel, body.is-meshing .compass { opacity: 0; transition: opacity 500ms ease; pointer-events: none; }
body.is-result .card, body.is-result .wheel-screen, body.is-result .mesh { visibility: hidden; }

/* debug panel (?debug=1) */
.dbg { position: fixed; left: 10px; bottom: 10px; z-index: 100; width: min(360px, calc(100vw - 20px)); background: rgba(12,12,10,.92); color: #efe9dc; font: 12px/1.4 ui-monospace, Menlo, Consolas, monospace; border: 1px solid rgba(195,164,102,.6); border-radius: 8px; padding: 10px; }
.dbg summary { cursor: pointer; color: var(--gold-soft); }
.dbg label { display: block; margin: 8px 0 3px; color: #b7aa90; }
.dbg input, .dbg select { width: 100%; background: #1d1c18; color: #efe9dc; border: 1px solid #5a4e40; border-radius: 4px; padding: 5px; font: inherit; }
.dbg .row { display: flex; gap: 6px; margin-top: 9px; }
.dbg button { flex: 1; background: var(--gold); color: #0c0c0a; border: 0; border-radius: 4px; padding: 6px; font: inherit; cursor: pointer; }
.dbg button.alt { background: #3a3428; color: #efe9dc; }
.dbg .info { margin-top: 8px; color: #cfc3a8; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 740px) { body.crest-hide .crest, body.is-spinning .crest, body.is-landed .crest { opacity: 0; transition: opacity 300ms ease; } }
