:root {
    color-scheme: dark;
    --bg: #020812;
    --bg-deep: #01050b;
    --panel: rgba(6, 18, 32, .88);
    --panel-hover: rgba(8, 25, 43, .96);
    --line: rgba(73, 195, 241, .16);
    --line-hot: rgba(255, 99, 20, .4);
    --text: #f3f9ff;
    --muted: #8ba1b2;
    --orange: #ff5414;
    --orange-soft: #ff982f;
    --cyan: #21d8ff;
    --cyan-deep: #008fca;
    --danger: #ff5a4f;
    --radius: 24px;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 82% 2%, rgba(0, 178, 230, .14), transparent 27rem),
        radial-gradient(circle at 7% 47%, rgba(255, 72, 0, .11), transparent 30rem),
        linear-gradient(150deg, #030b17 0%, var(--bg-deep) 68%, #03111d 100%);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: .32;
    background-image:
        linear-gradient(rgba(30, 178, 226, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 178, 226, .055) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at 70% 20%, black, transparent 72%);
}

a { color: inherit; }

.shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 26px; }

.hero {
    position: relative;
    min-height: 570px;
    padding: 24px 28px 32px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(40, 196, 248, .22);
    border-radius: 34px;
    background:
        linear-gradient(122deg, rgba(4, 14, 26, .98) 0%, rgba(6, 19, 33, .96) 50%, rgba(3, 12, 23, .88) 100%);
    box-shadow: 0 34px 100px rgba(0, 0, 0, .46), inset 0 1px rgba(255, 255, 255, .04);
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background:
        linear-gradient(112deg, transparent 0 48%, rgba(28, 199, 249, .055) 48.1% 48.4%, transparent 48.5%),
        radial-gradient(circle at 83% 46%, rgba(13, 174, 230, .14), transparent 28%),
        radial-gradient(circle at 67% 63%, rgba(255, 75, 0, .11), transparent 22%);
}

.hero::after {
    position: absolute;
    right: -210px;
    bottom: -285px;
    z-index: -1;
    width: 720px;
    height: 720px;
    content: "";
    border: 1px solid rgba(33, 216, 255, .22);
    border-radius: 50%;
    box-shadow: inset 0 0 70px rgba(0, 174, 230, .08), 0 0 60px rgba(0, 174, 230, .05);
}

.hero-top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.brand-link { width: fit-content; text-decoration: none; }
.brand-mark { display: block; width: 42px; height: 42px; border: 1px solid rgba(33,216,255,.24); border-radius: 12px; box-shadow: 0 8px 28px rgba(0, 180, 230, .15), 0 5px 24px rgba(255, 80, 0, .14); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.page-link { padding: 10px 14px; color: var(--cyan); border: 1px solid rgba(33,216,255,.2); border-radius: 999px; background: rgba(33,216,255,.055); font-size: 12px; font-weight: 800; text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.page-link:hover { color: #fff; border-color: rgba(33,216,255,.42); background: rgba(33,216,255,.11); }
.page-link:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.live-state { display: flex; align-items: center; gap: 9px; padding: 10px 14px; color: #dff9ff; border: 1px solid rgba(33,216,255,.28); border-radius: 999px; background: rgba(12, 137, 181, .09); box-shadow: inset 0 0 22px rgba(33,216,255,.04); font-size: 13px; font-weight: 750; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(33,216,255,.12), 0 0 18px var(--cyan); animation: signal 1.6s infinite; }
.live-state.offline { color: #ffd9d3; border-color: rgba(255,90,79,.3); background: rgba(255,90,79,.08); }
.live-state.offline .live-dot { background: var(--danger); box-shadow: 0 0 0 5px rgba(255,90,79,.12); animation: none; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); align-items: center; gap: 28px; min-height: 470px; }
.hero-copy { position: relative; z-index: 4; padding: 56px 0 18px 18px; }
.eyebrow, .section-kicker { margin: 0 0 13px; color: var(--cyan); font-size: 12px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
h1 { max-width: 690px; margin: 0; font-size: clamp(58px, 7vw, 94px); line-height: .88; letter-spacing: -.07em; }
h1 span { color: var(--orange); text-shadow: 0 0 38px rgba(255, 84, 20, .18); }
.intro { max-width: 570px; margin: 25px 0 0; color: #a4b6c4; font-size: 17px; line-height: 1.56; }

.telemetry { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.telemetry div { display: grid; gap: 2px; min-width: 132px; padding: 11px 14px; border-left: 2px solid var(--cyan); background: linear-gradient(90deg, rgba(16, 139, 183, .11), transparent); }
.telemetry div:nth-child(2) { border-color: var(--orange); background: linear-gradient(90deg, rgba(255, 84, 20, .1), transparent); }
.telemetry strong { font-size: 15px; letter-spacing: -.02em; }
.telemetry span { color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

.referral-cta { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 13px; width: min(100%, 470px); margin-top: 24px; padding: 11px 15px 11px 11px; color: var(--text); text-decoration: none; border: 1px solid rgba(255,84,20,.42); border-radius: 15px; background: linear-gradient(110deg, rgba(255,84,20,.14), rgba(33,216,255,.07)); box-shadow: 0 13px 38px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.04); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.referral-cta:hover { transform: translateY(-2px); border-color: rgba(255,152,47,.72); box-shadow: 0 17px 44px rgba(0,0,0,.28), 0 0 28px rgba(255,84,20,.08); }
.referral-cta:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 3px; }
.referral-cta-mark { display: grid; width: 42px; height: 42px; overflow: hidden; place-items: center; border-radius: 11px; filter: drop-shadow(0 0 12px rgba(255,84,20,.24)); }
.referral-cta-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.referral-cta-copy { display: grid; gap: 3px; min-width: 0; }
.referral-cta-copy strong { font-size: 14px; letter-spacing: -.015em; }
.referral-cta-copy small { overflow: hidden; color: #8fa7b8; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.referral-cta-arrow { color: var(--orange-soft); font-size: 23px; transition: transform .2s ease; }
.referral-cta:hover .referral-cta-arrow { transform: translateX(3px); }

.serve-visual { position: relative; z-index: 2; width: 430px; height: 430px; justify-self: end; }
.avatar-orbit { position: absolute; top: 57px; right: 28px; width: 306px; height: 306px; padding: 8px; border: 1px solid rgba(33,216,255,.28); border-radius: 50%; background: rgba(2, 9, 17, .72); box-shadow: 0 0 0 15px rgba(1, 12, 23, .72), 0 0 0 16px rgba(255,84,20,.17), 0 0 70px rgba(0,170,225,.16); }
.avatar-orbit::before, .avatar-orbit::after { position: absolute; inset: -28px; content: ""; border: 1px solid rgba(33,216,255,.16); border-radius: 50%; border-left-color: rgba(255,84,20,.62); transform: rotate(-24deg); }
.avatar-orbit::after { inset: -53px; opacity: .5; border-right-color: transparent; border-bottom-color: rgba(255,84,20,.42); animation: orbit 12s linear infinite; }
.avatar-orbit img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.serve-ball { position: absolute; top: 115px; right: 5px; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff 0 8%, #ffd56a 27%, #ff8e20 56%, #ec3e00 100%); box-shadow: 0 0 14px #ffbd54, 0 0 44px rgba(33,216,255,.72); animation: ballFloat 2.2s ease-in-out infinite; }
.serve-caption { position: absolute; right: 6px; bottom: 18px; display: flex; align-items: baseline; gap: 9px; padding: 11px 14px; border-right: 2px solid var(--orange); background: linear-gradient(270deg, rgba(255,84,20,.13), transparent); text-transform: uppercase; }
.serve-caption strong { color: var(--orange); font-size: 13px; letter-spacing: .14em; }
.serve-caption span { color: var(--muted); font-size: 10px; letter-spacing: .12em; }

.speed-line { position: absolute; z-index: -1; height: 2px; border-radius: 999px; transform: rotate(-18deg); transform-origin: right center; }
.speed-line-one { top: 132px; right: 190px; width: 350px; background: linear-gradient(90deg, transparent, rgba(33,216,255,.04), var(--cyan)); box-shadow: 0 0 14px rgba(33,216,255,.5); animation: speed 1.8s ease-in-out infinite; }
.speed-line-two { top: 195px; right: 210px; width: 300px; background: linear-gradient(90deg, transparent, rgba(255,84,20,.05), var(--orange)); box-shadow: 0 0 13px rgba(255,84,20,.45); animation: speed 1.8s .24s ease-in-out infinite; }
.speed-line-three { top: 260px; right: 225px; width: 250px; background: linear-gradient(90deg, transparent, rgba(33,216,255,.03), rgba(33,216,255,.72)); animation: speed 1.8s .48s ease-in-out infinite; }

.strategies { padding: 60px 0 4px; }
.subpage-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0 32px; border-bottom: 1px solid var(--line); }
.strategy-page-intro { padding: 58px 0 6px; }
.strategy-page-intro .page-title { max-width: none; margin: 0; font-size: clamp(48px, 8vw, 88px); line-height: .92; letter-spacing: -.065em; }
.strategy-page-intro .intro { max-width: 690px; }
.strategies-page { padding-top: 42px; }
.strategy-heading { margin-bottom: 24px; }
.strategy-heading h2, .journal-heading h3 { margin: 0; font-size: clamp(32px, 5vw, 50px); letter-spacing: -.05em; }
.strategy-note { margin: 0 0 7px; padding: 8px 12px; color: #b7c6d1; border: 1px solid rgba(255,152,47,.22); border-radius: 999px; background: rgba(255,84,20,.07); font-size: 12px; }
.strategy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.strategy-card { position: relative; padding: 25px; overflow: hidden; border: 1px solid rgba(33,216,255,.2); border-radius: var(--radius); background: linear-gradient(135deg, rgba(7,27,44,.96), rgba(3,12,23,.94)); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.strategy-card::after { position: absolute; top: -80px; right: -72px; width: 210px; height: 210px; content: ""; border: 1px solid rgba(33,216,255,.13); border-radius: 50%; box-shadow: inset 0 0 60px rgba(33,216,255,.04); }
.strategy-card-comeback { border-color: rgba(255,84,20,.22); }
.strategy-card-comeback::after { border-color: rgba(255,84,20,.15); box-shadow: inset 0 0 60px rgba(255,84,20,.05); }
.strategy-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.strategy-number { color: rgba(33,216,255,.48); font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.strategy-card-comeback .strategy-number { color: rgba(255,152,47,.58); }
.strategy-state { padding: 6px 9px; color: var(--cyan); border: 1px solid rgba(33,216,255,.14); border-radius: 7px; background: rgba(33,216,255,.07); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.strategy-card-comeback .strategy-state { color: var(--orange-soft); border-color: rgba(255,84,20,.17); background: rgba(255,84,20,.08); }
.strategy-card h3 { position: relative; z-index: 1; margin: 27px 0 10px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.045em; }
.strategy-card > p { position: relative; z-index: 1; min-height: 65px; margin: 0; color: #96aabd; font-size: 14px; line-height: 1.55; }
.strategy-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 24px; }
.strategy-metrics > div { min-width: 0; padding: 12px 10px; border-left: 2px solid rgba(33,216,255,.52); background: rgba(33,216,255,.045); }
.strategy-card-comeback .strategy-metrics > div { border-color: rgba(255,84,20,.64); background: rgba(255,84,20,.045); }
.strategy-metrics strong, .strategy-metrics span { display: block; overflow: hidden; text-overflow: ellipsis; }
.strategy-metrics strong { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strategy-metrics span { margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.strategy-metrics .positive strong { color: #58e6a9; }
.strategy-metrics .negative strong { color: #ff746b; }
.metric-skeleton { height: 54px; border-radius: 4px; background: linear-gradient(100deg, rgba(14,41,63,.44) 20%, rgba(24,81,108,.48) 40%, rgba(14,41,63,.44) 60%); background-size: 240% 100%; animation: shimmer 1.2s infinite linear; }

.bet-journal { margin-top: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(3,12,23,.72); }
.journal-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.journal-heading h3 { font-size: clamp(25px, 4vw, 36px); }
.bet-list { display: grid; gap: 8px; }
.bet-row { display: grid; grid-template-columns: 128px minmax(220px, 1fr) 95px 105px; align-items: center; gap: 18px; min-height: 78px; padding: 13px 15px; color: inherit; text-decoration: none; border: 1px solid rgba(73,195,241,.11); border-radius: 14px; background: rgba(7,22,38,.72); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.bet-row:hover { transform: translateX(2px); border-color: rgba(33,216,255,.3); background: rgba(8,27,46,.9); }
.bet-row[data-status="won"] { border-left: 3px solid #3bda99; }
.bet-row[data-status="lost"] { border-left: 3px solid var(--danger); }
.bet-row[data-status="active"] { border-left: 3px solid var(--orange-soft); }
.bet-strategy, .bet-match, .bet-stake, .bet-result { display: grid; gap: 4px; min-width: 0; }
.bet-strategy span { width: fit-content; padding: 5px 7px; color: var(--cyan); border-radius: 6px; background: rgba(33,216,255,.07); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.bet-strategy time, .bet-match span, .bet-stake span, .bet-result span { color: var(--muted); font-size: 11px; }
.bet-match strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.bet-match span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bet-stake, .bet-result { text-align: right; }
.bet-stake strong, .bet-result strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.bet-row[data-status="won"] .bet-result strong { color: #58e6a9; }
.bet-row[data-status="lost"] .bet-result strong { color: #ff746b; }
.bet-row-skeleton { height: 78px; background: linear-gradient(100deg, rgba(14,41,63,.36) 20%, rgba(24,81,108,.4) 40%, rgba(14,41,63,.36) 60%); background-size: 240% 100%; animation: shimmer 1.2s infinite linear; }
.strategy-empty { padding: 30px; color: var(--muted); text-align: center; border: 1px dashed rgba(33,216,255,.16); border-radius: 14px; }

.feed { padding: 60px 0 38px; }
.feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.feed-heading h2 { margin: 0; font-size: clamp(32px, 5vw, 50px); letter-spacing: -.05em; }
.updated-at { padding-bottom: 7px; color: var(--muted); font-size: 13px; }
.event-list { display: grid; gap: 14px; }

.event-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    min-height: 170px;
    padding: 26px 28px 25px 31px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(110deg, rgba(7, 22, 38, .97), rgba(3, 12, 23, .92));
    box-shadow: inset 0 1px rgba(255,255,255,.025);
    backdrop-filter: blur(20px);
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.event-card::before { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; content: ""; background: linear-gradient(var(--cyan), var(--cyan-deep)); box-shadow: 0 0 18px rgba(33,216,255,.45); }
.event-card::after { position: absolute; top: 0; right: -90px; width: 230px; height: 100%; content: ""; opacity: .42; background: linear-gradient(110deg, transparent 35%, rgba(33,216,255,.04) 36% 37%, transparent 38% 52%, rgba(255,84,20,.055) 53% 54%, transparent 55%); pointer-events: none; }
.event-card:hover { transform: translateY(-3px) translateX(2px); border-color: rgba(33,216,255,.34); background: var(--panel-hover); box-shadow: 0 18px 50px rgba(0,0,0,.25), 0 0 34px rgba(0,155,210,.06); }
.event-card:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.event-card[data-event-type="breakaway_comeback"]::before { background: linear-gradient(var(--orange-soft), var(--orange)); box-shadow: 0 0 18px rgba(255,84,20,.5); }
.event-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.event-badge { padding: 6px 10px; color: var(--cyan); border: 1px solid rgba(33,216,255,.14); border-radius: 7px; background: rgba(33,216,255,.075); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.event-card[data-event-type="breakaway_comeback"] .event-badge { color: #ffae55; border-color: rgba(255,84,20,.16); background: rgba(255,84,20,.09); }
.event-time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.players { margin: 0; font-size: clamp(21px, 3vw, 31px); line-height: 1.15; letter-spacing: -.04em; }
.message { max-width: 780px; margin: 13px 0 0; color: #a5b5c2; font-size: 14px; line-height: 1.55; white-space: pre-line; }
.message strong { color: var(--orange-soft); }
.score { position: relative; z-index: 1; align-self: center; min-width: 142px; color: var(--text); font-size: clamp(42px, 7vw, 68px); font-weight: 900; line-height: 1; letter-spacing: -.075em; text-align: right; text-shadow: 0 0 28px rgba(33,216,255,.08); }
.score-separator { color: var(--orange); text-shadow: 0 0 20px rgba(255,84,20,.38); }
.event-side { position: relative; z-index: 1; display: grid; align-content: center; justify-items: end; gap: 16px; }
.event-chart { position: relative; width: 250px; margin: 0; overflow: hidden; border: 1px solid rgba(33,216,255,.19); border-radius: 14px; background: #0b1220; box-shadow: 0 12px 30px rgba(0,0,0,.22), 0 0 24px rgba(33,216,255,.045); }
.event-card[data-event-type="breakaway_comeback"] .event-chart { border-color: rgba(255,84,20,.22); }
.event-chart img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.event-chart figcaption { position: absolute; top: 9px; left: 9px; padding: 5px 7px; color: #dff9ff; border: 1px solid rgba(33,216,255,.16); border-radius: 6px; background: rgba(2,8,18,.82); backdrop-filter: blur(8px); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.new-event { animation: enter .42s cubic-bezier(.2,.8,.2,1) both; }

.skeleton { height: 170px; background: linear-gradient(100deg, rgba(14,41,63,.44) 20%, rgba(24,81,108,.48) 40%, rgba(14,41,63,.44) 60%); background-size: 240% 100%; animation: shimmer 1.2s infinite linear; }
.empty-state { padding: 58px 24px; color: var(--muted); text-align: center; border: 1px dashed rgba(33,216,255,.2); border-radius: var(--radius); background: rgba(4,15,27,.58); }
.empty-state h3 { margin: 13px 0 7px; color: var(--text); font-size: 22px; }
.empty-state p { margin: 0; }
.empty-icon { font-size: 34px; filter: drop-shadow(0 0 16px rgba(255,84,20,.36)); }

footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 23px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
footer a { color: var(--cyan); font-weight: 800; text-decoration: none; }
footer a:hover { color: var(--orange-soft); }

@keyframes signal { 50% { opacity: .5; transform: scale(.82); } }
@keyframes orbit { to { transform: rotate(336deg); } }
@keyframes ballFloat { 50% { transform: translate(-8px, 7px) scale(.94); filter: brightness(1.12); } }
@keyframes speed { 0%, 100% { opacity: .18; transform: rotate(-18deg) scaleX(.72); } 50% { opacity: .88; transform: rotate(-18deg) scaleX(1); } }
@keyframes shimmer { to { background-position: -140% 0; } }
@keyframes enter { from { opacity: 0; transform: translateX(18px); filter: blur(2px); } }

@media (max-width: 900px) {
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; min-height: 500px; }
    .serve-visual { width: 310px; height: 360px; }
    .avatar-orbit { top: 62px; right: 10px; width: 230px; height: 230px; }
    .serve-ball { top: 99px; right: -3px; width: 31px; height: 31px; }
    .serve-caption { right: 2px; bottom: 9px; }
    .speed-line-one { right: 120px; width: 260px; }
    .speed-line-two { right: 135px; width: 220px; }
    .speed-line-three { right: 150px; width: 185px; }
    h1 { font-size: clamp(52px, 8vw, 72px); }
    .strategy-metrics { grid-template-columns: repeat(2, 1fr); }
    .bet-row { grid-template-columns: 108px minmax(180px, 1fr) 86px 92px; gap: 12px; }
}

@media (max-width: 520px) {
    .referral-cta { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px 10px 10px; }
    .referral-cta-mark { width: 38px; height: 38px; }
    .referral-cta-copy small { white-space: normal; }
}

@media (max-width: 680px) {
    .shell { width: min(100% - 20px, 1160px); padding-top: 10px; }
    .hero { padding: 18px; border-radius: 24px; }
    .hero-top { align-items: flex-start; }
    .header-actions { align-items: flex-end; flex-direction: column-reverse; }
    .page-link { padding: 8px 10px; font-size: 10px; }
    .brand-mark { width: 38px; height: 38px; }
    .live-state { padding: 9px 11px; font-size: 12px; }
    .hero-grid { display: flex; min-height: 0; flex-direction: column; gap: 12px; }
    .hero-copy { order: 1; padding: 62px 4px 8px; }
    h1 { font-size: clamp(48px, 15vw, 64px); line-height: .9; }
    .intro { font-size: 15px; }
    .telemetry { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .telemetry div:last-child { grid-column: 1 / -1; }
    .serve-visual { order: 2; width: 100%; height: 305px; margin-top: 2px; }
    .avatar-orbit { top: 30px; right: calc(50% - 112px); width: 224px; height: 224px; }
    .serve-ball { top: 62px; right: calc(50% - 132px); }
    .serve-caption { right: calc(50% - 125px); bottom: 3px; }
    .speed-line-one { top: 84px; right: 48%; width: 240px; }
    .speed-line-two { top: 144px; right: 51%; width: 205px; }
    .speed-line-three { top: 203px; right: 54%; width: 175px; }
    .feed { padding-top: 44px; }
    .feed-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .strategies { padding-top: 44px; }
    .subpage-header { padding: 10px 2px 22px; }
    .strategy-page-intro { padding-top: 42px; }
    .strategy-page-intro .page-title { font-size: clamp(45px, 14vw, 62px); }
    .strategy-grid { grid-template-columns: 1fr; }
    .strategy-card { padding: 21px; }
    .strategy-card > p { min-height: 0; }
    .strategy-note { margin-bottom: 0; }
    .bet-journal { padding: 18px 14px; }
    .journal-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .bet-row { grid-template-columns: 1fr auto; gap: 13px 15px; padding: 15px; }
    .bet-match { grid-column: 1 / -1; grid-row: 1; }
    .bet-strategy { grid-column: 1; grid-row: 2; }
    .bet-stake { grid-column: 2; grid-row: 2; }
    .bet-result { grid-column: 2; grid-row: 3; }
    .event-card { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px 22px 24px; }
    .event-side { grid-row: 1; grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: stretch; }
    .score { min-width: 0; text-align: left; font-size: 48px; }
    .event-chart { width: 100%; max-width: 310px; justify-self: end; }
    footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 460px) {
    .event-side { grid-template-columns: 1fr; }
    .event-chart { max-width: none; justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
