.menu.scr-hero .hd { grid-template-columns: minmax(240px, .85fr) minmax(0, 1.5fr); grid-template-rows: minmax(0,1fr); gap: 20px; padding: 12px 20px; }
.hd-profile { display: flex; flex-direction: column; align-items: center; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.menu.scr-hero .hd-profile .hd-art { flex: 1 0 200px; width: 100%; height: min(48vh,440px); max-height: 440px; object-fit: contain; }
.menu.scr-hero .hd-profile .hd-art.recruit { flex: none; height: 220px; width: 150px; }
.hd-profile .hd-training { flex: none; width: min(100%,300px); min-height: 52px; margin: 10px 0; font-size: 18px; }
.hd-training small { display: block; font-size: 11px; font-weight: 400; }
.hd-story { flex: none; width: 100%; max-width: 400px; padding: 12px 14px; background: #142638; border: 1px solid #718390; }
.hd-story h3 { color: #ebd09b; font-size: 13px; margin: 0 0 6px; }
.hd-story p { font-size: 13px; line-height: 1.8; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.menu.scr-hero .sk[data-slot] { cursor: default; }
.hero-training { box-sizing: border-box; width: min(920px,calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 16px; overflow-y: auto; color: #f3ede0; background: #112334; border: 2px solid #bea46d; box-shadow: 0 16px 70px #000a; }
.hero-training::backdrop { background: #050d19d9; }
.menu:not(.hide) > .hero-training { animation: none; }
.hero-training * { box-sizing: border-box; }
.ht-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ht-header h2 { margin: 0; font-size: 22px; }
.ht-header small { display: block; color: #afc9d7; margin-top: 4px; font-size: 12px; }
.hero-training button, .hero-training select { color: #f3ede0; background: #20394b; border: 1px solid #77919f; font: inherit; cursor: pointer; min-height: 40px; padding: 6px 12px; }
.hero-training button:focus-visible, .hero-training select:focus-visible { outline: 2px solid #ffe4a2; outline-offset: 2px; }
.hero-training button:hover { background: #304f61; }
.hero-training button:disabled { opacity: .5; cursor: wait; }
.hero-training button[aria-pressed="true"] { background: #574727; border-color: #efcf80; }
.ht-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; font-size: 12px; }
.ht-toolbar label { display: flex; gap: 6px; align-items: center; }
.ht-field { background: #314d47; border: 1px solid #678278; }
.ht-field canvas { display: block; width: 100%; height: auto; max-height: min(40dvh,320px); object-fit: contain; image-rendering: pixelated; }
.ht-targets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 8px; background: #0e1d2c; }
.ht-target { min-width: 0; font-size: 11px; }
.ht-target span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-target progress { width: 100%; height: 10px; accent-color: #ef977b; }
.ht-target.ally progress { accent-color: #89d7b1; }
.ht-target small { display: block; color: #b7ced6; font-variant-numeric: tabular-nums; }
.ht-metrics { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 10px 0; font-size: 12px; color: #c5d8de; font-variant-numeric: tabular-nums; }
.ht-metrics b { color: #ffe2a2; font-size: 16px; margin-left: 6px; }
.ht-skills { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.ht-skills button { text-align: left; border-color: #a68b55; min-width: 0; padding: 10px; }
.ht-skills button:last-child { background: #423724; }
.ht-skills small { display: block; color: #dac28d; font-size: 11px; }
.ht-skills strong { display: block; font-size: 14px; margin: 5px 0; overflow-wrap: anywhere; }
.ht-skills span { display: block; font-size: 11px; line-height: 1.5; color: #d2e0e4; }
.ht-status { min-height: 20px; margin: 8px 0 0; font-size: 12px; color: #a8e0d0; }
.ht-note { color: #a9bec9; font-size: 11px; line-height: 1.6; margin: 6px 0 0; }
@media (max-width:700px) {
  .menu.scr-hero .hd { grid-template-columns: minmax(0,1fr); grid-template-rows: max-content max-content; overflow-y: auto; padding: 10px; gap: 18px; }
  .menu.scr-hero .hd-profile { overflow: visible; }
  .menu.scr-hero .hd-profile .hd-art { flex: none; height: 310px; }
  .menu.scr-hero .hd-info { overflow: visible; grid-column: 1; padding: 4px; }
  .hero-training { padding: 10px; width: calc(100vw - 12px); max-height: calc(100dvh - 12px); }
  .ht-header h2 { font-size: 18px; }
  .ht-skills { gap: 5px; }
  .ht-skills button { padding: 7px; }
  .ht-skills strong { font-size: 12px; }
  .ht-skills span { font-size: 10px; }
  .ht-targets { gap: 4px; padding: 6px; }
  .ht-toolbar { gap: 6px; }
}
