/* Football (Calcio) widget — a hero band with the most relevant match, a tab bar
   (matches / table / news) and a scrolling feed: every followed team's and
   competition's fixtures merged day by day, the league table with form, or
   headlines. Reuses --xe-stock-up / --xe-stock-down (Ticker.css) for win/loss.
   Liquid-Glass surfaces, tabular figures, colour-blind-safe W/D/L (letter +
   colour). --fw-club is the followed club's own colour when the provider knows
   it, and falls back to the theme accent everywhere it is used. */

.football-widget-mount {
  height: 100%; width: 100%; flex: 1 1 auto; display: flex; min-height: 0; padding: 12px 14px; box-sizing: border-box;
  /* Size container: the hero, the competition line and the form column drop out
     from the TILE's own dimensions (@container rules at the end of this file) —
     no JS measuring, and it works the same on the Edge and on a phone. */
  container-type: size; container-name: fw;
}
.fw-wrap, .fw-detail { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; gap: 9px; }
.fw-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.fw-feed { display: flex; flex-direction: column; gap: 4px; }
.fw-state { opacity: 0.6; font-size: 13px; padding: 22px 4px; text-align: center; }

/* ── crest ── */
.fw-crest { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; overflow: hidden; background: rgba(255,255,255,0.05); }
.fw-crest img { width: 100%; height: 100%; object-fit: contain; }
.fw-crest.is-empty { font-size: 11px; font-weight: 800; color: var(--text, #f0f3f1); opacity: 0.7; }
.fw-crest--sm { width: 22px; height: 22px; border-radius: 6px; font-size: 9px; }
.fw-crest--xs { width: 18px; height: 18px; border-radius: 5px; font-size: 8px; }
.fw-crest--lg { width: 44px; height: 44px; border-radius: 12px; font-size: 15px; }
.fw-crest--league { background: transparent; }
.fw-crest--league.is-empty { background: rgba(255,255,255,0.05); }

/* ── hero band ── */
.fw-hero {
  flex: 0 0 auto; border-radius: 14px; padding: 11px 13px; display: flex; flex-direction: column; gap: 9px;
  border: 1px solid rgba(255,255,255,0.07); text-align: left; cursor: pointer; color: inherit; width: 100%;
  /* The club colour is a wash behind the scoreboard, never a fill: a crest has
     to stay readable on it and the theme still owns the surface. */
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--fw-club, var(--accent, #1ed760)) 16%, transparent), transparent 62%),
    rgba(255,255,255,0.04);
  transition: border-color 0.15s, transform 0.06s;
}
.fw-hero:active { transform: scale(0.995); }
.fw-hero.is-live { border-color: color-mix(in srgb, var(--xe-stock-down) 42%, transparent); }
.fw-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; min-height: 14px; }
.fw-hero-when { opacity: 0.75; font-weight: 600; }
.fw-hero-league { opacity: 0.5; text-transform: uppercase; letter-spacing: 0.03em; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-hero-mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.fw-hero-side { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.fw-hero-team { font-size: 12px; font-weight: 600; text-align: center; color: var(--text, #f0f3f1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.fw-hero-side.is-mine .fw-hero-team { color: var(--accent, #1ed760); }
.fw-hero-centre { display: grid; place-items: center; min-width: 62px; }
.fw-hero-score { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--text, #f0f3f1); }
.fw-hero-kick { font-size: 17px; font-weight: 700; opacity: 0.75; font-variant-numeric: tabular-nums; color: var(--text, #f0f3f1); }
.fw-hero-venue { text-align: center; font-size: 10.5px; opacity: 0.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── tab bar ── */
.fw-tabs { flex: 0 0 auto; display: flex; align-items: center; gap: 3px; padding: 3px; border-radius: 12px; background: rgba(255,255,255,0.04); }
.fw-tab {
  flex: 1 1 0; min-width: 0; padding: 6px 8px; min-height: 30px; border: 0; border-radius: 9px;
  background: transparent; color: var(--text, #f0f3f1); opacity: 0.6; cursor: pointer;
  font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background 0.14s, opacity 0.14s;
}
.fw-tab:hover { opacity: 0.85; }
.fw-tab.is-on { opacity: 1; background: rgba(255,255,255,0.09); }
.fw-manage {
  flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 9px;
  background: transparent; color: var(--text, #f0f3f1); opacity: 0.55; cursor: pointer; transition: background 0.14s, opacity 0.14s, transform 0.18s;
}
.fw-manage:hover { opacity: 1; background: rgba(255,255,255,0.09); }
.fw-manage.is-on { opacity: 1; background: color-mix(in srgb, var(--accent, #1ed760) 22%, transparent); color: var(--accent, #1ed760); transform: rotate(45deg); }
.fw-manage svg { width: 16px; height: 16px; }
.fw-tabs .fw-src { padding-right: 4px; }

/* ── manage panel (search + followed chips) ── */
.fw-manage-panel { flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; }
.fw-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.fw-chip { display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.fw-chip-open { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 5px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.fw-chip-name { font-size: 12px; font-weight: 600; color: var(--text, #f0f3f1); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-chip-rm { width: 26px; height: 26px; display: grid; place-items: center; border: 0; background: transparent; color: var(--text, #f0f3f1); opacity: 0.45; cursor: pointer; transition: opacity 0.12s, color 0.12s; }
.fw-chip-rm:hover { opacity: 1; color: var(--xe-stock-down); }
.fw-chip-rm svg { width: 12px; height: 12px; }

/* ── search add box ── */
.fw-add { position: relative; flex: 0 0 auto; }
.fw-add-field { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 12px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: border-color 0.15s, background 0.15s; }
.fw-add-field:focus-within { border-color: var(--accent, #1ed760); background: rgba(255,255,255,0.07); }
.fw-add-ic { width: 17px; height: 17px; flex: 0 0 auto; opacity: 0.55; }
/* Scoped to the wrapper on purpose. theme-contract.css paints every text field
   with `:is(input[type="text"], …) { background-color: var(--input-bg) }`, and
   an attribute selector outranks a bare class — so `.fw-add-input` alone lost
   and the box drew the field's surface on the left and the input's on the
   right, in two different colours. */
.fw-add-field .fw-add-input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--text, #f0f3f1); font-size: 13.5px; }
.fw-add-input:focus { outline: none; }
.fw-add-input::placeholder { color: var(--text, #f0f3f1); opacity: 0.4; }

.fw-results:empty { display: none; }
.fw-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20;
  display: flex; flex-direction: column; gap: 2px; padding: 6px; max-height: 264px; overflow-y: auto;
  background: color-mix(in srgb, var(--panel, #12140f) 94%, transparent);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.5); backdrop-filter: blur(20px);
}
.fw-result { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; min-height: 46px;
  border: 0; border-radius: 9px; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: background 0.12s; }
.fw-result:hover { background: rgba(255,255,255,0.07); }
.fw-result-info { flex: 1 1 auto; min-width: 0; }
.fw-result-name { font-weight: 600; font-size: 13px; color: var(--text, #f0f3f1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-result-sub { display: flex; align-items: center; gap: 7px; font-size: 11px; opacity: 0.55; margin-top: 1px; }
.fw-result-country { position: relative; padding-left: 8px; }
.fw-result-country::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: currentColor; transform: translateY(-50%); opacity: 0.6; }
.fw-result-type { flex: 0 0 auto; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; opacity: 0.7; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.fw-result.is-added { opacity: 0.55; }
.fw-result-added { color: var(--xe-stock-up); font-weight: 800; flex: 0 0 auto; }
.fw-result--info { justify-content: center; font-size: 12px; opacity: 0.6; cursor: default; min-height: 40px; }

/* ── match feed ── */
.fw-daysep { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.45; padding: 8px 3px 3px; }
.fw-day { display: flex; flex-direction: column; gap: 3px; }
.fw-match {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 8px; row-gap: 2px;
  width: 100%; padding: 8px 10px; min-height: 46px; text-align: left; color: inherit; cursor: pointer;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.06); border-radius: 11px;
  font-variant-numeric: tabular-nums; transition: background 0.15s, border-color 0.15s, transform 0.06s;
}
.fw-match:hover { background: rgba(255,255,255,0.065); border-color: rgba(255,255,255,0.13); }
.fw-match:active { transform: scale(0.995); }
.fw-match.is-live { border-color: color-mix(in srgb, var(--xe-stock-down) 34%, transparent); background: color-mix(in srgb, var(--xe-stock-down) 7%, rgba(255,255,255,0.03)); }
.fw-match-side { display: flex; align-items: center; gap: 7px; min-width: 0; }
/* Crest outermost on each side, so both columns of crests line up down the feed. */
.fw-match-home { justify-content: flex-start; }
.fw-match-away { justify-content: flex-end; }
.fw-match-team { font-size: 12.5px; font-weight: 500; color: var(--text, #f0f3f1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-match-side.is-mine .fw-match-team { font-weight: 700; color: var(--accent, #1ed760); }
.fw-match-mid { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 52px; }
.fw-match-score { font-size: 14px; font-weight: 800; letter-spacing: 0.01em; color: var(--text, #f0f3f1); padding: 1px 7px; border-radius: 7px; background: rgba(255,255,255,0.08); }
.fw-match-score.is-live { color: var(--xe-stock-down); background: color-mix(in srgb, var(--xe-stock-down) 20%, transparent); }
.fw-res--w .fw-match-score { color: var(--xe-stock-up); background: color-mix(in srgb, var(--xe-stock-up) 16%, transparent); }
.fw-res--l .fw-match-score { color: var(--xe-stock-down); background: color-mix(in srgb, var(--xe-stock-down) 16%, transparent); }
.fw-match-time { font-size: 12.5px; font-weight: 700; opacity: 0.75; color: var(--text, #f0f3f1); }
.fw-match-min { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--xe-stock-down); }
.fw-match-league { grid-column: 1 / -1; font-size: 10px; opacity: 0.4; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── identity cards (what a followed club is, with nothing scheduled) ── */
.fw-idcards { display: flex; flex-direction: column; gap: 4px; }
.fw-idcard {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 12px; min-height: 58px;
  text-align: left; color: inherit; cursor: pointer; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(100deg, color-mix(in srgb, var(--fw-club, var(--accent, #1ed760)) 14%, transparent), transparent 58%), rgba(255,255,255,0.035);
  transition: border-color 0.15s, transform 0.06s;
}
.fw-idcard:hover { border-color: rgba(255,255,255,0.14); }
.fw-idcard:active { transform: scale(0.995); }
.fw-idcard-body { flex: 1 1 auto; min-width: 0; }
.fw-idcard-name { font-weight: 700; font-size: 13.5px; color: var(--text, #f0f3f1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-idcard-sub { font-size: 11px; opacity: 0.55; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── news ── */
.fw-news-list { display: flex; flex-direction: column; gap: 3px; }
.fw-news { display: block; padding: 9px 11px; border-radius: 11px; text-decoration: none; color: inherit;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.06); transition: background 0.15s, border-color 0.15s; }
.fw-news:hover { background: rgba(255,255,255,0.065); border-color: rgba(255,255,255,0.13); }
.fw-news-title { font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--text, #f0f3f1);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fw-news-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 10.5px; opacity: 0.5; }
.fw-news-src { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-news-time { flex: 0 0 auto; font-variant-numeric: tabular-nums; }

/* ── live badge ── */
.fw-src { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.04em; flex: 0 0 auto; }
.fw-src--live { color: var(--xe-stock-down, #ff5b6a); opacity: 1; font-weight: 700; }
.fw-live { display: inline-flex; align-items: center; gap: 5px; color: var(--xe-stock-down, #ff5b6a); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.fw-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--xe-stock-down, #ff5b6a); box-shadow: 0 0 7px var(--xe-stock-down, #ff5b6a); animation: fw-pulse 1.4s ease-in-out infinite; will-change: opacity, transform; }
/* Paused while a frosted overlay covers the dashboard (see backgroundfx.css overlay-frozen). */
body.overlay-frozen .fw-live-dot { animation-play-state: paused; }
@keyframes fw-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.72); } }
.fw-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; opacity: 0.6; }
.fw-badge--pp { color: var(--xe-stock-down); opacity: 0.85; }

/* ── detail ── */
.fw-detail-head { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.fw-back, .fw-detail-rm { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: var(--text, #f0f3f1); cursor: pointer; transition: background 0.12s, color 0.12s, border-color 0.12s; }
.fw-back:hover { background: rgba(255,255,255,0.09); }
.fw-back svg { width: 20px; height: 20px; }
.fw-detail-rm svg { width: 18px; height: 18px; }
.fw-detail-rm:hover { color: var(--xe-stock-down); border-color: color-mix(in srgb, var(--xe-stock-down) 45%, transparent); background: color-mix(in srgb, var(--xe-stock-down) 12%, transparent); }
.fw-detail-title { flex: 1 1 auto; min-width: 0; }
.fw-detail-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--text, #f0f3f1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-detail-league { font-size: 11px; opacity: 0.5; margin-top: 1px; }
.fw-detail-body { display: flex; flex-direction: column; gap: 8px; }

/* identity strip */
.fw-ident { border-radius: 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(120deg, color-mix(in srgb, var(--fw-club, var(--accent, #1ed760)) 15%, transparent), transparent 60%), rgba(255,255,255,0.03); }
.fw-ident-facts { display: flex; gap: 16px; flex-wrap: wrap; }
.fw-fact { min-width: 0; }
.fw-fact-v { font-size: 13px; font-weight: 700; color: var(--text, #f0f3f1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-fact-k { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.45; margin-top: 1px; }
.fw-ident-desc { margin-top: 8px; font-size: 11.5px; line-height: 1.45; opacity: 0.6; white-space: pre-line;
  display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* sections + mini lists */
.fw-section { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.5; padding: 4px 2px 0; }
.fw-mini-list { display: flex; flex-direction: column; gap: 3px; }
.fw-mini { display: flex; align-items: center; gap: 9px; padding: 6px 10px; min-height: 38px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); font-variant-numeric: tabular-nums; }
.fw-mini-opp { flex: 1 1 auto; min-width: 0; font-size: 12.5px; font-weight: 500; color: var(--text, #f0f3f1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-mini-score { flex: 0 0 auto; font-weight: 800; font-size: 13px; }
.fw-mini-when { flex: 0 0 auto; font-size: 11px; opacity: 0.6; font-weight: 600; }
.fw-mini-loading { opacity: 0.45; font-size: 12px; padding: 12px 4px; text-align: center; }
.fw-wdl { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; font-size: 10px; font-weight: 800; background: rgba(255,255,255,0.08); color: var(--text, #f0f3f1); opacity: 0.7; }
.fw-wdl--w { color: var(--xe-stock-up); background: color-mix(in srgb, var(--xe-stock-up) 16%, transparent); opacity: 1; }
.fw-wdl--l { color: var(--xe-stock-down); background: color-mix(in srgb, var(--xe-stock-down) 16%, transparent); opacity: 1; }
.fw-wdl--d { opacity: 0.85; }

/* ── standings table ── */
.fw-lchips { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.fw-lchips::-webkit-scrollbar { display: none; }
.fw-lchip { flex: 0 0 auto; padding: 5px 11px; min-height: 28px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04); color: var(--text, #f0f3f1); opacity: 0.6; font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: opacity 0.14s, background 0.14s; }
.fw-lchip:hover { opacity: 0.9; }
.fw-lchip.is-on { opacity: 1; background: color-mix(in srgb, var(--accent, #1ed760) 18%, transparent); border-color: color-mix(in srgb, var(--accent, #1ed760) 40%, transparent); }
.fw-table { display: flex; flex-direction: column; gap: 1px; border-radius: 10px; overflow: hidden; }
.fw-tr { display: grid; grid-template-columns: 22px 1fr 26px 32px 30px auto; align-items: center; gap: 6px; padding: 5px 8px; min-height: 32px; background: rgba(255,255,255,0.025); font-size: 12px; font-variant-numeric: tabular-nums; }
.fw-tr--head { background: transparent; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.45; min-height: 22px; padding: 2px 8px; }
.fw-tr.is-mine { background: color-mix(in srgb, var(--accent, #1ed760) 16%, rgba(255,255,255,0.03)); }
.fw-th, .fw-td { overflow: hidden; }
.fw-col-0 { text-align: center; opacity: 0.6; font-weight: 600; }
.fw-col-1 { display: flex; align-items: center; gap: 7px; min-width: 0; }
.fw-td-team { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text, #f0f3f1); }
.fw-col-2, .fw-col-3 { text-align: center; opacity: 0.7; }
.fw-col-4 { text-align: center; }
.fw-pts { font-weight: 800; color: var(--text, #f0f3f1); }
.fw-table-note { padding: 8px 9px 2px; font-size: 10.5px; line-height: 1.4; opacity: 0.45; background: transparent; }
.fw-form { display: flex; align-items: center; gap: 2px; justify-content: flex-end; }
.fw-fdot { width: 13px; height: 13px; border-radius: 4px; display: grid; place-items: center; font-size: 7.5px; font-weight: 800;
  background: rgba(255,255,255,0.09); color: var(--text, #f0f3f1); opacity: 0.75; }
.fw-fdot--w { color: var(--xe-stock-up); background: color-mix(in srgb, var(--xe-stock-up) 20%, transparent); opacity: 1; }
.fw-fdot--l { color: var(--xe-stock-down); background: color-mix(in srgb, var(--xe-stock-down) 20%, transparent); opacity: 1; }

/* ── size ladder (the tile's own dimensions, not the viewport) ── */
/* Short tile: the feed is the point, so the hero goes rather than being clipped. */
@container fw (max-height: 250px) {
  .fw-hero { display: none; }
  .fw-tab { font-size: 11.5px; }
}
/* Narrow tile (a phone column, a quarter-width tile): the competition line and
   the form column are the first things worth losing — the score never is. */
@container fw (max-width: 330px) {
  .fw-match-league { display: none; }
  .fw-match-team { font-size: 12px; }
  .fw-hero-score { font-size: 22px; }
  .fw-ident-facts { gap: 12px; }
}
@container fw (max-width: 400px) {
  .fw-tr { grid-template-columns: 22px 1fr 26px 32px 30px; }
  .fw-col-5 { display: none; }
}
/* Roomy tile: the hero can afford to breathe. */
@container fw (min-height: 460px) and (min-width: 420px) {
  .fw-hero { padding: 14px 16px; gap: 12px; }
  .fw-hero-score { font-size: 30px; }
  .fw-hero-team { font-size: 13px; }
}

/* ── light theme ── */
:root[data-appearance="light"] .fw-add-field { background: rgba(0,0,0,0.035); border-color: rgba(0,0,0,0.09); }
:root[data-appearance="light"] .fw-match,
:root[data-appearance="light"] .fw-idcard,
:root[data-appearance="light"] .fw-news,
:root[data-appearance="light"] .fw-mini,
:root[data-appearance="light"] .fw-hero,
:root[data-appearance="light"] .fw-ident,
:root[data-appearance="light"] .fw-tr { background-color: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.07); }
:root[data-appearance="light"] .fw-match:hover,
:root[data-appearance="light"] .fw-news:hover { background-color: rgba(0,0,0,0.055); }
:root[data-appearance="light"] .fw-tabs,
:root[data-appearance="light"] .fw-chip,
:root[data-appearance="light"] .fw-lchip { background: rgba(0,0,0,0.04); }
:root[data-appearance="light"] .fw-match-score,
:root[data-appearance="light"] .fw-crest,
:root[data-appearance="light"] .fw-fdot,
:root[data-appearance="light"] .fw-wdl { background: rgba(0,0,0,0.06); }
:root[data-appearance="light"] .fw-results { box-shadow: 0 18px 44px rgba(0,0,0,0.18); }

@media (prefers-reduced-motion: reduce) {
  .fw-match, .fw-result, .fw-idcard, .fw-news, .fw-tab, .fw-manage { transition: none; }
  .fw-live-dot { animation: none; }
}
