:root{--bg:#f2f4fb;--surface:#fff;--ink:#171a2b;--muted:#7b8196;--line:#e7e9f2;--green:#6655e8;--green-dark:#5140d3;--soft-green:#f0eeff;--shadow:0 12px 35px rgba(37,35,85,.07)}
body{background:radial-gradient(ellipse at 75% -15%,#e5e1ff 0,transparent 38%),var(--bg);font-family:Inter,'DM Sans',Arial,sans-serif;padding-bottom:84px}
.topbar{height:76px;padding:0 max(calc((100% - 1260px)/2),28px);gap:38px;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom:1px solid #e9e8f2}
.brand{font-size:19px;letter-spacing:2px}.brand-mark{border-radius:12px;background:linear-gradient(140deg,#745fff,#493bd2);box-shadow:0 7px 16px #6655e844}
.brand-accent{color:var(--green)}.search-box{border-radius:12px;background:#f4f3fa}.icon-button{color:#65627c}
.layout{max-width:1260px;grid-template-columns:minmax(0,1fr) 280px;gap:24px;margin:30px auto 42px;padding:0 25px}
.sidebar{position:fixed;z-index:7;top:auto;bottom:0;left:0;right:0;height:70px;padding:0 18px;background:rgba(255,255,255,.95);border-top:1px solid #e7e7f0;backdrop-filter:blur(16px);display:flex;justify-content:center;align-items:center}
.sidebar .mini-profile,.sidebar .sidebar-card,.sidebar .sidebar-note{display:none}.bottom-brand{display:flex;align-items:center;margin-right:20px;text-decoration:none}.bottom-brand .brand-mark{width:34px;height:34px}.main-nav{width:min(680px,100%);display:flex;justify-content:space-around;gap:8px;padding:0}.nav-link{height:48px;min-width:100px;justify-content:center;border-radius:13px;color:#77758d}.nav-link.active,.nav-link:hover{color:#5545db;background:#f0eeff}.nav-link>span{font-size:19px}.nav-link em{margin-left:0}
.page-heading{margin:6px 0 22px}.page-heading h1{font-size:27px;letter-spacing:-.8px}.eyebrow{color:#6655e8}.story-strip,.composer,.post-card,.widget,.game-card,.profile-card,.chat-layout{border-color:#e8e8f1;border-radius:16px;box-shadow:var(--shadow)}.story-strip{padding:16px 19px}.story-ring{border-color:#7868f2}.add-ring{border-color:#c8c4e4;color:#6554e6}.composer{padding:17px 19px}.primary-button{background:linear-gradient(135deg,#755fff,#5140d3);border-radius:9px;box-shadow:0 6px 14px #6655e82c}.primary-button:hover{background:#5140d3}.post-card{padding:18px}.post-copy{line-height:1.75}.match-chip{border-radius:12px;background:#f9f8ff}.post-actions{gap:26px}.post-actions button{padding:3px 0}.widget{padding:18px}.page.active{animation:page-in .22s ease-out}@keyframes page-in{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.logout-button{border:1px solid var(--line);border-radius:9px;background:#fff;color:#68667d;padding:8px 12px;font-family:inherit;font-size:11px;font-weight:600;cursor:pointer}.avatar-small{background:#eeeaff;color:#5545db}.rightbar{top:96px}.prediction-slip{border-radius:16px}
.auth-gate{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 10% 15%,#8f7bff 0,transparent 28%),radial-gradient(circle at 90% 80%,#372caa 0,transparent 35%),linear-gradient(135deg,#17172e,#28234f 58%,#17172e);overflow:auto}.auth-gate[hidden]{display:none}.auth-brand{position:absolute;top:32px;left:max(calc((100% - 1040px)/2),28px);display:flex;align-items:center;gap:11px;color:#fff;font-size:19px;font-weight:800;letter-spacing:2px}.auth-brand .brand-mark{background:linear-gradient(140deg,#8d7bff,#5c4adf);color:#fff}.auth-card{width:min(100%,440px);padding:34px;background:#fff;border:1px solid #ffffff70;border-radius:23px;box-shadow:0 25px 90px #09081966}.auth-heading{text-align:center;margin-bottom:24px}.auth-heading .eyebrow{font-size:9px;letter-spacing:1.4px}.auth-heading h1{font-size:27px;margin:9px 0;color:#1d1d31}.auth-heading>p:last-child{font-size:12px;color:#85869a;margin:0}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#f2f1f9;border-radius:11px;margin-bottom:21px}.auth-tab{border:0;border-radius:8px;padding:10px;background:transparent;color:#77758b;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer}.auth-tab.active{background:#fff;color:#5545d9;box-shadow:0 2px 7px #29234a14}.auth-form{display:grid;gap:14px}.auth-form label{display:grid;gap:7px;color:#55566c;font-size:11px;font-weight:700}.auth-form input{height:43px;width:100%;border:1px solid #e4e4ef;border-radius:9px;padding:0 12px;outline:0;font-family:inherit;font-size:12px;background:#fcfcff}.auth-form input:focus{border-color:#887af1;box-shadow:0 0 0 3px #7664ed1a}.register-only{display:none!important}.register-mode .register-only{display:grid!important}.auth-submit{height:44px;margin-top:3px}.auth-message{min-height:15px;margin:0;color:#d44f61;font-size:11px;line-height:1.4}.auth-disclaimer{display:block;text-align:center;color:#9999a9;font-size:9px;margin-top:9px}
@media(max-width:1120px){.layout{grid-template-columns:minmax(0,1fr);max-width:760px}.rightbar{display:none}.topbar{padding:0 24px}}
@media(max-width:720px){body{padding-bottom:78px}.topbar{height:62px;padding:0 13px;gap:12px}.brand{font-size:16px;letter-spacing:1.5px}.brand-mark{width:31px;height:31px}.search-box{width:auto;flex:1}.top-actions{gap:8px}.logout-button{padding:7px 8px;font-size:10px}.layout{margin:18px auto 28px;padding:0 12px}.sidebar{height:64px;padding:0 7px}.bottom-brand{margin-right:4px}.bottom-brand .brand-mark{width:30px;height:30px}.main-nav{width:auto;flex:1;gap:2px}.nav-link{min-width:0;flex:1;height:48px;padding:0 5px;display:flex;flex-direction:column;gap:2px;font-size:9px}.nav-link>span{font-size:17px}.nav-link em{display:none}.page-heading h1{font-size:22px}.auth-brand{top:17px;left:20px;font-size:16px}.auth-card{padding:27px 22px;border-radius:19px}.auth-heading h1{font-size:24px}.demo-label{font-size:8px}.prediction-slip{right:12px;bottom:76px}}
@media(max-width:390px){.search-box input{font-size:10px}.icon-button{font-size:19px}.logout-button{padding:6px;font-size:9px}.page-heading{gap:8px}.page-heading h1{font-size:20px}.auth-card{padding:24px 18px}}.topbar>.search-box{display:none}
.media-picker{display:inline-flex;align-items:center;gap:5px;color:var(--green-dark);font-size:11px;font-weight:600;cursor:pointer}.media-picker input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.media-preview:empty{display:none}.media-preview{margin:10px 0 0 50px}.post-media{display:block;width:min(100%,480px);max-height:380px;object-fit:contain;border-radius:12px;background:#101018}.message-media{display:block;max-width:220px;max-height:220px;object-fit:contain;border-radius:8px;margin-top:6px}.chat-form .media-picker{padding:0 5px}.chat-form .media-picker input{width:1px}.live-data-notice{line-height:1.8}.live-data-notice strong{color:var(--ink)}.community-note{font-size:11px;color:var(--muted);line-height:1.7}.chat-contacts{display:grid}.chat-list #chatContacts .empty-state{padding:14px 8px;font-size:10px}.chat-person.selected{background:#f0eeff}.chat-title small{color:var(--muted)}
.notification-wrap{position:relative}.notification-wrap .icon-button{position:relative}.notification-badge{position:absolute;top:-5px;right:-5px;min-width:16px;height:16px;padding:0 4px;border-radius:10px;background:#e84d68;color:#fff;font-size:9px;font-weight:700;line-height:16px;text-align:center}.notification-panel{position:absolute;z-index:30;top:calc(100% + 14px);right:-56px;width:min(350px,calc(100vw - 24px));max-height:min(440px,70vh);overflow:auto;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 40px #171a2b26}.notification-panel[hidden]{display:none}.notification-panel h2{margin:0 0 10px;color:var(--ink);font-size:15px}.notification-item{padding:11px 12px;border:1px solid var(--line);border-radius:10px;margin-top:8px;background:#fff}.notification-item.unread{border-color:#cbc5ff;background:#f8f7ff}.notification-item strong{display:block;color:var(--ink);font-size:11px}.notification-item p{margin:5px 0;color:var(--muted);font-size:10px;line-height:1.5}.notification-item small{color:var(--muted);font-size:9px}
.message{overflow-wrap:anywhere}.chat-messages .empty-state{margin:auto}.profile-stats{gap:0}
@media(max-width:720px){.media-preview{margin-left:0}.composer-bottom{gap:8px;flex-wrap:wrap}.composer-bottom>span{display:none}.chat-form .media-picker{font-size:10px}.message-media{max-width:160px;max-height:160px}}
.fixture-toolbar,.fixture-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:12px}.prediction-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.prediction-choice,.prediction-submit{border:1px solid var(--line);border-radius:8px;background:#f8f7ff;padding:9px 8px;color:var(--muted);font:inherit;font-size:11px;cursor:pointer}.prediction-choice.selected{background:var(--soft-green);border-color:#aaa0ff;color:var(--green-dark);font-weight:700}.prediction-submit{grid-column:1/-1;background:var(--green);border-color:var(--green);color:#fff;font-weight:700}.prediction-submit:disabled,.prediction-choice:disabled{opacity:.55;cursor:not-allowed}.my-predictions{margin-top:24px}.prediction-list{display:grid;gap:9px}.prediction-item{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:12px 14px;font-size:11px}.prediction-item strong,.prediction-item small{display:block}.prediction-item small{margin-top:4px;color:var(--muted)}.prediction-saved{grid-column:1/-1;margin:11px 0 0;color:var(--green-dark);font-size:10px;font-weight:600}.prediction-status{flex:0 0 auto;border-radius:20px;padding:5px 9px;font-size:9px;font-weight:700}.prediction-status.pending{background:#fff5da;color:#9a7621}.prediction-status.won{background:#e7f8ef;color:#14885e}.prediction-status.lost{background:#fff0f0;color:#c44d59}.api-game-score{grid-template-columns:1fr auto 1fr;gap:10px}.api-game-score>div{min-width:0}.api-game-score>div strong{overflow-wrap:anywhere}.fixture-detail-toggle{padding:7px 10px;margin-top:5px}.fixture-details{margin-top:12px;padding:10px 12px;border-radius:10px;background:#f8f7ff;color:var(--muted);font-size:11px;line-height:1.6}.fixture-details p{margin:4px 0}.fixture-details strong{color:var(--ink)}.fixture-day{border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px 15px;color:var(--muted);font-family:inherit;font-size:12px;font-weight:600;cursor:pointer}.fixture-day.active{background:var(--soft-green);border-color:#d5d0ff;color:var(--green-dark)}.fixture-date-label{display:flex;align-items:center;gap:8px;margin-left:auto;color:var(--muted);font-size:11px}.fixture-date-label input,.fixture-filters select{height:38px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 10px;color:var(--ink);font:inherit;font-size:11px}.fixture-search{height:38px;flex:1;min-width:190px;display:flex;align-items:center;gap:7px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted)}.fixture-search input{width:100%;border:0;outline:0;background:transparent;font:inherit;font-size:11px;color:var(--ink)}.fixture-date-heading{margin:17px 2px 10px;color:var(--ink);font-size:13px;font-weight:700;text-transform:capitalize}.fixture-filters .outline-button{height:38px;padding:0 12px}.fixture-toolbar+.fixture-filters{margin-top:0}@media(max-width:480px){.fixture-date-label{margin-left:0}.fixture-date-label input{max-width:150px}.fixture-filters select{flex:1}.fixture-search{min-width:100%}}
.fixture-league-logo{width:20px;height:20px;object-fit:contain;flex:0 0 20px}.fixture-team-logo{width:34px;height:34px;object-fit:contain;margin-bottom:2px}.api-game-score>div{align-content:center}.game-meta>strong{min-width:0}
.prediction-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.prediction-tab{border:1px solid var(--line);border-radius:20px;background:#fff;padding:9px 14px;color:var(--muted);font:inherit;font-size:11px;font-weight:600;cursor:pointer}.prediction-tab.active{background:var(--soft-green);border-color:#c9c2ff;color:var(--green-dark)}.fixture-extras{margin-top:14px}.fixture-extras h3{margin:16px 0 8px;color:var(--ink);font-size:12px}.fixture-extras h4{margin:11px 0 6px;color:var(--green-dark);font-size:11px}.fixture-extras p{font-size:10px;line-height:1.6;overflow-wrap:anywhere}.lineup-team{border-top:1px solid var(--line);padding:6px 0}.lineup-team>strong{font-size:11px}.market-group{margin:9px 0;padding:10px;background:#fff;border:1px solid var(--line);border-radius:9px}.market-group>strong{font-size:10px}.market-options{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.market-option{border:1px solid var(--line);border-radius:7px;background:#f8f7ff;padding:7px 9px;color:var(--muted);font:inherit;font-size:10px;cursor:pointer}.market-option.selected{background:var(--soft-green);border-color:#aaa0ff;color:var(--green-dark);font-weight:700}.market-save{border:0;border-radius:7px;background:var(--green);padding:7px 10px;color:#fff;font:inherit;font-size:10px;font-weight:700;cursor:pointer}@media(max-width:720px){.prediction-tabs{gap:5px}.prediction-tab{padding:8px 10px;font-size:10px}.prediction-item{align-items:flex-start}.prediction-status{white-space:nowrap}}
.api-key-dialog{width:min(420px,calc(100% - 28px));border:1px solid var(--line);border-radius:12px;padding:22px;color:var(--ink);box-shadow:0 18px 60px #171a2b33}.api-key-dialog::backdrop{background:#171a2b80;backdrop-filter:blur(3px)}.api-key-dialog form{display:grid;gap:10px}.api-key-dialog h2{margin:0 0 4px;font-size:17px}.api-key-dialog label{font-size:11px;font-weight:700}.api-key-dialog input{height:40px;border:1px solid var(--line);border-radius:8px;padding:0 11px;font:inherit;font-size:12px}.api-key-dialog p{margin:0;color:var(--muted);font-size:10px;line-height:1.6}.api-key-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
.follow-search{display:block;margin:0 0 10px}.follow-search input{width:100%;height:38px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:11px;outline:0}.follow-user{display:flex;align-items:center;gap:10px;padding:10px 12px;margin-top:7px;background:#fff;border:1px solid var(--line);border-radius:11px}.follow-user-details{display:grid;gap:4px;flex:1;min-width:0}.follow-user-details strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.follow-user-details small{color:var(--muted);font-size:9px}.follow-toggle{padding:7px 10px;white-space:nowrap}.follow-toggle.following{background:var(--soft-green);border-color:#d5d0ff;color:var(--green-dark)}.prediction-option{min-width:0;text-align:center}.prediction-option .prediction-choice{width:100%;height:100%;min-height:36px}.prediction-option .prediction-choice:disabled{opacity:1;cursor:default}.prediction-followers{display:flex;justify-content:center;flex-wrap:wrap;gap:3px;min-height:22px;padding-top:4px}.prediction-follower-avatar{width:21px;height:21px;flex:0 0 21px;font-size:7px;border:1px solid #fff;box-shadow:0 1px 3px #171a2b22}.prediction-controls{align-items:start}.prediction-controls>.prediction-saved{grid-column:1/-1}@media(max-width:720px){.profile-stats{gap:15px}.follow-user{padding:8px}.follow-user .avatar{width:32px;height:32px;flex-basis:32px;font-size:10px}.follow-toggle{padding:7px 8px;font-size:10px}.prediction-option .prediction-choice{padding:8px 4px;font-size:9px}}
.home-user-search{position:relative;margin:0 0 16px}.home-user-search .follow-search{display:flex;align-items:center;gap:8px;margin:0;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted)}.home-user-search .follow-search input{border:0;padding:0;outline:0}.home-user-results:not([hidden]){position:absolute;z-index:4;top:calc(100% + 6px);left:0;right:0;max-height:280px;overflow:auto;padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.profile-edit-dialog{width:min(440px,calc(100% - 28px));border:1px solid var(--line);border-radius:18px;padding:24px;color:var(--ink);box-shadow:0 20px 60px #171a2b33}.profile-edit-dialog::backdrop{background:#171a2b80;backdrop-filter:blur(3px)}.profile-edit-dialog form{display:grid;gap:13px}.profile-edit-dialog h2{margin:0 0 4px;font-size:18px}.profile-edit-dialog label{display:grid;gap:7px;color:var(--muted);font-size:11px;font-weight:700}.profile-edit-dialog input:not([type=file]),.profile-edit-dialog textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:10px 11px;color:var(--ink);font:inherit;font-size:12px;outline:0}.profile-edit-dialog textarea{resize:vertical}.profile-edit-dialog input[type=file]{font:inherit;font-size:11px}.profile-edit-dialog label small{font-size:9px;font-weight:400}.profile-edit-preview{width:70px;height:70px;border-radius:50%;background:#eeeaff;color:#5545db;display:grid;place-items:center;font-size:18px;font-weight:800;background-size:cover;background-position:center}.profile-edit-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}.profile-edit-actions .primary-button,.profile-edit-actions .outline-button{font:inherit;font-size:11px;padding:10px 14px}
    
