.kbo-coach-skin {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  font-weight: 400;
  min-width: 0;
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr;
  padding: 3px;
  border: 1px solid var(--skin-edge);
  border-radius: 5px;
  background: linear-gradient(150deg, var(--skin-edge), #202226 36%, #111719 68%, var(--skin-edge));
  box-shadow: inset 0 0 0 1px #000a, 0 6px 12px #050708aa;
}
.kbo-coach-skin[data-skin-kind="condition"] { --skin-edge: #80bcb2; --skin-ink: #b8efe3; --skin-shade: #223e3b; --skin-rule: #4e706a; }
.kbo-coach-skin[data-skin-kind="ability"] { --skin-edge: #b49aca; --skin-ink: #e6d4f9; --skin-shade: #3b304a; --skin-rule: #665672; }
.kbo-coach-top {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 25px;
  padding: 2px 6px;
  color: var(--skin-ink);
  background: linear-gradient(105deg, var(--skin-shade), #111316 76%);
  border: 1px solid var(--skin-rule);
  border-bottom: 0;
  font-size: clamp(10px, 6.3cqw, 13px);
  line-height: 1.1;
}
.kbo-coach-kind { font-weight: 700; white-space: nowrap; }
.kbo-coach-count {
  color: #f5f3ec;
  border: 1px solid #ffffff33;
  border-radius: 2px;
  padding: 2px 4px;
  background: #14171bcc;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.kbo-coach-art {
  position: relative;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  border: 1px solid var(--skin-rule);
  background: #e1dbca;
}
.kbo-coach-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kbo-coach-title-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(42px, 27%) minmax(0, 1fr);
  align-items: stretch;
  min-height: 38px;
  color: #f7f4ea;
  background: linear-gradient(#35363b, #14191b 48%, #101416);
  border-inline: 1px solid var(--skin-rule);
  border-bottom: 1px solid var(--skin-rule);
}
.kbo-coach-duration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 3px;
  color: var(--skin-ink);
  border-right: 1px solid var(--skin-rule);
  background: linear-gradient(var(--skin-shade), #101719);
  white-space: nowrap;
  font-size: clamp(9px, 6cqw, 12px);
}
.kbo-coach-duration b { color: #fff; font-size: clamp(14px, 11cqw, 23px); line-height: 1; }
.kbo-coach-skin .kbo-coach-name {
  align-self: center;
  margin: 0;
  padding: 3px 4px;
  font-family: var(--ui-display, "NtreevSoft", "Malgun Gothic", sans-serif);
  font-size: clamp(11px, 8.8cqw, 19px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.18;
  text-align: center;
  overflow-wrap: anywhere;
}
.kbo-coach-details {
  min-width: 0;
  min-height: clamp(55px, 28cqw, 70px);
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 10px 8px;
  margin: 0;
  border: 1px solid var(--skin-rule);
  border-top: 0;
  background: linear-gradient(150deg, #282b2d, #1a1e21);
}
.kbo-coach-effect { margin: 0; color: var(--skin-ink); font-weight: 800; font-size: clamp(11px, 7.3cqw, 15px); line-height: 1.25; }
.kbo-coach-target { margin: 0; color: #e0e0d9; font-size: clamp(10px, 6.4cqw, 13px); line-height: 1.35; overflow-wrap: anywhere; }



.support-tabs{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:8px 0 14px}.support-tabs p{font-size:12px;line-height:1.6;margin:0;color:var(--muted,#adc0cd)}
.support-mobile-nav{display:none}.support-catalog-layout{grid-template-columns:minmax(0,1fr) minmax(460px,.94fr)!important;align-items:start;gap:10px!important}.support-bank-panel,.support-loadout-panel{min-width:0;padding-bottom:0!important}
.support-card-bank{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;padding:10px;max-height:calc(100dvh - 286px);min-height:240px;overflow:auto;align-items:start;scrollbar-gutter:stable}.support-bank-panel>footer{display:flex;justify-content:flex-end;padding:8px 12px;border-top:1px solid #64727a55}
.support-card-button{display:block;padding:3px!important;border:1px solid transparent!important;background:transparent!important;color:#fff;min-width:0;width:100%;text-align:left;cursor:pointer;border-radius:6px;user-select:none}.support-card-button[aria-pressed=true]{border-color:#e9a0b6!important;background:#71394f44!important}.support-card-button .kbo-coach-skin{font-family:var(--ui-display,NtreevSoft,sans-serif)}.support-card-button .kbo-coach-name{font-size:clamp(11px,8.8cqw,19px)}.support-stock{display:block;text-align:center;color:var(--text,#d9e2e8);font-size:12px;margin:5px 0}
.support-loadout-panel .support-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px;align-items:stretch}.support-catalog-layout[data-support-scope=team] .support-slots{grid-template-columns:minmax(0,220px);justify-content:center}
.support-equipped{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:7px;border:1px solid #64727a66;background:#1b2226;min-width:0}.support-equipped>button:first-child{padding:7px 3px;min-height:34px;text-align:center;font-size:12px}.support-equipped>button[aria-pressed=true]{border-color:#f3a3bc;background:#71394f;color:#ffe1eb}.support-equipped>b,.support-equipped>small{text-align:center;margin:0;overflow-wrap:anywhere}.support-equipped>b{font-size:13px}.support-equipped>small{font-size:11px;color:#b5c7d0;line-height:1.5}.support-equipped>button:last-child{align-self:center;min-width:70px;margin-top:auto}.support-equipped-card{width:100%;max-width:200px;margin:0 auto}.support-empty-card{aspect-ratio:240/330;border:1px dashed #71869088;background:linear-gradient(135deg,#26384166,#151b2166);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;margin:4px}.support-empty-card span{font-size:14px;color:#b7c7d0}.support-empty-card small{font-size:12px;color:#99aebc;line-height:1.6}
.support-selection{padding:12px;border-bottom:1px solid #64727a66;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;background:#253139}.support-selection>div:first-child{min-width:0}.support-selection strong,.support-selection small{display:block}.support-selection strong{font-size:17px;margin:3px 0}.support-selection p{margin:0 0 3px;font-size:13px;color:#e6d4f9}.support-selection small{font-size:12px;color:#adc0cc;line-height:1.5}.support-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.support-actions button{min-height:36px;min-width:0}
.light .support-equipped{background:#dce6eb}.light .support-equipped>small{color:#365363}.light .support-equipped>button[aria-pressed=true]{border-color:#9c2f50;background:#f9dce5;color:#6c1735}.light .support-empty-card{border-color:#8da6b4;background:linear-gradient(135deg,#ecf2f5,#cadbe3)}.light .support-empty-card span{color:#344f60}.light .support-empty-card small{color:#526c7b}.light .support-selection{background:#dde8ee}.light .support-selection p{color:#623e78}.light .support-selection small{color:#365363}.light .support-tabs p{color:#415c6d}
.subcard-bank:has(.support-card-button){display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,210px));justify-content:center;gap:10px}
@media(max-width:1100px) and (min-width:901px){.support-catalog-layout{grid-template-columns:minmax(0,1fr) minmax(415px,1fr)!important}.support-card-bank{grid-template-columns:repeat(2,minmax(0,1fr))}.support-loadout-panel .support-slots{gap:4px;padding:6px}.support-equipped{padding:4px}}
@media(max-width:900px){.support-tabs{display:block;margin:6px 0}.support-tabs p{margin:6px 4px;font-size:11px;line-height:1.5}.support-tabs>.reference-tabs{margin:0}.support-mobile-nav{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0}.support-mobile-nav button{min-height:38px}.support-mobile-nav [aria-pressed=true]{border-color:#e59bb4;background:#563447;color:#ffe5ed}.support-catalog-layout{grid-template-columns:minmax(0,1fr)!important}.support-catalog-layout[data-support-panel=bank] .support-loadout-panel,.support-catalog-layout[data-support-panel=loadout] .support-bank-panel{display:none}.support-card-bank{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));max-height:none;min-height:0;overflow:visible;gap:6px;padding:8px;scrollbar-gutter:auto}.support-loadout-panel .support-slots{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:164px;justify-content:safe center;overflow-x:auto;scroll-snap-type:x proximity;padding:10px;align-items:stretch}.support-catalog-layout[data-support-scope=team] .support-slots{grid-template-columns:200px;grid-auto-flow:row;justify-content:center}.support-equipped{scroll-snap-align:start}.support-equipped>button:first-child{min-height:40px}.support-selection{padding:10px}.support-actions button{min-height:40px}.light .support-mobile-nav [aria-pressed=true]{border-color:#a74d67;background:#f4dce4;color:#68213b}}
@media(max-width:480px){.support-card-bank{grid-template-columns:repeat(2,minmax(0,1fr))}.support-equipped>b{font-size:14px}}

.support-rail-hint{display:none}
@media(min-width:901px){.support-selection{grid-template-columns:minmax(0,1fr) minmax(125px,.65fr);align-items:center;padding:10px;gap:10px}.support-selection .support-actions{grid-template-columns:1fr;gap:6px}}
@media(max-width:900px){.support-rail-hint{display:block;margin:8px 12px 0;font-size:12px;color:#aebfca}.light .support-rail-hint{color:#405e70}}

/* Fixed tracks keep equipped cards and their metadata aligned across slots. */
.support-equipped{
 display:grid;
 grid-template-columns:minmax(0,1fr);
 grid-template-rows:40px auto 40px 38px 36px;
 align-items:stretch;
}
.support-equipped>button:first-child{grid-row:1;align-self:stretch}
.support-equipped-card,.support-equipped>.support-empty-card{grid-row:2}
.support-equipped-card .kbo-coach-skin{grid-template-rows:25px auto 38px var(--support-details-height,86px)}
.support-equipped-card .kbo-coach-details{height:var(--support-details-height,86px);min-height:var(--support-details-height,86px)}
.support-equipped>b{grid-row:3;align-self:center;line-height:1.4}
.support-equipped>small{grid-row:4;align-self:start}
.support-equipped>button:last-child{grid-row:5;align-self:stretch;justify-self:center;margin-top:0}

.support-catalog-layout[data-support-scope=team]{--support-details-height:64px}

/* Center both period lines across the full slot width. */
.support-slots>.support-equipped>small{width:100%;justify-self:center;align-self:start;text-align:center}
