.account-page { min-height: 100vh; background: #fff8ed; background-image: radial-gradient(ellipse at 4% 28%,rgba(255,200,111,.2),transparent 34%),radial-gradient(ellipse at 97% 90%,rgba(133,199,255,.17),transparent 34%); }
.account-topbar { background: rgba(255,255,255,.93); }.account-topbar .brand img { border-radius: 13px; object-fit: contain; }
.auth-shell { width: min(1110px,calc(100% - 64px)); min-height: calc(100vh - 78px); display: grid; grid-template-columns: 1fr 450px; align-items: center; gap: 9%; margin: 0 auto; padding: 38px 0 52px; }
.auth-promo { position: relative; min-height: 540px; overflow: hidden; padding: 50px 48px; border-radius: 28px; color: #fff; background: radial-gradient(ellipse at 77% 95%,rgba(255,183,89,.45),transparent 37%),radial-gradient(ellipse at 4% 100%,rgba(72,148,244,.52),transparent 43%),linear-gradient(133deg,#394fbc 0%,#5153cf 53%,#6746ca 100%); box-shadow: 0 25px 70px rgba(67,74,164,.21); }
.auth-promo::before,.auth-promo::after { content:""; position:absolute; width:360px;height:360px;border:1px solid rgba(255,255,255,.15);border-radius:50%;right:-51px;bottom:-118px; }.auth-promo::after { width:257px;height:257px;right:1px;bottom:-67px;border-color:rgba(255,255,255,.12); }
.promo-sticker { display:inline-flex; align-items:center; gap:10px; padding:9px 13px; border:1px solid rgba(255,255,255,.23); border-radius:100px; background:rgba(255,255,255,.12); font-size:9px; font-weight:700; letter-spacing:.13em; }.promo-sticker span { color:#ffd66f; font-size:14px; }
.auth-promo h1 { margin:28px 0 13px; font-family:var(--font-display); font-size:clamp(47px,5vw,64px); line-height:1.04; letter-spacing:-.065em; }.auth-promo h1 span { color:#ffe294; }
.auth-promo > p { max-width:355px; margin:0; color:#e0e3fc; font-size:13px; line-height:1.8; }
.promo-pictures { position:absolute; left:51px; right:40px; bottom:49px; height:164px; }.promo-ring { position:absolute; width:249px;height:112px;left:95px;bottom:8px;border:1px solid rgba(255,255,255,.34);border-radius:50%;transform:rotate(-12deg); }.promo-ring::after { content:"";position:absolute;inset:13px 17px;border:1px solid rgba(255,255,255,.22);border-radius:50%; }
.promo-cart { position:absolute;left:149px;top:9px;display:grid;place-items:center;width:97px;height:97px;border:1px solid rgba(255,255,255,.58);border-radius:26px;background:rgba(255,255,255,.94);box-shadow:0 17px 36px rgba(28,30,95,.29);transform:rotate(-8deg); }.promo-cart img { width:82px;height:82px;object-fit:contain; }
.promo-bubble { position:absolute;z-index:1;display:grid;place-items:center;width:43px;height:43px;border:1px solid rgba(255,255,255,.38);border-radius:14px;color:#3159c8;background:#dff5eb;box-shadow:0 10px 22px rgba(23,34,98,.22);font-size:18px; }.bubble-one { top:7px;left:68px;transform:rotate(9deg); }.bubble-two { bottom:7px;right:51px;color:#fff;background:#f5a75e;transform:rotate(11deg); }.promo-spark { position:absolute;top:24px;right:71px;color:#ffe38b;font-size:21px; }.promo-foot { position:absolute;left:49px;bottom:22px;color:#d4d8fb;font-size:8px;font-weight:700;letter-spacing:.16em; }.promo-foot span { margin-right:8px;color:#ffe295; }
.auth-card-wrap { display:grid;gap:18px; }.account-auth-card { padding:0 30px 23px; border:1px solid #eee7d9; border-radius:22px; background:rgba(255,255,255,.94);box-shadow:0 17px 45px rgba(91,75,46,.08); }.auth-tabs { display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:7px;margin:0 -30px 27px;border-bottom:1px solid #f1eee8; }.auth-tab {min-height:38px;border:0;border-radius:10px;color:#8791a0;background:transparent;font-size:10px;font-weight:700;cursor:pointer;}.auth-tab.active {color:#3f58bd;background:#eff2ff;}
.auth-form-view h2 {margin:9px 0 5px;color:#182b45;font-family:var(--font-display);font-size:26px;letter-spacing:-.055em;}.auth-form-view > p {margin:0 0 19px;color:#8791a0;font-size:10px;}.account-form {display:grid;gap:14px;}.account-form label {display:grid;gap:7px;color:#3c4c63;font-size:10px;font-weight:700;}.account-form input,.account-form select {width:100%;height:42px;padding:0 12px;border:1px solid #e7e8eb;border-radius:10px;outline:0;color:#1f304a;background:#fff;font:500 11px var(--font-body);}.account-form input::placeholder {color:#adb5c0;}.account-form input:focus,.account-form select:focus {border-color:#8ea3f4;box-shadow:0 0 0 3px rgba(83,103,211,.1);}.account-private {display:flex;align-items:center;justify-content:center;gap:7px;margin:18px 0 0;padding-top:16px;border-top:1px solid #f1eee8;color:#97a1ae;font-size:9px;}.auth-private {display:flex;align-items:center;justify-content:center;gap:7px;margin:18px 0 0;padding-top:16px;border-top:1px solid #f1eee8;color:#97a1ae;font-size:9px;}.auth-private span {color:#e2a14c;font-size:13px;}.auth-store-link {justify-self:center;color:#7d8998;font-size:10px;font-weight:600;}.auth-store-link span {margin-left:5px;color:#536fce;}
.auth-inline-link {justify-self:center;margin-top:13px;padding:3px 0;border:0;color:#536fce;background:transparent;font:700 10px var(--font-body);cursor:pointer;}.auth-inline-link:hover {color:#384cb0;text-decoration:underline;}.auth-security-help {margin-top:-10px;color:#77869a;font-size:9px;line-height:1.55;}.recovery-code-panel {display:grid;gap:12px;margin-top:17px;padding:14px;border:1px solid #e8ecf6;border-radius:12px;background:#fafbff;}.recovery-code-help {margin:0;color:#344b71;font-size:10px;line-height:1.6;}.recovery-success {display:grid;gap:11px;margin-top:19px;padding:16px;border:1px solid #cfe9d8;border-radius:13px;background:#f5fcf7;}.recovery-success h3 {margin:0;color:#245a43;font-family:var(--font-display);font-size:18px;}.recovery-success p {margin:0;color:#527665;font-size:10px;line-height:1.65;}.generated-password-label {color:#3c4c63;font-size:10px;font-weight:700;}.generated-password {height:42px;padding:0 11px;border:1px solid #d8e5db;border-radius:9px;color:#183e2c;background:#fff;font:700 13px ui-monospace,Consolas,monospace;}.recovery-actions {display:grid;grid-template-columns:1fr 1.2fr;gap:8px;}.recovery-actions .button {min-height:39px;padding-inline:9px;font-size:9px;}.recovery-copy {border:1px solid #d8e5db;color:#426b57;background:#fff;}.recovery-back {margin-top:16px;}.auth-page .auth-shell {align-items:center;}.auth-page .account-auth-card {max-height:calc(100vh - 32px);overflow-y:auto;}
.account-nav {display:flex;align-items:center;gap:20px; }.account-nav a {color:#65758c;font-size:11px;font-weight:600;}.account-nav button {height:35px;padding:0 12px;border:1px solid #ebe5da;border-radius:10px;color:#697990;background:#fff;font-size:9px;font-weight:700;cursor:pointer;}.account-nav button:hover {background:#fff7e8;}
.account-shell {width:min(1050px,calc(100% - 64px));margin:0 auto;padding:57px 0 50px;}.account-welcome {position:relative;min-height:204px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;padding:35px 45px;border:1px solid #f1d8a8;border-radius:23px;background:radial-gradient(ellipse at 91% 50%,rgba(255,196,92,.53),transparent 32%),linear-gradient(113deg,#fff4d7,#ffe9c4 54%,#fce8d4);}.account-welcome h1 {margin:11px 0 7px;font-family:var(--font-display);font-size:38px;letter-spacing:-.06em;}.account-welcome h1 #account-name {color:#4a57c6;}.welcome-period {color:#ef9d42;}.account-welcome p {margin:0;color:#81735e;font-size:11px;}.welcome-cart {position:relative;width:128px;height:128px;display:grid;place-items:center;margin-right:46px;}.welcome-cart img {position:relative;z-index:1;width:100px;height:100px;object-fit:contain;border:5px solid rgba(255,255,255,.75);border-radius:31px;box-shadow:0 14px 28px rgba(180,121,54,.2);transform:rotate(7deg);}.welcome-glow {position:absolute;inset:9px;border:1px solid rgba(242,162,66,.36);border-radius:50%;}.welcome-glow::after {content:"";position:absolute;inset:14px;border:1px dashed rgba(242,162,66,.42);border-radius:50%;}
.favorites-panel {padding-bottom:0;}.favorite-list {display:grid;}.favorite-app-row {display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid #f0f2f6;}.favorite-app-info {min-width:0;display:grid;gap:5px;}.favorite-app-info h3 {margin:0;color:#1e304a;font-family:var(--font-display);font-size:12px;}.favorite-app-info > span {color:#8995a5;font-size:9px;}.favorite-app-info p {overflow:hidden;margin:0;color:#7e8b9d;font-size:9px;text-overflow:ellipsis;white-space:nowrap;}.favorite-row-actions {display:flex;align-items:center;gap:12px;}.favorite-store-link {color:#4b61c6;font-size:9px;font-weight:700;}.favorite-remove {width:31px;height:31px;border:1px solid #f3e5c5;border-radius:10px;color:#d59b34;background:#fff9eb;font-size:17px;cursor:pointer;}.favorite-remove:hover {background:#fff0ce;}.favorites-empty {min-height:168px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:22px;text-align:center;}.favorites-empty[hidden] {display:none;}.favorites-empty > span {color:#d9a13e;font-size:27px;}.favorites-empty p {margin:0 0 6px;color:#8592a4;font-size:10px;}.favorites-empty .button {width:auto;min-height:34px;font-size:9px;}
.security-settings-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:20px 0 24px;}.security-form {display:grid;align-content:start;gap:12px;}.security-form h3 {margin:0;color:#263956;font-family:var(--font-display);font-size:14px;}.security-form p {margin:-5px 0 2px;color:#77869a;font-size:9px;line-height:1.6;}.security-form .button {min-height:38px;font-size:9px;}.account-recovery-email {color:#4258bc;font-size:11px;overflow-wrap:anywhere;}
.library-panel {margin-top:22px;padding:26px 29px 0;border:1px solid #e6edf7;border-radius:19px;background:#fff;box-shadow:0 11px 32px rgba(49,72,114,.055);}.library-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:19px;border-bottom:1px solid #eef1f6;}.library-heading h2 {margin:5px 0 5px;font-family:var(--font-display);font-size:22px;letter-spacing:-.045em;}.library-heading p {margin:0;color:#8592a4;font-size:10px;}.library-total {display:grid;justify-items:end;gap:3px;padding:9px 12px;border:1px solid #e7eaf8;border-radius:12px;color:#8490a4;background:#f8f9ff;font-size:8px;}.library-total b {color:#4c5ec1;font-family:var(--font-display);font-size:20px;line-height:1;}.library-list {display:grid;}.library-app-row {display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid #f0f2f6;}.library-app-icon {width:49px;height:49px;display:grid;place-items:center;overflow:hidden;border:1px solid #e7ecf5;border-radius:15px;color:#5367cd;background:linear-gradient(140deg,#eff1ff,#e3f6ed);}.library-app-icon img {width:100%;height:100%;object-fit:cover;}.library-app-icon b {font-family:var(--font-display);font-size:19px;}.library-app-info {min-width:0;display:grid;gap:6px;}.library-name-line {display:flex;align-items:center;gap:9px;flex-wrap:wrap;}.library-name-line h3 {margin:0;color:#1e304a;font-family:var(--font-display);font-size:12px;}.library-category,.installed-version {color:#8995a5;font-size:9px;}.library-category i {margin:0 3px;color:#d2b07a;font-style:normal;}.installed-version {color:#8594a7;font-size:8px;}.library-status {display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:7px;font-size:8px;font-weight:700;}.library-status::before {content:"";width:5px;height:5px;border-radius:50%;background:currentColor;}.library-status.update {color:#a36719;background:#fff4d9;}.library-status.installed {color:#3d9672;background:#e8f7ef;}.library-status.owned {color:#5e69c4;background:#f0f1ff;}.library-row-actions {display:flex;align-items:center;gap:8px;}.library-action {height:34px;min-width:99px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 11px;border:1px solid #e1e6f8;border-radius:9px;color:#4b61c6;background:#f5f6ff;font-size:9px;font-weight:700;cursor:pointer;}.library-action:hover {background:#ebedff;}.library-action.update-button {border-color:#eedbb7;color:#9a671f;background:#fff7e5;}.library-action:disabled {opacity:.6;cursor:wait;}.remove-library {border:0;color:#909bab;background:transparent;font-size:8px;font-weight:600;cursor:pointer;}.remove-library:hover {color:#d0585e;}.library-unavailable {color:#a5adba;font-size:8px;}
.library-empty {min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:27px 20px;text-align:center;}.library-empty-art {width:48px;height:48px;display:grid;place-items:center;margin-bottom:12px;border:1px solid #f1dfbb;border-radius:16px;color:#e2a94a;background:#fff7e7;font-size:23px;}.library-empty .eyebrow {font-size:8px;}.library-empty h3 {margin:8px 0 6px;font-family:var(--font-display);font-size:20px;letter-spacing:-.045em;}.library-empty p {max-width:390px;margin:0 0 16px;color:#8592a4;font-size:10px;line-height:1.7;}.library-empty .button {width:auto;min-height:36px;font-size:9px;}.library-note {display:flex;gap:8px;margin-inline:-29px;padding:14px 29px;border-top:1px solid #f0f2f6;border-radius:0 0 19px 19px;background:#fbfcff;}.library-note > span {flex:0 0 auto;width:14px;height:14px;display:grid;place-items:center;border:1px solid #c6d4e5;border-radius:50%;color:#7991b0;font-family:Georgia,serif;font-size:8px;font-weight:bold;}.library-note p {margin:0;color:#8997a9;font-size:8px;line-height:1.6;}.account-footer-link {display:inline-block;margin-top:20px;color:#7b8799;font-size:9px;font-weight:600;}
.account-page .toast.error {background:#973540;}
.support-dialog { width:min(560px,calc(100% - 28px)); max-width:none; max-height:min(86dvh,780px); padding:0; overflow:hidden; border:1px solid #e5eaf2; border-radius:20px; color:#20334e; background:#fff; box-shadow:0 24px 80px rgba(28,43,68,.3); }
.support-dialog::backdrop { background:rgba(16,28,47,.55); backdrop-filter:blur(5px); }
.support-dialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr); }
.support-dialog-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:22px 24px 17px; border-bottom:1px solid #edf0f5; }
.support-dialog-heading h2 { margin:5px 0 5px; font-family:var(--font-display); font-size:22px; letter-spacing:-.04em; }
.support-dialog-heading p { margin:0; color:#7d8ca1; font-size:11px; line-height:1.55; }
.support-close { flex:0 0 auto; width:36px; height:36px; border:1px solid #e5eaf2; border-radius:11px; color:#5d6d82; background:white; font-size:20px; cursor:pointer; }
.support-dialog-content { display:grid; gap:17px; min-height:0; padding:18px 24px 22px; overflow-y:auto; overscroll-behavior:contain; }
.support-compose,.support-reply-form { display:grid; gap:11px; }
.support-compose label,.support-reply-form label { display:grid; gap:6px; color:#43546d; font-size:10px; font-weight:700; }
.support-compose input,.support-compose select,.support-compose textarea,.support-reply-form textarea { width:100%; min-height:40px; padding:10px 11px; border:1px solid #e2e8f0; border-radius:10px; outline:0; color:#20334e; background:white; font:500 11px var(--font-body); }
.support-compose textarea,.support-reply-form textarea { min-height:88px; resize:vertical; line-height:1.5; }
.support-compose input:focus,.support-compose select:focus,.support-compose textarea:focus,.support-reply-form textarea:focus { border-color:#9aacf0; box-shadow:0 0 0 3px rgba(83,103,211,.1); }
.support-compose .button,.support-reply-form .button { min-height:39px; justify-self:start; padding-inline:18px; font-size:10px; }
.support-customer-tickets h3,.support-thread-head h3 { margin:0; color:#263956; font-family:var(--font-display); font-size:14px; }
.support-thread-list { display:grid; gap:7px; margin-top:9px; }
.support-ticket-button { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 10px; width:100%; padding:10px 12px; border:1px solid #e8edf4; border-radius:11px; text-align:left; color:#263956; background:#fbfcff; cursor:pointer; }
.support-ticket-button:hover,.support-ticket-button[aria-current="true"] { border-color:#cbd5fb; background:#f5f6ff; }
.support-ticket-button b { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.support-ticket-button small { color:#8491a3; font-size:9px; }
.support-ticket-button .support-ticket-status { align-self:start; padding:4px 6px; border-radius:7px; color:#6576c7; background:#eff1ff; font-size:8px; font-weight:700; }
.support-empty,.support-feedback { margin:8px 0 0; color:#8390a2; font-size:10px; line-height:1.5; }
.support-feedback.is-error { color:#a83d48; }
.support-customer-thread { display:grid; gap:11px; padding-top:14px; border-top:1px solid #edf0f5; }
.support-thread-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.support-thread-head > span { color:#7788a0; font-size:9px; }
.support-messages { display:grid; gap:8px; max-height:250px; padding:2px; overflow:auto; }
.support-message { max-width:88%; padding:9px 11px; border-radius:12px; color:#41536d; background:#f1f4f9; }
.support-message.from-admin { justify-self:end; color:#3146a3; background:#eef1ff; }
.support-message-meta { display:flex; justify-content:space-between; gap:12px; margin-bottom:4px; color:#8391a4; font-size:8px; }
.support-message-body { margin:0; font-size:10px; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere; }
.section-drawer-nav [data-menu-action="customer-support"] { font-weight:700; }
@media(max-width:720px) { .support-dialog { width:calc(100% - 20px); max-height:88dvh; border-radius:17px; }.support-dialog-heading { padding:18px 17px 14px; }.support-dialog-heading h2 { font-size:19px; }.support-dialog-content { padding:15px 17px 18px; gap:14px; }.support-compose textarea { min-height:78px; } }
@media(max-width:900px){.auth-shell{grid-template-columns:minmax(0,1fr) 400px;gap:5%;}.auth-promo{padding-inline:35px;}.promo-pictures{left:30px;}.promo-foot{left:35px;}}
@media(max-width:720px){.account-topbar{padding-inline:18px;}.auth-shell,.account-shell{width:min(100% - 34px,560px);}.auth-shell{display:grid;grid-template-columns:1fr;gap:20px;padding-top:25px;}.auth-promo{min-height:285px;padding:24px 24px;border-radius:20px;}.promo-sticker{padding:7px 10px;font-size:7px;}.auth-promo h1{margin:15px 0 8px;font-size:36px;}.auth-promo>p{max-width:330px;font-size:10px;}.promo-pictures{width:130px;height:130px;left:auto;right:17px;bottom:31px;transform:scale(.55);transform-origin:right bottom;}.promo-foot{left:24px;bottom:17px;font-size:6px;}.auth-card-wrap{gap:11px;}.account-auth-card{padding:0 21px 19px;border-radius:18px;}.auth-tabs{margin:0 -21px 22px;}.auth-form-view h2{font-size:23px;}.account-form{gap:11px;}.account-form input{height:39px;}.account-primary{min-height:40px;}.account-shell{padding-top:27px;}.account-welcome{min-height:160px;padding:23px 21px;border-radius:19px;}.account-welcome h1{max-width:300px;font-size:29px;}.account-welcome p{max-width:300px;font-size:9px;line-height:1.6;}.welcome-cart{position:absolute;right:2px;bottom:10px;width:96px;height:96px;margin:0;opacity:.78;}.welcome-cart img{width:72px;height:72px;border-radius:23px;}.welcome-glow{inset:5px;}.welcome-glow::after{inset:11px;}.library-panel{margin-top:14px;padding:20px 16px 0;border-radius:16px;}.library-heading{gap:9px;}.library-heading h2{font-size:19px;}.library-heading p{max-width:260px;font-size:9px;line-height:1.55;}.library-total{padding:7px 9px;white-space:nowrap;}.library-app-row{grid-template-columns:42px minmax(0,1fr);gap:10px;padding:13px 0;}.library-app-icon{grid-row:1/3;width:40px;height:40px;border-radius:12px;}.library-name-line{gap:6px;}.library-name-line h3{font-size:10px;}.library-status{padding:4px 6px;font-size:7px;}.library-category{font-size:8px;}.library-row-actions{grid-column:2;justify-content:flex-start;margin-top:-2px;}.library-action{height:30px;min-width:90px;font-size:8px;}.remove-library{font-size:8px;}.library-note{margin-inline:-16px;padding:12px 16px;}.library-note p{font-size:7px;}}
@media(max-width:390px){.auth-promo{min-height:265px;}.auth-promo h1{font-size:32px;}.promo-pictures{right:9px;bottom:26px;transform:scale(.44);transform-origin:right bottom;}.account-nav{gap:9px;}.account-nav a{font-size:9px;}.account-welcome h1{max-width:225px;font-size:26px;}.welcome-cart{right:-12px;opacity:.65;}.library-heading p{max-width:210px;}}

/* Keep the sign-in screen within the visible window when its content fits. */
.auth-page .auth-shell { min-height: calc(100dvh - 78px); padding-block: clamp(10px, 2.2vh, 18px); align-content: center; }
.auth-page .auth-promo { height: min(520px, calc(100dvh - 158px)); min-height: 0; padding: clamp(28px, 5vh, 50px) clamp(30px, 4vw, 48px); }
.auth-page .auth-card-wrap { gap: 12px; }

@media (max-width:720px) {
  .auth-page .auth-shell { min-height: calc(100dvh - 66px); gap: 12px; padding-block: 10px; align-content: center; }
  .auth-page .auth-promo { height: 170px; min-height: 0; padding: 17px 20px; }
  .auth-page .promo-sticker { gap: 7px; padding: 6px 9px; font-size: 7px; }
  .auth-page .auth-promo h1 { margin: 10px 0 4px; font-size: clamp(27px, 7vw, 34px); line-height: .98; }
  .auth-page .auth-promo > p { max-width: calc(100% - 84px); font-size: 9px; line-height: 1.45; }
  .auth-page .promo-pictures { width: 160px; height: 130px; left: auto; right: 1px; bottom: 17px; transform: scale(.48); transform-origin: right bottom; }
  .auth-page .promo-foot { display: none; }
  .auth-page .auth-card-wrap { gap: 8px; }
  .auth-page .account-auth-card { padding: 0 18px 14px; border-radius: 18px; }
  .auth-page .auth-tabs { margin: 0 -18px 13px; padding: 5px; }
  .auth-page .auth-tab { min-height: 32px; }
  .auth-page .auth-form-view h2 { margin-top: 7px; font-size: 22px; }
  .auth-page .auth-form-view > p { margin-bottom: 12px; }
  .auth-page .account-form { gap: 9px; }
  .auth-page .account-form label { gap: 5px; }
  .auth-page .account-form input { height: 36px; }
  .auth-page .account-primary { min-height: 37px; }
  .auth-page .auth-private { margin-top: 10px; padding-top: 10px; }
  .auth-page .auth-store-link { font-size: 9px; }
}

@media (max-width:390px) {
  .auth-page .auth-shell { width: calc(100% - 28px); }
  .auth-page .auth-promo { height: 154px; padding: 14px 15px; }
  .auth-page .auth-promo h1 { margin: 8px 0 3px; font-size: 27px; }
  .auth-page .auth-promo > p { max-width: calc(100% - 75px); font-size: 8px; }
  .auth-page .promo-pictures { right: -3px; bottom: 8px; transform: scale(.42); }
}

@media (max-height:620px) {
  .auth-page .auth-shell { min-height: auto; align-content: start; }
  .auth-page .auth-promo { height: min(34vh, 178px); }
}

/* Improve the smaller labels and controls in both account screens. */
.account-page .eyebrow, .account-page .promo-sticker { font-size: 11px; }
.account-page .promo-foot { font-size: 11px; }
.account-page .auth-form-view > p, .account-page .account-form label, .account-page .account-nav a,
.account-page .account-nav button, .account-page .auth-tab, .account-page .auth-store-link,
.account-page .account-private, .account-page .auth-private { font-size: 11px; }
.account-page .account-form input { min-height: 43px; font-size: 13px; }
.account-page .account-primary { font-size: 12px; }
.account-page .account-welcome p, .account-page .library-heading p, .account-page .library-empty p,
.account-page .library-note p { font-size: 11px; }
.account-page .library-total, .account-page .library-category, .account-page .installed-version,
.account-page .library-status, .account-page .library-action, .account-page .remove-library,
.account-page .library-unavailable, .account-page .account-footer-link { font-size: 11px; }
.account-page .library-name-line h3 { font-size: 13px; }
.account-page .library-note > span { width: 18px; height: 18px; font-size: 11px; }
.account-page .account-private, .account-page .auth-private,
.account-page .library-heading p, .account-page .library-empty p,
.account-page .library-note p { color: #68788e; }

@media (max-width: 720px) {
  .auth-page .auth-promo { height: 178px; }
  .auth-page .promo-sticker { font-size: 11px; }
  .auth-page .auth-promo > p { font-size: 11px; line-height: 1.5; }
  .auth-page .auth-tabs { margin-bottom: 16px; }
  .auth-page .auth-tab { min-height: 38px; font-size: 11px; }
  .auth-page .auth-form-view > p { font-size: 11px; }
  .auth-page .account-form label { font-size: 12px; }
  .auth-page .account-form input { height: 40px; }
  .auth-page .auth-private { font-size: 11px; }
  .account-page .account-welcome p, .account-page .library-heading p,
  .account-page .library-empty p, .account-page .library-note p { font-size: 11px; }
  .account-page .library-name-line h3 { font-size: 12px; }
  .account-page .library-category, .account-page .installed-version,
  .account-page .library-status, .account-page .library-action,
  .account-page .remove-library, .account-page .library-unavailable { font-size: 11px; }
}

.library-action.web-library-action { border-color: #cdeada; color: #338361; background: #e7f8ec; }

@media (max-width: 390px) {
  .auth-page .auth-promo { height: 168px; padding: 14px 15px; }
  .auth-page .auth-promo h1 { font-size: 27px; }
  .auth-page .auth-promo > p { max-width: calc(100% - 70px); font-size: 11px; }
  .account-page .account-nav { gap: 8px; }
  .account-page .account-nav a, .account-page .account-nav button { font-size: 11px; }
}

@media (max-width: 720px) {
  .auth-page .auth-promo { height: 172px; padding: 14px 16px; }
  .auth-page .promo-sticker { display: none; }
  .auth-page .auth-promo h1 { max-width: calc(100% - 80px); margin: 0 0 6px; font-size: clamp(25px, 7.4vw, 29px); line-height: 1.02; }
  .auth-page .auth-promo > p { max-width: calc(100% - 108px); font-size: 11px; line-height: 1.45; }
  .auth-page .promo-pictures { width: 82px; height: 82px; left: auto; right: 11px; bottom: 18px; transform: none; }
  .auth-page .promo-ring, .auth-page .promo-bubble, .auth-page .promo-spark { display: none; }
  .auth-page .promo-cart { width: 76px; height: 76px; left: auto; right: 0; top: 0; border-radius: 21px; transform: rotate(-6deg); }
  .auth-page .promo-cart img { width: 66px; height: 66px; }
}

/* Compact the sign-in view so it fits without page scrolling on phones. */
@media (max-width: 720px) {
  .auth-page:has(#login-view:not([hidden])) {
    display: flex;
    height: 100svh;
    min-height: 100svh;
    flex-direction: column;
    overflow: hidden;
  }
  .auth-page:has(#login-view:not([hidden])) .account-topbar { flex: 0 0 54px; height: 54px; }
  .auth-page:has(#login-view:not([hidden])) .auth-shell {
    width: min(calc(100% - 28px), 560px);
    min-height: 0;
    flex: 1 1 auto;
    align-content: start;
    gap: 8px;
    padding-block: 7px;
  }
  .auth-page:has(#login-view:not([hidden])) .auth-promo { height: min(23svh, 128px); min-height: 102px; padding: 12px 15px; }
  .auth-page:has(#login-view:not([hidden])) .auth-promo h1 { margin: 0 0 5px; font-size: clamp(25px, 7vw, 29px); }
  .auth-page:has(#login-view:not([hidden])) .auth-promo > p { font-size: 10px; line-height: 1.4; }
  .auth-page:has(#login-view:not([hidden])) .account-auth-card { max-height: none; overflow: visible; padding-bottom: 10px; }
  .auth-page:has(#login-view:not([hidden])) .auth-tabs { margin-bottom: 9px; }
  .auth-page:has(#login-view:not([hidden])) .auth-form-view h2 { margin-top: 5px; font-size: 21px; }
  .auth-page:has(#login-view:not([hidden])) .auth-form-view > p { margin-bottom: 8px; }
  .auth-page:has(#login-view:not([hidden])) .account-form { gap: 7px; }
  .auth-page:has(#login-view:not([hidden])) .account-form input { height: 38px; min-height: 38px; }
  .auth-page:has(#login-view:not([hidden])) .account-primary { min-height: 36px; }
  .auth-page:has(#login-view:not([hidden])) .auth-inline-link { margin-top: 7px; }
}

@media (max-width: 720px) and (max-height: 520px) {
  .auth-page:has(#login-view:not([hidden])) .auth-shell { gap: 5px; padding-block: 4px; }
  .auth-page:has(#login-view:not([hidden])) .auth-promo { height: 96px; min-height: 96px; padding-block: 9px; }
  .auth-page:has(#login-view:not([hidden])) .auth-promo h1 { font-size: 24px; }
  .auth-page:has(#login-view:not([hidden])) .auth-promo > p { font-size: 9px; }
  .auth-page:has(#login-view:not([hidden])) .account-auth-card { padding-bottom: 7px; }
  .auth-page:has(#login-view:not([hidden])) .auth-tabs { margin-bottom: 6px; }
  .auth-page:has(#login-view:not([hidden])) .account-form { gap: 5px; }
  .auth-page:has(#login-view:not([hidden])) .account-form input { height: 34px; min-height: 34px; }
}

/* Align the TAS cart logo with the collection label, including on phones. */
.account-welcome { justify-content: flex-start; }
.welcome-copy { width: 100%; min-width: 0; }
.welcome-title-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.welcome-title-row .eyebrow { display: inline-flex; align-items: center; min-width: 0; }
.account-welcome .welcome-cart { position: static; display: block; flex: 0 0 auto; width: 62px; height: 62px; margin: 0; border: 3px solid rgba(255,255,255,.82); border-radius: 18px; object-fit: contain; box-shadow: 0 9px 20px rgba(180,121,54,.15); opacity: 1; transform: none; }
.account-welcome h1 { max-width: 100%; margin-top: 10px; }
.account-welcome p { max-width: 100%; }

@media (max-width: 720px) {
  .account-topbar .account-nav a { display: none; }
}

@media (max-width: 720px) {
  .account-welcome { min-height: 0; padding: 18px 18px; }
  .welcome-title-row { gap: 10px; }
  .account-welcome .welcome-cart { width: 49px; height: 49px; border-radius: 15px; }
  .account-welcome h1 { max-width: 100%; margin: 9px 0 6px; font-size: 28px; }
  .account-welcome p { max-width: 100%; font-size: 11px; }
  .favorite-app-row { grid-template-columns: 43px minmax(0,1fr); gap: 10px; }
  .favorite-app-row .library-app-icon { width: 42px; height: 42px; border-radius: 13px; }
  .favorite-row-actions { grid-column: 2; justify-content: flex-start; }
  .security-settings-grid { grid-template-columns: 1fr; gap: 21px; }
}

@media (max-width: 390px) {
  .welcome-title-row { gap: 7px; }
  .welcome-title-row .eyebrow { font-size: 9px; letter-spacing: .12em; }
  .account-welcome .welcome-cart { width: 43px; height: 43px; border-radius: 13px; }
  .account-welcome h1 { font-size: 26px; }
}

.account-section-menu-bar { width:min(1050px,calc(100% - 64px));min-height:44px;display:flex;align-items:center;justify-content:flex-start;margin:0 auto;padding-top:5px; }
.account-section-menu-bar[hidden] { display:none!important; }
.account-section-menu-toggle { display:flex!important;align-items:center;justify-content:center;width:40px;height:36px;padding:0;border:1px solid #e8e2d7;border-radius:10px;color:#52627b;background:rgba(255,255,255,.86);box-shadow:0 3px 10px rgba(39,53,80,.06); }
.account-section-menu-toggle[hidden] { display:none!important; }
.account-section-menu-toggle svg { width:16px;height:16px; }

.security-mfa-card {align-content:start;padding:18px;border:1px solid #e8edf5;border-radius:15px;background:linear-gradient(145deg,#fff,#fbfcff);}
.security-mfa-card h3 {font-size:15px;}
.security-mfa-card > p {margin:0;color:#77869a;font-size:10px;line-height:1.55;}
.security-mfa-card .security-status {padding:9px 10px;border:1px solid #e8edf5;border-radius:9px;color:#53637b;background:#f8faff;font-size:9px;}
#totp-setup-step {display:grid;gap:11px;}
.totp-qr-panel {display:grid;justify-items:center;gap:10px;padding:13px;border:1px solid #e4eaf4;border-radius:12px;background:#f8faff;text-align:center;}
.totp-qr-panel > p {max-width:340px;margin:0;color:#687991;font-size:10px;line-height:1.55;}
.totp-qr-frame {display:grid;place-items:center;width:196px;height:196px;padding:10px;border:1px solid #e8edf5;border-radius:10px;background:#fff;}
.totp-qr-frame img {display:block;width:176px;height:176px;image-rendering:pixelated;}
.totp-qr-fallback {color:#a54b52!important;}
#totp-qr-panel[hidden],#totp-qr-fallback[hidden] {display:none!important;}
#security-key-otp-label[hidden] {display:none!important;}
.totp-secret {display:block;overflow-wrap:anywhere;padding:12px;border:1px dashed #cbd6ed;border-radius:10px;color:#284177;background:#f7f9ff;font:700 13px ui-monospace,Consolas,monospace;letter-spacing:.08em;}
.totp-secret-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.totp-secret-actions .security-secondary-button {min-width:0;padding-inline:7px;}
.security-secondary-button,.security-danger-button {min-height:36px;padding:0 12px;border:1px solid #dfe6f1;border-radius:9px;color:#475b7b;background:#fff;font:700 10px var(--font-body);cursor:pointer;}
.security-secondary-button:hover {background:#f5f8ff;}
.security-danger-button {border-color:#f0d6d6;color:#a64a51;background:#fff8f8;}
.totp-recovery-panel {display:grid;gap:10px;padding:13px;border:1px solid #cfe5d6;border-radius:12px;background:#f5fcf7;}
.totp-recovery-panel h4 {margin:0;color:#245a43;font-family:var(--font-display);font-size:12px;}
.totp-recovery-panel p {margin:0;color:#527665;font-size:9px;line-height:1.55;}
.totp-recovery-codes {white-space:pre-wrap;padding:10px;border-radius:8px;color:#183e2c;background:#fff;font:600 10px/1.8 ui-monospace,Consolas,monospace;}
.security-key-list {display:grid;gap:7px;margin:0;padding:0;list-style:none;}
.security-key-list li {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px;border:1px solid #edf0f5;border-radius:9px;background:#fff;}
.security-key-list li > span {display:grid;gap:3px;min-width:0;}
.security-key-list b {overflow:hidden;color:#34445e;font-size:10px;text-overflow:ellipsis;white-space:nowrap;}
.security-key-list small {color:#8d98a8;font-size:8px;}
.security-key-list button {flex:0 0 auto;border:0;color:#a54b52;background:transparent;font:700 9px var(--font-body);cursor:pointer;}
.security-key-empty {color:#8792a3;font-size:9px;}
.login-security-key {width:100%;margin-top:10px;}
.login-otp-option {display:block;width:100%;text-align:center;}
.login-otp-step {display:grid;gap:8px;margin-top:15px;padding-top:14px;border-top:1px solid #eff1f5;}
.login-otp-step h3 {margin:0;color:#263956;font-family:var(--font-display);font-size:15px;}
.login-otp-step > p {margin:0;color:#77869a;font-size:10px;line-height:1.55;}
.login-otp-step .auth-inline-link {margin-top:7px;}
.admin-security-link {display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border:1px solid #e5eaf2;border-radius:9px;color:#52627b;background:#fff;font-size:9px;font-weight:700;}
.admin-security-login-button {min-height:35px;margin-top:10px;padding:0 12px;border:1px solid #dfe6f1;border-radius:9px;color:#4b5f7f;background:#fff;font:700 9px var(--font-body);cursor:pointer;}
.admin-login-otp-step {display:grid;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #eff1f5;}
.admin-login-otp-step h2 {margin:0;font:700 17px var(--font-display);}
.admin-login-otp-step > p {margin:0;color:#77869a;font-size:10px;}
.login-security-feedback {margin:8px 0 0;color:#a54b52;font-size:10px;line-height:1.5;}
.auth-feedback[hidden] {display:none;}
.auth-feedback {color:#a54b52;font-size:10px;line-height:1.5;}
@media(max-width:720px) {.security-mfa-card {padding:14px;}.account-nav .admin-security-link {display:none;}.account-topbar .account-nav #admin-console-link {display:inline-flex;align-items:center;}}
.account-page .account-shell { padding-top:34px; }
.account-overview-metrics { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px; }
.account-overview-card { display:flex;align-items:center;gap:12px;min-width:0;min-height:74px;padding:12px 16px;border:1px solid #e6edf7;border-radius:15px;color:#263954;background:rgba(255,255,255,.96);box-shadow:0 8px 22px rgba(49,72,114,.045);text-align:left;cursor:pointer;transition:border-color .18s,transform .18s,box-shadow .18s; }
.account-overview-card:hover { border-color:#cbd8ed;box-shadow:0 10px 25px rgba(49,72,114,.08);transform:translateY(-1px); }
.account-overview-icon { display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;color:#5268ca;background:#f0f2ff;font-size:17px; }
.account-overview-card:first-child .account-overview-icon { color:#bf8b2b;background:#fff5dc; }
.account-overview-copy { display:grid;gap:3px;min-width:0;flex:1; }
.account-overview-copy b { color:#213550;font-family:var(--font-display);font-size:17px;line-height:1; }
.account-overview-copy small { overflow:hidden;color:#78879b;font-size:10px;text-overflow:ellipsis;white-space:nowrap; }
.account-overview-arrow { color:#8595ac;font-size:23px;line-height:1; }
@media (max-width:720px) {
  .account-section-menu-bar { width:min(100% - 34px,560px);min-height:40px; }
  .account-page .account-shell { padding-top:17px; }
  .account-overview-metrics { gap:8px;margin-top:10px; }
  .account-overview-card { gap:8px;min-height:64px;padding:9px 10px;border-radius:13px; }
  .account-overview-icon { flex-basis:32px;width:32px;height:32px;border-radius:10px;font-size:14px; }
  .account-overview-copy b { font-size:15px; }
  .account-overview-copy small { font-size:9px; }
}
.account-loading { width:min(1160px,calc(100% - 64px));margin:70px auto;padding:24px;border:1px solid #e8ecf3;border-radius:16px;color:#718198;background:#fff;text-align:center;font-size:13px; }
@media(max-width:760px){.account-loading{width:calc(100% - 34px);margin:38px auto;padding:20px;font-size:12px;}}

.account-favorites-section { margin-top:18px; }
.account-favorites-heading { display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px; }
.account-favorites-heading h2 { margin:5px 0 0;color:#1e304a;font-family:var(--font-display);font-size:20px;letter-spacing:-.04em; }
.account-favorites-total { color:#8290a4;font-size:10px;white-space:nowrap; }
.account-favorites-total b { color:#4c5ec1;font-family:var(--font-display);font-size:16px; }
.account-favorite-carousel { scroll-snap-type:x proximity;overscroll-behavior-x:contain;touch-action:pan-x;scroll-behavior:auto; }
.account-favorite-tile { position:relative;flex:0 0 142px;min-height:138px;padding:0;cursor:default; }
.account-favorite-open { width:100%;min-height:inherit;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:18px 6px 10px;border-radius:inherit;color:inherit;text-decoration:none;text-align:center; }
.account-favorite-open:hover { background:rgba(255,255,255,.55); }
.account-favorite-tile .app-favorite { position:absolute;z-index:2;top:5px;right:5px;width:27px;height:27px;margin:0;border-radius:9px;font-size:17px; }
.account-favorite-open .mobile-app-name { max-width:100%; }
.account-favorite-open .mobile-app-price.purchased { color:#5264c6; }
.account-favorite-open .mobile-app-rating { font-size:9px; }
.account-favorites-section .favorites-empty { min-height:112px;padding:18px; }
.account-favorites-section .favorites-empty > span { font-size:21px; }
.account-favorites-section .favorites-empty p { font-size:11px; }
@media(max-width:720px) {
  .account-favorites-section { margin-top:14px; }
  .account-favorites-heading h2 { font-size:18px; }
  .account-favorite-tile { flex-basis:132px;min-height:128px; }
}
