.header-account {position:relative;flex:none}
.header-account-toggle {display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 7px;min-width:40px}
.header-account-toggle img,.profile-image {object-fit:cover;background:var(--surface-hover);border-radius:50%;flex:none}
.header-account-toggle img {width:29px;height:29px}
.header-account-toggle > span {font-size:.76rem;font-weight:800}
.casino-top .header-account-links {
  position:absolute;inset-block-start:calc(100% + 11px);inset-inline-end:0;z-index:12;
  display:grid;align-content:start;gap:0;width:min(265px,calc(100vw - 20px));
  max-height:min(620px,calc(100vh - var(--header-h) - 17px));max-height:min(620px,calc(100dvh - var(--header-h) - 17px));overflow:auto;
  padding:5px;background:var(--panel-deep);color:var(--text);border:1px solid var(--line);border-radius:12px;
  box-shadow:0 16px 48px #0c0817b3;scrollbar-width:thin;
}
.header-account-label {display:grid;gap:1px;min-width:0;padding:9px 10px 10px;color:var(--text);overflow-wrap:anywhere}
.header-account-label strong {font-size:.91rem}
.header-account-label small {font-size:.75rem;color:var(--soft)}
.header-account-group {display:grid;gap:1px;padding:5px 2px;border-top:1px solid var(--line)}
.casino-top .header-account-links :is(a,button) {
  display:flex;align-items:center;gap:6px;min-height:34px;border:0;border-radius:6px;
  padding:.43rem .56rem;font:inherit;font-size:.84rem;font-weight:650;text-align:left;background:transparent;color:var(--soft)
}
.casino-top .header-account-links :is(a,button):is(:hover,:focus-visible) {background:var(--surface-hover);color:var(--text)}
#account-menu-signout {color:#f5b5c8}
.account-verification-dot {width:8px;height:8px;flex:none;border-radius:50%;background:#f3c28c}
.notification-bell {position:relative;flex:none}
#notification-count {
  position:absolute;inset-block-start:-5px;inset-inline-end:-5px;min-width:17px;height:17px;
  border-radius:10px;padding:0 4px;display:grid;place-items:center;pointer-events:none;
  color:var(--accent-ink);background:var(--accent);font-size:.6rem;font-weight:850;line-height:1;
}
.notifications-dialog {
  width:min(520px,calc(100% - 20px));max-height:min(700px,calc(100vh - 28px));max-height:min(700px,calc(100dvh - 28px));
  padding:0;overflow:auto;background:var(--panel-deep);color:var(--text);border:1px solid var(--line);border-radius:14px;
  box-shadow:0 26px 62px #0d091b94;scrollbar-width:thin;
}
.notifications-dialog::backdrop {background:#0e0a17dc}
.notifications-header {
  position:sticky;inset-block-start:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 15px;border-bottom:1px solid var(--line);background:var(--panel-deep)
}
.notifications-header h2 {margin:0;font-size:1.13rem}
.notifications-header .shell-icon {min-width:36px;height:36px;font-size:1.2rem}
.notification-list {display:grid;gap:8px;padding:11px 15px 16px}
.notification-toolbar {display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--soft);font-size:.8rem;min-height:34px}
.notification-list .line {width:max-content;max-width:100%;min-height:33px;padding:.32rem .64rem;font-size:.77rem;border-color:var(--line)}
.notification-items {display:grid;gap:8px;list-style:none;margin:0;padding:0}
.notification-item,.notification-empty {padding:11px 13px;background:var(--panel);border:1px solid var(--line);border-radius:9px;overflow-wrap:anywhere}
.notification-item {display:grid;justify-items:start;gap:4px;padding-inline-start:16px}
.notification-item[data-unread=true] {box-shadow:inset 3px 0 var(--accent)}
.notification-item > strong {font-size:.92rem}
.notification-list p {margin:0;font-size:.83rem;line-height:1.45}
.notification-meta {display:flex;flex-wrap:wrap;gap:.25rem .7rem;color:var(--soft);font-size:.73rem}
.notification-meta > span {color:var(--gold);font-weight:700}
.notification-error {color:#ffd7be}
.profile-layout {display:grid;gap:12px;color:var(--text)}
.profile-panel {display:grid;justify-items:start;gap:12px;min-width:0;padding:clamp(13px,2vw,24px);background:var(--panel);border:1px solid var(--line);border-radius:12px}
.profile-panel :is(p,h2,h3,dl),.profile-status {margin:0}
.profile-panel p {font-size:.86rem;line-height:1.45}
.profile-panel-heading h2 {font-size:1rem;line-height:1.3}
.profile-panel-heading p {margin-top:4px}
.profile-identity {display:flex;align-items:center;gap:12px}
.profile-identity strong {font-size:1.12rem;overflow-wrap:anywhere}
.profile-layout form {width:100%;max-width:100%;min-width:0}
.profile-layout form {display:grid;justify-items:start;align-content:start;gap:11px}
.profile-field-grid,.profile-document-grid {width:100%;display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-layout .field {width:100%;text-align:left;color:var(--soft)}
.profile-layout :is(input,select) {width:100%;border:1px solid #615074;padding:.55rem .6rem;background:var(--panel-deep);color:var(--text);border-radius:7px}
.profile-layout input[type=file] {font-size:.84rem;line-height:1.4;min-width:0}
.profile-layout input::file-selector-button {margin-inline-end:.5rem;padding:.25rem .4rem;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--text);cursor:pointer}
.profile-layout .line,.profile-layout .primary {width:max-content;max-width:100%;min-height:38px;padding:.38rem .66rem;font-size:.83rem;border-color:#615074}
.profile-status {border:1px solid #547263;border-radius:8px;background:#263932;color:#d4f2e4;font-size:.83rem;padding:.55rem .7rem}
.profile-email {display:grid;grid-template-columns:auto minmax(0,1fr);gap:.45rem .75rem;font-size:.86rem}
.profile-email dt {color:var(--soft)}
.profile-email dd {margin:0;overflow-wrap:anywhere}
.profile-actions {display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .7rem}
.profile-document {display:grid;gap:6px;align-content:start;min-width:0;padding:.75rem;border:1px solid var(--line);border-radius:8px;background:var(--panel-deep)}
.profile-document h3 {font-size:.91rem}
.profile-panel .profile-document-receipt {color:#c9efdc;font-size:.8rem}
.profile-review-note {display:grid;gap:.3rem;padding:.55rem .7rem;border-inline-start:3px solid var(--gold);background:var(--panel-deep);font-size:.85rem;overflow-wrap:anywhere}
.casino-foot-top {grid-template-columns:minmax(155px,1.28fr) repeat(2,minmax(0,1fr))}
.casino-foot .casino-foot-brand p {font-size:.8rem}
.casino-foot .casino-foot-inner {padding-block-start:clamp(18px,3.2vw,37px)}
@media (max-width:650px) {
  .casino-foot-top {grid-template-columns:repeat(2,minmax(0,1fr))}
  .casino-foot-brand {padding-bottom:11px}
}
@media (max-width:549px) {
  .header-account-toggle,.notification-bell {min-width:35px;height:35px}
  .header-account-toggle img {width:23px;height:23px}
  .header-account-toggle {padding:0 4px;gap:3px}
  .notification-bell svg {width:17px;height:17px}
  .profile-field-grid,.profile-document-grid {grid-template-columns:1fr}
}
@media (max-width:440px) {
  .casino-top:has(#account-menu:not([hidden])) #wallet {display:none}
  #identity.wallet-value:not([hidden]) {display:block;max-width:42vw;overflow:hidden;text-overflow:ellipsis;line-height:21px}
  .profile-email {grid-template-columns:1fr;gap:.25rem}
}
