/* Approved Premium design applied to every authenticated module. Dashboard/login unchanged. */
body.premium-app:not([data-section=dashboard]){--mp-glass:linear-gradient(138deg,#183c2cad,#071e17d1);--mp-position:86% 50%}
body.premium-app[data-section=games]{--p30-scene:url('/scenes/modules/match-ball.svg')}
body.premium-app[data-section=work]{--p30-scene:url('/scenes/modules/season-tickets.svg')}
body.premium-app[data-section=holders]{--p30-scene:url('/scenes/modules/locker-jerseys.svg')}
body.premium-app[data-section=bfv]{--p30-scene:url('/scenes/modules/league-scoreboard.svg')}
body.premium-app[data-section=stats]{--p30-scene:url('/scenes/modules/terrace-statistics.svg')}
body.premium-app[data-section=crests]{--p30-scene:url('/scenes/modules/club-crest.svg')}
body.premium-app[data-section=users]{--p30-scene:url('/scenes/modules/stadium-architecture.svg')}
body.premium-app[data-section=appearance]{--p30-scene:url('/scenes/modules/floodlight-masts.svg')}
body.premium-app[data-section=mail]{--p30-scene:url('/scenes/modules/press-box.svg')}
body.premium-app[data-section=account]{--p30-scene:url('/scenes/modules/personal-locker.svg')}
body.premium-app[data-section=seasons]{--p30-scene:url('/scenes/modules/season-pitch.svg')}
body.premium-app[data-section=archive]{--p30-scene:url('/scenes/modules/stadium-tunnel.svg')}
body.premium-app[data-section=activity]{--p30-scene:url('/scenes/modules/stadium-control.svg')}
body.premium-app[data-section=data]{--p30-scene:url('/scenes/modules/stadium-vault.svg')}
body.premium-app[data-section=sponsoring]{--p30-scene:url('/scenes/modules/vip-terrace.svg');--mp-glass:linear-gradient(138deg,#1c4436ad,#071e17d1);--mp-position:82% 50%}
body.premium-app[data-section=entry]{--p30-scene:url('/scenes/modules/goal-net.svg');--mp-glass:linear-gradient(138deg,#183b2cad,#071b14d1);--mp-position:85% 48%}
body.premium-app[data-section=calendar],body.premium-app[data-section=birthdays]{--p30-scene:url('/scenes/modules/tactics-board.svg');--mp-glass:linear-gradient(138deg,#173c2cad,#071e17d1);--mp-position:90% 50%}
body.premium-app[data-section=tasks]{--p30-scene:url('/scenes/modules/touchline-boots.svg');--mp-glass:linear-gradient(138deg,#20402cad,#081e16d1);--mp-position:86% 60%}
body.premium-app:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]):before{background-image:linear-gradient(90deg,#03100bd6,#04130c55),var(--p30-scene);background-position:center,var(--mp-position);background-size:cover,cover;background-repeat:no-repeat}
body.premium-app:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]) :is(.panel,.sp-card,.sp-metric){background:var(--mp-glass);border-radius:21px;box-shadow:inset 0 1px 0 #d7ffe930,inset 0 -1px 0 #00190d80,0 2px 5px #0007,0 16px 36px #0005,0 30px 65px #00130840;border-top-color:#c6e7c460;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
body.premium-app.light:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]){--mp-glass:linear-gradient(138deg,#f0f9efe6,#dcece1e3)}
body.premium-app.light:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]):before{background-image:linear-gradient(90deg,#edf5ebf0,#e3eee2a3),var(--p30-scene)}
body.premium-app.light:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]) :is(.panel,.sp-card,.sp-metric){box-shadow:inset 0 1px 0 #fff9,inset 0 -1px 0 #537c5a20,0 2px 5px #1b3e2920,0 16px 36px #1e3d2729,0 30px 65px #102a1920;border-top-color:#fff9}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body.premium-app:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]) :is(.panel,.sp-card,.sp-metric){background:#0b241bf5}body.premium-app.light:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]) :is(.panel,.sp-card,.sp-metric){background:#e9f3eaf5}}
@media(max-width:1100px){body.premium-app:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]):before{background-position:center,82% center}}
@media(max-width:800px){body.premium-app:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]):before{background-position:center,78% center;background-image:linear-gradient(90deg,#03100bdc,#04130c8a),var(--p30-scene)}body.premium-app:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]) :is(.panel,.sp-card,.sp-metric){backdrop-filter:none;-webkit-backdrop-filter:none;background:linear-gradient(138deg,#173b2bdf,#071d16ed);box-shadow:inset 0 1px 0 #d7ffe92b,0 3px 8px #0005,0 16px 24px #0004}body.premium-app.light:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]):before{background-image:linear-gradient(90deg,#edf5ebed,#e3eee2b0),var(--p30-scene)}body.premium-app.light:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]) :is(.panel,.sp-card,.sp-metric){background:linear-gradient(138deg,#eff7efe8,#dcece1eb);box-shadow:inset 0 1px 0 #fff8,0 3px 8px #183d2420,0 16px 24px #183d241b}}
@media(prefers-reduced-transparency:reduce){body.premium-app:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]) :is(.panel,.sp-card,.sp-metric){backdrop-filter:none;background:#0c251c}body.premium-app.light:is([data-section=sponsoring],[data-section=entry],[data-section=calendar],[data-section=birthdays],[data-section=tasks],[data-section=work],[data-section=holders],[data-section=games],[data-section=bfv],[data-section=stats],[data-section=crests],[data-section=users],[data-section=appearance],[data-section=mail],[data-section=account],[data-section=seasons],[data-section=archive],[data-section=activity],[data-section=data]) :is(.panel,.sp-card,.sp-metric){background:#edf5ed}}

body.premium-app[data-section=sponsoring] .sp-tabs .primary{background:linear-gradient(135deg,#a4e0b1,#57b97c);color:#072315;border-color:#bfedc26b;box-shadow:inset 0 1px 0 #eaffee80,0 5px 16px #001f0f33}
body.premium-app[data-section=sponsoring] :is(.sp-metric,.sp-columns .panel h2) .ui-icon{color:#b1efc5}
body.premium-app.light[data-section=sponsoring] :is(.sp-metric,.sp-columns .panel h2) .ui-icon{color:#235c35}
@media(min-width:801px) and (max-width:1100px){body.premium-app[data-section=sponsoring] .sp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body.premium-app[data-section=sponsoring] .sp-columns{grid-template-columns:minmax(0,1fr)}}
/* Shared responsive administration controls, without touching the approved dashboard. */
body.premium-app:not([data-section=dashboard]) #content :is(.formgrid,.grid,.mail-centre-grid)>*{min-width:0}
body.premium-app:not([data-section=dashboard]) #content :is(input,select,textarea){max-width:100%;min-width:0}
body.premium-app:not([data-section=dashboard]) #content :is(h1,h2,h3,p,td,dd){overflow-wrap:anywhere}
body.premium-app:not([data-section=dashboard]) #content :is(.work-actions,.bd-tabs,.mail-centre-tabs,.w-tabs){display:flex;flex-wrap:wrap;gap:8px}
@media(min-width:801px) and (max-width:1100px){body.premium-app:not([data-section=dashboard]) #content .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}body.premium-app:not([data-section=dashboard]) #content .grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){
 body.premium-app:not([data-section=dashboard]) #content .formgrid,body.premium-app:not([data-section=dashboard]) #content .grid{grid-template-columns:minmax(0,1fr)}
 body.premium-app:not([data-section=dashboard]) #content .formgrid>*{grid-column:auto}
 body.premium-app:not([data-section=dashboard]) #content .formgrid :is(.actions,.form-wide){grid-column:1/-1}
 body.premium-app:not([data-section=dashboard]) #content .tablewrap{max-width:100%;overflow:visible}
 body.premium-app:not([data-section=dashboard]) #content table.module-responsive-table{display:block;white-space:normal;min-width:0!important;width:100%;font-size:12px}
 body.premium-app:not([data-section=dashboard]) #content .module-responsive-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 body.premium-app:not([data-section=dashboard]) #content .module-responsive-table tbody{display:block}
 body.premium-app:not([data-section=dashboard]) #content .module-responsive-table tbody tr{display:block;margin:14px 0;padding:10px;border:1px solid var(--border);border-radius:15px;background:#08221738}
 body.premium-app:not([data-section=dashboard]) #content .module-responsive-table tbody td{display:block;max-width:100%;min-width:0;white-space:normal;padding:8px 4px;border-bottom:1px solid #7da58a24;overflow-wrap:anywhere}
 body.premium-app:not([data-section=dashboard]) #content .module-responsive-table td[data-label]:not([data-label=""]):before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;font-weight:650;letter-spacing:.3px;margin-bottom:6px}
 body.premium-app:not([data-section=dashboard]) #content .module-responsive-table td .actions{display:flex;flex-wrap:wrap;gap:8px}
 body.premium-app:not([data-section=dashboard]) #content .module-responsive-table td :is(button,a.button){white-space:normal;min-height:44px}
 body.premium-app:not([data-section=dashboard]) #content .table-scroll-hint{display:none}
 body.premium-app:not([data-section=dashboard]) #content :is(.sp-overview-list,#dash-league-clubs){max-height:none;overflow:visible}
}
/* Existing premium palette and controls; hierarchy only. */
body.premium-app .sidebar .w-nav-child{padding-left:18px;margin-top:-3px}body.premium-app .sidebar .w-nav-child button{font-size:13px}body.premium-app .sidebar .w-nav-group>summary{min-height:44px;display:flex;align-items:center;cursor:pointer}body.premium-app .sidebar .w-nav-group>summary:before{content:'▸';margin-right:8px}body.premium-app .sidebar .w-nav-group[open]>summary:before{content:'▾'}body.premium-app .sidebar .w-nav-group button[aria-current=page]{box-shadow:inset 3px 0 #77db9b}
@media(max-width:800px){body.premium-app .sidebar nav button{min-height:44px}body.premium-app .sidebar{overflow-y:auto;overscroll-behavior:contain}body.premium-app .sidebar .w-nav-child{padding-left:14px}}
