:root{--field-shadow:0 2px 5px #162d4914,0 8px 28px #162d4915}
body:has(#game-screen:not([hidden]) .seek-field){overflow:hidden;overscroll-behavior:none}
.app:has(#game-screen:not([hidden]) .seek-field) .topbar{position:fixed;inset:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) auto auto;width:auto;height:auto;padding:0;background:none;border:0;z-index:1200}
.app:has(#game-screen:not([hidden]) .seek-field) .wordmark{display:none}
.settings-link,.field-tools summary{display:grid;place-items:center;width:46px;height:46px;background:white;border:1px solid #d6dfe7;border-radius:16px;box-shadow:var(--field-shadow);color:#173455}
.seek-field{position:fixed;inset:0;height:100dvh;z-index:20;background:#dce5e9;isolation:isolate}
.seek-field #hunt-map{position:absolute;inset:0;height:100%;width:100%;border:0;border-radius:0;z-index:0}
.seek-field .leaflet-control-attribution{margin-bottom:calc(112px + env(safe-area-inset-bottom));font-size:9px}
.seek-field .leaflet-control-zoom{margin:0 0 0 14px;top:72px;border:1px solid #c6d1da;border-radius:13px;overflow:hidden;box-shadow:var(--field-shadow)}
.field-status,.field-pending,.active-pill{position:absolute;left:max(14px,env(safe-area-inset-left));top:max(15px,env(safe-area-inset-top));padding:10px 15px;background:#183352;color:white;display:flex;align-items:center;gap:9px;border:0;border-radius:24px;font-size:13px;font-weight:700;box-shadow:var(--field-shadow)}
.field-status i{width:8px;height:8px;border-radius:50%;background:#ffa36a}.field-pending,.active-pill{top:auto;bottom:calc(130px + env(safe-area-inset-bottom));background:#fff;color:var(--ink)}.active-pill{bottom:calc(176px + env(safe-area-inset-bottom));background:#ffdcbd}
.field-tools{position:absolute;right:max(14px,env(safe-area-inset-right));top:calc(max(14px,env(safe-area-inset-top)) + 54px);z-index:3}.field-tools summary{margin-left:auto;cursor:pointer;list-style:none}.field-tools summary::-webkit-details-marker{display:none}.layer-pop{width:min(286px,85vw);margin-top:7px;padding:15px;border-radius:18px;background:white;box-shadow:var(--field-shadow);max-height:60dvh;overflow:auto}.layer-pop h2{font-size:17px;margin-bottom:7px}.layer-pop>button,.pref-row{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;border:0;border-bottom:1px solid #e5ebef;background:#fff;color:var(--ink);text-align:left;font:inherit}.layer-pop [aria-pressed]::after{content:'Uit';font-size:12px;color:#66758a}.layer-pop [aria-pressed=true]::after{content:'Aan';color:#174db4}.layer-pop .walk-panel{padding:8px 0;background:white;border:0}.layer-pop .walk-panel :is(small,p,h2){display:none}
.field-drawer{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,540px);max-height:82dvh;background:white;border-radius:25px 25px 0 0;box-shadow:0 -4px 35px #14345029;overflow:hidden;padding-bottom:max(12px,env(safe-area-inset-bottom));display:flex;flex-direction:column;z-index:2}.drawer-grip{position:relative;flex:none;display:grid;justify-items:center;align-content:center;gap:10px;width:100%;min-height:91px;border:0;border-radius:0;background:#fff;color:var(--ink);font:700 19px Manrope,sans-serif;touch-action:none;user-select:none}.drawer-grip i{width:42px;height:5px;border-radius:4px;background:#c9d2dc}.drawer-grip b{position:absolute;right:24px;bottom:24px;font-size:21px}.field-drawer[data-open=true] .drawer-grip{min-height:56px}.field-drawer[data-open=true] .drawer-grip span,.field-drawer[data-open=true] .drawer-grip b{display:none}.drawer-body{overflow:auto;overscroll-behavior:contain;padding:0 20px 18px;min-height:0}.switcher{display:flex;background:#edf1f5;border-radius:13px;padding:4px;margin-bottom:15px}.switcher button{flex:1;min-height:40px;border:0;border-radius:10px;background:none;font-weight:700;color:#657386}.switcher [aria-pressed=true]{background:white;color:var(--ink);box-shadow:0 1px 5px #1232}.drawer-body .question-deck{margin:0;padding:0;background:none}.drawer-body .question-group{border:0;border-bottom:1px solid #dce3e9;border-radius:0;background:white;margin:0;padding:2px 0}.drawer-body .question-group summary{padding:14px 4px;font-size:17px}.hint-entry{padding:15px 0;border-bottom:1px solid var(--line)}.hint-entry strong{font-size:18px}.seek-field>.notice-link,.seek-field>.sent-question{display:none}
.hide-field{max-width:640px;margin:auto}.dealer-head,.hand-title,.hand-card header{display:flex;align-items:center;justify-content:space-between;gap:12px}.dealer-head{padding:18px 0 24px;border-bottom:1px solid var(--line)}.dealer-head small,.hand-section>small,.hand-card header span{font-size:11px;font-weight:bold;letter-spacing:.1em;text-transform:uppercase}.dealer-head h1{margin:6px 0 0;font-size:42px}.purse{border:1px solid #d5e0ef;border-radius:18px;padding:8px 14px;text-align:center;font-size:12px;color:#204e89}.purse strong{display:block;font-size:27px;line-height:1.15}.hand-section{margin:25px 0}.hand-title{margin-bottom:12px}.hand-title span{font-variant-numeric:tabular-nums;background:#f1f4f8;color:#465c79;border-radius:8px;padding:4px 9px;font-size:13px}.hand-empty{background:#f6f8fa;border:1px dashed #bbc9d7;border-radius:16px;padding:18px}.hand-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hand-card{--suit:#214d9d;--paper:#edf3ff;display:flex;flex-direction:column;position:relative;min-width:0;padding:13px;border:1px solid color-mix(in srgb,var(--suit) 30%,white);border-radius:17px;background:linear-gradient(142deg,var(--paper),#fff 78%);color:var(--suit)}.hand-card[data-suit=block],.hand-card[data-suit=ban]{--suit:#923e1d;--paper:#ffe5d2}.hand-card[data-suit=quiz],.hand-card[data-suit=break]{--suit:#544587;--paper:#eee8ff}.hand-card header b{font-size:27px;line-height:1}.hand-card header span{font-size:9px}.hand-card h3{font-size:19px;line-height:1.12;letter-spacing:-.04em;margin:22px 0 8px}.hand-card p{font-size:13px;line-height:1.45;color:#4c6074;margin-bottom:16px;flex:1}.hand-card button{background:var(--suit);color:white;border:0;border-radius:9px;min-height:42px;font-size:13px;font-weight:bold}.hand-card select{width:100%}.watch-map{padding-top:18px;border-top:1px solid var(--line)}.watch-map #hide-map{border-radius:16px;margin:12px 0}
#settings{max-width:620px;margin:auto}#settings h1{margin-bottom:25px}.pref-group{border:1px solid #dce3eb;padding:18px;border-radius:16px;margin:12px 0;background:#fff}.pref-group h2,.pref-group summary{font-size:17px;font-weight:700}.pref-group summary{cursor:pointer}.pref-group dl{margin:12px 0}.pref-group dl div,.pref-code{display:flex;justify-content:space-between;gap:12px;padding:8px 0;font-size:14px}.pref-group dd{margin:0;text-align:right}.pref-group .text-button{min-height:44px}.pref-row:last-child{border-bottom:0}
.seek-field .leaflet-atlas-pane,.seek-field .leaflet-streetDetail-pane{filter:saturate(.55) contrast(.94) brightness(1.04)}
.venue-token,.venue-token.cluster{display:grid;place-items:center;border:1px solid #c5cfd8;background:#fff;color:#283e53;box-shadow:0 2px 5px #213e5024;font:bold 11px/1 Manrope,sans-serif}.venue-token svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#question-popup .question-sheet>.incoming{position:relative;background:#fffaf5;border:1px solid #f2d2b7;border-radius:21px;padding:clamp(18px,4vw,26px);box-shadow:0 4px 0 #bd562d30}.question-sheet .incoming>small{display:block;color:#804421!important}#question-popup .incoming .photo-picker{position:relative;display:block;text-align:center;background:#193656;color:white;border-radius:12px;padding:15px;cursor:pointer}#question-popup .photo-picker input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}#question-popup .photo-picker:focus-within{outline:3px solid #6688c2;outline-offset:2px}#question-popup .incoming .reply-row button{border:1px solid #c2d1dc}#question-popup .question-countdown small{font-size:10px;letter-spacing:.08em}

@font-face{font-family:Material Icons;src:url('../assets/material-icons.ttf') format('truetype');font-style:normal;font-weight:400;font-display:block}
.mi,.hand-card header .mi{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1em;height:1em;font:normal 400 24px/1 "Material Icons";font-feature-settings:"liga";letter-spacing:normal;text-transform:none;white-space:nowrap;overflow:hidden;-webkit-font-smoothing:antialiased;vertical-align:middle}
.venue-token .mi{font-size:16px}
.field-drawer{--grip:82px;height:min(78dvh,730px);padding:0;box-sizing:border-box;transform:translate(-50%,var(--drag,calc(100% - var(--grip) - env(safe-area-inset-bottom))));transition:transform .36s cubic-bezier(.2,.8,.22,1);will-change:transform}
.field-drawer[data-open=true]{transform:translate(-50%,var(--drag,0px))}
.field-drawer[data-dragging=true]{transition:none}
.field-drawer .drawer-grip,.field-drawer[data-open=true] .drawer-grip{height:var(--grip);min-height:var(--grip);padding:12px 16px 16px;align-content:start;gap:13px;-webkit-touch-callout:none}
.field-drawer .drawer-grip i{background:#acb9c8;width:38px}
.field-drawer .drawer-grip span,.field-drawer[data-open=true] .drawer-grip span{display:block;font-size:16px}
.drawer-body{padding:0 16px max(22px,env(safe-area-inset-bottom));scrollbar-gutter:stable;flex:1}
.switcher{position:sticky;top:0;z-index:1;margin:0 0 8px}
.drawer-body .question-group{padding:0;border-bottom:1px solid #e8edf1;overflow:hidden;box-sizing:border-box}
.drawer-body .question-group summary{display:flex;align-items:center;gap:12px;padding:13px 2px;font-size:16px;list-style:none;letter-spacing:-.02em}
.question-group summary::-webkit-details-marker{display:none}
.question-group .cat-icon{width:38px;height:38px;border-radius:12px;color:#254e87;background:#ecf2fa;font-size:22px}
.question-group[open] .cat-icon{color:#94441c;background:#ffeadb}
.question-group .cat-expand{margin-left:auto;font-size:21px;color:#6c7b89;transition:transform .22s}
.question-group[open] .cat-expand{transform:rotate(180deg)}
.drawer-body .question-group p{font-size:13px;line-height:1.5;margin:0 4px 10px;color:#526578}
.drawer-body .question-group>div{gap:0;margin:0 0 12px;padding:0 12px;background:#f5f7f9;border-radius:14px}
.drawer-body .question-group button{width:100%;padding:12px 0;background:transparent;border-radius:0;line-height:1.4;color:#173455;border-bottom:1px solid #dfe7ed;font-size:14px}
.drawer-body .question-group button:last-child{border-bottom:none}
.question-group button strong{background:#fff;color:#395676;border:1px solid #dce5ed;border-radius:7px;padding:3px 7px;font-size:11px}
.drawer-body .question-group form{padding:0 5px 15px}
.drawer-body .question-group form button{background:#173455;color:white;border-radius:10px;justify-content:center}
#question-popup,#question-popup[data-locked=true],#confirm-action{position:fixed;inset:0;box-sizing:border-box;margin:auto;width:min(444px,calc(100vw - 30px));max-width:none;height:fit-content;max-height:calc(100dvh - max(40px,env(safe-area-inset-top)) - env(safe-area-inset-bottom));padding:clamp(18px,5vw,28px);background:#fff;border:1px solid #d9e2eb;color:#183352;border-radius:24px;box-shadow:0 20px 70px #122c4945;overflow:auto;overscroll-behavior:contain}
#question-popup[open],#question-popup[data-locked=true][open],#confirm-action[open]{display:block;background:#fff;animation:deal-in .3s cubic-bezier(.19,.85,.26,1) both}
#question-popup::backdrop,#confirm-action::backdrop{background:#13284466;backdrop-filter:blur(3px)}
#question-popup .question-sheet{width:100%;padding:0}
#question-popup .question-countdown{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid #e1e6eb}
#question-popup .question-countdown span{font-size:32px;color:#9f471c}#question-popup .question-countdown small{color:#576a7f}
#question-popup .question-sheet>.incoming,#question-popup .duel-result{padding:0;margin:0 0 16px;background:none;border:0;box-shadow:none}
#question-popup .incoming>small{color:#425c7a!important;font-size:11px}
.event-mark,.confirm-icon{height:40px;width:40px;background:#fff0e4;color:#a44c1c;border-radius:13px;margin-bottom:14px}
#question-popup .incoming h2,#question-popup .duel-result h2{font-size:clamp(23px,5.6vw,32px);margin:8px 0 12px;color:#162e4d;line-height:1.15}
#question-popup .incoming p,#confirm-action p{font-size:14px;line-height:1.55;color:#53677a}
#question-popup .incoming .reply-row{gap:8px;margin:15px 0}
#question-popup .incoming .reply-row button:not(:disabled){background:#1c4271;border-color:#1c4271;color:white}
#question-popup .incoming .reply-row button:disabled{background:#edf1f5;color:#748193;opacity:.8}
#question-popup .duel{background:#fff1e3;color:#713d19}
#question-popup .question-sheet>.button{width:100%;margin:0}
#confirm-action h2{font-size:25px;margin:0 0 8px}#confirm-action p{margin:0 0 20px}
#confirm-action form>div,.pile-controls{display:flex;gap:8px}
#confirm-action button,.pile-controls button,.give-hint{min-height:46px;border:0;background:#eef2f6;color:#193655;border-radius:12px;font:700 14px Manrope,sans-serif;padding:10px 14px;cursor:pointer}
#confirm-action button{flex:1}#confirm-action #confirm-yes{background:#193655;color:white}
.dealer-head small,.draw-section>small{color:#607287}.dealer-head h1{font-size:clamp(31px,8vw,45px);letter-spacing:-.055em}
.draw-section{padding:18px 14px;background:#eef3f8;border:1px solid #dce5ec;border-radius:20px}.draw-section h2{margin:5px 0}.draw-section>p{font-size:14px;margin:0 0 14px}.dealt{align-items:stretch}
.deal-slot{display:grid;perspective:850px;min-width:0;transform-origin:center}
.deal-turn{display:grid;transform-style:preserve-3d;transition:transform .44s cubic-bezier(.2,.72,.25,1)}
.deal-slot[data-flipped=true] .deal-turn{transform:rotateY(180deg)}
.card-back,.card-face{grid-area:1/1;min-width:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.card-back{position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:start;min-height:184px;padding:16px;border:3px solid #fff;border-radius:15px;box-shadow:0 2px 5px #172c492e;color:#fff;background:repeating-linear-gradient(135deg,transparent 0 8px,#ffffff0d 8px 10px),#173b61;cursor:pointer;outline-offset:2px}
.card-back:after{content:'';position:absolute;inset:5px;border:1px solid #b1c3d799;border-radius:8px;pointer-events:none}
.card-back b{font-size:clamp(17px,4.5vw,25px);letter-spacing:-.07em;align-self:center}.card-back b span{color:#ffab7b}.card-back small{font:700 11px Manrope,sans-serif}
.card-face{transform:rotateY(180deg);display:flex}.card-face .hand-card{width:100%}
.hand-card{border-radius:14px}.hand-card[data-suit=Sabotage]{--suit:#824124;--paper:#fff0e1}.hand-card[data-suit=Challenges]{--suit:#534980;--paper:#f2edff}
.hand-card header .mi{font-size:20px}.hand-card h3{margin:16px 0 8px}.hand-card small{font-size:11px;text-align:center;margin-top:6px}.hand-empty{display:flex;gap:14px;align-items:center}.hand-empty p{margin:0;font-size:14px}.give-hint{display:flex;gap:9px;align-items:center;margin:0 0 24px}.give-hint:disabled{opacity:.65}
.pref-header{display:flex;align-items:center;gap:14px}.pref-header h1,#settings .pref-header h1{margin:0;font-size:30px}.pref-back{width:44px;height:44px;display:grid;place-items:center;background:#edf2f7;border-radius:50%;color:#183352}.pref-group{border-radius:18px}.leave-game{color:#98442e}.pref-row .mi{font-size:19px}
@keyframes deal-in{from{opacity:0;transform:translateY(15px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:767px),(pointer:coarse){.layer-pop .walk-panel,.desktop-only{display:none!important}}
@media(prefers-reduced-motion:reduce){.field-drawer,.deal-turn,.cat-expand{transition:none!important}.deal-slot,#question-popup[open],#confirm-action[open]{animation:none!important}}

#question-popup:focus{outline:none}
.duel-disclosure{border-top:1px solid #e1e7ed;margin-top:16px;padding-top:6px}
.duel-disclosure summary{display:flex;align-items:center;gap:9px;min-height:44px;font-size:14px;font-weight:700;color:#374e6d;cursor:pointer;list-style:none}
.duel-disclosure summary::-webkit-details-marker{display:none}.duel-disclosure summary .mi{font-size:19px}
#question-popup .duel-disclosure summary small{margin-left:auto;text-transform:none;color:#667990;font-size:12px}
.deck-stamp{position:relative;z-index:0;isolation:isolate}.deck-stamp:before,.deck-stamp:after{content:'';position:absolute;z-index:-1;top:50%;left:50%;width:64px;height:64px;border:1px solid #f7cf9066;transform:translate(-50%,-50%) rotate(45deg);border-radius:5px}
.deck-stamp:after{width:54px;height:54px;border-color:#f7cf9045}
.layer-pop .walk-panel>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.layer-pop .walk-panel>div:not(.compass){grid-template-columns:1fr}
.layer-pop .walk-panel button{padding:8px;min-height:38px;color:#274668;background:#eef2f7;font-size:13px}

.dealt .deal-slot{height:clamp(194px,24dvh,218px)}
.dealt .deal-turn{min-height:0;grid-template-rows:minmax(0,1fr)}
.dealt .card-back,.dealt .card-face,.dealt .hand-card{min-height:0}
.dealt .hand-card{padding:10px}.dealt .hand-card h3{margin:10px 0 6px;font-size:17px}
.dealt .hand-card p{min-height:18px;overflow:auto;margin-bottom:7px;font-size:12px;line-height:1.4}
.dealt .hand-card button{flex-shrink:0;min-height:37px}.dealt .hand-card small{margin-top:3px}

.entry-scene,.entry-create{max-width:490px;margin:0 auto}
.entry-scene{overflow:hidden;background:#fff;border:1px solid #dbe4ea;border-radius:24px;box-shadow:0 8px 30px #1535500c}
.entry-atlas{height:clamp(170px,29dvh,285px);position:relative;overflow:hidden;background:#e2eeee url('../assets/amsterdam-board.webp') 48% 48%/210%;isolation:isolate}
.entry-atlas i,.entry-atlas i:before,.entry-atlas i:after{position:absolute;top:50%;left:50%;border-radius:50%;transform:translate(-50%,-50%)}
.entry-atlas i{height:134px;width:134px;border:1px solid #214c8e88;background:#609bd21e}
.entry-atlas i:before{content:'';width:72px;height:72px;border:1px solid #214c8ea8;background:#5997cf22}
.entry-atlas i:after{content:'';width:17px;height:17px;background:#2551a0;border:4px solid white;box-shadow:0 2px 8px #25395c70}
.entry-atlas>span{position:absolute;left:16px;bottom:12px;padding:6px 11px;background:white;border-radius:16px;color:#173455;font-size:12px;font-weight:700}
.entry-actions{padding:clamp(18px,5vw,30px)}.entry-actions h1,.entry-create h1{font-size:clamp(28px,7vw,38px);line-height:1.12;margin:0;letter-spacing:-.055em}
.entry-actions p{margin:9px 0 21px;color:#566a80;font-size:15px}.entry-action{width:100%;min-height:54px;display:flex;align-items:center;gap:12px;padding:12px 16px;margin:8px 0;border:1px solid #d5e0ec;border-radius:15px;background:#f3f6fa;color:#213e60;font:inherit;text-align:left}.entry-action.main-action{background:#19395b;color:white;border-color:#19395b}.main-action .mi{color:#ffae77}
.entry-create header{display:flex;align-items:center;gap:12px;margin-bottom:22px}.entry-create .pref-back{border:1px solid #dae4ed}
.entry-create form{margin:0}.entry-create form>label:first-child,.mode-picks legend{font-size:14px;font-weight:700}
.entry-create input#player-name{border:1px solid #cdd9e4;border-radius:12px;background:#f8fafb}
.mode-picks{padding:0;margin:22px 0 16px;border:0;display:grid;gap:7px}.mode-picks legend{margin-bottom:9px}
#game-content .mode-picks label{display:flex;align-items:center;gap:13px;position:relative;margin:0;border-radius:14px;border:1px solid #d9e2e8;padding:9px 12px;background:white;cursor:pointer}
#game-content .mode-picks label:has(:checked){background:#eff4fb;border-color:#577da7}.mode-picks label:focus-within{outline:2px solid #557dc4}#game-content .mode-picks input[type=radio]{order:3;margin:0 0 0 auto;flex:none;padding:0;min-height:18px;width:18px;height:18px;accent-color:#23486e}
.mode-picks label>.mi{color:#254971;background:#edf2f7;padding:8px;box-sizing:content-box;border-radius:10px;font-size:19px}
.mode-picks label strong,.mode-picks label small{display:block}.mode-picks label small{font-size:12px;color:#607286;font-weight:400}
.entry-create .pilot-settings summary{display:flex;align-items:center;gap:8px;list-style:none;font-size:14px}
.entry-create .pilot-settings summary .mi:last-child{margin-left:auto}.entry-create .pilot-settings summary::-webkit-details-marker{display:none}
.entry-create .button.primary{border-radius:14px;background:#19395b;color:white}

.curse-rack{position:absolute;top:calc(max(15px,env(safe-area-inset-top)) + 54px);left:max(12px,env(safe-area-inset-left));width:min(410px,calc(100% - 84px));z-index:4;overflow:auto;border-radius:15px;box-shadow:var(--field-shadow)}
.curse-alert{display:block;padding:0;border:1px solid #efc39f;background:#fff7ee;color:#453223;border-radius:15px;overflow:hidden;margin:0 0 3px}
.curse-alert summary{list-style:none;display:grid;grid-template-columns:32px minmax(0,1fr) auto 18px;align-items:center;gap:8px;padding:10px 12px;min-height:54px;cursor:pointer;touch-action:manipulation}.curse-alert summary::-webkit-details-marker{display:none}
.curse-alert summary>.mi:first-child{background:#ffd5a9;color:#93460c;border-radius:10px;width:32px;height:32px;display:grid;place-items:center}
.curse-alert summary small,.curse-alert summary strong{display:block}.curse-alert summary small,.preview-panel small{font-size:10px;text-transform:uppercase;letter-spacing:.09em;font-weight:700}
.curse-alert summary strong{font-size:15px;line-height:1.25;overflow-wrap:anywhere}.curse-alert summary>b{font-size:11px;margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}
.curse-alert summary>.mi:last-child{font-size:17px}.curse-alert[open] summary>.mi:last-child{transform:rotate(180deg)}.curse-instructions{border-top:1px solid #eedccd;padding:10px 12px 12px}.curse-instructions p{font-size:14px;line-height:1.45;margin:0 0 10px;color:#573e29}.curse-instructions p:last-child{margin-bottom:0}
.curse-alert button,.curse-alert .proof-upload{width:100%;min-height:44px;touch-action:manipulation}.curse-alert summary:focus-visible{outline:2px solid #926134;outline-offset:-3px}
.proof-upload,.curse-alert button{display:block;position:relative;background:#563920;color:white;padding:10px 13px;border:0;border-radius:10px;font:700 14px Manrope,sans-serif;margin:4px 0}
.proof-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.drawer-body .question-group button.curse-blocked{opacity:.8;color:#687587}.curse-blocked>span{text-decoration:line-through;text-decoration-thickness:2px}.curse-blocked strong{white-space:normal;text-align:right}
.preview-panel{position:absolute;left:50%;transform:translateX(-50%);box-sizing:border-box;bottom:calc(98px + env(safe-area-inset-bottom));width:min(100%,540px);background:#fff;border-radius:17px;border:1px solid #cddcd8;padding:13px;box-shadow:var(--field-shadow);z-index:5}
.preview-panel>strong{display:block;font-size:17px;margin:4px 0 8px}.preview-panel p{font-size:12px;color:#52675e;margin:6px 0 12px}
.preview-panel>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.preview-panel button,.found-button,.location-share{min-height:42px;padding:8px 14px;border-radius:12px;border:0;font:700 14px Manrope,sans-serif}
.preview-panel button{flex:1;background:#edf2f5;color:#23405d}.preview-panel [aria-pressed=true]{background:#c9f0dc;color:#135637}.preview-panel button[data-preview=send],.found-button{color:white;background:#1b3e61}
.preview-zone{filter:brightness(0) saturate(100%) invert(42%) sepia(67%) saturate(1102%) hue-rotate(112deg)}
.found-footer{padding:8px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #e1e8ed}.found-button{width:100%;display:flex;align-items:center;justify-content:center;gap:8px}.field-drawer[data-open=false] .found-footer{visibility:hidden}
.location-share{position:absolute;left:12px;top:71px;background:white;color:#203e5b;font-size:12px}
.arrival-qr{margin:12px 0;background:white;border:1px solid #d4e1df;text-align:center;border-radius:18px;padding:18px}.watch-map #finish-qr svg{display:block;width:min(250px,100%);height:auto;fill:#111;stroke:none;margin:auto}
#address-result,#test-push-status{color:#536980;font-size:13px;margin-top:10px}

.found-button{min-height:50px;font-size:16px}.found-footer{flex:none;background:#fff}
.arrival-qr{scroll-margin-top:20px}.arrival-qr h2{margin:4px auto 6px}
#scan-dialog{width:min(90vw,390px);border:0;border-radius:24px;box-sizing:border-box;color:#173254;padding:22px;max-height:90dvh;overflow:auto}
#scan-dialog::backdrop{background:#11273b99}#scan-dialog h2{margin:0 0 12px}
#scan-dialog video{background:#152433;width:100%;max-height:36dvh;object-fit:cover;border-radius:14px}
#scan-dialog label,#scan-dialog button{display:block;margin-top:14px}#scan-dialog input{max-width:100%}
.question-group .deal-ratio{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:7px;background:#eef3f8;color:#435e76;font:700 12px/1.4 Manrope,sans-serif;font-variant-numeric:tabular-nums}
.question-group .deal-ratio .mi{font-size:15px}.question-group .deal-ratio+.cat-expand{margin-left:0}
.preview-panel p.preview-reward{margin-top:-6px}.seek-field:has(.preview-panel) .field-pending{display:none}
body:has(#game-screen:not([hidden]) .seek-field) #notification{width:min(100%,540px);min-width:0;max-width:100%;box-sizing:border-box;text-align:center}
body:has(#game-screen:not([hidden]) .preview-panel) #notification{bottom:auto;top:max(70px,env(safe-area-inset-top))}

.seek-field:has(.curse-rack) .leaflet-top.leaflet-left{left:auto;right:max(14px,env(safe-area-inset-right));top:calc(max(14px,env(safe-area-inset-top)) + 112px)}
.seek-field:has(.curse-rack) .leaflet-control-zoom{margin:0;top:0}
.seek-field:has(#field-layers[open]) .curse-rack{visibility:hidden}
.fortune-wheel{position:relative;isolation:isolate;width:min(48vw,21vh,184px);aspect-ratio:1;margin:1rem auto}
.fortune-disc{position:absolute;inset:0;border:4px solid #193455;border-radius:50%;background:repeating-conic-gradient(#284b80 0deg 45deg,#a34713 45deg 90deg);transform:rotate(var(--stop));box-shadow:0 4px 12px #182e482b}
.fortune-disc b{position:absolute;transform:translate(-50%,-50%);color:white;font-size:1rem;line-height:1}
.fortune-disc.spinning{animation:fortune-turn var(--time) cubic-bezier(.23,1,.32,1) var(--delay) both}
.fortune-wheel:before,.fortune-wheel:after{content:"";position:absolute;z-index:1;left:50%;transform:translateX(-50%)}
.fortune-wheel:before{top:-5px;border-inline:9px solid transparent;border-top:17px solid #172c47}
.fortune-wheel:after{top:42%;width:16%;aspect-ratio:1;border-radius:50%;background:#fff;border:3px solid #193455;box-sizing:border-box}
@keyframes fortune-turn{from{transform:rotate(0deg)}to{transform:rotate(var(--stop))}}
@media(prefers-reduced-motion:reduce){.fortune-disc.spinning{animation:none;transform:none}}
.pub-review{margin-top:.75rem;text-align:left}.pub-review summary{font-weight:700;cursor:pointer}.pub-review ol{padding-left:1.4rem}.pub-review li{margin:.75rem 0}.pub-review li>strong,.pub-review li>small{display:block}

body.curse-inverted{overflow:hidden;min-height:100dvh}
.curse-inverted .app{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;min-height:0;overflow:auto;rotate:180deg}
.curse-inverted dialog:modal,.curse-inverted #notification{rotate:180deg}
.map-locked{position:absolute;inset:0;display:grid;place-items:center;background:#e6ecf2}
.map-locked img{box-sizing:content-box;padding:15px;border-radius:50%;background:#fff;box-shadow:var(--field-shadow)}
.field-tools [aria-disabled=true]{opacity:.65}
.move-head [data-clock]{font-variant-numeric:tabular-nums}
.delivery-note{color:var(--ink);margin:.75rem 0 0;font-size:.9rem}
.hide-field .delivery-card{margin:.75rem 0}
.hand-rarity{font-size:.72rem;font-weight:700;color:var(--suit);margin:-2px 0 8px}
.hand-card .hand-discard{color:#4b6075;background:transparent;min-height:42px}
.hand-odds{border-block:1px solid var(--line);padding:0 2px;margin-bottom:20px}
.hand-odds summary{padding:14px 0;font-weight:700;cursor:pointer}
.hand-odds label,.hand-odds dt{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hand-odds select,.hand-swap select{padding:8px 12px;min-height:44px;font:inherit}
.hand-odds p,.hand-odds dd{font-size:.85rem;color:#506277}
.hand-odds dl>div{padding:10px 0;border-top:1px solid var(--line)}
.hand-odds dt{font-weight:700}.hand-odds dd{margin:4px 0 0}
.hand-odds b{font-variant-numeric:tabular-nums}
.hand-swap{display:grid;gap:6px;margin:0 0 16px}.hand-swap select{width:100%}
.hand-conflict{margin-bottom:.5rem;color:#596779;line-height:1.4}
.hand-card button:disabled{background:#e4e8ed;color:#505f71}
.hand-card[data-suit=Tijdkaarten]{--suit:#27634f;--paper:#e0f2e9}
.move-head{display:flex;align-items:center;gap:.65rem;background:#fdf2e4;color:#623b1d;border:1px solid #f2d6b3;border-radius:14px;padding:12px 16px;line-height:1.4;margin:0 0 8px}.move-head [data-clock]{margin-left:auto;font-weight:bold}.old-hints{padding-block:12px}

#seeker-gate {position:fixed;inset:0;margin:0;border:0;width:100vw;height:100dvh;max-width:none;max-height:none;overflow:auto;background:#142c4a;color:white;padding:0}
#seeker-gate[open] {display:grid;align-items:center}
#seeker-gate article {box-sizing:border-box;width:min(100%,30rem);margin:auto;padding:max(2rem,env(safe-area-inset-top)) 1.6rem max(2rem,env(safe-area-inset-bottom))}
#seeker-gate header {display:flex;align-items:center;gap:.65rem;color:#ffbb87;font-weight:700}
#seeker-gate header .mi {border:1px solid #775b52;border-radius:12px;padding:.6rem}
#seeker-gate h1 {color:white;font-size:clamp(2.1rem,9vw,3.6rem);line-height:1.05;margin:1.6rem 0 .85rem;text-wrap:balance}
#seeker-gate p,#seeker-gate small {color:#d6e2ef;line-height:1.5}
.gate-count {display:flex;gap:.7rem;align-items:baseline;margin:2rem 0;font-variant-numeric:tabular-nums}
.gate-count b {font-size:3rem}
.gate-camera {position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:.65rem;width:100%;min-height:52px;margin:2rem 0 .8rem;border-radius:14px;background:#ff9a56;color:#242039;font-weight:700;cursor:pointer}
.gate-camera input {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.gate-camera:focus-within {outline:3px solid white}
#input-hourglass {position:fixed;inset:0;margin:auto;border:0;border-radius:23px;background:#192e4b;color:white;padding:1.4rem 2rem;box-shadow:0 12px 48px #12223555}
#input-hourglass::backdrop {background:#142c4a52}
.lag-timer {display:grid;justify-items:center;gap:.25rem;font-variant-numeric:tabular-nums}
.lag-timer .mi {font-size:2.6rem;color:#ffac72;animation:lag-turn 1.25s ease-in-out infinite}
.lag-timer strong {font-size:1.6rem;color:white}.lag-timer small {color:#dce4ef}
.lag-timer button {margin-top:.4rem}
@keyframes lag-turn {0%,38%{transform:rotate(0)} 83%,100%{transform:rotate(180deg)}}
@media(prefers-reduced-motion:reduce){.lag-timer .mi{animation:none}}
.draw-head {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 5px .4rem 0;min-height:66px}
.draw-pile {position:relative;flex:0 0 39px;height:54px;isolation:isolate}
.draw-pile>* {position:absolute;inset:0;border:2px solid #fff;border-radius:6px;background:#243e63;box-shadow:0 1px 4px #1a30473d}
.draw-pile i:first-child {transform:translate(-6px,1px) rotate(-18deg);background:#68809e}
.draw-pile i:nth-child(2) {transform:translate(-3px,0) rotate(-9deg);background:#466189}
.draw-pile b {display:grid;place-items:center;color:#ffad7b;font:700 22px Manrope,sans-serif;background:repeating-linear-gradient(135deg,transparent 0 6px,#ffffff10 6px 7px),#1e3557}
.draw-pile b:after {content:'';position:absolute;inset:3px;border:1px solid #c8d4e880;border-radius:3px}
.compass-choices {display:grid;grid-template-columns:1fr 1fr;gap:.35rem}

/* Unopened answers stay on the map until the team can read them. */
.delivery-card,.coin-won{background:#fff;color:#173354;border:1px solid #d8e2ed;border-radius:15px;padding:14px 16px}
.delivery-card header,.coin-won{display:flex;align-items:center;gap:10px}
.delivery-card header{justify-content:space-between;font-variant-numeric:tabular-nums}
.delivery-card p{font-size:.87rem;margin:.3rem 0 .65rem;line-height:1.35}
.delivery-card progress{display:block;appearance:none;border:0;border-radius:5px;background:#e3e9f2;width:100%;height:7px;overflow:hidden}
.delivery-card progress::-webkit-progress-bar{background:#e3e9f2}
.delivery-card progress::-webkit-progress-value{background:#285fc5}
.delivery-card progress::-moz-progress-bar{background:#285fc5}
.delivery-card button,.maze-retry,#seeker-gate form button{background:#23496e;color:white;border:0;border-radius:12px;min-height:44px;font:inherit;font-weight:700;padding:.5rem 1rem}
#answer-maze{box-sizing:border-box;width:min(calc(100vw - 1.5rem),24rem);max-height:93dvh;border:0;border-radius:24px;padding:clamp(16px,5vw,25px);color:#173354}
#answer-maze::backdrop{background:#0d233eca}
#answer-maze header{color:#9c440e;font-weight:700}
#answer-maze h2{margin:.4rem 0;font-size:1.8rem}
#answer-maze p{font-size:.92rem;line-height:1.45;margin:.55rem 0 .9rem}
.maze-field{max-width:min(100%,48dvh);margin:auto}
.maze-field svg{display:block;overflow:visible;width:100%;height:auto;aspect-ratio:1;touch-action:none;user-select:none;cursor:crosshair}
#answer-maze .maze-status{margin:.8rem 0 0}
#seeker-gate .word-clues{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:1.3rem 0;padding:0}
.word-clues li{border:1px solid #68819e;border-radius:12px;padding:.45rem .7rem;font-weight:700}
#seeker-gate form{display:grid;gap:.75rem}
#seeker-gate input[name=guess]{width:100%;box-sizing:border-box;margin-top:.35rem;font-size:1.1rem;padding:.7rem;border-radius:12px}
#seeker-gate form button{background:#ffd2a8;color:#462408}
.coin-game{display:grid;justify-items:center;gap:.45rem;padding:.75rem 0}
.toss-coin,.coin-tail,.toss-coin img{width:104px;height:104px;display:grid;place-items:center}
.coin-tail{box-sizing:border-box;border-radius:50%;border:5px double #ad7938;background:radial-gradient(at 35% 25%,#fff0bb,#d9a84d 54%,#a97632);color:#714913;font-size:2.8rem;text-shadow:1px 1px #ffdea0}
.coin-won .toss-coin,.coin-won img{width:48px;height:48px}
.coin-won button{margin-left:auto;background:transparent;border:0;min-height:44px;min-width:40px}
.cipher-seal{margin-left:.6rem;letter-spacing:.13em;color:#35689c;font-size:.75rem;white-space:nowrap}

.practice-entry>p{margin:16px 0 22px;color:#49617a}
.practice-entry form .primary,.practice-picker .primary{display:block;width:100%;margin-top:16px}
.practice-entry-link{display:inline-flex;align-items:center;min-height:44px}
.practice-lobby{max-width:38rem;margin:auto}
.practice-roster{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}
.practice-roster span:not(.mi){display:inline-flex;align-items:center;gap:7px;min-width:0;overflow-wrap:anywhere;background:#e9f0fb;color:#193d67;border-radius:12px;padding:9px 13px;font-weight:700}
.practice-roster .empty-seat{background:#f4f6f8!important;color:#56677c!important}
.practice-roster .mi{font-size:18px}
.practice-picker{margin:20px 0 10px;padding:18px;border:1px solid #d7e2eb;border-radius:18px;background:white}
.practice-picker select{width:100%;margin:.45rem 0;min-height:46px}
.practice-picker [data-card-text]:empty,.practice-picker [hidden]{display:none!important}
.practice-picker [data-card-text]{font-size:.92rem;color:#52677a;margin:8px 0}
button.practice-return{min-height:44px;cursor:pointer;pointer-events:auto}
.practice-return .mi{font-size:18px}
.test-gate-back{margin-top:1.5rem;border:1px solid #b1c6dd;background:transparent;border-radius:12px;color:white;min-height:44px;padding:.55rem 1rem}
.practice-second{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;font-size:.88rem;color:#245289}

/* Leave space for the sheet handle and device insets, including short landscape screens. */
.curse-rack{max-height:calc(100% - max(15px,env(safe-area-inset-top)) - 54px - max(112px,env(safe-area-inset-bottom)));overscroll-behavior:contain}
.coin-game{grid-template-columns:auto minmax(0,1fr);align-items:center;justify-items:start;gap:8px 12px;padding:2px 0 0}
.coin-game .coin-tail{line-height:1;font-size:clamp(1.7rem,8vw,2.4rem)}
.coin-game .toss-coin,.coin-game .coin-tail,.coin-game img{width:clamp(52px,14vw,76px);height:clamp(52px,14vw,76px)}
.coin-game p{margin:2px 0 0}
.coin-game button{grid-column:1/-1;margin:4px 0 0}
.coin-game button:disabled{background:#efe3d5;color:#664a36;opacity:1}
#seeker-gate [data-proof-status]{display:block;margin:0;overflow-wrap:anywhere;color:#d6e2ef;font-size:.95rem;line-height:1.55}
#seeker-gate [data-proof-status][data-state=error]{padding:.75rem 1rem;border-inline-start:3px solid #ffab70;background:#203b58;border-radius:6px}
#seeker-gate .test-gate-back{display:block;width:100%;margin:1.25rem 0 0}
.word-reveal{margin:12px 0;padding:12px;border-radius:12px;background:#edf2f8;color:#173354}
.word-reveal strong{font-size:.85rem}
.word-reveal dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 0}
.word-reveal dt,.word-reveal dd{overflow-wrap:anywhere;margin:0}
.word-reveal dt{font-size:.8rem;color:#4a6079}
.word-reveal dd{font-weight:700}
.word-result{background:white;color:#173354;border-radius:15px;padding:14px}
.quiz-play{display:grid;gap:8px}
.quiz-play button{margin:4px 0;text-align:start}
.quiz-timer{display:flex;align-items:center;gap:10px;font-size:.85rem;font-variant-numeric:tabular-nums}
.quiz-track{height:6px;flex:1;border-radius:6px;background:#e1d7ce;overflow:hidden}
.quiz-track i{display:block;height:100%;background:#b45216;transform-origin:left}
.quiz-feedback{padding:10px 12px;border-radius:10px;background:#f2e7d8;color:#422e21}
.quiz-feedback p{margin:.25rem 0 0}
.curse-symbol{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#ffd5a9}
.review-photo{display:block;width:100%;max-height:38dvh;object-fit:contain;background:#102139;border-radius:14px;margin-block:1rem}
.review-actions{display:grid;gap:8px}
.review-actions button,#seeker-gate [data-load-proof]{min-height:46px;border:1px solid #afc2d8;border-radius:12px;color:white;background:transparent;font:inherit;font-weight:700;padding:8px 12px}
.review-actions [data-approve]{background:#ffae72;border-color:transparent;color:#30243a}
.review-actions[hidden],.review-photo[hidden]{display:none}
#seeker-gate[data-effect=phoneRelay]{background:#edf2f7;color:#183252;padding:clamp(12px,4vw,24px);box-sizing:border-box}
#seeker-gate .relay-sheet{background:white;border:1px solid #cfdae6;border-radius:24px;box-shadow:0 12px 36px #223e6214;padding:clamp(20px,6vw,36px)}
#seeker-gate .relay-sheet header{color:#834219;font-size:.87rem}
#seeker-gate .relay-sheet header img{box-sizing:content-box;padding:8px;background:#ffead8;border-radius:12px}
#seeker-gate .relay-sheet h1{color:#183252;font-size:clamp(2rem,8vw,2.9rem);text-wrap:balance;margin:1.35rem 0 .65rem}
#seeker-gate .relay-sheet p{color:#405672;margin:0}
.relay-time{display:grid;gap:.2rem;margin-top:1.35rem;padding:14px 18px;border-radius:14px;background:#edf3fb}
#seeker-gate .relay-time small{color:#495f7a}.relay-time b{font-size:2.6rem;line-height:1.15;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
#seeker-gate .relay-sheet .test-gate-back{color:#213d60;border-color:#cbd7e4;font-weight:700}
