/* Collectible artifact hunt (collectibles.js). Only shown in desktop-size walk mode. */
#examinePrompt { position:fixed; left:50%; bottom:52px; transform:translateX(-50%); z-index:8; pointer-events:none; background:rgba(248,244,234,.95); color:#201d17; border:1px solid rgba(214,173,88,.9); border-radius:999px; padding:9px 18px; font-size:14px; font-weight:650; box-shadow:0 6px 20px rgba(0,0,0,.18); white-space:nowrap; }
#examinePrompt[hidden], body:not(.walking) #examinePrompt, body.compact #examinePrompt { display:none; }
body.touch-mode.walking #examinePrompt { bottom:calc(220px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: no-preference) { #examinePrompt:not([hidden]) { animation:examine-in .18s ease-out; } }
@keyframes examine-in { from { opacity:0; transform:translate(-50%,6px); } }

#collectHud { position:fixed; top:98px; right:14px; z-index:8; display:none; align-items:center; gap:10px; background:rgba(248,244,234,.94); color:#201d17; border:1px solid rgba(73,59,39,.25); border-radius:999px; padding:6px 6px 6px 16px; font-size:13px; font-weight:650; box-shadow:0 6px 18px rgba(0,0,0,.12); white-space:nowrap; }
body.walking:not(.compact) #collectHud { display:flex; }
#collectHud .sep { color:#9a8a6a; }
#collectHud button { font:inherit; font-weight:600; border:1px solid rgba(73,59,39,.25); background:#fff; color:inherit; border-radius:999px; padding:5px 12px; cursor:pointer; }
#touchExamineBtn { background:#ffe7a8 !important; font-weight:700; }
#touchExamineBtn[hidden] { display:none; }

.ez-dialog { width:min(440px, calc(100vw - 32px)); max-height:calc(100dvh - 48px); box-sizing:border-box; padding:18px 20px 16px; border:1px solid rgba(214,173,88,.7); border-radius:14px; background:#fbf7ec; color:#201d17; box-shadow:0 18px 48px rgba(0,0,0,.28); font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:15px; line-height:1.5; }
.ez-dialog::backdrop { background:rgba(22,20,16,.38); }
.ez-dialog h2 { margin:4px 0 10px; font-size:22px; line-height:1.2; font-weight:750; }
.ez-dialog p { margin:0 0 10px; }
.ez-dialog button { font:inherit; font-size:14px; min-height:36px; padding:6px 14px; border-radius:9px; border:1px solid rgba(73,59,39,.28); background:#fff; color:#201d17; cursor:pointer; }
.ez-dialog button:focus-visible { outline:3px solid #d6ad58; outline-offset:2px; }
.ez-dialog .ez-primary { background:#2f5f8a; border-color:#2f5f8a; color:#fff; font-weight:650; }
.ez-dialog .ez-danger { background:#8a3a2b; border-color:#8a3a2b; color:#fff; font-weight:650; }
.ez-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ez-head h2 { margin:0; }
.ez-kind { font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#8a6a2a; }
.ez-lang { display:flex; gap:4px; flex:none; }
.ez-lang button { min-height:28px; padding:2px 9px; font-size:12px; font-weight:700; }
.ez-lang button[aria-pressed="true"] { background:#201d17; border-color:#201d17; color:#fff; }
.ez-scripture { margin:0 0 12px; padding:12px 14px; border-left:4px solid #d6ad58; background:#f3ead3; border-radius:0 10px 10px 0; }
.ez-scripture blockquote { margin:0 0 6px; font-size:16px; font-family:Georgia,"Times New Roman",serif; }
.ez-scripture figcaption { font-size:13px; color:#5c5140; }
.ez-message { font-weight:650; color:#2f5f8a; }
.ez-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:14px; }
.ez-points { font-weight:750; color:#8a6a2a; }
.ez-hint { margin:10px 0 0 !important; font-size:12px; color:#6b604d; text-align:right; }
body.touch-mode .ez-hint { display:none; }
.ez-summary { font-weight:650; margin-top:10px !important; }
.ez-complete { padding:8px 12px; border-radius:10px; background:#e2f2dc; color:#2c5a24; font-weight:700; }
.ez-list { list-style:none; margin:0; padding:0; display:grid; gap:4px; max-height:min(46dvh, 420px); overflow:auto; }
.ez-list li > * { display:flex; width:100%; justify-content:space-between; align-items:center; gap:10px; box-sizing:border-box; min-height:36px; padding:6px 12px; border-radius:9px; background:#f3ead3; text-align:left; }
.ez-list li:not(.found) > * { color:#8a7f6b; background:#f1ede3; }
.ez-list li.found button { border-color:rgba(214,173,88,.8); background:#fff7df; }
.ez-mark { font-weight:800; color:#8a6a2a; }
.ez-list li:not(.found) .ez-mark { color:#b3a88f; }
.ez-confirm { margin-top:14px; padding:12px; border-radius:10px; background:#f8e5df; }
.ez-confirm p { margin:0; }
.ez-confirm .ez-foot { margin-top:10px; justify-content:flex-end; }
.ez-confetti { position:fixed; inset:0; pointer-events:none; overflow:hidden; }
.ez-confetti i { position:absolute; width:7px; height:11px; border-radius:2px; will-change:transform,opacity; }
