:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#202124;color:#ededee;--bg:#202124;--surface:#292b30;--border:#41444c;--blue:#254b7a;--active:#9dbfe9;--muted:#b0b3bb}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #9dbfe9;outline-offset:3px}button{touch-action:manipulation}button:disabled{opacity:.45;cursor:not-allowed}.app{max-width:600px;margin:auto;min-height:100dvh}main{padding:28px 20px calc(96px + env(safe-area-inset-bottom))}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}h1,h2{font-size:18px;font-weight:600;line-height:1.4;margin:0}.subscription-title{text-align:center;font-size:22px;line-height:1.4;max-width:360px;margin:6px auto 32px;font-weight:600}.section-heading h2{font-size:15px}.text-button{flex-shrink:0}.sports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sport,.country{border:1px solid var(--border);background:var(--surface);border-radius:6px;min-height:48px;padding:12px;font-size:14px;text-align:left;display:flex;align-items:center;gap:10px}.sport.selected,.country.selected{background:var(--blue);border-color:#7da2ce;color:#fff}.option-icon{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:23px;line-height:1;width:27px;flex-shrink:0;text-align:center}.sport,.country{transition:background-color .15s,border-color .15s}.country-heading{margin-top:28px;margin-bottom:10px}.text-button{background:none;border:0;color:var(--active);padding:10px 0;min-height:44px;font-size:13px}.search{width:100%;min-height:46px;border:1px solid var(--border);border-radius:6px;background:var(--surface);padding:11px 12px;color:inherit;font-size:14px;margin-bottom:12px}.search::placeholder{color:var(--muted)}.countries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.country{font-size:13px;overflow-wrap:anywhere}.primary{width:100%;min-height:48px;background:var(--blue);color:#fff;border:1px solid #567ba9;border-radius:6px;font-size:15px;font-weight:600;margin-top:24px}.save-note{font-size:12px;color:var(--muted);line-height:1.5;margin:10px 0 0;min-height:18px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,600px);display:flex;background:#25272c;border-top:1px solid var(--border);padding:8px 12px calc(8px + env(safe-area-inset-bottom));z-index:5}.bottom-nav button{flex:1;background:none;border:0;min-height:48px;padding:4px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}.bottom-nav button.active{color:var(--active)}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.feed-tabs{display:flex;gap:24px;border-bottom:1px solid var(--border);margin-bottom:20px}.feed-tabs button{border:0;border-bottom:2px solid transparent;background:none;min-height:44px;padding:0 0 12px;font-size:15px;color:var(--muted)}.feed-tabs button.active{color:var(--active);border-bottom-color:var(--active)}.post{margin:0 0 28px;padding-bottom:24px;border-bottom:1px solid var(--border)}.post:last-child{border-bottom:0}.post-meta{font-size:12px;color:var(--muted);margin-bottom:10px;display:flex;gap:8px;flex-wrap:wrap}.post-image{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:4px;display:block;background:var(--surface)}.post h2{font-size:19px;line-height:1.4;margin:14px 0 8px}.post p{font-size:15px;line-height:1.65;margin:0;color:#d4d6db}.post-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:11px;color:var(--muted)}.post-footer a{color:var(--active);text-decoration:underline;text-underline-offset:3px;min-height:44px;display:flex;align-items:center;flex-shrink:0}.empty{color:var(--muted);font-size:14px;line-height:1.6;padding:24px 0}.empty button{max-width:240px}.no-country{grid-column:1/-1;color:var(--muted);font-size:14px}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#293e59;border:1px solid #648bb9;color:#fff;border-radius:6px;padding:12px 18px;font-size:14px;max-width:90%;width:max-content;opacity:0;pointer-events:none;z-index:10}#toast.visible{opacity:1}[hidden]{display:none!important}@media(max-width:360px){main{padding-inline:14px}.sport,.country{padding:10px 8px;gap:7px;font-size:12px}}@media(min-width:600px){main{padding-top:36px}}
/* Subscription controls */
.subscription-title{font-size:25px;letter-spacing:-.6px;margin:8px auto 34px;max-width:340px}
.sports{gap:10px}.sport{min-height:64px;border-radius:12px;padding:14px 12px}.sport .option-icon{font-size:28px;width:32px}
.country{border-radius:10px;min-height:48px}.sport.selected,.country.selected{border-color:#8baed8;background:#284e7d}
.search{border-radius:10px}.primary{border-radius:12px;min-height:52px}.section-heading h2{font-weight:600}
.settings-group{min-width:0;border:0;border-top:1px solid var(--border);padding:24px 0 0;margin:28px 0 0}
.settings-group legend{float:left;display:flex;align-items:center;gap:10px;width:100%;padding:0;margin-bottom:16px;font-size:16px;font-weight:600}
.settings-group legend svg{color:var(--active);width:21px;height:21px}.settings-group>div{clear:both}
.frequency-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.setting-choice{position:relative;display:block;cursor:pointer;min-width:0}
.setting-choice input{position:absolute;width:1px;height:1px;opacity:0;left:12px;top:50%;margin:0}
.setting-choice>span{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-size:14px;transition:background-color .15s,border-color .15s}
.setting-choice input:checked+span{background:#284e7d;border-color:#8baed8;color:#fff}
.setting-choice input:focus-visible+span{outline:2px solid #9dbfe9;outline-offset:3px}
.setting-description{font-size:12px;color:var(--muted);margin:10px 0 0;line-height:1.5}
.importance-options{display:grid;gap:8px}.importance-choice>span{align-items:flex-start;flex-direction:column;gap:5px;padding:14px 16px;border-left-width:3px}
.importance-choice strong{font-size:14px;font-weight:600}.importance-choice small{font-size:12px;line-height:1.5;color:var(--muted)}
.importance-choice input:checked+span small{color:#d2e1f4}
.bottom-nav{gap:8px}.bottom-nav button{border-radius:10px}.bottom-nav button.active{background:#23354e}
.post-image{border-radius:10px}.feed-tabs button{font-weight:600}
@media(hover:hover){.sport:hover,.country:hover,.setting-choice:hover>span{border-color:#8baed8}.primary:hover{background:#305d92}}
@media(prefers-reduced-motion:reduce){.sport,.country,.setting-choice>span{transition:none}}

/* Recommendation settings: blue accents, tactile controls */
.settings-header{padding:6px 0 28px;text-align:center}
.settings-symbol{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 16px;border:1px solid #52729b;border-radius:15px;background:#293e59;transform:rotate(-7deg);color:#bdd8fa}
.settings-symbol svg{width:25px;height:25px;transform:rotate(7deg)}
.subscription-title{font-size:27px;line-height:1.3;letter-spacing:-.8px;margin:0 auto;max-width:100%;font-weight:650}.subscription-title span{color:#9dbfe9}
.preferences-panel,.settings-group{padding:20px;background:#26282d;border:1px solid #383e48;border-radius:20px;margin:0 0 16px;min-width:0}
.section-heading{margin-bottom:16px}.section-heading h2{font-size:14px;line-height:1.5}.country-heading{margin-top:0;margin-bottom:12px}
.sports{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.sport{position:relative;flex-direction:column;justify-content:center;text-align:center;gap:12px;min-height:102px;padding:16px 4px 13px;border-radius:14px;background:#303239;border-color:#41454f;font-size:12px;font-weight:500;transition:transform .16s,background .16s,border-color .16s,box-shadow .16s}
.sport .option-icon{font-size:32px;width:auto;transition:transform .2s}.sport.selected{background:linear-gradient(145deg,#335f94,#233f64);border-color:#88afd9;box-shadow:inset 0 1px 0 #a8c9ef30,0 5px 12px #101a2a55}.sport.selected .option-icon{transform:rotate(-9deg) scale(1.1)}
.countries{display:flex;flex-wrap:wrap;gap:8px}.country{padding:10px 12px;min-height:44px;gap:8px;border-radius:24px;background:#303239;font-size:12px;border-color:#41454f}.country .option-icon{font-size:20px;width:23px}.country.selected{background:#284e7d;border-color:#88afd9}
.search{background:#202227;border-color:#41454f;border-radius:12px}.text-button{font-size:12px}
.settings-group{padding:20px}.settings-group legend{font-size:15px;margin-bottom:18px}.settings-group legend svg{box-sizing:content-box;background:#2b3c53;padding:7px;border-radius:10px;width:19px;height:19px}
.frequency-options{gap:8px}.setting-choice>span{background:#303239;border-color:#41454f;border-radius:12px}.setting-choice input:checked+span{background:#284e7d;border-color:#88afd9;box-shadow:inset 0 1px 0 #a8c9ef20}
.importance-choice>span{position:relative;padding-left:46px;border-left-width:1px;min-height:76px}.importance-choice>span:before{content:'';position:absolute;left:17px;top:21px;width:13px;height:13px;border:1px solid #818c9e;border-radius:50%}.importance-choice input:checked+span:before{border:4px solid #aecdf2;background:#284e7d}.importance-choice small{font-size:11px}
.primary{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;min-height:56px;margin-top:8px;border-color:#658cb8;border-radius:15px;background:linear-gradient(110deg,#315c91,#254b7a);box-shadow:0 6px 18px #0c182d55}.primary span{font-size:23px;line-height:1}.save-note{text-align:center}
.sport:active,.country:active,.primary:active{transform:scale(.96)}.setting-choice:active>span{transform:scale(.98)}
.bottom-nav{padding-inline:20px;background:#24272ef5;backdrop-filter:blur(14px)}.bottom-nav button{flex-direction:row;gap:9px;min-height:46px}.bottom-nav button.active{background:#2a4160;color:#c1d9f7}
@media(hover:hover){.sport:hover{transform:translateY(-3px)}.country:hover{background:#354257}}
@media(max-width:360px){.preferences-panel,.settings-group{padding:15px}.sports{gap:6px}.sport{font-size:10px;min-height:94px}.subscription-title{font-size:24px}}
@media(prefers-reduced-motion:no-preference){.settings-header{animation:settings-enter .35s ease-out}.preferences-panel,.settings-group{animation:settings-enter .4s ease-out both}.preferences-panel:nth-of-type(2){animation-delay:.04s}.settings-group{animation-delay:.08s}@keyframes settings-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.sport,.sport .option-icon,.country,.setting-choice>span{transition:none}}

/* Editorial refinement: the feed and settings share a calm, readable rhythm. */
:root{--bg:#181d25;--surface:#222a35;--border:#354353;--blue:#315c8c;--active:#b5d5f6;--muted:#b8c5d2;background:var(--bg);color:#f3f5f7;scrollbar-color:#5d7691 var(--bg)}
::selection{background:#5279a3;color:#fff}
body{background:var(--bg)}
.app{max-width:760px}
main{padding:30px clamp(16px,5vw,42px) calc(110px + env(safe-area-inset-bottom))}
.settings-header{padding:5px 0 31px}
.settings-symbol{width:48px;height:48px;background:#26394d;border-color:#547392;border-radius:14px;transform:none}
.settings-symbol svg{transform:none}
.subscription-title{max-width:480px;font-size:clamp(26px,5vw,36px);line-height:1.16;letter-spacing:-.025em;text-wrap:balance}
.subscription-title span{color:#bfdcff}
.preferences-panel,.settings-group{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:clamp(18px,3.5vw,28px);margin-bottom:14px}
.section-heading h2,.settings-group legend{font-size:16px;line-height:1.35;font-weight:650}
.section-heading{margin-bottom:18px}
.sports{gap:10px}
.sport{min-height:96px;background:#293442;border:1px solid #3e4e5e;border-radius:13px;gap:9px;font-size:13px;padding:12px 8px}
.sport .option-icon{font-size:29px}
.sport.selected,.country.selected,.setting-choice input:checked+span{background:#294d72;border-color:#8cb9e6;box-shadow:none}
.sport.selected .option-icon{transform:none}
.country{background:#293442;border-color:#3e4e5e;font-size:13px;min-height:46px}
.search{background:#1a222d;border-color:#4a5a6c;font-size:15px;min-height:50px}
.search::placeholder{color:#aebdcb}
.text-button{font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.setting-choice>span{background:#293442;border-color:#3e4e5e;min-height:52px}
.setting-description,.importance-choice small{font-size:13px;line-height:1.5;color:#b8c5d2}
.importance-choice>span{padding-left:46px;min-height:78px}
.primary{background:#3c70a8;border-color:#77a6d4;box-shadow:none;min-height:56px;border-radius:13px;margin-top:8px}
.bottom-nav{width:min(100%,760px);background:#202936;border-color:#415163;backdrop-filter:none;padding-inline:clamp(16px,5vw,42px)}
.bottom-nav button{border-radius:10px;font-size:13px;font-weight:600}
.bottom-nav button.active{background:#304d6a;color:#e7f3ff}
.feed-header{padding:2px 0 23px}
.feed-header h1{font-size:clamp(28px,5vw,38px);font-weight:700;line-height:1.1;letter-spacing:-.025em;text-wrap:balance}
.feed-header p{margin:9px 0 0;color:var(--muted);font-size:14px}
.feed-tabs{gap:28px;margin-bottom:26px}
.feed-tabs button{font-size:14px;min-height:48px;padding-bottom:10px}
.post{margin-bottom:32px;padding-bottom:30px;border-color:var(--border)}
.post-meta{color:#c4d0db;font-size:12px;font-weight:600;letter-spacing:.015em;margin-bottom:13px;justify-content:space-between}
.post-meta time{font-variant-numeric:tabular-nums}
.post-image{border-radius:12px;background:#293442}
.post h2{font-size:clamp(20px,3vw,25px);line-height:1.27;letter-spacing:-.015em;margin:18px 0 10px;font-weight:680;text-wrap:pretty}
.post p{font-size:15px;line-height:1.65;color:#d8e0e8;max-width:70ch}
.post-footer{font-size:12px;line-height:1.4;align-items:flex-start;flex-wrap:wrap;margin-top:16px}
.post-footer a{min-height:34px;color:#c1dcf9;flex-shrink:1}
button:focus-visible,a:focus-visible,input:focus-visible,.setting-choice input:focus-visible+span{outline-color:#b9ddff}
@media(hover:hover){.sport:hover,.country:hover,.setting-choice:hover>span{border-color:#99c3e7}.sport:hover{transform:none}.primary:hover{background:#4b80b7}.post-footer a:hover{color:#fff}}
@media(max-width:420px){.sports{grid-template-columns:repeat(2,minmax(0,1fr))}.sport{min-height:77px;flex-direction:row;text-align:left;justify-content:flex-start;padding:10px 12px}.sport .option-icon{font-size:25px;min-width:30px}.post h2{font-size:21px}.post-footer{display:block}.post-footer span{display:block;margin-top:4px}}
/* Keep settings legible as soon as the Telegram webview opens. */
.settings-header,.preferences-panel,.settings-group{animation:none}
@media(prefers-reduced-motion:reduce){.sport,.country,.setting-choice>span{transition:none}}

/* Text-only news: no external images or publisher assets. */
.feed-edition{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px;color:var(--muted);font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
.post h2{margin-top:0}
.post-meta{gap:14px;align-items:baseline;flex-wrap:wrap}
.post-meta time{white-space:nowrap;color:var(--muted);font-weight:400}
.post{margin-bottom:26px;padding-bottom:26px}
/* Original geometric sports covers; decorative, not event photography. */
.sport-cover{display:block;width:100%;height:auto;aspect-ratio:8/3;object-fit:contain;border-radius:12px;margin:0 0 18px}