.lod-research-costs{--tb-ink:#f5e9e5;--tb-muted:#c7afb0;--tb-gold:#efc27e;--tb-line:#65424a;display:block;max-width:1400px;width:100%;margin:0 auto;color:var(--tb-ink);color-scheme:dark;text-align:left;font:15px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif;box-sizing:border-box}
.lod-research-costs *{box-sizing:border-box}
.lod-research-costs .tb-inner{background:#000;border:1px solid var(--tb-line);border-radius:18px;padding:clamp(16px,3vw,34px);overflow:hidden}
.lod-research-costs .tb-hero{border-bottom:1px solid var(--tb-line);padding-bottom:22px;margin-bottom:22px}
.lod-research-costs .tb-kicker{color:var(--tb-gold);letter-spacing:.13em;font-size:.75rem;font-weight:800}
.lod-research-costs h2{font-size:30px !important;line-height:1.2;color:var(--tb-ink);margin:9px 0;padding:0}
.lod-research-costs p{line-height:1.45;color:var(--tb-muted);margin:0}
.lod-research-costs .tb-hero>p{max-width:75ch;margin-bottom:17px}
.lod-research-costs label{display:block;font-weight:700;margin-bottom:6px}
.lod-research-costs select:focus-visible,.lod-research-costs summary:focus-visible{outline:3px solid var(--tb-gold);outline-offset:2px}
.lod-research-costs .tb-panel{display:none}
.lod-research-costs .tb-panel[data-level="1"]{display:block}
.lod-research-costs:not(.tb-ready):has(.tb-guard-tier option[value="2"]:checked) .tb-panel[data-level="2"]{display:block}
.lod-research-costs:not(.tb-ready):has(.tb-guard-tier option[value="3"]:checked) .tb-panel[data-level="3"]{display:block}
.lod-research-costs:not(.tb-ready):has(.tb-guard-tier option[value="4"]:checked) .tb-panel[data-level="4"]{display:block}
.lod-research-costs:not(.tb-ready):has(.tb-guard-tier option[value="5"]:checked) .tb-panel[data-level="5"]{display:block}
.lod-research-costs:not(.tb-ready):has(.tb-guard-tier option[value="6"]:checked) .tb-panel[data-level="6"]{display:block}
.lod-research-costs:not(.tb-ready):has(.tb-guard-tier option[value="7"]:checked) .tb-panel[data-level="7"]{display:block}
.lod-research-costs:not(.tb-ready):has(.tb-guard-tier option[value="8"]:checked) .tb-panel[data-level="8"]{display:block}
.lod-research-costs:not(.tb-ready):has(.tb-guard-tier option[value="9"]:checked) .tb-panel[data-level="9"]{display:block}
.lod-research-costs:not(.tb-ready):has(.tb-guard-tier option:not([value="1"]):checked) .tb-panel[data-level="1"]{display:none}
.lod-research-costs .tb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}
.lod-research-costs .tb-card{min-width:0;background:#230000;border:1px solid var(--tb-line);border-radius:14px;padding:18px;overflow:hidden}
.lod-research-costs .tb-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:13px}
.lod-research-costs h3{color:var(--tb-ink);font-size:1.2rem;line-height:1.2;margin:0;padding:0}
.lod-research-costs .tb-badge{color:#261511;background:var(--tb-gold);border-radius:999px;padding:4px 10px;font-size:.8rem;font-weight:800;white-space:nowrap}
.lod-research-costs .tb-unlock,.lod-research-costs .tb-summary{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:10px 12px;margin-bottom:13px;border:1px solid #65424a;border-radius:8px;background:#000;font-size:.85rem;line-height:1.3}
.lod-research-costs .tb-unlock strong,.lod-research-costs .tb-summary strong{color:var(--tb-gold);font-size:1.1rem;white-space:nowrap}
.lod-research-costs .tb-units{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:9px;margin-bottom:13px}
.lod-research-costs .tb-unit{min-width:0;padding:9px 6px;border:1px solid var(--tb-line);border-radius:9px;background:#230000;text-align:center}
.lod-research-costs .tb-icon{display:block;width:84px;height:85px;max-width:100%;object-fit:contain;margin:0 auto 7px;flex:none}
.lod-research-costs .tb-unit-name{display:block;color:var(--tb-ink);font-size:16px;font-weight:700;margin-bottom:5px}
.lod-research-costs .tb-stat{display:flex;justify-content:space-between;gap:4px;text-align:left;border-top:1px solid var(--tb-line);padding-top:3px;font-size:.72rem;line-height:1.3;color:var(--tb-muted)}
.lod-research-costs .tb-stat b{font-size:.78rem;color:var(--tb-ink);font-variant-numeric:tabular-nums}
.lod-research-costs .tb-monsters{grid-template-columns:repeat(2,minmax(0,1fr))}
.lod-research-costs .tb-meta{border-top:1px solid var(--tb-line);padding:10px 0;color:var(--tb-ink);font-size:.85rem}
.lod-research-costs .tb-meta:has(+ .tb-recommend){padding-bottom:2px}
.lod-research-costs .tb-meta.tb-recommend{border-top:0;border-bottom:1px solid var(--tb-line);padding-top:0;margin-bottom:12px}
.lod-research-costs .tb-meta b{display:block;color:var(--tb-muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.lod-research-costs .tb-meta p{color:var(--tb-ink)}
.lod-research-costs .tb-recommend p{color:var(--tb-gold)}
.lod-research-costs .tb-summary{border-color:var(--tb-line);margin:3px 0 10px}
.lod-research-costs .tb-research-detail{border-top:1px solid var(--tb-line);padding-top:10px}
.lod-research-costs .tb-explain{font-size:.8rem;margin:9px 0}
.lod-research-costs .tb-stage{border-top:1px solid var(--tb-line);margin-top:12px;padding-top:9px}
.lod-research-costs h4{font-size:.88rem;color:var(--tb-gold);margin:0 0 8px}
.lod-research-costs .tb-phase{margin-bottom:12px}
.lod-research-costs .tb-scroll{overflow-x:auto;max-width:100%}
.lod-research-costs table{width:100%;min-width:290px;border-collapse:collapse;color:var(--tb-ink);font-size:.76rem}
.lod-research-costs th,.lod-research-costs td{padding:5px 6px;text-align:right;border-bottom:1px solid var(--tb-line);line-height:1.3}
.lod-research-costs th:first-child,.lod-research-costs td:first-child{text-align:left;width:52px}
.lod-research-costs th{color:var(--tb-muted)}
.lod-research-costs .tb-source,.lod-research-costs .tb-muted-note{font-size:.78rem;color:var(--tb-muted)}
.lod-research-costs .tb-source{margin-top:20px;max-width:100ch}
@media(max-width:760px){.lod-research-costs .tb-grid{grid-template-columns:1fr}.lod-research-costs .tb-card{padding:14px}}
@media(max-width:420px){.lod-research-costs .tb-inner{padding:13px}.lod-research-costs .tb-units{grid-template-columns:repeat(2,minmax(0,1fr))}}

.lod-research-costs.tb-ready .tb-panel { display: block; }
.lod-research-costs.tb-ready .tb-panel[hidden] { display: none; }
.lod-research-costs select,
.lod-research-costs summary {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--tb-ink);
    background: #000;
    border: 1px solid #87626b;
    border-radius: 7px;
    padding: 10px 14px;
    cursor: pointer;
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
}
.lod-research-costs select {
    width: min(100%, 350px);
    background: #000;
    color: #fff;
    font-size: 16px;
    border-color: var(--tb-gold);
    color-scheme: dark;
}
.lod-research-costs select option { background: #000; color: #fff; }
.lod-research-costs summary:hover { background: #230000; border-color: var(--tb-gold); }
.lod-research-costs details[open] > summary { margin-bottom: 12px; }
.lod-research-costs .tb-footer {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--tb-line);
    font-size: .85rem;
}
.lod-research-costs .tb-footer p { padding: 0; }
.lod-research-costs .tb-footer p + p { margin-top: 6px; }
