/* One compact row per account; administrative actions stay in its details. */
html body #adminDialog.mobile-panel .admin-player-count{font-size:13px;color:#536175;margin:6px 0 12px}
html body #adminDialog.mobile-panel .admin-player-list{display:grid;gap:6px}
html body #adminDialog.mobile-panel .admin-player-row{border:1px solid #d8deea;border-radius:10px;background:#fff;overflow:hidden}
html body #adminDialog.mobile-panel .admin-player-row>summary{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;list-style:none;padding:10px;min-height:60px;cursor:pointer;box-sizing:border-box}
html body #adminDialog.mobile-panel .admin-player-row>summary::-webkit-details-marker{display:none}
html body #adminDialog.mobile-panel .admin-player-row>summary::after{content:none}
html body #adminDialog.mobile-panel .admin-player-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#e9eefe;color:#253d89;font-weight:700}
html body #adminDialog.mobile-panel .admin-player-identity{display:flex;flex-direction:column;gap:4px;min-width:0}
html body #adminDialog.mobile-panel .admin-player-identity strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #adminDialog.mobile-panel .admin-player-identity small{font-size:12px;color:#647087;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #adminDialog.mobile-panel .admin-player-state{font-size:11px;color:#596579;background:#eff2f6;padding:5px 6px;border-radius:6px;white-space:nowrap}
html body #adminDialog.mobile-panel .admin-player-state[data-online=true]{color:#17552f;background:#e4f6e8}
html body #adminDialog.mobile-panel .admin-player-row[open]{border-color:#7694d9}
html body #adminDialog.mobile-panel .admin-player-row[open]>summary{background:#f0f4ff;border-bottom:1px solid #d8deea}
html body #adminDialog.mobile-panel .admin-player-detail{padding:10px;font-size:13px;overflow-wrap:anywhere}
html body #adminDialog.mobile-panel .admin-player-detail p{margin:5px 0;font-size:13px}
html body #adminDialog.mobile-panel .admin-player-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
html body #adminDialog.mobile-panel .admin-player-actions button{flex:1 1 130px;min-height:44px;font-size:13px;padding:8px}
html body #adminDialog.mobile-panel .admin-player-pagination{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin-top:14px}
html body #adminDialog.mobile-panel .admin-player-pagination span{font-size:13px;text-align:center;white-space:nowrap}
html body #adminDialog.mobile-panel .admin-player-jump{display:flex;justify-content:center;align-items:center;gap:8px;margin:10px 0}
html body #adminDialog.mobile-panel .admin-player-jump label{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap;margin:0}
html body #adminDialog.mobile-panel .admin-player-jump input{width:72px;min-height:44px}
/* Neon uses a rotating gradient angle without moving or resizing the button. */
@property --neon-menu-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
html body #lobby#lobby #playGame{--neon-menu-angle:0deg;background:linear-gradient(#063d2b,#042b21) padding-box,conic-gradient(from var(--neon-menu-angle),#24bd67 0deg 200deg,#c9ffad 230deg,#4dff91 265deg,#24bd67 300deg 360deg) border-box!important;border-color:transparent!important;color:#efffe9!important;box-shadow:0 3px #022419,0 0 12px #30e77d66,inset 0 0 12px #38ed7c22!important;animation:neon-menu-orbit 3.5s linear infinite!important}
html body #lobby#lobby #playGame .play-online-label small{background:#06472c!important;color:#caff9e!important}
@keyframes neon-menu-orbit{to{--neon-menu-angle:360deg}}
/* The player card becomes a small game HUD with a visible XP track. */
html body #lobby#lobby .lobby-account{background:linear-gradient(135deg,#111b4c,#17163e)!important;border-color:#7c83dd!important;box-shadow:0 3px #080c2f,inset 0 1px #bec8ff33!important}
html body #lobby#lobby #profileShortcut{height:60px!important;min-height:60px!important;gap:12px!important;background:transparent!important}
html body #lobby#lobby #profileInitial{position:relative;display:grid;place-items:center;width:46px!important;height:46px!important;flex:0 0 46px!important;overflow:hidden;border:2px solid #f6d86c!important;border-radius:12px!important;background:#354a9c!important;color:#fff!important;font:700 24px 'Truco Outfit',Arial,sans-serif!important;box-shadow:0 3px #0a0e32}
html body #lobby#lobby #profileNickname{font-size:18px!important;color:#fff!important;text-shadow:0 2px #0a0e32}
html body #lobby#lobby #profileLevel{font-size:11px!important;color:#ffe898!important;background:#3d2e72;padding:3px 7px;border-radius:5px}
html body #lobby#lobby .xp-status{padding:8px 0 0!important;margin:0 0 10px!important;display:grid;grid-template-columns:1fr auto;gap:5px}
html body #lobby#lobby #profileXp{font-size:12px!important;color:#f2e8ff!important}
html body #lobby#lobby #profileXpNext{font-size:10px!important;color:#c8d4ff!important;text-align:right}
html body #lobby#lobby .xp-track{grid-column:1/-1;height:8px!important;margin-top:0!important;background:#090f2d!important;border:1px solid #6974aa;border-radius:5px}
html body #lobby#lobby #profileXpFill{height:100%;background:linear-gradient(90deg,#628dff,#bc8dff,#ffe384)!important;border-radius:3px;box-shadow:0 0 7px #b09cff66}
/* Profile photograph and saved progress, isolated from the game table. */
html body #profileDialog#profileDialog{background:#faf7f0!important;color:#302b2c!important;width:calc(100% - 24px)!important;max-width:420px!important;box-sizing:border-box!important}
html body #profileDialog#profileDialog>.menu-scroll-content{padding:14px!important;max-height:min(var(--menu-visible-height,76svh),calc(100dvh - 100px))!important}
html body #profileDialog#profileDialog .sheet-heading h2{color:#302b2c!important}
html body #profileDialog#profileDialog :is(p,label){color:#51494d!important;font-size:14px;line-height:1.4}
html body #profileDialog#profileDialog .profile-player-card{background:linear-gradient(135deg,#111b4c,#30235b);color:#fff;padding:14px;border:1px solid #8a88c4;border-radius:14px;margin:12px 0}
html body #profileDialog#profileDialog .profile-card-top{display:flex;align-items:center;gap:12px}
html body #profileDialog#profileDialog #profileCardAvatar{display:grid;place-items:center;position:relative;overflow:hidden;width:62px;height:62px;flex:0 0 62px;border:2px solid #f6d86c;border-radius:14px;background:#354a9c;color:#fff;font:700 30px 'Truco Outfit',Arial,sans-serif}
html body #profileDialog#profileDialog .profile-card-top>div{display:flex;flex-direction:column;gap:5px;min-width:0}
html body #profileDialog#profileDialog #profileCardName{font-size:20px;color:white;overflow-wrap:anywhere}
html body #profileDialog#profileDialog #profileCardRank{font-size:13px;color:#ffe398}
html body #profileDialog#profileDialog #profileCardWins{font-size:12px;color:#c8d4ff}
html body #profileDialog#profileDialog .profile-card-experience{display:grid;gap:6px;margin-top:14px}
html body #profileDialog#profileDialog #profileCardXp{font-size:13px;color:#fff}
html body #profileDialog#profileDialog #profileCardNext{font-size:12px;color:#c8d4ff}
html body #profileDialog#profileDialog .profile-card-track{height:8px;background:#0b102c;border:1px solid #6974aa;border-radius:5px;overflow:hidden}
html body #profileDialog#profileDialog #profileCardProgress{display:block;height:100%;background:linear-gradient(90deg,#628dff,#bc8dff,#ffe384);border-radius:3px}
.profile-photo-image{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;border-radius:inherit}
html body #profileDialog#profileDialog .profile-photo-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}
html body #profileDialog#profileDialog .profile-photo-controls :is(p,small){flex-basis:100%;font-size:12px;margin:0}
html body #profileDialog#profileDialog .profile-photo-controls button{min-height:44px;padding:10px 12px;font-size:14px;background:#243f9b!important;color:#fff!important;border:1px solid #243f9b!important;border-radius:8px;box-shadow:none}
html body #profileDialog#profileDialog #profileForm input{box-sizing:border-box;width:100%;max-width:100%;background:#fff!important;color:#302b2c!important;font-size:16px;border-color:#9ca9bc!important}
html body #profileDialog#profileDialog #profileAccount{font-size:12px;overflow-wrap:anywhere}
html body #profileDialog#profileDialog [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){html body #lobby#lobby #playGame{animation:none!important}}
@media(max-width:360px){html body #lobby#lobby .xp-status{grid-template-columns:1fr}html body #lobby#lobby #profileXpNext{text-align:left}html body #adminDialog.mobile-panel .admin-player-row>summary{grid-template-columns:28px minmax(0,1fr) auto;gap:6px;padding:8px}html body #adminDialog.mobile-panel .admin-player-state{font-size:10px;padding:4px}}

html body #adminDialog.mobile-panel .admin-player-state::before{content:"";display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:50%;background:#8b929c}html body #adminDialog.mobile-panel .admin-player-state[data-online=true]::before{background:#22c55e;box-shadow:0 0 6px #22c55e80}
