.account-actions{display:flex;align-items:center;align-self:center;gap:5px;flex:none;white-space:nowrap;font:700 11px/1.5 Arial,sans-serif}.account-actions>span{opacity:.55}.account-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 2px;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;white-space:nowrap}.account-trigger[hidden],.account-actions>span[hidden]{display:none}
@media(min-width:901px){.header .account-actions{transform:translateY(7px)}}
.language-switch{display:flex;align-items:center;gap:2px;flex-shrink:0;border:1px solid var(--entry-line);border-radius:30px;padding:4px;font:14px Delight,Arial;color:var(--entry-ink)}
.language-switch button{font:inherit;min-width:42px;min-height:36px;padding:7px 10px;border:0;border-radius:24px;color:var(--entry-muted);background:none;transition:color .2s,background .2s}
.language-switch button[aria-pressed=true]{background:var(--entry-ink);color:var(--entry-bg)}
.language-switch button:focus-visible{outline:2px solid #FFDA00;outline-offset:3px}
.account-trigger:hover,.account-trigger:focus-visible{text-decoration:underline;text-decoration-color:#51FF00;text-underline-offset:5px}

.account-dialog{border:1px solid #555;border-radius:14px;padding:0;max-width:min(92vw,440px);width:100%;background:#111217;color:#fff;box-shadow:0 25px 90px #0009}
.account-dialog::backdrop{background:#000a;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
/* The animated pointer sits below native modal top layers. Restore the native pointer while a dialog is open. */
@media(hover:hover) and (pointer:fine){
  html.coin-ready:has(.account-dialog[open]),
  html.coin-ready:has(.account-dialog[open]) body,
  html.coin-ready:has(.account-dialog[open]) body *{cursor:auto!important}
  html.coin-ready:has(.account-dialog[open]) .account-dialog :is(button,a,summary,input[type=checkbox],.account-upload){cursor:pointer!important}
  html.coin-ready:has(.account-dialog[open]) .account-dialog input:not([type=checkbox]){cursor:text!important}
  html.coin-ready:has(.account-dialog[open]) :is(.coin-pointer,.coin-wake){visibility:hidden!important}
}
.account-shell{padding:28px;position:relative}.account-shell h2{font:clamp(30px,5vw,43px)/1 Delight,Arial;margin:16px 0 24px;letter-spacing:-.06em}.account-close{position:absolute;right:17px;top:16px;background:transparent;color:#fff;border:1px solid #777;border-radius:50%;width:38px;height:38px;font-size:24px}.account-tabs{display:flex;gap:12px;border-bottom:1px solid #555;margin-bottom:22px}.account-tabs button{background:none;color:#aaa;border:0;border-bottom:3px solid transparent;padding:12px 4px;font:700 12px Arial}.account-tabs button[aria-selected=true]{color:white;border-bottom-color:#51FF00}.account-dialog form{display:grid;gap:15px}.account-dialog label{display:grid;gap:6px;font:700 12px Arial}.account-dialog input:not([type=checkbox]){width:100%;min-height:46px;border:1px solid #777;border-radius:5px;background:#22232a;color:#fff;padding:10px;font-size:16px}.account-dialog .account-consent{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.5}.account-consent input{margin-top:3px}.account-submit{border:0;border-radius:5px;background:#FFDA00;color:#101010;padding:14px;font-weight:800}.account-note,.account-status{font-size:12px;line-height:1.45;color:#b8b8c4;margin:12px 0}.account-status{color:#FFDA00;min-height:15px}.account-profile{display:flex;align-items:center;gap:14px}.account-profile img{width:55px;height:55px;object-fit:cover;border-radius:50%}.account-profile strong{font:700 24px Delight,Arial}.account-dialog .account-upload{display:block;cursor:pointer;border:1px solid #666;border-radius:5px;padding:12px;margin:20px 0}.account-upload input{display:block;margin-top:8px;width:100%;font-size:12px}.account-login-note{line-height:1.55;font-size:14px;color:#ccc}
@media(max-width:900px){body .header.menu-ready{grid-template-columns:minmax(0,1fr) auto 44px;gap:6px}body .header .account-actions{grid-area:1/2;font-size:10px}body .header .account-trigger{min-height:40px;padding:7px 2px}body .header .language-switch{position:absolute;right:5%;top:calc(100% + 260px);z-index:5;display:none}body .header.menu-open .language-switch{display:flex}.header.menu-open nav{padding-bottom:75px}}
@media(max-width:430px){body .header .wordmark img{width:38px;height:38px}body .header .wordmark span{font-size:17px}body .header .account-actions{font-size:9px;gap:3px}body .header .account-trigger{padding:5px 1px}.account-shell{padding:22px}}

@media(min-width:901px) and (max-width:1200px){.header{gap:12px}.header nav{gap:12px}.header .wordmark{font-size:23px}.header .account-trigger{font-size:10px;padding-inline:9px}}

/* Keep the navigation in the header and the footer compact. */
body .header nav{margin-left:auto}footer{padding-top:30px;padding-bottom:70px}.footer-row{margin-top:0}@media(max-width:700px){body .header .wordmark span{display:none}body .header .wordmark img{width:42px;height:42px}}
