[hidden]{display:none!important}*{box-sizing:border-box}html{background:#03101d;color:#f4f8fc;font-family:Inter,"Segoe UI",Arial,sans-serif}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 85% 12%,#073e52b5,transparent 38%),radial-gradient(ellipse at 14% 78%,#1830527d,transparent 38%),linear-gradient(145deg,#03101b,#071927 58%,#020914)}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}a{color:inherit}.skip{position:absolute;left:-999px;top:0;z-index:5}.skip:focus{left:15px;top:15px;background:#ffd07a;color:#071421;padding:9px}.top{min-height:80px;padding:14px clamp(16px,4.5vw,80px);display:flex;align-items:center;gap:30px;justify-content:space-between;background:#021321d9;border-bottom:1px solid #326073}.logo{font-size:clamp(30px,3vw,43px);font-weight:900;letter-spacing:-2px;text-decoration:none;white-space:nowrap}.logo span{color:#e92c49}.top-tag{font-size:11px;letter-spacing:2px;color:#99c7d8;font-weight:800}.top-tag b{color:#f7cb75;margin-left:13px}.top-link{border:1px solid #e9ba62;border-radius:9px;padding:11px 16px;text-decoration:none;color:#ffdc8c;font-weight:750;white-space:nowrap}.shell{max-width:1700px;margin:auto;display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;padding:clamp(14px,2.2vw,34px)}.sidebar{min-width:0;align-self:start;border:1px solid #2c5465;border-radius:22px;background:linear-gradient(160deg,#0b2434f5,#061824f5);box-shadow:0 18px 50px #0005;overflow:hidden;position:sticky;top:15px}.identity{padding:26px 23px 19px;border-bottom:1px solid #21475b}.avatar,.player-avatar{display:grid;place-items:center;border-radius:50%;border:2px solid #eac476;color:#ffd67d;background:radial-gradient(circle at 30% 25%,#246078,#041a2b 78%);font-weight:800;box-shadow:0 0 22px #0eb9da44}.avatar{height:64px;width:64px;font-size:31px}.small,.card-kicker,.eyebrow{font-size:11px;letter-spacing:2px;color:#e5bd74;font-weight:900}.identity strong{display:block;font-size:20px;overflow-wrap:anywhere}.identity .small{margin:16px 0 7px}.status{color:#99c9d3;font-size:12px;display:flex;align-items:center;gap:8px;margin-top:12px}.status i{height:8px;width:8px;background:#3ee5ac;border-radius:50%;box-shadow:0 0 10px #3ee5ac}.sidebar nav{display:grid;gap:5px;padding:17px 10px}.nav{display:flex;gap:12px;text-align:left;width:100%;align-items:center;background:transparent;color:#b6cfd9;border:1px solid transparent;border-radius:10px;padding:13px 14px;cursor:pointer;font-weight:700;font-size:13px}.nav span{width:23px;text-align:center;font-size:19px;color:#79c9d6}.nav:hover,.nav:focus-visible{background:#17364a;color:#fff}.nav.active{background:linear-gradient(90deg,#194454,#0b2c41);color:#fff;border-color:#427587}.nav.active span{color:#ffd07a}.signout{width:calc(100% - 24px);margin:2px 12px 16px;padding:13px;border:1px solid #42677a;border-radius:10px;background:#102c3d;color:#fff;font-weight:800;cursor:pointer}.signout span{float:right}.main{min-width:0}.masthead{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:190px;margin-bottom:18px;padding:clamp(22px,3vw,42px);border-radius:22px;border:1px solid #266779;background:linear-gradient(110deg,#0c3249e8,#06162799 65%),radial-gradient(circle at 85% 45%,#0a778a8c,transparent 50%);position:relative;overflow:hidden}.masthead:after{content:"";pointer-events:none;position:absolute;inset:0;border-radius:22px;box-shadow:inset 0 0 65px #05b5ce16}.masthead h1{font-size:clamp(32px,4.4vw,55px);line-height:1.05;margin:12px 0;color:#fff;letter-spacing:-1px}.masthead p:last-child{color:#b4cfdc;margin:0}.mark{height:124px;width:124px;border:8px double #e4b96b;border-radius:50%;display:grid;place-items:center;align-content:center;transform:rotate(8deg);color:#ffd27c;background:#082638;box-shadow:0 0 40px #dcb56632;flex:none}.mark span{font-size:55px;line-height:1}.mark small{font-size:10px;font-weight:900}.notice{padding:12px 17px;background:#112d39;border:1px solid #386578;border-radius:12px;margin-bottom:16px;color:#c8e5ed;font-size:13px}.notice[hidden]{display:none}.notice.error{border-color:#a9505d;color:#ffdadc}.view{display:none}.view.active{display:grid;gap:18px}.card{background:linear-gradient(145deg,#0a2332f6,#061925f8);border:1px solid #2c5667;box-shadow:0 10px 40px #0004;border-radius:18px;padding:clamp(19px,2.5vw,32px)}.card h2{font-size:clamp(21px,2.5vw,30px);margin:5px 0 15px}.card p{line-height:1.7;color:#b7cbd4}.card-kicker{margin:0!important;color:#e8b967!important}.hero-card{display:flex;gap:24px;align-items:center;border-color:#906d3d;background:linear-gradient(100deg,#102b3d,#071d2e)}.player-avatar{width:87px;height:87px;flex:none;font-size:44px}.hero-card h2{margin:6px 0 2px}.hero-card p{margin:0}.verified{margin-left:auto;color:#66e6b9;border:1px solid #247967;background:#0d403d73;padding:9px 14px;border-radius:50px;font-size:12px;font-weight:800;white-space:nowrap}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.card-note{font-size:12px;color:#95b4c1}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.form-grid label{display:grid;align-content:start;gap:9px;color:#d9e6ed;font-size:13px;font-weight:750}.form-grid .wide{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{background:#091e2c;border:1px solid #426274;color:#fff;border-radius:9px;min-height:46px;padding:12px 13px;width:100%;min-width:0;outline-offset:3px}.form-grid textarea{resize:vertical;min-height:110px}.form-grid input:disabled{background:#0b2630;color:#a4bfce;cursor:not-allowed}.form-grid small{color:#85a8b9;font-size:11px}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding-top:25px}.form-actions span{color:#8bafbb;font-size:12px}.primary,.secondary{border-radius:10px;padding:14px 20px;font-size:14px;font-weight:850;cursor:pointer}.primary{border:1px solid #ffdd95;background:linear-gradient(180deg,#ffe1a0,#dca94f);color:#101725;box-shadow:0 5px 20px #edb35f35}.primary:disabled{opacity:.65;cursor:wait}.secondary{border:1px solid #5490a2;background:#10374b;color:#f2f9fb}.link-button{display:inline-flex;text-decoration:none;margin-top:12px}.detail{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #285062;padding:18px 0;color:#b2cad5}.detail strong{color:#fff;text-align:right}.footer{padding:23px;color:#7194a8;font-size:12px;text-align:center}:focus-visible{outline:3px solid #ffd17c;outline-offset:3px}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{position:static}.sidebar nav{display:flex;overflow-x:auto;gap:8px}.nav{min-width:max-content;width:auto}.identity{display:flex;align-items:center;gap:13px;padding:14px}.identity .small,.identity .status{display:none}.avatar{width:45px;height:45px;font-size:24px}.identity strong{font-size:16px}.signout{width:auto;margin:0 12px 14px}.top-tag{display:none}}@media(max-width:610px){.top{min-height:65px}.top-link{font-size:12px;padding:10px}.shell{padding:12px;gap:14px}.masthead{min-height:155px;padding:20px}.mark{width:67px;height:67px;border-width:4px}.mark span{font-size:29px}.mark small{font-size:7px}.hero-card{flex-wrap:wrap;gap:12px}.player-avatar{height:68px;width:68px;font-size:33px}.verified{margin-left:0}.form-grid{grid-template-columns:1fr}.card-heading{display:block}.card-note{display:none}.form-actions{align-items:stretch}.form-actions button{width:100%}}.access-screen{min-height:calc(100dvh - 80px);display:grid;place-items:center;padding:20px}.access-card{width:min(100%,560px);text-align:center;border-radius:22px;border:1px solid #3d7080;background:linear-gradient(145deg,#102c41,#061925);box-shadow:0 18px 50px #0007;padding:clamp(25px,5vw,45px)}.access-icon{font-size:58px;color:#efc578;margin:12px auto}.access-card h1{font-size:clamp(26px,4vw,37px);margin:12px 0}.access-card>p:not(.card-kicker){color:#b8d1dc;line-height:1.6}.access-actions{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:15px}.access-actions .primary,.access-actions .secondary{margin-top:0}

.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.stat{padding:20px}.stat small{font-size:10px;color:#f4c67d;font-weight:900;letter-spacing:1.2px}.stat strong{display:block;font-size:clamp(22px,3vw,36px);margin:8px 0;color:#f6fbff}.stat span{font-size:12px;color:#a6c3d0}.favorite-links,.quick-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.favorite-links a{display:inline-flex;border:1px solid #478399;background:#103849;color:#e5f6fa;padding:10px 15px;border-radius:10px;text-decoration:none;font-weight:750;font-size:13px}.quick-actions .link-button{margin-top:0}.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:20px}.game-tile{padding:19px;border:1px solid #356679;background:linear-gradient(145deg,#0c3446,#081f30);border-radius:15px}.game-tile h3{font-size:19px;margin:8px 0 4px}.game-tile p{font-size:12px;margin:4px 0 14px}.game-emoji{font-size:30px;color:#f4cb80}.game-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}.game-actions a,.game-actions button{font-size:13px;font-weight:800;color:#dff9fd;border:1px solid #548b9c;border-radius:8px;background:#123e51;padding:9px 11px;text-decoration:none;cursor:pointer}.game-actions button[aria-pressed="true"]{background:#4c3e23;color:#f8d288;border-color:#d1aa66}.appearance-form{display:grid;gap:10px}.setting{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 0;border-bottom:1px solid #284858}.setting span{display:grid;gap:6px}.setting strong{font-size:14px}.setting small{font-size:12px;color:#9db6c5}.setting select{background:#0b2939;border:1px solid #4a8090;color:#fff;border-radius:8px;padding:11px;max-width:200px}.setting input{width:22px;height:22px;accent-color:#efc77d}.session-list{margin:18px 0}.session-item{border-bottom:1px solid #285364;padding:15px 0;display:flex;justify-content:space-between;gap:12px;align-items:center}.session-item strong{font-size:13px}.session-item span{display:block;margin-top:5px;color:#a1bcca;font-size:12px}.session-item em{font-size:11px;color:#a4ecd5;font-style:normal}body.panel-compact .card{padding:14px}body.panel-compact .view.active{gap:10px}body.panel-large{font-size:18px}body.panel-large .card p,body.panel-large .nav,body.panel-large .detail,body.panel-large .setting small{font-size:1rem}body.panel-no-motion *,body.panel-no-motion *:before,body.panel-no-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(max-width:610px){.stats,.game-grid{grid-template-columns:1fr}.setting{flex-wrap:wrap}.session-item{align-items:flex-start}}
.friends-search{display:grid;gap:10px}.friends-search label{font-size:13px;font-weight:800;color:#dcebf0}.friends-search-controls{display:flex;align-items:stretch;gap:10px}.friends-search-controls input{flex:1;min-width:0;background:#071e2a;border:1px solid #487a8d;color:#f1faff;font:inherit;font-size:14px;border-radius:10px;padding:13px}.friends-items{display:grid;gap:9px;margin:12px 0}.friend-person{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;background:linear-gradient(105deg,#0d3040,#081e2e);border:1px solid #35697b;border-radius:12px}.friend-name{font-size:14px;font-weight:850;overflow-wrap:anywhere}.friend-sub{font-size:11px;color:#9dbdcb;margin-top:4px}.friend-controls{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.friend-controls button{border-radius:8px;border:1px solid #518b9c;background:#103849;color:#f1fcff;padding:9px 11px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.friend-controls button.friend-main{border-color:#dfba73;background:#533e24;color:#ffdd9c}.friend-controls button:disabled{opacity:.55;cursor:wait}.friend-empty{color:#8daebb!important;font-size:13px;margin:6px 0!important}.friend-alert{color:#ffd59f!important;font-size:13px}.friends-stats .stat strong{font-variant-numeric:tabular-nums}@media(max-width:610px){.friends-search-controls{flex-wrap:wrap}.friends-search-controls button{width:100%}.friend-person{align-items:flex-start;flex-wrap:wrap}.friend-controls{width:100%;justify-content:flex-start}}

.social-label{display:block;color:#dbeff6;font-weight:800;margin:12px 0;font-size:13px}
.social-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.social-controls select{flex:1;min-width:160px;padding:12px;background:#082537;color:#fff;border:1px solid #447b8f;border-radius:9px;font:inherit}
.social-thread{min-height:260px;max-height:420px;overflow-y:auto;border:1px solid #386c7e;border-radius:13px;background:linear-gradient(140deg,#061622,#09283b);padding:16px;display:flex;flex-direction:column;gap:11px}
.social-thread>p{color:#a7c3d2}.social-bubble{padding:12px 15px;border:1px solid #367185;border-radius:13px;max-width:85%;align-self:flex-start;background:#143448;overflow-wrap:anywhere}.social-bubble.own{align-self:flex-end;background:#453c2b;border-color:#8f774c}
.social-bubble p{color:#f4f8fc!important;white-space:pre-wrap;margin:0 0 7px;line-height:1.55}.social-bubble small{font-size:10px;color:#b5cfdb}
.social-send textarea{width:100%;min-height:90px;background:#091f2d;color:#f8fbfc;border:1px solid #416c80;border-radius:9px;padding:12px;font:inherit}
.social-limitation{border:1px solid #816a42;border-radius:11px;background:#42311c55;color:#f6d6a2!important;padding:13px}
@media(max-width:610px){.social-controls{align-items:stretch;flex-direction:column}.social-controls>*{width:100%}.social-bubble{max-width:95%}}

.match-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:17px 0}
.match-players{font-weight:800;font-size:14px;color:#ebc786}
.match-board{display:grid;max-width:650px;width:100%;aspect-ratio:1;margin:12px auto;border:5px solid #d5ab63;border-radius:12px;overflow:hidden;background:#092337;gap:0}
.match-cell{min-width:0;min-height:0;padding:0;display:grid;place-items:center;border:1px solid #52708155;font-weight:900;cursor:pointer;font-family:inherit;line-height:1}
.match-board.checkers .match-cell{font-size:clamp(18px,3.1vw,49px)}
.match-board.checkers .match-cell.dark{background:#254b5c}
.match-board.checkers .match-cell.light{background:#b2c8c8}
.match-board.checkers .match-cell.selected{box-shadow:inset 0 0 0 4px #ffdc84}
.match-board.checkers .match-cell.p1{color:#e5eefa;text-shadow:0 2px 3px #0007}
.match-board.checkers .match-cell.p2{color:#eac071;text-shadow:0 2px 3px #0009}
.match-board.gomoku{background:#d9b77b}
.match-board.gomoku .match-cell{background:transparent;border-color:#6f5b3c80;position:relative;font-size:clamp(8px,1.9vw,23px)}
.match-board.gomoku .match-cell.p1{color:#193744}
.match-board.gomoku .match-cell.p2{color:#faf8e9;text-shadow:0 1px 3px #000a}
.match-cell:disabled{cursor:default}
.match-cell:focus-visible{outline:3px solid #ffcb6b;outline-offset:-3px}
@media(max-width:610px){.match-board{border-width:3px}.match-board.checkers .match-cell{font-size:clamp(15px,5vw,35px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}/* Player panel reference layout — 2026-11-04. Visual only; existing account logic retained. */
.site-nav{min-height:54px;padding:8px clamp(18px,4vw,70px);display:flex;align-items:center;gap:42px;background:#001622;border-bottom:1px solid #17c4be}
.site-brand{text-decoration:none;font-size:29px;line-height:1;font-weight:950;letter-spacing:-1.7px;color:#fff;white-space:nowrap}
.site-brand span{color:#eb2b4a}.site-nav nav{display:flex;align-items:center;gap:clamp(18px,3vw,52px);flex-wrap:wrap}
.site-nav nav a{text-decoration:none;color:#e6eff6;font-weight:650;font-size:clamp(13px,1.2vw,18px)}.site-nav nav a:hover{color:#65fff0}
.top{min-height:74px;padding:12px clamp(20px,4.5vw,76px);background:#031c29;border-color:#18ccc2}
.top-tag{color:#f3f7f9}.top-tag b{color:#f8ce65}.top-link{border-color:#e4b04d;color:#ffd772}
.shell{max-width:1800px;grid-template-columns:minmax(0,1fr) 310px;gap:30px;padding:26px clamp(20px,2.3vw,44px)}
.main{grid-column:1;grid-row:1}.sidebar{grid-column:2;grid-row:1;top:16px;background:linear-gradient(145deg,#07313e,#031925 72%);border:1px solid #368190;box-shadow:inset 0 0 36px #00e5de11,0 14px 42px #0006;border-radius:22px}
.identity{padding:19px 24px 15px}.identity .small{color:#f9cb53}.identity strong{font-size:19px}.avatar,.player-avatar{border-color:#ffe08a;box-shadow:0 0 0 2px #1fe9d8,0 0 27px #16e6d96e;color:#ffe0a1}
.sidebar nav{gap:3px;padding:12px 16px}.sidebar .nav{padding:8px 13px;font-weight:650;border-radius:12px;color:#e6f3f5}.sidebar .nav span{color:#65e8e0}
.sidebar .nav.active{border-color:#10f3d9;background:linear-gradient(90deg,#095e63,#037277 55%,#063b49);box-shadow:inset 0 0 12px #00f9e55c,0 0 14px #00e6d85c}.sidebar .nav.active span{color:#8bfff2}
.create-room{width:calc(100% - 34px)!important;margin:14px 17px 7px!important;justify-content:center;color:#ffdf81!important;border:1px solid #ffd266!important;background:linear-gradient(180deg,#685427,#29251c)!important;box-shadow:0 0 20px #eecb5d4d;font-size:15px!important}
.create-room span{color:#ffdb80!important}.signout{border-color:#2a7679}
.masthead{min-height:224px;border:1px solid #099b9b;border-radius:23px;background:radial-gradient(ellipse at 76% 45%,#007b85b8,transparent 51%),linear-gradient(145deg,#034751,#002432 48%,#00616a);box-shadow:inset 0 -30px 45px #00454b80}
.masthead:before{content:"";position:absolute;inset:auto -5% -42% 40%;height:85%;border-top:2px solid #15f6dc;border-radius:50%;transform:rotate(-22deg);box-shadow:0 -10px 20px #00e9c74d;pointer-events:none}
.masthead h1{font-size:clamp(36px,4.8vw,60px);text-shadow:0 3px 10px #00171d7a}.masthead .eyebrow,.card-kicker,.stat small{color:#ffd25c!important}
.mark{width:136px;height:136px;border:9px double #ffd659;transform:none;box-shadow:0 0 0 3px #08ccb7,0 0 32px #03e4d36b;background:#00222d}
.card{background:linear-gradient(135deg,#073544,#031d2c 80%);border-color:#0b999c;box-shadow:inset 0 0 26px #04b8b014,0 11px 30px #0003}
.hero-card{min-height:155px;border-color:#d1a04b;background:radial-gradient(ellipse at 58% 140%,#135d67,transparent 65%),linear-gradient(110deg,#053540,#031d2b)}
.hero-card .player-avatar{width:89px;height:89px}.hero-card h2{font-size:32px}.verified{border-color:#00ebc4;color:#48ffdc;background:#003c40}
.stats{gap:18px}.stat{border-color:#02aca9!important;box-shadow:inset 0 -2px 0 #17edda,0 0 18px #04bdb91a!important}.stat strong{font-size:clamp(30px,3vw,42px)}
body{background:radial-gradient(ellipse at 60% 22%,#064653,transparent 55%),linear-gradient(125deg,#001b29,#001420 75%,#011c26)}
@media(max-width:900px){.shell{grid-template-columns:minmax(0,1fr) 250px;gap:16px;padding:16px}.sidebar{grid-column:2;grid-row:1;position:sticky;top:10px}.main{grid-column:1;grid-row:1}.site-nav{gap:15px}.site-nav nav{gap:12px}.site-nav nav a{font-size:12px}.masthead{min-height:185px}}
@media(max-width:700px){.site-nav{padding:12px 16px;display:block}.site-nav nav{margin-top:12px;gap:12px 20px}.shell{display:flex;flex-direction:column;padding:12px}.main{order:1}.sidebar{order:2;position:static;width:100%}.masthead{min-height:170px;padding:20px}.mark{width:84px;height:84px;border-width:5px}.mark span{font-size:36px}.hero-card{flex-wrap:wrap}.verified{margin-left:0}.top-tag{display:none}}

/* Konto i profil — premium bez zmian w pozostałych panelach */
.premium-profile{gap:21px}.premium-profile .profile-hero-premium{position:relative;overflow:hidden;border:1px solid #19c7bd;border-radius:23px;padding:clamp(20px,3vw,38px);background:radial-gradient(ellipse at 80% 10%,#00a99a52,transparent 45%),radial-gradient(ellipse at 5% 90%,#037b965e,transparent 45%),linear-gradient(135deg,#053746,#011e2d 70%,#064656);box-shadow:inset 0 0 42px #0cf7dc17,0 14px 38px #0005}
.profile-topline{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:28px}.profile-topline>span:first-child{color:#9dffec;font-size:11px;font-weight:900;letter-spacing:1.6px}.profile-verified{border-radius:30px;background:#075b5480;border:1px solid #13a893;padding:8px 12px;color:#a4ffe2;font-size:12px;font-weight:800}
.profile-hero-body,.profile-intro{display:flex;align-items:center;gap:23px;flex-wrap:wrap}.profile-hero-body{justify-content:space-between}.profile-intro{min-width:0}.profile-avatar-frame{height:118px;width:118px;border:2px solid #19f4d8;box-shadow:0 0 28px #08eac44d,inset 0 0 18px #0debc524;border-radius:26px;display:grid;place-items:center;position:relative;background:#063747}
.profile-avatar-large{font-size:68px;font-weight:900;color:#ffe0a1}.profile-avatar-check{position:absolute;bottom:-8px;right:-8px;background:#069e8b;color:#fff;border:2px solid #8dffe1;border-radius:50%;height:31px;width:31px;display:grid;place-items:center}
.profile-intro h2{margin:4px 0 0;font-size:clamp(30px,3.7vw,47px);line-height:1.1;overflow-wrap:anywhere}.profile-intro #profile-handle{margin:5px 0 12px;color:#7ffff0;font-weight:800}.profile-chips{display:flex;flex-wrap:wrap;gap:8px}.profile-chips span{background:#095565;color:#e2ffff;border:1px solid #1b8790;border-radius:24px;padding:6px 11px;font-size:11px;font-weight:800}
.profile-hero-actions{display:flex;gap:11px;flex-wrap:wrap}.profile-hero-actions button{padding:12px 15px}.profile-metrics{display:grid;grid-template-columns:1.4fr repeat(3,minmax(0,1fr));gap:13px;margin-top:30px}.profile-metric{min-width:0;background:#073e4e9c;border:1px solid #168c98;border-radius:15px;padding:16px}.profile-metric small{display:block;color:#a9d9df;font-size:10px;font-weight:900;letter-spacing:.9px}.profile-metric strong{display:block;font-size:clamp(24px,2.7vw,35px);margin:9px 0 2px;line-height:1.2;color:#fff}.profile-metric span{color:#a7d3da;font-size:11px}.profile-metric progress{width:100%;height:8px;border-radius:20px;overflow:hidden;accent-color:#13e3cb;margin:6px 0;display:block}.profile-metric progress::-webkit-progress-bar{background:#07303e}.profile-metric progress::-webkit-progress-value{background:#29efd7}.profile-metric progress::-moz-progress-bar{background:#29efd7}
.profile-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:20px;align-items:start}.profile-main-column,.profile-side-column{display:grid;gap:20px;min-width:0}.premium-profile .profile-editor,.premium-profile .profile-shortcuts,.premium-profile .profile-preview-card,.premium-profile .profile-account-card{background:linear-gradient(140deg,#073746,#031e2d);border:1px solid #178d97;border-radius:20px}
.premium-profile .card-heading{align-items:flex-start;flex-wrap:wrap}.premium-profile .card-heading p{margin:0 0 12px}.profile-pill{color:#8cffe5;background:#0a5b54;border-radius:30px;border:1px solid #17a08e;padding:8px 10px;font-size:10px;letter-spacing:.5px;font-weight:900}
.premium-profile .form-grid{gap:18px}.premium-profile .form-grid label{gap:7px}.premium-profile .form-grid input,.premium-profile .form-grid textarea,.premium-profile .form-grid select{border-radius:12px;border:1px solid #2a8694;background:#041e2d}.premium-profile .form-grid :is(input,textarea,select):focus-visible{outline:2px solid #63fce3;outline-offset:2px}.premium-profile #profile-bio-counter{text-align:right}
.profile-edit-hint{display:flex;gap:9px;margin-top:19px;padding:13px;border:1px solid #197a83;border-radius:11px;background:#075e6559;color:#b3e1e5;font-size:12px}.profile-edit-hint span{color:#8affe4}.profile-form-buttons{display:flex;flex-wrap:wrap;gap:10px}.profile-form-buttons button{padding:12px 16px}.premium-profile .form-actions{margin-top:16px;border-top:1px solid #1f5a66;padding-top:17px}
.profile-shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-shortcut-grid button{display:grid;grid-template-columns:40px 1fr;align-items:center;column-gap:10px;min-width:0;cursor:pointer;text-align:left;padding:13px;color:#eefbff;background:#083948;border:1px solid #147d8b;border-radius:13px}.profile-shortcut-grid button span{grid-row:span 2;background:#08646c;border-radius:11px;width:40px;height:40px;display:grid;place-items:center;color:#8bffdf;font-size:23px}.profile-shortcut-grid button strong{font-size:13px}.profile-shortcut-grid button small{color:#a4cbd2;font-size:11px}.profile-shortcut-grid button:hover,.profile-shortcut-grid button:focus-visible{background:#0b5660;border-color:#53f5dc}
.profile-preview-inner{display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid #148b97;border-radius:18px;padding:25px 18px;margin-top:16px;background:radial-gradient(ellipse at 50% 0%,#09869561,transparent 65%),linear-gradient(150deg,#073d4b,#03202f);min-width:0}.profile-preview-avatar{width:85px;height:85px;border:2px solid #1af8d7;border-radius:23px;background:#075764;color:#ffe1a1;font-size:49px;font-weight:900;display:grid;place-items:center;box-shadow:0 0 20px #0defcc55}.profile-preview-inner strong{margin-top:14px;font-size:clamp(20px,2.5vw,29px);overflow-wrap:anywhere}.profile-preview-inner>span{color:#81ffeb;font-weight:800;font-size:12px;margin-top:5px;overflow-wrap:anywhere}.profile-preview-inner p{font-size:13px;min-height:52px;margin:18px 0;overflow-wrap:anywhere}.profile-preview-inner .profile-chips{justify-content:center}.profile-preview-caption{color:#99bdc6!important;font-size:11px;line-height:1.5!important}.profile-account-card .detail{font-size:12px;align-items:center;padding:14px 0}.profile-account-card .detail strong{max-width:61%;overflow-wrap:anywhere;font-size:12px}.profile-security-link{margin-top:18px;width:100%;font-size:12px}
.profile-game-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-game-links a{text-decoration:none;text-align:center;padding:15px 8px;background:#085662;border:1px solid #19b9ab;color:#eefeff;border-radius:12px;font-size:12px;font-weight:850}.profile-game-links a:hover{background:#097481}
@media(max-width:1250px){.profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-layout{grid-template-columns:minmax(0,1fr)}.profile-side-column{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-game-links{grid-column:1/-1}}
@media(max-width:650px){.premium-profile .profile-hero-premium{padding:18px}.profile-avatar-frame{width:90px;height:90px;border-radius:19px}.profile-avatar-large{font-size:52px}.profile-topline{margin-bottom:19px}.profile-metrics{gap:9px;margin-top:19px}.profile-metric{padding:12px}.profile-metric strong{font-size:25px}.premium-profile .form-grid{grid-template-columns:1fr}.profile-side-column,.profile-shortcut-grid{grid-template-columns:1fr}.profile-form-buttons{width:100%}.profile-form-buttons button{flex:1}.profile-hero-actions button{flex:1}}

.profile-password-card{margin-top:18px;border:1px solid #268d8c!important;background:radial-gradient(ellipse at 87% 0%,#097a7960,transparent 54%),linear-gradient(145deg,#063741,#041d2b)!important}
.profile-password-form{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin-top:18px;max-width:710px}
.profile-password-form>label{color:#ffe0a2;font-weight:800;font-size:13px;margin-top:8px}
.profile-password-form>small{color:#a8d9d8;font-size:12px}
.profile-password-field{display:flex;align-items:stretch;overflow:hidden;border:1px solid #348d91;border-radius:12px;background:#041f2a}
.profile-password-field:focus-within{border-color:#24f3da;box-shadow:0 0 0 2px #1bdbca31}
.profile-password-field input{flex:1;min-width:0;min-height:48px;border:0!important;border-radius:0!important;background:transparent!important;color:#fff!important;padding:11px 13px!important}
.profile-password-field button{border:0;border-left:1px solid #286b70;background:#10404a;color:#aaf6e8;font-weight:750;padding:0 17px;min-width:81px;cursor:pointer}
.profile-password-field button:hover{background:#14616a}
.profile-password-form .form-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:14px}
.profile-password-form .form-actions #pw-change-status,.profile-password-form .form-actions #nick-change-status{max-width:470px;line-height:1.5;font-size:13px}
.profile-password-form .form-actions button{min-width:165px}
@media(max-width:650px){.profile-password-form .form-actions button{width:100%}}

/* Single success dialog shown only after a confirmed /auth/change-password response. */
body.pw-success-open{overflow:hidden}
.pw-success-overlay[hidden]{display:none!important}
.pw-success-overlay{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:20px;background:rgba(0,13,21,.83);backdrop-filter:blur(9px)}
.pw-success-modal{position:relative;width:min(100%,510px);border:1px solid #32e8d3;border-radius:24px;padding:34px clamp(22px,4vw,42px) 30px;text-align:center;color:#f2fcfa;background:radial-gradient(ellipse at 50% 0%,#136f74 0%,#063a45 47%,#031d2c 100%);box-shadow:0 0 0 1px #d2aa5359,0 23px 90px #000b,inset 0 0 32px #11dcd51b}
.pw-success-modal::before{content:"";position:absolute;top:0;left:17%;right:17%;height:2px;background:linear-gradient(90deg,transparent,#f3d483,transparent);pointer-events:none}
.pw-success-seal{width:96px;height:96px;display:grid;place-items:center;margin:0 auto 20px;border-radius:50%;border:2px solid #f7d181;background:#053e46;box-shadow:0 0 0 8px #0abfb520,0 0 37px #06e6bf65,inset 0 0 20px #00d6bf35}
.pw-success-seal span{font-size:57px;font-weight:800;line-height:1;color:#95fff0}
.pw-success-kicker{font-size:11px;font-weight:850;letter-spacing:.14em;color:#f5d88a;margin:0 0 13px}
.pw-success-modal h2{font-size:clamp(27px,4vw,36px);letter-spacing:-.02em;line-height:1.15;margin:0 0 16px;color:#fff}
.pw-success-modal p#pw-success-message{font-size:15px;line-height:1.65;color:#c6e7e7;margin:0 auto 21px;max-width:385px}
.pw-success-confirmed{display:inline-flex;gap:9px;align-items:center;justify-content:center;flex-wrap:wrap;color:#80ffde;font-weight:760;font-size:13px;margin:0 0 25px}
.pw-success-confirmed span{font-size:19px}
.pw-success-close{display:block;margin:0 auto;width:min(100%,250px);min-height:49px;border:1px solid #f9d991;border-radius:12px;color:#132b2d;background:linear-gradient(160deg,#ffe7aa,#eabd64);font-weight:850;cursor:pointer;box-shadow:0 6px 25px #e6c67534}
.pw-success-close:hover{filter:brightness(1.07)}
.pw-success-close:focus-visible{outline:3px solid #69fce9;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.pw-success-overlay{scroll-behavior:auto;backdrop-filter:none}}


/* OWNER 2026-11-04: compact, proportional panel layout.
   Responsive element sizing, not zoom/transform, so text and focus stay crisp. */
@media(min-width:981px){
 .site-nav{min-height:43px;padding:6px clamp(18px,3vw,52px);gap:28px}
 .site-brand{font-size:24px}
 .site-nav nav{gap:clamp(14px,2vw,32px)}
 .site-nav nav a{font-size:clamp(12px,.92vw,15px)}
 .top{min-height:53px;padding:7px clamp(18px,3vw,50px);gap:16px}
 .top .logo{font-size:clamp(27px,2.3vw,33px)}
 .top-tag{font-size:10px;letter-spacing:1.1px}
 .top-tag b{margin-left:7px}
 .top-link{padding:8px 12px;font-size:12px}
 .shell{max-width:1620px;grid-template-columns:minmax(0,1fr) 265px;gap:17px;padding:15px clamp(15px,2vw,32px)}
 .sidebar{top:11px;border-radius:17px}
 .identity{padding:14px 16px 12px}
 .avatar{width:52px;height:52px;font-size:27px}
 .identity .small{margin:11px 0 5px;font-size:10px;letter-spacing:1.3px}
 .identity strong{font-size:16px}
 .identity .status{margin-top:8px;font-size:11px}
 .sidebar nav{padding:10px;gap:2px}
 .sidebar .nav{padding:7px 10px;min-height:36px;font-size:12px;gap:9px}
 .sidebar .nav span{font-size:16px;width:20px}
 .sidebar .create-room{margin:10px 13px 6px!important;width:calc(100% - 26px)!important;padding:10px 12px!important;font-size:13px!important}
 .signout{margin:5px 12px 12px;padding:10px;font-size:12px}
 .masthead{min-height:154px;padding:18px clamp(22px,2.5vw,34px);margin-bottom:12px;border-radius:18px}
 .masthead h1{font-size:clamp(32px,3.4vw,46px);margin:6px 0 9px}
 .masthead .eyebrow{font-size:10px;letter-spacing:1.3px}
 .masthead p:last-child{font-size:13px}
 .mark{width:95px;height:95px;border-width:6px}
 .mark span{font-size:40px}
 .mark small{font-size:8px}
 .view.active{gap:12px}
 .card{padding:clamp(14px,1.5vw,23px);border-radius:16px}
 .card h2{font-size:clamp(20px,2vw,26px);margin:4px 0 10px}
 .card p{line-height:1.5}
 .stats{gap:10px}
 .stat{padding:14px}
 .stat strong{font-size:clamp(24px,2.5vw,33px);margin:5px 0}
 .hero-card{gap:16px;min-height:128px}
 .hero-card .player-avatar{width:67px;height:67px;font-size:36px}
 .hero-card h2{font-size:26px}
 .form-grid{gap:13px}
 .form-grid input,.form-grid select,.form-grid textarea{min-height:41px;padding:9px 11px}
 .primary,.secondary{padding:10px 14px;font-size:12px}
 .detail{padding:12px 0}
 .premium-profile{gap:13px}
 .premium-profile .profile-hero-premium{padding:18px clamp(18px,2vw,27px);border-radius:17px}
 .profile-topline{margin-bottom:14px;gap:8px}
 .profile-topline>span:first-child{font-size:10px;letter-spacing:1.1px}
 .profile-verified{padding:6px 10px;font-size:11px}
 .profile-hero-body,.profile-intro{gap:15px}
 .profile-avatar-frame{width:83px;height:83px;border-radius:19px}
 .profile-avatar-large{font-size:48px}
 .profile-avatar-check{height:25px;width:25px;bottom:-5px;right:-5px}
 .profile-intro h2{font-size:clamp(29px,3vw,37px)}
 .profile-intro #profile-handle{margin:3px 0 8px;font-size:12px}
 .profile-chips{gap:5px}
 .profile-chips span{padding:4px 8px;font-size:10px}
 .profile-hero-actions{gap:8px}
 .profile-hero-actions button{padding:9px 12px}
 .profile-metrics{gap:10px;margin-top:16px}
 .profile-metric{padding:11px 13px;border-radius:12px}
 .profile-metric small{font-size:9px}
 .profile-metric strong{font-size:clamp(23px,2.2vw,30px);margin:6px 0 2px}
 .profile-metric span{font-size:10px}
 .profile-metric progress{height:6px;margin:4px 0}
 .profile-layout,.profile-main-column,.profile-side-column{gap:13px}
 .profile-edit-hint{margin-top:12px;padding:10px}
 .premium-profile .form-grid{gap:12px}
 .profile-shortcut-grid{gap:8px}
 .profile-shortcut-grid button{padding:10px}
 .profile-preview-inner{padding:16px;margin-top:10px}
 .profile-preview-avatar{width:65px;height:65px;font-size:39px}
 .profile-preview-inner p{min-height:0;margin:10px 0}
 .premium-profile-tabs{padding:7px;gap:6px;margin:12px 0}
 .premium-profile-tabs button{min-height:42px;padding:6px;font-size:12px}
 .premium-profile-workspace{padding:clamp(13px,1.5vw,20px)!important}
}
@media(min-width:981px) and (max-height:780px){
 .top{min-height:47px}
 .site-nav{min-height:39px}
 .shell{padding-top:10px;gap:13px}
 .masthead{min-height:138px;padding-top:13px;padding-bottom:13px;margin-bottom:10px}
 .mark{width:82px;height:82px}
 .mark span{font-size:34px}
 .profile-topline{margin-bottom:10px}
 .profile-metrics{margin-top:12px}
 .profile-metric{padding:9px 11px}
}
@media(min-width:701px) and (max-width:980px){
 .site-nav{min-height:43px;padding:8px 16px;gap:12px}
 .site-brand{font-size:23px}
 .site-nav nav{gap:10px}
 .top{min-height:53px;padding:8px 16px}
 .top .logo{font-size:28px}
 .top-link{padding:9px 11px;font-size:12px}
 .shell{padding:14px;gap:12px}
 .masthead{min-height:151px;padding:18px;margin-bottom:12px}
 .masthead h1{font-size:clamp(30px,4.1vw,40px)}
 .view.active{gap:12px}
 .card{padding:16px}
 .premium-profile .profile-hero-premium{padding:18px}
 .profile-topline{margin-bottom:15px}
 .profile-avatar-frame{width:84px;height:84px}
 .profile-avatar-large{font-size:48px}
 .profile-metrics{margin-top:16px;gap:10px}
 .profile-metric{padding:11px}
 .profile-metric strong{font-size:24px}
 .profile-hero-actions button{padding:10px 12px}
}
@media(max-width:700px){
 .top{min-height:55px;padding:9px 13px;gap:8px}
 .top .logo{font-size:27px}
 .top-link{padding:8px 10px;font-size:11px}
 .site-nav{padding:10px 13px}
 .site-nav nav{margin-top:8px;gap:9px 13px}
 .shell{padding:10px;gap:12px}
 .masthead{min-height:135px;padding:15px;margin-bottom:10px}
 .masthead h1{font-size:clamp(27px,7vw,37px);margin:6px 0}
 .mark{width:68px;height:68px;border-width:4px}
 .mark span{font-size:28px}
 .view.active{gap:11px}
 .card{padding:15px;border-radius:15px}
 .premium-profile .profile-hero-premium{padding:15px}
 .profile-avatar-frame{width:74px;height:74px}
 .profile-avatar-large{font-size:43px}
 .profile-intro{gap:12px}
 .profile-intro h2{font-size:29px}
 .profile-topline{margin-bottom:12px}
 .profile-metrics{margin-top:14px;gap:8px}
 .profile-metric{padding:10px}
 .profile-metric strong{font-size:23px;margin:6px 0 2px}
 .profile-hero-actions button{padding:10px}
 .premium-profile-tabs{margin:12px 0}
}

/* One top navigation bar: premium game discovery CTA, no secondary logo strip. */
.site-nav{gap:clamp(12px,2vw,27px)}
.site-nav nav{flex:1;min-width:0}
.site-nav .site-discover{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin-left:auto;flex-shrink:0;white-space:nowrap;text-decoration:none;font-weight:850;font-size:clamp(12px,1vw,14px);letter-spacing:.015em;color:#ffe2a2;border:1px solid #f5c868;border-radius:12px;padding:10px 15px;background:linear-gradient(145deg,#144449,#072b3b 78%);box-shadow:inset 0 1px 0 #ffffff22,0 0 20px #14d9c21d;transition:background-color .15s ease,box-shadow .15s ease}
.site-nav .site-discover:hover{background:linear-gradient(145deg,#146d70,#0a3c46);border-color:#ffe4a0;box-shadow:0 0 20px #26e8d75c}
.site-nav .site-discover:focus-visible{outline:3px solid #5fffee;outline-offset:3px}
@media(min-width:701px) and (max-width:980px){.site-nav .site-discover{font-size:12px;padding:9px 11px}.site-nav nav{gap:9px}}
@media(max-width:700px){
 .site-nav{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:9px}
 .site-nav .site-brand{grid-column:1;grid-row:1;align-self:center}
 .site-nav .site-discover{grid-column:2;grid-row:1;margin-left:0;font-size:12px;padding:9px 12px}
 .site-nav nav{grid-column:1/-1;grid-row:2;margin-top:0;gap:9px 14px;min-width:0}
}
@media(prefers-reduced-motion:reduce){.site-nav .site-discover{transition:none}}

/* Full Max Premium account workspace: extends, never replaces, the existing profile. */
.profile-hero-premium[data-cover="aurora"]{background:radial-gradient(ellipse at 10% 5%,#17c1b476,transparent 58%),radial-gradient(ellipse at 90% 65%,#8f78c374,transparent 56%),#041c2b}
.profile-hero-premium[data-cover="minimal"]{background:linear-gradient(135deg,#051a27,#16333c)}
.profile-hero-premium[data-cover="chess"]{background:repeating-conic-gradient(#073942 0 25%,#05232d 0 50%) 50%/85px 85px}
.profile-hero-premium[data-accent="royal"]{border-color:#e9b966}
.profile-hero-premium[data-accent="midnight"]{border-color:#7398b6}
.profile-hero-premium[data-accent="light"]{background:#e5eff0;color:#122e38;border-color:#498a8e}
.premium-profile-tabs{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:18px 0;padding:10px;border:1px solid #237c80;border-radius:18px;background:linear-gradient(140deg,#041d29f5,#06343af5);backdrop-filter:blur(14px)}
.premium-profile-tabs button{border:1px solid #286c71;border-radius:12px;background:#082a34;color:#dcecf0;font-weight:800;font-size:clamp(11px,1vw,14px);min-height:48px;padding:7px;cursor:pointer}
.premium-profile-tabs button.is-active,.premium-profile-tabs button:hover{border-color:#28e6d3;background:linear-gradient(120deg,#076a67,#07414a);color:#fff;box-shadow:inset 0 1px 10px #3ffff02a,0 0 13px #0de3c52c}
.premium-profile-tab-panel[hidden]{display:none!important}.premium-profile-workspace{margin:13px 0;padding:clamp(15px,2vw,29px)!important}
.premium-profile-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.premium-profile-form{display:grid;gap:9px;max-width:750px}
.premium-profile-form>label{color:#e7d7a5;font-weight:740;font-size:13px;margin-top:7px}
.premium-profile-form select,.premium-profile-form input:not([type="checkbox"]){min-height:43px;width:100%;border:1px solid #348c90;border-radius:11px;background:#062632;color:#f0f9fb;padding:9px 12px}
.premium-profile-form button{margin-top:13px;justify-self:start}
.premium-profile-showcase{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:9px;min-height:320px;border-radius:19px;border:1px solid #34cabb;padding:28px;text-align:center;overflow:hidden;background:radial-gradient(ellipse at 75% 12%,#08bdbb75,transparent 65%),linear-gradient(140deg,#073948,#041724);box-shadow:inset 0 0 32px #08e6d41c,0 12px 30px #0004}
.premium-profile-showcase[data-cover="aurora"]{background:radial-gradient(ellipse at 20% 15%,#06b4ba8a,transparent 66%),radial-gradient(ellipse at 85% 80%,#956cd76b,transparent 55%),#031a2a}
.premium-profile-showcase[data-cover="minimal"]{background:linear-gradient(130deg,#071b25,#183b48)}
.premium-profile-showcase[data-cover="chess"]{background:repeating-conic-gradient(#034750 0 25%,#082831 0 50%) 50%/70px 70px}
.premium-profile-showcase[data-accent="midnight"]{border-color:#7796c6}
.premium-profile-showcase[data-accent="royal"]{border-color:#e5b75e;box-shadow:0 0 30px #ccab5d25}
.premium-profile-showcase[data-accent="light"]{background:#e5f3f3;color:#102c37;border-color:#3e8a8f}
.premium-showcase-eyebrow{font-size:11px;letter-spacing:.14em;color:#ffe2a1;font-weight:800}
.premium-showcase-avatar{display:grid;place-items:center;width:103px;height:103px;border-radius:50%;border:3px solid #e4c66f;background:linear-gradient(140deg,#064d52,#00202e);box-shadow:0 0 29px #26d9c88a;color:#ffdb86;font:900 51px Georgia,serif}
.premium-profile-showcase strong{font-size:clamp(23px,3vw,34px)}.premium-profile-showcase p{font-size:12px;max-width:320px;opacity:.8}
.premium-showcase-motto{color:#ffe6ae;font-style:italic}.premium-showcase-city{font-size:12px}
.premium-profile-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.premium-profile-switches label,.premium-checkbox-line{border:1px solid #287e80;border-radius:12px;padding:12px;background:#082c37;display:flex;gap:10px;align-items:center;color:#e8f6f6}
.premium-profile-switches input,.premium-checkbox-line input{accent-color:#23c7b9;width:17px;height:17px}
.premium-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:21px 0}
.premium-stats-grid>div{border:1px solid #1eacaa;border-radius:15px;padding:15px 10px;background:linear-gradient(140deg,#084850,#05222f);text-align:center}
.premium-stats-grid small{display:block;color:#f3cb78;font-size:11px;letter-spacing:.09em}.premium-stats-grid strong{display:block;font-size:clamp(28px,3vw,44px);padding-top:7px}
.premium-stat-breakdown{border:1px solid #2c8e90;border-radius:13px;padding:13px 18px;background:#082b34}.premium-profile-note{color:#91bfc1;font-size:12px;margin-top:17px}
.premium-awards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;padding:12px 0}
.premium-award{border:1px solid #b39152;border-radius:15px;padding:17px;background:#0b3c41;display:grid;justify-items:start;gap:5px}.premium-award.locked{filter:saturate(.3);opacity:.7;border-color:#35696b}
.premium-award-icon{font-size:31px;color:#f4ca78}.premium-award strong{font-size:15px}.premium-award small{font-size:11px;color:#b7cdd0}
.premium-recent-games{display:grid;gap:9px;margin:12px 0}.premium-recent-games a{display:flex;justify-content:space-between;gap:10px;border:1px solid #267c80;border-radius:12px;padding:12px;color:#f3fafb;text-decoration:none;background:#082b35}
.premium-profile-game-links,.premium-profile-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 24px}.premium-profile-game-links a,.premium-profile-game-links button{border:1px solid #c69c5a;border-radius:11px;padding:11px 14px;color:#fee1ac;background:#0b3a42;text-decoration:none;font-weight:700}
.public-profile-page{min-height:100dvh;display:grid;place-items:center;padding:20px;background:radial-gradient(ellipse at 45% 0%,#0b5657,#021522 65%);color:#f2f8f9;font:16px Inter,'Segoe UI',sans-serif}
.public-profile-card{width:min(610px,100%);padding:35px;border-radius:22px;border:1px solid #10aea8;background:#062a37;box-shadow:0 26px 60px #0008}
.public-profile-card h1{font-size:32px;margin:5px 0}.public-profile-card a{color:#ffe2a3}.public-profile-card p{line-height:1.6}
.public-profile-card .premium-profile-showcase{margin:15px 0}
@media(max-width:1100px){.premium-profile-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.premium-profile-tabs{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.premium-profile-two{grid-template-columns:1fr}.premium-profile-switches{grid-template-columns:1fr}.premium-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Friends Hub Full Max Premium: responsive, accessible and compact across tabs. */
#player-shell [data-fh-pane][hidden]{display:none!important}
#player-shell .friendshub-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #16b6aa;border-radius:18px;padding:17px 21px;background:radial-gradient(ellipse at 84% 10%,#12d7bb57,transparent 55%),linear-gradient(125deg,#063d49,#031d2d)}
#player-shell .friendshub-hero h2{font-size:clamp(23px,2.2vw,30px);margin:5px 0}
#player-shell .friendshub-hero p{font-size:12px;line-height:1.4;color:#b3d7d7;max-width:620px;margin:5px 0}
#player-shell .friendshub-hero-badge{display:grid;place-items:center;gap:5px;min-width:135px;min-height:76px;border-radius:15px;border:1px solid #deb76d;background:#042e39;color:#ffdf91;box-shadow:0 0 22px #09e4cb30}
#player-shell .friendshub-hero-badge strong{font-size:15px}#player-shell .friendshub-hero-badge span{font-size:9px;letter-spacing:.13em}
#player-shell .friendshub-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:8px;border:1px solid #267d83;background:#052c39;border-radius:15px;position:sticky;top:0;z-index:4}
#player-shell .friendshub-tabs button{min-width:0;min-height:41px;padding:8px 5px;border-radius:10px;background:#073744;border:1px solid #286f78;color:#cbe5e5;font:800 12px Inter,"Segoe UI",sans-serif;cursor:pointer}
#player-shell .friendshub-tabs button.active{background:linear-gradient(120deg,#076c70,#084854);border-color:#41ebd8;color:#fff;box-shadow:0 0 17px #0fe2cf42}
#player-shell .friendshub-tabs button:focus-visible{outline:3px solid #ffe2a3;outline-offset:2px}
#player-shell .friendshub-tabs button span{color:#ffe0a0}
#player-shell .friendshub-pane{display:grid;gap:12px}
#player-shell .friendshub-book-top .card-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}
#player-shell .friendshub-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
#player-shell .friendshub-actions button{min-height:39px;padding:8px 12px;font-size:11px}
#player-shell .friendshub-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:11px 0}
#player-shell .friendshub-stat-grid>div{border:1px solid #229a9c;border-radius:12px;padding:11px;background:linear-gradient(130deg,#063f4c,#052330)}
#player-shell .friendshub-stat-grid small{display:block;font-size:9px;letter-spacing:.07em;font-weight:800;color:#eec986}
#player-shell .friendshub-stat-grid strong{display:block;font-size:25px;margin-top:5px}
#player-shell .friendshub-book-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,1fr) auto auto;gap:9px;align-items:end}
#player-shell .friendshub-book-filters label,#player-shell .friendshub-form label{display:grid;gap:6px;font-size:12px;color:#dbeaec;font-weight:740}
#player-shell .friendshub-book-filters input[type=search],#player-shell .friendshub-book-filters select,
#player-shell .friendshub-form :is(input:not([type=checkbox]),textarea){width:100%;min-height:39px;border:1px solid #358b92;border-radius:10px;background:#062934;color:#f0fafb;padding:8px 10px;font-size:12px;min-width:0}
#player-shell .friendshub-form textarea{resize:vertical;min-height:85px}
#player-shell .friendshub-book-filters .friendshub-only-favs{display:flex;align-items:center;min-height:39px;white-space:nowrap;gap:7px}
#player-shell .friendshub-only-favs input,#player-shell .friendshub-check input{accent-color:#31e6d3;width:16px;height:16px}
#player-shell .friendshub-group-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
#player-shell .friendshub-group-chips button{padding:6px 9px;font-size:11px;border:1px solid #3f888d;border-radius:20px;color:#cef8f5;background:#073746;cursor:pointer}
#player-shell .friendshub-group-chips button[aria-pressed=true]{background:#087c75;color:#fff;border-color:#29ddbe}
#player-shell .friendshub-book-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(280px,1fr);gap:12px;align-items:start}
#player-shell .friendshub-contact-list{display:grid;gap:9px}
#player-shell .friendshub-contact{padding:11px 12px;border:1px solid #327c85;background:linear-gradient(125deg,#0a4650,#052734);border-radius:12px;display:grid;gap:7px}
#player-shell .friendshub-contact-head{display:flex;align-items:center;gap:9px;justify-content:space-between;min-width:0}
#player-shell .friendshub-contact-name{font-weight:850;font-size:15px;overflow-wrap:anywhere}
#player-shell .friendshub-contact-badge{display:inline-flex;flex-wrap:wrap;gap:6px}
#player-shell .friendshub-contact-badge span{color:#f5d38a;font-size:10px;border:1px solid #4d8286;border-radius:18px;padding:3px 7px}
#player-shell .friendshub-contact-sub{font-size:11px;color:#aed3d4;overflow-wrap:anywhere}
#player-shell .friendshub-contact-controls{display:flex;gap:6px;flex-wrap:wrap}
#player-shell .friendshub-contact-controls button{border:1px solid #3e8c92;border-radius:8px;padding:6px 9px;min-height:32px;color:#def5f4;background:#0a4450;font:750 11px Inter,"Segoe UI",sans-serif;cursor:pointer}
#player-shell .friendshub-contact-controls button:hover{background:#0b6b6d}
#player-shell .friendshub-contact-controls button:disabled{opacity:.55;cursor:default}
#player-shell .friendshub-form{display:grid;gap:7px}
#player-shell .friendshub-form label{margin-top:5px}
#player-shell .friendshub-form .friendshub-check{display:flex;align-items:center;margin:7px 0;color:#ffdb94}
#player-shell .friendshub-form .friendshub-split{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#player-shell .friendshub-hint{color:#9ebec6;font-size:11px;line-height:1.5}
#player-shell .friendshub-pagination{display:flex;align-items:center;gap:10px;justify-content:center;margin:12px 0 0}
#player-shell .friendshub-pagination span{font-size:11px;color:#b6ced1}
#player-shell .friendshub-roadmap{display:grid;grid-template-columns:repeat(2,1fr);gap:11px;margin:15px 0}
#player-shell .friendshub-roadmap div{padding:14px;border:1px solid #377a80;border-radius:13px;background:#07323f;display:grid;gap:6px}
#player-shell .friendshub-roadmap strong{color:#f6d08c;font-size:12px}
#player-shell .friendshub-roadmap span{font-size:12px}
#player-shell .friendshub-forum h2{color:#f4fcff}
@media(max-width:1180px){#player-shell .friendshub-book-grid{grid-template-columns:1fr}#player-shell .friendshub-book-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#player-shell .friendshub-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){#player-shell .friendshub-hero{padding:13px}#player-shell .friendshub-hero-badge{display:none}#player-shell .friendshub-tabs{position:static;grid-template-columns:repeat(2,minmax(0,1fr));padding:6px;gap:6px}#player-shell .friendshub-tabs button{min-height:41px}#player-shell .friendshub-stat-grid{gap:6px}#player-shell .friendshub-stat-grid>div{padding:9px}#player-shell .friendshub-book-filters{grid-template-columns:1fr}#player-shell .friendshub-book-grid{grid-template-columns:1fr}#player-shell .friendshub-form .friendshub-split,#player-shell .friendshub-roadmap{grid-template-columns:1fr}#player-shell .friendshub-contact-controls button{min-height:40px}}

/* Compact v2: consistent density on EVERY player section.
   Applied after premiumProfileStyles so profile tabs/cards follow the same scale.
   Geometry-only; no zoom/transform or modification of game/account logic. */
@media(min-width:1051px){
 .site-nav{min-height:42px;padding:5px clamp(18px,2.7vw,45px);gap:clamp(13px,1.7vw,24px)}
 .site-brand{font-size:23px}
 .site-nav nav{gap:clamp(12px,1.5vw,26px)}
 .site-nav nav a{font-size:12px}
 .site-nav .site-discover{padding:7px 12px;border-radius:10px;font-size:12px}
 body:not(.panel-large) #player-shell.shell{max-width:1480px;grid-template-columns:minmax(0,1fr) 235px;gap:14px;padding:10px clamp(12px,1.6vw,24px)}
 body:not(.panel-large) #player-shell .sidebar{top:9px;border-radius:15px}
 body:not(.panel-large) #player-shell .identity{padding:11px 13px 9px}
 body:not(.panel-large) #player-shell .avatar{width:44px;height:44px;font-size:24px}
 body:not(.panel-large) #player-shell .identity .small{font-size:9px;margin:9px 0 4px}
 body:not(.panel-large) #player-shell .identity strong{font-size:14px}
 body:not(.panel-large) #player-shell .identity .status{font-size:10px;margin-top:5px}
 body:not(.panel-large) #player-shell .sidebar nav{padding:7px;gap:1px}
 body:not(.panel-large) #player-shell .sidebar .nav{min-height:31px;padding:5px 9px;font-size:11px;gap:7px;border-radius:9px}
 body:not(.panel-large) #player-shell .sidebar .nav span{width:18px;font-size:15px}
 body:not(.panel-large) #player-shell .create-room{width:calc(100% - 20px)!important;margin:8px 10px 5px!important;padding:8px 10px!important;font-size:12px!important}
 body:not(.panel-large) #player-shell .signout{padding:8px;margin:4px 9px 9px;font-size:11px;width:calc(100% - 18px)}
 body:not(.panel-large) #player-shell .masthead{min-height:112px;padding:13px 20px;margin-bottom:9px;border-radius:15px;gap:10px}
 body:not(.panel-large) #player-shell .masthead h1{font-size:clamp(27px,2.4vw,35px);margin:4px 0 6px}
 body:not(.panel-large) #player-shell .masthead .eyebrow{font-size:9px;letter-spacing:1px}
 body:not(.panel-large) #player-shell .masthead p:last-child{font-size:12px}
 body:not(.panel-large) #player-shell .mark{width:67px;height:67px;border-width:4px}
 body:not(.panel-large) #player-shell .mark span{font-size:29px}
 body:not(.panel-large) #player-shell .mark small{font-size:7px}
}
@media(min-width:701px) and (max-width:1050px){
 .site-nav{min-height:44px;padding:7px 13px;gap:10px}
 .site-brand{font-size:22px}
 .site-nav nav{gap:9px}
 .site-nav nav a{font-size:11px}
 .site-nav .site-discover{padding:8px 10px;font-size:11px}
 body:not(.panel-large) #player-shell.shell{padding:11px;gap:11px}
 body:not(.panel-large) #player-shell .masthead{min-height:117px;padding:14px;margin-bottom:10px}
 body:not(.panel-large) #player-shell .masthead h1{font-size:clamp(27px,3.5vw,34px)}
 body:not(.panel-large) #player-shell .mark{height:68px;width:68px;border-width:4px}
 body:not(.panel-large) #player-shell .mark span{font-size:29px}
 body:not(.panel-large) #player-shell .sidebar .nav{padding:7px 9px;font-size:11px}
}
@media(min-width:701px){
 body:not(.panel-large) #player-shell .view.active{gap:9px}
 body:not(.panel-large) #player-shell .card{padding:clamp(11px,1.2vw,17px);border-radius:13px}
 body:not(.panel-large) #player-shell .card h2{font-size:clamp(17px,1.6vw,23px);margin:3px 0 8px}
 body:not(.panel-large) #player-shell .card h3{font-size:clamp(15px,1.25vw,18px);margin:5px 0}
 body:not(.panel-large) #player-shell .card p{font-size:12px;line-height:1.38}
 body:not(.panel-large) #player-shell .card-heading{gap:9px;margin-bottom:5px}
 body:not(.panel-large) #player-shell :is(.card-kicker,.eyebrow){font-size:9px;letter-spacing:1.1px}
 body:not(.panel-large) #player-shell .stats{gap:8px}
 body:not(.panel-large) #player-shell .stat{padding:10px}
 body:not(.panel-large) #player-shell .stat strong{font-size:clamp(21px,2vw,29px);margin:4px 0}
 body:not(.panel-large) #player-shell .stat span{font-size:11px}
 body:not(.panel-large) #player-shell .hero-card{gap:12px;min-height:102px}
 body:not(.panel-large) #player-shell .hero-card .player-avatar{width:57px;height:57px;font-size:31px}
 body:not(.panel-large) #player-shell .hero-card h2{font-size:22px}
 body:not(.panel-large) #player-shell .verified{padding:6px 9px;font-size:10px}
 body:not(.panel-large) #player-shell :is(.primary,.secondary){padding:8px 12px;font-size:12px;border-radius:9px}
 body:not(.panel-large) #player-shell .notice{padding:8px 12px;margin-bottom:9px}
 body:not(.panel-large) #player-shell .detail{padding:9px 0;font-size:12px}
 body:not(.panel-large) #player-shell .form-grid{gap:10px}
 body:not(.panel-large) #player-shell .form-grid label{gap:5px;font-size:12px}
 body:not(.panel-large) #player-shell .form-grid :is(input,select,textarea){min-height:36px;padding:8px 10px;font-size:12px}
 body:not(.panel-large) #player-shell .form-grid textarea{min-height:80px}
 body:not(.panel-large) #player-shell .form-actions{gap:9px;padding-top:12px}
 body:not(.panel-large) #player-shell .setting{gap:9px;padding:10px 0}
 body:not(.panel-large) #player-shell .setting strong{font-size:12px}
 body:not(.panel-large) #player-shell .setting small{font-size:11px}
 body:not(.panel-large) #player-shell .setting select{padding:7px}
 body:not(.panel-large) #player-shell .session-list{margin:9px 0}
 body:not(.panel-large) #player-shell .session-item{padding:9px 0}
 body:not(.panel-large) #player-shell .game-grid{gap:9px;margin-top:10px}
 body:not(.panel-large) #player-shell .game-tile{padding:12px;border-radius:12px}
 body:not(.panel-large) #player-shell .game-tile h3{font-size:16px}
 body:not(.panel-large) #player-shell .game-emoji{font-size:24px}
 body:not(.panel-large) #player-shell .game-actions{gap:6px}
 body:not(.panel-large) #player-shell .game-actions :is(a,button){padding:7px 9px;font-size:11px}
 body:not(.panel-large) #player-shell .friends-items{gap:7px;margin:8px 0}
 body:not(.panel-large) #player-shell .friend-person{padding:9px;gap:8px}
 body:not(.panel-large) #player-shell .friend-name{font-size:12px}
 body:not(.panel-large) #player-shell .friend-controls button{padding:7px 9px;font-size:11px}
 body:not(.panel-large) #player-shell .social-controls{gap:8px;margin-bottom:10px}
 body:not(.panel-large) #player-shell .social-controls select{padding:8px;font-size:12px}
 body:not(.panel-large) #player-shell .social-thread{min-height:170px;max-height:310px;padding:10px;gap:7px}
 body:not(.panel-large) #player-shell .social-bubble{padding:8px 11px}
 body:not(.panel-large) #player-shell .match-top{margin:9px 0}
 body:not(.panel-large) #player-shell .match-board{max-width:min(520px,100%);margin:8px auto;border-width:4px}
 body:not(.panel-large) #player-shell .premium-profile{gap:10px}
 body:not(.panel-large) #player-shell .premium-profile .profile-hero-premium{padding:12px 16px;border-radius:15px}
 body:not(.panel-large) #player-shell .profile-topline{margin-bottom:10px;gap:5px}
 body:not(.panel-large) #player-shell .profile-topline>span:first-child{font-size:9px;letter-spacing:1px}
 body:not(.panel-large) #player-shell .profile-verified{padding:5px 8px;font-size:10px}
 body:not(.panel-large) #player-shell .profile-hero-body{gap:9px}
 body:not(.panel-large) #player-shell .profile-intro{gap:10px}
 body:not(.panel-large) #player-shell .profile-avatar-frame{width:62px;height:62px;border-radius:14px}
 body:not(.panel-large) #player-shell .profile-avatar-large{font-size:36px}
 body:not(.panel-large) #player-shell .profile-avatar-check{width:19px;height:19px;bottom:-3px;right:-3px;font-size:11px}
 body:not(.panel-large) #player-shell .profile-intro h2{font-size:clamp(23px,2.4vw,30px);margin:2px 0}
 body:not(.panel-large) #player-shell .profile-intro #profile-handle{margin:2px 0 5px;font-size:11px}
 body:not(.panel-large) #player-shell .profile-chips{gap:4px}
 body:not(.panel-large) #player-shell .profile-chips span{padding:3px 6px;font-size:9px}
 body:not(.panel-large) #player-shell .profile-hero-actions{gap:6px}
 body:not(.panel-large) #player-shell .profile-hero-actions button{padding:7px 9px;font-size:11px}
 body:not(.panel-large) #player-shell .profile-metrics{margin-top:10px;gap:7px}
 body:not(.panel-large) #player-shell .profile-metric{padding:8px 9px;border-radius:10px}
 body:not(.panel-large) #player-shell .profile-metric small{font-size:9px}
 body:not(.panel-large) #player-shell .profile-metric strong{font-size:clamp(18px,1.9vw,26px);margin:4px 0 1px}
 body:not(.panel-large) #player-shell .profile-metric span{font-size:10px}
 body:not(.panel-large) #player-shell .profile-metric progress{height:5px;margin:4px 0}
 body:not(.panel-large) #player-shell .profile-layout{gap:10px}
 body:not(.panel-large) #player-shell :is(.profile-main-column,.profile-side-column){gap:10px}
 body:not(.panel-large) #player-shell .profile-shortcut-grid{gap:7px}
 body:not(.panel-large) #player-shell .profile-shortcut-grid button{padding:8px}
 body:not(.panel-large) #player-shell .profile-shortcut-grid button span{width:30px;height:30px;font-size:17px}
 body:not(.panel-large) #player-shell .profile-preview-inner{padding:12px;margin-top:8px}
 body:not(.panel-large) #player-shell .profile-preview-avatar{width:57px;height:57px;font-size:32px}
 body:not(.panel-large) #player-shell .profile-preview-inner p{min-height:0;margin:8px 0}
 body:not(.panel-large) #player-shell .profile-game-links{gap:7px}
 body:not(.panel-large) #player-shell .profile-game-links a{padding:9px 7px}
 body:not(.panel-large) #player-shell .profile-edit-hint{padding:8px;margin-top:10px}
 body:not(.panel-large) #player-shell .profile-pill{padding:5px 8px;font-size:9px}
 body:not(.panel-large) #player-shell .premium-profile-tabs{padding:5px;gap:6px;margin:9px 0;border-radius:13px;top:0}
 body:not(.panel-large) #player-shell .premium-profile-tabs button{min-height:34px;padding:5px;font-size:11px;border-radius:9px}
 body:not(.panel-large) #player-shell .premium-profile-tab-panel .premium-profile-workspace{padding:12px!important;margin:9px 0}
 body:not(.panel-large) #player-shell .premium-profile-two{gap:12px}
 body:not(.panel-large) #player-shell .premium-profile-showcase{min-height:225px;padding:17px}
 body:not(.panel-large) #player-shell .premium-showcase-avatar{width:74px;height:74px;font-size:39px}
 body:not(.panel-large) #player-shell .premium-stats-grid{gap:7px;margin:12px 0}
 body:not(.panel-large) #player-shell .premium-stats-grid>div{padding:10px 7px}
 body:not(.panel-large) #player-shell .premium-stats-grid strong{font-size:26px}
 body:not(.panel-large) #player-shell .premium-awards-grid{gap:8px}
 body:not(.panel-large) #player-shell .premium-award{padding:11px}
 body:not(.panel-large) #player-shell .premium-profile-form{gap:7px}
 body:not(.panel-large) #player-shell .premium-profile-form select,
 body:not(.panel-large) #player-shell .premium-profile-form input:not([type="checkbox"]){min-height:37px;padding:7px 10px;font-size:12px}
 body:not(.panel-large) #player-shell .profile-password-form{gap:6px;margin-top:10px}
 body:not(.panel-large) #player-shell .profile-password-field input{min-height:40px;padding:9px 11px!important}
 body:not(.panel-large) #player-shell .profile-password-field button{min-width:68px;padding:0 12px}
 body:not(.panel-large) #player-shell .footer{padding:12px}
}
@media(max-width:700px){
 /* Smaller cards and banners without shrinking mobile touch targets below 40px. */
 #player-shell.shell{padding:9px;gap:10px}
 #player-shell .masthead{min-height:107px;padding:12px;margin-bottom:8px}
 #player-shell .masthead h1{font-size:clamp(24px,6.2vw,32px)}
 #player-shell .mark{width:54px;height:54px}
 #player-shell .mark span{font-size:23px}
 #player-shell .view.active{gap:9px}
 #player-shell .card{padding:12px}
 #player-shell .card h2{font-size:20px;margin:5px 0 9px}
 #player-shell .premium-profile .profile-hero-premium{padding:11px}
 #player-shell .profile-avatar-frame{height:59px;width:59px}
 #player-shell .profile-avatar-large{font-size:35px}
 #player-shell .profile-metrics{margin-top:9px}
 #player-shell .profile-metric{padding:9px}
 #player-shell .profile-metric strong{font-size:22px}
 #player-shell .premium-profile-tabs{padding:6px;gap:6px;margin:8px 0}
 #player-shell .premium-profile-tabs button{min-height:40px;font-size:12px}
 #player-shell .premium-profile-workspace{padding:12px!important}
 #player-shell .profile-preview-inner{padding:12px}
 #player-shell .friend-person,#player-shell .game-tile{padding:11px}
 #player-shell .setting,#player-shell .session-item{padding:10px 0}
 #player-shell .social-thread{min-height:160px;padding:10px}
 #player-shell .match-board{max-width:100%}
}
@media(prefers-reduced-motion:reduce){
 #player-shell .card,#player-shell .nav{transition:none}
}

/* GRACZ.PL security center — compact, accessible Full Max Premium */
#player-shell .sec-hero{display:flex;justify-content:space-between;align-items:center;gap:17px;padding:17px 22px;border:1px solid #2ee7d3;border-radius:17px;background:radial-gradient(ellipse at 85% 5%,#12b8b568,transparent 54%),linear-gradient(115deg,#063544,#03202f);min-height:114px;box-shadow:0 12px 30px #00121d33}
#player-shell .sec-hero h2{font-size:clamp(25px,2.3vw,36px);line-height:1.16;margin:4px 0 7px;color:#fff}
#player-shell .sec-hero p:last-child{font-size:12px;line-height:1.45;margin:0;color:#b7d7dc}
#player-shell .sec-shield{display:grid;place-items:center;width:78px;height:78px;flex:0 0 auto;border:2px solid #f0ce7a;border-radius:24px;color:#ffe49d;background:#06303c;font-size:35px;box-shadow:0 0 26px #0cf7d54d}
#player-shell .sec-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
#player-shell .sec-metrics>div{min-width:0;border:1px solid #267f84;border-radius:13px;padding:12px 13px;background:linear-gradient(140deg,#07434c,#041f2b)}
#player-shell .sec-metrics small{display:block;font-size:9px;font-weight:800;letter-spacing:.09em;color:#f1ce87}
#player-shell .sec-metrics strong{display:block;font-size:clamp(15px,1.6vw,22px);margin:6px 0;overflow-wrap:anywhere;color:#f8ffff}
#player-shell .sec-metrics span{font-size:10px;color:#a2c9cc}
#player-shell .sec-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:7px;border-radius:14px;border:1px solid #276f78;background:#062a37;position:sticky;top:0;z-index:5}
#player-shell .sec-tabs button{font:750 11px Inter,"Segoe UI",sans-serif;cursor:pointer;min-height:39px;min-width:0;border-radius:9px;border:1px solid #285d68;padding:7px 5px;background:#073644;color:#def2ef}
#player-shell .sec-tabs button.active{background:linear-gradient(130deg,#087d77,#0a424c);color:#fff;border-color:#29ecd6;box-shadow:0 0 12px #0ce5d43b}
#player-shell .sec-tabs button:focus-visible{outline:2px solid #ffe3a4;outline-offset:2px}
#player-shell .sec-pane{display:grid;gap:11px}
#player-shell .sec-pane[hidden]{display:none!important}
#player-shell .sec-status{margin:0;border:1px solid #26656d;border-radius:11px;padding:9px 12px;background:#05343f;color:#a9e4de;font-size:11px}
#player-shell .sec-status.sec-error{color:#ffbbbc;border-color:#bd5f6b}
#player-shell .sec-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#player-shell .sec-feature{padding:15px}
#player-shell .sec-feature-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:13px}
#player-shell .sec-feature-actions button{min-height:37px;padding:8px 12px;font-size:11px}
#player-shell .sec-inline-note{font-size:11px;line-height:1.6;color:#99bdc5}
#player-shell .sec-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
#player-shell .sec-checklist>div{border:1px solid #2d7380;border-radius:11px;padding:11px 12px;background:#052a38;display:grid;gap:5px}
#player-shell .sec-checklist strong{font-size:12px;color:#f3d28c}
#player-shell .sec-checklist span{font-size:11px;color:#b9d4d7;line-height:1.55}
#player-shell .sec-device-list,#player-shell .sec-event-list{display:grid;gap:9px;margin-top:13px}
#player-shell .sec-device-item,#player-shell .sec-event-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #2d7b83;border-radius:11px;background:linear-gradient(120deg,#083d47,#042636)}
#player-shell .sec-device-item strong,#player-shell .sec-event-item strong{display:block;color:#f2fcfc;font-size:12px;margin-bottom:3px}
#player-shell .sec-device-item small,#player-shell .sec-event-item small{display:block;font-size:10px;line-height:1.45;color:#a4c9cd}
#player-shell .sec-event-item.sec-event-highlight{border-color:#deb569;box-shadow:inset 3px 0 0 #f4d486}
#player-shell .sec-device-item button{min-height:34px;padding:6px 10px;white-space:nowrap;font-size:11px}
#player-shell .sec-device-current{border:1px solid #21ceba;border-radius:20px;padding:5px 9px;color:#92ffe7;font-size:10px;font-weight:800}
#player-shell .sec-history-filter{display:flex;align-items:center;gap:10px;font-size:11px;margin:12px 0;color:#d0e6e6}
#player-shell .sec-history-filter select{min-height:37px;border:1px solid #2b7982;border-radius:9px;background:#052a37;color:#edfafa;padding:7px}
#player-shell .sec-alert-form{display:grid;gap:10px;margin-top:13px}
#player-shell .sec-alert-form>label{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px;border:1px solid #2c7181;border-radius:11px;background:#062c38}
#player-shell .sec-alert-form>label span{display:grid;gap:5px}
#player-shell .sec-alert-form strong{font-size:13px;color:#f6fdfd}
#player-shell .sec-alert-form small{font-size:11px;color:#a6cfd0}
#player-shell .sec-alert-form input[type=checkbox]{width:20px;height:20px;accent-color:#10d8bf;cursor:pointer}
@media(max-width:1130px){#player-shell .sec-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}#player-shell .sec-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#player-shell .sec-hero{padding:12px}#player-shell .sec-shield{width:56px;height:56px;font-size:26px;border-radius:16px}#player-shell .sec-tabs{position:static;grid-template-columns:repeat(2,minmax(0,1fr));padding:5px}#player-shell .sec-tabs button{min-height:41px}#player-shell .sec-two,#player-shell .sec-checklist{grid-template-columns:1fr}#player-shell .sec-device-item,#player-shell .sec-event-item{align-items:flex-start;flex-direction:column}#player-shell .sec-device-item button{min-height:40px}#player-shell .sec-metrics>div{padding:10px}#player-shell .sec-history-filter{flex-wrap:wrap}}

/* Privacy Center Full Max Premium — adaptive, compact, no global zoom */
#player-shell .priv-controlled-count{border:1px solid #327d83;background:linear-gradient(115deg,#073844,#062632);
  border-radius:10px;padding:7px 12px;font-size:11px;letter-spacing:.015em;color:#b3d4d8}
#player-shell .priv-controlled-count strong{font-size:17px;color:#ffda8f;margin-right:5px}
#player-shell .priv-pane .priv-option:has(input:disabled){border-color:#2e5960;background:#052a34}
#player-shell .priv-pane .priv-option:has(input:disabled) small{color:#8facb0}

#player-shell .priv-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:122px;padding:17px 23px;border:1px solid #1dd8c7;border-radius:17px;background:radial-gradient(ellipse at 85% 5%,#15b6b272,transparent 55%),linear-gradient(120deg,#073947,#032330);box-shadow:0 12px 32px #0016203e}
#player-shell .priv-hero h2{font-size:clamp(26px,2.5vw,37px);line-height:1.15;letter-spacing:-.02em;margin:5px 0 7px;color:#fff}
#player-shell .priv-hero p:last-child{font-size:12px;color:#b7d4da;line-height:1.5;margin:0;max-width:670px}
#player-shell .priv-emblem{height:79px;width:79px;flex:0 0 auto;display:grid;place-content:center;gap:3px;border:2px solid #f1cc79;border-radius:24px;background:#052d39;box-shadow:0 0 25px #16f1d84c;text-align:center;color:#ffe09a}
#player-shell .priv-emblem span{font-size:29px;line-height:1}
#player-shell .priv-emblem small{font-size:8px;font-weight:900;letter-spacing:.11em}
#player-shell .priv-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
#player-shell .priv-metrics>div{min-width:0;padding:12px 13px;border-radius:12px;border:1px solid #277b83;background:linear-gradient(135deg,#08414d,#042330)}
#player-shell .priv-metrics small{display:block;font-size:9px;letter-spacing:.08em;font-weight:900;color:#efd18d}
#player-shell .priv-metrics strong{display:block;font-size:clamp(15px,1.6vw,21px);margin:6px 0;color:#fff;overflow-wrap:anywhere}
#player-shell .priv-metrics span{font-size:10px;color:#a9cdd1}
#player-shell .priv-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;border:1px solid #246c74;padding:7px;border-radius:15px;background:#052b39;position:sticky;top:0;z-index:5}
#player-shell .priv-tabs button{min-width:0;min-height:40px;padding:7px 4px;background:#073642;border:1px solid #2b6570;border-radius:9px;color:#daeeed;font:780 11px Inter,"Segoe UI",sans-serif;cursor:pointer}
#player-shell .priv-tabs button.active{border-color:#2fe7d0;background:linear-gradient(130deg,#087b75,#0a4b56);color:#fff;box-shadow:0 0 14px #10d6c54c}
#player-shell .priv-tabs button:focus-visible,#player-shell .priv-actions button:focus-visible{outline:2px solid #ffe0a2;outline-offset:2px}
#player-shell .priv-pane{display:grid;gap:10px}
#player-shell .priv-pane[hidden]{display:none!important}
#player-shell .priv-pane .card{padding:clamp(13px,1.3vw,19px)}
#player-shell .priv-pane .card h2{font-size:clamp(18px,1.7vw,24px)}
#player-shell .priv-pane .card>p{font-size:12px;line-height:1.55}
#player-shell .priv-notice{margin:0;padding:9px 12px;border:1px solid #267986;border-radius:10px;font-size:11px;color:#a7e4d9;background:#053540}
#player-shell .priv-notice.priv-error{border-color:#b76466;color:#ffbec2}
#player-shell .priv-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#player-shell .priv-info-grid .card{display:flex;flex-direction:column;gap:8px}
#player-shell .priv-info-grid .card h2{margin:1px 0}
#player-shell .priv-info-grid .card p{margin:0}
#player-shell .priv-info-grid button{align-self:flex-start;margin-top:auto}
#player-shell .priv-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
#player-shell .priv-presets button{min-width:0;text-align:left;display:grid;align-content:start;gap:9px;border:1px solid #2e8790;border-radius:13px;padding:15px;background:linear-gradient(125deg,#08444d,#052835);color:#d9f3f0;cursor:pointer}
#player-shell .priv-presets button:hover{border-color:#f5cc84;background:linear-gradient(125deg,#10636a,#053c49)}
#player-shell .priv-presets button:focus-visible{outline:2px solid #ffe0aa;outline-offset:3px}
#player-shell .priv-presets strong{font-size:13px;color:#f8da98}
#player-shell .priv-presets strong span{font-size:21px;margin-right:6px}
#player-shell .priv-presets small{font-size:11px;line-height:1.55;color:#b8d8dc}
#player-shell .priv-options{display:grid;gap:9px;margin:12px 0}
#player-shell .priv-option{display:flex;align-items:center;justify-content:space-between;gap:17px;padding:13px 15px;border:1px solid #287e85;border-radius:12px;background:linear-gradient(130deg,#073743,#052531);cursor:pointer}
#player-shell .priv-option:hover{border-color:#34caba}
#player-shell .priv-option span{display:grid;gap:5px;min-width:0}
#player-shell .priv-option strong{color:#f9ffff;font-size:13px}
#player-shell .priv-option small{font-size:11px;line-height:1.5;color:#afd2d5}
#player-shell .priv-option input{width:22px;height:22px;accent-color:#15dfcd;cursor:pointer;flex:0 0 auto}
#player-shell .priv-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#player-shell .priv-actions button{min-height:38px;padding:9px 13px;font-size:11px}
#player-shell .priv-hint{font-size:11px!important;line-height:1.6;color:#a9cbcf}
#player-shell .priv-roadmap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0}
#player-shell .priv-roadmap>div{display:grid;gap:5px;padding:12px;border:1px solid #306f77;border-radius:12px;background:#073541}
#player-shell .priv-roadmap strong{font-size:12px;color:#efc983}
#player-shell .priv-roadmap span{font-size:11px;line-height:1.5;color:#bbd9db}
#player-shell .priv-savebar{position:sticky;bottom:10px;z-index:7;display:flex;justify-content:space-between;align-items:center;gap:13px;padding:11px 15px;border:1px solid #34cbb5;border-radius:14px;background:#052b39;box-shadow:0 12px 32px #000a,0 0 25px #10cdb633}
#player-shell .priv-savebar strong{display:block;font-size:12px;color:#f2ffff}
#player-shell .priv-savebar small{display:block;font-size:10px;color:#a8c8cd;margin-top:4px}
#player-shell .priv-savebar .primary{border-color:#ebc372;background:linear-gradient(130deg,#ffe6ab,#e2b764);color:#122d35;font-weight:900}
#player-shell .priv-savebar button:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:1200px){#player-shell .priv-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}#player-shell .priv-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){#player-shell .priv-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#player-shell .priv-presets{grid-template-columns:1fr}#player-shell .priv-info-grid{grid-template-columns:1fr}#player-shell .priv-roadmap{grid-template-columns:1fr}}
@media(max-width:700px){#player-shell .priv-hero{padding:12px;min-height:105px}#player-shell .priv-hero h2{font-size:25px}#player-shell .priv-emblem{height:55px;width:55px;border-radius:15px}#player-shell .priv-emblem span{font-size:22px}#player-shell .priv-tabs{position:static;grid-template-columns:repeat(2,minmax(0,1fr));padding:5px}#player-shell .priv-tabs button{min-height:41px;font-size:11px}#player-shell .priv-savebar{bottom:0;flex-wrap:wrap;border-radius:12px;padding:10px}#player-shell .priv-savebar .priv-actions{width:100%}#player-shell .priv-savebar .priv-actions button{flex:1;min-height:41px}#player-shell .priv-option{padding:11px;gap:10px}#player-shell .priv-option input{width:23px;height:23px}}

/* GRACZ.PL Notifications Full Max Premium — compact and responsive */
#player-shell .notif-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:118px;padding:17px 21px;border:1px solid #27dac8;border-radius:17px;background:radial-gradient(ellipse at 83% 10%,#0ca9a65c,transparent 58%),linear-gradient(120deg,#073b47,#031f2d)}
#player-shell .notif-hero h2{font-size:clamp(23px,2.5vw,33px);margin:5px 0;color:#fff}
#player-shell .notif-hero p:last-child{font-size:12px;color:#b6d9d9;line-height:1.5;margin:0}
#player-shell .notif-orb{height:76px;width:76px;flex:0 0 auto;border:2px solid #e9c674;border-radius:50%;background:#043344;color:#f5ce83;box-shadow:0 0 23px #21d6c848;display:grid;place-content:center;text-align:center;font-size:32px;gap:0}
#player-shell .notif-orb small{font-size:8px;letter-spacing:.09em;font-weight:900}
#player-shell .notif-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
#player-shell .notif-metrics>div{min-width:0;display:grid;gap:5px;border:1px solid #2a7e85;background:linear-gradient(130deg,#08424b,#052330);border-radius:12px;padding:12px}
#player-shell .notif-metrics small{font-size:9px;font-weight:850;color:#f4d18a;letter-spacing:.1em}
#player-shell .notif-metrics strong{font-size:clamp(20px,2vw,27px);line-height:1.1;color:#fff}
#player-shell .notif-metrics span{font-size:10px;color:#a3c7cc}
#player-shell .notif-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;background:#052a39;padding:7px;border:1px solid #27787f;border-radius:13px;position:sticky;top:0;z-index:5}
#player-shell .notif-tabs button{min-width:0;min-height:38px;padding:7px;background:#073844;border:1px solid #376d75;border-radius:9px;color:#def2ef;font:800 11px Inter,"Segoe UI",sans-serif;cursor:pointer}
#player-shell .notif-tabs button.active{border-color:#23e5ca;background:linear-gradient(115deg,#08766f,#064956);color:#fff;box-shadow:0 0 16px #12e3d53b}
#player-shell .notif-tabs button:focus-visible{outline:2px solid #ffe1a4;outline-offset:2px}
#player-shell .notif-feedback{margin:0;padding:9px 12px;border:1px solid #2a6e79;background:#062f3d;border-radius:11px;font-size:11px;color:#bfe8e3}
#player-shell .notif-feedback.error{color:#ffc4bc;border-color:#ad6568}
#player-shell .notif-view{display:grid;gap:11px}
#player-shell .notif-view[hidden]{display:none!important}
#player-shell .notif-toolbar{display:grid;gap:10px;padding:13px}
#player-shell .notif-toolbar-row{display:grid;grid-template-columns:minmax(160px,2fr) minmax(100px,1fr) minmax(95px,1fr);gap:9px}
#player-shell .notif-toolbar label,#player-shell .notif-settings label[for=nt-mute]{display:grid;gap:6px;font-size:11px;font-weight:750;color:#d8efec}
#player-shell .notif-toolbar input,#player-shell .notif-toolbar select,#player-shell .notif-settings select{min-width:0;width:100%;min-height:38px;padding:7px 10px;border:1px solid #34838b;border-radius:9px;background:#052b38;color:#f7ffff;font-size:12px}
#player-shell .notif-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
#player-shell .notif-actions button{min-height:37px;padding:8px 12px;font-size:11px}
#player-shell .notif-list-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#player-shell .notif-list-header h2{font-size:19px;margin:4px 0}
#player-shell .notif-list-count{padding:5px 10px;border:1px solid #3b9095;border-radius:20px;color:#ffe4a5;font-size:11px}
#player-shell .notif-items{display:grid;gap:8px;margin-top:11px}
#player-shell .notif-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;align-items:start;padding:11px;border:1px solid #2c747e;border-radius:12px;background:linear-gradient(110deg,#073e48,#062533)}
#player-shell .notif-item.unread{border-color:#19c5b8;background:linear-gradient(110deg,#08646b,#05333e);box-shadow:inset 3px 0 0 #43e5c8}
#player-shell .notif-item.muted{box-shadow:none}
#player-shell .notif-item-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid #6ea8a8;border-radius:10px;color:#ffe0a1;background:#053544;font-size:17px}
#player-shell .notif-item-main{min-width:0;display:grid;gap:5px}
#player-shell .notif-item-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-weight:850;font-size:12px;color:#fff}
#player-shell .notif-unread-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#27e6cb;box-shadow:0 0 8px #28dfbd}
#player-shell .notif-item-info{font-size:11px;color:#bed6d8;overflow-wrap:anywhere}
#player-shell .notif-item-date{font-size:10px;color:#94b7bb}
#player-shell .notif-item-controls{display:flex;justify-content:end;align-items:center;gap:6px;flex-wrap:wrap;max-width:255px}
#player-shell .notif-item-controls button{padding:6px 9px;min-height:32px;border-radius:8px;background:#083c49;border:1px solid #367c84;color:#e5f6f3;font-size:10px;font-weight:760;cursor:pointer}
#player-shell .notif-item-controls button:hover{border-color:#ffe2a2}
#player-shell .notif-empty{padding:24px 12px;text-align:center;color:#b7d5d4;font-size:12px}
#player-shell .notif-pagination{display:flex;justify-content:center;margin:12px 0 0}
#player-shell .notif-settings{display:grid;gap:12px}
#player-shell .notif-settings h3{color:#f4d28c;font-size:15px;margin:12px 0 0}
#player-shell .notif-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#player-shell .notif-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid #2a7c83;border-radius:12px;background:#063342;cursor:pointer}
#player-shell .notif-setting strong{font-size:12px;color:#fff}
#player-shell .notif-setting small{display:block;font-size:11px;line-height:1.5;color:#b4d5d7;margin-top:4px}
#player-shell .notif-setting input{width:21px;height:21px;flex:0 0 auto;accent-color:#1bcbbb;cursor:pointer}
#player-shell .notif-required{white-space:nowrap;color:#ffe09b;font-size:11px;font-weight:900}
#player-shell .notif-locked{cursor:default}
#player-shell .notif-hint,#player-shell .notif-footnote p{font-size:11px;line-height:1.6;color:#accbd0}
#player-shell .notif-planned{display:flex;gap:8px;flex-wrap:wrap}
#player-shell .notif-planned span{padding:7px 10px;border:1px solid #356c77;border-radius:20px;background:#052d38;color:#a7c3c7;font-size:11px}
#player-shell .notif-footnote{padding:12px}
#player-shell .notif-footnote p{margin:0}
#player-shell #nt-mute{max-width:270px}
@media(max-width:1100px){#player-shell .notif-toolbar-row{grid-template-columns:1fr 1fr}#player-shell .notif-toolbar-row label:first-child{grid-column:span 2}}
@media(max-width:700px){#player-shell .notif-hero{padding:12px;min-height:96px}#player-shell .notif-orb{height:55px;width:55px;font-size:22px}#player-shell .notif-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#player-shell .notif-tabs{position:static;grid-template-columns:repeat(2,minmax(0,1fr));padding:5px}#player-shell .notif-settings-grid{grid-template-columns:1fr}#player-shell .notif-item{grid-template-columns:32px minmax(0,1fr)}#player-shell .notif-item-icon{height:32px;width:32px}#player-shell .notif-item-controls{grid-column:2;max-width:none;justify-content:flex-start}#player-shell .notif-item-controls button{min-height:40px}#player-shell .notif-toolbar-row{grid-template-columns:1fr}#player-shell .notif-toolbar-row label:first-child{grid-column:span 1}}

/* GRACZ.PL — Messages & Chat Full Max Premium: compact, responsive, legible */
#player-shell .msg-hero{display:flex;justify-content:space-between;align-items:center;min-height:114px;gap:16px;padding:17px 21px;border-radius:16px;border:1px solid #28dfc9;background:radial-gradient(ellipse at 84% 14%,#0aaca65c,transparent 58%),linear-gradient(115deg,#063b48,#03232f)}
#player-shell .msg-hero h2{font-size:clamp(25px,2.6vw,36px);color:#fff;line-height:1.16;margin:6px 0}
#player-shell .msg-hero p:last-child{font-size:12px;color:#b5d9d7;margin:0}
#player-shell .msg-hero-mark{display:grid;place-content:center;text-align:center;height:77px;width:77px;flex:0 0 auto;border:2px solid #f1cc80;border-radius:50%;box-shadow:0 0 25px #13dbc73d;background:#04313d;color:#f9d993;font-size:32px}
#player-shell .msg-hero-mark small{font-weight:900;font-size:9px;letter-spacing:.08em}
#player-shell .msg-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
#player-shell .msg-metrics>div{min-width:0;border-radius:12px;border:1px solid #277f83;padding:10px 13px;background:linear-gradient(125deg,#08424a,#052631)}
#player-shell .msg-metrics small{display:block;font-size:9px;color:#ffda90;font-weight:900;letter-spacing:.07em}
#player-shell .msg-metrics strong{display:block;color:#fff;font-size:clamp(19px,2vw,27px);margin:5px 0}
#player-shell .msg-metrics span{display:block;font-size:10px;color:#aacbd0}
#player-shell .msg-notice{margin:0;padding:9px 12px;border:1px solid #2b7c81;background:#06343c;border-radius:10px;font-size:11px;color:#bde8df}
#player-shell .msg-notice.friend-alert{color:#ffd0c5;border-color:#b4786f}
#player-shell .msg-layout{display:grid;grid-template-columns:minmax(235px,29%) minmax(0,1fr);gap:12px;align-items:start}
#player-shell .msg-layout .card{padding:13px;min-width:0}
#player-shell .msg-left{display:grid;gap:10px;position:sticky;top:8px}
#player-shell .msg-left-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
#player-shell .msg-left-head h2{font-size:18px;margin:3px 0}
#player-shell .msg-left-head button{min-width:37px;min-height:37px;padding:5px 9px;font-size:20px}
#player-shell .msg-left label,#player-shell .msg-chat-options label{display:grid;gap:5px;font-size:11px;color:#c8e5e7;font-weight:750}
#player-shell .msg-left input,#player-shell .msg-left select,#player-shell .msg-chat-options input,#player-shell .msg-chat-options select,#player-shell .msg-label-control select{width:100%;min-width:0;min-height:37px;padding:7px 9px;border:1px solid #367b84;border-radius:9px;background:#052c39;color:#f2ffff;font-size:12px}
#player-shell .msg-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#player-shell .msg-filter button{min-height:37px;padding:7px 5px;border:1px solid #287884;border-radius:8px;background:#063645;color:#d3ebee;font:760 11px Inter,"Segoe UI",sans-serif;cursor:pointer}
#player-shell .msg-filter button.active{border-color:#18e2cb;background:linear-gradient(115deg,#06796f,#0b4b56);color:#fff}
#player-shell .msg-conversations{display:grid;gap:7px;max-height:min(610px,65vh);overflow:auto;scrollbar-width:thin;padding:2px}
#player-shell .msg-conversation{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;border:1px solid #286e7b;border-radius:11px;padding:10px 8px;background:#072e3a;color:#eaf6f8;text-align:left;cursor:pointer}
#player-shell .msg-conversation.active{border-color:#29e3c9;background:#075a60;box-shadow:inset 3px 0 0 #41e7ce}
#player-shell .msg-conversation:hover{border-color:#e0bd70}
#player-shell .msg-avatar{display:grid;place-items:center;width:38px;height:38px;border:1px solid #e1b96c;border-radius:50%;background:#05323e;color:#ffe2a1;font-size:17px;font-weight:900;flex:0 0 auto}
#player-shell .msg-conversation-info{min-width:0;display:grid;gap:5px}
#player-shell .msg-conversation-info strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff}
#player-shell .msg-conversation-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#aacbd0;font-size:10px}
#player-shell .msg-conversation-count{border-radius:20px;background:#f4d17e;color:#062c36;padding:4px 7px;font-size:10px;font-weight:900}
#player-shell .msg-left-footer{display:flex;gap:7px;flex-wrap:wrap}
#player-shell .msg-left-footer button{flex:1;min-height:36px;padding:6px;font-size:11px}
#player-shell .msg-right{display:grid;gap:11px;min-width:0}
#player-shell .msg-chat{display:grid;gap:10px}
#player-shell .msg-chat-head{display:flex;align-items:center;justify-content:space-between;gap:9px;border-bottom:1px solid #276b76;padding-bottom:11px}
#player-shell .msg-chat-person{display:flex;align-items:center;gap:10px;min-width:0}
#player-shell .msg-chat-person h2{font-size:18px;margin:4px 0;color:#fff}
#player-shell .msg-chat-person small{color:#a8d4d2;font-size:10px}
#player-shell .msg-chat-actions,#player-shell .msg-tools,#player-shell .msg-privacy-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
#player-shell .msg-chat-actions button,#player-shell .msg-tools button,#player-shell .msg-privacy-actions button{min-height:34px;padding:7px 10px;font-size:11px}
#player-shell .msg-chat-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#player-shell .msg-tools{border:1px solid #265d6a;background:#052e39;padding:8px;border-radius:10px}
#player-shell .msg-label-control{display:flex;align-items:center;gap:7px;font-size:10px;color:#c6dfdf}
#player-shell .msg-label-control select{min-height:32px;width:110px}
#player-shell .msg-thread{min-height:280px;max-height:440px;overflow-y:auto;border:1px solid #296e76;border-radius:12px;padding:14px;background:radial-gradient(ellipse at center,#06495333,transparent 78%),#031f2d;scrollbar-width:thin}
#player-shell .msg-thread .social-bubble{max-width:min(84%,450px);overflow-wrap:anywhere}
#player-shell .msg-composer{border:1px solid #286a73;border-radius:12px;padding:10px;background:#052e3c}
#player-shell .msg-composer textarea{width:100%;resize:vertical;min-height:77px;max-height:180px;border:1px solid #31888c;border-radius:9px;padding:11px;background:#031f2d;color:#fff}
#player-shell .msg-compose-bottom{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#player-shell .msg-compose-bottom span{font-size:10px;color:#a6cbd0}
#player-shell .msg-compose-bottom button{margin-left:auto;min-height:38px;padding:8px 17px}
#player-shell .msg-privacy{display:flex;justify-content:space-between;gap:12px;align-items:center}
#player-shell .msg-privacy h3{font-size:15px;margin:4px 0}
#player-shell .msg-privacy p:last-child{font-size:11px;line-height:1.6;color:#accbd0;margin:0}
#player-shell .msg-privacy .card-kicker{margin:0}
#player-shell .msg-empty{font-size:11px;color:#afcfd3;padding:14px;text-align:center}
#player-shell .msg-filter button:focus-visible,#player-shell .msg-conversation:focus-visible{outline:2px solid #ffdfa3;outline-offset:2px}
@media(max-width:1150px){#player-shell .msg-layout{grid-template-columns:minmax(210px,34%) minmax(0,1fr)}#player-shell .msg-chat-head{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:850px){#player-shell .msg-layout{grid-template-columns:1fr}#player-shell .msg-left{position:static}#player-shell .msg-conversations{max-height:265px}#player-shell .msg-chat-options{grid-template-columns:1fr 1fr}}
@media(max-width:600px){#player-shell .msg-hero{padding:13px;min-height:104px}#player-shell .msg-hero-mark{width:55px;height:55px;font-size:24px}#player-shell .msg-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#player-shell .msg-chat-options{grid-template-columns:1fr}#player-shell .msg-chat-actions{width:100%}#player-shell .msg-chat-actions button{flex:1;min-height:40px}#player-shell .msg-privacy{flex-wrap:wrap}#player-shell .msg-thread{min-height:220px;max-height:360px}#player-shell .msg-compose-bottom button{min-height:41px}}

/* Full Max Premium: farewell is displayed only after server-confirmed logout. */
.logout-farewell{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;
 padding:clamp(14px,3vw,28px);overflow-y:auto;
 background:radial-gradient(ellipse at 50% 34%,#0b6e68 0%,#053a40 37%,#021d29 76%,#010e19 100%);
 color:#fff5dd;text-align:center}
.logout-farewell-card{position:relative;width:min(100%,660px);padding:clamp(25px,5vw,54px) clamp(22px,5vw,60px);
 border:2px solid #edc473;border-radius:28px;
 background:radial-gradient(ellipse at 50% 0%,#0d68637d,transparent 61%),linear-gradient(150deg,#063e42 0%,#04272f 54%,#011926 100%);
 box-shadow:inset 0 0 0 1px #fff0b52e,0 0 28px #f2c06c59,0 20px 80px #000b}
.logout-farewell-crown{font:normal clamp(48px,6vw,67px)/1 Georgia,serif;
 color:#f7d484;text-shadow:0 1px #9b651c,0 0 14px #f8cf805e;margin-bottom:13px}
.logout-farewell-eyebrow{font-size:clamp(9px,1vw,12px);font-weight:850;letter-spacing:.16em;color:#ecca83;margin:0 0 22px}
.logout-farewell h2{font:750 clamp(29px,4.2vw,48px)/1.19 Georgia,"Times New Roman",serif;
 color:#fff2d4;margin:0 0 18px;overflow-wrap:anywhere}
.logout-farewell h2 span{color:#f6cf75}
.logout-farewell-message{font-size:clamp(16px,1.65vw,20px);line-height:1.55;color:#e8f7f2;margin:0 auto 15px;max-width:510px}
.logout-farewell-invite{font:700 clamp(23px,2.6vw,31px)/1.24 Georgia,serif;color:#f6d288;margin:0 0 32px}
.logout-farewell-login{display:flex;align-items:center;justify-content:center;gap:15px;
 min-height:58px;width:min(100%,390px);margin:0 auto;padding:12px 25px;border-radius:15px;
 border:1px solid #ffe7a5;background:linear-gradient(180deg,#ffe9a2,#f5c45d 57%,#dc9d36);
 box-shadow:inset 0 2px #fff5ce,0 0 19px #e7ba6380,0 8px 22px #0007;
 color:#091d24;font-size:19px;font-weight:900;text-decoration:none}
.logout-farewell-login:hover,.logout-farewell-login:focus-visible{filter:brightness(1.08);outline:2px solid #fff5c3;outline-offset:3px}
.logout-farewell-redirect{font-size:12px;color:#b9dbd6;margin:18px 0 0}
@media(max-width:600px){.logout-farewell-card{padding:30px 22px;border-radius:20px}
.logout-farewell-login{min-height:52px;font-size:17px}}


/* GRACZ.PL Full Max Premium Challenges: compact, functional and responsive */
#player-shell .chall-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
#player-shell .chall-metrics>div{min-width:0;padding:12px 13px;border:1px solid #237f87;border-radius:13px;background:linear-gradient(120deg,#07414d,#052633)}
#player-shell .chall-metrics small{display:block;font-size:9px;color:#f8d28c;font-weight:900;letter-spacing:.08em}
#player-shell .chall-metrics strong{display:block;font-size:clamp(19px,2vw,27px);line-height:1.1;color:#fff;margin:7px 0}
#player-shell .chall-metrics span{font-size:10px;color:#b0d2d6}
#player-shell .chall-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:7px;border:1px solid #2b7480;background:#052b39;border-radius:13px}
#player-shell .chall-tabs button{min-height:39px;min-width:0;border:1px solid #316a76;background:#073543;border-radius:9px;color:#e5f4f4;font:800 11px Inter,"Segoe UI",sans-serif;padding:8px 5px;cursor:pointer}
#player-shell .chall-tabs button.active{border-color:#25e2ca;color:#fff;background:linear-gradient(120deg,#087e78,#084958);box-shadow:0 0 13px #16decc50}
#player-shell .chall-notice{margin:0;border:1px solid #297d84;background:#063846;color:#bde9e4;border-radius:11px;padding:9px 12px;font-size:11px}
#player-shell .chall-notice.friend-alert{color:#ffbdb6;border-color:#bb6872}
#player-shell .chall-workspace{display:grid;grid-template-columns:minmax(255px,32%) minmax(0,1fr);gap:12px;align-items:start}
#player-shell .chall-workspace[hidden],#player-shell .chall-settings[hidden],#player-shell .chall-note-overlay[hidden]{display:none!important}
#player-shell .chall-compose,#player-shell .chall-inbox{padding:15px;min-width:0}
#player-shell .chall-compose h2,#player-shell .chall-inbox h2{font-size:clamp(17px,1.6vw,23px);margin:5px 0}
#player-shell .chall-compose>p:not(.card-kicker){font-size:11px;line-height:1.55;color:#b6d0d6}
#player-shell .chall-form{display:grid;gap:11px;margin-top:12px}
#player-shell .chall-form label,#player-shell .chall-filters label{display:grid;gap:5px;font-size:11px;font-weight:800;color:#d7ecec}
#player-shell .chall-form select,#player-shell .chall-filters select,#player-shell .chall-filters input{width:100%;min-width:0;min-height:37px;border:1px solid #38818c;border-radius:9px;background:#052e3c;color:#fff;padding:8px;font-size:12px}
#player-shell .chall-time-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#player-shell .chall-time-options[hidden]{display:none!important}
#player-shell .chall-time-options small{grid-column:1/-1;font-size:10px;line-height:1.5;color:#b1cfd2}
#player-shell .chall-preview{display:flex;align-items:center;gap:11px;background:linear-gradient(115deg,#064753,#052b3b);border:1px solid #40858d;border-radius:13px;padding:10px}
#player-shell .chall-preview-icon{display:grid;place-items:center;flex:0 0 auto;width:43px;height:43px;border:1px solid #edc878;border-radius:12px;color:#f9d898;font-size:23px;background:#052a38}
#player-shell .chall-preview strong{display:block;font-size:13px;color:#f7ffff}
#player-shell .chall-preview small{display:block;font-size:10px;color:#b7d3d6;margin-top:5px}
#player-shell .chall-form>.primary{width:100%;min-height:40px;border:1px solid #f5d68d;background:linear-gradient(130deg,#ffe2a0,#d6ab57);color:#092631;font-weight:900}
#player-shell .chall-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:11px}
#player-shell .chall-shortcuts button{min-height:35px;padding:7px;font-size:11px}
#player-shell .chall-fineprint{font-size:10px!important;margin:12px 0 0!important}
#player-shell .chall-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
#player-shell .chall-heading button{min-height:34px;font-size:11px}
#player-shell .chall-filters{display:grid;grid-template-columns:minmax(125px,2fr) repeat(3,minmax(90px,1fr));gap:8px;margin:12px 0}
#player-shell .chall-list-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#abcfd2;padding:7px 0;border-bottom:1px solid #296976}
#player-shell .chall-list-summary span:first-child{color:#ffe09a;font-weight:850}
#player-shell .chall-list{display:grid;gap:9px;margin-top:10px}
#player-shell .chall-card{border:1px solid #2b7780;border-radius:13px;background:linear-gradient(125deg,#073b47,#042630);padding:12px;display:grid;gap:9px;min-width:0}
#player-shell .chall-card.is-new{border-color:#21d3bd;box-shadow:inset 3px 0 0 #32ebcd}
#player-shell .chall-card-top{display:flex;justify-content:space-between;align-items:start;gap:10px}
#player-shell .chall-card-title{font-size:13px;font-weight:900;color:#fff}
#player-shell .chall-card-sub{font-size:11px;color:#b4d4d8;line-height:1.5;overflow-wrap:anywhere;margin-top:5px}
#player-shell .chall-card-badge{white-space:nowrap;font-size:10px;padding:5px 8px;border:1px solid #3b9496;border-radius:16px;color:#d4efea;background:#08535b}
#player-shell .chall-card-badge.pending{border-color:#e8c67d;color:#ffe0a4;background:#3f3c25}
#player-shell .chall-card-details{display:flex;gap:9px;flex-wrap:wrap;font-size:10px;color:#bcd6d9}
#player-shell .chall-card-details span{padding:4px 7px;background:#083441;border:1px solid #2c6e78;border-radius:7px}
#player-shell .chall-card-note{font-size:11px;color:#ffdaa0;background:#133940;border-left:2px solid #e1bf77;padding:7px 9px;border-radius:6px}
#player-shell .chall-card-actions{display:flex;gap:7px;flex-wrap:wrap}
#player-shell .chall-card-actions button,#player-shell .chall-card-actions a{min-height:34px;padding:7px 10px;font-size:10px;border:1px solid #357780;background:#073b49;color:#e6f8f4;border-radius:8px;font-weight:850;text-decoration:none;cursor:pointer}
#player-shell .chall-card-actions button:hover,#player-shell .chall-card-actions a:hover{border-color:#f0d18c}
#player-shell .chall-card-actions .chall-important{border-color:#ebc77a;background:linear-gradient(115deg,#f8df9e,#d8af5f);color:#092b35}
#player-shell .chall-pagination{display:flex;justify-content:center;padding-top:10px}
#player-shell .chall-pagination button{min-height:36px;font-size:11px}
#player-shell .chall-settings{padding:16px}
#player-shell .chall-settings h2{font-size:21px}
#player-shell .chall-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#player-shell .chall-settings-grid>div{border:1px solid #307780;border-radius:12px;background:#073744;padding:14px}
#player-shell .chall-settings-grid strong{font-size:13px;color:#ffe0a1}
#player-shell .chall-settings-grid p{font-size:11px;line-height:1.6;color:#b9d8d8}
#player-shell .chall-settings-grid button{min-height:36px;padding:7px 12px;font-size:11px}
#player-shell .chall-note-overlay{position:fixed;inset:0;z-index:9999;background:#000b;display:grid;place-items:center;padding:16px}
#player-shell .chall-note-dialog{width:min(450px,100%);padding:21px;border:1px solid #35d6c3;border-radius:18px;background:linear-gradient(145deg,#09444f,#032433);box-shadow:0 20px 60px #0009}
#player-shell .chall-note-dialog h2{font-size:21px;margin:7px 0}
#player-shell .chall-note-dialog p{font-size:12px;color:#c1d9db}
#player-shell .chall-note-dialog label{display:grid;gap:7px;font-size:11px;color:#f5d58a}
#player-shell .chall-note-dialog textarea{padding:10px;background:#052c38;border:1px solid #428c96;border-radius:9px;color:white;resize:vertical}
#player-shell .chall-dialog-actions{display:flex;justify-content:end;gap:8px;margin-top:15px}
#player-shell .chall-dialog-actions button{min-height:39px;padding:7px 15px;font-size:11px}
#player-shell .chall-tabs button:focus-visible,#player-shell .chall-card button:focus-visible{outline:2px solid #ffe2a9;outline-offset:2px}
@media(max-width:1180px){#player-shell .chall-workspace{grid-template-columns:minmax(230px,36%) minmax(0,1fr)}#player-shell .chall-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){#player-shell .chall-workspace{grid-template-columns:1fr}#player-shell .chall-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#player-shell .chall-compose{position:static}}
@media(max-width:650px){#player-shell .chall-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}#player-shell .chall-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#player-shell .chall-settings-grid{grid-template-columns:1fr}#player-shell .chall-list-summary{align-items:start;flex-wrap:wrap}#player-shell .chall-card-top{flex-wrap:wrap}}

/* Owner R1 2026-11-06 — cohesive homepage turquoise theme and premium sidebar.
   Presentation only: all button ids, data-section hooks and auth remain unchanged. */
:root{--panel-teal:#003d3a;--panel-teal-deep:#002a29;--panel-teal-light:#08665f;--panel-gold:#f2c663}
html{background:#003b39!important;color:#f8fcfa!important}
body{background:radial-gradient(ellipse 57% 52% at 18% 18%,rgba(0,150,140,.18),transparent 75%),radial-gradient(ellipse 48% 70% at 92% 60%,rgba(29,201,177,.12),transparent 75%),linear-gradient(145deg,#00514d 0%,#003b3a 42%,#002d2c 100%)!important;color:#f8fcfa}
.site-nav{position:relative;z-index:40;display:flex!important;align-items:center!important;gap:clamp(16px,2vw,34px)!important;width:100%;min-height:76px!important;padding:10px clamp(24px,2.5vw,48px)!important;background:#002f2d!important;border-bottom:2px solid rgba(215,179,79,.55)!important;box-shadow:0 7px 20px rgba(0,24,22,.2)!important}
.site-nav .site-brand{font-family:Arial,"Segoe UI",sans-serif;font-size:clamp(29px,2.55vw,42px)!important;line-height:1!important;font-weight:950;letter-spacing:-2.7px!important;flex:none}
.site-nav>nav{display:flex!important;align-items:center;flex:1;flex-wrap:nowrap!important;gap:clamp(13px,1.8vw,30px)!important}
.site-nav>nav>a,.site-nav .panel-header-menu>summary{display:inline-flex;align-items:center;gap:8px;min-height:42px;color:#f3f8f5!important;font:750 clamp(12px,.98vw,16px)/1.15 Arial,"Segoe UI",sans-serif!important;text-decoration:none;white-space:nowrap;cursor:pointer}
.site-nav>nav>a:hover,.site-nav .panel-header-menu>summary:hover{color:#ffe3a0!important}
.site-nav>nav .panel-newsletter-link{color:#ffd46a!important}
.panel-header-menu{position:relative;flex:none}
.panel-header-menu>summary{list-style:none}
.panel-header-menu>summary::-webkit-details-marker{display:none}
.panel-header-menu .menu-chevron{display:inline-block;width:7px;height:7px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;rotate:45deg}
.panel-header-menu[open] .menu-chevron{rotate:225deg}
.panel-header-dropdown{position:absolute;top:calc(100% + 8px);left:0;width:max-content;min-width:208px;padding:8px;background:#034741;border:1px solid rgba(242,198,99,.65);border-radius:14px;box-shadow:0 15px 35px rgba(0,22,19,.5);display:grid;gap:2px;z-index:60}
.panel-header-dropdown a{display:block;color:#f3faf6;text-decoration:none;padding:11px 12px;font:700 13px/1.3 Arial,sans-serif;border-radius:9px}
.panel-header-dropdown a:hover,.panel-header-dropdown a:focus-visible{background:#0c6961;color:#ffe3aa}
.panel-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;flex:none;margin-left:auto}
.panel-header-search{display:grid;place-items:center;width:40px;height:42px;color:#f7fffb;border-radius:10px;text-decoration:none}
.panel-header-search:hover{background:rgba(111,233,211,.11)}
.site-nav .panel-header-account,.site-nav .site-discover{display:inline-flex;justify-content:center;align-items:center;min-height:44px;min-width:130px;padding:0 19px!important;border:1px solid #e7b948!important;border-radius:12px!important;text-decoration:none;font:800 13px/1 Arial,sans-serif!important;white-space:nowrap;box-shadow:none!important}
.site-nav .panel-header-account{color:#fff!important;background:#002624!important}
.site-nav .panel-header-account:hover{background:#07514b!important}
.site-nav .site-discover{color:#161c19!important;background:linear-gradient(180deg,#ffe6a2 0%,#f5c85f 45%,#e5a832 100%)!important;border-color:#ffe0a0!important}
.site-nav .site-discover:hover{background:#ffe2a0!important;color:#161c19!important}
.shell{max-width:1760px!important;gap:18px!important;padding:clamp(12px,1.25vw,24px) clamp(16px,2.8vw,52px)!important}
.main{min-width:0}
.masthead{background:radial-gradient(ellipse at 78% 28%,rgba(4,177,157,.34),transparent 52%),linear-gradient(116deg,#085951 0%,#00443f 56%,#0a7065 100%)!important;border:1px solid rgba(102,231,207,.6)!important;box-shadow:inset 0 0 35px rgba(49,217,187,.1),0 12px 30px rgba(0,37,32,.17)!important}
.card{background:linear-gradient(145deg,rgba(4,77,72,.97),rgba(0,49,47,.99))!important;border-color:rgba(93,217,197,.43)!important;box-shadow:0 8px 28px rgba(0,32,28,.14),inset 0 1px 0 rgba(145,241,219,.06)!important}
.hero-card{background:linear-gradient(116deg,#07594f,#003d3c)!important;border-color:rgba(232,185,84,.75)!important}
.stat{border-bottom:2px solid #24b8a7!important}
.card p,.stat span,.masthead p:last-child{color:#c6e5df!important}
.sidebar{background:linear-gradient(165deg,#095a53,#003e3d 43%,#002f30 100%)!important;border:1px solid rgba(95,232,205,.55)!important;box-shadow:0 18px 48px rgba(0,30,28,.32),inset 0 1px 0 rgba(191,255,242,.08)!important;border-radius:20px!important;overflow:hidden;position:sticky;top:16px}
.sidebar .identity{padding:23px 18px 18px!important;background:linear-gradient(145deg,rgba(13,114,104,.65),rgba(1,60,57,.35))!important;border-bottom:1px solid rgba(132,235,208,.3)!important}
.sidebar .avatar{width:58px;height:58px;background:radial-gradient(circle at 30% 18%,#177c71,#003b37 80%)!important;border:2px solid #f5d37a!important;box-shadow:0 0 0 3px rgba(0,234,191,.14)!important}
.sidebar .identity strong{font-size:18px!important;color:#fff!important}
.sidebar .identity .small{color:#ffe3a2!important;letter-spacing:1.3px!important}
.sidebar .identity .status{color:#bce8de!important}
.sidebar nav{padding:14px 12px!important;gap:4px!important}
.sidebar .nav:not(.create-room){display:flex;align-items:center;gap:11px;min-height:38px;padding:9px 12px!important;border:1px solid transparent!important;border-radius:10px!important;color:#e6f9f2!important;background:transparent!important;font-weight:750!important;font-size:12px!important;line-height:1.25;text-decoration:none;box-shadow:none!important;transition:background .17s ease,border-color .17s ease,color .17s ease}
.sidebar .nav:not(.create-room)>span{width:22px;flex:0 0 22px;text-align:center;color:#85ebd6!important;font-size:17px!important}
.sidebar .nav:not(.create-room):hover,.sidebar .nav:not(.create-room):focus-visible{background:rgba(80,211,189,.18)!important;border-color:rgba(129,233,209,.3)!important;color:#fff!important}
.sidebar .nav.active:not(.create-room){color:#fff!important;border-color:#2ce8c6!important;background:linear-gradient(96deg,#0c8276,#075e59)!important;box-shadow:inset 3px 0 0 #f6d583,0 4px 16px rgba(0,25,22,.22)!important}
.sidebar .nav.active:not(.create-room)>span{color:#ffe29a!important}
.sidebar .create-room{border:1px solid #f1c96c!important;background:linear-gradient(180deg,#ffe6a1,#d6a74e)!important;color:#182821!important;font-weight:900!important;border-radius:12px!important;box-shadow:0 5px 20px rgba(0,25,22,.2)!important}
.sidebar .create-room>span{color:#183831!important}
.sidebar .signout{background:rgba(1,51,48,.75)!important;border:1px solid #6abda9!important;color:#f6fbf8!important;border-radius:11px!important}
.sidebar .signout:hover{background:#0e756b!important}
@media(max-width:1330px) and (min-width:901px){
 .site-nav{gap:16px!important;padding-inline:22px!important}
 .site-nav>nav{gap:14px!important}
 .site-nav .panel-header-account,.site-nav .site-discover{min-width:112px;padding-inline:13px!important}
}
@media(max-width:1080px){
 .site-nav{flex-wrap:wrap;min-height:70px!important;gap:10px!important}
 .site-nav>nav{order:3;flex:1 1 100%;overflow-x:auto;scrollbar-width:thin;gap:18px!important}
 .site-nav .panel-header-actions{margin-left:auto}
 .shell{gap:13px!important}
}
@media(max-width:900px){
 .shell{display:flex!important;flex-direction:column!important}
 .main{order:1!important}
 .sidebar{order:2!important;position:static!important;width:100%!important}
 .sidebar nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible!important}
 .sidebar .nav:not(.create-room){min-width:0!important;width:100%!important}
}
@media(max-width:570px){
 .site-nav{padding:12px!important;gap:8px!important}
 .site-nav .site-brand{font-size:30px!important}
 .site-nav .panel-header-account{display:none!important}
 .site-nav .site-discover{min-width:105px;padding:0 10px!important;font-size:12px!important}
 .site-nav>nav{gap:15px!important}
 .site-nav>nav>a,.site-nav .panel-header-menu>summary{font-size:12px!important}
 .sidebar nav{grid-template-columns:1fr!important}
 .sidebar .identity{padding:16px!important}
}
@media(prefers-reduced-motion:reduce){.sidebar .nav:not(.create-room){transition:none}}


/* Header authenticated action — single real logout, shown only after profile verification. */
.site-nav .panel-header-logout{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:156px!important;min-height:44px!important;
  padding:0 19px!important;margin:0!important;
  border:1px solid #e7b948!important;border-radius:12px!important;
  background:linear-gradient(180deg,#ffe5a0,#efb742)!important;
  color:#10241f!important;font:800 13px/1 Arial,sans-serif!important;
  box-shadow:0 0 14px rgba(223,174,72,.14)!important;
  white-space:nowrap;cursor:pointer;
}
.site-nav .panel-header-logout[hidden]{display:none!important}
.site-nav .panel-header-logout:hover{filter:brightness(1.07)}
.site-nav .panel-header-logout:focus-visible{outline:3px solid #fff5b2;outline-offset:3px}
@media(max-width:570px){
 .site-nav .panel-header-logout{min-width:125px!important;min-height:42px!important;padding:0 12px!important;font-size:12px!important}
 .site-nav .panel-header-actions{grid-column:2;grid-row:1;gap:5px!important}
}
