/* ============================================================
   Sports page — betpinnacle-sports (1440) / betpinnacle-sports-mobile (390)
   ============================================================ */

/* ---------- masthead ---------- */
.sports-masthead { background: var(--paper); overflow: hidden; position: relative; }
.mast-wrap { position: relative; padding: 40px 0; }
.mast-bgword {
  position: absolute; left: 0; top: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 100px;
  line-height: 1; color: var(--ink); opacity: 0.05;
  pointer-events: none; user-select: none;
}
.mast-content { position: relative; }
.mast-title { display: flex; flex-direction: column; gap: 2px; }
.mast-title > span {
  font-family: var(--font-display); font-weight: 700; font-size: 48px;
  line-height: 1; letter-spacing: -1px;
}
.mast-title .mt-top { color: var(--ink); }
.mast-title .mt-bottom { color: var(--brown); }
.mast-text { font-size: 13px; line-height: 1.4; color: var(--ink); margin-top: 12px; max-width: 560px; }
.mast-cta { margin-top: 12px; gap: 6px; }
.mast-cta svg { width: 14px; height: 14px; }
.mast-athlete-m {
  width: 100%; height: 240px; object-fit: cover; border-radius: 8px; margin-top: 24px;
}
@media (min-width: 992px) {
  .mast-wrap { padding: 96px 0; min-height: 508px; }
  .mast-bgword { top: 120px; font-size: 220px; letter-spacing: -8px; line-height: 0.85; opacity: 0.06; }
  .mast-content { display: flex; justify-content: space-between; align-items: flex-end; }
  .mast-left { width: 560px; }
  .mast-title { gap: 8px; }
  .mast-title > span { font-size: 96px; letter-spacing: -2px; }
  .mast-text { font-size: 14px; line-height: 1.5; margin-top: 16px; }
  .mast-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
  .sport-index { display: flex; align-items: center; gap: 16px; }
  .mast-cta-d { gap: 8px; }
  .mast-athlete {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 640px; height: 680px;
    background: url('../../img/afl-star.webp') center / cover no-repeat;
  }
}

/* ---------- markets ---------- */
.sports-markets { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sm-header { display: flex; flex-direction: column; gap: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.sport-tabs { display: flex; gap: 16px; border-bottom: 1px solid var(--line); margin-top: 24px; }
.sport-tab {
  display: inline-flex; padding: 10px 8px;
  font-family: var(--font-ui); font-weight: 700; font-size: 14px; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap;
}
.sport-tab.is-active { color: var(--ink); font-weight: 800; border-bottom-color: var(--accent); }
.league-boards { display: flex; flex-direction: column; gap: 28px; margin-top: 24px; }
.league { display: flex; flex-direction: column; gap: 14px; }
.league-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 4px; }
.league-header .lh-left { display: flex; align-items: center; gap: 8px; }
.league-header .lh-name { font-family: var(--font-ui); font-weight: 800; font-size: 15px; color: var(--ink); }
.league-header .lh-sub { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--muted); }
.league-header .lh-viewall { font-family: var(--font-ui); font-weight: 700; font-size: 13px; color: var(--ink); }
.league-events { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 992px) {
  .sports-markets { border-top: 0; border-bottom: 0; }
  .sm-header { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .filters { gap: 12px; }
  .sport-tabs { gap: 24px; margin-top: 40px; }
  .sport-tab { padding: 14px 16px; color: var(--ink); }
  .league-boards { gap: 40px; margin-top: 40px; }
  .league { gap: 24px; }
  .league-header { padding-bottom: 0; }
  .league-header .lh-left { gap: 12px; }
  .league-header .lh-name { font-size: 14px; }
  .league-header .lh-sub { font-weight: 800; color: var(--ink); }
  .league-events { flex-direction: row; gap: 24px; }
  .league-events .event-card { flex: 1 1 0; }
}

/* ---------- responsible wagering ---------- */
.responsible { background: var(--card); }
.responsible .section-title { font-size: 26px; line-height: 1.1; letter-spacing: 0; }
.rw-text { font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 20px; }
.rw-divider { height: 1px; background: var(--line); margin-top: 40px; }
.tools { margin-top: 20px; }
.tool { border-top: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.tool:last-child { border-bottom: 1px solid var(--line); }
.tool-num { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--muted); }
.tool-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); }
.tool-text { font-size: 13px; line-height: 1.25; color: var(--muted); }
.tool-link { font-family: var(--font-ui); font-weight: 800; font-size: 13px; color: var(--ink); }
@media (min-width: 992px) {
  .responsible { padding-top: 0; }
  .responsible .section-title { font-size: 72px; line-height: 1; letter-spacing: -2px; }
  .rw-text { font-size: 16px; line-height: 1.5; max-width: 760px; color: var(--ink); margin-top: 40px; }
  .tools { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
  .tool { border-top: 0; border-bottom: 1px solid var(--line); padding: 0 0 24px; gap: 12px; }
  .tool:last-child { border-bottom: 0; padding-bottom: 0; }
  .tool-num { font-size: 14px; letter-spacing: 1px; color: var(--ink-2); text-transform: uppercase; }
  .tool-title { font-size: 24px; }
  .tool-text { font-size: 14px; line-height: 1.5; color: var(--ink); }
}

/* ---------- loss warning ---------- */
.loss-warning { background: var(--accent); padding: 40px 0; }
.lw-wrap { display: flex; flex-direction: column; gap: 24px; }
.lw-kicker { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); }
.lw-title {
  font-family: var(--font-display); font-weight: 700; font-size: 36px;
  line-height: 1.05; color: var(--ink); margin-top: 12px; text-transform: uppercase;
}
.lw-line1 { font-size: 13px; line-height: 1.4; color: var(--ink); margin-top: 12px; }
.lw-line2 { font-weight: 700; font-size: 13px; color: var(--ink); margin-top: 12px; }
.betstop-module {
  background: var(--ink); border-radius: 12px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.bm-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #ffffff; }
.bm-text { font-size: 13px; line-height: 1.4; color: #ffffff; opacity: 0.9; }
.bm-link { font-family: var(--font-ui); font-weight: 800; font-size: 13px; color: var(--accent); }
@media (min-width: 992px) {
  .loss-warning { padding: 96px 0; }
  .lw-wrap { flex-direction: row; gap: 24px; }
  .lw-left { flex: 1; }
  .lw-title { font-size: 64px; margin-top: 16px; }
  .lw-line1 { font-size: 14px; line-height: 1; margin-top: 16px; }
  .lw-line2 { font-size: 14px; margin-top: 16px; }
  .betstop-module { width: 360px; flex: none; border-radius: 24px; padding: 24px; gap: 12px; }
  .bm-title { font-size: 44px; letter-spacing: -1px; }
  .bm-text { font-size: 14px; line-height: 1.2; opacity: 1; }
  .bm-link { font-size: 13px; color: #ffffff; }
}

/* --- interaction polish --- */
.sport-tab:not(.is-active):hover { color: var(--ink); border-bottom-color: var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .sport-tab { transition: color 0.15s cubic-bezier(0.2, 0, 0, 1), border-color 0.15s cubic-bezier(0.2, 0, 0, 1); }
}
