/* Scoped editorial surfaces: do not alter Mike's markets or Primetime records. */
.investigation-library{--case-bg:#101923;--case-panel:#182331;--case-border:#354456;--case-muted:#b4c2d1;--case-gold:#f8c563;color:#eef3f8;font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:left;-webkit-text-stroke:0;max-width:1120px;margin:0 auto;padding:0 18px 32px;box-sizing:border-box}
.investigation-library *{box-sizing:border-box}.investigation-library a{color:inherit}.investigation-library a:focus-visible,.investigation-library summary:focus-visible,.investigation-library input:focus-visible,.investigation-library select:focus-visible,.investigation-library button:focus-visible{outline:3px solid #f8c563;outline-offset:4px}
.investigation-library h1,.investigation-library h2,.investigation-library h3{color:#f4f6fa;font-family:inherit;text-shadow:none;-webkit-text-stroke:0;text-align:left;letter-spacing:-.025em;margin:0 0 12px;line-height:1.2}
.investigation-library p{margin:0 0 16px;font-size:inherit}.case-intro{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:25px 0 24px;border-top:1px solid var(--case-border)}.case-intro h3{font-size:clamp(25px,3.5vw,39px);max-width:650px}.case-intro>div>p:last-child{max-width:640px;color:var(--case-muted)}.investigation-library .case-eyebrow{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.17em;color:var(--case-gold);margin-bottom:10px}.case-library-stamp{min-width:165px;border-left:1px solid var(--case-border);padding-left:26px;display:grid}.case-library-stamp strong{font-size:46px;line-height:1.1;color:var(--case-gold)}.case-library-stamp span{font-size:13px}.case-library-stamp small{font-size:11px;color:var(--case-muted);margin-top:7px}
.case-views,.case-filters,.case-jump{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.case-views a,.case-filters a,.case-jump a{font-size:13px;text-decoration:none;border:1px solid var(--case-border);border-radius:7px;padding:9px 12px;background:#14202d}.case-views a[aria-current],.case-filters a[aria-current]{background:var(--case-gold);color:#131b24;border-color:var(--case-gold);font-weight:750}.case-filters span{opacity:.8;margin-left:5px}.case-views a:hover,.case-filters a:hover,.case-jump a:hover{border-color:var(--case-gold)}
.case-search{display:flex;gap:12px;align-items:end;margin-bottom:18px;flex-wrap:wrap}.case-search label{display:grid;gap:5px;font-size:12px;color:var(--case-muted)}.case-search label:first-of-type{flex:1;min-width:190px}.case-search input,.case-search select,.case-search button{font:inherit;height:42px;border:1px solid var(--case-border);border-radius:7px;padding:9px 12px;background:#111b27;color:#f4f6fa;max-width:100%;width:100%;box-shadow:none}.case-search button{width:auto;background:#e3b45d;color:#111a24;font-size:13px;font-weight:750;cursor:pointer}.investigation-library .case-result-count{font-size:12px;color:var(--case-muted)}
.case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}.case-card{min-width:0;background:var(--case-panel);border:1px solid var(--case-border);border-radius:12px;padding:20px;display:flex;flex-direction:column;align-items:start;box-shadow:0 7px 20px #0002}.case-card h3{font-size:21px}.case-card h3 a{text-decoration:none}.case-card h3 a:hover{text-decoration:underline;text-decoration-color:var(--case-gold);text-underline-offset:4px}.case-labels{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.case-tag,.case-spotlight{font-size:10px;font-weight:750;letter-spacing:.03em;border-radius:4px;padding:4px 7px;background:#233747;color:#c2e7ee;line-height:1.4;text-decoration:none}.case-spotlight{background:#f8c563;color:#111b27}.investigation-library .case-meta{font-size:12px;line-height:1.5;color:var(--case-muted);margin-bottom:11px}.investigation-library .case-description{font-size:14px;color:#d8e0e9;line-height:1.65}.case-card details{font-size:13px;width:100%;margin:0 0 18px}.case-card summary{cursor:pointer;color:var(--case-gold);padding:5px 0}.case-card details p{margin-top:9px;font-size:13px}.case-card .case-explore{font-size:13px;font-weight:750;display:flex;justify-content:space-between;gap:20px;width:100%;margin-top:auto;padding-top:12px;border-top:1px solid var(--case-border);text-decoration:none}.case-explore:hover{color:var(--case-gold)}.case-featured{border-color:#9c7a3e;background:linear-gradient(110deg,#24303c,#182331);padding:24px}.case-featured h3{font-size:28px}.case-featured .case-description{max-width:760px}.case-featured .case-explore{max-width:320px}.case-empty,.case-method{padding:22px;background:var(--case-panel);border:1px solid var(--case-border);border-radius:10px;margin-top:24px}.case-method{font-size:13px}.case-method summary{cursor:pointer;font-weight:700}.case-method p{margin-top:12px}.case-sr,.case-skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.investigation-detail{background:#101923;color:#eef3f8;margin:0}.case-file{padding-top:28px}.case-breadcrumb{font-size:12px;color:var(--case-muted);margin-bottom:24px}.case-file-heading{padding:20px 0 22px}.case-file-heading h1{font-size:clamp(30px,5vw,50px);max-width:900px}.investigation-library .case-lead{font-size:19px;max-width:850px;color:#d8e0e9}.case-file-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:22px}.case-section{padding:24px;background:var(--case-panel);border:1px solid var(--case-border);border-radius:12px;margin-bottom:20px;scroll-margin-top:20px}.case-section h2{font-size:23px;margin-top:10px}.case-section h3{font-size:17px;margin-top:20px}.case-section p,.case-section li{font-size:15px;overflow-wrap:anywhere}.case-timeline{padding-left:22px}.case-timeline li{padding:5px 0 7px 8px}.case-timeline li::marker{color:var(--case-gold);font-weight:700}.case-timeline p{color:#ced9e4;margin:5px 0 10px}.case-caution{border-left:3px solid var(--case-gold);padding:12px 14px;background:#2b2d2b;font-size:13px}.case-sources{padding-left:18px}.case-sources li{margin-bottom:18px}.case-sources small{display:block;color:var(--case-muted);font-size:11px;margin-top:5px}.case-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.case-related a{font-size:16px}.case-related span{display:block;color:var(--case-muted);font-size:11px;margin-top:6px}.investigation-archive-return{font:15px/1.5 system-ui;color:white;margin:20px;text-align:center}.case-skip:focus{display:block;background:#f8c563;color:#111;padding:10px}
@media(max-width:1000px){.case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.case-file-grid{grid-template-columns:1fr}.case-file-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}}
@media(max-width:650px){.case-grid,.case-related,.case-file-grid>aside{grid-template-columns:1fr}.case-intro{display:block}.case-library-stamp{display:none}.investigation-library{padding:0 12px 24px}.case-file{padding-top:20px}.case-card,.case-section{padding:18px}.case-featured h3{font-size:24px}.case-views a,.case-filters a{font-size:12px;padding:9px}.case-search{gap:10px}.case-search label:first-of-type{flex-basis:100%}.case-search label{flex:1;min-width:110px}.case-search button{flex-basis:100%}.case-file-heading{padding-top:16px}}
.investigations-library-page #dungeon-results>.results:first-child{padding:12px;margin:0 auto;background:transparent;border:0;box-shadow:none}.investigations-library-page #dungeon-results>.results:first-child h2{font:700 23px/1.3 system-ui;-webkit-text-stroke:0;margin:0}.investigations-library-page #dungeon-results>.results:first-child p{font:13px/1.5 system-ui;-webkit-text-stroke:0;margin:6px 0 12px}

@media(max-width:650px){.investigations-library-page #dungeon-results>.results:first-child{padding:5px 12px}.investigations-library-page #dungeon-results>.results:first-child>p{display:none}.case-intro{padding:18px 0 12px}.case-intro h3{font-size:26px}.case-intro>div>p:last-child{font-size:14px}.case-search{padding:14px;border:1px solid var(--case-border);border-radius:10px;background:var(--case-panel)}}
.investigation-library .case-search{width:100%;max-width:none;margin:0 0 18px;padding:14px;background:var(--case-panel);border:1px solid var(--case-border);border-radius:10px;box-shadow:none}.investigation-library .case-search label{margin:0;text-align:left;-webkit-text-stroke:0;text-shadow:none}.investigation-library .case-search button{margin:0;display:block}.investigation-library .case-search input,.investigation-library .case-search select{margin:0;-webkit-text-stroke:0}

/* Shared Dungeon navigation: identical geometry on every panel. */
.dungeon > .dungeon-section-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 850px;
    width: calc(100% - 32px);
    margin: 22px auto;
    gap: 12px;
    text-align: center;
}
.dungeon-section-nav > .dungeon-card-link {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 110px;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: center;
    font-family: system-ui, sans-serif;
    -webkit-text-stroke: 0;
}
.dungeon-section-nav > .dungeon-card-link h2 {
    margin: 0 0 8px;
    font: 700 19px/1.3 system-ui, sans-serif;
    text-align: center;
    -webkit-text-stroke: 0;
}
.dungeon-section-nav > .dungeon-card-link p {
    max-width: 560px;
    margin: 0;
    font: 13px/1.5 system-ui, sans-serif;
    color: #cbd5e1;
    text-align: center;
    -webkit-text-stroke: 0;
}
.dungeon-section-nav > .dungeon-card-link p:last-child { display: none; }
.dungeon-section-nav > .dungeon-card-featured {
    grid-column: 1 / -1;
    min-height: 130px;
    padding: 22px;
    background: linear-gradient(120deg, #2b3037, #202c3b);
}
.dungeon-section-nav > .dungeon-card-featured h2 {
    font-size: 27px;
    color: #f8cf79;
}
.dungeon-section-nav > .dungeon-card-link[aria-current="page"] {
    outline: 2px solid #f8cf79;
    outline-offset: 3px;
}
.dungeon-section-nav > .dungeon-card-link:hover { border-color: #f8cf79; }
@media (max-width: 650px) {
    .dungeon > .dungeon-section-nav { grid-template-columns: 1fr; }
    .dungeon-section-nav > .dungeon-card-link { min-height: 94px; padding: 15px; }
    .dungeon-section-nav > .dungeon-card-featured { min-height: 120px; }
    .dungeon-section-nav > .dungeon-card-featured h2 { font-size: 25px; }
}

.case-research-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 22px}.case-research-shelf a{display:grid;gap:4px;padding:13px 15px;border:1px solid #425063;border-radius:9px;background:#172332;text-decoration:none;min-width:0}.case-research-shelf strong{font-size:14px;color:#f5d18b}.case-research-shelf span{font-size:12px;color:#becbd8;line-height:1.5}.case-research-shelf a:hover,.case-research-shelf a[aria-current]{border-color:#f8c563;background:#253244}.case-research-content>h3{font-size:27px}.case-research-context{font-size:14px!important;color:#d6e1eb}.case-research-grid .compact-title{font-size:21px;line-height:1.3;margin:8px 0}.case-research-grid .case-card>p{font-size:13px}.case-research-grid .anomaly-key-fact{font-size:24px}.case-research-grid .anomaly-type{font-size:10px;padding:4px 7px;background:#233747;color:#c2e7ee}.case-research-grid .anomaly-highlight{padding:12px;margin:8px 0;width:100%;box-sizing:border-box}.case-research-grid .anomaly-highlight p{font-size:13px}.case-research-grid .anomaly-highlight h3{font-size:18px}.case-research-grid .international-team-grid{width:100%;gap:8px}.case-research-grid .international-team-record{padding:10px;font-size:12px}.case-research-grid .international-team-record .stat-value{font:700 23px/1.3 system-ui}.case-research-grid .international-team-record p{font-size:12px}.case-research-grid .case-card>h3{font-size:17px}.case-research-grid .anomaly-details{margin-top:12px}.case-pagination{align-items:center;margin-top:20px}.case-pagination span{font-size:12px;color:#b4c2d1}.case-research-content .money-scoreboard{margin:22px 0;max-width:none}.case-research-content .money-scoreboard summary{cursor:pointer}
@media(max-width:650px){.case-research-shelf{grid-template-columns:1fr}.case-research-shelf a{padding:11px 13px}}


/* Give the research utilities their own breathing room after the case grid. */
.investigation-library > .case-research-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 28px 0 16px;
    clear: both;
}
.investigation-library > .case-method {
    margin-top: 0;
}
@media (max-width: 650px) {
    .investigation-library > .case-research-shelf {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-top: 26px;
        margin-bottom: 18px;
    }
    .investigation-library > .case-research-shelf a {
        padding: 14px 15px;
    }
    .investigation-library > .case-grid {
        margin-bottom: 0;
    }
}
