.mig-game{--mig-bg:#0d1117;--mig-panel:#151b24;--mig-panel2:#1b2430;--mig-line:#2b3748;--mig-text:#eef2f7;--mig-muted:#9aa8ba;--mig-accent:#e2b94b;--mig-danger:#e15b64;--mig-good:#76d5a5;color:var(--mig-text);background:radial-gradient(circle at 10% 0,#172235 0,transparent 34%),var(--mig-bg);border-radius:20px;padding:clamp(18px,3vw,42px);font-family:inherit;box-sizing:border-box;position:relative;overflow:hidden}.mig-game *{box-sizing:border-box}.mig-hero{position:relative;padding:12px 0 26px;border-bottom:1px solid var(--mig-line);overflow:hidden;border-radius:14px}.mig-hero-cover{min-height:340px;display:flex;align-items:flex-end;padding:32px;background-image:linear-gradient(to top,rgba(8,12,18,.98),rgba(8,12,18,.52) 60%,rgba(8,12,18,.25)),var(--mig-cover);background-size:cover;background-position:center}.mig-hero-content{position:relative;z-index:1;max-width:980px}.mig-kicker{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:800;color:var(--mig-accent)}.mig-game h2{font-size:clamp(30px,5vw,56px);line-height:1.02;margin:8px 0 14px;color:#fff}.mig-game h3{font-size:26px;margin:5px 0 12px;color:#fff}.mig-game h4{font-size:21px;margin:0 0 10px;color:#fff}.mig-intro{max-width:880px;font-size:17px;color:#c9d3df}.mig-intro p:last-child{margin-bottom:0}.mig-case-meta{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:20px;align-items:center;color:var(--mig-muted);font-size:14px}.mig-case-meta strong{color:#fff}.mig-status{display:inline-flex;padding:6px 10px;border:1px solid var(--mig-line);border-radius:999px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.mig-status-open{border-color:#317c5b;color:#7ce4ae}.mig-status-closed{border-color:#7b3b41;color:#ff9fa5}.mig-status-draft{border-color:#6b7280;color:#d1d5db}.mig-panel{background:rgba(21,27,36,.92);border:1px solid var(--mig-line);border-radius:16px;padding:22px;margin:24px 0}.mig-rules p{margin-bottom:0;color:#bec9d5}.mig-notice{margin:20px 0;padding:14px 16px;background:#2b2023;border:1px solid #6e383e;border-radius:10px}.mig-notice a{color:#fff}.mig-progress-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--mig-line);border:1px solid var(--mig-line);border-radius:14px;overflow:hidden;margin:24px 0}.mig-progress-panel>div{background:var(--mig-panel);padding:18px;text-align:center}.mig-progress-number{display:block;color:#fff;font-weight:900;font-size:26px;line-height:1}.mig-progress-label{display:block;color:var(--mig-muted);font-size:12px;margin-top:7px;text-transform:uppercase;letter-spacing:.08em}.mig-section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:32px 0 16px}.mig-section-heading p{color:var(--mig-muted);margin:0;max-width:480px;text-align:right}.mig-evidence-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.mig-evidence{background:var(--mig-panel);border:1px solid var(--mig-line);border-radius:14px;overflow:hidden;min-width:0}.mig-evidence-unlocked{box-shadow:0 0 0 1px rgba(226,185,75,.08)}.mig-evidence-image{aspect-ratio:16/9;background:#0a0e13;overflow:hidden}.mig-evidence-image img{width:100%;height:100%;display:block;object-fit:cover}.mig-evidence-body{padding:17px}.mig-evidence-type{display:inline-block;color:var(--mig-accent);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.11em;margin-bottom:8px}.mig-evidence-copy{color:#bdc7d4;font-size:14px;line-height:1.55}.mig-evidence-copy p:last-child{margin-bottom:0}.mig-evidence-link{display:inline-block;margin-top:13px;color:#fff;text-decoration:none;border:1px solid #46556a;border-radius:8px;padding:8px 11px;font-size:13px;font-weight:700}.mig-evidence-link:hover{border-color:var(--mig-accent);color:#fff}.mig-evidence-locked{min-height:210px;display:flex;align-items:center;background:linear-gradient(135deg,#151b24,#10151c);position:relative}.mig-evidence-lock{writing-mode:vertical-rl;transform:rotate(180deg);align-self:stretch;display:flex;align-items:center;justify-content:center;padding:12px 9px;background:#0b1016;border-left:1px solid var(--mig-line);color:#6d7a8c;font-size:10px;font-weight:900;letter-spacing:.14em}.mig-evidence-locked h4{color:#aab5c2}.mig-evidence-locked p{color:#8f9bac;font-size:14px}.mig-evidence-locked small{color:#657386}.mig-empty-state{grid-column:1/-1;padding:24px;border:1px dashed #344153;border-radius:12px;color:var(--mig-muted);text-align:center}.mig-people-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}.mig-person{position:relative;background:var(--mig-panel);border:1px solid var(--mig-line);border-radius:16px;overflow:hidden;min-width:0}.mig-person-photo{position:relative;aspect-ratio:4/3;background:#0b0f14;overflow:hidden}.mig-person-photo img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.8) contrast(1.03)}.mig-photo-placeholder{height:100%;display:grid;place-items:center;font-size:64px;color:#526071}.mig-type-badge{position:absolute;left:12px;bottom:12px;padding:6px 9px;border-radius:999px;background:rgba(8,11,16,.86);border:1px solid rgba(255,255,255,.16);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.mig-person-body{padding:18px}.mig-profile{color:#b8c4d1;font-size:14px;line-height:1.55;max-height:170px;overflow:auto}.mig-classification-control{display:grid;gap:6px;margin:14px 0;color:var(--mig-muted);font-size:12px;font-weight:700}.mig-classification-control select{width:100%;background:#0f151d;color:#fff;border:1px solid #344153;border-radius:9px;padding:9px 10px}.mig-player-label-badge[data-label=unknown]{color:#d7dee8}.mig-player-label-badge[data-label=suspect]{color:#ffb8bd}.mig-player-label-badge[data-label=witness]{color:#b7dfca}.mig-question-meter{margin:16px 0 14px;color:var(--mig-muted);font-size:12px}.mig-meter{display:block;height:5px;background:#27313f;border-radius:99px;margin-top:7px;overflow:hidden}.mig-meter i{display:block;height:100%;background:var(--mig-accent);transition:width .25s}.mig-interview-btn,.mig-accusation button,.mig-ask-actions button,.mig-save-note{appearance:none;border:0;background:var(--mig-accent);color:#17120a;font-weight:800;border-radius:9px;padding:11px 15px;cursor:pointer}.mig-interview-btn{width:100%}.mig-interview-btn:disabled,.mig-accusation button:disabled,.mig-ask-actions button:disabled,.mig-save-note:disabled{opacity:.45;cursor:not-allowed}.mig-chat[hidden]{display:none}.mig-chat{position:fixed;z-index:999999;inset:0 0 0 auto;width:min(520px,100vw);background:#10161e;box-shadow:-20px 0 60px rgba(0,0,0,.45);display:flex;flex-direction:column;border-left:1px solid var(--mig-line)}.mig-chat-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--mig-line)}.mig-chat-head strong,.mig-chat-head small{display:block}.mig-chat-head small{color:var(--mig-muted);margin-top:2px}.mig-close-chat{background:transparent;border:0;color:#fff;font-size:32px;cursor:pointer}.mig-messages{flex:1;overflow:auto;padding:20px;display:flex;flex-direction:column;gap:12px}.mig-msg{display:flex}.mig-msg span{max-width:86%;padding:10px 13px;border-radius:14px;line-height:1.45;white-space:pre-wrap}.mig-msg-user{justify-content:flex-end}.mig-msg-user span{background:#2b4a6c;color:#fff;border-bottom-right-radius:4px}.mig-msg-ai span{background:#202a36;color:#f4f6f8;border-bottom-left-radius:4px}.mig-msg-system span{background:#442b2f;color:#ffc4c8}.mig-thinking span{opacity:.65}.mig-ask-form{padding:14px;border-top:1px solid var(--mig-line);background:#0c1117}.mig-ask-form textarea{width:100%;resize:none;background:#18202b;color:#fff;border:1px solid #344153;border-radius:10px;padding:11px;outline:none}.mig-ask-form textarea:focus{border-color:#6b7f99}.mig-ask-actions{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.mig-char-count{color:var(--mig-muted);font-size:11px}.mig-limit-message{padding:0 14px 14px;color:#ffadb2;font-size:13px}.mig-limit-message[hidden]{display:none}.mig-notebook textarea{width:100%;resize:vertical;background:#0e141c;color:#eef2f7;border:1px solid #344153;border-radius:10px;padding:14px;line-height:1.5;min-height:170px}.mig-notebook textarea:focus{outline:none;border-color:#6b7f99}.mig-notebook-actions{display:flex;align-items:center;gap:12px;margin-top:10px}.mig-note-count,.mig-note-status{color:var(--mig-muted);font-size:12px}.mig-note-status{flex:1}.mig-accusation{margin-top:34px}.mig-accusation form{display:grid;gap:12px;max-width:620px}.mig-accusation label{font-weight:700}.mig-accusation select,.mig-guest-fields input{width:100%;background:#0f151d;color:#fff;border:1px solid #344153;border-radius:9px;padding:11px}.mig-guest-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mig-accusation small{color:var(--mig-muted)}.mig-accusation-gate{max-width:680px;margin:12px 0;padding:13px 14px;background:#29241a;border:1px solid #66592e;border-radius:9px;color:#eadb9a}.mig-accusation-gate[hidden]{display:none}.mig-submitted{padding:15px;border:1px solid #315e4b;background:#14261f;border-radius:10px;color:#bff0d8}.mig-solution{border-color:#536d58;background:linear-gradient(135deg,#15231c,#151b24)}.mig-toast{position:fixed;z-index:1000000;left:50%;bottom:26px;transform:translate(-50%,20px);background:#fff;color:#111827;border-radius:999px;padding:11px 16px;font-size:13px;font-weight:800;box-shadow:0 10px 40px rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:.2s ease}.mig-toast.is-visible{opacity:1;transform:translate(-50%,0)}@media(max-width:700px){.mig-game{border-radius:0;margin-left:-20px;margin-right:-20px}.mig-hero-cover{min-height:320px;padding:22px}.mig-section-heading{display:block}.mig-section-heading p{margin-top:8px;text-align:left}.mig-progress-panel{grid-template-columns:1fr}.mig-guest-fields{grid-template-columns:1fr}.mig-chat{width:100vw}.mig-people-grid,.mig-evidence-grid{grid-template-columns:1fr}.mig-case-meta{display:grid}.mig-notebook-actions{flex-wrap:wrap}.mig-note-status{order:3;flex-basis:100%}}

/* v1.7 persistent interview history */
.mig-conversation-saved{margin:8px 0 10px;font-size:12px;font-weight:700;letter-spacing:.02em;opacity:.78}
.mig-msg-system span{font-size:12px;opacity:.8;font-style:italic}
.mig-interview-condition{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0 8px}.mig-interview-status,.mig-lawyer-flag{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;border:1px solid #3c4a5d;background:#111822;color:#dce4ed}.mig-interview-status.mig-status-active{color:#bfe8d0;border-color:#355d49}.mig-interview-status.mig-status-lawyer{color:#cbd8ff;border-color:#455b8d}.mig-interview-status.mig-status-cooldown{color:#ffc0c4;border-color:#7b3b41}.mig-interview-status.mig-status-exhausted{color:#d1d5db;border-color:#5b6470}.mig-lawyer-flag{color:#cbd8ff;border-color:#455b8d}.mig-lawyer-flag[hidden]{display:none}.mig-cooperation-meter{margin:8px 0 12px;color:var(--mig-muted);font-size:12px}.mig-cooperation-track{display:block;height:7px;background:#27313f;border-radius:99px;margin-top:7px;overflow:hidden}.mig-cooperation-track i{display:block;height:100%;background:linear-gradient(90deg,#a24a52,#e2b94b 55%,#65c58f);transition:width .3s ease}.mig-cooldown{margin:10px 0;padding:9px 10px;border-radius:8px;background:#2c2023;border:1px solid #61363b;color:#ffc4c8;font-size:12px}.mig-cooldown[hidden]{display:none}.mig-chat-status{color:#b7c2d0!important}.mig-person[data-interview-status="cooldown"] .mig-person-photo img{filter:saturate(.7) contrast(1.06)}.mig-person[data-interview-status="lawyer"]{box-shadow:0 0 0 1px rgba(115,143,206,.12)}

/* v1.11 world / map mode */
.mig-world-section{margin:34px 0}.mig-world-shell{background:var(--mig-panel);border:1px solid var(--mig-line);border-radius:16px;overflow:hidden}.mig-world{position:relative}.mig-map-wrap{padding:16px 16px 0}.mig-map-canvas{position:relative;min-height:360px;border:1px solid #344153;border-radius:13px;overflow:hidden;background:radial-gradient(circle at 30% 35%,#273344,#111821 70%)}.mig-map-canvas.has-map{background-image:linear-gradient(rgba(7,11,16,.12),rgba(7,11,16,.18)),var(--mig-map-image);background-position:center;background-size:cover;background-repeat:no-repeat}.mig-map-canvas:not(.has-map):before{content:'CASE MAP';position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.06);font-size:clamp(46px,9vw,110px);font-weight:900;letter-spacing:.12em}.mig-map-pin{position:absolute;transform:translate(-50%,-50%);z-index:2;appearance:none;border:2px solid rgba(255,255,255,.82);background:#a93943;color:#fff;width:22px;height:22px;border-radius:50%;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.45);transition:transform .18s ease,box-shadow .18s ease,background .18s ease,width .18s ease,height .18s ease}.mig-map-pin:before{content:'📍';position:absolute;inset:0;display:grid;place-items:center;font-size:11px;line-height:1}.mig-map-pin:after{content:'';position:absolute;left:50%;top:100%;transform:translateX(-50%);border:6px solid transparent;border-top:9px solid #a93943;margin-top:-2px}.mig-map-pin span{position:absolute;left:50%;top:calc(100% + 11px);transform:translateX(-50%);background:rgba(8,12,17,.9);border:1px solid rgba(255,255,255,.18);border-radius:7px;padding:5px 8px;font-size:11px;font-weight:800;white-space:nowrap;pointer-events:none;color:#fff}.mig-map-pin:hover{transform:translate(-50%,-50%) scale(1.12);background:var(--mig-accent);box-shadow:0 0 0 5px rgba(226,185,75,.18),0 6px 16px rgba(0,0,0,.45);color:#16120a}.mig-map-pin:hover:before{content:'📍'}.mig-map-pin:hover:after{border-top-color:var(--mig-accent)}.mig-map-pin.is-active{transform:translate(-50%,-50%) scale(1.16);background:#102235;border-color:#8fc7ff;box-shadow:0 0 0 6px rgba(91,163,255,.22),0 6px 16px rgba(0,0,0,.45);color:#fff;width:28px;height:28px}.mig-map-pin.is-active:before{content:'🚓';font-size:13px}.mig-map-pin.is-active:after{border-top-color:#102235}.mig-map-pin.is-active span{color:#fff;background:rgba(8,12,17,.96);border-color:rgba(143,199,255,.5);box-shadow:0 6px 16px rgba(0,0,0,.35)}.mig-map-pin.is-active span:before{content:'Current · ';color:#8fc7ff;font-weight:900}.mig-world-controls{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:12px 16px;border-bottom:1px solid var(--mig-line);color:var(--mig-muted);font-size:12px}.mig-world-controls button{appearance:none;border:1px solid #45556a;background:#121a24;color:#fff;border-radius:8px;padding:8px 11px;font-weight:800;cursor:pointer}.mig-world-controls label{display:flex;align-items:center;gap:8px}.mig-volume{width:130px}.mig-location-scenes{background:#0c1117}.mig-location-scene{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);min-height:300px}.mig-location-scene[hidden]{display:none!important}.mig-location-image{min-height:300px;background:#080c11}.mig-location-image img{width:100%;height:100%;min-height:300px;object-fit:cover;display:block}.mig-location-copy{padding:28px}.mig-location-copy h3{margin-top:4px;font-size:26px}.mig-location-copy p{color:#bdc7d4;line-height:1.65}.mig-world-empty{padding:24px;color:var(--mig-muted);text-align:center}.mig-person[hidden],.mig-evidence[hidden]{display:none!important}@media(max-width:700px){.mig-map-wrap{padding:10px 10px 0}.mig-map-canvas{min-height:300px}.mig-map-pin span{font-size:9px;max-width:110px;white-space:normal;line-height:1.15}.mig-world-controls{justify-content:space-between;flex-wrap:wrap}.mig-location-scene{grid-template-columns:1fr}.mig-location-image,.mig-location-image img{min-height:220px}.mig-location-copy{padding:20px}}

/* v1.11 case-wide music when World Mode is off */
.mig-case-audio{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin:18px 0 24px;padding:12px 14px;background:var(--mig-panel);border:1px solid var(--mig-line);border-radius:12px;color:var(--mig-muted);font-size:12px}.mig-case-audio button{appearance:none;border:1px solid #45556a;background:#121a24;color:#fff;border-radius:8px;padding:8px 11px;font-weight:800;cursor:pointer}.mig-case-audio label{display:flex;align-items:center;gap:8px}.mig-case-volume{width:140px}@media(max-width:700px){.mig-case-audio{justify-content:space-between;flex-wrap:wrap}}

/* v1.15 compact game shell — preserves full gameplay controls */
body.mig-game-active{padding-bottom:0!important}
.mig-compact-game{--mig-hud-h:58px;--mig-nav-h:66px;position:relative;padding-bottom:calc(var(--mig-nav-h) + 18px);overflow:visible}
.mig-game-hud{position:sticky;top:0;z-index:99980;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:var(--mig-hud-h);padding:7px 11px;background:rgba(8,13,20,.97);border:1px solid var(--mig-line);border-radius:11px;backdrop-filter:blur(12px);box-shadow:0 8px 24px rgba(0,0,0,.24)}
.mig-hud-title{min-width:0;display:flex;flex-direction:column}.mig-hud-case{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-weight:850;font-size:14px}.mig-hud-location{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--mig-muted);font-size:10px;margin-top:1px}
.mig-hud-stats{display:flex;align-items:center;gap:4px}.mig-hud-stat,.mig-hud-sound{appearance:none;border:1px solid #2e3a49;background:#111923;color:#e9edf2;border-radius:8px;min-height:34px;padding:4px 7px;font-size:11px;font-weight:800;cursor:pointer}.mig-hud-stat b{font:inherit}.mig-hud-sound{font-size:15px;min-width:35px}
.mig-legacy-progress{display:none!important}
.mig-briefing-toggle{display:block;width:max-content;margin:8px 0 10px;appearance:none;border:1px solid #354255;background:#111923;color:#e8edf3;border-radius:9px;padding:7px 10px;font-weight:800;cursor:pointer}.mig-rules.is-collapsed{display:none}
.mig-compact-game .mig-hero{min-height:0!important;padding:14px 16px!important;margin:10px 0!important}.mig-compact-game .mig-hero-cover{min-height:180px!important;padding:18px!important}.mig-compact-game .mig-hero h2{font-size:clamp(23px,4vw,34px);margin:4px 0 7px}.mig-compact-game .mig-intro{font-size:13px;line-height:1.45;max-width:820px}.mig-compact-game .mig-case-meta{gap:6px 10px;margin-top:10px;font-size:10px}
.mig-compact-game [data-mig-panel]:not(.is-active-panel){display:none!important}.mig-compact-game [data-mig-panel]{margin:10px 0!important}.mig-compact-game .mig-section-heading{margin:0 0 10px}.mig-compact-game .mig-section-heading h3{font-size:clamp(21px,4vw,28px);margin:2px 0}.mig-compact-game .mig-section-heading p{font-size:12px;line-height:1.4;max-width:540px}.mig-compact-game .mig-kicker{font-size:9px;letter-spacing:.14em}
.mig-game-nav{position:sticky;bottom:0;z-index:99970;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;min-height:var(--mig-nav-h);background:rgba(8,13,20,.985);border:1px solid #303b49;border-radius:12px 12px 0 0;box-shadow:0 -8px 28px rgba(0,0,0,.34);backdrop-filter:blur(12px)}.mig-game-nav button{appearance:none;border:0;border-right:1px solid rgba(255,255,255,.05);background:transparent;color:#95a1b1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 3px;cursor:pointer}.mig-game-nav button span{font-size:19px;line-height:1}.mig-game-nav button small{font-size:9px;font-weight:800}.mig-game-nav button.is-active{color:var(--mig-accent);background:rgba(226,185,75,.09)}
/* Map stays useful without consuming the whole screen. */
.mig-compact-game .mig-world-shell{border-radius:12px}.mig-compact-game .mig-map-wrap{padding:8px}.mig-compact-game .mig-map-canvas{min-height:210px;max-height:38vh}.mig-map-expand{display:block;margin:7px 8px 1px auto;appearance:none;border:1px solid #405066;background:#121a24;color:#fff;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:800;cursor:pointer}.mig-map-canvas.is-expanded{position:fixed!important;z-index:1000012;inset:10px!important;width:auto!important;height:auto!important;max-height:none!important;min-height:0!important;border-radius:14px}.mig-map-open:before{content:'';position:fixed;z-index:1000011;inset:0;background:rgba(0,0,0,.9)}.mig-compact-game .mig-world-controls{padding:7px 10px;gap:10px}.mig-compact-game .mig-volume{width:100px}.mig-compact-game .mig-location-scene{grid-template-columns:minmax(0,1.25fr) minmax(210px,.75fr);min-height:165px}.mig-compact-game .mig-location-image,.mig-compact-game .mig-location-image img{min-height:165px;max-height:230px}.mig-compact-game .mig-location-copy{padding:13px 15px}.mig-compact-game .mig-location-copy h3{font-size:20px;margin:3px 0 5px}.mig-compact-game .mig-location-copy p{font-size:12px;line-height:1.42;margin:0}
/* Evidence becomes an inventory, but all original evidence content remains available. */
.mig-compact-game .mig-evidence-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px}.mig-compact-game .mig-evidence{min-height:0;border-radius:10px}.mig-compact-game .mig-evidence-image{height:105px;aspect-ratio:auto}.mig-compact-game .mig-evidence-body{padding:10px!important}.mig-compact-game .mig-evidence-body h4{font-size:15px;margin:3px 0 5px}.mig-compact-game .mig-evidence-body p,.mig-compact-game .mig-evidence-copy{font-size:11px;line-height:1.4}.mig-compact-game .mig-evidence-locked{min-height:128px;display:grid;grid-template-columns:36px 1fr}.mig-compact-game .mig-evidence-lock{min-width:36px;font-size:8px;padding:8px 6px}.mig-compact-game .mig-evidence-locked small{font-size:9px;line-height:1.3}
/* People cards: keep every control visible and tappable. */
.mig-compact-game .mig-people-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(315px,1fr))!important;gap:10px!important}.mig-compact-game .mig-person{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;align-items:stretch!important;min-height:210px!important;border-radius:12px!important;overflow:hidden!important}.mig-compact-game .mig-person-photo{position:relative!important;aspect-ratio:auto!important;width:112px!important;height:100%!important;min-height:210px!important;overflow:hidden!important}.mig-compact-game .mig-person-photo img{width:100%!important;height:100%!important;min-height:210px!important;object-fit:cover!important}.mig-compact-game .mig-person-body{display:block!important;position:relative!important;z-index:2!important;padding:11px!important;min-width:0!important;background:var(--mig-panel)!important}.mig-compact-game .mig-person-body h4{font-size:18px!important;margin:0 0 4px!important}.mig-compact-game .mig-profile{font-size:11px!important;line-height:1.35!important;max-height:47px!important;overflow:auto!important;mask-image:none!important}.mig-compact-game .mig-classification-control{margin:7px 0 5px!important;font-size:10px!important;gap:3px!important}.mig-compact-game .mig-classification-control select{padding:5px 7px!important;font-size:11px!important}.mig-compact-game .mig-interview-condition{margin:5px 0 4px!important;gap:4px!important}.mig-compact-game .mig-interview-status,.mig-compact-game .mig-lawyer-flag{padding:3px 6px!important;font-size:8px!important}.mig-compact-game .mig-cooperation-meter,.mig-compact-game .mig-question-meter{margin:5px 0!important;font-size:9px!important}.mig-compact-game .mig-cooperation-track,.mig-compact-game .mig-meter{margin-top:3px!important;height:4px!important}.mig-compact-game .mig-conversation-saved{font-size:9px!important;margin:4px 0!important}.mig-compact-game .mig-cooldown{font-size:9px!important;padding:5px 6px!important;margin:4px 0!important}.mig-compact-game .mig-interview-btn{display:block!important;width:100%!important;margin-top:7px!important;padding:8px 9px!important;font-size:11px!important;line-height:1.2!important}
/* Interview becomes a dedicated game screen, with an obvious route back. */
.mig-chat{z-index:1000100!important;width:min(600px,100vw)!important;background:#0d141d!important}.mig-chat-head{position:sticky;top:0;z-index:2;padding:10px 12px!important;background:#101822!important}.mig-close-chat{display:flex!important;align-items:center!important;gap:5px!important;min-width:96px!important;justify-content:center!important;background:#202b38!important;border:1px solid #415066!important;border-radius:8px!important;color:#fff!important;font-size:12px!important;font-weight:800!important;padding:8px 10px!important}.mig-close-chat:after{content:'Back to People'}.mig-close-chat{font-size:0!important}.mig-close-chat:before{content:'←';font-size:15px}.mig-close-chat:after{font-size:11px}.mig-chat-map{appearance:none;border:1px solid #415066;background:#18212c;color:#fff;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:800;cursor:pointer;margin-left:6px}.mig-chat-head-actions{display:flex;align-items:center}.mig-messages{padding:12px!important}.mig-msg span{font-size:13px!important;max-width:90%!important}.mig-ask-form{padding:10px!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important}.mig-ask-form textarea{font-size:16px!important;min-height:54px!important}.mig-chat-open .mig-game-nav{visibility:hidden!important;pointer-events:none!important}
.mig-compact-game .mig-notebook,.mig-compact-game .mig-accusation{max-width:820px;margin-left:auto!important;margin-right:auto!important;padding:15px}.mig-compact-game .mig-notebook textarea{min-height:42vh}.mig-compact-game .mig-case-audio{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.mig-toast{bottom:82px!important}
@media(max-width:700px){
 body.mig-game-active .storefront-handheld-footer-bar{display:none!important}
 .mig-compact-game{margin-left:-20px!important;margin-right:-20px!important;padding:0 7px 76px!important;min-height:78vh}
 .mig-game-hud{margin:0 -7px!important;border-radius:0!important;border-left:0!important;border-right:0!important;padding:6px 7px!important;min-height:52px!important}.mig-hud-case{max-width:125px;font-size:11px}.mig-hud-location{max-width:125px;font-size:8px}.mig-hud-stats{gap:2px}.mig-hud-stat{min-height:30px;padding:3px 5px;font-size:9px}.mig-hud-sound{min-width:30px;min-height:30px;padding:3px;font-size:13px}
 .mig-compact-game .mig-hero{padding:9px!important;margin:5px 0 7px!important}.mig-compact-game .mig-hero-cover{min-height:128px!important;padding:10px!important}.mig-compact-game .mig-hero h2{font-size:20px!important}.mig-compact-game .mig-intro{font-size:11px;line-height:1.35;max-height:44px;overflow:hidden}.mig-compact-game .mig-case-meta{display:flex!important;overflow-x:auto;white-space:nowrap;padding-bottom:2px}.mig-compact-game .mig-case-meta>span{flex:0 0 auto;font-size:8px}
 .mig-briefing-toggle{margin:4px 0 7px;padding:6px 8px;font-size:10px}.mig-compact-game .mig-rules{padding:10px}.mig-compact-game .mig-rules h3{font-size:17px}.mig-compact-game .mig-rules p{font-size:10px;line-height:1.35}
 .mig-compact-game [data-mig-panel]{margin:6px 0!important}.mig-compact-game .mig-section-heading{display:block!important;margin:2px 0 7px!important}.mig-compact-game .mig-section-heading h3{font-size:20px!important}.mig-compact-game .mig-section-heading p{font-size:10px!important;text-align:left!important;margin-top:3px!important;display:block!important;line-height:1.3!important}
 .mig-compact-game .mig-map-canvas{min-height:178px!important;max-height:210px!important}.mig-compact-game .mig-map-pin{width:18px;height:18px}.mig-compact-game .mig-map-pin span{font-size:8px;padding:3px 5px;max-width:88px;white-space:normal;line-height:1.05}.mig-compact-game .mig-world-controls{padding:5px 7px;gap:7px}.mig-compact-game .mig-world-controls button{padding:6px 8px;font-size:10px}.mig-compact-game .mig-world-controls label{font-size:9px}.mig-compact-game .mig-volume{width:82px}.mig-compact-game .mig-location-scene{grid-template-columns:1fr!important;min-height:0!important}.mig-compact-game .mig-location-image,.mig-compact-game .mig-location-image img{min-height:0!important;height:118px!important;max-height:118px!important}.mig-compact-game .mig-location-copy{padding:8px 10px!important}.mig-compact-game .mig-location-copy h3{font-size:17px!important}.mig-compact-game .mig-location-copy p{font-size:10px!important;line-height:1.3!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .mig-compact-game .mig-evidence-grid{grid-template-columns:1fr 1fr!important;gap:6px!important}.mig-compact-game .mig-evidence-image{height:72px!important}.mig-compact-game .mig-evidence-body{padding:7px!important}.mig-compact-game .mig-evidence-body h4{font-size:13px!important}.mig-compact-game .mig-evidence-body p,.mig-compact-game .mig-evidence-copy{font-size:9px!important;line-height:1.3!important}.mig-compact-game .mig-evidence-locked{min-height:105px!important;grid-template-columns:25px 1fr!important}.mig-compact-game .mig-evidence-lock{min-width:25px!important;font-size:6px!important;padding:5px 3px!important}
 .mig-compact-game .mig-people-grid{grid-template-columns:1fr!important;gap:7px!important}.mig-compact-game .mig-person{grid-template-columns:92px minmax(0,1fr)!important;min-height:198px!important}.mig-compact-game .mig-person-photo{width:92px!important;min-height:198px!important;height:100%!important}.mig-compact-game .mig-person-photo img{min-height:198px!important;height:100%!important}.mig-compact-game .mig-type-badge{left:6px!important;bottom:6px!important;padding:3px 5px!important;font-size:7px!important}.mig-compact-game .mig-person-body{padding:8px!important}.mig-compact-game .mig-person-body h4{font-size:15px!important}.mig-compact-game .mig-profile{font-size:9px!important;max-height:36px!important}.mig-compact-game .mig-classification-control{margin:5px 0 3px!important}.mig-compact-game .mig-interview-btn{margin-top:5px!important;padding:7px!important;font-size:10px!important}
 .mig-compact-game .mig-notebook,.mig-compact-game .mig-accusation{padding:10px!important}.mig-compact-game .mig-notebook textarea{min-height:55vh!important}
 .mig-game-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;margin:0!important;border-radius:0!important;z-index:99990!important;min-height:62px!important}.mig-game-nav button span{font-size:18px}.mig-game-nav button small{font-size:8px}
 .mig-chat{inset:0!important;width:100vw!important;height:100dvh!important;border:0!important}.mig-chat-head{padding-top:max(10px,env(safe-area-inset-top))!important}.mig-chat-head>div:first-child{min-width:0;max-width:55vw}.mig-chat-head strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mig-chat-head small{font-size:9px}.mig-chat-map{font-size:10px;padding:7px 8px}.mig-close-chat{min-width:86px!important;padding:7px 8px!important}.mig-close-chat:after{font-size:10px!important}
 .mig-toast{bottom:72px!important;max-width:90vw;text-align:center}
}
.mig-map-canvas.is-expanded~.mig-map-expand{position:fixed!important;z-index:1000013!important;right:18px!important;top:18px!important;margin:0!important;background:#080d14!important}

/* v1.16 gameplay-flow fixes */
body.mig-game-active .woocommerce-breadcrumb,
body.mig-game-active .entry-header,
body.mig-game-active .page-header,
body.mig-game-active .post-edit-link{display:none!important}
.mig-login-gate{margin:18px 0;padding:22px;background:linear-gradient(145deg,#151d28,#0f151d);border:1px solid #38475b;border-radius:16px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px}.mig-login-icon{font-size:34px}.mig-login-gate h3{margin:3px 0 7px}.mig-login-gate p{margin:0;color:var(--mig-muted);line-height:1.5}.mig-login-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 16px;border-radius:10px;background:var(--mig-accent);color:#18130a!important;font-weight:900;text-decoration:none!important;white-space:nowrap}
.mig-back-map{appearance:none;border:1px solid #405066;background:#121a24;color:#f4f7fb;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:800;cursor:pointer;margin:0 0 9px}.mig-back-map:hover{border-color:var(--mig-accent)}
.mig-location-context{display:inline-flex;align-items:center;margin-top:4px;padding:3px 7px;border-radius:999px;border:1px solid #3b4a5e;color:#cbd5e1;background:#101720;font-size:10px;font-weight:800}
.mig-location-chip{display:inline-flex;align-items:center;max-width:100%;margin:1px 0 5px;padding:2px 6px;border-radius:999px;background:#0e151e;border:1px solid #334155;color:#aebccc;font-size:8px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mig-location-roster{margin-top:8px;border:1px solid #2f3b4b;border-radius:12px;background:#111923;padding:10px}.mig-roster-head{display:flex;justify-content:space-between;gap:10px;align-items:end;margin-bottom:8px}.mig-roster-head strong{display:block;color:#fff;font-size:14px;margin-top:2px}.mig-roster-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.mig-roster-group{appearance:none;width:100%;text-align:left;border:1px solid #344255;background:#0d141c;color:#e7edf5;border-radius:9px;padding:8px;cursor:pointer}.mig-roster-group b{display:block;font-size:10px;margin-bottom:5px}.mig-roster-group>span{display:flex;flex-wrap:wrap;gap:4px}.mig-roster-chip{display:inline-block;padding:2px 5px;border-radius:999px;background:#1b2633;color:#b8c5d4;font-size:8px}.mig-roster-empty{color:#718096;font-size:8px}.mig-roster-group:hover{border-color:var(--mig-accent)}
.mig-hud-location{cursor:pointer}.mig-hud-location:hover{text-decoration:underline}
@media(max-width:700px){
 .mig-login-gate{grid-template-columns:1fr;padding:15px;gap:10px}.mig-login-icon{font-size:27px}.mig-login-gate h3{font-size:19px}.mig-login-gate p{font-size:12px}.mig-login-button{width:100%}
 .mig-roster-grid{grid-template-columns:1fr 1fr;gap:5px}.mig-location-roster{padding:7px}.mig-roster-group{padding:6px}.mig-roster-head strong{font-size:12px}
 .mig-back-map{margin:0 0 6px;padding:6px 8px;font-size:9px}
 .mig-location-context{font-size:8px;padding:2px 5px}
}

/* v1.17 location-first interaction refinements */
.mig-roster-location-content{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:8px}
.mig-roster-people{border:1px solid #344255;background:#0d141c;border-radius:9px;padding:8px;min-width:0}
.mig-roster-title{display:block;font-size:10px;margin-bottom:6px;color:#e7edf5}
.mig-roster-person{appearance:none;width:100%;min-height:42px;border:1px solid #344255;background:#121b25;color:#eef2f7;border-radius:8px;padding:7px 9px;margin-top:5px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;cursor:pointer}
.mig-roster-person:first-of-type{margin-top:0}
.mig-roster-person>span:first-child{min-width:0;display:grid;gap:1px}
.mig-roster-person b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mig-roster-person small{font-size:8px;color:#9fb0c3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mig-roster-person>span:last-child{font-size:18px;color:var(--mig-accent);line-height:1}
.mig-roster-person:disabled{opacity:.55;cursor:not-allowed}
.mig-roster-evidence{height:100%}
.mig-question-meter{display:none!important}
.mig-location-empty-evidence[hidden]{display:none!important}
@media(max-width:700px){
  .mig-roster-location-content{grid-template-columns:1fr;gap:6px}
  .mig-roster-people,.mig-roster-group{padding:7px}
  .mig-roster-person{min-height:40px;padding:6px 8px}
}

/* v1.18 interview/location fixes */
.mig-compact-game .mig-person[hidden],.mig-compact-game .mig-evidence[hidden]{display:none!important}
.mig-chat-person{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.mig-chat-person-copy{min-width:0}
.mig-chat-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;object-fit:cover;border:2px solid #3b4a5e;background:#0b1118}
.mig-chat-avatar-placeholder{display:grid;place-items:center;color:#cbd5e1;font-weight:900;font-size:18px}
.mig-close-chat.mig-close-location:after{content:'Back to Location'}
@media(max-width:700px){.mig-chat-avatar{width:42px;height:42px;flex-basis:42px}.mig-chat-head>div:first-child{max-width:none!important;flex:1}.mig-chat-person-copy strong{font-size:14px}.mig-chat-person-copy small{font-size:9px}}

/* v1.19 global investigation indexes + richer current-location roster */
.mig-roster-person,.mig-roster-evidence-item{appearance:none;width:100%;min-height:50px;border:1px solid #344255;background:#121b25;color:#eef2f7;border-radius:8px;padding:5px;margin-top:5px;display:grid;grid-template-columns:42px minmax(0,1fr) 16px;align-items:center;gap:8px;text-align:left;cursor:pointer}
.mig-roster-person:first-of-type,.mig-roster-evidence-item:first-of-type{margin-top:0}
.mig-roster-thumb{width:42px;height:42px;border-radius:7px;object-fit:cover;display:block;background:#0a1017;border:1px solid #2b394a}
.mig-roster-thumb-placeholder{display:grid;place-items:center;color:#8fa0b5;font-size:16px}
.mig-roster-copy{min-width:0;display:grid;gap:2px}
.mig-roster-copy b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mig-roster-copy small{font-size:8px;color:#9fb0c3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mig-roster-arrow{font-size:18px;color:var(--mig-accent);line-height:1;text-align:center}
.mig-roster-person:disabled{opacity:.55;cursor:not-allowed}
.mig-roster-evidence-item:hover,.mig-roster-person:hover{border-color:var(--mig-accent)}
.mig-roster-evidence-list{min-width:0}
.mig-location-context{display:inline-flex;margin-top:5px;padding:3px 7px;border:1px solid #334155;border-radius:999px;color:#9fb0c3;font-size:9px;font-weight:700}
@media(max-width:700px){.mig-roster-person,.mig-roster-evidence-item{grid-template-columns:38px minmax(0,1fr) 14px;min-height:46px;padding:4px}.mig-roster-thumb{width:38px;height:38px}.mig-roster-copy b{font-size:10px}}

/* v1.21 in-interview discovery flow */
.mig-entity-highlight{background:#f3c94f;color:#17120a;border-radius:4px;padding:0 .18em;font-weight:900}
.mig-case-update{margin:10px 0 14px;max-width:min(92%,560px);border:1px solid rgba(243,201,79,.34);border-left:4px solid #f3c94f;border-radius:12px;background:#151d27;padding:12px 14px;color:#e9eef5}
.mig-case-update>strong{display:block;color:#f3c94f;text-transform:uppercase;letter-spacing:.12em;font-size:11px;margin-bottom:7px}
.mig-case-update-row,.mig-case-lead{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.45}
.mig-case-update-row+.mig-case-update-row,.mig-case-update-row+.mig-case-lead{margin-top:6px}
.mig-case-lead{margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08);color:#cbd6e3}


.mig-roster-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mig-investigate-location{appearance:none;border:1px solid rgba(226,185,75,.55);background:#17202b;color:#f3cc58;border-radius:10px;padding:10px 13px;font-weight:850;cursor:pointer;min-height:44px}
.mig-investigate-location:disabled{opacity:.65;cursor:wait}
.mig-location-search-result{display:none;margin:12px 0 0;padding:11px 13px;border-radius:10px;font-size:13px;line-height:1.45}
.mig-location-search-result.is-found,.mig-location-search-result.is-empty,.mig-location-search-result.is-error{display:block}
.mig-location-search-result.is-found{border:1px solid rgba(226,185,75,.45);background:rgba(226,185,75,.09);color:#f3df9c}
.mig-location-search-result.is-empty{border:1px solid #344153;background:#101720;color:var(--mig-muted)}
.mig-location-search-result.is-error{border:1px solid rgba(198,76,76,.55);background:rgba(198,76,76,.09);color:#f1b4b4}
@media(max-width:640px){.mig-roster-head .mig-investigate-location{width:100%}}
.mig-case-lead-copy{display:grid;gap:8px;min-width:0}.mig-lead-action{appearance:none;border:1px solid rgba(243,201,79,.55);background:#2a2416;color:#f7d86f;border-radius:8px;padding:8px 11px;font-size:12px;font-weight:900;cursor:pointer;width:max-content;max-width:100%}.mig-lead-action:hover{background:#342b18;border-color:#f3c94f}.mig-leads-board{margin:16px 0 18px;padding:14px;border:1px solid #344153;border-radius:12px;background:#101720}.mig-leads-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:12px}.mig-leads-heading h4{margin:3px 0 0!important;font-size:18px!important}.mig-leads-heading small{color:var(--mig-muted);font-size:11px;max-width:320px;text-align:right}.mig-leads-list{display:grid;gap:9px}.mig-leads-empty{padding:12px;border:1px dashed #354355;border-radius:9px;color:var(--mig-muted);font-size:12px}.mig-lead-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border:1px solid #2e3a4a;border-radius:10px;background:#151e29}.mig-lead-copy{display:flex;align-items:flex-start;gap:9px;min-width:0}.mig-lead-copy strong{display:block;color:#edf2f7;font-size:13px;line-height:1.4}.mig-lead-copy small{display:block;color:#94a3b5;font-size:11px;margin-top:3px}.mig-lead-icon{font-size:16px;line-height:1.2}.mig-lead-focus{animation:migLeadPulse 1.1s ease-in-out 2;outline:2px solid #f3c94f!important;outline-offset:3px}@keyframes migLeadPulse{0%,100%{box-shadow:0 0 0 0 rgba(243,201,79,.05)}50%{box-shadow:0 0 0 8px rgba(243,201,79,.16)}}@media(max-width:700px){.mig-leads-heading{display:block}.mig-leads-heading small{display:block;text-align:left;margin-top:5px}.mig-lead-card{align-items:flex-start;flex-direction:column}.mig-lead-action{width:100%}}

/* v1.25 post-limit follow-up recovery */
.mig-interview-status.mig-status-limit_cooldown{color:#ffd978;border-color:#80652a}
.mig-interview-status.mig-status-bonus_ready{color:#bfe8d0;border-color:#3f7659}
.mig-limit-recovery{margin:9px 0 10px;padding:10px 11px;border:1px solid #5f5128;border-radius:10px;background:#181b19;color:#e7edf5;font-size:11px}
.mig-limit-recovery[hidden]{display:none!important}
.mig-recovery-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
.mig-recovery-head span{font-weight:800}
.mig-recovery-head strong{color:#f0c94d;font-size:10px;text-align:right}
.mig-recovery-track{display:block;height:7px;border-radius:99px;background:#28313c;overflow:hidden}
.mig-recovery-track i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ad4a52,#e1b94b,#65c58f);transition:width .35s ease}
.mig-limit-recovery small{display:block;margin-top:7px;color:#aeb9c7;line-height:1.4}
.mig-chat-recovery{margin:10px 18px 6px}
.mig-compact-game .mig-limit-recovery:not(.mig-chat-recovery){padding:7px 8px;margin:5px 0 6px;font-size:9px}
.mig-compact-game .mig-limit-recovery:not(.mig-chat-recovery) .mig-recovery-track{height:5px}
.mig-compact-game .mig-limit-recovery:not(.mig-chat-recovery) small{font-size:8px;margin-top:4px}


/* v1.25.2 desktop map coordinate alignment */
@media(min-width:701px){
  .mig-compact-game .mig-map-canvas.has-map{
    aspect-ratio:var(--mig-map-ratio,1.5)!important;
    min-height:0!important;
    max-height:none!important;
    height:auto!important;
    background-size:100% 100%!important;
    background-position:center!important;
  }
  .mig-map-canvas.has-map.is-expanded{
    inset:auto!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    min-height:0!important;
    max-height:none!important;
    max-width:none!important;
    aspect-ratio:var(--mig-map-ratio,1.5)!important;
    background-size:100% 100%!important;
  }
}

/* v1.25.3 crowded map pin label cleanup */
.mig-map-pin{z-index:2}
.mig-map-pin span{
  opacity:0;
  visibility:hidden;
  transform:translateX(-50%) translateY(-4px) scale(.96);
  transition:opacity .16s ease,visibility .16s ease,transform .16s ease;
  max-width:150px;
  white-space:normal;
  line-height:1.2;
  text-align:center;
}
.mig-map-pin:hover,
.mig-map-pin:focus,
.mig-map-pin:focus-visible,
.mig-map-pin.is-active{z-index:6}
.mig-map-pin:hover span,
.mig-map-pin:focus span,
.mig-map-pin:focus-visible span,
.mig-map-pin.is-active span{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0) scale(1);
}
.mig-map-pin:focus,.mig-map-pin:focus-visible{outline:none}
@media(max-width:700px){
  .mig-map-pin span{max-width:96px;font-size:8px;line-height:1.08}
}


/* v1.25.4 mobile keyboard-safe interview viewport */
body.mig-chat-open{overflow:hidden!important}
.mig-chat{min-height:0!important}
.mig-chat-head,.mig-ask-form{flex:0 0 auto}
.mig-messages{min-height:0!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
@media(max-width:700px){
  .mig-chat{
    top:var(--mig-chat-visible-top,0px)!important;
    bottom:auto!important;
    height:var(--mig-chat-visible-height,100dvh)!important;
    max-height:var(--mig-chat-visible-height,100dvh)!important;
    min-height:0!important;
  }
  .mig-chat-head{padding-top:8px!important;padding-bottom:8px!important}
  .mig-messages{flex:1 1 auto!important;min-height:80px!important;padding:10px 12px!important}
  .mig-ask-form{padding:8px 10px max(8px,env(safe-area-inset-bottom))!important}
  .mig-ask-form textarea{
    display:block;
    height:64px!important;
    min-height:64px!important;
    max-height:88px!important;
    padding:9px 10px!important;
    line-height:1.35!important;
  }
  .mig-ask-actions{margin-top:6px!important}
  .mig-ask-actions button{padding:9px 14px!important}
  .mig-msg span{max-width:92%!important}
}


/* v1.26.1 case-full player gate */
.mig-case-full-gate{margin:16px 0;padding:16px 18px;border:1px solid rgba(225,91,100,.55);border-radius:14px;background:linear-gradient(135deg,rgba(68,29,34,.96),rgba(28,23,29,.96));display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center}
.mig-case-full-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(225,91,100,.13);border:1px solid rgba(255,255,255,.12);font-size:23px}
.mig-case-full-copy h3{margin:3px 0 5px!important;font-size:20px!important}.mig-case-full-copy p{margin:0;color:#d7c8cb;line-height:1.45;font-size:13px}
@media(max-width:700px){.mig-case-full-gate{grid-template-columns:1fr;padding:13px}.mig-case-full-icon{width:40px;height:40px;font-size:19px}.mig-case-full-copy h3{font-size:17px!important}.mig-case-full-copy p{font-size:11px}}
