/* Account surfaces: quiet panels, clear form hierarchy and comfortable touch input. */
.mfa-auth-page { padding-bottom: 0; }
.security-page .mfa-setup-key { display:block; width:180px; max-width:100%; margin-inline:auto; font:15px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:0; word-break:break-all; }
.security-page .recovery-code-list { white-space:pre; margin:0; padding:18px; border:1px solid var(--line); border-radius:12px; background:#10151b; font:14px/2.1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:0; overflow-x:auto; user-select:all; }
.account-auth .auth-shell { padding: 32px 24px; min-height: 100svh; }
.account-auth .auth-card,.account-auth .locked-card { width: 100%; max-width: 430px; }
.account-auth .auth-card.wide { max-width: 650px; }
.account-auth .auth-card h1 { font-size: clamp(25px,4vw,32px); letter-spacing: -.035em; margin: 12px 0; line-height: 1.2; }
.account-auth .sigil img { width: 76px; height: 76px; margin-bottom: 6px; }
.account-auth .auth-card .muted { font-size: 14px; line-height: 1.6; }
.account-auth .locked-form label,.account-auth label { font-size: 11px; text-align: left; }
.account-auth .locked-form input,.account-auth input,.account-page input,.account-page textarea,.account-page select { font-size: 16px; font-weight: 400; letter-spacing: normal; min-height: 46px; }
.account-auth .stack.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.account-auth .notice { text-align: left; margin: 0; font-size: 13px; }
.account-auth .access-help { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #a5afb9; font-size: 13px; line-height: 1.7; }
.account-auth .access-help p { margin: 0 0 10px; }
.account-auth a:not(.btn),.account-page .account-error a { color: var(--gold2); text-underline-offset: 3px; }
.account-auth .access-actions { margin-top: 24px; }
.account-page .account-shell { max-width: 1200px; }
.account-page .account-shell.narrow { max-width: 1060px; }
.account-page .title-row p.muted { margin: 10px 0 0; font-size: 14px; line-height: 1.6; }
.account-page .profile-grid,.account-page .checkout-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
.account-page .panel { min-width: 0; padding: 26px; }
.account-page .panel h2,.account-page .panel-heading,.account-page .panel-title h2 { font-size: 19px; font-weight: 750; letter-spacing: -.02em; margin: 0; }
.account-page .panel p { line-height: 1.65; }
.account-page .panel-title { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:20px; }
.account-page .panel-title .muted { font-size: 12px; }
.account-page .field-help,.account-auth .field-help { color:#a5afb9; font-size:13px; font-weight:400; letter-spacing:normal; line-height:1.55; margin:0; }
.account-page .field-error,.account-auth .field-error { color:#ffadb5; font-size:13px; font-weight:500; line-height:1.55; letter-spacing:normal; margin:0; }
.account-page [aria-invalid="true"],.account-auth [aria-invalid="true"] { border-color:#d87583; }
.account-page .account-error,.account-auth .account-error { text-align:left; font-size:14px; line-height:1.6; margin:0 0 4px; box-shadow:none; }
.account-auth .account-error p { margin:6px 0; }
.account-auth .account-error ul { padding-left:20px; margin:8px 0 0; }
.account-page .contact-details summary { list-style:none; display:flex; justify-content:space-between; gap:16px; align-items:center; cursor:pointer; min-height:48px; }
.account-page .contact-details summary::-webkit-details-marker { display:none; }
.account-page .contact-details summary>span:first-child { display:grid; gap:7px; }
.account-page .contact-details summary small { color:var(--muted); font-size:12px; font-weight:400; }
.account-page .contact-edit-label { color:var(--gold2); border:1px solid #494333; padding:12px 14px; border-radius:8px; font-size:13px; font-weight:650; }
.account-page .contact-details[open] .contact-edit-label { font-size:0; }
.account-page .contact-details[open] .contact-edit-label:after { content:'Close'; font-size:13px; }
.account-page .contact-details form { margin-top:24px; }
.account-page .contact-summary { display:grid; gap:15px; margin:22px 0 0; padding-top:20px; border-top:1px solid var(--line); }
.account-page .contact-summary div { display:grid; gap:4px; min-width:0; }
.account-page .contact-summary dt { font-size:12px; color:var(--muted); }
.account-page .contact-summary dd { margin:0; font-size:14px; overflow-wrap:anywhere; }
.account-page .contact-details[open]+.contact-summary { display:none; }
.account-page .address-card { gap:14px; align-items:flex-start; padding:18px; }
.account-page .address-card .address-content { display:grid; gap:9px; min-width:0; }
.account-page .address-card .address-card-heading { display:flex; flex-flow:row wrap; align-items:center; gap:10px; }
.account-page .address-card .address-card-heading b { font-size:15px; overflow-wrap:anywhere; }
.account-page .address-card span { font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
.account-page .address-card .status { font-size:10px; line-height:1.3; }
.account-page .address-card .address-edit { flex-shrink:0; color:var(--gold2); font-size:13px; }
.account-page .account-empty { padding:20px 0; }
.account-page .account-empty h3 { font-size:17px; margin:0 0 10px; }
.account-page .account-empty p { font-size:14px; }
.account-page .address-editor-grid { grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); }
.account-page .coverage-panel>.muted { font-size:14px; }
.account-page .zone-fee-list { margin:20px 0; }
.account-page .zone-fee-list div { display:flex; gap:16px; justify-content:space-between; padding:15px 0; border-bottom:1px solid var(--line); font-size:14px; }
.account-page .zone-fee-list dd { margin:0; color:var(--gold2); font-weight:700; }
.account-page .coverage-help summary { cursor:pointer; font-size:14px; font-weight:650; padding:10px 0; min-height:44px; }
.account-page .coverage-help p { font-size:14px; color:#a5afb9; }
.account-page .check { min-height:44px; font-size:13px; letter-spacing:normal; font-weight:500; }
.account-page .check input { width:20px; height:20px; min-height:20px; accent-color:var(--gold); }
.account-page .referral-layout { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:28px; align-items:start; }
.account-page .referral-list-section { min-width:0; }
.account-page .referral-form h2 { margin-bottom:4px; }
.account-page .key-list { margin:0; gap:14px; }
.account-page .referral-card { display:block; padding:22px; }
.account-page .invitation-heading { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; }
.account-page .invitation-heading>span:last-child { font-size:12px; }
.account-page .referral-note { margin:16px 0 8px; font-size:16px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
.account-page .referral-created { color:var(--muted); font-size:12px; margin:12px 0; }
.account-page .invitation-url { display:block; color:var(--gold2); font-size:13px; overflow-wrap:anywhere; line-height:1.65; text-underline-offset:3px; }
.account-page .invitation-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.account-page .invitation-feedback:empty { display:none; }
.account-page .invitation-feedback:not(:empty) { margin:12px 0 0; }
.account-page .is-exhausted { border-style:dashed; background:#0d1014; }
.account-page .is-exhausted .status { color:#abb5be; }
.account-page.lottery-page { padding-bottom:0; min-height:0; }
.lottery-page .lottery-wrap { min-height:calc(100svh - 78px); padding:44px 20px; }
.lottery-page .lottery-card { width:100%; max-width:480px; padding:34px; }
.lottery-page h1 { font-size:30px; letter-spacing:-.035em; line-height:1.2; margin:12px 0; }
.lottery-page .lottery-card>.muted { font-size:14px; line-height:1.65; margin-bottom:24px; }
.lottery-page .lottery-result { margin:24px 0; font-size:14px; line-height:1.65; box-shadow:none; }
.lottery-page .lottery-result a { color:var(--gold2); }
.lottery-page .lottery-card form { text-align:left; }
.lottery-page .code-input { font-size:24px; letter-spacing:.18em; font-weight:650; min-height:58px; }
.lottery-page .lottery-orders { display:inline-flex; align-items:center; min-height:44px; margin-top:16px; font-size:13px; }
.lottery-page .lottery-next { margin-top:24px; }
.account-page summary:focus-visible { outline:2px solid var(--gold); outline-offset:5px; border-radius:5px; }
@media(max-width:760px) {
  .account-page .profile-grid,.account-page .checkout-grid,.account-page .referral-layout { grid-template-columns:minmax(0,1fr); gap:20px; }
  .account-page .panel,.account-page .referral-card { padding:22px; }
  .account-page .title-row { align-items:flex-start; gap:14px; }
  .account-page .title-row h1 { font-size:26px; }
  .account-page .title-row>.btn { flex-shrink:0; padding:0 12px; font-size:10px; }
  .account-page .contact-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .account-page .contact-summary>div:last-child:nth-child(odd) { grid-column:1/-1; }
  .account-auth .auth-shell { padding:24px 20px; }
  .account-auth .auth-card { padding:26px 24px; }
  .account-auth .stack.two { grid-template-columns:minmax(0,1fr); }
  .lottery-page .lottery-wrap { min-height:calc(100svh - 78px); padding:28px 20px; }
  .lottery-page .lottery-card { padding:28px 24px; }
}
@media(prefers-reduced-motion:reduce) { .account-page *,.account-auth * { scroll-behavior:auto; } }
.account-page .sr-only,.account-auth .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.account-page .address-card .address-content { flex:1; }
.account-page .address-card .address-edit { white-space:nowrap; }
.account-page [data-focus-error]:focus,.account-auth [data-focus-error]:focus,.account-page [data-focus-result]:focus { outline:2px solid var(--gold); outline-offset:3px; }
.account-page .account-error,.account-auth .account-error,.lottery-page .lottery-result { display:block; }
.lottery-page { --account-header-height:80px; }
.lottery-page .lottery-wrap { min-height:calc(100svh - var(--account-header-height)); }
@media(max-width:1100px) { .lottery-page { --account-header-height:76px; } }
@media(max-width:650px) { .lottery-page { --account-header-height:72px; } }
