.team-detail-page { min-height: 70vh; padding-top: 72px; }
.team-detail-loading { min-height: 520px; display: grid; place-content: center; gap: 12px; text-align: center; }
.team-detail-loading p { color: var(--text-dim); font-size: .8rem; }
.team-detail-hero { padding: 52px 0 34px; border-bottom: 1px solid var(--border-strong); }
.team-detail-hero .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: end; }
.team-detail-breadcrumb { display: inline-flex; margin-bottom: 18px; color: var(--blue); font-size: .72rem; font-weight: 700; }
.team-detail-hero h1 { max-width: 780px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.04; }
.team-detail-hero p { max-width: 760px; margin-top: 13px; color: var(--text-muted); font-size: .9rem; line-height: 1.6; }
.team-detail-meta { display: grid; grid-template-columns: repeat(3, minmax(100px, 1fr)); border: 1px solid var(--border-strong); }
.team-detail-meta div { min-width: 0; padding: 13px; border-right: 1px solid var(--border); }
.team-detail-meta div:last-child { border-right: 0; }
.team-detail-meta span,
.team-detail-meta strong { display: block; }
.team-detail-meta span { color: var(--text-dim); font-size: .58rem; text-transform: uppercase; }
.team-detail-meta strong { margin-top: 4px; overflow-wrap: anywhere; font-size: .78rem; }
.team-detail-sets { padding: 32px 0 42px; }
.team-detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.team-detail-heading h2 { font-size: 1.35rem; }
.team-detail-heading p { max-width: 620px; font-size: .72rem; text-align: right; }
.team-set-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.team-set-detail { min-width: 0; padding: 16px; border: 1px solid var(--border-strong); border-radius: 6px; background: #090c19; }
.team-set-detail header { min-height: 72px; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; align-items: center; }
.team-set-detail img,
.team-set-detail .pokemon-sprite-fallback { width: 62px; height: 62px; object-fit: contain; }
.team-set-detail h3 { overflow-wrap: anywhere; font-size: 1rem; }
.team-set-detail header p { margin-top: 3px; color: var(--blue); font-size: .65rem; }
.team-set-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--border); }
.team-set-facts div { min-width: 0; }
.team-set-facts span,
.team-set-facts strong { display: block; }
.team-set-facts span { color: var(--text-dim); font-size: .54rem; text-transform: uppercase; }
.team-set-facts strong { margin-top: 2px; overflow-wrap: anywhere; font-size: .66rem; }
.team-set-moves { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 12px; }
.team-set-moves li { min-width: 0; padding: 6px 7px; border-left: 2px solid var(--blue); background: rgba(255,255,255,.035); font-size: .62rem; overflow-wrap: anywhere; }
.team-set-spread { margin-top: 12px; color: var(--text-muted); font-size: .6rem; line-height: 1.5; }
.team-strategy-band { border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); background: #070a14; }
.team-strategy-band .container { padding-top: 36px; padding-bottom: 42px; }
.team-narrative-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.team-narrative-grid section { min-width: 0; padding: 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.team-narrative-grid h3 { margin-bottom: 9px; color: var(--gold); font-size: .88rem; }
.team-narrative-grid p,
.team-narrative-grid li { color: #c9cfde; font-size: .72rem; line-height: 1.62; }
.team-narrative-grid ul { display: grid; gap: 7px; padding-left: 18px; }
.team-editorial-status { margin: 15px 0 20px; padding: 12px 14px; border-left: 3px solid #72d9a5; background: rgba(114,217,165,.06); color: var(--text-muted); font-size: .7rem; }
.team-editorial-status.pending { border-left-color: var(--gold); }
.team-editorial-status.published { border-left-color: #72a9ff; background: rgba(114,169,255,.07); }
.team-methodology { padding: 28px 0 72px; }
.team-methodology-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 36px; }
.team-methodology h2 { font-size: 1.2rem; }
.team-methodology p { font-size: .72rem; line-height: 1.65; }
.team-source-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.team-source-actions .btn { min-height: 38px; padding: 9px 13px; border-radius: 5px; }
@media (max-width: 960px) {
  .team-detail-hero .container { grid-template-columns: 1fr; }
  .team-set-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .team-detail-page { padding-top: 62px; }
  .team-detail-hero { padding-top: 34px; }
  .team-detail-meta { grid-template-columns: 1fr; }
  .team-detail-meta div { border-right: 0; border-bottom: 1px solid var(--border); }
  .team-detail-meta div:last-child { border-bottom: 0; }
  .team-detail-heading { display: block; }
  .team-detail-heading p { margin-top: 7px; text-align: left; }
  .team-set-detail-grid,
  .team-narrative-grid,
  .team-methodology-grid { grid-template-columns: 1fr; }
}

/* Readability v4 */
.team-detail-loading p { font-size: .9rem; }
.team-detail-breadcrumb { font-size: .84rem; }
.team-detail-hero p { font-size: 1rem; }
.team-detail-meta div { padding: 16px; }
.team-detail-meta span { font-size: .76rem; }
.team-detail-meta strong { margin-top: 6px; font-size: .9rem; }
.team-detail-heading h2 { font-size: 1.5rem; }
.team-detail-heading p { font-size: .84rem; line-height: 1.5; }
.team-set-detail-grid { gap: 14px; }
.team-set-detail { padding: 20px; }
.team-set-detail header {
  min-height: 108px;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 16px;
}
.team-set-detail img,
.team-set-detail .pokemon-sprite-fallback {
  width: 100px;
  height: 100px;
}
.team-set-detail h3 { font-size: 1.08rem; }
.team-set-detail header p { margin-top: 5px; font-size: .78rem; line-height: 1.35; }
.team-set-facts { gap: 11px 9px; margin-top: 16px; padding-top: 15px; }
.team-set-facts span { font-size: .76rem; }
.team-set-facts strong { margin-top: 4px; font-size: .84rem; }
.team-set-moves { gap: 7px; margin-top: 15px; }
.team-set-moves li { min-height: 34px; padding: 8px 9px; font-size: .8rem; }
.team-set-spread { margin-top: 14px; font-size: .78rem; }
.team-narrative-grid section { padding: 24px; }
.team-narrative-grid h3 { font-size: 1rem; }
.team-narrative-grid p,
.team-narrative-grid li { font-size: .86rem; line-height: 1.65; }
.team-editorial-status { padding: 15px 17px; font-size: .84rem; line-height: 1.55; }
.team-methodology h2 { font-size: 1.35rem; }
.team-methodology p { font-size: .86rem; }
.team-source-actions .btn { min-height: 42px; font-size: .84rem; }

@media (max-width: 680px) {
  .team-detail-hero h1 { font-size: 2rem; line-height: 1.08; }
  .team-set-detail { padding: 18px; }
  .team-set-detail header {
    min-height: 102px;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }
  .team-set-detail img,
  .team-set-detail .pokemon-sprite-fallback {
    width: 94px;
    height: 94px;
  }
}
