/* t2933 MOCK ONLY: first-paint, chips, desk, cards, coming-up, light links, a11y, t2936 jump, t2937 rail/copy. */

/* ---- 1. Rail: do not stretch row 1; sticky only when short enough ---- */
@media (min-width:1100px){
  html body main#brief.t2909-rail > #t2928-rail{
    grid-column:2;
    grid-row:1 / span 20;
    align-self:start;
    position:sticky;
    top:var(--t2909-sticky,64px);
    max-height:none;
    overflow:visible;
    display:flex;
    flex-direction:column;
    gap:16px;
    z-index:4;
    min-width:0;
    background:var(--bg,#0b1a14);
    padding-bottom:8px;
  }
  html[data-theme="light"] body main#brief.t2909-rail > #t2928-rail{background:transparent}
  html body main#brief.t2909-rail > #t2928-rail.is-static{
    position:static;
    top:auto;
  }
  @media (max-height:900px){
    html body main#brief.t2909-rail > #t2928-rail{
      position:static;
      top:auto;
    }
  }
  html body main#brief.t2909-rail > #t2928-rail > #status-row,
  html body main#brief.t2909-rail > #t2928-rail > #weekend{
    grid-column:auto;
    position:static;
    top:auto;
    max-height:none;
    overflow:visible;
    align-self:stretch;
    min-width:0;
  }
  /* Coming up lives in left column after match on all widths; hide duplicate if still in rail */
  html body main#brief.t2909-rail > #weekend{
    grid-column:1;
  }
}

/* Scroll cue under match */
.t2933-scroll-cue{
  display:flex;align-items:center;justify-content:center;gap:.4rem;
  margin:6px 0 2px;padding:8px 10px;min-height:44px;
  color:var(--gold-text,#e0b03a);font-size:.8125rem;letter-spacing:.04em;
  text-decoration:none;border:0;background:transparent;cursor:pointer;width:100%;
}
.t2933-scroll-cue::after{content:"↓";font-size:1rem}
html[data-theme="light"] .t2933-scroll-cue{color:var(--t2933-link,#7a5c0e)}

/* ---- 2. Latest chips: visible labels + selected ---- */
#brief #latest-nav button.chip,
#brief #latest-nav .chip{
  color:var(--gold-soft,#c9a45a)!important;
  background:transparent!important;
  border:1px solid color-mix(in srgb, var(--gold-soft,#c9a45a) 42%, transparent)!important;
  font-size:.88rem!important;
  font-weight:500!important;
  min-height:44px;
  padding:.42rem .78rem!important;
  line-height:1.2;
}
#brief #latest-nav button.chip.is-on,
#brief #latest-nav .chip.is-on{
  background:var(--gold,#e0b03a)!important;
  color:var(--ink-on-gold,#1a1204)!important;
  border-color:var(--gold-text,#e0b03a)!important;
  font-weight:700!important;
  box-shadow:0 3px 0 0 var(--gold-text,#e0b03a);
}
html[data-theme="light"] #brief #latest-nav button.chip,
html[data-theme="light"] #brief #latest-nav .chip{
  color:#111!important;
  background:#fff!important;
  border-color:#8a8a86!important;
}
html[data-theme="light"] #brief #latest-nav button.chip.is-on,
html[data-theme="light"] #brief #latest-nav .chip.is-on{
  background:var(--gold,#e0b03a)!important;
  color:var(--ink-on-gold,#1a1204)!important;
  border-color:var(--gold-text,#e0b03a)!important;
}

/* ---- 3. Desk: hide MORE ON THE DESK label ---- */
.more-on-desk > .more-on-desk__label,
.more-on-desk > h3.more-on-desk__label{display:none!important}
.more-on-desk{margin-top:8px}
#p-matters > .v6-pane-kicker{display:none!important}

/* ---- 4. Cards: teaser ~2–3 lines ---- */
:is(#desk-open,.more-on-desk,#latest,.latest-block,#abroad-home-board,#desk)
  .desk-card .desk-card__teaser{
  white-space:normal!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden!important;
  text-overflow:ellipsis;
  max-width:100%;
}
@media (max-width:390px){
  :is(#desk-open,.more-on-desk,#latest,.latest-block,#desk)
    .desk-card .desk-card__teaser{-webkit-line-clamp:3;line-clamp:3}
}

/* ---- 5. Coming up: compact fixture cards ---- */
#coming-up.t2933-cu{margin:10px 0 14px}
#coming-up.t2933-cu .coming-up__kicker{
  font-family:Outfit,system-ui,sans-serif;font-size:.75rem;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;color:var(--gold-text,#e0b03a);margin:0 0 8px
}
#coming-up.t2933-cu .coming-up__label{
  font-size:.8125rem;font-weight:700;margin:12px 0 6px;color:var(--cream,#f7f0e2)
}
#coming-up.t2933-cu .cu-card{
  display:grid;
  grid-template-columns:4.6rem 1fr;
  gap:8px 10px;
  align-items:start;
  padding:10px 12px;
  margin:0 0 8px;
  border:1px solid color-mix(in srgb,currentColor 16%,transparent);
  border-radius:10px;
  background:color-mix(in srgb,currentColor 4%,transparent);
  min-width:0;
}
#coming-up.t2933-cu .cu-when{
  display:flex;flex-direction:column;gap:2px;min-width:0
}
#coming-up.t2933-cu .cu-date{font-weight:800;font-size:.9rem;line-height:1.15;color:var(--cream,#f7f0e2)}
#coming-up.t2933-cu .cu-time{font-size:.78rem;font-variant-numeric:tabular-nums;color:var(--muted,#b9c6bf)}
#coming-up.t2933-cu .cu-main{min-width:0}
#coming-up.t2933-cu .cu-teams{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-weight:700;font-size:.95rem;line-height:1.25
}
#coming-up.t2933-cu .cu-team{display:inline-flex;align-items:center;gap:6px;min-width:0}
#coming-up.t2933-cu .cu-bar{
  width:4px;height:1.05em;border-radius:2px;background:var(--pc,#75998b);flex:0 0 auto
}
#coming-up.t2933-cu .cu-team[data-pc=lei]{--pc:var(--lei,#3b6fc4)}
#coming-up.t2933-cu .cu-team[data-pc=mun]{--pc:var(--mun,#c0453f)}
#coming-up.t2933-cu .cu-team[data-pc=con]{--pc:var(--con,#3a9a57)}
#coming-up.t2933-cu .cu-team[data-pc=uls]{--pc:var(--uls,#d1aa3a)}
#coming-up.t2933-cu .cu-team[data-pc=ire]{--pc:var(--ire,#2f8a5c)}
#coming-up.t2933-cu .cu-vs{opacity:.55;font-weight:600;font-size:.8rem}
#coming-up.t2933-cu .cu-meta{
  margin:.2rem 0 0;font-size:.75rem;line-height:1.35;color:var(--muted,#b9c6bf);min-width:0
}
#coming-up.t2933-cu .cu-actions{
  grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;margin-top:2px
}
#coming-up.t2933-cu .cu-actions a{
  display:inline-flex;align-items:center;min-height:44px;padding:0 2px;
  font-size:.8125rem;color:var(--gold-text,#e0b03a);text-decoration:none
}
html[data-theme="light"] #coming-up.t2933-cu .coming-up__kicker,
html[data-theme="light"] #coming-up.t2933-cu .cu-actions a{color:var(--t2933-link,#7a5c0e)}
html[data-theme="light"] #coming-up.t2933-cu .cu-date,
html[data-theme="light"] #coming-up.t2933-cu .coming-up__label{color:#111}
html[data-theme="light"] #coming-up.t2933-cu .cu-card{background:#fff;border-color:#d6d6d2}
/* t3082 (Declan 11 Nov 2026 21:58, Fan advisory 1): a Coming up row with a match page is tappable as a whole (the Match
   card link stretches over the row); Watch stays its own link above it. */
#coming-up.t2933-cu .cu-card:has(.cu-actions a[href^="/match/"]){position:relative}
#coming-up.t2933-cu .cu-card .cu-actions a[href^="/match/"]::after{content:"";position:absolute;inset:0;border-radius:inherit}
#coming-up.t2933-cu .cu-card:has(.cu-actions a[href^="/match/"]) .cu-actions a:not([href^="/match/"]){position:relative;z-index:1}
#coming-up.t2933-cu .cu-card:has(.cu-actions a[href^="/match/"]:hover){border-color:color-mix(in srgb,currentColor 34%,transparent)}
#coming-up.t2933-cu .cu-card .cu-actions a[href^="/match/"]:focus-visible{outline:none}
#coming-up.t2933-cu .cu-card .cu-actions a[href^="/match/"]:focus-visible::after{outline:2px solid currentColor;outline-offset:2px}

/* Phone: Coming up directly under match (SETTLED) */
@media (max-width:1099px){
  #brief > #weekend{order:0}
}

/* ---- 3/t2937 light link token ---- */
html[data-theme="light"]{
  --t2933-link:#7a5c0e;
  --gold-text:var(--t2933-link);
}
/* t2941: link colour follows the SURFACE, not the theme.
   Light surfaces (page, Coming up cards; the footer keeps production's own colours) -> #7a5c0e; always-dark cards (status tiles, match cards) -> #f3d47d.
   v6-rc-1110 (Fan FAIL 6af368db): Matchweek pack cards (.mw-card) sit on the light #f7f7f5 surface in light theme, so their
   source and 'Fact page' links take the dark-gold light token #7a5c0e (AA), not #f3d47d. */
html[data-theme="light"] #t2928-rail #coming-up a,
html[data-theme="light"] .lgl,
html[data-theme="light"] a.lgl{
  color:var(--t2933-link,#7a5c0e)!important;
}
html[data-theme="light"] :is(#status-row .stt, #status-row .t2909-rowh, .proposal-match) a,
html[data-theme="light"] :is(#status-row .stt, .proposal-match) .lgl{
  color:#f3d47d!important;
}
/* v6-rc-1110 (Fan FAIL 6af368db): V6 sets no footer colours. The footer renders exactly as production does in each theme
   (light: #f7f7f5 surface, #111 links, #7a5c0e labels; dark: production's dark footer). */

/* ---- t2936: other internationals teaser ---- */
.t2933-more-intl{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;
  margin:8px 0 4px;padding:10px 12px;min-height:44px;
  border:1px solid color-mix(in srgb,currentColor 16%,transparent);
  border-radius:8px;text-decoration:none;color:inherit;
  background:color-mix(in srgb,currentColor 4%,transparent);
}
.t2933-more-intl:focus-visible{outline:2px solid var(--gold,#e0b03a);outline-offset:2px}
.t2933-more-intl__text{font-size:.875rem;line-height:1.35;font-weight:600}
.t2933-more-intl__flags{display:inline-flex;gap:4px;align-items:center}
.t2933-more-intl__flags .national-flag{width:18px;height:12px}
/* t2941: inside the always-dark match card the jump link keeps the card's dark surface and on-dark text */
html[data-theme="light"] .t2933-more-intl{background:color-mix(in srgb,#f7f0e2 6%,transparent);border-color:color-mix(in srgb,#f7f0e2 22%,transparent);color:#f7f0e2}
.t2929-more-prov{
  display:block;margin:8px 0;padding:10px 12px;min-height:44px;
  border:1px dashed color-mix(in srgb,currentColor 22%,transparent);
  border-radius:8px;font-size:.875rem;font-weight:600;text-decoration:none;color:inherit
}

/* ---- Key outs compact lines ---- */
#st-outs .t2933-out{margin:0 0 6px;font-size:.875rem;line-height:1.35}
#st-outs .t2933-out strong{font-weight:700}

/* ---- A11y: details chevron ---- */
details.t2909-kc > summary{
  list-style:disclosure-closed;
  display:list-item;
  cursor:pointer;
  min-height:44px;
  padding:8px 4px;
}
details.t2909-kc[open] > summary{list-style:disclosure-open}

/* ---- Tap targets ---- */
#status-row .t2909-dots button,
.t2909-dots button{
  width:44px!important;height:44px!important;min-height:44px!important;
}
a.to-top, button.to-top, #to-top, [data-to-top]{
  min-width:44px;min-height:44px;padding:12px;
}
.desk-card__sources a, .source-more__rest a, #match .desk-card__sources a, #match .v6-sources a{
  display:inline-flex;align-items:center;min-height:44px;padding:10px 2px;margin:-10px 0;
}
/* Fan 6af383eb (10 Nov 2026): scoped; Latest cards keep the shared 11px --type-tag component */
.desk-card__meta, .desk-card:not(.latest-card) .desk-card__tags, #status-row .meta, #st-abroad .meta{
  font-size:max(12px,.75rem)!important;
}

/* Eden Park collapse teaser */
.t2933-eden-summary{
  display:block;width:100%;text-align:left;font:inherit;color:inherit;
  background:transparent;border:1px solid color-mix(in srgb,currentColor 18%,transparent);
  border-radius:8px;padding:10px 12px;min-height:44px;cursor:pointer;margin:8px 0
}
.t2933-eden-full[hidden]{display:none!important}

/* Compact teasers so Desk clears the fold at 1280×720 */
.t2933-more-intl{padding:6px 10px;min-height:40px;margin:4px 0 2px;gap:6px 8px}
.t2933-more-intl__text{font-size:.8125rem}
.t2933-eden-summary{padding:8px 10px;min-height:40px;margin:4px 0}
.t2933-scroll-cue{margin:2px 0;padding:4px 8px;min-height:36px;font-size:.75rem}
@media (min-width:1100px){
  /* Keep Coming up usable inside the rail */
  #t2928-rail #coming-up.t2933-cu .cu-card{padding:8px 10px;margin:0 0 6px}
  #t2928-rail #coming-up.t2933-cu .cu-actions a{min-height:36px}
}

/* t3051 (Fan FAIL 6af436b4, 11 Nov 2026): an open Desk card showed its dek twice (clamped teaser above + the body's lead,
   which carries the same text), because the teaser clamp above is !important with id specificity and beat the t2941
   "is-open / .no-js hide the teaser" rules. Open (JS on) or JS off, the body alone carries the dek and the why line,
   as on prod 6af42032. Desk cards only; Latest cards keep their own component. */
:is(#desk-open,.more-on-desk,#desk) .desk-card:not(.latest-card).is-open .desk-card__teaser,
:is(#desk-open,.more-on-desk,#desk) .desk-card:not(.latest-card).is-open .desk-card__whyline,
.no-js :is(#desk-open,.more-on-desk,#desk) .desk-card:not(.latest-card) .desk-card__teaser,
.no-js :is(#desk-open,.more-on-desk,#desk) .desk-card:not(.latest-card) .desk-card__whyline{display:none!important}
