/* StakeQuiz 2.0.3 - simplified header, avatar menu, responsive lobby header. */
.sq-header-203{display:flex!important;align-items:center!important;gap:10px!important;overflow:visible!important;z-index:2147483500!important}
.sq-header-203 .sq-header-brand-203{flex:0 0 auto;min-width:0}
.sq-header-203 .sq-header-brand-203 .sq-brand-logo{width:36px;height:36px;object-fit:contain}
.sq-header-203 .sq-header-build-203{flex:0 0 auto;margin-right:auto}
.sq-header-203 .sq-header-wallets-203{margin-left:auto}
.sq-header-203 .sq-header-language-203{flex:0 0 auto}
.sq-header-203 .sq-header-language-203 select{width:auto;min-width:66px}
.sq-header-203 .sq-header-theme-203{display:inline-grid!important;place-items:center!important;flex:0 0 36px}

/* The avatar itself is the hamburger-menu trigger. */
.sq-profile-menu-203{position:relative;z-index:2147483600;flex:0 0 auto}
.sq-profile-menu-203>summary{list-style:none}
.sq-profile-menu-203>summary::-webkit-details-marker{display:none}
.sq-profile-trigger-203{display:flex;align-items:center;gap:7px;min-height:42px;padding:4px 7px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(255,255,255,.025);cursor:pointer;user-select:none}
.sq-profile-trigger-203:hover,.sq-profile-menu-203[open]>.sq-profile-trigger-203{background:rgba(255,255,255,.06);border-color:rgba(70,196,202,.28)}
.sq-profile-trigger-copy-203{display:grid;min-width:0}.sq-profile-trigger-copy-203>strong{font-size:10px;max-width:105px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sq-profile-trigger-copy-203 .sqp-stars{font-size:7px;line-height:1}.sq-profile-trigger-copy-203 .sqp-stars i{font-style:normal;color:#45525a}.sq-profile-trigger-copy-203 .sqp-stars i.filled{color:#d7ad4e}
.sq-profile-hamburger-203{width:17px;height:17px;display:grid;align-content:center;gap:2px;padding:2px}.sq-profile-hamburger-203 i{display:block;height:2px;border-radius:9px;background:currentColor;opacity:.75}
.sq-profile-panel-203{position:absolute;right:0;top:calc(100% + 8px);width:248px;padding:8px;border:1px solid rgba(77,127,153,.28);border-radius:14px;background:rgba(5,14,22,.985);box-shadow:0 24px 65px rgba(0,0,0,.55);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);z-index:2147483640}
.sq-profile-panel-head-203{display:grid;grid-template-columns:38px 1fr;gap:9px;align-items:center;padding:6px 7px 10px;border-bottom:1px solid rgba(255,255,255,.08)}.sq-profile-panel-head-203 img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid rgba(214,174,77,.55)}.sq-profile-panel-head-203 div{display:grid;min-width:0}.sq-profile-panel-head-203 strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sq-profile-panel-head-203 small{font-size:9px}
.sq-profile-links-203{display:grid;padding:6px 0}.sq-profile-links-203 a,.sq-profile-logout-203 button{width:100%;min-height:36px;display:grid;grid-template-columns:28px 1fr;align-items:center;gap:5px;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;font-size:11px;font-weight:750;text-decoration:none}.sq-profile-links-203 a:hover,.sq-profile-logout-203 button:hover{background:rgba(57,190,197,.09)}.sq-profile-links-203 a>span,.sq-profile-logout-203 button>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid rgba(255,255,255,.08);border-radius:7px;color:#63d2cf;font-size:11px}.sq-profile-logout-203{margin:0;padding-top:5px;border-top:1px solid rgba(255,255,255,.08)}.sq-profile-logout-203 button{cursor:pointer}.sq-profile-logout-203 button>span{color:#ff8496}

/* Appearance selectors live in Settings; only dark/light remains in the header. */
.sq-skin-settings-203{display:grid;grid-template-columns:minmax(180px,1fr) minmax(190px,.8fr) auto;gap:14px;align-items:center;margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025)}
.sq-skin-settings-203>div:first-child{display:grid;gap:3px}.sq-skin-settings-203>div:first-child strong{font-size:13px}.sq-skin-settings-203>div:first-child small{font-size:10px}.sq-skin-settings-203 label{display:grid;gap:5px}.sq-skin-settings-203 label>span{font-size:9px;color:var(--muted);font-weight:800}.sq-skin-settings-203 select{min-width:170px}
.sq-skin-preview-203{display:flex;gap:5px}.sq-skin-preview-203 i{width:24px;height:24px;border-radius:50%;border:2px solid rgba(255,255,255,.25);box-shadow:0 3px 10px rgba(0,0,0,.25)}.sq-skin-preview-203 .neon{background:linear-gradient(135deg,#35f1ff,#a855f7)}.sq-skin-preview-203 .emerald{background:linear-gradient(135deg,#2ee6a6,#0b7059)}.sq-skin-preview-203 .ruby{background:linear-gradient(135deg,#ff6381,#741b39)}.sq-skin-preview-203 .royal{background:linear-gradient(135deg,#5b84ff,#432b88)}

:root[data-theme="light"] .sq-profile-trigger-203{background:#fff;border-color:#cbd6df}:root[data-theme="light"] .sq-profile-panel-203{background:rgba(255,255,255,.99);color:#17304a;border-color:#c7d4df;box-shadow:0 22px 55px rgba(30,55,78,.18)}:root[data-theme="light"] .sq-profile-panel-head-203,:root[data-theme="light"] .sq-profile-logout-203{border-color:#dbe3ea}:root[data-theme="light"] .sq-profile-links-203 a>span,:root[data-theme="light"] .sq-profile-logout-203 button>span{border-color:#d2dde6}:root[data-theme="light"] .sq-profile-links-203 a:hover,:root[data-theme="light"] .sq-profile-logout-203 button:hover{background:#eef6f8}

/* Prevent the header from disappearing in the legacy compact-landscape breakpoints. */
@media (max-width:1400px) and (orientation:landscape), (max-height:820px) and (orientation:landscape){
  body.lobby-page>.topbar.sq-header-203{display:flex!important;height:44px!important;min-height:44px!important;padding:4px 8px!important;gap:6px!important;overflow:visible!important}
  body.lobby-page .pro-client-shell{height:calc(var(--sq-vh,100dvh) - 44px)!important;min-height:0!important}
  body.lobby-page .sq-mobile-unified-tools{display:none!important}
  .sq-header-203 .sq-header-brand-203 .sq-brand-logo{width:30px;height:30px}.sq-header-203 .sq-header-brand-203 span{font-size:13px}.sq-header-203 .sq-header-build-203{display:none!important}.sq-header-203 .sq-header-wallets-203{display:none!important}.sq-header-203 .sq-header-language-203 select{height:32px!important;min-height:32px!important;min-width:52px!important;padding:3px 6px!important;font-size:10px!important}.sq-header-203 .sq-header-theme-203{display:inline-grid!important;width:32px!important;height:32px!important;min-width:32px!important;flex-basis:32px!important}.sq-profile-trigger-203{min-height:34px;height:34px;padding:2px 5px}.sq-profile-trigger-203 .sq-user-avatar{width:28px!important;height:28px!important}.sq-profile-trigger-copy-203>strong{font-size:9px;max-width:82px}.sq-profile-trigger-copy-203 .sqp-stars{font-size:6px}.sq-profile-panel-203{top:calc(100% + 5px);width:235px}
}
html.sq-compact-landscape body.lobby-page>.topbar.sq-header-203{display:flex!important;height:44px!important;min-height:44px!important;overflow:visible!important}
html.sq-compact-landscape body.lobby-page .pro-client-shell{height:calc(var(--sq-vh,100dvh) - 44px)!important}
html.sq-compact-landscape body.lobby-page .sq-mobile-unified-tools{display:none!important}

@media(max-width:950px) and (orientation:landscape){
  body.lobby-page>.topbar.sq-header-203{display:flex!important;height:42px!important;min-height:42px!important;padding:3px 6px!important;overflow:visible!important}
  body.lobby-page .pro-client-shell{height:calc(var(--sq-vh,100dvh) - 42px)!important}
  .sq-header-203 .sq-header-theme-203{display:inline-grid!important}
  .sq-header-203 .sq-header-brand-203{font-size:11px!important;gap:4px!important}.sq-header-203 .sq-header-brand-203 .sq-brand-logo{width:28px!important;height:28px!important}.sq-header-203 .sq-header-brand-203 span{font-size:11px!important}
  .sq-profile-trigger-copy-203{display:none}.sq-profile-hamburger-203{width:15px;height:15px}.sq-profile-panel-203{position:fixed;right:6px;top:47px;width:min(260px,calc(100vw - 12px));max-height:calc(100dvh - 54px);overflow:auto}
  .sq-skin-settings-203{grid-template-columns:1fr}.sq-skin-preview-203{justify-content:flex-start}
}
@media(max-width:620px) and (orientation:landscape){.sq-header-203 .sq-header-brand-203 span{display:none}.sq-header-203 .sq-header-language-203 select{min-width:45px!important}.sq-profile-trigger-203{padding:2px 4px}}
