@import "../components/select/select.css";

.account-page { min-height: 100vh; background: var(--color-bg); }
.account-header__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; width: min(100% - 24px, var(--max-width)); }
.account-brand { gap: 4px; }
.account-brand img { width: 24px; height: 24px; }
.account-brand span { font-size: 14px; letter-spacing: 0; }
.account-header__nav { display: none; gap: 0; }
.account-header__nav a { display: flex; min-height: 36px; align-items: center; padding: 8px; font-size: 12px; }
.account-header__nav a:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--color-neon); }
.account-header__nav a[aria-current="page"] { color: var(--color-gold); background: rgb(124 58 237 / 20%); }
.account-header__actions { gap: 8px; }
.account-header__auth-button, .account-header .signup-button { height: 36px; min-height: 36px; padding: 8px 16px; font-size: 14px; }
.account-header .button:hover { transform: none; }
.account-header .button:active { transform: scale(.96); }
.account-header__language { display: none; }
.account-header__menu-button { display: inline-flex; width: 40px; height: 40px; min-height: 40px; padding: 0; }
.account-header__menu-button .account-icon { width: 24px; height: 24px; }

.account-profile { position: relative; }
.account-profile__trigger { display: flex; align-items: center; justify-content: space-between; gap: 4px; width: 112px; height: 36px; padding: 4px 8px 4px 4px; overflow: hidden; border: 1px solid rgb(255 209 102 / 35%); border-radius: 999px; color: var(--color-text); background: rgb(8 7 17 / 40%); text-align: left; transition: background .2s ease, box-shadow .2s ease; }
.account-profile__trigger:hover { background: rgb(255 209 102 / 10%); }
.account-profile__trigger:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--color-neon); }
.account-profile__identity { display: flex; align-items: center; gap: 4px; min-width: 0; }
.account-level { display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgb(238 186 255 / 60%); border-radius: 50%; color: #fffaff; background: linear-gradient(150deg, #d58cff, #7e3bd2 55%, #382047); box-shadow: inset 0 1px 0 rgb(255 255 255 / 40%), 0 4px 14px rgb(124 58 237 / 45%); font-weight: 900; line-height: 1; }
.account-level--small { width: 24px; height: 24px; font-size: 12px; }
.account-level--large { width: 48px; height: 48px; font-size: 22px; }
.account-level > span { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.account-level small { display: block; margin-bottom: 1px; font-size: .55em; font-weight: 700; line-height: 1; letter-spacing: 0; opacity: .9; }
.account-profile__id { max-width: 68px; overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.account-profile__divider { display: none; width: 1px; height: 24px; flex: 0 0 auto; background: var(--color-border); }
.account-profile__balance { display: none; min-width: 0; align-items: center; gap: 6px; }
.account-profile__balance .account-icon { width: 22px; height: 22px; }
.account-profile__balance strong { overflow: hidden; color: var(--color-gold); font-size: 14px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.account-profile__balance > span { color: var(--color-muted); font-size: 12px; }
.account-profile__chevron { width: 12px; height: 12px; flex: 0 0 auto; color: var(--color-muted); }
.account-profile__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; width: 288px; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-card); box-shadow: var(--shadow-card); }
.account-profile__summary { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: var(--color-surface); }
.account-profile__summary p { color: var(--color-muted); font-size: 12px; }
.account-profile__summary strong { font-size: 14px; }
.account-profile__summary em { color: var(--color-gold); font-style: normal; }
.account-profile__balances { display: grid; gap: 10px; margin-top: 16px; font-size: 14px; }
.account-profile__balances > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-profile__balances dt { display: flex; align-items: center; gap: 8px; color: var(--color-muted); }
.account-profile__balances dd { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.account-profile__balances .account-icon { width: 22px; height: 22px; }
.account-profile__hint { margin-top: 8px; color: var(--color-muted); font-size: 11px; text-align: right; }
.account-profile__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.account-profile__wide { grid-column: 1 / -1; }
.account-profile__signout { color: var(--color-muted); }
.account-profile__language { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-border); }
.account-profile__language > p { margin-bottom: 8px; color: var(--color-muted); font-size: 12px; }

.account-sheet { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; color: var(--color-text); background: transparent; }
.account-sheet::backdrop { background: rgb(0 0 0 / 80%); opacity: 0; transition: opacity .2s ease; }
.account-sheet.is-open::backdrop { opacity: 1; }
.account-sheet__panel { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(75vw, 384px); height: 100%; padding: 24px; border-left: 1px solid var(--color-border); background: rgb(16 11 34 / 65%); backdrop-filter: blur(16px) saturate(140%); transform: translateX(100%); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.account-sheet.is-open .account-sheet__panel { transform: translateX(0); }
.account-sheet.is-closing .account-sheet__panel { transform: translateX(100%); transition-duration: .3s; }
.account-sheet__header { display: flex; align-items: center; justify-content: space-between; }
.account-sheet__header h2 { color: transparent; font-family: var(--font-display); font-size: 20px; font-weight: 900; background: var(--gradient-gold); background-clip: text; filter: drop-shadow(0 2px 10px rgb(255 209 102 / 35%)); }
.account-sheet__close { position: absolute; top: 16px; right: 16px; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 4px; color: var(--color-text); background: transparent; opacity: .7; transition: opacity .2s ease; }
.account-sheet__close:hover { opacity: 1; }
.account-sheet__close svg { width: 18px; height: 18px; }
.account-sheet__nav { display: flex; flex-direction: column; gap: 8px; margin: 24px 0; }
.account-sheet__nav a { display: flex; min-height: 40px; align-items: center; padding: 8px 16px; border-radius: 6px; color: var(--color-text); font-size: 14px; transition: background .2s ease, color .2s ease; }
.account-sheet__nav a:hover { background: var(--color-hover-surface); }
.account-sheet__nav a[aria-current="page"] { color: var(--color-gold); background: rgb(124 58 237 / 25%); }
.account-sheet__nav a:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--color-neon); }
.account-sheet__sign-in, .account-sheet__signout { width: 100%; border-radius: var(--radius-full); }
.account-sheet__language { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.account-sheet__language > p { margin-bottom: 12px; color: var(--color-muted); font-size: 14px; }

.account-language { position: relative; width: 100%; }
.account-language__trigger { display: flex; width: 100%; height: 40px; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid rgb(255 209 102 / 50%); border-radius: 8px; color: var(--color-gold); background: var(--color-surface); font-size: 14px; text-align: left; transition: background .2s ease, box-shadow .2s ease; }
.account-language__trigger:hover { color: var(--color-text); background: var(--color-hover-surface); }
.account-language__trigger:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--color-neon); }
.account-language__flag, .account-language__option img { width: 24px; height: 24px; flex: 0 0 auto; border: 1px solid rgb(255 209 102 / 25%); border-radius: 50%; object-fit: cover; }
.account-language__label { flex: 1; color: var(--color-text); font-weight: 600; }
.account-language__chevron { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .2s ease; }
.account-language.is-open .account-language__chevron { transform: rotate(180deg); }
.account-language__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 90; width: 192px; padding: 6px; border: 1px solid rgb(255 209 102 / 35%); border-radius: 8px; background: var(--color-card); box-shadow: var(--shadow-card); }
.account-profile__menu:not([hidden]), .account-language__menu:not([hidden]) { transform-origin: top right; animation: account-popover-in .2s ease both; }
.account-language__option { display: flex; width: 100%; height: 44px; align-items: center; gap: 12px; padding: 0 10px; border-radius: 6px; color: var(--color-text); background: transparent; font-size: 14px; font-weight: 600; text-align: left; transition: background .2s ease, color .2s ease; }
.account-language__option:hover:not([aria-checked="true"]), .account-language__option:focus-visible:not([aria-checked="true"]) { background: var(--color-hover-surface); }
.account-language__option[aria-checked="true"] { color: var(--color-gold); background: rgb(255 209 102 / 15%); }
.account-language__check { margin-left: auto; visibility: hidden; color: var(--color-gold); }
.account-language__option[aria-checked="true"] .account-language__check { visibility: visible; }
.account-language--compact { width: 68px; }
.account-language--compact .account-language__trigger { justify-content: center; height: 40px; gap: 4px; padding: 0 8px; }
.account-language--compact .account-language__label { display: none; }
.account-language--compact .account-language__chevron { width: 14px; height: 14px; }

.account-main { width: 100%; max-width: 1280px; min-height: 75vh; margin: 0 auto; padding: 112px 16px 0; }
.account-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--color-muted); font-size: 12px; }
.account-breadcrumb a { display: inline-flex; align-items: center; gap: 4px; transition: color .2s ease; }
.account-breadcrumb a:hover { color: var(--color-gold); }
.account-breadcrumb a .account-icon { width: 20px; height: 20px; }
.account-breadcrumb__arrow { width: 16px; height: 16px; }
.account-breadcrumb > span:last-child { color: var(--color-text); }
.account-banner { position: relative; margin: 0 -16px 40px; overflow: hidden; border-block: 1px solid rgb(255 209 102 / 20%); }
.account-banner__image, .account-banner__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.account-banner__image { object-fit: cover; object-position: 70% 60%; }
.account-banner__shade { background: rgb(8 7 17 / 25%); }
.account-banner__content { position: relative; display: grid; min-height: 160px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 32px 16px; }
.account-banner__eyebrow { margin-bottom: 12px; color: var(--color-cyan); font-size: 12px; font-weight: 700; }
.account-banner h1 { color: var(--color-text); font-size: 30px; font-weight: 900; line-height: 36px; }
.account-banner__crown { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 8px 12px rgb(8 7 17 / 55%)); }
.account-grid { display: grid; gap: 32px; }
.account-sidebar { min-width: 0; }
.account-sidebar__eyebrow { display: none; margin-bottom: 16px; color: var(--color-muted); font-size: 12px; font-weight: 700; }
.account-nav { display: flex; gap: 8px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.account-nav::-webkit-scrollbar { display: none; }
.account-nav__link { position: relative; display: flex; min-height: 48px; flex: 0 0 auto; align-items: center; gap: 8px; padding: 0 16px; overflow: hidden; border-radius: 6px; color: var(--color-text); font-size: 14px; font-weight: 500; transition: color .2s ease, background .2s ease; }
.account-nav__link:hover { background: var(--color-hover-surface); }
.account-nav__link:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--color-neon); }
.account-nav__link[aria-current="page"] { border: 1px solid rgb(255 209 102 / 30%); color: var(--color-gold); background: rgb(124 58 237 / 20%); }
.account-nav__link .account-icon { width: 30px; height: 30px; object-fit: contain; }
.account-sidebar__note { display: none; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--color-border); color: var(--color-muted); font-size: 12px; line-height: 24px; }
.account-sidebar__note .account-icon { display: inline-block; margin-right: 8px; vertical-align: middle; }
.account-content { min-width: 0; }

.account-stack { display: grid; gap: 24px; }
.account-stack--medium { gap: 28px; }
.account-stack--large { gap: 32px; }
.account-notice-section { padding-bottom: 28px; border-bottom: 1px solid var(--color-border); }
.account-notice-section h2 { display: flex; align-items: center; gap: 8px; font-family: var(--font-base); font-size: 16px; font-weight: 700; }
.account-notice-section h2 .account-icon { width: 28px; height: 28px; }
.account-notice-section h2 small { color: var(--color-muted); font-size: 12px; font-weight: 400; }
.account-notice-list { display: grid; gap: 12px; margin-top: 16px; color: var(--color-muted); font-size: 14px; line-height: 24px; }
.account-notice-list--grid { grid-template-columns: 1fr; }
.account-notice-list li { display: flex; align-items: flex-start; gap: 12px; }
.account-notice-list li > span { flex: 0 0 auto; color: var(--color-gold); font-family: var(--font-display); font-weight: 700; }
.account-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-left: 2px solid var(--color-gold); background: rgb(255 209 102 / 5%); }
.account-callout > div > p { font-size: 14px; font-weight: 700; }
.account-callout > div > small { display: block; margin-top: 4px; color: var(--color-muted); font-size: 12px; }
.account-callout > p { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.account-callout > p .account-icon { width: 28px; height: 28px; }
.account-callout--balance > div > small { margin: 0; }
.account-callout--balance > div > p { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.account-callout--balance > div > p .account-icon { width: 34px; height: 34px; }
.account-callout--balance > div > p > span { color: var(--color-muted); font-size: 14px; font-weight: 400; }
.account-callout--balance > small { color: var(--color-muted); font-size: 12px; }
.account-button__arrow { width: 22px; height: 22px; }
.account-button { position: relative; display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; border: 1px solid transparent; border-radius: 6px; color: var(--color-text); font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, filter .2s ease; }
.account-button:hover { background-color: var(--color-hover-surface); }
.account-button:active { transform: scale(.96); }
.account-button:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--color-neon); }
.account-button:disabled { pointer-events: none; cursor: not-allowed; opacity: .5; }
.account-button .account-icon { width: 28px; height: 28px; object-fit: contain; }
.account-button--sm { min-height: 32px; padding: 4px 12px; border-radius: 6px; font-size: 12px; }
.account-button--sm .account-icon { width: 22px; height: 22px; }
.account-button--lg { min-height: 40px; padding: 8px 32px; }
.account-button--gold { border-color: transparent; color: var(--color-gold-dark); background: var(--gradient-gold); box-shadow: var(--shadow-gold); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.account-button--gold:hover { filter: brightness(1.08); background: var(--gradient-gold); box-shadow: 0 0 34px rgb(255 209 102 / 70%), inset 0 1px 0 rgb(255 255 255 / 60%); }
.account-button--gold:active { transform: scale(.96); }
.account-button--outline { border-color: var(--color-input); color: var(--color-text); background: var(--color-bg); box-shadow: 0 1px 2px rgb(0 0 0 / 5%); }
.account-button.is-copied, .account-button.is-copied:hover { border-color: var(--color-success); color: var(--color-white); background: var(--color-success); }
.account-button--outline:hover { color: var(--color-text); background: var(--color-hover-surface); }
.account-button--gold-text { border-color: rgb(255 209 102 / 40%); color: var(--color-gold); background: var(--color-bg); }
.account-button--gold-text:hover { color: var(--color-text); background: var(--color-hover-surface); }
.account-button--secondary { color: var(--color-text); background: rgb(34 26 57 / 90%); box-shadow: 0 1px 2px rgb(0 0 0 / 5%); }
.account-button--secondary:hover { background: rgb(34 26 57 / 80%); }
.account-button--ghost { color: var(--color-text); background: transparent; }
.account-button--ghost:hover { background: var(--color-hover-surface); }
.account-button--wide { min-width: 192px; }
.account-button--block { width: 100%; }
.account-hint { color: var(--color-muted); font-size: 12px; }
.account-field { display: grid; min-width: 0; gap: 12px; }
.account-field > label { font-size: 14px; font-weight: 500; line-height: 1.2; }
.account-input-wrap { position: relative; min-width: 0; }
.account-input { width: 100%; height: 56px; min-width: 0; padding: 12px; border: 1px solid var(--color-input); border-radius: 6px; color: var(--color-text); background: var(--color-surface); font-size: 16px; box-shadow: 0 1px 2px rgb(0 0 0 / 5%); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.account-input::placeholder, .account-textarea::placeholder { color: var(--color-muted); opacity: 1; }
.account-input:focus-visible { border-color: var(--color-neon); outline: 0; box-shadow: 0 0 0 1px var(--color-neon); }
.account-input:read-only { font-weight: 500; }
.account-input-wrap > span { position: absolute; top: 50%; right: 16px; color: var(--color-muted); pointer-events: none; transform: translateY(-50%); }
.account-input--amount { padding-right: 48px; font-size: 18px; }
.account-input-wrap--icon > .account-icon { position: absolute; top: 50%; left: 16px; z-index: 1; width: 28px; height: 28px; pointer-events: none; transform: translateY(-50%); }
.account-input-wrap--icon > .account-input { padding-left: 56px; }
.account-form-row { display: grid; gap: 24px; }
.account-form-row--deposit .account-input-wrap > .account-input { padding-right: 48px; }
.account-amount-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account-amount-actions .account-button:not(:last-child) { flex: 1 1 auto; }
.account-amount-actions .account-button { min-height: 44px; }
.account-form-error { color: var(--color-destructive, #ef4444); font-size: 14px; }
.account-form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.account-form-footer > p { display: flex; align-items: center; gap: 8px; color: var(--color-muted); font-size: 12px; }
.account-form-footer > div { display: flex; flex-wrap: wrap; gap: 12px; }
.account-form-submit { padding-top: 24px; border-top: 1px solid var(--color-border); }
.account-withdraw-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.account-withdraw-actions .account-button { min-height: 44px; padding-inline: 8px; }
.account-readonly { padding-top: 24px; border-top: 1px solid var(--color-border); }
.account-readonly__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.account-readonly__heading h2 { font-size: 14px; font-weight: 700; }
.account-readonly__heading span { color: var(--color-muted); font-size: 12px; }
.account-readonly__grid { display: grid; gap: 20px; }
.account-transfer { display: grid; gap: 16px; }
.account-transfer__heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.account-transfer__heading h2 { color: var(--color-muted); font-size: 14px; font-weight: 700; }
.account-transfer__heading p { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.account-transfer__heading p span { color: var(--color-muted); font-size: 14px; font-weight: 400; }
.account-transfer__row { display: grid; gap: 12px; }
.account-transfer__action { min-height: 56px; }
.account-card-grid { display: grid; gap: 20px; }
.account-event-card, .account-notice-card { position: relative; display: flex; width: 100%; min-height: 100%; flex-direction: column; align-items: stretch; padding: 24px; overflow: hidden; border-radius: 16px; color: var(--color-text); text-align: left; cursor: pointer; transition: background .2s ease, box-shadow .2s ease; }
.account-event-card:focus-visible, .account-notice-card:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--color-neon); }
.active-border { position: relative; isolation: isolate; }
.active-border::before { content: ""; position: absolute; inset: 0; z-index: 2; padding: 2px; border-radius: inherit; pointer-events: none; background: conic-gradient(from var(--angle), transparent 15%, var(--color-gold), var(--color-pink), var(--color-cyan), transparent 85%); -webkit-mask: linear-gradient(var(--color-black) 0 0) content-box, linear-gradient(var(--color-black) 0 0); -webkit-mask-composite: xor; mask: linear-gradient(var(--color-text) 0 0) content-box, linear-gradient(var(--color-text) 0 0); mask-composite: exclude; animation: border-spin 5s linear infinite; opacity: 0; transition: opacity .3s ease; }
.active-border:hover::before, .active-border:focus-within::before, .active-border[data-active="true"]::before { opacity: 1; }
.account-event-card__top, .account-notice-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.account-event-card__top strong { color: transparent; font-family: var(--font-display); font-size: 30px; font-weight: 900; background: var(--gradient-gold); background-clip: text; filter: drop-shadow(0 2px 10px rgb(255 209 102 / 35%)); }
.account-event-card__top > span, .account-notice-card__top > span { flex: 0 0 auto; color: var(--color-muted); font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.account-badge { display: inline-flex; width: fit-content; align-items: center; gap: 4px; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.account-badge .account-icon { width: 20px; height: 20px; }
.account-badge--gold { color: var(--color-gold); background: rgb(255 209 102 / 15%); }
.account-badge--cyan { color: var(--color-cyan); background: rgb(34 211 238 / 10%); }
.account-event-card__heading { font-size: 14px; font-weight: 700; }
.account-event-card__date { margin-top: 8px; color: var(--color-muted); font-size: 12px; line-height: 20px; }
.account-notice-card { min-height: 100%; }
.account-notice-card--pinned { border: 1px solid rgb(255 209 102 / 40%); background: rgb(255 209 102 / 10%); }
.account-notice-card__top strong { color: var(--color-text); font-size: 20px; font-weight: 900; }
.account-notice-card--pinned .account-notice-card__top strong { color: transparent; background: var(--gradient-gold); background-clip: text; }
.account-notice-card time { margin-top: auto; color: var(--color-muted); font-size: 12px; }
.account-card-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 20px; opacity: 0; color: var(--color-cyan); font-size: 12px; font-weight: 700; transition: opacity .2s ease; }
.account-notice-card--pinned .account-card-more { color: var(--color-gold); }
.account-card-more .account-icon { width: 18px; height: 18px; }
.account-event-card:hover .account-card-more, .account-event-card:focus-visible .account-card-more, .account-notice-card:hover .account-card-more, .account-notice-card:focus-visible .account-card-more { opacity: 1; }
.account-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; }
.account-pagination__arrow, .account-pagination__number { width: 40px; min-height: 40px; flex: 0 0 auto; padding: 0; border-radius: 8px; }
.account-pagination__arrow .account-icon { width: 18px; height: 18px; }
.account-pagination__previous { display: inline-flex; transform: rotate(180deg); }
.account-pagination__number[data-active="true"]::before { border-radius: inherit; }

.account-list-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.account-list-toolbar > p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--color-muted); font-size: 14px; }
.account-list-toolbar > p strong:first-of-type { color: var(--color-text); }
.account-list-toolbar > p strong:last-of-type { color: var(--color-gold); }
.account-list-toolbar > div { display: flex; gap: 8px; }
.account-support-list { min-width: 0; }
.account-table-wrap { width: 100%; overflow-x: auto; }
.account-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.account-table thead { border-bottom: 1px solid var(--color-border); color: var(--color-muted); font-size: 12px; text-align: left; }
.account-table th, .account-table td { padding: 12px; }
.account-table th { font-weight: 700; }
.account-table tbody tr { border-bottom: 1px solid rgb(168 85 247 / 14%); transition: background .2s ease; }
.account-table tbody tr:hover { background: rgb(16 11 34 / 60%); }
.account-table__check { width: 48px; }
.account-table__number { width: 64px; }
.account-table__status { width: 96px; }
.account-table__date { width: 128px; color: var(--color-muted); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.account-table__index { color: var(--color-muted); }
.account-table input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--color-gold); cursor: pointer; }
.account-table__title { display: flex; max-width: 100%; align-items: center; gap: 8px; overflow: hidden; color: var(--color-text); background: transparent; font-weight: 700; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; transition: color .2s ease; }
.account-table__title:hover { color: var(--color-gold); }
.account-table__title.is-read { color: var(--color-muted); font-weight: 400; }
.account-unread { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--color-gold); }
.account-table__empty { padding: 64px 12px !important; color: var(--color-muted); text-align: center; }
.account-status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.account-status--done { color: var(--color-cyan); background: rgb(34 211 238 / 15%); }
.account-status--waiting { color: var(--color-gold); background: rgb(255 209 102 / 15%); }

.account-password-wrap { position: relative; }
.account-password-wrap .account-input { padding-right: 48px; }
.account-password-toggle { position: absolute; top: 50%; right: 16px; display: grid; width: 24px; height: 24px; place-items: center; padding: 0; color: var(--color-muted); background: transparent; cursor: pointer; transform: translateY(-50%); transition: color .2s ease; }
.account-password-toggle:hover { color: var(--color-gold); }
.account-password-toggle:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--color-neon); }
.account-password-toggle svg { width: 20px; height: 20px; }
.account-textarea { min-height: 224px; resize: vertical; line-height: 24px; }

.account-footer { margin-top: 96px; background: rgb(16 11 34 / 70%); }
.account-footer__inner { display: grid; max-width: 1280px; gap: 32px; margin: 0 auto; padding: 48px 16px; }
.account-footer__logo { display: inline-flex; align-items: center; gap: 8px; }
.account-footer__logo img { width: 32px; height: 32px; object-fit: contain; }
.account-footer__logo span { color: transparent; font-family: var(--font-display); font-size: 20px; font-weight: 900; background: var(--gradient-gold); background-clip: text; filter: drop-shadow(0 2px 10px rgb(255 209 102 / 35%)); }
.account-footer__brand > p { max-width: 384px; margin-top: 12px; color: var(--color-muted); font-size: 14px; }
.account-footer__language { width: 192px; max-width: 100%; margin-top: 20px; }
.account-footer__links, .account-footer__responsible { display: grid; align-content: start; gap: 8px; color: var(--color-muted); font-size: 14px; }
.account-footer__links a { transition: color .2s ease; }
.account-footer__links a:hover { color: var(--color-text); }
.account-footer__responsible > p:first-child { color: var(--color-text); font-weight: 700; }
.account-footer__copyright { padding: 20px; color: var(--color-muted); font-size: 12px; text-align: center; }

.account-dialog { width: min(calc(100vw - 32px), 512px); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; overflow-y: auto; border: 1px solid var(--color-border); border-radius: 8px; color: var(--color-text); background: var(--color-bg); box-shadow: 0 16px 40px rgb(0 0 0 / 55%); animation: account-dialog-in .2s ease both; }
.account-dialog::backdrop { background: rgb(0 0 0 / 80%); animation: account-fade-in .2s ease both; }
.account-dialog.is-closing { animation: account-dialog-out .2s ease both; }
.account-dialog.is-closing::backdrop { animation: account-fade-out .2s ease both; }
.account-dialog__close { position: absolute; top: 16px; right: 16px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 4px; color: var(--color-text); background: transparent; cursor: pointer; opacity: .7; transition: opacity .2s ease; }
.account-dialog__close:hover { background: transparent; opacity: 1; }
.account-dialog__close:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--color-neon); }
.account-dialog__close svg { width: 16px; height: 16px; }
.account-dialog__title-row { display: flex; align-items: center; gap: 8px; padding-right: 36px; }
.account-dialog__title-row img { width: 28px; height: 28px; object-fit: contain; }
.account-dialog__title-row h2 { font-size: 18px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.account-dialog__kicker { margin-top: 12px; color: var(--color-gold); font-size: 12px; font-weight: 700; }
.account-dialog__heading { margin-top: 12px; color: var(--color-gold); font-size: 14px; font-weight: 700; }
.account-dialog__description { margin-top: 16px; color: var(--color-muted); font-size: 14px; line-height: 24px; white-space: pre-wrap; }
.account-dialog__answer { margin-top: 16px; padding: 16px; border: 1px solid rgb(34 211 238 / 30%); border-radius: 6px; color: var(--color-text); background: rgb(34 211 238 / 5%); font-size: 14px; }
.account-dialog__answer > p { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; color: var(--color-cyan); font-size: 12px; font-weight: 700; }
.account-dialog__answer .account-icon { width: 20px; height: 20px; }
.account-dialog__pending { margin-top: 16px; color: var(--color-gold); font-size: 12px; }
.account-dialog__meta { margin-top: 16px; color: var(--color-muted); font-size: 12px; }
.account-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.account-dialog__actions .account-button { min-width: 80px; }
@keyframes account-popover-in { from { opacity: 0; transform: translateY(-8px) scale(.95); } }
@keyframes account-fade-in { from { opacity: 0; } }
@keyframes account-fade-out { to { opacity: 0; } }
@keyframes account-dialog-in { from { opacity: 0; transform: scale(.95); } }
@keyframes account-dialog-out { to { opacity: 0; transform: scale(.95); } }

@media (min-width: 640px) {
  .account-main { padding-inline: 24px; }
  .account-header__inner { width: min(100% - 32px, var(--max-width)); gap: 16px; }
  .account-brand { gap: 8px; }
  .account-brand img { width: 34px; height: 34px; }
  .account-brand span { font-size: 20px; }
  .account-header .signup-button { display: inline-flex; }
  .account-profile__trigger { width: auto; height: 44px; justify-content: center; gap: 8px; padding-right: 12px; font-size: 14px; }
  .account-profile__identity { gap: 8px; }
  .account-level--small { width: 32px; height: 32px; font-size: 12px; }
  .account-profile__id { max-width: 96px; font-size: 14px; }
  .account-profile__divider { display: block; }
  .account-profile__balance { display: flex; }
  .account-profile__chevron { width: 16px; height: 16px; }
  .account-banner { margin-inline: -24px; }
  .account-banner__image { object-position: center 65%; }
  .account-banner__content { min-height: 192px; padding-inline: 24px; }
  .account-banner h1 { font-size: 36px; line-height: 40px; }
  .account-nav__link { gap: 8px; }
  .account-notice-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-form-row--deposit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .account-readonly__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-transfer__row { grid-template-columns: minmax(0, 1fr) auto; }
  .account-withdraw-actions { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .account-card-grid--events, .account-card-grid--notices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-footer__inner { padding-inline: 24px; }
}

@media (min-width: 768px) {
  .account-input:not(.account-input--amount) { font-size: 14px; }
  .account-footer__inner { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .account-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .account-sidebar__eyebrow, .account-sidebar__note { display: block; }
  .account-nav { flex-direction: column; overflow: visible; padding-bottom: 0; }
  .account-nav__link { width: 100%; }
}

@media (min-width: 1280px) {
  .account-header__inner { grid-template-columns: auto 1fr auto; }
  .account-header__nav { display: flex; justify-content: center; gap: 4px; }
  .account-header__nav a { padding-inline: 12px; font-size: 14px; }
  .account-header__language { display: block; }
  .account-header__menu-button { display: none; }
  .account-card-grid--events, .account-card-grid--notices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1536px) {
  .account-header__nav a { padding-inline: 16px; font-size: 15px; }
}

@media (max-width: 1279px) {
  .account-header__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .account-header__nav { display: none; }
  .account-header__menu-button { display: inline-flex; }
}

@media (max-width: 767px) {
  .account-main { padding-top: 88px; }
  .account-breadcrumb { margin-bottom: 24px; }
}

@media (max-width: 639px) {
  .account-amount-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-header .signup-button { display: none; }
  .account-sidebar { width: calc(100vw - 32px); }
  .account-sidebar__note { display: none; }
  .account-form-footer { align-items: stretch; }
  .account-form-footer > p { flex: 1 1 100%; }
  .account-form-footer > .account-button--wide { width: 100%; }
  .account-form-footer > div { width: 100%; justify-content: flex-end; }
  .account-callout { padding-inline: 16px; }
  .account-callout > .account-button { max-width: 100%; padding-inline: 12px; font-size: 12px; }
  .account-list-toolbar > p { flex: 1 1 100%; }
  .account-footer__inner { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* Mobile bottom navigation */
.bottom-nav { display: none; }
@media (max-width: 1279px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .account-header__language { display: block; }
  .account-header__language .account-language--compact { width: 40px; }
  .account-header__language .account-language__trigger { width: 40px; height: 40px; padding: 0; border: 0; background: transparent; }
  .account-header__language .account-language__chevron { display: none; }
  .bottom-nav { position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); min-height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgb(255 209 102 / 35%); background: var(--color-bg); }
  .bottom-nav__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 2px; color: var(--color-muted); background: transparent; font-size: 11px; font-weight: 700; }
  .bottom-nav__item img { width: 24px; height: 24px; object-fit: contain; }
  .bottom-nav__item img[src$=".svg"] { filter: invert(1); opacity: .7; }
  .bottom-nav__item.is-active { color: var(--color-gold); }
  .bottom-nav__item.is-active::before { content: ""; position: absolute; top: 0; width: 28px; height: 2px; background: var(--color-gold); }
  .bottom-nav__item:focus-visible { outline: 2px solid var(--color-neon); outline-offset: -2px; }
  .account-sheet::backdrop { background: rgb(0 0 0 / 15%); }
  .account-sheet__panel { inset: 0 0 calc(64px + env(safe-area-inset-bottom)); width: 100%; height: auto; padding: 28px 16px; overflow-y: auto; border: 0; background: rgb(8 7 17 / 55%); backdrop-filter: blur(14px) saturate(140%); transform: none; opacity: 0; transition: opacity .25s ease; }
  .account-sheet.is-open .account-sheet__panel { transform: none; opacity: 1; }
  .account-sheet.is-closing .account-sheet__panel { transform: none; opacity: 0; }
  .account-sheet__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 8px; margin: auto 0; }
  .account-sheet__nav a { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 8px 2px; text-align: center; font-weight: 700; opacity: 0; transform: translateY(20px) scale(.7); }
  .account-sheet__nav a .account-icon { width: 64px; height: 64px; object-fit: contain; }
  .account-sheet.is-open .account-sheet__nav a { animation: mobile-menu-pop .45s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: calc(var(--item-index) * 45ms); }
  .account-sheet .bottom-nav { position: absolute; }
}
@keyframes mobile-menu-pop { to { opacity: 1; transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .account-sheet.is-open .account-sheet__nav a { animation: none; opacity: 1; transform: none; }
}

.wallet-panel { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.wallet-panel > .account-button { justify-self: start; }
.wallet-panel__heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.wallet-panel__heading h2 { font-family: var(--font-base); font-size: 16px; }
.wallet-rate { color: var(--color-muted); font-size: 14px; }
.wallet-rate strong { margin-left: 8px; color: var(--color-gold); }
.wallet-address-form { display: grid; gap: 14px; margin-top: 20px; }
.wallet-address-row { display: flex; gap: 8px; min-width: 0; }
.wallet-address-row .account-input { flex: 1; }
.wallet-method { min-width: 0; margin: 0; padding: 0; border: 0; }
.wallet-method legend { margin-bottom: 12px; font-size: 14px; font-weight: 700; }
.wallet-method__options { display: flex; flex-wrap: wrap; gap: 8px; }
.wallet-method__options label { position: relative; cursor: pointer; }
.wallet-method__options input { position: absolute; opacity: 0; }
.wallet-method__options span { display: block; padding: 10px 18px; border: 1px solid var(--color-border); border-radius: var(--radius-full); color: var(--color-muted); background: var(--color-surface); font-size: 14px; font-weight: 700; }
.wallet-method__options input:checked + span { color: var(--color-gold-dark); border-color: var(--color-gold); background: var(--gradient-gold); }
.wallet-method__options input:focus-visible + span { outline: 2px solid var(--color-cyan); outline-offset: 3px; }
@media (max-width: 639px) {
  .wallet-panel { padding: 16px; }
  .wallet-panel__heading > .account-button { width: 100%; }
}
