/* Account overview shares the typography and colours of Discover. */
.account-page {
    max-width: 1600px;
    margin: auto;
    padding: 126px var(--pad) 72px;
}
.account-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 11px; color: #a4a9af; }
.account-breadcrumb a { color: #7e858e; }
.account-breadcrumb a:hover { color: var(--primary); }
.account-breadcrumb svg { width: 12px; height: 12px; color: #555d67; }
.account-intro { position: relative; isolation: isolate; overflow: hidden; min-height: 340px; border: 1px solid #ffffff12; border-radius: 16px; background: #141c19; padding: 38px 44px; margin-bottom: 32px; }
.account-intro-copy { position: relative; z-index: 2; max-width: 58%; }
.account-intro .eyebrow { color: #b9c7bc; font-size: 9px; letter-spacing: 2px; }
.account-intro h1 { font-family: var(--heading); font-size: clamp(34px, 3.7vw, 54px); line-height: 1.12; letter-spacing: -2px; font-weight: 650; margin: 17px 0 14px; }
.account-intro h1>span, .account-content h2>span { color: var(--primary); }
.account-intro p { color: #abb8b0; font-size: 13px; line-height: 1.8; margin: 0 0 22px; overflow-wrap: anywhere; }
.account-intro .button { min-height: 42px; font-size: 11px; padding: 0 20px; }
.account-intro .button svg { width: 17px; height: 17px; }
.account-cover { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(ellipse at 20% 80%, #244d3433, transparent 65%); }
.account-cover:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #121a17 22%, #121a17ef 39%, #121a1750 65%, #121a1740), linear-gradient(0deg, #0c1512d9, transparent 50%); }
.account-cover-posters { position: absolute; right: -28px; top: -60px; bottom: -80px; width: 60%; display: flex; gap: 16px; transform: rotate(12deg); }
.account-cover-posters img { width: calc((100% - 32px)/3); height: 100%; border-radius: 10px; object-fit: cover; box-shadow: 0 16px 40px #0008; }
.account-cover-posters img:nth-child(2) { transform: translateY(38px); }
.account-cover-caption { position: absolute; bottom: 28px; right: 32px; color: #c9d7ce; display: flex; align-items: center; gap: 9px; font-size: 7px; letter-spacing: 1.7px; }
.account-cover-caption i { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 12px #4ade8070; }
.account-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 28px; align-items: start; }
.account-sidebar { background: #111419; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.account-sidebar-kicker { font-size: 8px; letter-spacing: 2px; color: #858e87; padding: 22px 24px 0; }
.account-identity { display: flex; align-items: center; flex-direction: column; padding: 25px 18px 28px; text-align: center; gap: 5px; }
.account-avatar { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: radial-gradient(circle at 25% 20%, #426b4c, #1b3025); border: 4px solid #111419; outline: 1px solid #4ade8040; color: #caf2d4; font-family: var(--heading); font-size: 27px; margin: 3px 0 12px; box-shadow: 0 6px 24px #0004; }
.account-identity strong { font-family: var(--heading); font-size: 15px; overflow-wrap: anywhere; }
.account-identity>span:last-child { color: #8f98a0; font-size: 11px; overflow-wrap: anywhere; max-width: 100%; }
.account-nav-label { display: block; border-top: 1px solid var(--line); padding: 22px 24px 8px; font-size: 8px; letter-spacing: 1.5px; color: #777f89; }
.account-nav { padding: 4px 12px 18px; }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; margin: 3px 0; color: #a5adb7; border: 1px solid transparent; border-radius: 6px; font-size: 12px; transition: background .2s, color .2s; }
.account-nav a svg { width: 17px; height: 17px; }
.account-nav a:hover { background: #ffffff07; color: white; }
.account-nav a[aria-current] { color: var(--primary); background: linear-gradient(90deg, #4ade801b, #4ade8008); border-color: #4ade8012; }
.account-nav-arrow { margin-left: auto; width: 13px !important; }
.account-signout { display: flex; align-items: center; gap: 12px; margin: 0 24px; padding: 21px 0; border-top: 1px solid var(--line); font-size: 12px; color: #929ba5; }
.account-signout svg { width: 17px; height: 17px; }
.account-signout:hover { color: #f5f3ee; }
.account-content { min-width: 0; }
.account-membership { position: relative; isolation: isolate; overflow: hidden; padding: 28px 30px; background: radial-gradient(ellipse at 100% 0, #294e3c5c, transparent 60%), #141b17; border: 1px solid #6f9a7b30; border-radius: 12px; }
.account-membership:before { content: ''; position: absolute; z-index: -1; width: 320px; height: 320px; right: -150px; top: -110px; border: 1px solid #89c69d0d; border-radius: 50%; box-shadow: 0 0 0 35px #89c69d05, 0 0 0 70px #89c69d04; pointer-events: none; }
.account-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.account-plan-top .section-kicker { color: #a5b5a9; font-size: 8px; letter-spacing: 2px; }
.account-status { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ffffff1c; padding: 4px 9px; border-radius: 20px; color: #b0b9b2; font-size: 10px; background: #ffffff04; }
.account-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.account-status.is-active { color: var(--primary); border-color: #4ade8030; background: #4ade8008; }
.account-plan-body { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 20px; }
.account-plan-body h2 { font-family: var(--heading); font-size: 29px; letter-spacing: -1px; line-height: 1.25; font-weight: 600; margin: 0 0 10px; }
.account-plan-body p, .account-plan-note { color: #a0aea4; font-size: 12px; line-height: 1.8; margin: 0; }
.account-plan-symbol { display: block; position: relative; flex-shrink: 0; padding: 5px 10px 20px; font-family: var(--heading); font-size: 57px; font-weight: 800; letter-spacing: -8px; line-height: 1; color: #85bd951f; }
.account-plan-symbol>span { color: #8bd7a040; }
.account-plan-symbol i { position: absolute; bottom: 0; left: 6px; right: 0; font: normal 6px var(--font); letter-spacing: 1.8px; color: #91b19b; white-space: nowrap; }
.account-plan-details { display: flex; flex-wrap: wrap; gap: 16px 42px; margin-top: 25px; }
.account-plan-details>div { display: flex; flex-direction: column; gap: 6px; }
.account-plan-details span { color: #8f9f95; font-size: 10px; }
.account-plan-details strong { font-size: 12px; font-weight: 500; }
.account-usage { height: 4px; background: #ffffff10; border-radius: 5px; overflow: hidden; margin-top: 20px; }
.account-usage>span { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.account-plan-note { margin-top: 20px; }
.account-plan-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #ffffff0c; margin-top: 25px; padding-top: 22px; }
.account-plan-bottom .button { font-size: 11px; min-height: 40px; padding: 0 18px; }
.account-plan-bottom .button svg { width: 16px; height: 16px; }
.account-plan-bottom>span { color: #8da192; font-size: 10px; }
.account-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.account-shortcut { background: linear-gradient(145deg, #171b20, #12151a); border: 1px solid var(--line); border-radius: 10px; padding: 24px; transition: border-color .2s, transform .2s; }
.account-shortcut:hover { border-color: #4ade8040; transform: translateY(-3px); }
.account-shortcut-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.account-shortcut-icon { display: grid; place-items: center; width: 37px; height: 37px; background: #ffffff05; border: 1px solid #ffffff09; border-radius: 10px; color: #c2c9c4; }
.account-shortcut-icon svg { width: 18px; height: 18px; }
.account-shortcut-number { font-family: var(--heading); font-size: 12px; color: #59626b; }
.account-shortcut h2 { font-family: var(--heading); font-weight: 600; font-size: 17px; letter-spacing: -.4px; line-height: 1.4; margin: 0 0 8px; }
.account-shortcut p { font-size: 12px; color: #929ba4; line-height: 1.8; margin: 0; max-width: 260px; }
.account-card-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 23px; padding-top: 17px; border-top: 1px solid #ffffff08; font-size: 11px; color: #d4dad5; }
.account-card-link svg { color: var(--primary); width: 16px; height: 16px; }
.account-history { margin-top: 35px; }
.account-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.account-section-heading .section-kicker { font-size: 8px; letter-spacing: 1.8px; }
.account-section-heading h2 { font-family: var(--heading); font-size: 25px; font-weight: 600; letter-spacing: -.8px; margin: 7px 0 0; }
.account-section-heading>a, .account-help a { display: flex; align-items: center; gap: 10px; color: #a9b2ba; font-size: 11px; white-space: nowrap; }
.account-section-heading>a svg, .account-help a svg { width: 15px; height: 15px; }
.account-section-heading>a:hover, .account-help a:hover { color: var(--primary); }
.account-history-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.account-history-art { position: relative; overflow: hidden; aspect-ratio: 3/4; background: linear-gradient(145deg, #253b30, #131b18); border-radius: 8px; border: 1px solid #ffffff0c; }
.account-history-art:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #040907c9, transparent 55%); }
.account-history-art img { width: 100%; height: 100%; object-position: center; transition: transform .35s; }
.account-history-card:hover img { transform: scale(1.05); }
.account-history-play { position: absolute; z-index: 1; display: grid; place-items: center; width: 39px; height: 39px; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid #ffffff50; border-radius: 50%; background: #0b0d1077; backdrop-filter: blur(6px); transition: background .2s; }
.account-history-play svg { width: 18px; height: 18px; }
.account-history-card:hover .account-history-play { background: var(--primary); color: #0b0d10; border-color: var(--primary); }
.account-history-type { position: absolute; bottom: 11px; left: 12px; z-index: 1; font-size: 8px; letter-spacing: 1.3px; text-transform: uppercase; color: #e1e7e2; }
.account-history-card h3 { font-size: 12px; font-weight: 500; line-height: 1.5; margin: 10px 0 4px; overflow-wrap: anywhere; }
.account-history-card p { font-size: 10px; color: #8c959f; margin: 0; }
.account-history-empty { text-align: center; padding: 38px 20px; border: 1px solid var(--line); border-radius: 12px; background: radial-gradient(ellipse at 50% 0, #22342a66, transparent 65%), #111419; }
.account-empty-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #4ade8030; border-radius: 50%; background: #4ade8008; color: var(--primary); margin: auto; box-shadow: 0 0 0 7px #4ade8003; }
.account-empty-icon svg { width: 21px; height: 21px; }
.account-history-empty h3 { font-family: var(--heading); font-size: 19px; font-weight: 500; margin: 20px 0 9px; }
.account-history-empty p { font-size: 12px; color: #929da6; max-width: 340px; margin: 0 auto 22px; }
.account-history-empty .button { min-height: 40px; font-size: 11px; }
.account-explore { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 210px; padding: 30px; margin-top: 30px; border: 1px solid #ffffff12; border-radius: 12px; background: #161c1c; }
.account-explore>div:first-child { position: relative; z-index: 2; max-width: 68%; }
.account-explore .section-kicker { color: #a8b6af; font-size: 7px; letter-spacing: 1.5px; }
.account-explore h2 { font-family: var(--heading); font-size: 29px; line-height: 1.22; font-weight: 500; letter-spacing: -1px; margin: 12px 0 20px; }
.account-explore-link { display: flex; align-items: center; gap: 13px; color: #d0d9d2; font-size: 11px; }
.account-explore-link svg { width: 16px; height: 16px; color: var(--primary); transition: transform .2s; }
.account-explore:hover .account-explore-link svg { transform: translateX(4px); }
.account-explore-art { position: absolute; inset: -40px -20px -60px 47%; display: flex; gap: 14px; transform: rotate(12deg); z-index: -1; }
.account-explore-art img { width: calc((100% - 14px)/2); height: 100%; border-radius: 8px; object-fit: cover; }
.account-explore:after { content: ''; position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, #161c1c 25%, #161c1ce8 42%, #161c1c55); pointer-events: none; }
.account-help { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 23px; }
.account-help>span { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #959fa9; }
.account-help>span svg { width: 18px; height: 18px; }
@media (min-width: 1200px) { .account-sidebar { position: sticky; top: 24px; } }
@media (max-width: 1100px) {
    .account-layout { grid-template-columns: 208px minmax(0, 1fr); gap: 22px; }
    .account-plan-bottom>span { display: none; }
    .account-membership { padding: 25px; }
    .account-plan-body h2 { font-size: 25px; }
    .account-plan-symbol { font-size: 44px; }
    .account-shortcut { padding: 21px; }
    .account-history-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .account-page { padding-top: 119px; padding-bottom: 45px; }
    .account-breadcrumb { margin-bottom: 17px; }
    .account-intro { padding: 32px; min-height: 340px; margin-bottom: 24px; }
    .account-intro h1 { font-size: 42px; }
    .account-cover-posters { width: 75%; right: -65px; }
    .account-cover-caption { font-size: 6px; right: 22px; bottom: 20px; }
    .account-layout { grid-template-columns: 1fr; gap: 24px; }
    .account-sidebar { display: flex; flex-wrap: wrap; }
    .account-sidebar-kicker, .account-nav-label { display: none; }
    .account-identity { position: relative; flex-direction: row; flex-wrap: wrap; gap: 4px 13px; width: 100%; text-align: left; align-items: center; padding: 18px 90px 18px 18px; border-bottom: 1px solid var(--line); }
    .account-avatar { width: 40px; height: 40px; margin: 0; font-size: 18px; flex-shrink: 0; }
    .account-identity strong { font-size: 13px; max-width: calc(100% - 54px); }
    .account-identity>span:last-child { display: none; }
    .account-nav { display: flex; overflow-x: auto; width: 100%; gap: 4px; padding: 8px; scrollbar-width: thin; scrollbar-color: #35403a transparent; }
    .account-nav a { flex-shrink: 0; white-space: nowrap; font-size: 11px; padding: 10px 12px; }
    .account-nav a svg { width: 15px; height: 15px; }
    .account-nav-arrow { display: none; }
    .account-signout { position: absolute; right: 18px; top: 29px; margin: 0; padding: 0; border: 0; font-size: 10px; gap: 6px; }
    .account-sidebar { position: relative; }
    .account-signout svg { width: 14px; height: 14px; }
    .account-history-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .account-intro { padding: 28px 24px 42px; min-height: 350px; }
    .account-intro-copy { max-width: 100%; }
    .account-intro .eyebrow { font-size: 7px; letter-spacing: 1.6px; }
    .account-intro h1 { font-size: clamp(32px, 9vw, 40px); letter-spacing: -1.5px; }
    .account-intro p { font-size: 12px; max-width: 235px; }
    .account-cover-posters { width: 95%; right: -135px; opacity: .65; }
    .account-cover:after { background: linear-gradient(90deg, #121a17 5%, #121a17ee 35%, #121a1770), linear-gradient(0deg, #121a17, transparent); }
    .account-cover-caption { bottom: 17px; right: auto; left: 24px; font-size: 5px; letter-spacing: 1.2px; }
    .account-membership { padding: 22px 20px; }
    .account-plan-body { gap: 12px; }
    .account-plan-body h2 { font-size: 24px; }
    .account-plan-symbol { display: none; }
    .account-plan-details { gap: 18px 24px; }
    .account-plan-bottom .button { width: 100%; }
    .account-shortcuts { gap: 12px; }
    .account-shortcut { padding: 19px 16px; }
    .account-shortcut h2 { font-size: 15px; }
    .account-shortcut p { font-size: 11px; }
    .account-card-link { font-size: 10px; margin-top: 18px; }
    .account-shortcut-icon { width: 32px; height: 32px; border-radius: 8px; }
    .account-shortcut-number { font-size: 10px; }
    .account-section-heading { gap: 10px; }
    .account-section-heading h2 { font-size: 23px; }
    .account-section-heading .section-kicker { font-size: 6px; letter-spacing: 1.4px; }
    .account-section-heading>a { font-size: 10px; gap: 6px; }
    .account-history-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
    .account-history-empty { padding: 32px 18px; }
    .account-history-empty h3 { font-size: 17px; }
    .account-explore { padding: 26px 22px; min-height: 205px; }
    .account-explore>div:first-child { max-width: 90%; }
    .account-explore h2 { font-size: 26px; }
    .account-explore .section-kicker { font-size: 5px; }
    .account-explore-art { left: 45%; right: -50px; opacity: .7; }
    .account-explore-link { font-size: 10px; }
    .account-help { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .account-shortcut, .account-history-art img, .account-history-play, .account-explore-link svg { transition: none; }
    .account-shortcut:hover, .account-history-card:hover img { transform: none; }
}

/* Shared account screens: profile, watch history and billing. */
.account-page-heading { display:flex; align-items:center; justify-content:space-between; gap:28px; margin:30px 0 38px; }
.account-page-heading h1 { font-family:var(--heading); font-size:clamp(30px,3.2vw,46px); font-weight:600; line-height:1.2; letter-spacing:-1.6px; margin:16px 0 12px; }
.account-page-heading h1>span { color:var(--primary); }
.account-page-heading p { color:#9ca5ae; max-width:620px; font-size:13px; line-height:1.8; margin:0; }
.account-page-heading .button { flex-shrink:0; font-size:11px; min-height:42px; }
.account-page-heading .eyebrow { font-size:8px; letter-spacing:1.8px; }
.account-notice { padding:16px 20px; border:1px solid #4ade8030; border-radius:9px; background:#4ade8009; color:#c3e5ce; font-size:12px; margin-bottom:22px; overflow-wrap:anywhere; }
.account-notice-error { border-color:#fca5a530; color:#f6b9b9; background:#f8717108; }
.account-notice ul { padding-left:20px; margin:8px 0 0; }
.account-profile-summary { display:flex; align-items:center; gap:22px; padding:26px 30px; border:1px solid #4ade8026; border-radius:12px; background:radial-gradient(ellipse at 100% 0,#24443560,transparent 75%),#141b17; margin-bottom:22px; }
.account-profile-summary .account-avatar { width:57px; height:57px; margin:0; flex-shrink:0; font-size:23px; }
.account-profile-summary>div { min-width:0; }
.account-profile-summary .section-kicker { font-size:7px; color:#a8b9ad; letter-spacing:1.7px; }
.account-profile-summary h2 { font-family:var(--heading); font-size:20px; font-weight:600; margin:5px 0 2px; overflow-wrap:anywhere; }
.account-profile-summary p { color:#95a69b; font-size:12px; margin:0; overflow-wrap:anywhere; }
.account-profile-summary>svg { color:#4ade8040; width:36px; height:36px; margin-left:auto; }
.account-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
.account-form-card { background:linear-gradient(145deg,#171b20,#12151a); border:1px solid var(--line); border-radius:12px; padding:25px; }
.account-form-card-heading { display:flex; align-items:flex-start; gap:13px; margin-bottom:25px; }
.account-form-card-heading .account-shortcut-icon { flex-shrink:0; }
.account-form-card h2 { font-family:var(--heading); font-size:16px; font-weight:600; margin:0 0 6px; letter-spacing:-.3px; }
.account-form-card-heading p { color:#929ca6; font-size:11px; line-height:1.7; margin:0; }
.account-form-card form { display:flex; flex-direction:column; gap:18px; }
.account-field { display:flex; flex-direction:column; gap:8px; min-width:0; }
.account-field label { font-size:11px; color:#c4ccd2; }
.account-field input { width:100%; min-width:0; min-height:44px; border:1px solid #ffffff18; border-radius:6px; padding:10px 12px; color:#ecefea; background:#0e1115; font-size:12px; transition:border-color .2s; }
.account-field input:hover { border-color:#ffffff30; }
.account-field input:focus { border-color:#4ade8070; }
.account-field input::placeholder { color:#69737e; }
.account-field small { font-size:10px; color:#87939f; line-height:1.7; }
.account-form-card .button { font-size:11px; min-height:42px; align-self:flex-start; padding:0 18px; margin-top:4px; }
.account-form-card .button svg { width:16px; height:16px; }
.account-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:26px; padding-bottom:24px; border-bottom:1px solid var(--line); }
.account-toolbar h2 { font-family:var(--heading); font-size:23px; font-weight:500; line-height:1.35; letter-spacing:-.7px; margin:8px 0 0; }
.account-toolbar .section-kicker { font-size:7px; letter-spacing:1.7px; }
.account-toolbar .button { min-height:40px; font-size:11px; }
.account-danger-button { display:flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border:1px solid #fca5a525; border-radius:6px; background:#f8717106; color:#dcaaaa; font-size:11px; white-space:nowrap; }
.account-danger-button:hover { background:#f8717118; border-color:#fca5a550; }
.account-danger-button svg { width:15px; height:15px; }
.account-history-entry { position:relative; min-width:0; }
.account-history-entry .account-history-card { display:block; }
.account-remove-button { display:grid; place-items:center; position:absolute; top:8px; right:8px; width:30px; height:30px; border-radius:50%; border:1px solid #ffffff30; background:#090d10c9; color:#e4e8e5; backdrop-filter:blur(8px); }
.account-remove-button svg { width:15px; height:15px; }
.account-remove-button:hover { color:#f5b1b1; border-color:#f5b1b160; background:#28171cec; }
.account-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; margin-top:32px; color:#929da7; font-size:11px; }
.account-pagination .button { min-height:38px; padding:0 16px; font-size:11px; }
.account-billing-section { margin-bottom:30px; }
.account-billing-section h3 { font-family:var(--heading); font-weight:500; font-size:17px; margin:0 0 15px; }
.account-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:10px; background:#12161b; scrollbar-width:thin; scrollbar-color:#35403a transparent; }
.account-table { width:100%; border-collapse:collapse; text-align:left; font-size:11px; }
.account-table th { font-weight:500; font-size:10px; color:#8e9b9f; background:#ffffff03; white-space:nowrap; padding:17px 18px; }
.account-table td { color:#b6c0c7; border-top:1px solid var(--line); padding:20px 18px; line-height:1.7; min-width:120px; }
.account-table td strong { font-weight:500; color:#e0e6e0; }
.account-table tr:hover td { background:#ffffff02; }
.account-table-secondary { display:block; color:#83909b; font-size:10px; margin-top:4px; }
.account-table .account-table-amount { white-space:nowrap; color:#c0dfc8; }
@media(max-width:1100px) { .account-form-grid { grid-template-columns:1fr; } .account-form-card { padding:24px; } .account-page-heading>.button { display:none; } }
@media(max-width:760px) { .account-page-heading { margin:25px 0 28px; } .account-page-heading p { font-size:12px; } .account-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .account-toolbar h2 { font-size:21px; } }
@media(max-width:560px) { .account-form-grid { grid-template-columns:1fr; } .account-profile-summary { gap:15px; padding:22px 20px; } .account-profile-summary>svg { display:none; } .account-profile-summary h2 { font-size:18px; } .account-form-card { padding:22px 20px; } .account-profile-summary .section-kicker { font-size:6px; } .account-toolbar { align-items:flex-start; flex-wrap:wrap; gap:16px; } .account-toolbar h2 { font-size:21px; } .account-table th,.account-table td { padding:15px; } .account-page-heading h1 { font-size:32px; letter-spacing:-1px; } .account-form-card .button { width:100%; } }
@media(max-width:760px) {
    .account-nav a { min-height:44px; }
    .account-remove-button { width:44px; height:44px; }
    .account-form-card .button, .account-danger-button { min-height:44px; }
}
@media(max-width:560px) {
    .account-table, .account-table tbody, .account-table tr { display:block; width:100%; }
    .account-table thead { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
    .account-table tr { padding:14px 18px; border-bottom:1px solid var(--line); }
    .account-table tr:last-child { border-bottom:0; }
    .account-table td { display:block; position:relative; border:0; min-width:0; min-height:37px; padding:9px 0 9px 115px; text-align:right; font-size:11px; overflow-wrap:anywhere; }
    .account-table td:before { content:attr(data-label); position:absolute; left:0; top:9px; width:105px; text-align:left; font-size:10px; color:#8e9b9f; }
    .account-table .account-table-amount { white-space:normal; }
    .account-table tr:hover td { background:transparent; }
}

/* Keep account destinations within thumb reach on phones and small tablets. */
.account-mobile-nav { display:none; }
@media(max-width:760px) {
    body:has(.account-mobile-nav) { padding-bottom:calc(78px + env(safe-area-inset-bottom, 0px)); }
    html:has(.account-mobile-nav) { scroll-padding-bottom:100px; }
    .account-sidebar { display:none; }
    .account-layout { display:block; }
    .account-page { padding-bottom:36px; }
    .account-mobile-nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); position:fixed; inset:auto 0 0; z-index:60; padding:8px max(8px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); background:#11171cf5; backdrop-filter:blur(20px); border-top:1px solid #ffffff16; box-shadow:0 -8px 30px #0005; }
    .account-mobile-nav>a, .account-mobile-more>summary { position:relative; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; min-height:54px; padding:6px 2px; border-radius:12px; color:#a6b1bb; font-size:10px; font-weight:600; line-height:1.2; cursor:pointer; -webkit-tap-highlight-color:transparent; }
    .account-mobile-nav svg { width:22px; height:22px; stroke-width:1.8; }
    .account-mobile-nav>a[aria-current], .account-mobile-more[open]>summary { color:var(--primary); background:#4ade8012; }
    .account-mobile-nav>a[aria-current]:before { content:''; position:absolute; top:0; width:20px; height:2px; border-radius:3px; background:var(--primary); }
    .account-mobile-nav>a:hover, .account-mobile-menu a:hover { color:var(--primary); background:#4ade800c; }
    .account-mobile-more>summary { list-style:none; }
    .account-mobile-more>summary::-webkit-details-marker { display:none; }
    .account-mobile-menu { position:absolute; right:12px; bottom:calc(100% + 10px); width:min(280px,calc(100vw - 24px)); padding:14px; border:1px solid #ffffff1c; border-radius:18px; background:#151d24; box-shadow:0 12px 50px #0009; max-height:calc(100dvh - 110px); overflow-y:auto; }
    .account-mobile-menu>strong { display:block; padding:6px 12px 12px; font-size:11px; color:#a6b1bb; font-weight:500; }
    .account-mobile-menu a { display:flex; align-items:center; gap:14px; min-height:48px; padding:10px 12px; border-radius:10px; font-size:13px; color:#e1e8ed; }
    .account-mobile-menu a:last-child { margin-top:8px; border-top:1px solid #ffffff12; border-radius:0 0 10px 10px; color:#f0b7b7; }
    .account-page input, .account-page select, .account-page textarea { font-size:16px; }
    .account-page input:not([type=checkbox]):not([type=radio]), .account-page select { min-height:46px; }
    .account-notice, .account-profile-summary, .account-page-heading p { overflow-wrap:anywhere; }
    .account-help { flex-wrap:wrap; gap:12px; }
}
