:root { color-scheme: dark; }
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; background: radial-gradient(circle at 2px 2px, #ffffff12 1px, transparent 1.4px) 0 0 / 24px 24px, #10130f; color: #f7f7f3; font-family: Arial, sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.account-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 clamp(18px, 4vw, 58px); border-bottom: 1px solid #ffffff1d; background: #131711ed; }
.account-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 900 italic 23px/1 "Barlow Condensed", Impact, sans-serif; letter-spacing: 0; text-decoration: none; }
.account-brand img { width: 29px; height: 29px; object-fit: contain; }
.back-store, .text-button { border: 0; background: transparent; color: #f4f6f0; font: 800 13px/1 Arial, sans-serif; text-decoration: none; }
.back-store:hover, .text-button:hover { color: #f3ff00; }
.account-page { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: clamp(36px, 7vw, 78px) 0 64px; }
.account-loading { color: #b8bcb2; font-weight: 700; text-align: center; }
.signed-out-view { max-width: 540px; margin: 70px auto; text-align: center; }
.account-kicker { margin: 0 0 8px; color: #f3ff00; font: 900 italic 13px/1 "Barlow Condensed", Impact, sans-serif; letter-spacing: 0; }
.signed-out-view h1, .account-hero h1, .section-heading h2, .privacy-panel h2 { margin: 0; font-family: "Barlow Condensed", Impact, sans-serif; font-weight: 900; letter-spacing: 0; }
.signed-out-view h1 { font-size: clamp(38px, 7vw, 62px); line-height: .94; }
.signed-out-view > p:not(.account-kicker) { color: #b8bcb2; line-height: 1.5; }
.primary-link, .save-account { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border: 0; border-radius: 6px; background: #f3ff00; color: #10130f; font: 900 italic 15px/1 "Barlow Condensed", Impact, sans-serif; letter-spacing: 0; text-decoration: none; text-transform: uppercase; }
.account-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid #ffffff1d; }
.account-identity { display: flex; align-items: center; gap: 18px; min-width: 0; }
.account-identity > img { width: 88px; height: 88px; flex: 0 0 auto; border: 3px solid #f3ff00; border-radius: 50%; object-fit: cover; }
.account-hero h1 { overflow-wrap: anywhere; font-size: clamp(38px, 6vw, 56px); line-height: .9; }
.account-hero p:not(.account-kicker) { margin: 9px 0 0; color: #b8bcb2; font-size: 14px; }
.text-button { flex: 0 0 auto; padding: 10px 0; }
.account-layout { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: clamp(36px, 6vw, 78px); padding-top: 40px; }
.section-heading { margin-bottom: 30px; }
.section-heading h2, .privacy-panel h2 { font-size: 30px; line-height: 1; }
.section-heading > p:last-child { max-width: 560px; margin: 10px 0 0; color: #b8bcb2; font-size: 14px; line-height: 1.45; }
#accountForm { display: grid; gap: 24px; }
.account-field { display: grid; gap: 8px; color: #fff; font: 800 13px/1.2 Arial, sans-serif; }
.account-field input, .account-field select { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid #ffffff35; border-radius: 6px; outline: 0; background: #181c17; color: #fff; font-weight: 700; }
.account-phone-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 9px; }
.account-phone-row select { padding-inline: 9px; }
.account-field input:focus, .account-field select:focus { border-color: #f3ff00; box-shadow: 0 0 0 2px #f3ff002b; }
.account-field small { color: #9fa49b; font-size: 11px; font-weight: 600; line-height: 1.4; }
.avatar-field { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; color: #fff; font: 800 13px/1.2 Arial, sans-serif; }
.account-avatar-carousel { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; align-items: center; gap: 10px; max-width: 520px; }
.account-avatar-arrow { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid #ffffff2c; border-radius: 50%; background: #181c17; color: #fff; font: 900 30px/1 Arial, sans-serif; cursor: pointer; }
.account-avatar-arrow:hover { border-color: #f3ff00; color: #f3ff00; }
.account-avatar-choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.account-avatar-choices.is-moving[data-direction="next"] { animation: account-avatar-next 180ms ease-out; }
.account-avatar-choices.is-moving[data-direction="previous"] { animation: account-avatar-previous 180ms ease-out; }
.account-avatar-choice { aspect-ratio: 1; padding: 3px; border: 2px solid transparent; border-radius: 50%; background: #181c17; cursor: pointer; }
.account-avatar-choice[aria-pressed="true"] { border-color: #f3ff00; box-shadow: 0 0 0 2px #f3ff0044; }
.account-avatar-choice img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.game-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.platform-field { min-width: 0; margin: 0; padding: 0; border: 0; color: #fff; font: 800 13px/1.2 Arial, sans-serif; }
.platform-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.platform-option { position: relative; display: grid; min-height: 94px; place-items: center; gap: 4px; padding: 9px 4px 7px; border: 1px solid #ffffff2d; border-radius: 6px; background: #181c17; color: #c7cbc2; cursor: pointer; font-size: 11px; font-weight: 800; text-align: center; }
.platform-option input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.platform-option img { width: 42px; height: 42px; object-fit: contain; }
.platform-option:has(input:checked) { border-color: #f3ff00; background: #22281c; color: #fff; box-shadow: inset 0 0 0 1px #f3ff00; }
.platform-option:has(input:focus-visible) { outline: 2px solid #f3ff00; outline-offset: 3px; }
.account-status { min-height: 18px; margin: -7px 0 0; color: #b8bcb2; font-size: 12px; font-weight: 700; }
.account-status.is-error { color: #ffaaa4; }
.save-account { justify-self: start; min-width: 168px; }
.save-account:disabled { cursor: wait; opacity: .65; }
.privacy-panel { align-self: start; padding: 22px 0; border-top: 2px solid #f3ff00; border-bottom: 1px solid #ffffff1d; }
.privacy-panel h2 { margin-bottom: 25px; }
.privacy-rule { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 11px; padding: 14px 0; border-top: 1px solid #ffffff14; }
.privacy-dot { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; }
.public-dot { background: #f3ff00; } .private-dot { background: #73786f; }
.privacy-rule strong { font-size: 13px; } .privacy-rule p { margin: 5px 0 0; color: #aeb2aa; font-size: 12px; line-height: 1.4; }
.google-status { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #ffffff14; color: #b8bcb2; font-size: 12px; font-weight: 700; }
.google-status span { color: #6aa7ff; font: 900 22px/1 Arial, sans-serif; }.google-status p { margin: 0; }
@keyframes account-avatar-next { from { opacity: .25; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
@keyframes account-avatar-previous { from { opacity: .25; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 760px) { .account-page { width: min(100% - 32px, 600px); padding-top: 36px; } .account-layout { grid-template-columns: 1fr; gap: 38px; } .privacy-panel { order: -1; } .game-fields { grid-template-columns: 1fr; } .account-hero { align-items: flex-start; } }
@media (max-width: 460px) { .account-phone-row { grid-template-columns: 118px minmax(0, 1fr); } .account-phone-row input, .account-phone-row select { font-size: 16px; } }
@media (max-width: 460px) { .account-topbar { min-height: 56px; padding-inline: 16px; } .account-brand { font-size: 20px; } .back-store { font-size: 11px; } .account-identity { gap: 12px; } .account-identity > img { width: 64px; height: 64px; } .account-hero { gap: 12px; } .text-button { font-size: 11px; } .account-avatar-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .account-avatar-choices.is-moving { animation: none; } }

/* A focused account form with separate public and delivery identities. */
body { background: #121212; color: #f5f5f5; }
.account-topbar { background: #151515; border-color: #333; min-height: 76px; gap: 20px; }
.account-brand img { display: block; width: 144px; height: 52px; object-fit: contain; }
.back-store { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 14px; border: 1px solid #ffffff20; border-radius: 6px; background: #ffffff04; color: #d5d5d5; font: 500 13px/1.3 Arial, sans-serif; transition: background .18s, border-color .18s, color .18s; }
.back-store span { font-size: 19px; }
.back-store:hover { background: #ffffff0b; border-color: #ffffff40; color: #fff; }
.back-store:focus-visible, .account-brand:focus-visible { outline: 2px solid #ecf16c; outline-offset: 4px; }
.account-page .game-account-row { grid-template-columns: 190px minmax(0, 1fr); }
.account-page .game-platform-icon { position: relative; display: block; flex: 0 0 34px; width: 34px; height: 30px; overflow: hidden; border-radius: 5px; }
.account-page .game-platform-icon img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: block; max-width: none; width: 38px; height: 38px; object-fit: cover; }
.account-page .game-platform-icon img[src*="nintendo"] { width: 36px; height: 36px; }
@media(max-width:500px) { .account-page .game-account-row { grid-template-columns: 1fr; } .account-topbar { min-height: 68px; gap: 12px; } .account-brand img { width: 98px; height: 40px; } .back-store { padding-inline: 10px; font-size: 12px; gap: 7px; } }
.account-page { width: min(720px, calc(100% - 40px)); padding: 44px 0 60px; }
.account-hero { padding-bottom: 30px; border-color: #333; }
.account-orders { padding: 30px 0; border-bottom: 1px solid #333; }
.account-orders-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.account-orders-heading h2 { margin: 0; font: 700 18px/1.4 Arial, sans-serif; }
.coin-balance { display: grid; justify-items: end; gap: 2px; }
.coin-balance strong { color: #ecf16c; font-size: 24px; font-variant-numeric: tabular-nums; }
.coin-balance span { color: #999; font-size: 11px; }
.account-orders-empty { margin: 0; padding: 18px 0; color: #999; font-size: 13px; }
.account-order { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #2c2c2c; }
.account-order > div { display: grid; gap: 5px; }
.account-order > div:last-child { justify-items: end; }
.account-order span, .account-order p { color: #999; font-size: 11px; }
.account-order p { margin: 0; line-height: 1.45; }
.account-order-status { padding: 3px 6px; border-radius: 4px; background: #ffffff0b; font-weight: 700; }
.account-order-status.notified { color: #ecf16c; background: #ecf16c12; }
.account-order-status.completed { color: #58d98b; background: #58d98b12; }
.account-order-status.expired, .account-order-status.cancelled { color: #aaa; background: #ffffff0a; }
.account-order-actions { grid-column: 1 / -1; display: flex !important; flex-direction: row; justify-content: flex-end; flex-wrap: wrap; gap: 8px !important; }
.account-order-resume, .account-order-reminder { padding: 8px 12px; border: 1px solid #ecf16c; border-radius: 5px; color: #ecf16c; font-size: 12px; font-weight: 700; text-decoration: none; }
.account-order-reminder { border-color: #4b6356; color: #d9eee0; }
.account-order-resume:hover, .account-order-resume:focus-visible { background: #ecf16c; color: #111; }
.account-order-reminder:hover, .account-order-reminder:focus-visible { background: #263d2f; }
.account-identity > img { width: 64px; height: 64px; border: 0; }
.account-hero h1 { font: 700 24px/1.25 Arial, sans-serif; }
.account-kicker { font: 700 11px/1.3 Arial, sans-serif; color: #cdd56b; }
.account-hero p:not(.account-kicker) { font-size: 12px; color: #999; }
.text-button { padding: 10px 12px; border: 1px solid #444; border-radius: 6px; color: #bbb; font-weight: 400; font-size: 12px; }
.account-hero-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.account-admin-link { display: inline-grid; gap: 2px; min-height: 42px; align-content: center; padding: 0 13px; border: 1px solid #ecf16c55; border-radius: 6px; background: #ecf16c0a; color: #ecf16c; font-size: 12px; font-weight: 700; text-decoration: none; }
.account-admin-link span { color: #aaa; font-size: 10px; font-weight: 500; }
.account-admin-link:hover { border-color: #ecf16c; background: #ecf16c14; }
.account-layout { display: block; padding-top: 30px; }
.section-heading { margin-bottom: 22px; }
.section-heading h2, .game-heading h2 { font: 700 18px/1.4 Arial, sans-serif; margin: 0; }
.account-field { font-weight: 600; gap: 9px; }
.account-field input { background: #1e1e1e; border-color: #454545; height: 48px; font-weight: 400; }
.account-field small { font-size: 12px; color: #a6a6a6; font-weight: 400; }
.account-avatar-carousel { max-width: 470px; gap: 14px; margin-top: 12px; }
.account-avatar-choice { background: transparent; }
.account-avatar-choice[aria-pressed="true"] { box-shadow: none; border-color: #ecf16c; }
.account-avatar-arrow { background: transparent; }
.account-avatar-choices.is-moving { animation-duration: 280ms; }
.game-fields { grid-template-columns: 1fr; gap: 22px; border-top: 1px solid #333; padding-top: 28px; margin-top: 4px; }
.game-heading p { color: #a6a6a6; font-size: 12px; margin: 6px 0 0; }
.platform-options { gap: 10px; margin-top: 12px; }
.platform-option { display: flex; justify-content: center; gap: 10px; min-height: 60px; background: #1b1b1b; border-color: #444; font-size: 12px; font-weight: 500; }
.platform-option img { width: 30px; height: 30px; }
.platform-option:has(input:checked) { border-color: #ecf16c; background: #282a20; box-shadow: none; }
.account-status:empty { display: none; }
.save-account { justify-self: end; font: 700 13px/1.4 Arial, sans-serif; text-transform: none; }
@media(max-width:460px) { .account-page { padding-top: 28px; } .account-hero { flex-wrap: wrap; align-items: center; } .account-hero h1 { font-size: 22px; } .account-hero-actions { width: 100%; justify-content: space-between; } .platform-option { flex-direction: column; gap: 6px; padding: 10px 4px; } .save-account { width: 100%; } .account-order { grid-template-columns: 1fr auto; } .account-order > p { grid-column: 1 / -1; grid-row: 2; } .account-orders-heading { align-items: center; } .coin-balance strong { font-size: 20px; } }
