*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Owner-cycle Ring of Honor */
.owner-ring-page {
  --ring-accent: var(--team-secondary, #d7b256);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
}

.owner-ring-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  border-radius: 24px;
  padding: 30px 34px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 25%, color-mix(in srgb, var(--team-secondary, #d7b256) 32%, transparent), transparent 35%),
    linear-gradient(125deg, var(--team-primary, #0b162a), #071425 70%);
}

.owner-ring-heading h2 { margin: 4px 0; font-size: clamp(36px, 5vw, 66px); letter-spacing: -.045em; }
.owner-ring-heading p { margin: 0; color: rgba(255,255,255,.68); font-weight: 800; }
.owner-ring-heading aside { display: grid; min-width: 146px; justify-items: end; }
.owner-ring-heading aside strong { font-size: clamp(42px, 6vw, 76px); line-height: .9; color: var(--ring-accent); }
.owner-ring-heading aside span { margin-top: 8px; font-size: 10px; font-weight: 950; letter-spacing: .16em; }

.owner-ring-window {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 13px 17px;
  background: #fff;
  color: #4b5c71;
  font-size: 12px;
  font-weight: 850;
}

.owner-ring-window b { color: #0b1d34; }
.owner-ring-seats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.owner-ring-seat {
  display: grid;
  grid-template-rows: auto minmax(170px, auto) auto auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #c9d4e2;
  border-top: 5px solid var(--team-primary, #0b376f);
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: 0 14px 30px rgba(7,20,37,.08);
}

.owner-ring-seat:nth-child(n+3) { border-top-color: var(--team-secondary, #c41230); }
.owner-ring-seat > header { display: flex; justify-content: space-between; padding: 13px 16px 8px; color: #56677b; font-size: 10px; font-weight: 950; letter-spacing: .13em; }
.owner-ring-seat > header b { color: #b58418; }
.owner-ring-seat-player { display: grid; grid-template-columns: 152px minmax(0, 1fr); align-items: end; min-height: 176px; padding: 0 18px; background: linear-gradient(115deg, #e9f0f8, #fff); }
.owner-ring-seat-player .player-avatar { width: 152px; height: 168px; align-self: end; }
.owner-ring-seat-player > span { display: grid; align-self: center; padding: 20px 0 20px 14px; }
.owner-ring-seat-player small { color: #d11f37; font-size: 9px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.owner-ring-seat-player strong { margin: 5px 0; color: #071a31; font-size: clamp(24px, 2.6vw, 37px); line-height: .92; }
.owner-ring-seat-player em { color: #64748b; font-size: 11px; font-style: normal; font-weight: 800; }
.owner-ring-seat-evidence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d7e0eb; background: #fff; }
.owner-ring-seat-evidence span { display: grid; gap: 2px; padding: 9px 11px; border-right: 1px solid #d7e0eb; }
.owner-ring-seat-evidence span:nth-child(3n) { border-right: 0; }
.owner-ring-seat-evidence small { color: #7a899b; font-size: 7px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.owner-ring-seat-evidence b { color: #0b1e36; font-size: 15px; }
.owner-ring-seat > footer { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-top: 1px solid #d7e0eb; background: #fff; }
.owner-ring-seat > footer button { min-height: 38px; border: 1px solid #becada; border-radius: 9px; padding: 0 13px; background: #fff; color: #122842; font: 900 10px/1 var(--sans); cursor: pointer; text-transform: uppercase; }
.owner-ring-seat > footer button:hover { border-color: #173f72; background: #eff5fb; }
.owner-ring-seat > footer button.is-remove { color: #b21d35; }
.owner-ring-seat > footer button:disabled { cursor: not-allowed; opacity: .45; }
.owner-ring-seat > footer span { margin-left: auto; color: #748398; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.owner-ring-seat-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #d7e0eb; }
.owner-ring-seat-stats span { display: grid; gap: 3px; padding: 10px 12px; border-right: 1px solid #d7e0eb; }
.owner-ring-seat-stats span:last-child { border-right: 0; }
.owner-ring-seat-stats small { color: #7a899b; font-size: 8px; font-weight: 950; letter-spacing: .1em; }
.owner-ring-seat-stats b { color: #0b1e36; font-size: 17px; }
.owner-ring-seat > label { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid #d7e0eb; background: #fff; }
.owner-ring-seat > label > span { color: #68788b; font-size: 9px; font-weight: 950; text-transform: uppercase; }
.owner-ring-seat .select { width: 100%; min-width: 0; max-width: 100%; }
.owner-ring-empty { display: grid; align-content: center; justify-items: center; gap: 6px; min-height: 176px; width: 100%; border: 0; padding: 24px; text-align: center; background: repeating-linear-gradient(135deg, #f8fafc, #f8fafc 12px, #f1f5f9 12px, #f1f5f9 24px); cursor: pointer; }
.owner-ring-empty strong { color: #24364d; font-size: 19px; }
.owner-ring-empty > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #b9c8d9; border-radius: 50%; color: #173f72; font-size: 25px; font-weight: 600; }
.owner-ring-empty em { max-width: 280px; color: #718096; font-size: 10px; font-style: normal; font-weight: 750; }
.owner-ring-empty:hover { background: #eef5fc; }
.owner-ring-empty:disabled { cursor: not-allowed; opacity: .55; }

.owner-ring-picker-backdrop { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 28px; background: rgba(3, 13, 27, .8); backdrop-filter: blur(10px); }
.owner-ring-picker { display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(1180px, 100%); max-height: min(820px, calc(100dvh - 56px)); overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: #f5f8fc; box-shadow: 0 38px 90px rgba(0,0,0,.4); }
.owner-ring-picker > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; color: #fff; background: linear-gradient(115deg, #07182c, #15365b 62%, #541a31); }
.owner-ring-picker > header h3 { margin: 3px 0 0; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.035em; }
.owner-ring-picker > header button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 25px; cursor: pointer; }
.owner-ring-picker-layout { display: grid; grid-template-columns: minmax(440px, 1fr) minmax(350px, .72fr); min-height: 0; overflow: hidden; }
.owner-ring-browser { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; min-height: 0; border-right: 1px solid #cbd6e3; }
.owner-ring-filters { display: grid; grid-template-columns: minmax(0, 1fr) 145px 145px auto; align-items: center; gap: 9px; padding: 15px; border-bottom: 1px solid #d5deea; background: #fff; }
.owner-ring-filters input, .owner-ring-filters select { min-width: 0; min-height: 48px; border: 1px solid #bbc9d9; border-radius: 11px; padding: 0 14px; background: #fff; color: #0d223d; font: 800 14px/1 var(--sans); }
.owner-ring-filters > span { color: #718096; font-size: 10px; font-weight: 900; white-space: nowrap; }
.owner-ring-candidates { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; min-height: 0; overflow-y: auto; padding: 12px; overscroll-behavior: contain; }
.owner-ring-candidate { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: end; min-width: 0; min-height: 112px; overflow: hidden; border: 1px solid #c8d4e2; border-radius: 13px; padding: 0 16px 0 0; background: #fff; color: #0b2039; text-align: left; cursor: pointer; }
.owner-ring-candidate[hidden] { display: none; }
.owner-ring-candidate:hover, .owner-ring-candidate.is-active { border-color: #173f72; background: #eaf2fb; box-shadow: inset 4px 0 #c71f3a; }
.owner-ring-candidate .player-avatar { width: 96px !important; height: 108px !important; align-self: end; border: 0; border-radius: 0; }
.owner-ring-candidate > span { display: grid; min-width: 0; align-self: center; padding: 12px 10px; }
.owner-ring-candidate small { color: #738297; font-size: 7px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.owner-ring-candidate strong { overflow: hidden; margin: 4px 0; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.owner-ring-candidate em { color: #718096; font-size: 9px; font-style: normal; font-weight: 800; }
.owner-ring-candidate > b { display: grid; align-self: center; color: #b27b12; font-size: 24px; line-height: .85; text-align: center; }
.owner-ring-candidate > b small { margin-top: 5px; font-size: 6px; }
.owner-ring-review { display: grid; grid-template-rows: auto auto auto minmax(65px, 1fr); align-content: start; min-width: 0; min-height: 0; overflow-y: auto; background: #071a31; color: #fff; }
.owner-ring-review-player { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: end; min-width: 0; min-height: 166px; overflow: hidden; background: linear-gradient(140deg, #dfe8f3, #fff); }
.owner-ring-review-player > .player-avatar { width: 132px !important; height: 158px !important; align-self: end; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.owner-ring-review-player > div { display: grid; align-self: center; min-width: 0; padding: 20px 16px; color: #071a31; }
.owner-ring-review-player > div > span { color: #c61e39; font-size: 8px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.owner-ring-review > div > span { color: #e2b64d; font-size: 8px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.owner-ring-review h4 { margin: 5px 0; color: #071a31; font-size: 27px; line-height: .95; overflow-wrap: anywhere; }
.owner-ring-review p { margin: 3px 0 0; color: #64748b; font-size: 9px; font-weight: 800; line-height: 1.35; }
.owner-ring-review dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(255,255,255,.12); }
.owner-ring-review dl span { display: grid; padding: 10px 13px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.owner-ring-review dt { color: #8294aa; font-size: 7px; font-weight: 950; text-transform: uppercase; }
.owner-ring-review dd { margin: 2px 0 0; color: #fff; font-size: 15px; font-weight: 950; }
.owner-ring-preservation { display: grid; gap: 4px; margin: 13px 15px; border-left: 4px solid #e3b544; padding: 11px 12px; background: rgba(255,255,255,.08); }
.owner-ring-preservation span { color: #fff; font-size: 11px; font-weight: 900; }
.owner-ring-preservation small { color: #9fb0c5; font-size: 8px; font-weight: 750; line-height: 1.45; }
.owner-ring-review .is-confirm { align-self: end; min-height: 50px; margin: 0 15px 15px; border: 0; border-radius: 11px; padding: 0 16px; background: #d5a936; color: #071a31; font: 950 12px/1 var(--sans); cursor: pointer; text-transform: uppercase; }
.owner-ring-review-empty { display: grid; align-content: center; justify-items: start; min-height: 420px; padding: 28px; background: linear-gradient(150deg, #071a31, #102d50); }
.owner-ring-review-empty span { color: #d5a936; font: 950 54px/.8 var(--mono); }
.owner-ring-review-empty strong { margin-top: 16px; font-size: 24px; }
.owner-ring-review-empty p { max-width: 250px; }

.owner-ring-submit { display: flex; align-items: center; justify-content: space-between; gap: 18px; overflow: hidden; border: 1px solid #c9d5e2; border-left: 6px solid var(--ring-accent); border-radius: 16px; padding: 16px 18px; background: #fff; }
.owner-ring-submit > span { display: grid; gap: 3px; }
.owner-ring-submit strong { color: #0b2039; font-size: 17px; }
.owner-ring-submit small { color: #66768a; font-size: 10px; font-weight: 750; }
.owner-ring-submit button { min-height: 44px; border: 0; border-radius: 10px; padding: 0 18px; background: #0d2948; color: #fff; font: 950 10px/1 var(--sans); text-transform: uppercase; }

.owner-ring-admin { overflow: hidden; border: 1px solid #bdcada; border-top: 5px solid #d5a936; border-radius: 20px; background: #fff; box-shadow: 0 14px 32px rgba(7,20,37,.08); }
.owner-ring-admin > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 18px 20px; background: #091c33; color: #fff; }
.owner-ring-admin > header h3 { margin: 3px 0 0; font-size: 28px; }
.owner-ring-admin-counts { display: flex; gap: 9px; }
.owner-ring-admin-counts span { display: grid; min-width: 94px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 9px 11px; color: #b6c4d5; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.owner-ring-admin-counts b { color: #fff; font-size: 22px; }
.owner-ring-admin-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #d5dee9; }
.owner-ring-admin-rows article { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; min-width: 0; gap: 12px; padding: 11px 14px; background: #f8fafc; }
.owner-ring-admin-rows article.is-submitted { box-shadow: inset 5px 0 #16835f; }
.owner-ring-admin-rows article.is-in_progress { box-shadow: inset 5px 0 #d5a936; }
.owner-ring-admin-rows article.is-not_started { box-shadow: inset 5px 0 #b9c5d3; }
.owner-ring-admin-team { display: grid; grid-template-columns: 34px auto; align-items: center; gap: 7px; }
.owner-ring-admin-team img { width: 34px; height: 34px; object-fit: contain; }
.owner-ring-admin-rows article > span:nth-child(2) { display: grid; min-width: 0; }
.owner-ring-admin-rows article > span:nth-child(2) strong { color: #0a203b; font-size: 12px; }
.owner-ring-admin-rows article > span:nth-child(2) small { overflow: hidden; color: #6d7c8f; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.owner-ring-admin-rows article > span:last-child { display: grid; justify-items: end; }
.owner-ring-admin-rows article > span:last-child b { color: #0a203b; font-size: 16px; }
.owner-ring-admin-rows article > span:last-child em { color: #718096; font-size: 7px; font-style: normal; font-weight: 950; letter-spacing: .08em; }

.owner-ring-pool {
  overflow: hidden;
  border: 1px solid #c9d4e2;
  border-radius: 20px;
  background: #fff;
}

.owner-ring-pool > header { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid #dbe3ed; }
.owner-ring-pool > header h3 { margin: 2px 0 0; font-size: 25px; }
.owner-ring-pool > header > span { color: #77869a; font-size: 10px; font-weight: 850; }
.owner-ring-pool > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.owner-ring-pool > div > section:first-child { border-right: 1px solid #dbe3ed; }
.owner-ring-pool > div > section > header { display: flex; justify-content: space-between; padding: 12px 16px; color: #fff; background: #0b203b; font-size: 10px; font-weight: 950; letter-spacing: .1em; }
.owner-ring-pool > div > section > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #dbe3ed; }
.owner-ring-pool article { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; min-height: 82px; padding: 5px 12px 0 4px; background: #f8fafc; }
.owner-ring-pool article .player-avatar { width: 72px; height: 76px; align-self: end; }
.owner-ring-pool article > span { display: grid; min-width: 0; }
.owner-ring-pool article small { color: #c21833; font-size: 8px; font-weight: 950; }
.owner-ring-pool article strong { overflow: hidden; color: #10233c; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.owner-ring-pool article em { color: #738196; font-size: 9px; font-style: normal; font-weight: 750; }
.owner-ring-pool article > b { color: #a77912; font-size: 21px; }

.owner-ring-retired {
  padding: 20px 22px;
  border: 1px solid #c9d4e2;
  border-radius: 20px;
  background: #fff;
}

.owner-ring-retired > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.owner-ring-retired > header h3 { margin: 2px 0 0; font-size: 25px; }
.owner-ring-retired > header > span { color: #77869a; font-size: 10px; font-weight: 850; text-transform: uppercase; }

.owner-ring-history { display: grid; gap: 14px; margin: 8px 0; }
.owner-ring-history > header { display: flex; align-items: end; justify-content: space-between; padding: 20px 22px; border-radius: 18px; color: #fff; background: linear-gradient(115deg, #0a1b31, #163457); }
.owner-ring-history > header h3 { margin: 3px 0 0; font-size: 32px; }
.owner-ring-history > header > span { color: #e3b544; font-size: 11px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.owner-ring-class { overflow: hidden; border: 1px solid #c8d3e0; border-radius: 18px; background: #fff; }
.owner-ring-class > header { display: flex; justify-content: space-between; padding: 14px 18px; color: #fff; background: #102a49; }
.owner-ring-class > header div { display: grid; }
.owner-ring-class > header span { color: #b6c4d5; font-size: 9px; font-weight: 850; }
.owner-ring-class > header b { color: #e7bd50; font-size: 9px; letter-spacing: .12em; }
.owner-ring-class > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.owner-ring-history-card { overflow: hidden; border: 1px solid #ccd7e4; border-top: 5px solid #124da0; border-radius: 15px; background: #f8fafc; }
.owner-ring-history-card.is-defense { border-top-color: #cc1737; }
.owner-ring-history-portrait { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: end; min-height: 206px; background: linear-gradient(125deg, #e8eff8, #fff); }
.owner-ring-history-portrait .player-avatar { width: 180px; height: 198px; align-self: end; }
.owner-ring-history-portrait > span { display: grid; align-self: center; padding: 18px 14px; }
.owner-ring-history-portrait small { color: #cc1737; font-size: 9px; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.owner-ring-history-portrait strong { margin: 7px 0; color: #071b33; font-size: clamp(25px, 3vw, 40px); line-height: .9; }
.owner-ring-history-portrait em { color: #68788d; font-size: 11px; font-style: normal; font-weight: 850; }
.owner-ring-history-tenure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #d6e0ea; border-bottom: 1px solid #d6e0ea; background: #fff; }
.owner-ring-history-tenure > span { display: grid; gap: 2px; padding: 12px 14px; border-right: 1px solid #d6e0ea; }
.owner-ring-history-tenure > span:last-child { border-right: 0; }
.owner-ring-history-tenure small { color: #738196; font-size: 8px; font-weight: 950; text-transform: uppercase; }
.owner-ring-history-tenure strong { color: #10233c; font-size: 17px; }
.owner-ring-history-tenure em { color: #7b8796; font-size: 9px; font-style: normal; font-weight: 750; }
.owner-ring-history-highlights { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 10px; border-top: 1px solid #d6e0ea; background: #fff; }
.owner-ring-history-highlights > span { display: grid; align-content: center; border-radius: 10px; padding: 12px; background: #0e2948; color: #fff; }
.owner-ring-history-highlights > span small { color: #e2b64d; font-size: 7px; font-weight: 950; text-transform: uppercase; }
.owner-ring-history-highlights > span b { font-size: 30px; }
.owner-ring-history-highlights > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.owner-ring-history-highlights a, .owner-ring-history-highlights em { display: grid; min-width: 0; border: 1px solid #d4deea; border-radius: 8px; padding: 8px 10px; color: #152b47; text-decoration: none; }
.owner-ring-history-highlights a:hover { border-color: #173f72; background: #eef5fc; }
.owner-ring-history-highlights a strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.owner-ring-history-highlights a small { color: #78879a; font-size: 7px; font-weight: 850; }
.owner-ring-history-highlights em { align-content: center; color: #78879a; font-size: 9px; font-style: normal; }
.owner-ring-history-primary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 10px; gap: 6px; }
.owner-ring-history-primary span { display: grid; padding: 8px; border-radius: 8px; background: #eaf0f7; }
.owner-ring-history-primary small { color: #738196; font-size: 8px; font-weight: 950; }
.owner-ring-history-primary b { color: #10233c; font-size: 18px; }
.owner-ring-history-card details { border-top: 1px solid #d6e0ea; background: #fff; }
.owner-ring-history-card summary { padding: 12px 14px; color: #1a304d; font-size: 10px; font-weight: 950; cursor: pointer; text-transform: uppercase; }
.owner-ring-career, .owner-ring-attributes { display: grid; gap: 12px; padding: 4px 14px 16px; }
.owner-ring-career > div { display: grid; gap: 8px; }
.owner-ring-career h4 { margin: 0; color: #bc1733; font-size: 10px; text-transform: uppercase; }
.owner-ring-career section, .owner-ring-attributes section { display: grid; gap: 6px; }
.owner-ring-career section > strong, .owner-ring-attributes section > strong { color: #576980; font-size: 9px; text-transform: uppercase; }
.owner-ring-career section > div, .owner-ring-attributes section > div { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.owner-ring-career section span, .owner-ring-attributes section span { display: grid; padding: 7px; border-radius: 7px; background: #eef3f8; }
.owner-ring-career section small, .owner-ring-attributes section small { color: #79879a; font-size: 7px; font-weight: 950; }
.owner-ring-career section b, .owner-ring-attributes section b { color: #10233c; font-size: 13px; }

@media (max-width: 900px) {
  .owner-ring-seats,
  .owner-ring-class > div { grid-template-columns: minmax(0, 1fr); }
  .owner-ring-pool > div { grid-template-columns: minmax(0, 1fr); }
  .owner-ring-pool > div > section:first-child { border-right: 0; border-bottom: 1px solid #dbe3ed; }
  .owner-ring-picker-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .owner-ring-candidates { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .owner-ring-page { min-width: 0; }
  .owner-ring-page > *,
  .owner-ring-seats,
  .owner-ring-seat,
  .owner-ring-pool,
  .owner-ring-retired { width: 100%; min-width: 0; max-width: 100%; }
  .owner-ring-heading { align-items: start; flex-direction: column; padding: 24px 20px; }
  .owner-ring-heading aside { grid-template-columns: auto 1fr; align-items: end; justify-items: start; gap: 10px; min-width: 0; }
  .owner-ring-heading aside strong { font-size: 46px; }
  .owner-ring-heading aside span { margin: 0 0 4px; }
  .owner-ring-window { align-items: start; flex-direction: column; overflow: hidden; }
  .owner-ring-window > * { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .owner-ring-seat-player { grid-template-columns: 118px minmax(0, 1fr); min-height: 148px; padding: 0 10px; }
  .owner-ring-seat-player .player-avatar { width: 118px; height: 142px; }
  .owner-ring-seat-player > span { min-width: 0; padding-left: 8px; }
  .owner-ring-seat-player strong { font-size: 22px; overflow-wrap: anywhere; }
  .owner-ring-seat-player em { white-space: normal; overflow-wrap: anywhere; }
  .owner-ring-seat-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owner-ring-seat-stats span:nth-child(2) { border-right: 0; }
  .owner-ring-seat-stats span:nth-child(-n+2) { border-bottom: 1px solid #d7e0eb; }
  .owner-ring-seat > label { grid-template-columns: minmax(0, 1fr); }
  .owner-ring-pool > header { align-items: start; flex-direction: column; }
  .owner-ring-pool > div > section > div { grid-template-columns: minmax(0, 1fr); }
  .owner-ring-history-portrait { grid-template-columns: 132px minmax(0, 1fr); min-height: 164px; }
  .owner-ring-history-portrait .player-avatar { width: 132px; height: 158px; }
  .owner-ring-history-primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owner-ring-career section > div, .owner-ring-attributes section > div { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .owner-ring-picker-backdrop { align-items: end; padding: 0; }
  .owner-ring-picker { width: 100%; height: min(690px, calc(100dvh - env(safe-area-inset-top))); max-height: calc(100dvh - env(safe-area-inset-top)); border-radius: 20px 20px 0 0; }
  .owner-ring-picker > header { padding: 17px 18px; }
  .owner-ring-picker > header h3 { font-size: 25px; }
  .owner-ring-picker-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(278px, .8fr) minmax(0, 1fr); overflow: hidden; }
  .owner-ring-browser { display: grid; grid-template-rows: auto minmax(0, 1fr); border-right: 0; }
  .owner-ring-filters { position: sticky; top: 0; z-index: 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 10px; }
  #owner-ring-query, .owner-ring-filters > span { grid-column: 1 / -1; }
  .owner-ring-filters input, .owner-ring-filters select { min-height: 46px; padding: 0 10px; font-size: 12px; }
  .owner-ring-candidates { display: grid; max-height: none; overflow-y: auto; padding: 9px; }
  .owner-ring-candidate { grid-template-columns: 74px minmax(0, 1fr) auto; min-height: 84px; padding-right: 10px; }
  .owner-ring-candidate .player-avatar { width: 74px !important; height: 82px !important; }
  .owner-ring-candidate > span { padding: 9px 7px; }
  .owner-ring-candidate strong { font-size: 15px; }
  .owner-ring-candidate > b { font-size: 19px; }
  .owner-ring-review { grid-template-rows: auto auto auto auto; overflow-y: auto; }
  .owner-ring-review-player { grid-template-columns: 105px minmax(0, 1fr); min-height: 126px; }
  .owner-ring-review-player > .player-avatar { width: 105px !important; height: 126px !important; }
  .owner-ring-review-player > div { padding: 14px 12px; }
  .owner-ring-review h4 { font-size: 23px; }
  .owner-ring-review dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .owner-ring-review dl span { padding: 8px 7px; }
  .owner-ring-review dd { font-size: 13px; }
  .owner-ring-preservation { margin: 10px 12px; }
  .owner-ring-review .is-confirm { min-height: 46px; margin: 0 12px 12px; }
  .owner-ring-review-empty { min-height: 180px; }
  .owner-ring-seat-evidence { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .owner-ring-history-highlights { grid-template-columns: 86px minmax(0, 1fr); }
  .owner-ring-history-highlights > div { grid-template-columns: minmax(0, 1fr); }
  .owner-ring-submit { align-items: stretch; flex-direction: column; }
  .owner-ring-submit button { width: 100%; }
  .owner-ring-admin > header { align-items: start; flex-direction: column; }
  .owner-ring-admin-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .owner-ring-admin-counts span { min-width: 0; }
  .owner-ring-admin-rows { grid-template-columns: minmax(0, 1fr); }
}

:root {
  color-scheme: light;
  --ink: #121922;
  --muted: #637083;
  --subtle: #e2e7ef;
  --line: #cfd7e3;
  --paper: #eef3f8;
  --panel: #ffffff;
  --navy: #112a46;
  --night: #08111f;
  --blue: #315f8f;
  --red: #c92232;
  --gold: #b98a2f;
  --green: #17775a;
  --shadow: 0 16px 42px rgba(17, 42, 70, 0.12);
  --tight-shadow: 0 8px 22px rgba(17, 42, 70, 0.09);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 42, 70, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, rgba(17, 42, 70, 0.09), rgba(246, 248, 251, 0) 440px),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  overflow-x: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px clamp(16px, 4vw, 42px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 64px 100%,
    rgba(8, 17, 31, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(8, 17, 31, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  color: #ffffff;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 38px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1;
}

.brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.nav-tabs {
  display: flex;
  gap: 6px;
  justify-content: flex-start;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tab,
.refresh-btn,
.control-btn {
  min-height: 38px;
  border: 1px solid rgba(207, 215, 227, 0.9);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  padding: 0 13px;
  font-weight: 700;
}

.nav-tab.is-active {
  border-color: rgba(185, 138, 47, 0.68);
  background: #ffffff;
  color: var(--navy);
  box-shadow: inset 0 -3px 0 var(--gold);
}

.refresh-btn {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

main {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 42px) 52px;
}

.status-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 22px 0 18px;
  border-bottom: 1px solid rgba(17, 42, 70, 0.14);
}

.has-detail-view .status-band {
  display: none;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 42px;
  letter-spacing: 0;
  line-height: 1;
}

h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

.status-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body[data-view="trade"] .status-meta {
  display: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--tight-shadow);
}

.pill strong {
  margin-left: 5px;
  color: var(--ink);
}

.view {
  display: none;
  padding-top: 22px;
}

.view.is-active {
  display: block;
}

.nav-tab-owner {
  border-color: rgba(215, 178, 86, 0.72);
  color: #f4cf6b;
}

.facility-gate {
  display: grid;
  place-items: center;
  min-height: 620px;
  padding: 56px 24px;
  border: 1px solid rgba(215, 178, 86, 0.32);
  background: radial-gradient(circle at 50% 18%, rgba(215, 178, 86, 0.15), transparent 32%), #07111f;
  color: #fff;
  text-align: center;
}

.facility-gate img { width: 180px; height: 180px; object-fit: contain; }
.facility-gate h2 { max-width: 12ch; margin: 12px 0; font-size: 68px; line-height: 0.94; }
.facility-gate p { max-width: 560px; color: rgba(255,255,255,.72); font-size: 19px; }
.facility-login { width: fit-content; margin-top: 20px; padding: 14px 22px; }
.facility-gate.is-compact { min-height: 310px; margin-top: 14px; padding: 34px 24px; border-radius: 20px; }
.facility-gate.is-compact img { width: 72px; height: 72px; }
.facility-gate.is-compact h2 { max-width: none; margin: 8px 0 4px; font-size: clamp(30px, 4vw, 46px); line-height: 1; }
.facility-gate.is-compact p { margin: 0; font-size: 16px; }
.facility-gate-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.facility-gate-actions .control-btn { min-height: 44px; }
.owner-desk-loading { display:grid; gap:14px; padding:18px 0; }
.owner-desk-loading > header { display:grid; grid-template-columns:82px minmax(0,1fr) auto; align-items:center; gap:16px; min-height:138px; padding:22px 24px; overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:24px; background:linear-gradient(115deg,#102b55,#571d35); color:#fff; }
.owner-desk-loading h2 { margin:4px 0 0; color:#fff; font-size:clamp(30px,4vw,48px); line-height:.95; }
.owner-loading-mark,.owner-loading-metrics i,.owner-loading-grid i { display:block; background:linear-gradient(100deg,rgba(255,255,255,.08) 20%,rgba(255,255,255,.22) 38%,rgba(255,255,255,.08) 56%); background-size:220% 100%; animation:owner-loading-pulse 1.25s ease-in-out infinite; }
.owner-loading-mark { width:82px; height:82px; border-radius:20px; }
.owner-loading-metrics { display:grid; grid-template-columns:repeat(4,68px); gap:8px; }
.owner-loading-metrics i { height:68px; border-radius:13px; }
.owner-loading-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:12px; }
.owner-loading-grid i { min-height:210px; border:1px solid rgba(255,255,255,.08); border-radius:20px; background-color:#0c1929; }
.owner-loading-grid i:last-child { grid-column:1/-1; min-height:110px; }
@keyframes owner-loading-pulse { to { background-position:-120% 0; } }
@media (prefers-reduced-motion:reduce) { .owner-loading-mark,.owner-loading-metrics i,.owner-loading-grid i { animation:none; } }

.facility-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr);
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(115deg, color-mix(in srgb, var(--team-primary) 92%, #050b14), color-mix(in srgb, var(--team-secondary) 46%, #08111f));
  color: #fff;
}

.facility-identity { display: grid; align-content: center; padding: 52px; }
.facility-identity h2 { max-width: 12ch; margin: 8px 0; font-size: 76px; line-height: .92; }
.facility-identity p { font-size: 22px; font-weight: 800; color: rgba(255,255,255,.76); }
.facility-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.facility-actions .control-btn { width: fit-content; background: rgba(255,255,255,.1); color: #fff; }
.facility-actions .is-primary { background: #fff; color: #07111f; }
.facility-logo { display: grid; place-items: center; background: rgba(0,0,0,.16); }
.facility-logo .team-mark.mark-hero { width: 330px; height: 330px; }
.facility-logo .team-mark.mark-hero img { width: 300px; height: 300px; }

.facility-command-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0 34px; }
.facility-command-strip .metric { min-height: 118px; background: #fff; }
.facility-command-strip .metric strong { font-size: 34px; }
.facility-section { padding: 30px 0; }
.section-heading h2 { margin: 3px 0 18px; font-size: 42px; }
.facility-player-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.facility-player {
  position: relative;
  display: grid;
  grid-template-rows: 340px auto;
  overflow: hidden;
  min-width: 0;
  border-radius: 8px;
  background: #091525;
  color: #fff;
  text-decoration: none;
}
.facility-player .player-avatar.avatar-lg { width: 100%; height: 340px; border: 0; border-radius: 0; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.01)); }
.facility-player-copy { display: grid; gap: 4px; padding: 17px; }
.facility-player-copy small { color: #d7b256; font-weight: 900; text-transform: uppercase; }
.facility-player-copy strong { font-size: 24px; line-height: 1; }
.facility-player-copy span { color: rgba(255,255,255,.68); }
.facility-player-copy b { color: #fff; font-size: 23px; }

.facility-schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.facility-game-grid { display: grid; gap: 8px; }
.facility-game { display: grid; grid-template-columns: 72px 72px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 100px; padding: 12px 18px; border: 1px solid var(--subtle); border-radius: 8px; background: #fff; color: var(--ink); text-decoration: none; }
.facility-game > span:first-child { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.facility-game .team-mark { grid-row: span 2; width: 68px; height: 68px; }
.facility-game strong { align-self: end; font-size: 22px; }
.facility-game small { align-self: start; color: var(--muted); }
.facility-game > b { grid-column: 4; grid-row: 1 / span 2; font-size: 21px; }
.facility-roster-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.facility-roster-grid .facility-player { grid-template-rows: 220px auto; }
.facility-roster-grid .facility-player .player-avatar.avatar-lg { height: 220px; }

@media (max-width: 1050px) {
  .facility-hero { grid-template-columns: minmax(0, 1fr) 320px; }
  .facility-player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facility-roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .team-gallery-grid { grid-template-columns: 1fr; }
  .facility-gate { min-height: 520px; }
  .facility-gate h2 { font-size: 46px; }
  .facility-gate.is-compact { min-height: 280px; padding: 28px 18px; }
  .owner-desk-loading > header { grid-template-columns:62px minmax(0,1fr); min-height:0; padding:16px; border-radius:18px; }
  .owner-loading-mark { width:62px; height:62px; border-radius:15px; }
  .owner-loading-metrics { grid-column:1/-1; grid-template-columns:repeat(4,1fr); width:100%; }
  .owner-loading-metrics i { height:50px; }
  .owner-loading-grid { grid-template-columns:1fr; }
  .owner-loading-grid i,.owner-loading-grid i:last-child { grid-column:auto; min-height:150px; }
  .facility-hero { grid-template-columns: 1fr; min-height: 0; }
  .facility-identity { padding: 30px 20px; }
  .facility-identity h2 { font-size: 49px; }
  .facility-logo { grid-row: 1; min-height: 260px; }
  .facility-logo .team-mark.mark-hero { width: 230px; height: 230px; }
  .facility-logo .team-mark.mark-hero img { width: 210px; height: 210px; }
  .facility-command-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facility-player-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82vw; overflow-x: auto; scroll-snap-type: inline mandatory; }
  .facility-player-grid .facility-player { scroll-snap-align: start; }
  .facility-schedule-grid { grid-template-columns: 1fr; }
  .facility-roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facility-roster-grid .facility-player { grid-template-rows: 180px auto; }
  .facility-roster-grid .facility-player .player-avatar.avatar-lg { height: 180px; }
  .facility-game { grid-template-columns: 58px 60px minmax(0,1fr); padding: 10px; }
  .facility-game > b { grid-column: 3; grid-row: auto; justify-self: start; }
}

.loading-panel {
  display: grid;
  place-items: center;
  min-height: 300px;
  gap: 12px;
  color: var(--muted);
}

.loading-panel.is-hidden {
  display: none;
}

.loader {
  width: 38px;
  height: 38px;
  border: 4px solid var(--subtle);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel,
.card,
.table-wrap {
  border: 1px solid rgba(207, 215, 227, 0.9);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--tight-shadow);
}

.panel {
  padding: 18px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.compact-metrics .metric {
  padding: 10px 12px;
}

.compact-metrics .metric strong {
  font-size: 20px;
}

.pulse-hero,
.machine-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
  border: 1px solid rgba(17, 42, 70, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 42, 70, 0.98), rgba(33, 82, 118, 0.94)),
    #112a46;
  box-shadow: var(--shadow);
  color: #ffffff;
  padding: 22px;
}

.pulse-hero h2,
.machine-hero h2 {
  margin: 0 0 8px;
  font-size: 42px;
  letter-spacing: 0;
  line-height: 1;
}

.pulse-hero p,
.machine-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.pulse-metrics {
  margin: 0;
}

.pulse-metrics .metric {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.pulse-metrics .metric span {
  color: var(--muted);
}

.pulse-metrics .metric strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.12;
}

.overview-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

.overview-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 14px;
  margin-bottom: 14px;
}

.showcase-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  border: 1px solid rgba(17, 42, 70, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(8, 17, 31, 0.96), rgba(17, 42, 70, 0.9)),
    #08111f;
  color: #ffffff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.showcase-main h2 {
  margin: 2px 0 6px;
  font-size: 34px;
  line-height: 1;
}

.showcase-main > div {
  min-width: 0;
}

.showcase-main a {
  color: #ffffff;
  text-decoration: none;
}

.showcase-main p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  overflow-wrap: anywhere;
  white-space: normal;
}

.showcase-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.owner-chip-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(17, 42, 70, 0.14);
  border-radius: 10px;
  background: linear-gradient(145deg, #ffffff, #f2f7fb);
  color: var(--ink);
  padding: 10px;
  text-decoration: none;
  box-shadow: var(--tight-shadow);
}

.owner-chip-card span,
.owner-chip-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-chip-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.owner-chip-card strong {
  color: var(--navy);
  font-size: 15px;
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 14px;
}

.apply-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.apply-steps article {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--subtle);
  border-radius: 9px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--tight-shadow);
}

.apply-steps article > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: 18px; font-weight: 1000; }
.apply-steps strong { display: block; color: var(--ink); font-size: 16px; }
.apply-steps p { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 750; line-height: 1.35; }

.apply-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-field,
.form-check {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.form-field span,
.form-check span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-field .input,
.form-field .select {
  width: 100%;
  min-width: 0;
}

.form-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-self: end;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}

.form-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.rules-check {
  grid-column: 1 / -1;
  align-self: stretch;
  border-color: rgba(185, 138, 47, 0.42);
  background: rgba(185, 138, 47, 0.08);
}

.full-span,
.form-actions {
  grid-column: 1 / -1;
}

.hidden-field {
  display: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-action {
  border-color: rgba(17, 42, 70, 0.18);
  background: var(--navy);
  color: #fff;
}

.form-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: var(--red);
}

.apply-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.apply-team-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(17, 42, 70, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 251, 0.94));
  color: var(--ink);
  padding: 12px;
  text-decoration: none;
  box-shadow: var(--tight-shadow);
}

.apply-team-card .team-mark.mark-xxl {
  width: 116px;
  height: 88px;
}

.apply-team-card .team-mark.mark-xxl img {
  width: 82px;
  height: 82px;
}

.apply-team-card:hover {
  border-color: rgba(185, 138, 47, 0.56);
  transform: translateY(-1px);
}

.apply-team-card div {
  min-width: 0;
}

.apply-team-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.apply-team-card strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.apply-team-card p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.section-head h2 {
  margin-bottom: 0;
}

.conference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.standings-mobile-detail { display: none; }

.conference-grid h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seed-line {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto minmax(74px, auto);
  gap: 8px;
  align-items: center;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  padding: 8px;
  font-size: 13px;
}

.seed-line.is-in {
  border-color: rgba(23, 119, 90, 0.28);
  background: rgba(23, 119, 90, 0.06);
}

.seed-line.is-out {
  color: var(--muted);
}

.seed-number {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.seed-line strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seed-line a,
.team-title a,
.player-line a {
  color: inherit;
  text-decoration: none;
}

.seed-line a:hover,
.team-title a:hover,
.player-line a:hover {
  text-decoration: underline;
}

.seed-line em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.seed-line.race-line {
  grid-template-columns: minmax(0, 1.25fr) auto minmax(116px, auto);
  padding: 10px;
}

.seed-line.race-line strong {
  gap: 8px;
  font-size: 14px;
}

.seed-line.race-line .team-mark.mark-xl {
  width: 58px;
  height: 46px;
  margin-right: 0;
}

.seed-line.race-line .team-mark.mark-xl img {
  width: 42px;
  height: 42px;
}

.seed-line.race-line .team-mark.mark-xl span {
  font-size: 14px;
}

.bubble-block {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--subtle);
  padding-top: 10px;
}

.bubble-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.bubble-block span,
.result-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.card {
  padding: 14px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: 32px;
  align-items: stretch;
  min-height: 570px;
  margin-bottom: 22px;
  border: 1px solid rgba(17, 42, 70, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 83% 22%, color-mix(in srgb, var(--team-secondary, #b98a2f) 36%, transparent), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 72px 100%,
    linear-gradient(135deg, color-mix(in srgb, var(--team-primary, #08111f) 92%, #000000), #12213a 58%, color-mix(in srgb, var(--team-secondary, #243b56) 42%, #243b56));
  box-shadow: var(--shadow);
  color: #ffffff;
  padding: 38px;
}

.detail-hero h2 {
  max-width: 12ch;
  margin: 8px 0 12px;
  color: #ffffff;
  font-size: 76px;
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.detail-hero .muted,
.detail-hero a {
  color: rgba(255, 255, 255, 0.78);
}

.detail-back {
  width: fit-content;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.detail-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.detail-deck {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.25;
}

.detail-deck strong {
  color: #ffffff;
  font-size: 24px;
}

.detail-deck span {
  color: rgba(255, 255, 255, 0.72);
}

.detail-visual {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.detail-link,
.detail-row-link {
  color: inherit;
  text-decoration: none;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.detail-link.compact {
  min-height: 30px;
  margin-top: 0;
  padding: 0 9px;
}

.detail-row-link:hover,
.detail-link:hover {
  color: var(--red);
}

.detail-stat-line {
  display: grid;
  grid-template-columns: minmax(72px, 0.55fr) minmax(0, 1.6fr) minmax(64px, auto);
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--subtle);
  padding-top: 8px;
  min-width: 0;
}

.detail-stat-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-stat-line span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-stat-line strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-stat-line em {
  min-width: 0;
  overflow: hidden;
  color: var(--navy);
  font-style: normal;
  font-weight: 900;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-head,
.team-line,
.player-line,
.game-line,
.asset-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.card-head > *,
.team-line > *,
.player-line > *,
.game-line > *,
.asset-line > * {
  min-width: 0;
}

.team-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(207, 215, 227, 0.88);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--team-primary, var(--navy)) 12%, #ffffff), #ffffff);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.team-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.team-mark.mark-lg {
  width: 54px;
  height: 44px;
}

.team-mark.mark-lg img {
  width: 40px;
  height: 40px;
}

.team-mark.mark-xl {
  width: 72px;
  height: 58px;
  border-radius: 10px;
}

.team-mark.mark-xl img {
  width: 54px;
  height: 54px;
}

.team-mark.mark-xxl {
  width: 104px;
  height: 84px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(17, 42, 70, 0.12);
}

.team-mark.mark-xxl img {
  width: 78px;
  height: 78px;
}

.team-mark.mark-hero {
  width: min(100%, 430px);
  height: 320px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.team-mark.mark-hero img {
  width: min(100%, 340px);
  height: 300px;
}

.team-mark span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: color-mix(in srgb, var(--team-primary, var(--navy)) 82%, #b98a2f);
  font-size: 11px;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-mark.mark-lg span {
  font-size: 12px;
}

.team-mark.mark-xl span {
  font-size: 17px;
}

.team-mark.mark-xxl span {
  font-size: 24px;
}

.team-mark.mark-hero span {
  font-size: 34px;
  letter-spacing: 0.02em;
}

.team-mark img[data-loaded="1"]:not(.is-hidden) + span {
  opacity: 0;
}

.game-score .team-mark,
.seed-line .team-mark,
td .team-mark,
.machine-game .team-mark {
  width: 30px;
  height: 26px;
  margin-right: 5px;
  vertical-align: middle;
}

.game-score .team-mark img,
.seed-line .team-mark img,
td .team-mark img,
.machine-game .team-mark img {
  width: 22px;
  height: 22px;
}

.machine-game .team-mark.mark-lg,
.seed-line .team-mark.mark-lg {
  width: 44px;
  height: 36px;
}

.machine-game .team-mark.mark-lg img,
.seed-line .team-mark.mark-lg img {
  width: 32px;
  height: 32px;
}

.game-score span,
.machine-game strong,
.seed-line strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.team-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.team-title h3,
.player-main h3 {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-title p,
.player-main p,
.muted {
  color: var(--muted);
  font-size: 12px;
}

.rank {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.record {
  font-size: 22px;
  font-weight: 900;
}

.delta.pos {
  color: var(--green);
}

.delta.neg {
  color: var(--red);
}

.game-card {
  display: grid;
  gap: 12px;
}

.game-card .game-score .team-mark.mark-lg {
  width: 48px;
  height: 38px;
}

.game-card .game-score .team-mark.mark-lg img {
  width: 34px;
  height: 34px;
}

.game-score {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.game-score strong {
  font-size: 17px;
}

.winner {
  color: var(--green);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.input,
.select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}

.input {
  min-width: min(320px, 100%);
}

.select {
  min-width: 170px;
}

.wide-select {
  min-width: min(420px, 100%);
}

.textarea {
  min-height: 112px;
  width: 100%;
  padding: 12px;
  resize: vertical;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--subtle);
  padding: 11px 12px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  font-size: 13px;
}

tr:last-child td {
  border-bottom: 0;
}

tr.is-user-team td {
  background: rgba(23, 119, 90, 0.055);
}

tr.is-user-team td:first-child {
  box-shadow: inset 4px 0 0 var(--green);
}

.division-block + .division-block {
  margin-top: 22px;
}

.team-card {
  display: grid;
  gap: 14px;
  overflow: hidden;
  border-top: 4px solid rgba(17, 42, 70, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 251, 0.94)),
    #fff;
}

.team-card .card-head {
  align-items: flex-start;
}

.team-card .card-head .team-mark {
  width: 64px;
  height: 52px;
}

.team-card .card-head .team-mark img {
  width: 48px;
  height: 48px;
}

.team-card .metric-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.team-card .metric {
  min-width: 0;
}

.team-card .metric strong {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.player-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.player-index-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(17, 42, 70, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 248, 0.94));
  color: var(--ink);
  padding: 14px;
  text-decoration: none;
  box-shadow: var(--tight-shadow);
}

.player-index-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.player-index-portrait {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.player-index-copy {
  min-width: 0;
}

.player-index-copy span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-index-copy strong {
  display: block;
  overflow: hidden;
  margin: 2px 0 5px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-index-copy p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.player-index-metrics,
.owner-ledger-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.player-index-metrics .metric,
.owner-ledger-metrics .metric {
  padding: 9px;
}

.player-index-metrics .metric strong,
.owner-ledger-metrics .metric strong {
  font-size: 18px;
}

.mini-list {
  display: grid;
  gap: 8px;
}

.player-line,
.asset-line {
  border-top: 1px solid var(--subtle);
  padding-top: 9px;
}

.player-line {
  justify-content: flex-start;
  gap: 12px;
}

.player-line > :last-child {
  margin-left: auto;
  text-align: right;
}

.player-avatar,
.pick-avatar {
  display: inline-grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(207, 215, 227, 0.94)),
    #eef3fa;
  color: var(--navy);
  font-weight: 900;
}

.player-avatar::before,
.pick-avatar::before {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 4px;
  left: 6px;
  height: 54%;
  border-radius: 50% 50% 10px 10px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--team-secondary, #b98a2f) 30%, rgba(255, 255, 255, 0.2)), rgba(17, 42, 70, 0.12)),
    rgba(255, 255, 255, 0.54);
}

.player-avatar.avatar-xs,
.pick-avatar {
  width: 44px;
  height: 44px;
  font-size: 11px;
}

.player-avatar.avatar-sm {
  width: 58px;
  height: 58px;
  font-size: 12px;
}

.player-avatar.avatar-lg {
  width: 118px;
  height: 118px;
  font-size: 22px;
}

.player-avatar.avatar-hero {
  width: min(100%, 420px);
  height: 490px;
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(207, 215, 227, 0.9)),
    color-mix(in srgb, var(--team-secondary, #b98a2f) 24%, #eef3fa);
  font-size: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
}

.player-avatar.avatar-hero span {
  color: color-mix(in srgb, var(--team-primary, var(--navy)) 80%, #111827);
}

.player-avatar img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #eef3fa;
}

.player-avatar img:not([data-loaded="1"]) {
  opacity: 0;
}

.player-avatar img.is-hidden {
  display: none;
}

.player-avatar img[data-loaded="1"]:not(.is-hidden) + span {
  opacity: 0;
}

.player-avatar span,
.pick-avatar span {
  position: relative;
  z-index: 1;
}

.stat-player,
.asset-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.player-line:first-child,
.asset-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.dev {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.dev img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.stat-hero,
.milestone-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 0.9fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 14px;
  border: 1px solid rgba(17, 42, 70, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 72px 100%,
    linear-gradient(135deg, #08111f, #13233a 54%, #364d68 130%);
  box-shadow: var(--shadow);
  color: #ffffff;
  padding: 20px;
}

.stat-hero-clean {
  grid-template-columns: 1fr;
}

.stat-hero h2,
.milestone-hero h2 {
  margin: 0 0 8px;
  font-size: 46px;
  letter-spacing: 0;
}

.stat-hero .muted,
.milestone-hero .muted {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.stat-metrics {
  align-self: stretch;
  margin: 0;
}

.stat-metrics .metric {
  background: rgba(255, 255, 255, 0.88);
}

.stat-metrics .metric span {
  color: var(--muted);
}

.stat-metrics .metric strong {
  color: var(--ink);
}

.stat-ask {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  border: 1px solid rgba(17, 42, 70, 0.18);
  border-top: 3px solid var(--red);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(17, 42, 70, 0.035) 1px, transparent 1px) 0 0 / 58px 100%,
    linear-gradient(135deg, #ffffff, #f3f7fb);
  padding: 14px;
  box-shadow: var(--tight-shadow);
}

.stat-ask-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.stat-ask-input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(17, 42, 70, 0.18);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 14px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(17, 42, 70, 0.04);
}

.stat-mode-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stat-mode {
  display: grid;
  gap: 2px;
  min-height: 46px;
  border: 1px solid rgba(17, 42, 70, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  padding: 7px 10px;
  text-align: left;
}

.stat-mode strong {
  font-size: 13px;
  line-height: 1;
}

.stat-mode span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-mode.is-active {
  border-color: rgba(185, 138, 47, 0.62);
  background:
    linear-gradient(135deg, rgba(185, 138, 47, 0.16), rgba(255, 255, 255, 0.98));
  box-shadow: inset 0 -3px 0 var(--gold);
}

.stat-launch-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat-launch-card {
  display: grid;
  grid-template-columns: minmax(130px, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  min-height: 286px;
  border: 1px solid rgba(17, 42, 70, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--team-primary, #112a46) 94%, #000000), #0b1524 76%);
  color: #ffffff;
  padding: 0;
  text-align: left;
  box-shadow: 0 18px 44px rgba(17, 42, 70, 0.18);
}

.stat-launch-media {
  display: grid;
  align-items: end;
  justify-items: center;
  min-width: 0;
  background: color-mix(in srgb, var(--team-secondary, #b98a2f) 15%, transparent);
}

.stat-launch-media .player-avatar.avatar-lg {
  width: min(100%, 180px);
  height: 250px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.stat-launch-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 22px 20px;
}

.stat-launch-card span {
  color: color-mix(in srgb, var(--team-secondary, #b98a2f) 70%, #ffffff);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-launch-card strong {
  color: #ffffff;
  font-size: 42px;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.stat-launch-card b {
  color: #ffffff;
  font-size: 21px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.stat-launch-card em {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.stat-launch-card:hover {
  border-color: rgba(185, 138, 47, 0.58);
  transform: translateY(-1px);
}

.insight-showcase {
  display: grid;
  gap: 14px;
  margin: 14px 0;
  border: 1px solid rgba(17, 42, 70, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 10%, rgba(185, 138, 47, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 250, 0.92));
  padding: 16px;
  box-shadow: var(--tight-shadow);
}

.insight-showcase.is-single .insight-grid {
  grid-template-columns: 1fr;
}

.insight-showcase.is-single .insight-card.is-featured {
  min-height: 390px;
}

.player-insight-deck {
  border-color: color-mix(in srgb, var(--team-secondary, #b98a2f) 34%, rgba(17, 42, 70, 0.16));
  background:
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--team-secondary, #b98a2f) 28%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--team-primary, #08111f) 8%, #ffffff), #f8fafc 70%);
}

.player-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.player-signal-card {
  display: grid;
  align-content: end;
  min-height: 250px;
  border-top: 6px solid var(--team-secondary, var(--gold));
  border-radius: 8px;
  background: color-mix(in srgb, var(--team-primary, var(--navy)) 94%, #000000);
  color: #ffffff;
  padding: 20px;
}

.player-signal-card > span {
  color: color-mix(in srgb, var(--team-secondary, var(--gold)) 72%, #ffffff);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-signal-card > strong {
  margin: 10px 0;
  color: #ffffff;
  font-size: 52px;
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.player-signal-card h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.05;
}

.player-signal-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}

.team-core-showcase {
  margin: 0 0 22px;
  border-top: 8px solid var(--team-secondary, var(--gold));
  background: color-mix(in srgb, var(--team-primary, var(--navy)) 95%, #000000);
  color: #ffffff;
  padding: 22px;
}

.team-core-showcase h2 {
  color: #ffffff;
  font-size: 30px;
}

.team-core-showcase .detail-link {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.team-core-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.team-core-player {
  display: grid;
  align-content: end;
  overflow: hidden;
  min-width: 0;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: color-mix(in srgb, var(--team-primary, var(--navy)) 76%, #ffffff);
  color: #ffffff;
  padding: 0 16px 18px;
  text-decoration: none;
}

.team-core-player .player-avatar.avatar-hero {
  justify-self: center;
  width: min(100%, 230px);
  height: 260px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.team-core-player > span {
  color: color-mix(in srgb, var(--team-secondary, var(--gold)) 72%, #ffffff);
  font-size: 12px;
  font-weight: 900;
}

.team-core-player > strong {
  margin-top: 4px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.team-core-player > em {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.team-legacy-preview,
.team-leadership-hero,
.facility-legacy {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--team-primary, var(--navy)) 28%, #ffffff);
  border-left: 7px solid var(--team-secondary, var(--gold));
  background:
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--team-secondary, var(--gold)) 24%, transparent), transparent 34%),
    color-mix(in srgb, var(--team-primary, var(--navy)) 94%, #000000);
  color: #ffffff;
}

.team-legacy-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 22px;
  padding: 24px 28px;
}

.team-legacy-preview h2,
.team-leadership-hero h2,
.facility-legacy h2 { margin: 4px 0 8px; color: #ffffff; }
.team-legacy-preview p,
.team-leadership-hero p,
.facility-legacy p { max-width: 760px; color: rgba(255,255,255,.7); font-weight: 700; line-height: 1.45; }
.team-legacy-preview .detail-link { flex: 0 0 auto; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.1); color: #fff; }

.team-leadership-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-bottom: 18px;
  padding: 34px;
}

.legacy-command {
  display: grid;
  min-width: 170px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
  padding: 14px 18px;
}

.legacy-command span { color: rgba(255,255,255,.58); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.legacy-command strong { color: #fff; font-size: 24px; }

.captain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.captain-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  min-height: 124px;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
}

.captain-portrait { position: relative; align-self: stretch; min-height: 124px; background: color-mix(in srgb, var(--team-primary, var(--navy)) 88%, #ffffff); }
.captain-portrait .player-avatar { width: 100%; height: 100%; border: 0; border-radius: 0; background: transparent; }
.captain-portrait > span { position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #fff; border-radius: 50%; background: var(--team-secondary, var(--gold)); color: #08111f; font-size: 15px; font-weight: 1000; }
.captain-card > div:last-child { min-width: 0; padding: 14px; }
.captain-card small { display: block; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.captain-card strong { display: block; margin: 5px 0; color: var(--ink); font-size: 20px; line-height: 1.05; overflow-wrap: anywhere; }
.captain-card p { color: var(--muted); font-size: 12px; font-weight: 800; }

.retired-number-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-top: 18px; }
.retired-number-card { display: grid; grid-template-columns: 80px minmax(0,1fr); align-items: center; min-height: 92px; overflow: hidden; border: 1px solid var(--subtle); border-radius: 8px; background: #fff; }
.retired-number-card > strong { display: grid; place-items: center; align-self: stretch; background: var(--navy); color: var(--gold); font-size: 29px; }
.retired-number-card > div { min-width: 0; padding: 12px 14px; }
.retired-number-card span { color: var(--ink); font-size: 17px; font-weight: 950; }
.retired-number-card p { margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 800; }

.legacy-season-list { display: grid; gap: 8px; margin-top: 16px; }
.legacy-season-list article { display: grid; grid-template-columns: 130px 90px minmax(0,1fr); align-items: center; gap: 12px; border-bottom: 1px solid var(--subtle); padding: 12px 4px; }
.legacy-season-list article:last-child { border-bottom: 0; }
.legacy-season-list strong { color: var(--ink); }
.legacy-season-list span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-weight: 900; }
.legacy-season-list .team-mark { width: 28px; height: 28px; }
.legacy-season-list p { color: var(--muted); font-size: 13px; font-weight: 750; }

.team-captain-badge { display: grid; grid-template-columns: 34px auto minmax(0,1fr); align-items: center; gap: 8px; margin-top: 12px; border: 1px solid var(--subtle); border-radius: 7px; background: color-mix(in srgb, var(--team-primary, var(--navy)) 8%, #fff); padding: 8px 10px; }
.team-captain-badge > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--team-primary, var(--navy)); color: var(--team-secondary, var(--gold)); font-weight: 1000; }
.team-captain-badge strong { color: var(--ink); font-size: 12px; }
.team-captain-badge em { min-width: 0; overflow: hidden; color: var(--muted); font-size: 10px; font-style: normal; font-weight: 800; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.team-captain-badge.is-open { opacity: .72; }

.facility-legacy { margin: 0 0 20px; padding: 30px; }
.facility-legacy .section-head { align-items: end; }
.facility-legacy .captain-grid,
.facility-legacy .retired-number-grid { position: relative; z-index: 1; }

.insight-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.86fr 0.86fr;
  gap: 12px;
}

.insight-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(17, 42, 70, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--team-primary, #10243f) 94%, #000000), #14263f),
    var(--team-primary, var(--navy));
  color: #ffffff;
  padding: 14px;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(17, 42, 70, 0.20);
}

.insight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 14%, color-mix(in srgb, var(--team-secondary, #b98a2f) 42%, transparent), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 54px 100%;
  opacity: 0.72;
}

.insight-card > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.insight-card.is-featured {
  grid-template-columns: minmax(250px, 0.76fr) minmax(0, 1fr);
  grid-template-rows: 1fr;
}

.insight-media {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 146px;
}

.insight-card.is-featured .insight-media {
  min-height: 260px;
}

.insight-media .player-avatar {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(216, 224, 235, 0.94)),
    color-mix(in srgb, var(--team-secondary, #b98a2f) 20%, #eef3fa);
}

.insight-media .player-avatar.avatar-hero {
  width: clamp(190px, 18vw, 270px);
  max-width: 100%;
  height: clamp(220px, 21vw, 310px);
}

.insight-media > span {
  margin-top: -12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(3, 9, 17, 0.54);
  color: rgba(255, 255, 255, 0.84);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.insight-copy {
  display: grid;
  align-content: end;
  gap: 10px;
}

.insight-copy .eyebrow {
  color: color-mix(in srgb, var(--team-secondary, #b98a2f) 64%, #ffffff);
}

.insight-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 3.4vw, 52px);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.insight-card:not(.is-featured) .insight-copy h3 {
  font-size: clamp(22px, 2vw, 30px);
}

.insight-copy p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.insight-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.insight-meta strong {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: color-mix(in srgb, var(--team-primary, var(--navy)) 82%, #000000);
  padding: 8px 10px;
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}

.insight-meta em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.stat-prompt-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-share-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(17, 42, 70, 0.1);
  padding-top: 10px;
}

.stat-share-row span {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-share-btn {
  background: var(--navy);
  color: #ffffff;
}

.stat-chip {
  min-height: 32px;
  border: 1px solid rgba(17, 42, 70, 0.16);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--navy);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.stat-chip.is-active {
  border-color: rgba(185, 138, 47, 0.55);
  background: rgba(185, 138, 47, 0.14);
  color: #7c5815;
}

.stat-answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 64px 100%,
    linear-gradient(135deg, #08111f, #15243a 58%, #243b56);
  box-shadow: var(--shadow);
  color: #ffffff;
  padding: 18px;
}

.stat-answer h3 {
  margin: 3px 0 6px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.stat-answer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.stat-answer-value {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 170px;
}

.stat-answer-value .team-mark,
.stat-answer-value .player-avatar {
  margin-bottom: 2px;
}

.stat-answer-value .player-avatar {
  width: 92px;
  height: 92px;
}

.stat-answer-value strong {
  color: #ffffff;
  font-size: 44px;
  line-height: 1;
}

.stat-answer-value span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.stat-podium-card {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(207, 215, 227, 0.95);
  border-top: 3px solid rgba(17, 42, 70, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  padding: 12px;
  box-shadow: var(--tight-shadow);
}

.stat-podium-card.is-leader {
  border-color: rgba(185, 138, 47, 0.48);
  border-top-color: var(--gold);
  background: linear-gradient(135deg, rgba(185, 138, 47, 0.12), #ffffff 58%);
}

.stat-podium-card .player-avatar {
  width: 70px;
  height: 70px;
}

.stat-podium-card > div {
  min-width: 0;
}

.stat-podium-card strong {
  display: block;
  overflow: hidden;
  color: var(--navy);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-podium-card p {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-podium-card b {
  grid-column: 1 / -1;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.stat-rank {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.stat-controls,
.stat-explorer {
  position: sticky;
  top: 63px;
  z-index: 6;
  border: 1px solid rgba(17, 42, 70, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  padding: 12px;
  backdrop-filter: blur(12px);
  box-shadow: var(--tight-shadow);
}

.stat-explorer {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(220px, 1fr) minmax(150px, 0.55fr) minmax(220px, 1fr);
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}

.stat-explorer label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.stat-explorer label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-explorer .wide-field {
  min-width: 0;
}

.stat-story {
  margin-bottom: 14px;
}

.stat-source-note {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.stat-leader {
  display: grid;
  gap: 4px;
}

.stat-leader .team-mark,
.stat-leader .player-avatar {
  margin-bottom: 4px;
}

.stat-leader strong {
  font-size: 22px;
}

.stat-leader span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.stat-leader b {
  color: var(--navy);
  font-size: 42px;
  line-height: 1;
}

.stat-history-line {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--subtle);
  padding-top: 8px;
}

.stat-history-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.stat-history-line span {
  color: var(--gold);
  font-weight: 900;
}

.stat-history-line strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-history-line em {
  color: var(--navy);
  font-style: normal;
  font-weight: 900;
}

.stat-table table {
  min-width: 860px;
}

.milestone-grid {
  align-items: start;
}

.milestone-line {
  display: grid;
  grid-template-columns: 30px 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--subtle);
  padding-top: 9px;
}

.milestone-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.milestone-line.is-hit {
  border-color: rgba(23, 119, 90, 0.25);
  border-radius: 8px;
  background: rgba(23, 119, 90, 0.06);
  padding: 9px;
}

.milestone-player {
  min-width: 0;
}

.milestone-player strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.milestone-line b {
  color: var(--navy);
  font-size: 16px;
  text-align: right;
  white-space: nowrap;
}

.game-milestone-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}

.trade-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
}

.trade-proposal-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  border-left: 7px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(135deg, #08111f, #172a43);
  color: #fff;
  padding: 24px 28px;
}

.trade-proposal-intro h2 { margin: 4px 0 7px; color: #fff; font-size: 30px; }
.trade-proposal-intro p { max-width: 750px; color: rgba(255,255,255,.68); font-weight: 750; }
.trade-entry-actions { display: grid; flex: 0 0 220px; gap: 8px; }
.trade-entry-actions .control-btn { width: 100%; text-align: center; }
.trade-entry-actions > span { color: rgba(255,255,255,.62); font-size: 11px; font-weight: 800; text-align: center; }
.trade-entry-actions strong { color: var(--gold); }

.trade-sides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trade-score {
  display: grid;
  gap: 12px;
  align-content: start;
}

.meter {
  overflow: hidden;
  height: 16px;
  border-radius: 8px;
  background: var(--subtle);
}

.meter-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
}

.pick-strip,
.machine-actions,
.pick-buttons,
.trade-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pick-strip {
  display: grid;
}

.pick-window {
  display: grid;
  grid-template-columns: 70px repeat(7, minmax(48px, auto));
  gap: 6px;
  align-items: center;
}

.pick-window span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.machine-game.view-only {
  grid-template-columns: minmax(0, 1fr) auto;
}

.trade-actions .control-btn {
  flex: 1 1 auto;
}

.pick-chip,
.pick-btn {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  padding: 0 10px;
  font-weight: 900;
}

.pick-chip:disabled,
.pick-btn:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.pick-btn.is-picked {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.pick-btn.is-clear {
  color: var(--muted);
  font-weight: 800;
}

.summary-box {
  width: 100%;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px;
  resize: vertical;
  font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.machine-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
  align-items: start;
}

.locked-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.status-lock-group {
  min-width: 0;
  border: 1px solid rgba(17, 42, 70, 0.12);
  border-radius: 10px;
  background: linear-gradient(145deg, #ffffff, #f4f8fc);
  padding: 12px;
}

.status-lock-group h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 14px;
}

.lock-team {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.lock-team strong,
.lock-team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lock-team span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.scenario-stack {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.scenario-panel {
  background:
    linear-gradient(90deg, rgba(17, 42, 70, 0.035) 1px, transparent 1px) 0 0 / 54px 100%,
    #fff;
}

.scenario-grid,
.clip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.team-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.team-gallery-card {
  display: grid;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line, #d7dfeb);
  border-radius: 16px;
  background: #fff;
}

.team-gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #091322;
}

.team-gallery-card div { display: grid; gap: 5px; padding: 13px 14px 15px; }
.team-gallery-card strong { font-size: .96rem; line-height: 1.25; }
.team-gallery-card span { color: var(--muted, #667085); font-size: .76rem; font-weight: 700; }

.scenario-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.36fr) minmax(0, 0.64fr);
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(17, 42, 70, 0.13);
  border-left: 5px solid var(--blue);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 248, 0.92));
  padding: 12px;
  box-shadow: var(--tight-shadow);
}

.scenario-one_seed {
  border-left-color: var(--gold);
}

.scenario-division,
.scenario-playoff {
  border-left-color: var(--green);
}

.scenario-elimination {
  border-left-color: var(--red);
}

.scenario-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.scenario-team strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}

.scenario-team span,
.scenario-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.scenario-label {
  margin: 0 0 6px;
  text-transform: uppercase;
}

.scenario-needed {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scenario-card ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.scenario-card li {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.scenario-inline {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.scenario-inline h3 {
  margin: 0;
  color: var(--navy);
}

.team-playoff-identity {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(17, 42, 70, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(17, 42, 70, 0.08), rgba(255, 255, 255, 0.95));
  padding: 14px;
}

.team-playoff-identity h3 {
  margin: 2px 0 3px;
  color: var(--navy);
  font-size: 28px;
}

.team-playoff-identity p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.machine-games {
  display: grid;
  gap: 10px;
  max-height: 980px;
  overflow: auto;
  padding-right: 4px;
}

.machine-game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: 12px;
}

.clip-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(17, 42, 70, 0.13);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(8, 17, 31, 0.04), rgba(255, 255, 255, 0.98));
  color: var(--ink);
  padding: 12px;
  text-decoration: none;
  box-shadow: var(--tight-shadow);
}

.clip-card.is-playable {
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr);
}

.clip-thumb.is-video {
  overflow: hidden;
  min-height: 116px;
  background: #020812;
  border-radius: 8px;
}

.clip-thumb.is-video video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 116px;
  max-height: 190px;
  object-fit: contain;
  background: #000;
}

.clip-card strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
}

.clip-card p,
.clip-card span,
.clip-card em {
  display: block;
  overflow: hidden;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clip-card em {
  color: var(--gold);
  font-style: normal;
  text-transform: uppercase;
}

.clip-thumb {
  display: grid;
  place-items: center;
}

.highlight-panel {
  display: grid;
  gap: 12px;
}

.highlight-feature {
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 0.64fr);
  gap: 16px;
  align-items: stretch;
  min-width: 0;
  border: 1px solid rgba(17, 42, 70, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(8, 17, 31, 0.96), rgba(17, 42, 70, 0.88));
  color: #ffffff;
  overflow: hidden;
  text-decoration: none;
}

.highlight-media {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(185, 138, 47, 0.24), rgba(255, 255, 255, 0.05));
}

.highlight-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 420px;
  object-fit: contain;
  background: #000;
}

.highlight-media span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight-feature > div:last-child {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: clamp(20px, 3vw, 38px);
}

.highlight-feature h3 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.highlight-feature p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.highlight-context {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.highlight-context span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.highlight-featured-players {
  display: grid;
  gap: 3px;
  margin: 7px 0 0;
  line-height: 1.45;
}

.highlight-featured-players small {
  color: #efc45e;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.highlight-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.highlight-nav button,
.highlight-queue-item {
  border: 1px solid rgba(17, 42, 70, 0.14);
  background: #ffffff;
  color: var(--navy);
  font: inherit;
}

.highlight-nav button {
  min-height: 40px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.highlight-nav button:last-child { justify-self: stretch; }
.highlight-nav button:disabled { cursor: default; opacity: 0.38; }
.highlight-nav > span { color: var(--muted); font-size: 11px; font-weight: 950; }

.highlight-queue {
  display: grid;
  gap: 7px;
}

.highlight-queue-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  width: 100%;
  min-width: 0;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
}

.highlight-queue-item > b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #0b1c32;
  color: #ffffff;
  font-size: 13px;
}

.highlight-queue-item > span { display: grid; gap: 3px; min-width: 0; }
.highlight-queue-item strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.highlight-queue-item small { overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.highlight-queue-item em { color: var(--muted); font-size: 9px; font-style: normal; font-weight: 950; letter-spacing: 0.08em; text-transform: uppercase; }
.highlight-queue-item.is-active { border-color: rgba(190, 35, 52, 0.42); background: linear-gradient(135deg, rgba(190, 35, 52, 0.08), #ffffff); box-shadow: inset 4px 0 0 var(--red); }
.highlight-queue-item.is-active > b { background: var(--red); }
.highlight-queue-item.is-active em { color: var(--red); }

.season-high-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.season-high-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(17, 42, 70, 0.13);
  border-radius: 10px;
  background: linear-gradient(145deg, #ffffff, #f4f8fc);
  color: var(--ink);
  padding: 10px;
  text-decoration: none;
}

.season-high-card div,
.season-high-card p {
  min-width: 0;
}

.season-high-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.season-high-card strong {
  display: block;
  overflow: hidden;
  color: var(--navy);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-high-card p {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-high-card b {
  color: var(--navy);
  font-size: 18px;
  white-space: nowrap;
}

.timeline-line {
  display: grid;
  grid-template-columns: minmax(90px, 0.3fr) minmax(110px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--subtle);
  color: var(--ink);
  padding-top: 9px;
  text-decoration: none;
}

.timeline-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-line span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-line strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
}

.timeline-line em {
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.owner-ledger-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(17, 42, 70, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--team-secondary, #b98a2f) 10%, #ffffff), rgba(240, 246, 252, 0.96));
  padding: 14px;
  box-shadow: var(--tight-shadow);
}

.owner-ledger-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.owner-ledger-head div {
  min-width: 0;
}

.owner-ledger-head span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-ledger-head strong {
  display: block;
  overflow: hidden;
  color: var(--navy);
  font-size: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-ledger-head p {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-ledger-head .team-mark.mark-hero {
  width: 128px;
  height: 104px;
}

.owner-ledger-head .team-mark.mark-hero img {
  width: 88px;
  height: 88px;
}

.owner-split-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.owner-split {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(17, 42, 70, 0.12);
  border-left: 4px solid var(--team-primary, var(--navy));
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 9px;
}

.owner-split span,
.owner-h2h-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.owner-split strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
}

.owner-split em {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-h2h-list {
  display: grid;
  gap: 8px;
}

.owner-h2h-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--subtle);
  padding-top: 8px;
  color: var(--ink);
  text-decoration: none;
}

.owner-h2h-line div {
  min-width: 0;
}

.owner-h2h-line strong,
.owner-h2h-line span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-h2h-line strong {
  color: var(--navy);
  font-size: 13px;
}

.owner-h2h-line span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.owner-h2h-line b {
  color: var(--navy);
  font-size: 16px;
}

.scoring-length-panel {
  border-top: 4px solid var(--gold);
}

.scoring-strip {
  display: grid;
  gap: 10px;
}

.scoring-play {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(17, 42, 70, 0.13);
  border-radius: 10px;
  background: #f8fafc;
  color: var(--ink);
  padding: 11px 12px;
  text-decoration: none;
}

.scoring-play::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--score-width);
  background:
    linear-gradient(90deg, rgba(185, 138, 47, 0.30), rgba(17, 42, 70, 0.09));
}

.scoring-play > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.scoring-play span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scoring-play strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scoring-play em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.error {
  border-color: rgba(201, 34, 50, 0.35);
  background: rgba(201, 34, 50, 0.06);
}

.score-ribbon {
  position: sticky;
  top: 63px;
  z-index: 9;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 82px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a1423;
  color: #fff;
  box-shadow: 0 9px 24px rgba(8, 17, 31, 0.2);
}

.score-ribbon.is-empty,
.league-ticker.is-empty {
  display: none;
}

.score-ribbon-label {
  display: grid;
  align-content: center;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: #c92232;
}

.score-ribbon-label span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.score-ribbon-label strong {
  font-size: 17px;
}

.score-ribbon-track {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.score-ribbon-track::-webkit-scrollbar {
  display: none;
}

.score-bug {
  flex: 0 0 138px;
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
}

.score-bug:hover {
  background: rgba(255, 255, 255, 0.07);
}

.score-state {
  color: #d7b256;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.score-team {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 5px;
  align-items: center;
  font-size: 12px;
}

.score-team .team-mark {
  width: 22px;
  height: 20px;
  border: 0;
  background: transparent;
}

.score-team .team-mark img {
  width: 20px;
  height: 20px;
}

.score-team b {
  font-size: 15px;
}

body {
  padding-bottom: 46px;
}

.league-ticker {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  height: 46px;
  border-top: 2px solid #c92232;
  background: #07101d;
  color: #fff;
  box-shadow: 0 -8px 24px rgba(8, 17, 31, 0.22);
  overflow: hidden;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  background: #c92232;
}

.ticker-label img {
  width: 31px;
  height: 26px;
  object-fit: contain;
}

.ticker-label strong {
  font-size: 15px;
}

.ticker-label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 900;
}

.ticker-window {
  min-width: 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  height: 100%;
  animation: ticker-scroll 72s linear infinite;
}

.ticker-window:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: max-content;
  padding: 0 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 12px;
}

.ticker-item span,
.ticker-item em {
  color: rgba(255, 255, 255, 0.63);
  font-style: normal;
}

.ticker-item em {
  color: #d7b256;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker-item .team-mark {
  width: 24px;
  height: 22px;
  border: 0;
  background: transparent;
}

.ticker-item .team-mark img {
  width: 22px;
  height: 22px;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.honors-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: end;
  min-height: 240px;
  margin-bottom: 18px;
  overflow: hidden;
  border-left: 8px solid var(--team-secondary);
  background:
    linear-gradient(105deg, color-mix(in srgb, var(--team-primary) 82%, #07101d), #07101d 68%);
  color: #fff;
  padding: 34px;
}

.honors-hero::after {
  content: "";
  position: absolute;
  top: -45%;
  right: 8%;
  width: 330px;
  height: 330px;
  border: 64px solid color-mix(in srgb, var(--team-secondary) 15%, transparent);
  border-radius: 50%;
}

.honors-hero > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.honors-hero h2 {
  margin: 0 0 10px;
  font-size: 52px;
  line-height: 0.98;
}

.honors-hero p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.honors-season-control {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.honors-season-control .select {
  min-width: 0;
  max-width: 100%;
}

.honors-season-control span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.championship-band {
  display: grid;
  grid-template-columns: 118px auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 132px;
  margin-bottom: 28px;
  border-left: 8px solid var(--team-secondary);
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--team-primary) 88%, #07101d), #07101d 78%);
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
}

.championship-band span {
  color: #d7b256;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.championship-band strong {
  font-size: 48px;
}

.championship-band p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.honors-section {
  margin: 30px 0 46px;
}

.player-accolades {
  display: grid;
  grid-template-columns: minmax(210px, 0.3fr) minmax(260px, 0.3fr) minmax(0, 0.4fr);
  gap: 22px;
  align-items: center;
  margin: 24px 0;
  border-left: 8px solid var(--team-secondary);
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--team-primary) 86%, #07101d), #07101d 76%);
  color: #fff;
  padding: 24px 28px;
}

.player-accolades h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 38px;
}

.player-accolades-title p {
  color: rgba(255, 255, 255, 0.67);
  font-weight: 800;
}

.player-accolade-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.player-accolade-counts .metric {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.player-accolade-counts .metric span,
.player-accolade-counts .metric strong {
  color: #fff;
}

.player-accolade-list {
  display: grid;
  gap: 5px;
  max-height: 168px;
  overflow: auto;
}

.player-accolade-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-left: 3px solid #d7b256;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 8px 10px;
  text-decoration: none;
}

.player-accolade-row span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-accolade-row strong {
  font-size: 13px;
}

.player-accolade-empty {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 700;
}

.honors-major-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.honors-position-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.honor-winner {
  position: relative;
  display: grid;
  grid-template-rows: 230px auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 42, 70, 0.14);
  border-top: 6px solid var(--team-secondary);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--tight-shadow);
}

.honor-winner.is-featured {
  grid-column: span 2;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 0.42fr);
  grid-template-rows: 330px;
}

.honor-winner-media {
  position: relative;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--team-primary) 90%, #07101d), #07101d);
}

.honor-winner-media .player-avatar.avatar-lg {
  width: 100%;
  height: 230px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.honor-winner-media .player-avatar.avatar-hero {
  width: 100%;
  height: 330px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.honor-winner-media .player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.team-mark.mark-watermark {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 110px;
  height: 90px;
  border: 0;
  background: transparent;
  opacity: 0.2;
}

.team-mark.mark-watermark img {
  width: 100px;
  height: 80px;
}

.honor-winner-copy {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
  padding: 18px;
}

.honor-winner-copy span,
.allpro-player-card span {
  color: var(--team-primary);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.honor-winner-copy strong {
  font-size: 25px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.honor-winner.is-featured .honor-winner-copy strong {
  font-size: 38px;
}

.honor-winner-copy p,
.allpro-player-card p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.honor-winner-copy em,
.allpro-player-card em {
  color: var(--gold);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.allpro-player-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.allpro-player-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 122px;
  overflow: hidden;
  border: 1px solid rgba(17, 42, 70, 0.14);
  border-left: 5px solid var(--team-secondary);
  background: #fff;
  color: var(--ink);
  padding: 8px 12px 8px 0;
  text-decoration: none;
}

.allpro-player-media {
  position: relative;
  width: 108px;
  height: 106px;
  overflow: hidden;
  background: color-mix(in srgb, var(--team-primary) 16%, #eef3f8);
}

.allpro-player-media .player-avatar.avatar-lg {
  width: 108px;
  height: 106px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.allpro-player-media .player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.allpro-player-media .team-mark.mark-xl {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 34px;
  height: 30px;
  border: 0;
  background: transparent;
}

.allpro-player-media .team-mark.mark-xl img {
  width: 30px;
  height: 28px;
}

.allpro-player-card strong {
  display: block;
  margin: 4px 0;
  font-size: 18px;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

@media (max-width: 1050px) {
  .app-header {
    grid-template-columns: 1fr auto;
  }

  .nav-tabs {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .grid.cols-4,
  .grid.cols-3,
  .player-index-grid,
  .owner-ledger-grid,
  .metric-row,
  .stat-hero,
  .milestone-hero,
  .detail-hero,
  .trade-layout,
  .pulse-hero,
  .machine-hero,
  .overview-grid,
  .machine-layout,
  .locked-board,
  .scenario-grid,
  .clip-grid,
  .overview-showcase,
  .season-high-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .player-signal-grid,
  .team-core-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-card,
  .insight-card.is-featured {
    grid-template-columns: minmax(160px, 0.54fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
  }
}

@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  main {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 20px 14px 44px;
  }

  main,
  .view,
  .status-band,
  .stat-hero,
  .stat-ask,
  .stat-answer,
  .stat-mode-row,
  .stat-controls,
  .stat-explorer,
  .detail-hero,
  .panel,
  .table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  #stats .stat-hero,
  #stats .stat-ask,
  #stats .stat-answer,
  #stats .stat-mode-row,
  #stats .stat-controls,
  #stats .stat-explorer,
  #stats .stat-story,
  #stats .stat-podium,
  #stats .table-wrap,
  #stats .insight-showcase,
  #stats .insight-grid {
    width: 100%;
    max-width: 100%;
  }

  .stat-hero,
  .milestone-hero,
  .detail-hero,
  .stat-ask,
  .stat-answer,
  .panel {
    overflow: hidden;
  }

  .app-header {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 12px 14px;
  }

  .app-header,
  .status-band,
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .metric-row,
  .stat-hero,
  .milestone-hero,
  .trade-layout,
  .trade-sides,
  .pulse-hero,
    .machine-hero,
    .overview-grid,
    .conference-grid,
    .machine-layout,
    .overview-showcase,
    .showcase-strip,
    .player-index-grid,
    .owner-ledger-grid,
    .season-high-grid,
    .apply-layout,
    .apply-form,
    .apply-team-grid,
    .locked-board,
    .scenario-grid,
    .clip-grid,
    .scenario-card,
    .highlight-feature,
    .machine-game,
    .game-milestone-panel,
    .insight-grid,
    .insight-card,
    .insight-card.is-featured,
    .stat-explorer,
    .detail-hero,
    .stat-ask,
  .stat-answer {
    grid-template-columns: 1fr;
  }

  .stat-launch-grid,
  .owner-split-grid,
  .scoring-play {
    grid-template-columns: 1fr;
  }

  .stat-launch-card {
    grid-template-columns: 44% 56%;
    min-height: 242px;
  }

  .stat-launch-media .player-avatar.avatar-lg {
    width: 100%;
    height: 242px;
  }

  .stat-launch-copy {
    gap: 7px;
    padding: 16px 14px;
  }

  .stat-launch-card strong {
    font-size: clamp(32px, 10vw, 40px);
  }

  .stat-launch-card b {
    font-size: 20px;
  }

  .insight-showcase {
    padding: 12px;
  }

  .insight-card {
    min-height: 0;
    padding: 12px;
  }

  .insight-card.is-featured .insight-media,
  .insight-media {
    min-height: 0;
  }

  .insight-media .player-avatar.avatar-hero {
    width: min(100%, 240px);
    height: 280px;
  }

  .insight-card:not(.is-featured) .insight-media .player-avatar {
    width: 138px;
    height: 138px;
  }

  .insight-copy h3,
  .insight-card:not(.is-featured) .insight-copy h3 {
    font-size: 30px;
  }

  .insight-copy p {
    font-size: 14px;
  }

  .insight-meta {
    grid-template-columns: 1fr;
  }

  .insight-meta strong {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }

  .detail-visual {
    justify-items: start;
  }

  .section-head {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .section-head .pill,
  .section-head .detail-link {
    justify-self: start;
    width: auto;
  }

  .nav-tabs {
    width: 100%;
    max-width: 100%;
  }

  .nav-tab {
    flex: 0 0 auto;
  }

  .status-meta {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .status-meta .pill {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    display: inline-flex;
    gap: 8px;
    justify-content: flex-start;
    padding: 0 8px;
  }

  .status-meta .pill strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    white-space: nowrap;
  }

  .pulse-hero,
  .machine-hero {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .team-playoff-identity {
    align-items: flex-start;
  }

  .showcase-main {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .showcase-main .team-mark.mark-xxl,
  .highlight-media .team-mark.mark-xxl,
  .owner-ledger-head .team-mark.mark-xxl {
    width: 82px;
    height: 68px;
  }

  .showcase-main .team-mark.mark-xxl img,
  .highlight-media .team-mark.mark-xxl img,
  .owner-ledger-head .team-mark.mark-xxl img {
    width: 62px;
    height: 62px;
  }

  .highlight-feature > div:last-child {
    padding: 16px;
  }

  .highlight-queue-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .highlight-queue-item > em { display: none; }

  .highlight-media {
    min-height: 150px;
  }

  .highlight-feature h3,
  .showcase-main h2 {
    font-size: 26px;
  }

  .team-playoff-identity .team-mark.mark-xxl {
    width: 82px;
    height: 68px;
  }

  .team-playoff-identity .team-mark.mark-xxl img {
    width: 62px;
    height: 62px;
  }

  .pulse-hero h2,
  .machine-hero h2,
  .pulse-hero p,
  .machine-hero p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .pulse-hero p,
  .machine-hero p {
    max-width: 26ch;
  }

  h1,
  .pulse-hero h2,
  .machine-hero h2,
  .stat-hero h2 {
    font-size: 32px;
  }

  .detail-hero h2 {
    max-width: 100%;
    font-size: 48px;
  }

  .team-mark.mark-hero {
    width: 132px;
    height: 106px;
  }

  .team-mark.mark-hero img {
    width: 92px;
    height: 92px;
  }

  .player-avatar.avatar-hero {
    width: min(100%, 240px);
    height: 270px;
  }

  .owner-ledger-head {
    grid-template-columns: 1fr;
  }

  .owner-ledger-head .team-mark.mark-hero {
    width: 116px;
    height: 92px;
  }

  .detail-stat-line {
    grid-template-columns: minmax(64px, 0.65fr) minmax(0, 1fr);
  }

  .timeline-line {
    grid-template-columns: 1fr;
  }

  .timeline-line em {
    white-space: normal;
  }

  .detail-stat-line em {
    grid-column: 2;
    text-align: left;
  }

  .pill {
    justify-content: space-between;
    max-width: 100%;
  }

  .pill strong,
  .stat-hero .muted,
  .milestone-hero .muted,
  .detail-hero .muted {
    overflow-wrap: anywhere;
  }

  .stat-hero .muted,
  .milestone-hero .muted {
    max-width: 32ch;
  }

  .controls {
    display: grid;
  }

  .metric,
  .stat-answer-copy,
  .stat-hero > *,
  .milestone-hero > *,
  .pulse-hero > *,
  .machine-hero > * {
    min-width: 0;
  }

  .metric strong {
    overflow-wrap: anywhere;
  }

  .stat-ask-input {
    min-width: 0;
    font-size: 15px;
    text-overflow: ellipsis;
  }

  .stat-mode-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-mode {
    min-width: 0;
    padding: 7px 8px;
  }

  .stat-mode strong {
    font-size: 12px;
  }

  .stat-mode span {
    font-size: 10px;
  }

  .stat-prompt-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .stat-prompt-row::-webkit-scrollbar {
    display: none;
  }

  .stat-chip {
    flex: 0 0 auto;
  }

  .stat-share-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .stat-share-row span {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .stat-answer h3 {
    font-size: 24px;
  }

  .stat-podium {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .stat-podium-card {
    min-width: 0;
  }

  .stat-answer-value {
    justify-items: start;
    min-width: 0;
  }

  .select,
  .input,
  .control-btn {
    width: 100%;
  }

  .form-check span {
    min-width: 0;
    line-height: 1.2;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .apply-team-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .apply-team-card .team-mark.mark-xxl {
    width: 82px;
    height: 68px;
  }

  .apply-team-card .team-mark.mark-xxl img {
    width: 62px;
    height: 62px;
  }

  .apply-layout,
  .apply-form,
  .apply-team-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .apply-layout > *,
  .apply-form > *,
  .apply-team-grid > * {
    max-width: 100%;
    min-width: 0;
  }

  .table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
  }
}

@media (max-width: 720px) {
  .detail-hero {
    min-height: 0;
    gap: 22px;
    padding: 24px 18px;
  }

  .detail-deck strong {
    font-size: 21px;
  }

  .team-detail-visual .team-mark.mark-hero {
    width: 100%;
    height: 240px;
  }

  .team-detail-visual .team-mark.mark-hero img {
    width: min(100%, 280px);
    height: 230px;
  }

  .player-detail-visual .player-avatar.avatar-hero {
    width: 100%;
    height: 390px;
  }

  .stat-launch-card {
    grid-template-columns: 44% 56%;
    min-height: 242px;
  }

  .stat-launch-media .player-avatar.avatar-lg {
    width: 100%;
    height: 242px;
  }

  .stat-launch-copy {
    gap: 7px;
    padding: 16px 14px;
  }

  .stat-launch-card strong {
    font-size: clamp(32px, 10vw, 40px);
  }

  .player-signal-grid {
    grid-template-columns: 1fr;
  }

  .player-signal-card {
    min-height: 220px;
  }

  .team-core-showcase {
    margin-right: -14px;
    margin-left: -14px;
    padding: 20px 14px;
  }

  .team-core-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 320px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
    scroll-snap-type: inline mandatory;
  }

  .team-core-player {
    min-height: 400px;
    scroll-snap-align: start;
  }

  .team-core-player .player-avatar.avatar-hero {
    width: min(100%, 270px);
    height: 300px;
  }

  .team-legacy-preview,
  .team-leadership-hero {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-right: -14px;
    margin-left: -14px;
    padding: 22px 18px;
  }

  .team-legacy-preview .detail-link,
  .legacy-command { width: 100%; }

  .captain-grid,
  .retired-number-grid { grid-template-columns: 1fr; }

  .legacy-season-list article { grid-template-columns: 1fr auto; }
  .legacy-season-list article p { grid-column: 1 / -1; }

  .facility-legacy { margin-right: -14px; margin-left: -14px; padding: 24px 16px; }
  .facility-legacy .section-head { align-items: stretch; }

  .team-captain-badge { grid-template-columns: 34px minmax(0,1fr); }
  .team-captain-badge em { grid-column: 2; text-align: left; }

  .apply-steps { grid-template-columns: 1fr; }
  .trade-proposal-intro { flex-direction: column; align-items: stretch; padding: 22px 18px; }
  .trade-entry-actions { flex-basis: auto; }

  .division-block .standings-secondary { display: none; }
  .standings-mobile-detail { display: block; margin-top: 5px; }
  .standings-mobile-detail summary { width: fit-content; color: var(--gold); font-size: 10px; font-weight: 900; text-transform: uppercase; cursor: pointer; }
  .standings-mobile-detail span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 800; white-space: normal; }
}

@media (max-width: 720px) {
  .app-header { position: relative; }

  .score-ribbon {
    position: sticky;
    top: 0;
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 72px;
  }

  .score-ribbon-label { padding: 0 9px; }
  .score-ribbon-label strong { font-size: 13px; }
  .score-bug { flex-basis: 126px; padding: 6px 9px; }
  .league-ticker { grid-template-columns: 82px minmax(0, 1fr); }
  .ticker-label { padding: 0 8px; }
  .ticker-label img { display: none; }

  .honors-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 250px;
    padding: 24px 20px;
  }

  .honors-hero h2 { font-size: 38px; }

  .championship-band {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .championship-band > span,
  .championship-band > strong,
  .championship-band > p { grid-column: 2; }

  .championship-band strong { font-size: 34px; }

  .honors-major-grid,
  .honors-position-grid { grid-template-columns: minmax(0, 1fr); }

  .honor-winner,
  .honor-winner.is-featured {
    grid-column: auto;
    grid-template-columns: minmax(160px, 0.48fr) minmax(0, 0.52fr);
    grid-template-rows: 250px;
  }

  .honor-winner-media .player-avatar.avatar-lg,
  .honor-winner-media .player-avatar.avatar-hero { height: 250px; }

  .honor-winner.is-featured .honor-winner-copy strong,
  .honor-winner-copy strong { font-size: 25px; }

  .allpro-player-grid { grid-template-columns: minmax(0, 1fr); }

  .allpro-player-card {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 146px;
  }

  .allpro-player-media,
  .allpro-player-media .player-avatar.avatar-lg {
    width: 132px;
    height: 130px;
  }

  .player-accolades {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 18px;
  }

  .player-accolade-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
