/* ============================================================
   Tribesmen RC — inner-page components (loads after Homepage
   Redesign.css, which holds the global nav/footer/buttons/
   placeholders/ACF layer). Low-carbon: no raster, system body
   font, CSS-only motion. Inherits tokens from colors_and_type.css.
   ============================================================ */

/* =========================================================
   MASTHEAD — image-free inner-page hero
   ========================================================= */
.masthead {
  position: relative; overflow: hidden;
  background: radial-gradient(140% 130% at 10% -20%, #141414, var(--tr-black) 62%);
  border-bottom: 1px solid var(--tr-line);
  padding-block: clamp(56px, 10vw, 116px);
}
.masthead--charcoal { background: radial-gradient(140% 130% at 10% -20%, #232323, var(--tr-charcoal) 62%); }
.masthead__ghost {
  position: absolute; right: -20px; bottom: -120px; z-index: 0;
  font-family: var(--tr-font-display); font-weight: 900;
  font-size: clamp(240px, 34vw, 520px); line-height: 0.7;
  color: #fff; opacity: 0.03; pointer-events: none; user-select: none; letter-spacing: -0.04em;
}
.crumbs {
  position: relative; z-index: 2;
  display: flex; gap: 10px; align-items: center;
  font-family: var(--tr-font-text); font-size: 13px; color: var(--tr-white-3);
  margin-bottom: 28px;
}
.crumbs a { color: var(--tr-white-2); }
.crumbs a:hover { color: var(--tr-yellow); }
.crumbs .sep { color: var(--tr-white-4); }
.masthead__inner { position: relative; z-index: 2; }
.masthead h1 {
  font-family: var(--tr-font-display); font-weight: 900;
  font-size: clamp(44px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.025em;
  margin: 14px 0 0; color: var(--tr-white); text-wrap: balance;
}
.masthead h1 .y { color: var(--tr-yellow); }
.masthead__lede {
  margin: 26px 0 0; max-width: 620px;
  font-size: var(--tr-step-body-l); line-height: 1.65; color: var(--tr-white-2);
}
.masthead__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* =========================================================
   SECTION HEAD (reuses .rule-h/.rule-top from core css)
   ========================================================= */
.lead-statement {
  font-family: var(--tr-font-display); font-weight: 700;
  font-size: clamp(24px, 2.8vw, 34px); line-height: 1.28; letter-spacing: -0.01em;
  color: var(--tr-white); margin: 0; max-width: 18ch;
}
.lead-statement em { font-style: italic; color: var(--tr-yellow); }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.two-col .body { color: var(--tr-white-2); font-size: 16px; line-height: 1.7; }
.two-col .body p { margin: 0 0 18px; } .two-col .body p:last-child { margin: 0; }
.two-col .body strong { color: var(--tr-white); font-weight: 600; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* =========================================================
   STATS
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { border-top: 3px solid var(--tr-yellow); padding-top: 18px; }
.stat .num { font-family: var(--tr-font-display); font-weight: 900; font-size: clamp(44px, 6vw, 76px); line-height: 0.9; color: var(--tr-white); letter-spacing: -0.02em; }
.stat .lab { font-family: var(--tr-font-text); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tr-white-2); margin-top: 12px; }
@media (max-width: 680px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

/* =========================================================
   CARD GRID (values / safety)
   ========================================================= */
.cards { display: grid; gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
.card {
  padding: 28px 24px 32px; background: var(--tr-charcoal-2);
  border: 1px solid var(--tr-line); border-radius: var(--tr-radius-5);
  display: flex; flex-direction: column; gap: 12px;
}
.card__ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(245,197,24,.1); stroke: var(--tr-yellow); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; box-sizing: content-box; }
.card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tr-yellow); }
.card h3 { font-family: var(--tr-font-display); font-weight: 900; font-size: 25px; margin: 0; color: var(--tr-white); letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--tr-white-2); font-size: 15px; line-height: 1.65; }
@media (max-width: 1024px) { .cards--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cards--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards--4 { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .cards--5 { grid-template-columns: 1fr; } }

/* =========================================================
   PEOPLE (coaches) — placeholder portrait + name/role
   ========================================================= */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { background: var(--tr-charcoal-2); border: 1px solid var(--tr-line); border-radius: var(--tr-radius-5); overflow: hidden; }
.person .ph { aspect-ratio: 1 / 1; }
.person .body { padding: 20px 22px 24px; }
.person .role { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--tr-yellow); }
.person h3 { font-family: var(--tr-font-display); font-weight: 700; font-size: 21px; margin: 8px 0 0; color: var(--tr-white); }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .people { grid-template-columns: 1fr; } }

/* =========================================================
   LEDGER GRID (committee) — role / name rows
   ========================================================= */
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--tr-line); border-bottom: 0; }
.ledger > div { padding: 22px 24px; border-right: 1px solid var(--tr-line); border-bottom: 1px solid var(--tr-line); display: flex; flex-direction: column; gap: 4px; }
.ledger .ph { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; margin-bottom: 14px; }
.ledger .role { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--tr-white-3); }
.ledger .name { font-family: var(--tr-font-display); font-weight: 700; font-size: 21px; color: var(--tr-white); }
@media (max-width: 760px) { .ledger { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .ledger { grid-template-columns: 1fr; } }

/* =========================================================
   CHIPS (jump links / categories)
   ========================================================= */
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chips .lbl { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--tr-white-3); margin-right: 6px; }
.chip {
  font-family: var(--tr-font-text); font-weight: 600; font-size: 13px;
  color: var(--tr-white-2); background: var(--tr-charcoal-2);
  border: 1px solid var(--tr-line); border-radius: var(--tr-radius-pill);
  padding: 8px 16px; cursor: pointer; white-space: nowrap;
  transition: all var(--tr-dur-fast) var(--tr-ease);
}
.chip:hover { border-color: var(--tr-line-2); color: var(--tr-white); }
.chip.is-on { background: var(--tr-yellow); color: #000; border-color: var(--tr-yellow); }

/* =========================================================
   SQUAD ROWS (rowing) — alternating placeholder + detail
   ========================================================= */
.squad { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--tr-line); }
.squad:nth-child(even) { background: var(--tr-charcoal); }
.squad__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.squad:nth-child(even) .squad__grid { grid-template-columns: 1fr 1.05fr; }
.squad:nth-child(even) .squad__text { order: 2; }
.squad__tag { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--tr-yellow); margin-bottom: 12px; }
.squad__text h2 { font-family: var(--tr-font-display); font-weight: 900; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; color: var(--tr-white); }
.squad__lead { margin: 16px 0 26px; font-family: var(--tr-font-display); font-weight: 700; font-size: clamp(19px, 2vw, 23px); line-height: 1.35; color: var(--tr-white); }
.squad dl { display: grid; grid-template-columns: 116px 1fr; row-gap: 12px; column-gap: 24px; margin: 0 0 30px; }
.squad dt { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--tr-white-3); padding-top: 2px; }
.squad dd { margin: 0; color: var(--tr-white-2); font-size: 15px; line-height: 1.55; }
.squad .ph { aspect-ratio: 4 / 3; border-radius: var(--tr-radius-5); }
@media (max-width: 820px) {
  .squad__grid, .squad:nth-child(even) .squad__grid { grid-template-columns: 1fr; gap: 28px; }
  .squad:nth-child(even) .squad__text { order: 0; }
  .squad .ph { order: -1; }
}

/* =========================================================
   TIMELINE (history)
   ========================================================= */
.timeline { border-top: 1px solid var(--tr-line); }
.timeline .item { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--tr-line); }
.timeline .yr { font-family: var(--tr-font-display); font-weight: 900; font-size: 30px; color: var(--tr-yellow); letter-spacing: -0.01em; }
.timeline h4 { font-family: var(--tr-font-display); font-weight: 700; font-size: 23px; margin: 0 0 8px; color: var(--tr-white); }
.timeline p { margin: 0; color: var(--tr-white-2); font-size: 15.5px; line-height: 1.65; max-width: 70ch; }
@media (max-width: 620px) { .timeline .item { grid-template-columns: 1fr; gap: 8px; } }

/* =========================================================
   NEWS — featured + grid
   ========================================================= */
.news-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border: 1px solid var(--tr-line); border-radius: var(--tr-radius-5);
  overflow: hidden; background: var(--tr-charcoal-2); margin-bottom: 56px;
  transition: transform var(--tr-dur) var(--tr-ease);
}
.news-featured:hover { transform: translateY(-4px); }
.news-featured .ph { min-height: 340px; }
.news-featured .body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--tr-font-text); font-size: 12.5px; color: var(--tr-white-3); margin-bottom: 16px; }
.news-meta .cat { color: var(--tr-yellow); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.news-featured h2 { font-family: var(--tr-font-display); font-weight: 900; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 14px; color: var(--tr-white); }
.news-featured .deck { color: var(--tr-white-2); font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
.read-more { font-family: var(--tr-font-text); font-weight: 600; font-size: 15px; color: var(--tr-yellow); display: inline-flex; gap: 8px; align-items: center; }
.read-more .arrow { transition: transform var(--tr-dur) var(--tr-ease); }
.news-featured:hover .read-more .arrow, .news-card:hover .read-more .arrow { transform: translateX(4px); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { border: 1px solid var(--tr-line); border-radius: var(--tr-radius-5); overflow: hidden; background: var(--tr-charcoal-2); display: flex; flex-direction: column; transition: transform var(--tr-dur) var(--tr-ease); }
.news-card:hover { transform: translateY(-4px); }
.news-card .ph { aspect-ratio: 16 / 10; }
.news-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 0; }
.news-card h3 { font-family: var(--tr-font-display); font-weight: 700; font-size: 21px; line-height: 1.15; margin: 0 0 10px; color: var(--tr-white); }
.news-card p { margin: 0; color: var(--tr-white-2); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 860px) { .news-featured { grid-template-columns: 1fr; } .news-featured .ph { min-height: 220px; } .news-grid { grid-template-columns: 1fr; } }

/* =========================================================
   ARTICLE (single)
   ========================================================= */
.article { max-width: 760px; margin: 0 auto; }
.article__lede { font-family: var(--tr-font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.32; color: var(--tr-white); margin: 0 0 32px; letter-spacing: -0.01em; }
.article__byline { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--tr-white-3); padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--tr-line); }
.prose { color: var(--tr-white-2); font-size: 17.5px; line-height: 1.75; }
.prose p { margin: 0 0 24px; }
.prose h2 { font-family: var(--tr-font-display); font-weight: 700; font-size: 28px; color: var(--tr-white); margin: 44px 0 16px; }
.prose h3 { font-family: var(--tr-font-display); font-weight: 700; font-size: 22px; color: var(--tr-white); margin: 36px 0 12px; }
.prose a { color: var(--tr-yellow); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--tr-white); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 22px; }
.prose li { margin-bottom: 10px; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--tr-yellow); font-family: var(--tr-font-display); font-weight: 700; font-size: 22px; line-height: 1.4; color: var(--tr-white); font-style: italic; }

/* =========================================================
   TABLE (cookie policy / bow draw)
   ========================================================= */
.tbl { width: 100%; border-collapse: collapse; border: 1px solid var(--tr-line); font-size: 14.5px; }
.tbl caption { text-align: left; color: var(--tr-white-3); font-size: 13px; margin-bottom: 12px; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--tr-line); border-right: 1px solid var(--tr-line); vertical-align: top; }
.tbl th { font-family: var(--tr-font-text); font-weight: 700; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tr-yellow); background: var(--tr-charcoal-2); }
.tbl td { color: var(--tr-white-2); }
.tbl td code, .tbl td .mono { font-family: var(--tr-font-mono); font-size: 13px; color: var(--tr-white); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* =========================================================
   CONTACT — info blocks + stylised map
   ========================================================= */
.info-blocks { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--tr-line); border-radius: var(--tr-radius-5); overflow: hidden; }
.info-block { padding: 24px 24px; border-bottom: 1px solid var(--tr-line); }
.info-block:last-child { border-bottom: 0; }
.info-block .lab { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--tr-yellow); margin-bottom: 12px; }
.info-block .body { color: var(--tr-white-2); font-size: 15px; line-height: 1.7; }
.info-block .body a { color: var(--tr-white); } .info-block .body a:hover { color: var(--tr-yellow); }
.info-block .row { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; }
.info-block .row b { color: var(--tr-white-3); font-weight: 600; }
.map {
  position: relative; min-height: 100%; border-radius: var(--tr-radius-5); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 12px, transparent 12px 24px),
    var(--tr-charcoal-2);
  border: 1px solid var(--tr-line); display: grid; place-items: center; min-height: 320px;
}
.map .river { position: absolute; left: -10%; right: -10%; top: 40%; height: 60px; background: linear-gradient(90deg, transparent, rgba(245,197,24,0.10), transparent); transform: rotate(-8deg); }
.map .pin { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.map .pin .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--tr-yellow); box-shadow: 0 0 0 6px rgba(245,197,24,0.18); }
.map .pin .label { font-family: var(--tr-font-display); font-weight: 700; font-size: 16px; color: var(--tr-white); text-align: center; }
.map .pin .label em { display: block; font-style: italic; font-size: 13px; color: var(--tr-white-2); }
.map .legend { position: absolute; left: 16px; bottom: 14px; font-family: var(--tr-font-mono); font-size: 11px; color: var(--tr-white-3); letter-spacing: 0.04em; }

/* =========================================================
   FORMS — GDPR-compliant
   ========================================================= */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; max-width: 760px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field .lab { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tr-white-2); }
.field .lab .req { color: var(--tr-yellow); }
.field .hint { font-size: 13px; color: var(--tr-white-3); line-height: 1.5; }
.field input, .field select, .field textarea {
  font-family: var(--tr-font-text); font-size: 15px; color: var(--tr-white);
  background: var(--tr-charcoal-2); border: 1px solid var(--tr-line-2);
  border-radius: var(--tr-radius-3); padding: 13px 15px; width: 100%;
  transition: border-color var(--tr-dur-fast) var(--tr-ease), background var(--tr-dur-fast) var(--tr-ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--tr-white-4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tr-yellow); background: var(--tr-charcoal-3); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%23F5C518' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }

/* Consent block — GDPR explicit, unticked by default */
fieldset.consent { grid-column: 1 / -1; border: 1px solid var(--tr-line); border-radius: var(--tr-radius-4); padding: 22px 24px; margin: 4px 0 0; background: var(--tr-charcoal-2); }
fieldset.consent legend { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tr-yellow); padding: 0 8px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 8px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--tr-yellow); cursor: pointer; }
.check span { font-size: 14px; line-height: 1.55; color: var(--tr-white-2); }
.check span b { color: var(--tr-white); font-weight: 600; }
.check a { color: var(--tr-yellow); text-decoration: underline; text-underline-offset: 2px; }
.form .actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 14px; align-items: center; }
.form .privacy-note { grid-column: 1 / -1; font-size: 13px; color: var(--tr-white-3); line-height: 1.6; }
.form .privacy-note a { color: var(--tr-yellow); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* Form success panel */
.form-success { border: 1px solid var(--tr-yellow); padding: 40px; background: var(--tr-charcoal-2); border-radius: var(--tr-radius-5); max-width: 760px; }
.form-success .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tr-yellow); margin-bottom: 12px; }
.form-success h3 { font-family: var(--tr-font-display); font-weight: 900; font-size: 34px; margin: 0 0 12px; color: var(--tr-white); letter-spacing: -0.01em; }
.form-success p { margin: 0 0 20px; color: var(--tr-white-2); font-size: 16px; line-height: 1.6; }
.form-success a { color: var(--tr-yellow); }

/* =========================================================
   POLICY (privacy / cookies) — sticky TOC + prose
   ========================================================= */
.policy { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.policy__toc { position: sticky; top: 96px; }
.policy__toc h4 { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--tr-yellow); margin: 0 0 16px; }
.policy__toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.policy__toc a { font-size: 14px; color: var(--tr-white-2); line-height: 1.4; } .policy__toc a:hover { color: var(--tr-white); }
.policy__body { max-width: 760px; }
.policy__updated { font-size: 13px; color: var(--tr-white-3); margin: 0 0 36px; padding-bottom: 20px; border-bottom: 1px solid var(--tr-line); }
.policy__body section { margin-bottom: 44px; scroll-margin-top: 96px; }
.policy__body h2 { font-family: var(--tr-font-display); font-weight: 700; font-size: 26px; color: var(--tr-white); margin: 0 0 16px; }
.policy__body h3 { font-family: var(--tr-font-text); font-weight: 700; font-size: 16px; color: var(--tr-white); margin: 24px 0 8px; letter-spacing: 0.01em; }
.policy__body p, .policy__body li { color: var(--tr-white-2); font-size: 16px; line-height: 1.72; }
.policy__body p { margin: 0 0 16px; }
.policy__body ul { margin: 0 0 16px; padding-left: 20px; } .policy__body li { margin-bottom: 8px; }
.policy__body a { color: var(--tr-yellow); text-decoration: underline; text-underline-offset: 2px; }
.policy__body strong { color: var(--tr-white); font-weight: 600; }
.callout { border: 1px solid var(--tr-line-2); border-left: 3px solid var(--tr-yellow); border-radius: var(--tr-radius-3); padding: 18px 22px; background: var(--tr-charcoal-2); margin: 0 0 16px; }
.callout p { margin: 0; font-size: 15px; }
@media (max-width: 820px) { .policy { grid-template-columns: 1fr; } .policy__toc { position: static; } }

/* =========================================================
   COOKIE CONSENT — banner + preferences modal (injected by site.js)
   ========================================================= */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 560px; background: var(--tr-charcoal); color: var(--tr-white);
  border: 1px solid var(--tr-yellow); border-radius: var(--tr-radius-4);
  box-shadow: var(--tr-shadow-pop); padding: 24px 26px;
  transform: translateY(140%); transition: transform var(--tr-dur-slow) var(--tr-ease);
}
.cc-banner.is-open { transform: translateY(0); }
.cc-banner h2 { font-family: var(--tr-font-display); font-weight: 900; font-size: 22px; margin: 0 0 10px; color: var(--tr-white); letter-spacing: -0.01em; }
.cc-banner p { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: var(--tr-white-2); }
.cc-banner p a { color: var(--tr-yellow); text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-btn { font-family: var(--tr-font-text); font-weight: 600; font-size: 14px; padding: 12px 20px; border-radius: var(--tr-radius-pill); border: 1px solid transparent; cursor: pointer; transition: all var(--tr-dur-fast) var(--tr-ease); }
.cc-btn--accept { background: var(--tr-yellow); color: #000; }
.cc-btn--accept:hover { background: var(--tr-yellow-soft); }
.cc-btn--reject { background: var(--tr-charcoal-3); color: var(--tr-white); }
.cc-btn--reject:hover { background: var(--tr-charcoal-4); }
.cc-btn--manage { background: transparent; color: var(--tr-white-2); border-color: var(--tr-line-2); }
.cc-btn--manage:hover { color: var(--tr-white); border-color: var(--tr-yellow); }

.cc-modal { position: fixed; inset: 0; z-index: 320; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); }
.cc-modal.is-open { display: flex; }
.cc-dialog { width: min(560px, 100%); max-height: 88vh; overflow-y: auto; background: var(--tr-charcoal); border: 1px solid var(--tr-line-2); border-radius: var(--tr-radius-5); padding: 32px; }
.cc-dialog h2 { font-family: var(--tr-font-display); font-weight: 900; font-size: 28px; margin: 0 0 8px; color: var(--tr-white); letter-spacing: -0.01em; }
.cc-dialog > p { margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: var(--tr-white-2); }
.cc-cat { border: 1px solid var(--tr-line); border-radius: var(--tr-radius-4); padding: 18px 20px; margin-bottom: 14px; }
.cc-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.cc-cat__head h3 { font-family: var(--tr-font-display); font-weight: 700; font-size: 18px; margin: 0; color: var(--tr-white); }
.cc-cat p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--tr-white-2); }
.cc-cat .always { font-family: var(--tr-font-text); font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tr-yellow); }
/* toggle switch */
.cc-switch { position: relative; width: 46px; height: 26px; flex: none; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-switch .track { position: absolute; inset: 0; background: var(--tr-charcoal-4); border-radius: 999px; transition: background var(--tr-dur) var(--tr-ease); }
.cc-switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--tr-white); transition: transform var(--tr-dur) var(--tr-ease); }
.cc-switch input:checked + .track { background: var(--tr-yellow); }
.cc-switch input:checked + .track::after { transform: translateX(20px); }
.cc-switch input:disabled + .track { opacity: 0.6; }
.cc-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

@media print { .cc-banner, .cc-modal { display: none !important; } }

/* =========================================================
   TWEAKS PANEL (vanilla; shown only when host Tweaks is on)
   ========================================================= */
.tw-panel {
  position: fixed; right: 18px; bottom: 18px; z-index: 340;
  width: 300px; max-width: calc(100vw - 36px);
  background: var(--tr-charcoal); color: var(--tr-white);
  border: 1px solid var(--tr-line-2); border-radius: var(--tr-radius-5);
  box-shadow: var(--tr-shadow-pop); overflow: hidden;
  font-family: var(--tr-font-text);
}
.tw-panel[hidden] { display: none; }
.tw-panel__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--tr-line);
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tr-yellow);
}
.tw-panel__x { background: none; border: 0; color: var(--tr-white-2); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
.tw-panel__x:hover { color: var(--tr-white); }
.tw-panel__body { padding: 8px 16px; display: grid; gap: 4px; }
.tw-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; }
.tw-row span { font-size: 14px; color: var(--tr-white); line-height: 1.35; }
.tw-panel__note { margin: 0; padding: 12px 16px; border-top: 1px solid var(--tr-line); font-size: 11.5px; color: var(--tr-white-3); }
.tw-switch {
  flex: none; position: relative; width: 46px; height: 26px;
  background: var(--tr-charcoal-4); border: 0; border-radius: 999px; cursor: pointer;
  transition: background var(--tr-dur) var(--tr-ease);
}
.tw-switch .knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--tr-white); transition: transform var(--tr-dur) var(--tr-ease); }
.tw-switch.is-on { background: var(--tr-yellow); }
.tw-switch.is-on .knob { transform: translateX(20px); }
@media print { .tw-panel { display: none !important; } }

.squad__img{display:block;border-radius:6px;overflow:hidden;aspect-ratio:4/3}
.squad__img img{width:100%;height:100%;object-fit:cover;display:block}
