/* Adonis Chronicle — charcoal, aged bronze, bone. Presentation only. */
:root {
  --bg: #10110f; --bg2: #181a17; --bg3: #20231f; --bg4: #2a2e28;
  --line: #363a32; --line2: #52564b;
  --txt: #eee9dc; --dim: #b8b9aa;
  --dim2: #a0a593;
  --gold: #b99a60; --gold2: #dfc58f;
  --hp: #bf6570; --mp: #7295b6; --xp: #b99a60;
  --nation: #7b9aae; --r: 8px; --r2: 6px; --tab-h: 72px;
  --font-display: Georgia, 'Times New Roman', serif;
  --shadow: 0 16px 48px #0007;
}
body[data-nation="karus"], .nation-card[data-nation="karus"] { --nation: #bf7770; }
body { background: radial-gradient(ellipse at 50% 0, #30352a55, transparent 65%), var(--bg); line-height: 1.5; }
button, input, select, textarea { touch-action: manipulation; }
button:focus-visible, [tabindex]:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold2); outline-offset: 4px;
}
button:disabled { cursor: not-allowed; }
.ki { width: 22px; height: 22px; display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.app { width: 100%; min-width: 0; max-width: 760px; border-inline: 1px solid #35392d66; background: #10110fe8; }
.view { min-width: 0; padding: 18px 16px 24px; }
.topbar { padding: calc(14px + var(--sat)) 16px 0; background: #151712f5; border-color: var(--line); }
.tb-row1 { gap: 14px; align-items: flex-start; }
.tb-avatar { width: 54px; height: 64px; flex-basis: 54px; border-radius: 5px 5px 16px 16px;
  color: var(--nation); background: linear-gradient(145deg, #30362d, #151912); box-shadow: inset 0 0 0 4px #161a14; }
.tb-avatar .ki { width: 29px; height: 29px; }
.tb-lv { right: 14px; bottom: -6px; border-radius: 3px; padding: 1px 5px; font-size: 11px; }
.tb-name { justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.tb-name b { font-family: var(--font-display); font-size: 19px; font-weight: 400; }
.tag { max-width: 52%; overflow: hidden; text-overflow: ellipsis; border: 0; padding: 0; background: none; font-size: 11px; }
.tb-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 7px; }
.bar, .bar-xp { height: 17px; border-radius: 3px; background: #080b08; }
.bar span, .bar-xp span { font-size: 11px; line-height: 16px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.bar i { border-radius: 2px; }
.bar-hp i { background: linear-gradient(90deg, #6f3540, #a75260); }
.bar-mp i { background: linear-gradient(90deg, #354f65, #577c9e); }
.bar-xp { grid-column: 1 / -1; }
.bar-xp i { background: linear-gradient(90deg, #65532f, #957b46); }
.tb-tools { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: -8px; }
.tb-menu { width: 44px; height: 40px; }
.daily-btn { position: static; display: grid; place-items: center; width: 44px; height: 36px;
  color: var(--gold2); background: #b99a6012; border: 1px solid #b99a6055; border-radius: 5px; animation: none; }
.daily-btn .ki { width: 19px; height: 19px; }
.tb-row2 { gap: 0; margin-top: 14px; padding-block: 11px; border-top: 1px solid var(--line); }
.cur { display: grid; grid-template-columns: 16px minmax(0, max-content); align-content: center; min-width: 0; padding: 0 6px; gap: 3px 5px; background: none; border: 0; border-right: 1px solid var(--line); border-radius: 0; }
.cur:last-child { border-right: 0; }
.cur .ki { width: 16px; height: 16px; color: var(--dim); }
.cur b { font-size: 13px; font-variant-numeric: tabular-nums; }
.cur-label { grid-column: 1 / -1; width: 100%; white-space: nowrap; text-align: center; color: var(--dim2); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.cur-noah b, .cur-gb b { color: var(--gold2); }
.cur-np b, .cur-mp b { color: var(--txt); }
.tabbar { max-width: 760px; background: #151712f7; border-color: var(--line); padding-inline: 8px; }
.tab { font-size: 11px; gap: 6px; color: var(--dim); }
.tab i { display: grid; place-items: center; filter: none; }
.tab .ki { width: 23px; height: 23px; }
.tab.active { background: linear-gradient(#b99a6014, transparent); color: var(--gold2); }
.tab.active i { transform: none; }
.tab.active::before { left: 30%; right: 30%; height: 2px; }
.tab .dot { top: 11px; background: var(--gold); }
.card { background: linear-gradient(135deg, #20231f, #181b16); box-shadow: 0 3px 14px #0001; padding: 17px; margin-bottom: 16px; }
.card-h { gap: 10px; }
.card-h h3 { color: var(--txt); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.muted, .tiny { line-height: 1.55; }
.tiny { font-size: 12px; }
.btn { min-height: 44px; border-radius: 5px; }
.btn-primary { background: linear-gradient(135deg, #dac18a, #b99a60); border-color: #e1ca99; color: #221d12; box-shadow: inset 0 1px #fff3; }
.btn-sm { min-height: 38px; }
.btn-ghost { border-color: transparent; color: var(--dim); }
.btn-ghost:hover { border-color: var(--line2); color: var(--txt); }
.seg, .seg button, .row, .ico, .ico-art, .eq-cell { border-radius: 5px; }
.seg button.on { color: var(--gold2); background: #b99a601a; box-shadow: inset 0 -2px var(--gold); }
.seg button { min-height: 40px; }
.seg { min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #555946 transparent; }
.more-tabs { gap: 5px; padding: 5px; }
.more-tabs button { flex: 0 0 auto; min-width: 76px; white-space: nowrap; padding-inline: 11px; }
.search-row { display: flex; gap: 8px; width: 100%; min-width: 0; }
.search-row input { flex: 1; width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; font-size: 16px; color: var(--txt); background: var(--bg2); border: 1px solid var(--line2); border-radius: 5px; }
.search-row input::placeholder { color: var(--dim2); }
.search-row .btn { flex: 0 0 44px; padding-inline: 5px; }
.modal { max-height: 88vh; max-height: 88dvh; overscroll-behavior: contain; }
.eq-cell .e-nm { font-size: 11px; }
.row .info small, .toggle small, .mastery-cell .m-info small { font-size: 12px; }
.progress { height: 6px; border: 0; border-radius: 2px; }
.progress i { background: linear-gradient(90deg, #706038, var(--gold)); }
.modal { border-radius: 14px 14px 0 0; background: linear-gradient(150deg, #272b23, #131610); }
.modal h2 { font-family: var(--font-display); font-size: 25px; font-weight: 400; }
.modal .sub { font-size: 14px; }
.modal .kv { padding-block: 8px; gap: 14px; }
.offline-hero .big { color: var(--gold2); margin: 8px 0 14px; }
.offline-hero .big .ki { width: 42px; height: 42px; }

/* Hunting: scene first, selection controls below it, details in their own column. */
.combat-layout { display: grid; gap: 20px; }
.combat-main, .combat-aside { min-width: 0; }
.chapter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.eyebrow { display: block; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; margin-bottom: 3px; }
.chapter-heading h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(25px, 6vw, 32px); line-height: 1.15; }
.chapter-mark { width: 42px; height: 42px; border: 1px solid #b99a6055; color: var(--gold); display: grid; place-items: center; transform: rotate(45deg); flex-shrink: 0; }
.chapter-mark .ki { transform: rotate(-45deg); }
.zone-strip { margin: 0 0 12px; padding: 0 0 8px; gap: 6px; scrollbar-width: thin; scrollbar-color: #555946 transparent; }
.zchip { min-height: 40px; padding: 7px 11px; border-radius: 4px; color: var(--dim); background: #1b1f18; }
.zchip .ki { width: 15px; height: 15px; }
.zchip.active { border-color: #b99a6066; background: #b99a6018; color: var(--gold2); }
.zchip.lock { opacity: .65; }
.arena { min-height: 365px; border-radius: 8px; border-color: #89734c88; background: #101610; isolation: isolate; }
.arena .bg { opacity: .83; filter: saturate(.68); background-position: center 45%; }
.arena::after { background: linear-gradient(180deg, #11170b22 0%, #0a100933 32%, #0b100abf 75%, #10150feb 100%); z-index: 1; }
.scene-caption { position: absolute; z-index: 4; inset: 16px 16px auto; display: flex; align-items: center; justify-content: space-between; color: #e4e8d8; font-size: 11px; letter-spacing: .06em; }
.scene-caption span { padding: 4px 7px; background: #10160dc9; border: 1px solid #bec5a326; border-radius: 3px; }
.scene-caption .ki { width: 13px; height: 13px; margin-right: 4px; }
.mob-wrap { padding: 44px 14px 28px 88px; }
.mob-icon { display: block; font-size: 74px; animation: none; filter: none; line-height: 1; }
.mob-art { height: 195px; max-width: 100%; animation: none; filter: drop-shadow(0 14px 9px #0009);
  -webkit-mask-image: radial-gradient(ellipse 55% 56% at 50% 50%, #000 52%, transparent 98%);
  mask-image: radial-gradient(ellipse 55% 56% at 50% 50%, #000 52%, transparent 98%); }
.mob-name { color: #f3eedf; font-family: var(--font-display); font-size: 23px; font-weight: 400; margin-top: 2px; text-shadow: 0 2px 5px #000; }
.mob-lv { font-size: 12px; color: #cad0ba; margin-top: 4px; }
.mob-rank { vertical-align: middle; font: 10px var(--font); text-transform: uppercase; letter-spacing: .08em; }
.arena .fg { padding: 0 16px 17px; }
.mob-hp { height: 19px; border-radius: 3px; margin-top: 0; }
.mob-hp i { background: linear-gradient(90deg, #663039, #a8565d); }
.mob-hp span { line-height: 18px; font-size: 11px; font-variant-numeric: tabular-nums; }
.hero { left: 16px; bottom: 56px; width: 64px; }
.hero .h-art { width: 62px; height: 82px; object-position: center 20%; border-radius: 5px 5px 18px 18px; border-color: #b99a6088; transform: none; animation: none; }
.hero .h-nm { display: block; font-size: 10px; margin-top: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #d4d9c5; }
.hero.atk .h-art { animation: portrait-strike .22s ease-out; }
@keyframes portrait-strike { 50% { transform: translateX(5px); filter: brightness(1.3); } }
.mob-art.boss { height: 235px; animation: none;
  -webkit-mask-image: radial-gradient(ellipse 55% 56% at 50% 50%, #000 58%, transparent 98%);
  mask-image: radial-gradient(ellipse 55% 56% at 50% 50%, #000 58%, transparent 98%); }
.arena.boss { min-height: 410px; border-color: var(--gold); }
.arena.boss .mob-wrap::before { opacity: .65; }
.mob-art.hit { animation: shake .16s; }
.combat-meta { gap: 0; margin: 12px 0 20px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.meta { padding: 12px 3px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: #191d16; }
.meta:last-child { border-right: 0; }
.meta b { font-size: 17px; font-weight: 500; color: var(--txt); font-variant-numeric: tabular-nums; }
.meta small { font-size: 10px; color: var(--dim); letter-spacing: .04em; }
.hunt-controls { padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #1b1f18; }
.hunt-controls h2 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--txt); }
.hunt-controls .seg { margin-bottom: 8px; border: 0; background: #10150f; padding: 5px; scrollbar-width: thin; scrollbar-color: #555946 transparent; }
.hunt-controls .seg-lbl { display: block; padding: 2px 5px 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.hunt-controls .seg button { min-height: 38px; padding: 7px 9px; font-size: 12px; }
.camp-note { display: flex; align-items: flex-start; gap: 7px; padding-top: 4px; font-size: 12px; color: var(--dim); }
.camp-note .ki { width: 15px; height: 15px; margin-top: 2px; }
.combat-aside .card:last-child { margin-bottom: 0; }
.boss-progress .card-h h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; }
.log { max-height: 230px; line-height: 1.65; }
.log div { padding-block: 7px; }
.rested-banner { border-left: 2px solid var(--gold); }
.rested-banner .ki { width: 17px; height: 17px; margin-right: 4px; }

/* The same visual language carries into onboarding and existing secondary panels. */
.onboard { background: radial-gradient(ellipse at 50% 5%, #3c432f66, transparent 55%), #10140e; }
.ob-inner { max-width: 560px; padding-top: calc(24px + var(--sat)); }
.ob-logo { margin-bottom: 32px; }
.ob-crest { animation: none; filter: none; color: var(--gold2); margin: -24px auto 18px; position: relative; }
.ob-crest .ki { width: 46px; height: 46px; }
.ob-logo h1 { font: 400 36px/1.2 var(--font-display); letter-spacing: .12em; background: none; color: var(--txt); }
.ob-logo h1 span { background: none; color: var(--gold2); }
.ob-sub { font-size: 10px; letter-spacing: .2em; margin-top: 10px; }
.ob-step h2 { font-family: var(--font-display); font-size: 23px; font-weight: 400; letter-spacing: 0; color: var(--txt); }
.nation-card { padding: 20px 20px 20px 88px; background: linear-gradient(110deg, color-mix(in srgb, var(--nation) 12%, #181c15), #181c15); }
.nation-card .nc-crest { position: absolute; left: 20px; top: 28px; color: var(--nation); filter: none; }
.nc-crest .ki { width: 44px; height: 52px; }
.nation-card b { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin-top: 0; }
.nation-card small { font-size: 13px; }
.nc-perk { border: 0; border-radius: 3px; padding: 4px 7px; background: #ffffff07; color: var(--dim); }
.class-card i { color: var(--gold); }
.class-card small { font-size: 12px; }
.ob-input { border-radius: 5px; }
.ob-summary { font-size: 14px; }
.ob-summary .ki { width: 17px; height: 17px; }
.ob-back { min-height: 44px; }
@media (min-width: 1100px) {
  .app, .tabbar { max-width: 1120px; }
  .app { margin-top: 24px; min-height: calc(100vh - 24px); border-top: 1px solid var(--line); border-radius: 12px 12px 0 0; }
  .topbar { padding: 18px 24px 0; }
  .tb-row1 { max-width: 660px; margin: 0 auto; }
  .tb-row2 { max-width: 660px; margin: 14px auto 0; }
  .view { padding: 26px; }
  .combat-layout { grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); gap: 26px; align-items: start; }
  .combat-aside { padding-top: 66px; }
  .arena { min-height: 390px; }
  .mob-art { height: 220px; }
  .log { max-height: 390px; }
}
@media (max-width: 359px) {
  .view { padding: 14px 10px; }
  .topbar { padding-inline: 10px; }
  .tb-row1 { gap: 9px; }
  .tb-avatar { width: 42px; flex-basis: 42px; }
  .tb-lv { right: 8px; }
  .tb-name b { font-size: 17px; }
  .tag { max-width: 42%; font-size: 10px; }
  .bar span, .bar-xp span { font-size: 10px; }
  .cur { grid-template-columns: 14px minmax(0, max-content); padding-inline: 2px; column-gap: 3px; }
  .cur .ki { width: 14px; height: 14px; }
  .cur b { font-size: 12px; }
  .cur-label { font-size: 9px; letter-spacing: .02em; }
  .tab { font-size: 10px; }
  .chapter-heading h1 { font-size: 25px; }
  .mob-art { height: 170px; }
  .mob-name { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Character dossier and equipment. */
.character-layout { display: grid; gap: 20px; }
.character-identity, .character-development { min-width: 0; }
.equipment-card { padding: 16px 12px; }
.equipment-card > .card-h { padding-inline: 3px; }
.loadout-stage { display: grid; grid-template-columns: 70px minmax(0,1fr) 70px; gap: 9px; }
.loadout-column { display: grid; gap: 8px; }
.loadout-stage .eq-cell { width: 100%; height: 74px; aspect-ratio: auto; padding: 5px; background: linear-gradient(140deg,#292e23,#151911); }
.loadout-stage .e-art, .loadout-accessories .e-art { width: 40px; height: 40px; border-radius: 3px; object-fit: cover; }
.equipment-card .eq-cell .e-nm { display: block; font-size: 10px; color: var(--dim); line-height: 1.3; }
.equipment-card .eq-cell .e-plus { padding: 1px 4px; border-radius: 3px; background: #0e130ded; font-size: 11px; top: 2px; right: 2px; }
.equipment-card .eq-cell.empty { border-style: dashed; }
.equipment-card .eq-cell.empty .e-ic { opacity: .65; color: var(--dim2); }
.equipment-card .eq-cell:focus-visible, .equipment-card .eq-cell:hover { border-color: var(--gold); background: #303728; }
.character-portrait { position: relative; min-height: 320px; border: 1px solid #b99a604a; border-radius: 5px 5px 45% 45% / 5px 5px 8% 8%; overflow: hidden; background: #11170f; }
.character-portrait > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.character-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#0b130b44,transparent 28%,#0b130b11 52%,#0b130bf5 100%); }
.portrait-level { position: absolute; z-index: 1; top: 12px; left: 0; right: 0; color: #e6d4ad; text-align: center; font-size: 9px; letter-spacing: .16em; text-shadow: 0 2px 6px #000; }
.portrait-level b { display: block; font: 32px/1.1 var(--font-display); letter-spacing: 0; color: #fff4db; }
.portrait-caption { position: absolute; z-index: 1; bottom: 20px; left: 8px; right: 8px; text-align: center; }
.portrait-caption > span { display: block; color: var(--nation); font-size: 10px; letter-spacing: .06em; }
.portrait-caption > b { display: block; font: 21px/1.25 var(--font-display); color: #f4eddb; margin: 5px 0; overflow-wrap: anywhere; }
.portrait-caption > small { font-size: 10px; color: #c3c6b5; }
.loadout-accessories { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; margin-top: 10px; }
.loadout-accessories .eq-cell { height: 70px; aspect-ratio: auto; padding: 4px; background: #171d14; }
.character-xp { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 0; font-size: 11px; color: var(--dim); }
.character-xp b { color: var(--gold2); font-weight: 500; }
.character-xp .progress { width: 100%; }
.character-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 10px 0; border-block: 1px solid var(--line); }
.character-metrics > div { display: grid; justify-items: center; gap: 4px; border-right: 1px solid var(--line); }
.character-metrics > div:last-child { border: 0; }
.character-metrics .ki { width: 16px; height: 16px; color: var(--gold); }
.character-metrics b { font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.character-metrics span { color: var(--dim); font-size: 10px; }
.equipment-hint { font-size: 11px; color: var(--dim2); text-align: center; margin: 12px 0 0; }
.character-development .statline { gap: 8px; }
.character-development .statline > span:last-child { white-space: nowrap; }
.character-development .plusbtn { min-height: 36px; }
.character-development .row .info b { white-space: normal; }
.character-development .kv { gap: 12px; padding-block: 7px; }
.character-development .kv b { text-align: right; }
.character-development .tree-head { flex-wrap: wrap; }

/* Equipment comparison: full-character values, explicit increases/decreases. */
.equipment-compare { border: 1px solid #b99a6055; border-radius: 7px; background: #10160f; padding: 14px 12px; margin-block: 14px; }
.equipment-compare h3 { margin: 0; font: 21px var(--font-display); }
.compare-items { display: grid; grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr); gap: 8px; align-items: center; padding: 10px 0 16px; }
.compare-items > div { display: grid; justify-items: center; text-align: center; gap: 10px; min-width: 0; }
.compare-items .eyebrow { font-size: 9px; letter-spacing: .09em; }
.compare-items .ico { width: 62px; height: 62px; flex-basis: 62px; }
.compare-items b { font-size: 12px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.compare-arrow { color: var(--gold); font-size: 20px; text-align: center; }
.compare-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 5px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 11px; font-variant-numeric: tabular-nums; }
.compare-row > :not(:first-child) { text-align: right; overflow-wrap: anywhere; }
.compare-row > span { color: var(--dim); }
.compare-row b, .compare-row strong { font-weight: 500; }
.compare-labels { border-top: 0; padding-block: 5px; font-size: 10px; }
.stat-gain { color: #9ad298; } .stat-loss { color: #ed9b9b; } .stat-same { color: var(--dim); }
.compare-note { margin: 10px 0 0; font-size: 10px; }
.item-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.item-actions .btn { padding-inline: 8px; font-size: 12px; overflow-wrap: anywhere; }
.modal:has(.equipment-compare) .itemhead > div:last-child { min-width: 0; }
.modal:has(.equipment-compare) .itemhead h2 { overflow-wrap: anywhere; }

/* AFK expedition journal. All numbers come from the server report. */
.equipped-label { display: flex; align-items: center; gap: 5px; width: fit-content; margin-top: 5px; padding: 3px 6px; border: 1px solid #b99a6055; border-radius: 3px; color: var(--gold2); background: #b99a6012; font-size: 10px; line-height: 1.4; }
.equipped-label .ki { width: 13px; height: 13px; }
.anvil-item.is-equipped { box-shadow: inset 3px 0 #b99a6088; }
.anvil-item .info { padding-left: 2px; }
.anvil-item .right { flex-shrink: 0; }
.modal:has(.afk-report) { max-width: 600px; padding: 8px 18px calc(22px + var(--sab)); }
.report-heading { text-align: center; padding: 2px 8px 16px; }
.report-seal { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 16px; border: 1px solid #b99a6066; border-radius: 50%; color: var(--gold2); background: radial-gradient(#b99a601e, transparent); }
.report-seal .ki { width: 25px; height: 25px; }
.report-heading .eyebrow { font-size: 9px; letter-spacing: .12em; }
.report-heading h2 { font-size: clamp(25px,6vw,32px); margin: 8px 0 10px; }
.report-heading p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--dim); }
.report-heading p b { color: var(--txt); }
.report-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid #b99a6044; border-radius: 7px; overflow: hidden; background: linear-gradient(130deg,#3c342315,#c4a76712); }
.report-summary > div { display: grid; justify-items: center; gap: 5px; padding: 15px 8px; }
.report-summary > div + div { border-left: 1px solid #b99a6033; }
.report-summary .ki { width: 18px; height: 18px; color: var(--gold); }
.report-summary span { font-size: 10px; color: var(--dim); letter-spacing: .05em; }
.report-summary b { color: #efdab0; font: 26px/1.3 var(--font-display); overflow-wrap: anywhere; }
.report-level { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; background: #151b12; }
.report-level > span { color: var(--dim); font-size: 10px; }
.report-level b { display: block; color: var(--txt); font: 22px/1.4 var(--font-display); }
.report-level i { font-style: normal; color: var(--gold); margin-inline: 4px; }
.report-level > strong { color: var(--gold2); background: #b99a6012; padding: 5px 8px; border-radius: 3px; font-size: 11px; font-weight: 500; }
.report-featured { position: relative; border-width: 1px; border-style: solid; border-radius: 7px; padding: 14px; margin-bottom: 16px; background: radial-gradient(ellipse at 12% 80%,#b99a601c,transparent 75%),#171b13; }
.report-featured > .eyebrow { font-size: 9px; margin-bottom: 12px; }
.featured-content { display: flex; align-items: center; gap: 16px; }
.featured-art { flex: 0 0 80px; width: 80px; height: 80px; display: grid; place-items: center; border: 1px solid #b99a6055; border-radius: 7px; background: #0d110b; }
.featured-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.featured-art > span { font-size: 36px; }
.featured-content > div:last-child { min-width: 0; }
.featured-content h3 { font: 21px/1.25 var(--font-display); margin: 8px 0; overflow-wrap: anywhere; }
.featured-content p { margin: 0; font-size: 12px; color: var(--dim); }
.report-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 10px 0 16px; }
.report-facts > div { display: grid; justify-items: center; gap: 4px; border-right: 1px solid var(--line); }
.report-facts > div:last-child { border-right: 0; }
.report-facts b { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.report-facts span { font-size: 10px; text-align: center; color: var(--dim); }
.report-notice { display: flex; align-items: flex-start; gap: 9px; border-left: 2px solid var(--gold); background: #b99a600b; padding: 10px 12px; margin-bottom: 12px; font-size: 12px; color: var(--dim); }
.report-notice .ki { width: 17px; height: 17px; color: var(--gold); }
.report-notice b { color: var(--txt); font-weight: 500; }
.report-notice.warning { border-color: #bb7474; color: #e3b0a9; }
.report-details { border: 1px solid var(--line); border-radius: 5px; margin-top: 8px; background: #13180f; }
.report-details summary { cursor: pointer; padding: 12px; font-size: 12px; color: var(--txt); }
.report-details summary span { float: right; color: var(--dim); }
.report-details summary::marker { color: var(--gold); }
.report-details summary:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }
.report-detail-body { padding: 0 12px 8px; }
.report-detail-body .kv { font-size: 11px; }
.report-detail-body .kv > b { text-align: right; font-weight: 500; }
.report-drop { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.report-drop > div:nth-child(2) { flex: 1; min-width: 0; }
.report-drop b { display: block; font-size: 12px; font-weight: 500; }
.report-drop small { display: block; font-size: 10px; color: var(--dim); }
.report-drop > strong { font-size: 12px; font-weight: 500; }
.report-empty { display: flex; align-items: center; gap: 12px; padding: 16px 12px; border: 1px dashed var(--line2); border-radius: 5px; margin-bottom: 10px; }
.report-empty > .ki { color: var(--gold); }
.report-empty b { font-size: 13px; font-weight: 500; }
.report-empty p { font-size: 11px; color: var(--dim); margin: 5px 0 0; }
.report-continue { margin-top: 16px; justify-content: space-between; }
.report-saved { margin: 9px 0 0; text-align: center; color: var(--dim2); font-size: 10px; }
@media (min-width: 1100px) {
  .character-layout { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 26px; align-items: start; }
  .character-development { padding-top: 63px; }
  .loadout-stage { grid-template-columns: 82px minmax(0,1fr) 82px; gap: 12px; }
  .loadout-stage .eq-cell { height: 86px; }
  .character-portrait { min-height: 368px; }
  .portrait-caption b { font-size: 26px; }
  .equipment-card { padding: 20px 16px; }
}
@media (max-width: 359px) {
  .loadout-stage { grid-template-columns: 58px minmax(0,1fr) 58px; gap: 6px; }
  .loadout-stage .eq-cell { height: 67px; }
  .character-portrait { min-height: 292px; }
  .portrait-caption b { font-size: 18px; }
  .loadout-accessories { gap: 4px; }
  .loadout-accessories .eq-cell { height: 63px; }
  .loadout-accessories .e-art { width: 33px; height: 33px; }
  .character-development .statline { font-size: 12px; }
  .character-development .plusbtn { margin-left: 4px; }
  .featured-art { flex-basis: 64px; width: 64px; height: 64px; }
  .featured-content { gap: 10px; }
  .featured-content h3 { font-size: 18px; }
  .report-summary b { font-size: 23px; }
  .compare-row { font-size: 10px; }
}
