
/* Status is one fixed reading panel; only its content list scrolls. */
#tpNav .status-main-tabs { gap: 6px; }
#tpNav .status-main-tabs .tree-tab { min-width: 0; }
#tpNav .status-subnav { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
#tpNav .status-subtabs { display: flex; flex: 1; gap: 6px; min-width: 0; max-width: 290px; }
#tpNav .status-subtab { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #465160; border-radius: 6px; background: #17232f; color: #b9c6ce; font-family: var(--sans); font-size: 12px; cursor: pointer; }
#tpNav .status-subtab svg { width: 16px; height: 16px; flex: 0 0 16px; }
#tpNav .status-subtab.on { border-color: #a594bd; color: #d9cce7; background: #282635; }
#tpNav .status-owned-count { flex: 0 0 auto; margin-left: auto; color: #aebbc7; font-family: var(--sans); font-size: 12px; line-height: 1.6; white-space: nowrap; font-variant-numeric: tabular-nums; }
#tpNav [role="tab"]:focus-visible, #tpList:focus-visible { outline: 2px solid #d9c18e; outline-offset: 2px; }
#tpList .status-skill-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; padding: 0 1px 1px; }
#tpList .status-skill-card { min-width: 0; padding: 13px 14px; border: 1px solid #3a4855; border-left: 2px solid #b6a079; border-radius: 8px; color: var(--ink); background: #182430; font-family: var(--sans); }
#tpList .status-card-heading { display: flex; align-items: center; gap: 10px; min-width: 0; }
#tpList .status-card-icon { display: flex; flex: 0 0 26px; align-items: center; justify-content: center; color: #c3ae82; }
#tpList .status-card-icon svg { width: 25px; height: 25px; }
#tpList .status-card-title { flex: 1; min-width: 0; }
#tpList .status-card-title h3 { margin: 0; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
#tpList .status-card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 3px; line-height: 1.3; }
#tpList .status-card-tags .skill-type, #tpList .status-card-tags .rarity-tag, #tpList .status-card-tags .instant-tag { margin: 0; }
#tpList .status-card-tags .skill-type { display: inline-block; padding: 1px 4px; border: 1px solid #675c46; border-radius: 3px; color: #c8b795; font-size: 9px; font-weight: 400; line-height: 1.4; white-space: nowrap; }
#tpList .status-card-tags .skill-type.magic { border-color: #62546d; color: #c4b2d4; }
#tpList .status-card-tags .rarity-tag, #tpList .status-card-tags .instant-tag { font-size: 9px; }
#tpList .status-card-tags .status-defense { border-color: #63847a; color: #a9c8ba; }
#tpList .status-card-tags .status-support { border-color: #5e7c8b; color: #b2cfdb; }
#tpList .status-card-description { margin: 9px 0 0; color: #b9c5ce; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
#tpList .status-skill-costs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 13px; margin-top: 10px; color: #9db5c0; font-size: 11px; line-height: 1.6; font-variant-numeric: tabular-nums; }
#tpList .status-skill-costs b { color: #c0d1d9; font-weight: 500; }
#tpList .status-skill-costs .status-current-wait { color: #c9b4de; }
#tpList .status-relic-card { border-left-color: #a68bbc; }
#tpList .status-relic-card .status-card-icon { color: #b8a4cc; }
#tpList .status-relic-active { flex: 0 0 auto; color: #a2c7b4; font-size: 11px; line-height: 1.5; white-space: nowrap; }
#tpList .status-empty { margin: 0; padding: 29px 14px; border: 1px solid #354451; border-radius: 8px; color: #a9b8c3; background: #17222d; font-family: var(--sans); font-size: 12px; line-height: 1.7; }
/* Compact the held-technique cards while retaining complete descriptions. */
#tpList .status-skill-card:not(.status-relic-card) { padding: 10px 12px; }
#tpList .status-skill-card:not(.status-relic-card) .status-card-heading { gap: 8px; }
#tpList .status-skill-card:not(.status-relic-card) .status-card-icon { flex-basis: 22px; }
#tpList .status-skill-card:not(.status-relic-card) .status-card-icon svg { width: 22px; height: 22px; }
#tpList .status-skill-card:not(.status-relic-card) .status-card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 7px; }
#tpList .status-skill-card:not(.status-relic-card) .status-card-title h3 { flex: 0 1 auto; min-width: 0; }
#tpList .status-skill-card:not(.status-relic-card) .status-card-tags { margin-top: 0; }
#tpList .status-skill-card:not(.status-relic-card) .status-card-description { margin-top: 5px; line-height: 1.6; }
#tpList .status-skill-costs { gap: 2px 12px; margin-top: 6px; }
body.large-text #tpNav .status-main-tabs .tree-tab, body.large-text #tpNav .status-subtab, body.large-text #tpNav .status-owned-count, body.large-text #tpList .status-card-description, body.large-text #tpList .status-empty { font-size: 13px; }
body.large-text #tpList .status-card-title h3 { font-size: 16px; }
body.large-text #tpList .status-skill-costs, body.large-text #tpList .status-relic-active { font-size: 12px; }
body.large-text #tpList .status-card-tags .skill-type, body.large-text #tpList .status-card-tags .rarity-tag, body.large-text #tpList .status-card-tags .instant-tag { font-size: 10px; }
@media (max-width: 767px) {
  #tpNav .status-subnav { gap: 9px; }
  #tpList .status-skill-list { grid-template-columns: minmax(0, 1fr); }
  #tpList .status-skill-card { padding: 12px 12px; }
  #tpList .status-skill-card:not(.status-relic-card) { padding: 9px 11px; }
}
/* Type, rarity and instant labels share one size and alignment. */
#tpList .status-card-tags > :is(.skill-type, .rarity-tag, .instant-tag),
#menu .skill .sname > :is(.skill-type, .rarity-tag, .instant-tag) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 15px;
  min-width: 26px;
  margin: 0;
  padding: 0 3px;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  background: transparent;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: middle;
  white-space: nowrap;
}
#tpList .status-card-tags > .instant-tag,
#menu .skill .sname > .instant-tag { border-color: #587568; }
body.large-text #tpList .status-card-tags > :is(.skill-type, .rarity-tag, .instant-tag),
body.large-text #menu .skill .sname > :is(.skill-type, .rarity-tag, .instant-tag) {
  height: 17px;
  min-width: 28px;
  font-size: 10px;
}
#menu .skill .sname:has(> :is(.skill-type, .rarity-tag, .instant-tag)) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 5px;
}

