:root{--navy:#123b63;--blue:#1769aa;--sky:#eaf4ff;--ink:#172331;--muted:#667789;--line:#dfe7ef;--bg:#f3f6f9;--white:#fff;--green:#16845b;--red:#b93636;--gold:#fff4c2;--silver:#edf1f5;--bronze:#f4dfcf;--shadow:0 8px 28px rgba(24,54,82,.09)}
*{box-sizing:border-box}html{font-size:17px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;line-height:1.7}a{color:var(--blue);text-decoration:none}button,input,select{font:inherit}.topbar{height:68px;background:var(--navy);color:#fff;display:flex;align-items:center;padding:0 max(18px,calc((100vw - 1320px)/2));position:sticky;top:0;z-index:50;box-shadow:0 3px 15px rgba(0,0,0,.18)}.brand{display:flex;align-items:center;gap:10px;color:#fff;font-size:1.2rem;font-weight:800;white-space:nowrap}.brand-ball{font-size:1.55rem}.main-nav{display:flex;align-items:center;gap:5px;margin-right:auto}.main-nav>a,.nav-drop>summary{color:#f5f9ff;padding:9px 10px;border-radius:9px;cursor:pointer;font-size:.91rem;list-style:none}.main-nav>a:hover,.nav-drop>summary:hover{background:rgba(255,255,255,.12)}.admin-link{background:#9b6b14}.nav-drop{position:relative}.nav-drop summary::-webkit-details-marker{display:none}.nav-drop>div{position:absolute;right:0;top:44px;background:#fff;border-radius:12px;box-shadow:var(--shadow);min-width:230px;padding:8px;border:1px solid var(--line)}.nav-drop>div a{display:block;padding:9px 12px;border-radius:8px;color:var(--ink)}.nav-drop>div a:hover{background:var(--sky)}.menu-toggle{display:none;margin-right:auto;border:0;background:transparent;color:#fff;font-size:1.7rem}.page-shell{width:min(1320px,calc(100% - 32px));margin:28px auto 70px}.footer{text-align:center;color:var(--muted);padding:20px;font-size:.85rem}.flash{padding:13px 16px;border-radius:12px;margin-bottom:16px;font-weight:700}.flash.success{background:#e8f8f0;color:#116543;border:1px solid #b8e6d1}.flash.error{background:#fff0f0;color:#9f2e2e;border:1px solid #efc1c1}.hero{background:linear-gradient(125deg,#123b63,#1a75b9);color:#fff;border-radius:24px;padding:34px;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow);overflow:hidden;position:relative}.hero:after{content:"⚽";position:absolute;left:9%;font-size:9rem;opacity:.08;transform:rotate(-18deg)}.hero h1{margin:4px 0 8px;font-size:2rem}.hero p{margin:0;max-width:680px}.eyebrow{font-size:.82rem;background:rgba(255,255,255,.16);padding:5px 10px;border-radius:99px}.hero-score{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);border-radius:18px;padding:16px 28px;text-align:center;min-width:150px}.hero-score span,.hero-score small{display:block}.hero-score strong{font-size:2.5rem;display:block;line-height:1.15}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0 32px}.quick-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;color:var(--ink);box-shadow:0 4px 16px rgba(25,55,80,.05);transition:.2s}.quick-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.quick-card b,.quick-card span{display:block}.quick-card b{font-size:1.12rem}.quick-card span{color:var(--muted);font-size:.88rem}.quick-card.asia{border-color:#d3b35a;background:#fffaf0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:26px 0 14px}.section-head h1,.section-head h2{margin:0}.section-head p{margin:2px 0 0;color:var(--muted)}.btn{border:0;border-radius:10px;padding:9px 15px;cursor:pointer;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:5px}.btn.primary{background:var(--blue);color:#fff}.btn.secondary{background:#e7eef5;color:#24445f}.btn.success{background:var(--green);color:#fff}.btn.danger{background:var(--red);color:#fff}.btn.large{padding:13px 28px;font-size:1.02rem}.btn.full{width:100%}.btn.tiny{font-size:.78rem;padding:6px 9px}.match-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.compact-list{grid-template-columns:repeat(3,minmax(0,1fr))}.match-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px;box-shadow:0 3px 12px rgba(25,55,80,.04)}.match-meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.78rem;border-bottom:1px dashed var(--line);padding-bottom:8px;margin-bottom:12px}.teams-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.tabbar,.league-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.tabbar a,.league-tabs a{background:#fff;border:1px solid var(--line);padding:9px 15px;border-radius:11px;color:var(--ink);font-weight:700}.tabbar a.active,.league-tabs a.active{background:var(--navy);color:#fff;border-color:var(--navy)}.league-tabs a{font-size:.88rem}.prediction-row{display:grid;grid-template-columns:minmax(90px,1fr) 58px 18px 58px minmax(90px,1fr);align-items:center;gap:7px}.prediction-row input{width:58px;height:48px;border:2px solid #b9c9d8;border-radius:10px;text-align:center;font-size:1.15rem;font-weight:800}.team-name{font-weight:800;text-align:left}.team-name.away{text-align:right}.score-sep{text-align:center;font-weight:900}.result-chip{margin-top:10px;background:#eef7ef;color:#1a6848;padding:6px 10px;border-radius:8px;text-align:center}.sticky-save{position:sticky;bottom:15px;display:flex;justify-content:center;margin:22px 0;z-index:20}.sticky-save .btn{box-shadow:0 8px 22px rgba(23,105,170,.3)}.empty-state,.notice{background:#fff;border:1px dashed #b9c9d8;border-radius:14px;padding:25px;text-align:center;color:var(--muted);grid-column:1/-1}.notice{background:#fff8e7;border-style:solid;color:#765b17;margin-bottom:14px}.group-picker{background:#fff;border:1px solid var(--line);padding:15px;border-radius:15px;margin-bottom:15px}.group-picker label{display:flex;align-items:center;gap:14px;font-weight:800}.group-picker select{min-width:220px}.afc-panel,.table-card,.panel,.center-card,.admin-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 3px 15px rgba(20,50,80,.04);margin-bottom:18px}.afc-panel h2,.table-card h2{margin-top:0}.date-divider{text-align:center;background:#edf3f8;color:#425c72;margin:18px -20px 8px;padding:7px;font-weight:800}.afc-game{display:grid;grid-template-columns:1fr 160px 1fr;align-items:center;gap:12px;padding:14px 6px;border-bottom:1px solid #edf0f3}.afc-game b:first-child{text-align:left}.afc-game b:nth-of-type(2){text-align:right}.afc-time{text-align:center;color:var(--muted);font-size:.85rem}.final-score{grid-column:1/-1;text-align:center;color:var(--green)}.responsive-table{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{padding:11px 10px;border-bottom:1px solid #e8edf2;text-align:center}th{background:#f0f4f8;color:#4a6175;font-size:.85rem}.team-cell{text-align:right;font-weight:800}.center-card{max-width:650px;margin:45px auto;text-align:center;padding:35px}.big-icon{font-size:3rem}.status-box{padding:12px;border-radius:10px;margin:18px}.status-box.pending{background:#fff4cf}.status-box.approved{background:#e3f7ed}.status-box.rejected{background:#ffe4e4}.muted{color:var(--muted)}.ranking-list{display:grid;gap:9px}.rank-row{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 18px}.rank-row.gold{background:linear-gradient(90deg,#fff8d6,#fff);border-color:#e6c84d}.rank-row.silver{background:linear-gradient(90deg,#eef3f7,#fff);border-color:#bdc8d2}.rank-row.bronze{background:linear-gradient(90deg,#f8e4d5,#fff);border-color:#c9916b}.rank-number{font-size:1.7rem;text-align:center;font-weight:900}.rank-person b,.rank-person small{display:block}.rank-person small{color:var(--muted)}.rank-points{font-size:1.35rem}.rank-points small{font-size:.72rem}.period-nav{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 15px;margin-bottom:14px}.score-rule-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.score-rule-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;text-align:center}.score-rule-grid strong{display:inline-grid;place-items:center;width:65px;height:65px;border-radius:50%;background:var(--navy);color:#fff;font-size:1.8rem}.score-rule-grid h2{font-size:1rem;margin:12px 0 5px}.score-rule-grid p{font-size:.85rem;color:var(--muted);margin:0}.simple-rules{background:#fff;border-radius:18px;padding:22px;margin-top:16px;border:1px solid var(--line)}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-stack{display:grid;gap:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.span-2{grid-column:1/-1}label{font-weight:700;color:#314a60}input,select{display:block;width:100%;border:1px solid #bdcad5;background:#fff;border-radius:10px;padding:10px 12px;margin-top:4px;color:var(--ink)}input:focus,select:focus{outline:3px solid rgba(23,105,170,.15);border-color:var(--blue)}.auth-card{width:min(460px,100%);margin:55px auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:var(--shadow)}.wide-auth{width:min(650px,100%)}.auth-card h1{text-align:center}.auth-note{text-align:center}.fresh-login{font-size:.82rem;color:var(--muted);margin-top:20px}.admin-quick{display:grid;grid-template-columns:1fr 1.4fr;gap:16px}.admin-box{margin:0}.request-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:10px 0}.request-row small{display:block;color:var(--muted)}.result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.result-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:15px}.big-result{display:grid;grid-template-columns:1fr 25px 1fr;align-items:end;gap:8px;margin-bottom:12px}.big-result label{text-align:center}.big-result b{display:block;min-height:56px;color:var(--ink)}.big-result input{font-size:1.5rem;font-weight:900;text-align:center;height:58px}.big-result>span{align-self:end;margin-bottom:14px;text-align:center;font-weight:900}.search-form{display:flex;gap:7px}.search-form input{margin:0;min-width:250px}
@media(max-width:980px){html{font-size:16px}.menu-toggle{display:block}.main-nav{display:none;position:fixed;top:68px;left:12px;right:12px;background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:10px;max-height:calc(100vh - 90px);overflow:auto}.menu-open .main-nav{display:block}.main-nav>a,.nav-drop>summary{display:block;color:var(--ink);padding:11px}.nav-drop>div{position:static;box-shadow:none;border:0;background:#f3f6f9;margin:3px 8px}.quick-grid{grid-template-columns:repeat(2,1fr)}.compact-list,.result-grid{grid-template-columns:repeat(2,1fr)}.score-rule-grid{grid-template-columns:repeat(2,1fr)}.admin-quick{grid-template-columns:1fr}}
@media(max-width:680px){.page-shell{width:min(100% - 20px,1320px);margin-top:14px}.hero{padding:22px;display:block}.hero h1{font-size:1.55rem}.hero-score{margin-top:18px;width:140px}.quick-grid,.match-list,.compact-list,.result-grid,.two-column,.admin-quick{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.prediction-row{grid-template-columns:1fr 48px 12px 48px 1fr;gap:4px}.prediction-row input{width:48px;height:45px}.team-name{font-size:.82rem}.afc-game{grid-template-columns:1fr 110px 1fr;font-size:.88rem}.afc-time{font-size:.72rem}.score-rule-grid{grid-template-columns:1fr 1fr}.rank-row{grid-template-columns:45px 1fr auto;padding:10px}.rank-points{font-size:1.08rem}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.period-nav{font-size:.8rem;gap:7px}.search-form{width:100%}.search-form input{min-width:0}.main-nav{font-size:1rem}}

/* V17.1 - weekly prediction tabs */
.week-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:11px 14px;margin:0 0 12px}.week-arrow{background:var(--sky);color:var(--navy);padding:7px 12px;border-radius:9px;font-weight:800;white-space:nowrap}.weekday-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:16px}.weekday-tab{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:13px;padding:10px 7px;cursor:pointer;display:grid;gap:1px;text-align:center;transition:.18s}.weekday-tab span{font-weight:900}.weekday-tab small{color:var(--muted);font-size:.68rem}.weekday-tab b{font-size:.72rem;color:var(--blue)}.weekday-tab:hover{border-color:#8fb5d5;transform:translateY(-1px)}.weekday-tab.active{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 6px 16px rgba(18,59,99,.18)}.weekday-tab.active small,.weekday-tab.active b{color:#e7f2ff}.weekday-panel{display:none}.weekday-panel.active{display:block}.day-heading{display:flex;align-items:center;justify-content:space-between;background:#eaf4ff;border:1px solid #cfe1f1;border-radius:13px;padding:9px 14px;margin-bottom:12px}.day-heading h2{font-size:1.05rem;margin:0}.day-heading span{color:var(--muted);font-size:.84rem}
@media(max-width:980px){.weekday-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:680px){.week-navigation{font-size:.78rem;padding:9px}.week-arrow{padding:6px 8px}.weekday-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.weekday-tab{grid-template-columns:1fr auto;align-items:center;text-align:right;padding:9px 10px}.weekday-tab small{grid-column:1}.weekday-tab b{grid-column:2;grid-row:1/3}.day-heading{padding:8px 10px}}

/* V17.2 - medals, news, notifications and admin reliability */
.notification-link{position:relative}.notification-link b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#e23b3b;color:#fff;font-size:.72rem;margin-right:4px}.medal-counts{display:flex;gap:12px;align-items:center;font-size:1.02rem;white-space:nowrap}.medal-counts span{background:rgba(255,255,255,.7);border:1px solid rgba(100,120,140,.18);border-radius:10px;padding:5px 9px}.legal-rules{border-right:5px solid var(--green)}.news-list,.notification-list{display:grid;gap:14px}.news-card,.notification-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 3px 15px rgba(20,50,80,.04)}.news-card h2,.notification-card h2{margin:4px 0 7px;font-size:1.08rem}.news-card p,.notification-card p{margin:0 0 12px;color:#465b6d}.news-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:.8rem}.news-tags{display:block;color:var(--blue);margin:8px 0}.notification-card{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.notification-card time{color:var(--muted);font-size:.76rem;white-space:nowrap}.notification-card.schedule{border-right:5px solid #c98c23}.notification-card.reminder{border-right:5px solid var(--blue)}.health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.health-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px}.health-card span,.health-card strong{display:block}.health-card span{color:var(--muted);font-size:.78rem}.health-card strong{margin-top:4px;font-size:.95rem}.card-teams{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;text-align:center}.schedule-edit{border:1px dashed #b8c8d6;background:#f8fbfd;border-radius:12px;padding:10px;margin-bottom:12px}.schedule-edit label{font-size:.82rem}.news-admin-list{display:grid;gap:10px}.news-admin-card{display:grid;grid-template-columns:1fr auto;gap:14px;border:1px solid var(--line);border-radius:13px;padding:14px;background:#fbfdff}.news-admin-card h3{margin:4px 0}.news-admin-card p{margin:0 0 6px;color:var(--muted)}.inline-actions{display:flex;gap:7px;align-items:center}.flash.info{background:#eef5ff;color:#255886;border:1px solid #c8dcf2}
@media(max-width:980px){.health-grid{grid-template-columns:repeat(2,1fr)}.news-admin-card{grid-template-columns:1fr}.inline-actions{justify-content:flex-start}}
@media(max-width:680px){.health-grid{grid-template-columns:1fr 1fr}.medal-counts{gap:4px;font-size:.83rem}.medal-counts span{padding:4px 5px}.notification-card{display:block}.notification-card time{display:block;margin-top:8px}.inline-actions{flex-wrap:wrap}}
.notification-card.started{border-right:5px solid var(--green)}

/* V18 FINAL: شمسی، مسابقات آزاد، اعتبارسنجی، ویرایش پیش‌بینی و به‌روزرسانی */
textarea{display:block;width:100%;border:1px solid #bdcad5;background:#fff;border-radius:10px;padding:10px 12px;margin-top:4px;color:var(--ink);font:inherit;resize:vertical}textarea:focus{outline:3px solid rgba(23,105,170,.15);border-color:var(--blue)}
.content-update-banner{position:sticky;top:68px;z-index:45;background:#fff4cf;border-bottom:1px solid #e3c75b;color:#674f00;text-align:center;padding:9px 16px;font-weight:800}.content-update-banner a{margin-right:10px;text-decoration:underline}
.single-prediction-form{display:grid;gap:12px}.prediction-edit-btn{margin-top:2px}.locked-note{text-align:center;background:#f0f2f4;color:#667789;border-radius:9px;padding:8px;font-weight:800}.winner-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px}.winner-choice label{margin:0}.winner-choice input{position:absolute;opacity:0}.winner-choice span{display:block;border:2px solid #c5d1dc;border-radius:12px;padding:13px;text-align:center;cursor:pointer;background:#fff}.winner-choice input:checked+span{background:var(--navy);color:#fff;border-color:var(--navy)}.winner-choice input:disabled+span{cursor:not-allowed;opacity:.65}
.admin-section{margin-bottom:20px}.admin-quick.three{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-box,.admin-form-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:17px}.admin-box h3,.admin-form-card h3{margin-top:0}.date-time-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:10px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;margin-bottom:20px}.panel>.section-head:first-child{margin-top:0}.news-editor-list{display:grid;gap:12px}.news-editor-card{display:grid;gap:9px;background:#f8fbfd;border:1px solid var(--line);border-radius:14px;padding:13px}.news-editor-card .inline-actions{margin-top:2px}.poll-admin-list,.update-admin-list{display:grid;gap:9px;margin-top:14px}.poll-admin-card,.update-admin-list article{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f8fbfd;border:1px solid var(--line);border-radius:12px;padding:11px 13px}.poll-admin-card small,.update-admin-list small{display:block;color:var(--muted)}
.poll-list,.update-list{display:grid;gap:15px}.poll-card,.update-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 3px 15px rgba(20,50,80,.04)}.poll-head,.update-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.poll-head h2,.update-card h2{margin:0 0 4px;font-size:1.1rem}.poll-head small,.update-meta{color:var(--muted);font-size:.8rem}.poll-head>span{background:var(--sky);border-radius:99px;padding:5px 10px;white-space:nowrap;font-size:.78rem}.poll-options{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}.poll-options label{margin:0}.poll-options input{position:absolute;opacity:0}.poll-options span{display:block;border:1px solid #bdcad5;border-radius:10px;padding:8px 15px;cursor:pointer}.poll-options input:checked+span{background:var(--navy);border-color:var(--navy);color:#fff}.poll-results{display:grid;gap:10px;margin-top:15px}.poll-result-label{display:flex;justify-content:space-between;gap:10px;font-size:.86rem}.poll-bar{height:9px;background:#e8edf2;border-radius:99px;overflow:hidden}.poll-bar i{display:block;height:100%;background:var(--blue);border-radius:99px}.vote-confirmed{display:inline-block;background:#e3f7ed;color:#126744;border-radius:9px;padding:7px 11px;margin-top:12px}.update-card.new{border-right:5px solid var(--blue)}.update-card.seen{opacity:.88}.update-card p{color:#465b6d}.update-meta{margin-bottom:7px}.notice.success-note{background:#e3f7ed}.period-nav.single{justify-content:center}.accuracy-stats{display:flex;align-items:center;gap:10px}.accuracy-stats span{display:grid;text-align:center;background:#f4f7fa;border:1px solid var(--line);border-radius:10px;padding:5px 9px}.accuracy-stats span small{color:var(--muted);font-size:.65rem}.accuracy-stats em{font-style:normal;color:var(--muted);font-size:.78rem}.rank-summary{display:grid;text-align:left}.rank-summary>small{color:var(--muted);font-size:.72rem}
.afc-game{display:grid;grid-template-columns:minmax(0,1fr) 145px minmax(0,1fr);align-items:center;gap:12px;padding:14px 8px;border-bottom:1px solid #edf0f3}.afc-team{font-weight:800;min-width:0;text-align:center}.afc-middle{display:grid;place-items:center;gap:2px;min-height:42px}.afc-time{text-align:center;color:var(--muted);font-size:.82rem;white-space:nowrap}.final-score{grid-column:auto;text-align:center;color:var(--green);font-size:1.04rem}.date-divider{margin-left:0;margin-right:0;border-radius:9px}
@media(max-width:980px){.admin-quick.three{grid-template-columns:1fr 1fr}.accuracy-stats{flex-wrap:wrap}}
@media(max-width:680px){.admin-quick.three{grid-template-columns:1fr}.date-time-grid{grid-template-columns:1fr}.poll-head,.update-meta{display:block}.poll-head>span{display:inline-block;margin-top:7px}.poll-options{display:grid;grid-template-columns:1fr 1fr}.poll-options .btn{grid-column:1/-1}.accuracy-stats{justify-content:flex-end;gap:4px}.accuracy-stats span{padding:4px}.accuracy-stats em{display:none}.afc-game{grid-template-columns:minmax(0,1fr) 105px minmax(0,1fr);gap:6px;padding:12px 2px}.afc-team{font-size:.82rem}.afc-time{font-size:.68rem}.poll-admin-card,.update-admin-list article{align-items:flex-start}.winner-choice{grid-template-columns:1fr}}

/* V20 FINAL - صفحه خانه و هویت بصری سایت دوستان */
:root{--v19-red:#ef233c;--v19-red-dark:#c9182e;--v19-purple:#6c5ce7;--v19-soft:#f4f6fa;--v19-card:#fff;--v19-text:#121826;--v19-sub:#687386}
html{font-size:17px}body{font-family:"Vazirmatn",Tahoma,"Segoe UI",Arial,sans-serif;background:#f2f4f8;color:var(--v19-text)}button,input,select,textarea{font-family:inherit}.page-shell{width:min(1320px,calc(100% - 40px));margin:32px auto 72px}.v19-topbar{height:78px;background:#fff;color:var(--v19-text);border-bottom:1px solid #e5e9f0;box-shadow:0 4px 18px rgba(25,35,55,.05);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px;padding:0 max(22px,calc((100vw - 1320px)/2));position:sticky;top:0;z-index:80}.brand-cluster{display:flex;align-items:center;gap:11px;min-width:max-content}.v19-brand{color:#111827;font-size:1.24rem;font-weight:900;gap:9px}.v19-brand img{width:52px;height:52px;display:block}.v19-menu-toggle{display:grid;width:42px;height:42px;padding:10px;border:1px solid #dde3eb;border-radius:12px;background:#f8fafc;align-content:center;gap:3px;margin:0;color:#222}.v19-menu-toggle span{height:2px;background:#4e596b;border-radius:99px;display:block}.desktop-nav{display:flex;justify-content:center;align-items:center;gap:4px;min-width:0}.desktop-nav a{color:#4f5969;font-weight:700;padding:10px 12px;border-radius:10px;white-space:nowrap;font-size:.91rem}.desktop-nav a:hover{color:var(--v19-red);background:#fff2f4}.auth-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}.auth-actions>a{padding:9px 14px;border-radius:99px;color:#202938;font-weight:800}.auth-actions .solid-auth{background:var(--v19-red);color:#fff;box-shadow:0 7px 18px rgba(239,35,60,.2)}.auth-actions .solid-auth:hover{background:var(--v19-red-dark)}.auth-actions .outline-auth{border:1px solid #dce2ea;background:#fff}.auth-actions .admin-link{background:#fff0c7;color:#775300}.auth-actions .notification-link{position:relative}.site-drawer{position:fixed;right:0;top:0;bottom:0;width:min(360px,88vw);background:#fff;z-index:102;transform:translateX(105%);transition:transform .25s ease;box-shadow:-12px 0 40px rgba(17,24,39,.18);padding:20px;overflow:auto}.drawer-backdrop{position:fixed;inset:0;background:rgba(12,18,28,.48);z-index:101;opacity:0;pointer-events:none;transition:.25s}.menu-open .site-drawer{transform:translateX(0)}.menu-open .drawer-backdrop{opacity:1;pointer-events:auto}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid #edf0f4}.drawer-head .v19-brand img{width:44px;height:44px}.drawer-head button{border:0;background:#f2f4f7;width:38px;height:38px;border-radius:10px;font-size:1.5rem;cursor:pointer}.site-drawer nav{display:grid;gap:5px;margin-top:14px}.site-drawer nav a{color:#293244;font-weight:750;padding:11px 13px;border-radius:10px}.site-drawer nav a:hover{background:#fff1f3;color:var(--v19-red)}
.home-intro{background:linear-gradient(135deg,#fff 0%,#fff 46%,#fff0f3 100%);border:1px solid #e6eaf0;border-radius:25px;padding:34px 38px;display:flex;align-items:center;justify-content:space-between;gap:30px;box-shadow:0 10px 30px rgba(26,36,56,.06);overflow:hidden;position:relative}.home-intro:after{content:"";position:absolute;left:-80px;bottom:-130px;width:310px;height:310px;border-radius:50%;background:radial-gradient(circle,rgba(239,35,60,.14),rgba(239,35,60,0) 68%)}.home-intro-copy{position:relative;z-index:1}.home-kicker{display:inline-flex;color:var(--v19-red);background:#fff0f3;border:1px solid #ffd0d7;border-radius:99px;padding:5px 12px;font-size:.82rem;font-weight:800}.home-intro h1{font-size:2.15rem;margin:8px 0 6px;line-height:1.4}.home-intro p{color:var(--v19-sub);max-width:720px;margin:0}.home-intro-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.home-intro .btn.primary{background:var(--v19-red)}.home-rank-badge{position:relative;z-index:1;min-width:220px;background:#111827;color:#fff;border-radius:22px;padding:20px 24px;text-align:center;box-shadow:0 12px 26px rgba(17,24,39,.17)}.home-rank-badge span,.home-rank-badge small{display:block}.home-rank-badge span{color:#d7dce5}.home-rank-badge strong{display:block;font-size:3rem;line-height:1.15;margin:6px 0}.home-rank-badge small{color:#ffdfe4}.home-section{margin-top:34px}.home-section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:15px}.home-section-title span{color:var(--v19-red);font-size:.8rem;font-weight:900;border-right:4px solid var(--v19-red);padding-right:8px}.home-section-title h2{margin:2px 0 0;font-size:1.45rem}.home-section-title>a{background:#fff;border:1px solid #e1e6ed;border-radius:99px;padding:7px 13px;color:#465164;font-weight:700;font-size:.83rem}.podium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:linear-gradient(120deg,#f7e8ee,#ece9ff 52%,#edf7ff);border:1px solid #eadde5;border-radius:23px;padding:20px}.podium-card{background:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,.9);border-radius:18px;padding:20px;text-align:center;position:relative;box-shadow:0 8px 25px rgba(45,48,70,.07)}.podium-1{transform:translateY(-5px);border-color:#f3d36b}.podium-medal{font-size:2rem;position:absolute;top:10px;right:12px}.podium-avatar{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;margin:5px auto 10px;background:linear-gradient(135deg,#ef233c,#ff7586);color:#fff;font-size:1.7rem;font-weight:900;border:5px solid #fff;box-shadow:0 7px 20px rgba(239,35,60,.2)}.podium-2 .podium-avatar{background:linear-gradient(135deg,#8792a4,#c7ced8)}.podium-3 .podium-avatar{background:linear-gradient(135deg,#b46f42,#e2a77e)}.podium-card h3{margin:0;font-size:1.08rem}.podium-card p{margin:4px 0 0;color:var(--v19-sub);font-size:.83rem}.v19-quick-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.v19-quick-card{display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:10px;background:#fff;border:1px solid #e0e5ec;border-radius:15px;padding:14px;color:#1a2230;box-shadow:0 4px 16px rgba(26,36,56,.04);transition:.2s}.v19-quick-card:hover{transform:translateY(-3px);border-color:#ffb9c3;box-shadow:0 10px 25px rgba(45,50,70,.08)}.v19-quick-card i{grid-row:1/3;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#ef233c,#8d5cf6);font-style:normal;font-size:1.25rem}.v19-quick-card:nth-child(2) i{background:linear-gradient(135deg,#ff8a00,#ff3d71)}.v19-quick-card:nth-child(3) i{background:linear-gradient(135deg,#10b981,#0ea5e9)}.v19-quick-card:nth-child(4) i{background:linear-gradient(135deg,#6c5ce7,#3b82f6)}.v19-quick-card:nth-child(5) i{background:linear-gradient(135deg,#f59e0b,#ef4444)}.v19-quick-card:nth-child(6) i{background:linear-gradient(135deg,#06b6d4,#2563eb)}.v19-quick-card b{font-size:.91rem}.v19-quick-card small{color:var(--v19-sub);font-size:.68rem;line-height:1.45}.featured-carousel{position:relative;overflow:hidden;border-radius:23px;background:#111827;box-shadow:0 13px 35px rgba(17,24,39,.17)}.featured-track{display:flex;transition:transform .55s ease;width:100%;direction:ltr}.featured-slide{min-width:100%;height:440px;position:relative;overflow:hidden;direction:rtl}.featured-bg{width:100%;height:100%;object-fit:cover;display:block}.featured-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,12,22,.12),rgba(7,12,22,.6) 50%,rgba(7,12,22,.94))}.featured-content{position:absolute;right:7%;top:50%;transform:translateY(-50%);color:#fff;width:min(580px,82%);z-index:2}.featured-league{display:inline-flex;background:var(--v19-red);padding:5px 11px;border-radius:99px;font-size:.78rem;font-weight:800}.featured-teams{display:grid;grid-template-columns:1fr 55px 1fr;align-items:center;gap:10px;margin:18px 0 12px}.featured-teams>div{display:flex;align-items:center;gap:10px;font-size:1.25rem}.featured-teams>div:last-child{justify-content:flex-start}.featured-teams img{width:56px;height:56px;object-fit:contain;background:#fff;border-radius:50%;padding:5px}.featured-teams strong{text-align:center;color:#ffb6c0;font-size:1rem}.featured-content p{font-size:1.05rem;margin:0 0 4px}.featured-content time{display:block;color:#e2e8f0;margin-bottom:16px}.light-feature{background:#fff;color:#111827}.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.17);color:#fff;border-radius:50%;font-size:2rem;cursor:pointer;display:grid;place-items:center}.carousel-arrow.prev{right:18px}.carousel-arrow.next{left:18px}.carousel-dots{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:7px;z-index:3}.carousel-dots button{width:9px;height:9px;border:0;border-radius:99px;background:rgba(255,255,255,.45);padding:0;cursor:pointer}.carousel-dots button.active{width:26px;background:#fff}.home-match-card{transition:.2s}.home-match-card:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(30,40,60,.08)}
.poll-modal{position:fixed;inset:0;background:rgba(10,16,26,.62);z-index:120;display:grid;place-items:center;padding:18px}.poll-modal-card{width:min(520px,100%);background:#fff;border-radius:23px;padding:28px;position:relative;box-shadow:0 24px 70px rgba(0,0,0,.28);animation:pollIn .25s ease}.poll-modal-close{position:absolute;left:14px;top:14px;width:36px;height:36px;border:0;border-radius:10px;background:#f1f3f6;font-size:1.3rem;cursor:pointer}.poll-modal-label{display:inline-flex;color:var(--v19-red);background:#fff0f3;border-radius:99px;padding:5px 10px;font-weight:800;font-size:.8rem}.poll-modal-card h2{margin:12px 0 5px;font-size:1.3rem}.poll-modal-card>p{color:var(--v19-sub);margin:0 0 15px}.poll-modal-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.poll-modal-options label{margin:0}.poll-modal-options input{position:absolute;opacity:0}.poll-modal-options span{display:block;border:2px solid #dbe1e9;border-radius:12px;padding:11px;text-align:center;cursor:pointer}.poll-modal-options input:checked+span{border-color:var(--v19-red);background:#fff0f3;color:var(--v19-red);font-weight:900}.poll-modal-options .btn{grid-column:1/-1;background:var(--v19-red)}@keyframes pollIn{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:none}}
.home-showcase-admin-list{display:grid;gap:12px;margin-top:16px}.home-showcase-admin-card{display:grid;grid-template-columns:120px 1fr auto;gap:14px;align-items:center;background:#f8fafc;border:1px solid var(--line);border-radius:15px;padding:12px}.home-showcase-admin-card img{width:120px;height:78px;object-fit:cover;border-radius:10px}.home-feature-new-form{border-right:5px solid var(--v19-red)}
@media(max-width:1180px){.desktop-nav{gap:0}.desktop-nav a{padding:9px 8px;font-size:.82rem}.v19-quick-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.v19-topbar{grid-template-columns:1fr auto}.desktop-nav{display:none}.brand-cluster{grid-column:1}.auth-actions{grid-column:2}.auth-actions .header-icon-link{display:none}.home-intro{padding:28px}.podium-grid{grid-template-columns:1fr 1fr 1fr}.featured-slide{height:390px}.home-showcase-admin-card{grid-template-columns:100px 1fr}.home-showcase-admin-card>.inline-actions{grid-column:1/-1}}
@media(max-width:680px){.page-shell{width:min(100% - 22px,1320px);margin-top:18px}.v19-topbar{height:68px;padding:0 12px;gap:8px}.v19-brand img{width:43px;height:43px}.v19-brand span{font-size:.95rem}.v19-menu-toggle{width:38px;height:38px;padding:9px}.auth-actions>a{padding:7px 10px;font-size:.78rem}.auth-actions .outline-auth{display:none}.home-intro{display:block;padding:24px 20px;border-radius:20px}.home-intro h1{font-size:1.55rem}.home-rank-badge{margin-top:20px;min-width:0}.home-section{margin-top:27px}.home-section-title h2{font-size:1.18rem}.podium-grid{grid-template-columns:1fr;padding:14px}.podium-card{display:grid;grid-template-columns:60px 1fr;grid-template-rows:auto auto;text-align:right;column-gap:12px;padding:13px}.podium-avatar{grid-row:1/3;width:54px;height:54px;margin:0}.podium-card h3{align-self:end}.podium-card p{align-self:start}.podium-medal{left:11px;right:auto;top:11px;font-size:1.5rem}.podium-1{transform:none}.v19-quick-grid{grid-template-columns:1fr 1fr;gap:9px}.v19-quick-card{grid-template-columns:40px 1fr;padding:10px}.v19-quick-card i{width:38px;height:38px}.v19-quick-card small{display:none}.featured-slide{height:400px}.featured-overlay{background:linear-gradient(0deg,rgba(7,12,22,.93),rgba(7,12,22,.15))}.featured-content{right:18px;left:18px;bottom:42px;top:auto;transform:none;width:auto}.featured-teams{grid-template-columns:1fr 38px 1fr}.featured-teams>div{display:grid;justify-items:center;text-align:center;font-size:.85rem}.featured-teams img{width:44px;height:44px}.carousel-arrow{width:37px;height:37px}.carousel-arrow.prev{right:9px}.carousel-arrow.next{left:9px}.compact-list{grid-template-columns:1fr}.poll-modal-card{padding:23px 18px}.home-showcase-admin-card{grid-template-columns:1fr}.home-showcase-admin-card img{width:100%;height:150px}.content-update-banner{top:68px}}
.check-line{display:flex;align-items:center;gap:9px;font-weight:800}.check-line input{display:inline-block;width:auto;margin:0}.featured-empty{height:320px;border-radius:23px;overflow:hidden;position:relative;background:#111827;color:#fff}.featured-empty>img{width:100%;height:100%;object-fit:cover;display:block}.featured-empty:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,12,22,.15),rgba(7,12,22,.88))}.featured-empty>div{position:absolute;z-index:2;right:7%;top:50%;transform:translateY(-50%);max-width:520px}.featured-empty h3{font-size:1.6rem;margin:0}.featured-empty p{color:#dbe3ef}.guest-user .auth-actions{gap:7px}
@media(max-width:680px){.guest-user .auth-actions .outline-auth{display:inline-flex}.logged-in .auth-actions .header-admin-link,.logged-in .auth-actions .header-logout-link{display:none}.featured-empty{height:300px}.featured-empty>div{right:20px;left:20px}.featured-empty h3{font-size:1.25rem}}
@media(max-width:430px){.v19-brand span{display:none}.guest-user .auth-actions>a{padding:7px 9px;font-size:.73rem}}

/* V20 FINAL refinements */
.featured-slide{background:#111827}
.featured-bg{object-fit:contain;object-position:center top;background:#111827}
.home-showcase-admin-card img{object-fit:contain;object-position:center top;background:#111827}
.priority-panel{border:2px solid #b8e6d1;background:linear-gradient(180deg,#f4fff9,#fff)}
.priority-panel .section-head{margin-top:0}
.admin-count-badge{display:inline-flex;align-items:center;justify-content:center;background:#e3f7ed;color:#116543;border:1px solid #b8e6d1;border-radius:99px;padding:6px 12px;font-weight:900;white-space:nowrap}
.reset-password-form{display:grid;grid-template-columns:minmax(110px,1fr) minmax(110px,1fr) auto;gap:7px;align-items:center;min-width:380px}
.reset-password-form input{margin:0;padding:7px 9px;font-size:.82rem}
.admin-news-last{margin-top:32px;border-top:5px solid var(--v19-red)}
.annual-toolbar{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;margin-bottom:18px}
.annual-year-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f8fb;border-radius:12px;padding:10px 14px}
.annual-year-nav strong{font-size:1.15rem}
.annual-league-tabs{margin-bottom:0}
.annual-schedule{display:grid;gap:18px}
.annual-month{margin:0}
.annual-month-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:14px}
.annual-month-head h2{margin:0}
.annual-month-head span{background:#edf3f8;color:#425c72;border-radius:99px;padding:5px 11px;font-weight:800;font-size:.82rem}
@media(max-width:680px){.reset-password-form{grid-template-columns:1fr;min-width:230px}.annual-year-nav{gap:7px}.annual-year-nav .week-arrow{padding:7px 9px;font-size:.78rem}.annual-toolbar{padding:10px}}
.bulk-schedule-form{margin-top:16px;border-right:5px solid var(--blue)}
.bulk-schedule-form textarea{width:100%;border:1px solid #bdcad5;border-radius:10px;padding:12px;resize:vertical;font:inherit;line-height:1.9}

/* V20.2 Asia Cup 2027 */
.v19-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.v19-quick-card.asia-cup-card{border-color:#d8c066;background:linear-gradient(145deg,#fffdf3,#fff)}
.v19-quick-card.asia-cup-card i{background:linear-gradient(135deg,#0f766e,#eab308)}
.v19-quick-card:nth-child(7) i{background:linear-gradient(135deg,#06b6d4,#2563eb)}
.asia-page-head{background:linear-gradient(135deg,#fffdf2,#f0fbf9);border:1px solid #e4d994;border-radius:20px;padding:22px 24px;align-items:center}
.asia-page-head h1{margin-top:5px}
.asia-kicker{display:inline-flex;background:#0f766e;color:#fff;border-radius:99px;padding:4px 11px;font-size:.77rem;font-weight:900}
.asia-group-tabs{background:#fff;border:1px solid var(--line);border-radius:15px;padding:10px;justify-content:center}
.asia-group-tabs a{min-width:74px;text-align:center}
.asia-group-tabs a.active{background:#0f766e;border-color:#0f766e}
.asia-group-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 18px;margin-bottom:16px}
.asia-group-summary>strong{white-space:nowrap;color:#0f5d58}
.asia-group-summary>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.asia-group-summary span{background:#f1f7f6;border:1px solid #cde5e1;border-radius:99px;padding:5px 11px;font-weight:800;font-size:.83rem}
.afc-panel-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:4px}
.afc-panel-title h2{margin:0}
.afc-panel-title small{color:var(--muted)}
.afc-team{font-weight:900;font-size:1.02rem}
.afc-home{text-align:left}
.afc-away{text-align:right}
.afc-middle{display:grid;gap:2px;text-align:center;justify-items:center}
.afc-middle small{color:#6b7280;font-size:.7rem}
.asia-prediction-list .match-card{border-top:4px solid #0f766e}
@media(max-width:1180px){.v19-quick-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.v19-quick-grid{grid-template-columns:1fr 1fr}.asia-page-head{padding:18px}.asia-group-summary{align-items:flex-start;flex-direction:column}.asia-group-summary>div{justify-content:flex-start}.afc-panel-title{align-items:flex-start;flex-direction:column}.afc-game{grid-template-columns:1fr 105px 1fr;gap:7px}.afc-team{font-size:.84rem}.asia-group-tabs a{min-width:62px;padding:8px 10px}}


/* V20.2: full AFC Asian Cup knockout schedule */
.afc-knockout-panel{margin-top:18px}
.afc-knockout-stage{margin-top:18px}
.afc-knockout-stage>h3{margin:0 0 10px;font-size:1.05rem}
.afc-knockout-game .afc-team{font-size:.92rem;line-height:1.7}
.afc-venue{display:block;margin-top:4px;color:var(--muted,#6b7280)}
@media (max-width:720px){
  .afc-knockout-game{grid-template-columns:1fr;gap:8px;text-align:center}
  .afc-knockout-game .afc-home,.afc-knockout-game .afc-away{text-align:center}
}

/* V21.0 FINAL — four rankings, two-row navigation, team badges and no-jump predictions */
:root{--diamond:#5de5ff;--diamond-deep:#0b7da0;--v21-navy:#102f4f;--v21-red:#c8203d}
body{font-family:"Vazirmatn",Tahoma,"Segoe UI",Arial,sans-serif}
.v21-topbar{height:auto;min-height:116px;display:block;padding:0;position:sticky;top:0;background:linear-gradient(135deg,#0d2b49,#164f78);overflow:visible}
.topbar-main-row{height:64px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:0 max(18px,calc((100vw - 1380px)/2))}
.v21-topbar .desktop-nav{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0}
.v21-topbar .desktop-nav>a{color:#fff;border-radius:11px;padding:8px 11px;font-weight:800;font-size:.92rem;white-space:nowrap;transition:.18s}
.v21-topbar .desktop-nav>a:hover{background:rgba(255,255,255,.14);transform:translateY(-1px)}
.main-nav-row{overflow:visible}.diamond-nav{background:linear-gradient(135deg,rgba(93,229,255,.28),rgba(255,255,255,.08));border:1px solid rgba(93,229,255,.5)}
.competition-nav-row{height:52px;padding:6px max(18px,calc((100vw - 1380px)/2));background:rgba(4,22,39,.38);border-top:1px solid rgba(255,255,255,.12);gap:9px!important}
.competition-nav-row>a{display:flex!important;align-items:center;gap:7px;background:rgba(255,255,255,.07);padding:6px 11px!important;font-size:.88rem!important}
.competition-nav-row img{width:29px;height:29px;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}
.drawer-competition{display:flex!important;align-items:center;gap:9px}.drawer-competition img{width:30px;height:30px}
.page-shell{width:min(1380px,calc(100% - 32px));margin-top:24px}
.anti-betting-banner{margin:18px 0 26px;background:linear-gradient(135deg,#fff3f4,#fff);border:2px solid #ef9caa;border-right:8px solid #c8203d;border-radius:18px;padding:16px 20px;box-shadow:0 8px 24px rgba(144,25,49,.08)}
.anti-betting-banner strong{display:block;color:#a5142f;font-size:1.13rem}.anti-betting-banner p{margin:4px 0 0;color:#5b2631;font-weight:700}
.overall-badge{border:2px solid rgba(93,229,255,.65);box-shadow:0 0 34px rgba(93,229,255,.22)}
.overall-badge strong{font-size:2rem;white-space:nowrap}.diamond-card{border:2px solid #70dff3!important;background:linear-gradient(145deg,#ecfcff,#fff)!important}.diamond-card i{background:linear-gradient(135deg,#0b7da0,#7eeaff)!important}
.quick-logo{width:48px;height:48px;object-fit:contain;grid-row:1/3;filter:drop-shadow(0 4px 5px rgba(0,0,0,.15))}.v21-quick-grid .v19-quick-card{min-height:106px}
.single-feature{height:430px;border-radius:25px;overflow:hidden;position:relative}.single-feature .featured-bg{object-fit:cover;width:100%;height:100%}
.mega-medal,.big-medal{font-size:2.65rem!important;filter:drop-shadow(0 6px 7px rgba(0,0,0,.24));transform:scale(1.08)}
.podium-card{overflow:visible}.podium-card.podium-1{border:2px solid #f0c64d;box-shadow:0 12px 34px rgba(203,151,9,.16)}
.competition-filter-tabs{display:flex;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:17px;padding:10px;margin:12px 0 18px}
.competition-filter-tabs a{display:flex;align-items:center;gap:7px;padding:8px 11px;border-radius:11px;color:#29445c;font-weight:800;font-size:.84rem;border:1px solid transparent}
.competition-filter-tabs a:hover{background:#eef5fa}.competition-filter-tabs a.active{background:#123b63;color:#fff;border-color:#123b63}.competition-filter-tabs img{width:27px;height:27px;object-fit:contain}.competition-filter-tabs a.active img{filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
.visual-matchup{display:grid;grid-template-columns:minmax(0,1fr) 132px minmax(0,1fr);align-items:center;gap:12px;padding:15px 8px 11px}
.visual-team{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;min-width:0}.visual-team img{width:58px;height:58px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 4px 5px rgba(0,0,0,.16))}.visual-team b{font-size:1.02rem;line-height:1.45}
.score-entry{display:grid;grid-template-columns:50px 18px 50px;align-items:center;justify-content:center;gap:5px;direction:ltr}.score-entry input{width:50px;height:49px;text-align:center;border:2px solid #b9c7d4;border-radius:11px;font-weight:900;font-size:1.12rem;margin:0;background:#fff}.score-entry input:focus{border-color:#1769aa;box-shadow:0 0 0 3px rgba(23,105,170,.12);outline:0}.score-entry span{font-weight:900;font-size:1.25rem}
.prediction-status{text-align:center;color:#8a5e17;background:#fff8e8;border-radius:9px;padding:5px 8px;font-size:.8rem;font-weight:800}.prediction-status.saved{color:#12653f;background:#eaf9f1}.locked-note{text-align:center}
.bulk-save-bar{position:sticky;bottom:12px;z-index:20;margin:22px auto 5px;background:rgba(16,47,79,.96);color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:17px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 14px 40px rgba(0,0,0,.25);backdrop-filter:blur(10px)}.bulk-save-bar div{display:grid}.bulk-save-bar small{color:#dbe9f4}.bulk-save-bar .btn{background:#e52748;color:#fff;min-width:210px}
.save-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:500;color:#fff;border-radius:13px;padding:11px 20px;font-weight:900;box-shadow:0 12px 34px rgba(0,0,0,.3)}.save-toast.ok{background:#14704a}.save-toast.bad{background:#aa2637}
.rank-row.diamond{background:linear-gradient(110deg,#ebfdff,#fff);border:2px solid #67dff4;box-shadow:0 8px 25px rgba(17,160,194,.15)}.rank-row.gold{border-right:6px solid #d9a400}.rank-row.silver{border-right:6px solid #9ca7b2}.rank-row.bronze{border-right:6px solid #b46b3d}
.v21-ranking-list .rank-row{grid-template-columns:82px minmax(260px,1fr) minmax(130px,auto);padding:14px 18px}.unranked{font-size:1.5rem;color:#9aa7b3}
.success-progress{height:22px;background:#e8eef3;border-radius:99px;overflow:hidden;position:relative;margin-top:8px;max-width:520px}.success-progress i{display:block;height:100%;background:linear-gradient(90deg,#16845b,#54c989);border-radius:99px;min-width:0}.success-progress span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:900;color:#173247;text-shadow:0 1px #fff}
.competition-hero{display:flex;align-items:center;gap:24px;background:linear-gradient(135deg,#102f4f,#1e6b9e);color:#fff;border-radius:24px;padding:25px 30px;box-shadow:var(--shadow)}.competition-main-logo{width:105px;height:105px;object-fit:contain;filter:drop-shadow(0 7px 8px rgba(0,0,0,.3))}.competition-hero h1{margin:2px 0;font-size:1.85rem}.competition-hero p{margin:0;color:#e4eef6}.competition-hero span{background:rgba(255,255,255,.15);border-radius:99px;padding:5px 10px;font-size:.8rem;font-weight:900}
.club-logo-strip{display:flex;gap:11px;overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:17px;padding:12px;margin:14px 0 18px}.club-logo-strip>div{min-width:82px;display:grid;justify-items:center;gap:4px}.club-logo-strip img{width:52px;height:52px;object-fit:contain}.club-logo-strip span{font-size:.7rem;font-weight:800;text-align:center;white-space:nowrap}
.compact-ranking{margin-bottom:26px}.compact-ranking .rank-row{grid-template-columns:75px 1fr auto}.ranking-head{margin-top:4px}.diamond-tab{border:1px solid #68d7ed!important}.ranking-tabs a{font-size:.92rem}
.highlight-rules{border:2px solid #8ec7ed;background:linear-gradient(180deg,#f3faff,#fff)}.simple-rules ol{margin:8px 0;padding-right:22px}.simple-rules li{margin:8px 0}.prize-rules{border-right:6px solid #d8a20e;background:#fffaf0}.legal-rules{border-right:7px solid #c8203d;background:#fff5f6}.persian-only-note{background:#eef8ff;color:#164b70;border:1px solid #badcf4;border-radius:11px;padding:9px 12px;font-weight:800}
.compact-matchup{grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr)}.compact-matchup .visual-team{display:grid;justify-items:center;gap:4px}.compact-matchup .visual-team img{width:49px;height:49px}.compact-matchup .visual-team b{font-size:.82rem}.compact-matchup .score-entry{grid-template-columns:42px 14px 42px}.compact-matchup .score-entry input{width:42px;height:42px}.versus{font-weight:900;text-align:center;color:#6a7c8d}
@media(max-width:1220px){.topbar-main-row{grid-template-columns:auto 1fr auto;gap:8px}.v21-topbar .main-nav-row>a{font-size:.78rem;padding:7px 7px}.competition-nav-row>a{font-size:.77rem!important;padding:5px 7px!important}.competition-nav-row img{width:24px;height:24px}.v19-brand span{font-size:.9rem}}
@media(max-width:960px){.v21-topbar{min-height:68px}.topbar-main-row{height:68px;grid-template-columns:1fr auto}.v21-topbar .desktop-nav{display:none}.competition-nav-row{display:none!important}.page-shell{margin-top:18px}.main-nav-row{display:none!important}}
@media(max-width:720px){.visual-matchup{grid-template-columns:1fr 104px 1fr;gap:5px;padding:11px 0}.visual-team{display:grid;justify-items:center;gap:4px}.visual-team img{width:48px;height:48px}.visual-team b{font-size:.78rem}.score-entry{grid-template-columns:41px 13px 41px}.score-entry input{width:41px;height:42px}.bulk-save-bar{bottom:6px;padding:10px;display:grid;grid-template-columns:1fr}.bulk-save-bar .btn{width:100%;min-width:0}.v21-ranking-list .rank-row,.compact-ranking .rank-row{grid-template-columns:58px 1fr;gap:8px}.v21-ranking-list .rank-summary,.compact-ranking .rank-summary{grid-column:2}.big-medal{font-size:2rem!important}.competition-hero{padding:20px;gap:14px}.competition-main-logo{width:76px;height:76px}.competition-hero h1{font-size:1.35rem}.competition-hero p{font-size:.82rem}.competition-filter-tabs{display:grid;grid-template-columns:1fr 1fr}.competition-filter-tabs a{padding:7px;font-size:.75rem}.competition-filter-tabs img{width:24px;height:24px}.single-feature{height:390px}.anti-betting-banner{padding:14px}.v21-quick-grid{grid-template-columns:1fr 1fr}.quick-logo{width:39px;height:39px}.success-progress{max-width:100%}}
@media(max-width:430px){.competition-filter-tabs{grid-template-columns:1fr}.visual-team b{font-size:.72rem}.score-entry{grid-template-columns:38px 10px 38px}.score-entry input{width:38px}.v21-quick-grid{grid-template-columns:1fr 1fr}.v21-quick-grid .v19-quick-card{min-height:82px}.anti-betting-banner p{font-size:.82rem}}

/* V21 Asia/team logo completion */
.team-logo-name{display:inline-flex;align-items:center;gap:8px}.team-logo-name img{width:34px;height:34px;object-fit:contain;flex:0 0 34px}.asia-group-summary .team-logo-name{padding:7px 10px}.afc-team.team-logo-name{display:flex}.afc-team.team-logo-name img{width:42px;height:42px}.table-card .team-logo-name img{width:30px;height:30px}

/* V21.2 fixes: visible premium awards, country flags and upcoming schedule */
.medal-rank-icon{width:72px;height:72px;object-fit:contain;display:block;margin:auto;filter:drop-shadow(0 8px 8px rgba(12,25,45,.28));transform:translateZ(0)}
.medal-rank-icon.diamond-icon{width:78px;height:78px}
.award-showcase{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(420px,1.25fr);gap:22px;align-items:center;margin:20px 0 24px;padding:24px;border-radius:25px;background:linear-gradient(130deg,#0d2c4b,#153f68 48%,#101d31);color:#fff;border:1px solid rgba(255,255,255,.15);box-shadow:0 16px 38px rgba(14,35,59,.2);overflow:hidden;position:relative}
.award-showcase:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(99,231,255,.25),transparent 68%);left:-70px;top:-110px}
.award-showcase-copy{position:relative;z-index:1}.award-showcase-copy>span{display:inline-flex;padding:5px 10px;border-radius:99px;background:rgba(255,255,255,.12);font-size:.78rem;font-weight:900}.award-showcase-copy h2{font-size:1.55rem;margin:8px 0 5px}.award-showcase-copy p{margin:0;color:#d8e7f3;line-height:1.9;font-size:.87rem}
.award-icons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;position:relative;z-index:1}.period-awards .award-icons{grid-template-columns:repeat(3,minmax(0,1fr))}.award-item{display:grid;justify-items:center;text-align:center;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);padding:10px 8px 12px;border-radius:18px;transition:.2s}.award-item:hover{transform:translateY(-5px);background:rgba(255,255,255,.14)}.award-item img{width:96px;height:96px;object-fit:contain;filter:drop-shadow(0 10px 8px rgba(0,0,0,.32))}.award-item b{font-size:.88rem}.award-item small{color:#cfdeea;font-weight:800}.award-item.diamond{border-color:rgba(95,230,255,.55);box-shadow:inset 0 0 24px rgba(72,223,255,.13)}
.competition-award-preview{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(120deg,#102f4f,#1b4e78);color:#fff;border-radius:20px;padding:14px 20px;margin:15px 0 20px;box-shadow:0 10px 28px rgba(16,47,79,.18)}.competition-award-preview>div:first-child{display:grid;gap:2px}.competition-award-preview span{color:#9fefff;font-size:.75rem;font-weight:900}.competition-award-preview b{font-size:1.05rem}.competition-award-preview small{color:#d5e1eb}.mini-awards{display:flex;align-items:center}.mini-awards img{width:68px;height:68px;object-fit:contain;margin-right:-7px;filter:drop-shadow(0 7px 6px rgba(0,0,0,.28))}
.podium-medal img{width:74px;height:74px;object-fit:contain;filter:drop-shadow(0 8px 7px rgba(0,0,0,.25))}.podium-medal{top:-18px!important;right:5px!important}.inline-award-icon{width:32px;height:32px;object-fit:contain;vertical-align:middle}.home-rank-badge small{min-height:34px;display:flex!important;align-items:center;justify-content:center;gap:3px}.quick-logo[src*="medals/diamond"]{width:48px;height:48px;filter:drop-shadow(0 5px 5px rgba(0,0,0,.2))}
.upcoming-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;padding:14px 18px;background:linear-gradient(90deg,#edfaff,#fff)}.upcoming-summary b{color:#0b5676}.upcoming-summary span{color:#667585;font-size:.83rem}.upcoming-schedule .annual-month{scroll-margin-top:140px}
.asia-page-head+.asia-group-tabs~.asia-group-summary .team-logo-name img,.afc-game .team-logo-name img,.table-card .team-logo-name img,.asia-prediction-list .visual-team img{border-radius:7px!important;background:#fff!important;padding:2px!important;object-fit:cover!important;box-shadow:0 3px 9px rgba(0,0,0,.16);border:1px solid #d9e1e8}.asia-group-summary .team-logo-name img{width:39px!important;height:27px!important}.afc-game .team-logo-name img{width:48px!important;height:32px!important}.table-card .team-logo-name img{width:38px!important;height:26px!important}.asia-prediction-list .visual-team img{width:62px!important;height:42px!important}
@media(max-width:820px){.award-showcase{grid-template-columns:1fr;padding:18px}.award-icons{grid-template-columns:repeat(2,minmax(0,1fr))}.period-awards .award-icons{grid-template-columns:repeat(3,minmax(0,1fr))}.award-item img{width:82px;height:82px}.competition-award-preview{align-items:flex-start}.mini-awards img{width:56px;height:56px}.upcoming-summary{display:grid}.medal-rank-icon{width:55px;height:55px}.podium-medal img{width:58px;height:58px}}
@media(max-width:520px){.award-icons,.period-awards .award-icons{grid-template-columns:repeat(2,minmax(0,1fr))}.competition-award-preview{display:grid}.mini-awards{justify-content:center}.award-showcase-copy h2{font-size:1.3rem}}

/* V21.3 — unified winners menu, premium diamond and administrator alerts */
.award-item.diamond img{width:122px;height:122px;transform:scale(1.06);filter:drop-shadow(0 14px 12px rgba(0,0,0,.42)) drop-shadow(0 0 16px rgba(94,225,255,.36))}
.medal-rank-icon.diamond-icon{width:92px;height:92px;filter:drop-shadow(0 10px 10px rgba(7,25,45,.38)) drop-shadow(0 0 11px rgba(82,218,255,.35))}
.inline-award-icon[src*="diamond-premium"]{width:39px;height:39px;filter:drop-shadow(0 5px 5px rgba(0,0,0,.28))}
.quick-logo[src*="diamond-premium"]{width:58px;height:58px;filter:drop-shadow(0 7px 7px rgba(0,0,0,.3))}
.award-item.diamond{background:radial-gradient(circle at 50% 35%,rgba(112,225,255,.26),rgba(255,255,255,.08) 58%,rgba(7,24,43,.12));}
.admin-count-badge{transition:.2s}.priority-panel:has(.request-row) .admin-count-badge{animation:membershipPulse 1.8s ease-in-out infinite}
@keyframes membershipPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(211,48,70,.15)}50%{transform:scale(1.04);box-shadow:0 0 0 7px rgba(211,48,70,0)}}
.health-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
@media(max-width:820px){.award-item.diamond img{width:104px;height:104px}.medal-rank-icon.diamond-icon{width:68px;height:68px}}


/* V21.5 — administrator visibility and topbar text repair */
.logged-in .v21-topbar .auth-actions .notification-link,
.logged-in .v21-topbar .auth-actions .header-user-link{color:#fff;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.18)}
.logged-in .v21-topbar .auth-actions .notification-link:hover,
.logged-in .v21-topbar .auth-actions .header-user-link:hover{color:#fff;background:rgba(255,255,255,.2)}
.logged-in .v21-topbar .auth-actions .header-admin-link{color:#5b3d00;background:#ffd86b;border:1px solid #f4bd28}
.logged-in .v21-topbar .auth-actions .header-logout-link{color:#202938;background:#fff;border:1px solid rgba(255,255,255,.72)}

.v2111-only-betting-rule{display:none!important}

/* admin legacy showcase anti-flash */
#home-showcase{display:block!important}

/* drawer textual user rank */
.drawer-rank-text{display:block;padding:0 13px 10px;color:#68778b;font-size:.82rem;font-weight:800;line-height:1.5}
@media(max-width:680px){.home-intro{padding-bottom:24px!important;min-height:0!important}}


/* V21.11 DESKTOP FEATURE CLEANUP */
@media(min-width:769px){
  .home-intro-actions>a.btn.primary{
    display:none!important;
  }

  .featured-games-section>.home-section-title{
    display:none!important;
  }

  .featured-games-section{
    margin-top:15px!important;
  }
}


/* V21.12 MOBILE HEADER */
.mobile-header-line,
.mobile-welcome-row,
.mobile-page-strip{
  display:none;
}

@media (max-width: 768px){
  .topbar.v21-topbar{
    position:sticky;
    top:0;
    z-index:1000;
    background:linear-gradient(135deg,#14090d 0%,#4a0f1b 42%,#7e1327 70%,#a41733 100%);
    box-shadow:0 12px 24px rgba(20,16,24,.18);
    border-bottom:0!important;
  }

  .mobile-header-line{
    display:block;
    height:3px;
    background:#d61d3c;
  }

  .topbar.v21-topbar .topbar-main-row{
    padding:10px 14px 8px;
    min-height:auto;
  }

  .topbar.v21-topbar .brand-cluster{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-direction:row-reverse;
    gap:12px;
  }

  .topbar.v21-topbar .v19-brand{
    display:flex;
    align-items:center;
    gap:10px;
    flex-direction:row-reverse;
    min-width:0;
    text-align:right;
    text-decoration:none;
  }

  .topbar.v21-topbar .v19-brand img{
    width:34px;
    height:34px;
    flex-shrink:0;
  }

  .topbar.v21-topbar .v19-brand span{
    color:#fff!important;
    font-size:1.08rem;
    font-weight:900;
    line-height:1.35;
  }

  .topbar.v21-topbar .desktop-nav,
  .topbar.v21-topbar .auth-actions,
  .topbar.v21-topbar .competition-nav-row{
    display:none!important;
  }

  .topbar.v21-topbar .v19-menu-toggle{
    margin:0;
    width:42px;
    min-width:42px;
    height:42px;
    padding:0;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.16);
    background:rgba(255,255,255,.08);
    box-shadow:none;
  }

  .topbar.v21-topbar .v19-menu-toggle span{
    background:#fff!important;
  }

  .mobile-welcome-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 14px 10px;
    color:#fff;
  }

  .mobile-welcome-text{
    font-size:.96rem;
    font-weight:800;
    line-height:1.4;
    color:#fff;
  }

  .mobile-profile-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:999px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.16);
    color:#fff;
    text-decoration:none;
    font-size:1rem;
    flex-shrink:0;
  }

  .mobile-page-strip{
    display:block;
    width:100%;
    padding:10px 14px;
    background:#0b67c6;
    text-align:right;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  }

  .mobile-page-strip span{
    display:block;
    width:100%;
    color:#fff;
    font-size:.95rem;
    font-weight:900;
    line-height:1.4;
  }
}

@media (min-width: 769px){
  .mobile-header-line,
  .mobile-welcome-row,
  .mobile-page-strip{
    display:none!important;
  }
}


/* V21.12 FINAL MOBILE HEADER */
.mobile-brand,.mobile-welcome-row,.mobile-page-strip{display:none}

@media(max-width:680px){
  html body .v21-topbar{
    min-height:0!important;
    height:auto!important;
    padding:0!important;
    display:block!important;
    position:sticky!important;
    top:0!important;
    z-index:1000!important;
    overflow:visible!important;
    border-radius:0!important;
    border-top:3px solid #f1263e!important;
    border-bottom:0!important;
    background:linear-gradient(110deg,#b9001d 0%,#8f0018 48%,#560812 78%,#25060b 100%)!important;
    box-shadow:0 5px 16px rgba(35,0,8,.28)!important;
  }

  html body .v21-topbar .topbar-main-row{
    display:block!important;
    min-height:60px!important;
    height:60px!important;
    padding:2px 14px 0!important;
  }

  html body .v21-topbar .brand-cluster{
    width:100%!important;
    height:58px!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    direction:ltr!important;
  }

  html body .v21-topbar .v19-brand{display:none!important}

  html body .v21-topbar .mobile-brand{
    grid-column:2!important;
    display:flex!important;
    justify-self:end!important;
    align-items:center!important;
    flex-direction:row!important;
    direction:rtl!important;
    gap:7px!important;
    min-width:0!important;
    color:#fff!important;
    text-decoration:none!important;
  }

  html body .v21-topbar .mobile-brand img{
    width:48px!important;
    height:48px!important;
    flex:0 0 48px!important;
    object-fit:contain!important;
  }

  html body .v21-topbar .mobile-brand span{
    color:#fff!important;
    font-size:1.16rem!important;
    line-height:1.25!important;
    font-weight:950!important;
    font-style:italic!important;
    white-space:nowrap!important;
    text-shadow:0 2px 3px rgba(0,0,0,.28)!important;
    border-bottom:2px solid rgba(255,255,255,.8)!important;
    padding-bottom:2px!important;
  }

  html body .v21-topbar .v19-menu-toggle{
    grid-column:1!important;
    grid-row:1!important;
    display:grid!important;
    width:42px!important;
    height:42px!important;
    margin:0!important;
    padding:9px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body .v21-topbar .v19-menu-toggle span{
    height:3px!important;
    background:#fff!important;
  }

  html body .v21-topbar .desktop-nav,
  html body .v21-topbar .auth-actions,
  html body .v21-topbar .competition-nav-row{
    display:none!important;
  }

  html body .mobile-welcome-row{
    height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    direction:rtl!important;
    gap:9px!important;
    padding:0 18px 5px!important;
    color:#fff!important;
  }

  html body .mobile-welcome-row span{
    color:#fff!important;
    font-size:.9rem!important;
    font-weight:750!important;
    white-space:nowrap!important;
  }

  html body .mobile-profile-icon{
    width:32px!important;
    height:32px!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 32px!important;
    border:2px solid #fff!important;
    border-radius:50%!important;
    color:#fff!important;
    background:rgba(255,255,255,.05)!important;
  }

  html body .mobile-profile-icon svg{
    width:19px!important;
    height:19px!important;
    fill:#fff!important;
    stroke:#fff!important;
    stroke-width:1.5!important;
  }

  html body .mobile-page-strip{
    width:100%!important;
    height:41px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    direction:rtl!important;
    padding:0 18px!important;
    border-top:3px solid #f1263e!important;
    background:linear-gradient(100deg,#07336f,#0d559e)!important;
  }

  html body .mobile-page-strip a{
    color:#fff!important;
    font-size:.94rem!important;
    font-weight:900!important;
    text-decoration:none!important;
  }

  html body .content-update-banner{top:146px!important}
}

/* V21.12 MOBILE PROFILE FINAL */
@media(max-width:680px){
  html body .v21-topbar .mobile-welcome-row{
    height:32px!important;
    min-height:32px!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    direction:rtl!important;
    gap:6px!important;
    padding:0 17px 5px!important;
    margin-top:-3px!important;
  }

  html body .v21-topbar .mobile-welcome-text{
    display:inline-block!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:.70rem!important;
    font-weight:700!important;
    line-height:1.15!important;
    white-space:nowrap!important;
  }

  html body .v21-topbar .mobile-profile-chip{
    width:27px!important;
    height:27px!important;
    flex:0 0 27px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    margin:0!important;
    border:2px solid #111!important;
    border-radius:50%!important;
    background:transparent!important;
    color:#fff!important;
    text-decoration:none!important;
    box-shadow:none!important;
  }

  html body .v21-topbar .mobile-profile-chip svg{
    width:19px!important;
    height:19px!important;
    display:block!important;
    overflow:visible!important;
  }

  html body .v21-topbar .mobile-profile-chip .profile-head{
    fill:#fff!important;
    stroke:none!important;
  }

  html body .v21-topbar .mobile-profile-chip .profile-body{
    fill:none!important;
    stroke:#fff!important;
    stroke-width:2.2!important;
    stroke-linecap:round!important;
  }
}

/* V21.12 GREETING UNDER TITLE AND BLUE NAV */
@media(max-width:680px){
  html body .v21-topbar .topbar-main-row{
    height:72px!important;
    min-height:72px!important;
    padding:2px 14px 0!important;
  }

  html body .v21-topbar .brand-cluster{
    height:70px!important;
  }

  html body .v21-topbar .mobile-brand{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
  }

  html body .v21-topbar .mobile-brand img{
    width:48px!important;
    height:48px!important;
    flex:0 0 48px!important;
  }

  html body .v21-topbar .mobile-brand-copy{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:center!important;
    min-width:0!important;
    color:#fff!important;
    line-height:1.1!important;
  }

  html body .v21-topbar .mobile-brand-title{
    display:block!important;
    color:#fff!important;
    font-size:1.16rem!important;
    font-weight:950!important;
    white-space:nowrap!important;
    padding:0 0 3px!important;
    border-bottom:2px solid rgba(255,255,255,.88)!important;
    text-shadow:0 2px 3px rgba(0,0,0,.25)!important;
  }

  html body .v21-topbar .mobile-brand-greeting{
    display:block!important;
    margin-top:4px!important;
    color:#fff!important;
    font-size:.66rem!important;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  html body .v21-topbar .mobile-welcome-row,
  html body .v21-topbar .mobile-profile-chip,
  html body .v21-topbar .mobile-profile-icon{
    display:none!important;
  }

  html body .v21-topbar .mobile-page-strip{
    width:100%!important;
    height:41px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-direction:row!important;
    direction:rtl!important;
    gap:24px!important;
    padding:0 18px!important;
    background:linear-gradient(100deg,#07336f,#0d559e)!important;
  }

  html body .v21-topbar .mobile-page-strip a{
    display:inline-flex!important;
    align-items:center!important;
    height:100%!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:.94rem!important;
    font-weight:900!important;
    line-height:1!important;
    text-decoration:none!important;
    white-space:nowrap!important;
  }

  html body .content-update-banner{
    top:119px!important;
  }
}

/* V21.12 GREETING DEFINITIVE CACHE FIX START */
@media(max-width:680px){

  html body.logged-in .home-intro-copy h1{
    display:none!important;
  }

  html body .v21-topbar .topbar-main-row{
    height:80px!important;
    min-height:80px!important;
    padding:0 14px!important;
    overflow:visible!important;
  }

  html body .v21-topbar .brand-cluster{
    height:80px!important;
    align-items:center!important;
    overflow:visible!important;
  }

  html body .v21-topbar .mobile-brand{
    height:66px!important;
    overflow:visible!important;
  }

  html body .v21-topbar .mobile-brand > .mobile-brand-copy{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:center!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    transform:none!important;
    overflow:visible!important;
    font-size:inherit!important;
    font-style:normal!important;
    line-height:1!important;
  }

  html body .v21-topbar .mobile-brand-title{
    display:block!important;
    margin:0!important;
    padding:0 0 4px!important;
    border:0!important;
    border-bottom:3px double #fff!important;
    color:#fff!important;
    font-size:1.16rem!important;
    font-weight:950!important;
    line-height:1.12!important;
    white-space:nowrap!important;
    text-shadow:0 2px 3px rgba(0,0,0,.25)!important;
  }

  html body .v21-topbar .mobile-brand-greeting{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:absolute!important;
    top:calc(100% + 4px)!important;
    right:0!important;
    left:auto!important;
    z-index:30!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    transform:none!important;
    color:#fff!important;
    font-size:.52rem!important;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
    text-shadow:0 1px 2px rgba(0,0,0,.3)!important;
  }

  html body .v21-topbar .mobile-menu-greeting,
  html body .v21-topbar .mobile-welcome-row,
  html body .v21-topbar .mobile-profile-chip,
  html body .v21-topbar .mobile-profile-icon{
    display:none!important;
  }
}
/* V21.12 GREETING DEFINITIVE CACHE FIX END */

/* V21.12 GREETING LOCKED UNDER BRAND START */
@media(max-width:680px){
  html body .v21-topbar .topbar-main-row{
    height:80px!important;
    min-height:80px!important;
    overflow:hidden!important;
  }

  html body .v21-topbar .brand-cluster{
    height:80px!important;
    overflow:hidden!important;
  }

  html body .v21-topbar .mobile-brand{
    height:70px!important;
    display:flex!important;
    align-items:center!important;
    overflow:hidden!important;
  }

  html body .v21-topbar .mobile-brand > .mobile-brand-copy{
    position:relative!important;
    display:block!important;
    width:auto!important;
    min-width:135px!important;
    margin:0!important;
    padding:0 0 14px!important;
    border:0!important;
    background:transparent!important;
    transform:none!important;
    overflow:visible!important;
    line-height:1!important;
  }

  html body .v21-topbar .mobile-brand-title{
    position:static!important;
    display:block!important;
    margin:0!important;
    padding:0 0 4px!important;
    border:0!important;
    border-bottom:3px double #fff!important;
    color:#fff!important;
    font-size:1.16rem!important;
    font-weight:950!important;
    line-height:1.12!important;
    white-space:nowrap!important;
  }

  html body .v21-topbar .mobile-brand-greeting{
    position:absolute!important;
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    right:0!important;
    left:auto!important;
    top:auto!important;
    bottom:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    transform:none!important;
    color:#fff!important;
    font-size:.48rem!important;
    font-weight:650!important;
    line-height:1!important;
    white-space:nowrap!important;
    z-index:5!important;
  }

  html body .v21-topbar .mobile-page-strip .mobile-brand-greeting{
    display:none!important;
  }
}
/* V21.12 GREETING LOCKED UNDER BRAND END */

/* V21.12 MOBILE BLUE NAV FIVE ITEMS START */
@media(max-width:680px){
  html body .v21-topbar .mobile-page-strip{
    width:100%!important;
    height:42px!important;
    display:grid!important;
    direction:rtl!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    gap:0!important;
    padding:0!important;
    overflow:hidden!important;
  }

  html body.logged-in .v21-topbar .mobile-page-strip{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }

  html body.guest-user .v21-topbar .mobile-page-strip{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  html body .v21-topbar .mobile-page-strip a{
    min-width:0!important;
    height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:0 2px!important;
    border:0!important;
    border-left:1px solid rgba(255,255,255,.18)!important;
    background:transparent!important;
    color:#fff!important;
    font-size:.70rem!important;
    font-weight:800!important;
    line-height:1.1!important;
    text-align:center!important;
    white-space:nowrap!important;
    text-decoration:none!important;
  }

  html body .v21-topbar .mobile-page-strip a:last-child{
    border-left:0!important;
  }

  html body .v21-topbar .mobile-page-strip .mobile-logout-link{
    color:#fff!important;
  }
}
/* V21.12 MOBILE BLUE NAV FIVE ITEMS END */

/* V21.12 ONLINE USERS PANEL START */
.online-users-panel{
  border:1px solid rgba(31,122,74,.22);
}

.online-users-panel .section-head{
  margin-bottom:12px;
}

.online-live-dot,
.online-status-dot{
  display:inline-block;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#20b968;
  box-shadow:0 0 0 4px rgba(32,185,104,.13);
}

.online-live-dot{
  margin-left:7px;
}

.online-count-badge{
  background:#e7f8ee!important;
  color:#147741!important;
}

.online-panel-actions{
  display:flex;
  justify-content:flex-end;
  margin-bottom:12px;
}

.online-user-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.online-user-card{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid rgba(30,55,80,.11);
  border-radius:12px;
  background:rgba(255,255,255,.72);
}

.online-user-identity{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.online-user-identity div,
.online-user-location{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.online-user-identity small,
.online-user-location span,
.online-user-card time{
  color:var(--muted);
  font-size:.76rem;
}

.online-user-location strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.85rem;
}

.recent-users-details{
  margin-top:14px;
  border-top:1px solid rgba(30,55,80,.1);
  padding-top:12px;
}

.recent-users-details summary{
  cursor:pointer;
  font-weight:800;
  color:#245780;
}

.recent-user-list{
  display:grid;
  gap:7px;
  margin-top:12px;
}

.recent-user-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  padding:9px 10px;
  border-radius:9px;
  background:rgba(20,50,80,.035);
}

.recent-user-row div{
  display:flex;
  flex-direction:column;
}

.recent-user-row small,
.recent-user-row time{
  color:var(--muted);
  font-size:.74rem;
}

.recent-online,
.recent-offline{
  padding:3px 8px;
  border-radius:999px;
  font-size:.7rem;
  font-weight:800;
}

.recent-online{
  color:#13713e;
  background:#e4f7eb;
}

.recent-offline{
  color:#68717a;
  background:#edf0f2;
}

@media(max-width:760px){
  .online-user-grid{
    grid-template-columns:1fr;
  }

  .online-user-card{
    grid-template-columns:minmax(0,1fr) auto;
  }

  .online-user-location{
    grid-column:1 / -1;
    padding-right:19px;
  }

  .recent-user-row{
    grid-template-columns:minmax(0,1fr) auto;
  }

  .recent-user-row time{
    grid-column:1 / -1;
  }
}
/* V21.12 ONLINE USERS PANEL END */


/* IRAN LEAGUE WEEK UI V21.14 */
.iran-schedule-heading{
  background:#00a9e8;
  color:#fff;
  border-radius:15px;
  padding:12px 16px;
  margin-bottom:10px;
  text-align:center;
  font-size:1.08rem;
  font-weight:900;
  box-shadow:0 5px 16px rgba(0,169,232,.20);
}

.iran-week-picker-form{
  margin:0 0 16px;
  padding:10px;
  background:#5a0b63;
  border-radius:15px;
}

.iran-week-picker-form select{
  width:100%;
  margin:0;
  padding:11px 42px 11px 14px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:10px;
  background:#5a0b63;
  color:#fff;
  text-align:center;
  font-weight:900;
  cursor:pointer;
}

.iran-week-picker-form select option{
  background:#fff;
  color:#321238;
}

.iran-time-unknown{
  background:#f5edf6;
  border:1px solid #dfc5e2;
  color:#5a0b63;
}

.iran-final-score{
  min-width:110px;
  text-align:center;
  font-size:1.4rem;
  font-weight:900;
  color:#1769aa;
}

.score-entry input:disabled{
  background:#edf0f3;
  color:#9aa3ac;
  cursor:not-allowed;
}

@media(max-width:680px){
  .iran-schedule-heading{
    padding:10px 11px;
    border-radius:12px;
    font-size:.94rem;
  }

  .iran-week-picker-form{
    padding:8px;
    border-radius:12px;
  }

  .iran-week-picker-form select{
    padding-top:9px;
    padding-bottom:9px;
    font-size:.9rem;
  }
}


/* IRAN WEEK SELECTOR FIX V21.15 */
.iran-week-picker-form{
  position:relative;
  padding:9px;
}

.iran-week-picker-form select{
  -webkit-appearance:none;
  appearance:none;
  direction:rtl;
  text-align:center;
  text-align-last:center;
  min-height:49px;
  padding:10px 15px 10px 48px;
  background:#711879;
  border:2px solid rgba(255,255,255,.95);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
}

.iran-week-picker-form::after{
  content:"⌄";
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-54%);
  color:#fff;
  font-size:1.45rem;
  font-weight:900;
  line-height:1;
  pointer-events:none;
}

.iran-week-picker-form select option{
  direction:rtl;
  text-align:right;
  background:#fff;
  color:#321238;
}

.iran-week-incomplete-note{
  margin:-5px 0 15px;
  padding:10px 13px;
  border:1px solid #efc46e;
  border-radius:11px;
  background:#fff7df;
  color:#76520b;
  text-align:center;
  font-size:.86rem;
  font-weight:800;
}

@media(max-width:680px){
  .iran-week-picker-form::after{
    left:15px;
  }

  .iran-week-picker-form select{
    padding-left:43px;
  }

  .iran-week-incomplete-note{
    font-size:.78rem;
  }
}

/* V21.13 — compact desktop greeting */
@media (min-width: 769px) {
  body.logged-in .home-intro {
    position: relative !important;
    padding-top: 8px !important;
  }

  body.logged-in .home-intro-copy {
    position: relative !important;
    min-height: 34px !important;
  }

  body.logged-in .home-greeting-corner {
    position: absolute !important;
    top: 0 !important;
    left: 4px !important;
    right: auto !important;
    width: max-content !important;
    max-width: 220px !important;
    margin: 0 !important;
    padding: 2px 5px !important;
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    color: #52677b !important;
    text-align: left !important;
    white-space: nowrap !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 3 !important;
  }
}


/* V21.14 — greeting under logout inside blue bar */
@media (min-width: 961px) {
  .v21-topbar {
    position: sticky !important;
    overflow: visible !important;
  }

  .desktop-topbar-greeting {
    display: block !important;
    position: absolute !important;
    left: 24px !important;
    right: auto !important;
    top: 77px !important;
    margin: 0 !important;
    padding: 0 3px !important;
    width: max-content !important;
    max-width: 180px !important;
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: #eef6ff !important;
    text-align: left !important;
    white-space: nowrap !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 120 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 960px) {
  .desktop-topbar-greeting {
    display: none !important;
  }
}
/* FOOTBALI_DESKTOP_COMPETITION_NAV_RIGHT */
@media (min-width: 769px) {
  .topbar.v21-topbar .desktop-nav.competition-nav-row {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    direction: rtl;
    justify-content: flex-start;
  }
}

/* FOOTBALI_EUROPE_WEEK_MENU_V2114 */
.euro-program-section{direction:rtl}
.euro-program-heading{margin:0 0 13px;border-radius:16px;padding:13px 17px;background:linear-gradient(110deg,#0759b7,#1687e5);color:#fff;box-shadow:0 8px 20px rgba(7,89,183,.18)}
.euro-program-heading span{display:block;font-size:1.13rem;font-weight:900}
.euro-week-picker{position:relative;margin:0 0 10px;border:3px solid #fff;border-radius:15px;background:#751b84;color:#fff;box-shadow:0 0 0 2px #751b84;overflow:hidden}
.euro-week-picker summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;list-style:none;font-size:1rem;font-weight:900;user-select:none}
.euro-week-picker summary::-webkit-details-marker{display:none}
.euro-week-chevron{display:inline-block;font-size:1.6rem;line-height:.75;transition:transform .18s ease}
.euro-week-picker[open] .euro-week-chevron{transform:rotate(180deg)}
.euro-week-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:2px;background:#fff;max-height:320px;overflow-y:auto}
.euro-week-menu a{padding:11px 9px;border-radius:0;background:#fff;color:#291037;text-align:right;font-size:.9rem;font-weight:900;text-decoration:none;transition:background .16s,color .16s}
.euro-week-menu a:hover{background:#f0e5f4;color:#751b84}
.euro-week-menu a.active{background:#751b84;color:#fff}
.euro-week-range{margin:0 0 14px;padding:9px 12px;border:1px solid #ddd4eb;border-radius:11px;background:#fbfaff;color:#5f5070;text-align:center;font-size:.85rem;font-weight:800}
.euro-week-match-card .match-meta{align-items:center}
.euro-league-chip{display:inline-flex;align-items:center;gap:5px;color:#50306f;font-weight:900}
.euro-league-chip b{font-size:1rem;line-height:1}
@media(max-width:680px){.euro-program-heading{padding:12px 14px;border-radius:14px}.euro-program-heading span{font-size:1.02rem}.euro-week-picker{border-radius:13px}.euro-week-picker summary{padding:13px 14px;font-size:.94rem}.euro-week-menu{grid-template-columns:1fr;max-height:300px}.euro-week-menu a{padding:12px 13px;font-size:.88rem}.euro-week-range{font-size:.77rem;line-height:1.8}.euro-league-chip{font-size:.76rem}.euro-week-match-card .match-meta{align-items:flex-start;gap:6px}}


/* PREDICTION_FIREFOX_NUMBER_FIX */
.score-entry input[type="number"],
.prediction-row input[type="number"]{
  -moz-appearance:textfield !important;
  appearance:textfield !important;
  padding:0 6px !important;
  color:#111827 !important;
  caret-color:#111827 !important;
  direction:ltr !important;
  text-align:center !important;
  opacity:1 !important;
}

.score-entry input[type="number"]::-webkit-inner-spin-button,
.score-entry input[type="number"]::-webkit-outer-spin-button,
.prediction-row input[type="number"]::-webkit-inner-spin-button,
.prediction-row input[type="number"]::-webkit-outer-spin-button{
  -webkit-appearance:none !important;
  margin:0 !important;
}

/* MOBILE_BULK_SAVE_BUTTON_ONLY_V1 */
@media(max-width:720px){

  /* حذف کامل نوشته‌های بالای دکمه در موبایل */
  .bulk-save-bar > div{
    display:none!important;
  }

  /* حذف قاب آبی و باقی ماندن فقط دکمه قرمز */
  .bulk-save-bar{
    position:sticky!important;
    bottom:6px!important;
    z-index:20!important;
    display:block!important;
    margin:14px 0 5px!important;
    padding:0!important;
    background:transparent!important;
    color:inherit!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }

  .bulk-save-bar .btn{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:13px 16px!important;
    border-radius:12px!important;
    background:#e52748!important;
    color:#fff!important;
    font-size:1rem!important;
    font-weight:900!important;
    box-shadow:0 7px 18px rgba(229,39,72,.25)!important;
  }
}

/* BULK_SAVE_ONLY_RED_BUTTON_FINAL_V2 */

/* فقط دکمه قرمز نمایش داده شود */
.bulk-save-bar > div{
  display:none!important;
}

.bulk-save-bar{
  background:transparent!important;
  color:inherit!important;
  border:0!important;
  padding:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* ظاهر موبایل */
@media(max-width:720px){
  .bulk-save-bar{
    position:sticky!important;
    bottom:6px!important;
    z-index:20!important;
    display:block!important;
    margin:14px 0 5px!important;
    border-radius:0!important;
  }

  .bulk-save-bar .btn{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:13px 16px!important;
    border-radius:12px!important;
    background:#e52748!important;
    color:#fff!important;
    font-size:1rem!important;
    font-weight:900!important;
    box-shadow:0 7px 18px rgba(229,39,72,.25)!important;
  }
}


/* ADMIN_MANAGED_NEWS_EDIT_V1 */
.managed-news-list{
  margin-bottom:26px;
}

.news-edit-card{
  display:block!important;
  padding:16px!important;
}

.news-edit-preview small{
  color:#718096;
}

.news-edit-preview h3{
  margin:5px 0 7px;
}

.news-edit-preview p{
  margin:0 0 12px;
  white-space:pre-line;
}

.news-edit-details{
  margin-top:12px;
}

.news-edit-details > summary{
  list-style:none;
  width:max-content;
  cursor:pointer;
  user-select:none;
}

.news-edit-details > summary::-webkit-details-marker{
  display:none;
}

.news-edit-form{
  margin-top:12px;
  padding:15px;
  background:#f8fbfd;
  border:1px solid #dfe6ee;
  border-radius:14px;
}

.news-edit-form textarea{
  width:100%;
  resize:vertical;
}

.news-edit-actions{
  margin-top:12px;
  flex-wrap:wrap;
}

.news-edit-actions form{
  margin:0;
}

@media(max-width:680px){
  .news-edit-form .form-grid{
    grid-template-columns:1fr;
  }

  .news-edit-form .span-2{
    grid-column:auto;
  }

  .news-edit-details > summary,
  .news-edit-form .btn,
  .news-edit-actions form,
  .news-edit-actions .btn{
    width:100%;
  }

  .news-edit-actions{
    display:grid;
    grid-template-columns:1fr;
  }
}


/* EUROPE_WEEK_AUTO_SCROLL_V1 */
#europe-week-schedule{
  scroll-margin-top:145px;
}

@media(max-width:960px){
  #europe-week-schedule{
    scroll-margin-top:82px;
  }
}


/* FOOTBALI_REPAIR_V7 : MOBILE HEADER ONLY */
.fd6-header{overflow:visible!important}
.fd6-main-row{box-sizing:border-box}
.fd6-logo-lockup{display:flex;align-items:center;direction:ltr;text-decoration:none!important;white-space:nowrap;min-width:0}
.fd6-logo{display:block!important;object-fit:cover!important;border-radius:50%!important;flex:0 0 auto!important;margin:0!important;padding:0!important;max-width:none!important}
.fd6-wordmark{display:inline-flex!important;direction:ltr!important;align-items:baseline!important;gap:0!important;font-family:Arial,"Segoe UI",sans-serif!important;font-style:italic!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important;text-decoration:none!important}
.fd6-wordmark strong{color:#fff!important;font-weight:900!important}
.fd6-wordmark em{color:#39b54a!important;font-style:italic!important;font-weight:900!important}
.fd6-mobile-account,.fd6-mobile-nav{display:none}

/* Desktop intentionally preserved from V6. */
@media(min-width:769px){
  html body .fd6-header{min-height:116px!important;height:auto!important;padding:0!important;display:block!important}
  html body .fd6-header .fd6-main-row{height:64px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;padding:0 max(18px,calc((100vw - 1380px)/2))!important;direction:ltr!important;overflow:hidden!important}
  html body .fd6-header .fd6-logo-lockup{gap:8px!important;min-width:190px!important}
  html body .fd6-header .fd6-logo{width:42px!important;height:42px!important;flex-basis:42px!important}
  html body .fd6-header .fd6-wordmark{font-size:18px!important;letter-spacing:-.4px!important}
  html body .fd6-header .main-nav-row{direction:rtl!important;min-width:0!important}
  html body .fd6-header .auth-actions{direction:rtl!important}
  html body .fd6-header .fd6-mobile-account,html body .fd6-header .fd6-mobile-nav{display:none!important}
  html body .fd6-header .competition-nav-row{height:52px!important;display:flex!important;align-items:center!important;direction:rtl!important;justify-content:flex-start!important;overflow:hidden!important}
  html body .fd6-header .competition-nav-row img{width:27px!important;height:27px!important;max-width:27px!important;max-height:27px!important;object-fit:contain!important;flex:0 0 27px!important;margin:0!important}
}

/* Mobile V7: compact header, 65% logo, wordmark below, menu on upper-left. */
@media(max-width:768px){
  html body .topbar.v21-topbar.fd6-header{height:auto!important;min-height:0!important;padding:0!important;display:block!important;position:sticky!important;top:0!important;z-index:1000!important;overflow:visible!important;border:0!important;border-radius:0!important;background:linear-gradient(108deg,#c90025 0%,#a80020 48%,#6f0716 77%,#36070d 100%)!important;box-shadow:0 4px 13px rgba(45,0,8,.28)!important}
  html body .fd6-header .fd6-main-row{position:relative!important;display:block!important;width:100%!important;height:74px!important;min-height:74px!important;padding:0!important;overflow:hidden!important;direction:ltr!important}

  html body .fd6-header .fd6-logo-lockup{position:absolute!important;right:9px!important;left:auto!important;top:5px!important;width:132px!important;height:64px!important;max-width:132px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:3px!important;z-index:10!important;overflow:visible!important}
  html body .fd6-header .fd6-logo{width:31px!important;height:31px!important;max-width:31px!important;max-height:31px!important;flex-basis:31px!important}
  html body .fd6-header .fd6-wordmark{display:flex!important;margin-top:2px!important;font-size:13px!important;letter-spacing:-.25px!important;line-height:1!important;text-shadow:0 1px 2px rgba(0,0,0,.25)!important}
  html body .fd6-header .fd6-wordmark strong,html body .fd6-header .fd6-wordmark em{color:#fff!important}

  html body .fd6-header .fd6-mobile-account{position:absolute!important;left:8px!important;right:auto!important;top:0!important;display:block!important;width:104px!important;height:74px!important;z-index:20!important}
  html body .fd6-header .fd6-menu{position:absolute!important;left:11px!important;right:auto!important;top:8px!important;display:grid!important;grid-template-rows:repeat(4,3px)!important;align-content:space-between!important;width:34px!important;height:31px!important;min-width:34px!important;margin:0!important;padding:3px 1px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  html body .fd6-header .fd6-menu span{display:block!important;width:100%!important;height:3px!important;margin:0!important;padding:0!important;border-radius:3px!important;background:#fff!important;box-shadow:none!important}
  html body .fd6-header .fd6-user-greeting{position:absolute!important;left:0!important;right:auto!important;top:47px!important;display:block!important;width:104px!important;max-width:104px!important;margin:0!important;padding:0!important;color:#fff!important;background:transparent!important;border:0!important;font-size:11px!important;font-weight:850!important;line-height:1.2!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-decoration:none!important}

  html body .fd6-header .desktop-nav,html body .fd6-header .auth-actions,html body .fd6-header .competition-nav-row,html body .fd6-header .desktop-topbar-greeting{display:none!important}
  html body .fd6-header .fd6-mobile-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;gap:0!important;direction:rtl!important;background:#07345e!important;border:0!important;border-top:1px solid rgba(255,255,255,.13)!important;box-shadow:none!important;overflow:hidden!important}
  html body .fd6-header .fd6-mobile-nav a{display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;height:44px!important;margin:0!important;padding:0 2px!important;border:0!important;border-left:1px solid rgba(255,255,255,.14)!important;color:#fff!important;font-size:10px!important;font-weight:850!important;line-height:1!important;text-align:center!important;white-space:nowrap!important;text-decoration:none!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html body .fd6-header .fd6-mobile-nav a:last-child{border-left:0!important}
  html body .content-update-banner{top:118px!important}
}


/* FOOTBALI_REPAIR_V8 : FINAL MOBILE HEADER ALIGNMENT */
@media(max-width:768px){
  html body header.topbar.v21-topbar.fd6-header{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:0!important;
    background:linear-gradient(108deg,#c90025 0%,#a80020 48%,#6f0716 77%,#36070d 100%)!important;
    box-shadow:0 3px 10px rgba(45,0,8,.22)!important;
  }

  html body header.topbar.v21-topbar.fd6-header .fd6-main-row{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:80px!important;
    min-height:80px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    direction:ltr!important;
  }

  /* Approved logo: top-right, compact; wordmark directly underneath. */
  html body header.topbar.v21-topbar.fd6-header a.fd6-logo-lockup{
    position:absolute!important;
    top:6px!important;
    right:8px!important;
    left:auto!important;
    bottom:auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:142px!important;
    min-width:0!important;
    max-width:142px!important;
    height:68px!important;
    margin:0!important;
    padding:0!important;
    gap:2px!important;
    overflow:visible!important;
    white-space:nowrap!important;
    transform:none!important;
    z-index:30!important;
    text-decoration:none!important;
  }
  html body header.topbar.v21-topbar.fd6-header a.fd6-logo-lockup img.fd6-logo{
    display:block!important;
    position:static!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    max-width:40px!important;
    max-height:40px!important;
    flex:0 0 40px!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
    border-radius:50%!important;
    transform:none!important;
  }
  html body header.topbar.v21-topbar.fd6-header a.fd6-logo-lockup .fd6-wordmark{
    position:static!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    direction:ltr!important;
    width:auto!important;
    max-width:138px!important;
    height:auto!important;
    margin:2px 0 0!important;
    padding:0!important;
    gap:0!important;
    color:#fff!important;
    font-family:Arial,"Segoe UI",sans-serif!important;
    font-size:14px!important;
    font-style:normal!important;
    font-weight:800!important;
    line-height:1!important;
    letter-spacing:-.2px!important;
    text-align:center!important;
    text-shadow:0 1px 2px rgba(0,0,0,.22)!important;
    transform:none!important;
  }
  html body header.topbar.v21-topbar.fd6-header a.fd6-logo-lockup .fd6-wordmark strong,
  html body header.topbar.v21-topbar.fd6-header a.fd6-logo-lockup .fd6-wordmark em{
    color:#fff!important;
    font-style:normal!important;
    font-weight:800!important;
  }

  /* Four-line menu at upper-left, greeting directly beneath it. */
  html body header.topbar.v21-topbar.fd6-header .fd6-mobile-account{
    position:absolute!important;
    display:block!important;
    top:0!important;
    left:6px!important;
    right:auto!important;
    width:132px!important;
    height:80px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    z-index:40!important;
  }
  html body header.topbar.v21-topbar.fd6-header .fd6-mobile-account button.fd6-menu{
    position:absolute!important;
    display:grid!important;
    grid-template-rows:repeat(4,3px)!important;
    align-content:space-between!important;
    top:9px!important;
    left:10px!important;
    right:auto!important;
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:31px!important;
    min-height:31px!important;
    max-height:31px!important;
    margin:0!important;
    padding:3px 1px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
  }
  html body header.topbar.v21-topbar.fd6-header .fd6-mobile-account button.fd6-menu span{
    display:block!important;
    width:100%!important;
    height:3px!important;
    min-height:3px!important;
    margin:0!important;
    padding:0!important;
    border-radius:3px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  html body header.topbar.v21-topbar.fd6-header .fd6-mobile-account a.fd6-user-greeting{
    position:absolute!important;
    display:block!important;
    top:50px!important;
    left:0!important;
    right:auto!important;
    width:132px!important;
    max-width:132px!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    color:#fff!important;
    background:transparent!important;
    border:0!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1.15!important;
    text-align:left!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
    text-decoration:none!important;
    transform:none!important;
  }

  html body header.topbar.v21-topbar.fd6-header .desktop-nav,
  html body header.topbar.v21-topbar.fd6-header .auth-actions,
  html body header.topbar.v21-topbar.fd6-header .competition-nav-row,
  html body header.topbar.v21-topbar.fd6-header .desktop-topbar-greeting{
    display:none!important;
  }

  /* Blue bar immediately below red header. */
  html body header.topbar.v21-topbar.fd6-header .fd6-mobile-nav{
    position:relative!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    direction:rtl!important;
    background:#07345e!important;
    border:0!important;
    border-top:1px solid rgba(255,255,255,.12)!important;
    overflow:hidden!important;
    transform:none!important;
  }
  html body header.topbar.v21-topbar.fd6-header .fd6-mobile-nav a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    height:44px!important;
    margin:0!important;
    padding:0 2px!important;
    border:0!important;
    border-left:1px solid rgba(255,255,255,.14)!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:850!important;
    line-height:1!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    text-decoration:none!important;
  }

  /* Countdown: larger/readable and a few pixels left, without changing logic. */
  html body .v222-countdown{
    min-height:52px!important;
    margin:0!important;
    padding:9px 8px 9px 20px!important;
    font-size:16.5px!important;
    line-height:1.25!important;
    box-sizing:border-box!important;
    transform:translateX(-5px)!important;
  }
  html body .v222-countdown .v222-countdown-match,
  html body .v222-countdown .v222-countdown-time{
    font-size:1em!important;
    line-height:1.2!important;
  }

  html body .content-update-banner{top:124px!important}
}


/* FD_GAMES_MOBILE_UI_FINAL_V4 */
@media(max-width:680px){

.tabbar{
display:grid !important;
grid-template-columns:repeat(2,minmax(0,1fr)) !important;
gap:8px !important;
width:100% !important;
margin:12px 0 16px !important;
}

.tabbar a{
display:flex !important;
align-items:center !important;
justify-content:center !important;
min-height:42px !important;
padding:7px 5px !important;
text-align:center !important;
font-size:.78rem !important;
border-radius:12px !important;
white-space:normal !important;
box-sizing:border-box !important;
}

.upcoming-summary{
display:none !important;
}

}


/* FD_STYLE_CSS_MOBILE_TABBAR_FIX_FINAL_V5 */
@media(max-width:680px){

.tabbar{
 display:grid !important;
 grid-template-columns:repeat(2,minmax(0,1fr)) !important;
 gap:8px !important;
 width:100% !important;
 margin:12px 0 18px !important;
}

.tabbar a{
 display:flex !important;
 align-items:center !important;
 justify-content:center !important;
 min-height:44px !important;
 padding:8px 6px !important;
 border-radius:12px !important;
 text-align:center !important;
 font-size:.82rem !important;
 line-height:1.35 !important;
 box-sizing:border-box !important;
}

.upcoming-summary{
 display:none !important;
}

}

/* FD891_MOBILE_PODIUM_AND_MEDAL_V1
   Single mobile override for all weekly/monthly/overall podiums.
   Preserve the FD890 name fix and the medal's ORIGINAL SVG ribbon.
   Suppress ONLY the extra pseudo-ribbon added by dashboard R126/R127.
   The protected FD874 dashboard stays byte-for-byte unchanged. */
@media (max-width:680px){
  .winners-showcase .podium-grid > .podium-card{
    grid-template-columns:112px minmax(0,1fr)!important;
  }
  .winners-showcase .podium-grid > .podium-card .podium-avatar{
    grid-column:1!important;
    grid-row:1/3!important;
  }
  .winners-showcase .podium-grid > .podium-card h3,
  .winners-showcase .podium-grid > .podium-card p{
    grid-column:2!important;
    min-width:0!important;
    overflow-wrap:break-word!important;
  }
  .winners-showcase .podium-grid > .podium-card .podium-medal.mega-medal{
    top:0!important;
    right:-12px!important;
    left:auto!important;
    width:44px!important;
    height:44px!important;
    transform:none!important;
    z-index:18!important;
  }
  .winners-showcase .podium-grid > .podium-card .podium-medal.mega-medal::before,
  .winners-showcase .podium-grid > .podium-card .podium-medal.mega-medal::after{
    content:none!important;
    display:none!important;
  }
}
@media (max-width:370px){
  .winners-showcase .podium-grid > .podium-card{
    grid-template-columns:102px minmax(0,1fr)!important;
  }
}

/* FDAC27_HIDE_REDUNDANT_ADMIN_BARS_20261031 — visual-only, preserves all admin/backend data. */
html body details#fd360-showcase-scheduler,
html body details#fd367-weekly-album-control {
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  overflow:hidden!important;
}
