.account {
  margin-left: 2px;
  padding: 8px 12px;
  border: 1px solid #383838;
  border-radius: 6px;
  color: #f3f3f3;
  background: #171717;
  font-size: 12px;
  font-weight: 700;
}
.account:hover {
  border-color: #777;
  background: #222;
}
.account.signed-in {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border-color: #a80b14;
  border-radius: 50%;
  background: #3a090d;
  color: #fff;
  overflow: hidden;
}
.modal {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #000b;
  backdrop-filter: blur(8px);
}
.auth-card {
  position: relative;
  width: min(100%, 400px);
  padding: 30px;
  border: 1px solid #343434;
  border-radius: 12px;
  background: linear-gradient(150deg, #1b1b1b, #0d0d0d);
  box-shadow: 0 24px 100px #000;
}
.auth-card h2 {
  margin: 8px 0;
  font-size: 28px;
  letter-spacing: -0.8px;
}
.auth-card p {
  color: #aaa;
  line-height: 1.45;
}
.auth-card label {
  display: block;
  margin: 16px 0 0;
  color: #d4d4d4;
  font-size: 12px;
  font-weight: 700;
}
.auth-card input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  outline: 0;
  color: #fff;
  background: #111;
}
.auth-card input:focus {
  border-color: #9a1018;
}
.auth-submit {
  width: 100%;
  margin-top: 12px;
}
.auth-switch {
  display: block;
  width: 100%;
  margin-top: 14px;
  color: #c9c9c9;
  background: transparent;
  font-size: 12px;
  text-decoration: underline;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 4px;
  color: #aaa;
  background: transparent;
  font-size: 23px;
  line-height: 18px;
}
.form-error {
  min-height: 19px;
  margin: 12px 0 0 !important;
  color: #f1878c !important;
  font-size: 12px;
}
.account-card {
  min-height: 230px;
}
.sign-out {
  margin-top: 10px;
}
.account-card .secondary {
  margin: 0;
}

.account.signed-in { border-color: var(--profile-color, #a80b14); background: var(--profile-color, #3a090d); }
.account.signed-in .profile-avatar { width: 100%; height: 100%; border: 0; border-radius: inherit; background: var(--profile-color); box-shadow: none; font-size: 13px; }
.account.signed-in .profile-avatar img { border-radius: inherit; }
.account-hub { position: relative; width: min(100%, 760px); max-height: min(780px, calc(100vh - 40px)); overflow: auto; padding: 31px; border: 1px solid #393939; border-radius: 14px; background: linear-gradient(145deg, #1d1d1d, #0b0b0b 58%); box-shadow: 0 28px 100px #000; }
.account-hub h2 { margin: 7px 0 2px; font-size: 29px; letter-spacing: -1px; }
.account-email { margin: 0; color: #aaa; font-size: 13px; }
.account-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid #2d2d2d; }
.account-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.account-section-title h3 { margin: 0; color: #f5f5f5; font-size: 15px; }
.account-section-title span { color: #929292; font-size: 11px; }
.profiles { display: flex; flex-wrap: wrap; gap: 12px; }
.profile-card { position: relative; width: 94px; }
.profile-card > button:first-child { display: grid; width: 100%; gap: 6px; padding: 0; color: #cfcfcf; background: transparent; text-align: center; }
.profile-card.active > button:first-child { color: #fff; }
.profile-avatar { display: grid; width: 72px; height: 72px; margin: auto; place-items: center; border: 2px solid transparent; border-radius: 9px; background: var(--profile-color); color: #fff; font-size: 29px; font-weight: 850; box-shadow: inset 0 -18px 25px #0003; }
.profile-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.profile-card.active .profile-avatar { border-color: #fff; box-shadow: 0 0 0 2px #e21a26, inset 0 -18px 25px #0003; }
.profile-card b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.profile-card small { color: #909090; font-size: 10px; }
.profile-edit { position: absolute; top: -6px; right: 4px; width: 22px; height: 22px; border: 1px solid #555; border-radius: 50%; color: #eee; background: #202020; font-size: 12px; }
.profile-add { display: grid; width: 94px; gap: 7px; place-items: center; padding: 0; color: #aaa; background: transparent; font-size: 12px; }
.profile-add span { display: grid; width: 72px; height: 72px; place-items: center; border: 1px dashed #666; border-radius: 9px; font-size: 30px; }
.avatar-field { display: block; margin: 0 0 14px; }
.avatar-field > span { display: block; margin-bottom: 7px; color: #e5e5e5; font-size: 12px; font-weight: 750; }
.avatar-current { display: flex; align-items: center; gap: 12px; }
.avatar-current > span { display: block; width: 54px; height: 54px; }
.avatar-current .profile-avatar { width: 54px; height: 54px; }
.avatar-current .secondary { padding: 9px 12px; font-size: 12px; }
.avatar-picker { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; margin-top: 10px; padding: 9px; border: 1px solid #343434; border-radius: 9px; background: #111; }
.avatar-picker[hidden] { display: none; }
.avatar-picker button { padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 7px; background: #222; aspect-ratio: 1; }
.avatar-picker button:hover, .avatar-picker button.selected { border-color: #e21a26; box-shadow: 0 0 0 1px #e21a26; }
.avatar-picker img { display: block; width: 100%; height: 100%; object-fit: cover; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.account-toggle { position: relative; display: flex; margin: 0; padding: 11px 0; border-top: 1px solid #292929; cursor: pointer; }
.account-toggle span { padding-right: 48px; color: #eee; font-size: 12px; font-weight: 700; }
.account-toggle small, .account-row small { display: block; margin-top: 4px; color: #929292; font-size: 10px; font-weight: 400; line-height: 1.35; }
.account-toggle input { position: absolute; opacity: 0; }
.account-toggle i { position: absolute; top: 13px; right: 0; width: 34px; height: 19px; border-radius: 99px; background: #4a4a4a; }
.account-toggle i:after { position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #ddd; content: ""; transition: transform .18s; }
.account-toggle input:checked + i { background: #c9101a; }
.account-toggle input:checked + i:after { transform: translateX(15px); }
.account-select { display: block; margin-top: 14px; color: #cfcfcf; font-size: 11px; font-weight: 700; }
.account-select select { width: 100%; margin-top: 6px; padding: 9px; border: 1px solid #3a3a3a; border-radius: 6px; color: #fff; background: #141414; }
.account-row { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 0; border-top: 1px solid #292929; color: #eee; background: transparent; text-align: left; }
.account-row b { font-size: 12px; }
.account-row em { color: #e3232e; font-size: 11px; font-style: normal; font-weight: 800; }
.password-form { margin: 0 0 6px; }
.password-form label { display: block; color: #cfcfcf; font-size: 11px; font-weight: 700; }
.password-form input { width: 100%; margin: 6px 0 8px; padding: 9px; border: 1px solid #3a3a3a; border-radius: 6px; color: #fff; background: #141414; }
.password-form .secondary { padding: 8px 10px; font-size: 11px; }
.account-message { display: block; margin-top: 7px; color: #a7d8b0; font-size: 10px; }
.profile-editor .kids-check { display: flex; align-items: center; gap: 8px; }
.profile-editor .kids-check input { display: inline; width: auto; margin: 0; }

/* Full-page account experience */
.account-page { width: min(1120px, calc(100% - 40px)); min-height: calc(100vh - 120px); margin: 0 auto; padding: 32px 0 76px; }
.account-page-top { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; padding: 26px 0 32px; border-bottom: 1px solid #292929; }
.account-back { justify-self: start; grid-column: 1 / -1; padding: 0; color: #b8b8b8; background: transparent; font-size: 13px; font-weight: 700; }
.account-back:hover { color: #fff; }
.account-heading h1 { margin: 7px 0 4px; color: #fff; font-size: clamp(32px, 4vw, 46px); letter-spacing: -1.8px; }
.account-heading p { margin: 0; color: #a5a5a5; font-size: 14px; }
.account-active-profile { display: flex; align-items: center; gap: 12px; min-width: 180px; padding: 10px 14px 10px 10px; border: 1px solid #353535; border-radius: 10px; background: linear-gradient(135deg, #1c1c1c, #101010); }
.account-active-profile .profile-avatar { width: 46px; height: 46px; margin: 0; border-radius: 8px; font-size: 18px; }
.account-active-profile b, .account-active-profile small { display: block; }
.account-active-profile b { color: #f4f4f4; font-size: 13px; }
.account-active-profile small { margin-top: 3px; color: #979797; font-size: 11px; }
.account-page .account-section { margin-top: 28px; padding: 26px; border: 1px solid #303030; border-radius: 12px; background: linear-gradient(145deg, #191919, #101010 72%); box-shadow: 0 18px 48px #0002; }
.account-page .account-section-title { align-items: center; margin-bottom: 22px; }
.account-page .account-section-title > div { min-width: 0; }
.account-page .account-section-title .brand { display: block; margin-bottom: 7px; color: #ed1b27; font-size: 10px; letter-spacing: 1.7px; }
.account-page .account-section-title h2 { margin: 0; color: #fff; font-size: 21px; letter-spacing: -.6px; }
.account-page .account-section-title > span { color: #929292; font-size: 12px; text-align: right; }
.account-page .profiles { gap: 20px; }
.account-page .profile-card, .account-page .profile-add { width: 108px; }
.account-page .profile-avatar, .account-page .profile-add span { width: 84px; height: 84px; }
.account-page .profile-avatar { font-size: 32px; }
.account-page .profile-card b { font-size: 13px; }
.account-page .profile-card small { font-size: 11px; }
.account-page .profile-edit { top: -4px; right: 8px; }
.account-page .account-grid { gap: 22px; }
.account-page .account-grid .account-section { margin-top: 0; }
.account-page .account-toggle:first-of-type, .account-page .account-row:first-of-type { border-top: 0; }
.account-page .account-toggle { padding: 14px 0; }
.account-page .account-toggle span { font-size: 13px; }
.account-page .account-toggle small, .account-page .account-row small { font-size: 11px; }
.account-page .account-toggle i { top: 16px; }
.account-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 4px; }
.account-page .account-select { margin-top: 12px; font-size: 12px; }
.account-page .account-select select { padding: 11px; }
.account-page .account-row { padding: 15px 0; }
.account-page .account-row b { font-size: 13px; }
.account-page .password-form { padding: 16px 0; border-top: 1px solid #292929; }
.account-page .password-form input { padding: 11px; }
.account-page .account-signout { margin-top: 4px; }
.account-page .account-signout em { color: #ef2832; }

/* Dedicated profile settings */
.profile-settings-page { width: min(960px, calc(100% - 40px)); min-height: calc(100vh - 120px); margin: 0 auto; padding: 32px 0 76px; }
.profile-settings-top { padding: 26px 0 30px; border-bottom: 1px solid #292929; }
.profile-settings-top .account-back { display: block; margin-bottom: 28px; }
.profile-settings-top h1 { margin: 8px 0 7px; color: #fff; font-size: clamp(32px, 4vw, 46px); letter-spacing: -1.8px; }
.profile-settings-top p { margin: 0; color: #a8a8a8; font-size: 14px; }
.profile-settings-hero { display: flex; align-items: center; gap: 22px; margin-top: 28px; padding: 24px; border: 1px solid #343434; border-radius: 12px; background: linear-gradient(135deg, #1c1c1c, #101010); }
.profile-settings-avatar .profile-avatar { width: 94px; height: 94px; margin: 0; border-radius: 12px; font-size: 36px; }
.profile-name-field { display: block; min-width: min(420px, 100%); color: #e7e7e7; font-size: 12px; font-weight: 750; }
.profile-name-field input, .profile-pin-field input { display: block; width: 100%; margin-top: 7px; padding: 12px; border: 1px solid #3e3e3e; border-radius: 7px; outline: 0; color: #fff; background: #111; font: inherit; }
.profile-name-field input:focus, .profile-pin-field input:focus { border-color: #d41520; }
.profile-settings-hero small { display: block; margin-top: 8px; color: #929292; font-size: 11px; }
.profile-settings-section { margin-top: 22px; padding: 25px; border: 1px solid #303030; border-radius: 12px; background: linear-gradient(145deg, #191919, #101010 72%); }
.profile-settings-section-head .brand { display: block; margin-bottom: 7px; color: #ed1b27; font-size: 10px; letter-spacing: 1.7px; }
.profile-settings-section-head h2 { margin: 0; color: #fff; font-size: 21px; letter-spacing: -.6px; }
.profile-settings-section-head p { margin: 7px 0 0; color: #979797; font-size: 12px; line-height: 1.45; }
.profile-avatar-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.profile-avatar-grid button { overflow: hidden; padding: 0 0 8px; border: 1px solid #363636; border-radius: 9px; color: #bdbdbd; background: #111; font-size: 10px; font-weight: 700; transition: border-color .18s, transform .18s, box-shadow .18s; }
.profile-avatar-grid button:hover { border-color: #888; transform: translateY(-2px); }
.profile-avatar-grid button.selected { border-color: #e21a26; color: #fff; box-shadow: 0 0 0 1px #e21a26, 0 9px 24px #7c0b1238; }
.profile-avatar-grid img { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 8px; object-fit: cover; }
.profile-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.profile-settings-grid .profile-settings-section { min-height: 212px; }
.profile-setting-toggle { position: relative; display: flex; margin-top: 22px; padding: 15px 46px 15px 0; border-top: 1px solid #2a2a2a; cursor: pointer; }
.profile-setting-toggle b, .profile-setting-toggle small { display: block; }
.profile-setting-toggle b { color: #f0f0f0; font-size: 13px; }
.profile-setting-toggle small { margin-top: 4px; color: #929292; font-size: 11px; line-height: 1.4; }
.profile-setting-toggle input { position: absolute; opacity: 0; }
.profile-setting-toggle i { position: absolute; top: 17px; right: 0; width: 36px; height: 20px; border-radius: 99px; background: #4a4a4a; }
.profile-setting-toggle i:after { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #ddd; content: ""; transition: transform .18s; }
.profile-setting-toggle input:checked + i { background: #c9101a; }
.profile-setting-toggle input:checked + i:after { transform: translateX(16px); }
.profile-pin-field { display: block; margin-top: 21px; color: #e7e7e7; font-size: 12px; font-weight: 750; }
.profile-remove-pin { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #bdbdbd; font-size: 11px; }
.profile-remove-pin input { width: 15px; height: 15px; accent-color: #d41520; }
.profile-settings-error { margin-top: 14px !important; }
.profile-settings-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.profile-settings-actions .primary { min-width: 170px; padding: 12px 18px; }
.profile-delete { padding: 10px 0; color: #e64c55; background: transparent; font-size: 12px; font-weight: 750; }
.profile-delete:hover { color: #fff; text-decoration: underline; }

@media (max-width: 650px) {
  .account-hub { max-height: calc(100vh - 24px); padding: 25px 18px; border-radius: 12px; }
  .account-hub h2 { font-size: 25px; }
  .account-grid { grid-template-columns: 1fr; gap: 0; }
  .profiles { gap: 10px; }
  .profile-card, .profile-add { width: 76px; }
  .profile-avatar, .profile-add span { width: 62px; height: 62px; }
  .profile-avatar { font-size: 24px; }
  .modal { padding: 12px; }
  .auth-card { padding: 25px 22px; }
  .auth-card input, .auth-card select { font-size: 16px; }
  .account-page { width: min(100% - 28px, 600px); padding: 18px 0 48px; }
  .account-page-top { grid-template-columns: 1fr; gap: 18px; padding: 12px 0 24px; }
  .account-active-profile { justify-self: stretch; width: 100%; }
  .account-page .account-section { margin-top: 18px; padding: 19px 16px; border-radius: 10px; }
  .account-page .account-section-title { align-items: start; gap: 12px; margin-bottom: 18px; }
  .account-page .account-section-title h2 { font-size: 19px; }
  .account-page .account-section-title > span { font-size: 11px; }
  .account-page .profiles { gap: 14px 9px; }
  .account-page .profile-card, .account-page .profile-add { width: 76px; }
  .account-page .profile-avatar, .account-page .profile-add span { width: 62px; height: 62px; }
  .account-page .profile-avatar { font-size: 24px; }
  .account-page .account-grid { grid-template-columns: 1fr; gap: 18px; }
  .account-selects { grid-template-columns: 1fr; gap: 0; }
  .profile-settings-page { width: min(100% - 28px, 600px); padding: 18px 0 48px; }
  .profile-settings-top { padding: 12px 0 24px; }
  .profile-settings-top .account-back { margin-bottom: 24px; }
  .profile-settings-hero { gap: 16px; margin-top: 18px; padding: 17px; }
  .profile-settings-avatar .profile-avatar { width: 68px; height: 68px; border-radius: 9px; font-size: 26px; }
  .profile-name-field { min-width: 0; }
  .profile-settings-section { margin-top: 18px; padding: 19px 16px; border-radius: 10px; }
  .profile-settings-section-head h2 { font-size: 19px; }
  .profile-avatar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .profile-settings-grid { grid-template-columns: 1fr; gap: 0; }
  .profile-settings-grid .profile-settings-section { min-height: 0; }
  .profile-settings-grid .profile-settings-section + .profile-settings-section { margin-top: 18px; }
  .profile-settings-actions { align-items: stretch; flex-direction: column; }
  .profile-settings-actions .primary { width: 100%; }
  .profile-delete { order: 2; }
}

.profile-gate { min-height: 100vh; padding: 28px; color: #fff; background: radial-gradient(ellipse at 50% 10%, #301015 0%, #070707 42%, #030303 100%); text-align: center; }
.profile-gate-logo { position: absolute; top: 22px; left: 24px; padding: 0; background: transparent; }
.profile-gate-logo img { display: block; width: 102px; height: auto; }
.profile-gate section { max-width: 680px; margin: 14vh auto 0; }
.profile-gate h1 { margin: 8px 0; font-size: clamp(34px, 5vw, 52px); letter-spacing: -1.8px; }
.profile-gate p { max-width: 430px; margin: 0 auto; color: #a9a9a9; font-size: 14px; line-height: 1.5; }
.profile-chooser { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 36px 0 28px; }
.profile-choice { display: grid; width: 112px; gap: 8px; padding: 0; color: #ddd; background: transparent; text-align: center; }
.profile-choice .profile-avatar { width: 96px; height: 96px; font-size: 36px; transition: transform .18s, box-shadow .18s; }
.profile-choice:hover .profile-avatar { box-shadow: 0 0 0 2px #e21a26, 0 16px 32px #0008, inset 0 -18px 25px #0003; transform: translateY(-3px); }
.profile-choice b { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.profile-choice small { color: #929292; font-size: 11px; }
.manage-profiles { padding: 9px 14px; border: 1px solid #555; border-radius: 6px; color: #eee; background: #171717; font-size: 12px; font-weight: 750; }
.manage-profiles:hover { border-color: #e21a26; background: #2a1012; }
.profile-unlock .profile-avatar { margin: 18px auto 0; }
.profile-unlock .auth-card { text-align: center; }
.profile-unlock .auth-card label { text-align: left; }

@media (max-width: 650px) {
  .profile-gate { padding: 22px 16px; }
  .profile-gate-logo { top: 17px; left: 17px; }
  .profile-gate section { margin-top: 19vh; }
  .profile-gate p { font-size: 13px; }
  .profile-chooser { gap: 17px 13px; margin-top: 30px; }
  .profile-choice { width: 82px; }
  .profile-choice .profile-avatar { width: 70px; height: 70px; font-size: 27px; }
}

/* Cleaner streaming-service account layout */
.account-page { width: min(1080px, calc(100% - 48px)); padding-top: 18px; }
.account-page-top { grid-template-columns: 1fr auto; gap: 20px; padding: 16px 0 28px; border-color: #303030; }
.account-page-top .brand, .account-page .account-section-title .brand { display: none; }
.account-back { color: #8c8c8c; font-size: 12px; font-weight: 600; }
.account-heading h1 { margin: 0 0 7px; font-size: 42px; letter-spacing: -1.6px; }
.account-active-profile { min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.account-active-profile .profile-avatar { width: 58px; height: 58px; border-radius: 4px; }
.account-active-profile b { font-size: 12px; }
.account-active-profile small { font-size: 10px; }
.account-page .account-section { margin-top: 0; padding: 30px 0; border: 0; border-radius: 0; border-bottom: 1px solid #303030; background: transparent; box-shadow: none; }
.account-page .account-section-title { margin-bottom: 20px; }
.account-page .account-section-title h2 { font-size: 20px; font-weight: 700; letter-spacing: -.4px; }
.account-page .account-section-title > span { color: #777; font-size: 11px; }
.account-page .profiles { gap: 24px; }
.account-page .profile-card, .account-page .profile-add { width: 92px; }
.account-page .profile-avatar, .account-page .profile-add span { width: 74px; height: 74px; border-radius: 4px; }
.account-page .profile-card b { margin-top: 2px; font-size: 12px; }
.account-page .profile-card small { display: none; }
.account-page .profile-edit { top: -8px; right: 4px; width: 20px; height: 20px; border-color: #5b5b5b; background: #1b1b1b; }
.account-page .profile-add { gap: 7px; }
.account-page .profile-add span { border-color: #555; border-radius: 4px; }
.account-page .account-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; padding: 0; }
.account-page .account-grid .account-section { padding: 32px 0 24px; }
.account-page .account-toggle { padding: 16px 0; }
.account-page .account-toggle span, .account-page .account-row b { font-size: 12px; }
.account-page .account-toggle small, .account-page .account-row small { color: #777; font-size: 10px; }
.account-page .account-toggle i { top: 18px; width: 32px; height: 18px; }
.account-page .account-toggle i:after { width: 12px; height: 12px; }
.account-page .account-toggle input:checked + i:after { transform: translateX(14px); }
.account-selects { gap: 12px; }
.account-page .account-select { color: #bdbdbd; font-size: 11px; }
.account-page .account-select select { border-color: #3b3b3b; border-radius: 3px; background: #151515; }
.account-page .account-row { padding: 16px 0; }
.account-page .password-form { padding: 16px 0; }
.account-page .password-form input { border-radius: 3px; background: #151515; }
.account-page .password-form .secondary { border-radius: 3px; background: #333; }
.account-page .account-signout { border-bottom: 0; }

.install-card { width: min(100%, 390px); }
.install-steps { display: grid; gap: 10px; margin: 20px 0 0; padding-left: 20px; color: #d7d7d7; font-size: 13px; line-height: 1.45; }
.install-steps b { color: #fff; }
.install-card .primary { width: 100%; margin-top: 12px; }

.my-list-page { width: min(1080px, calc(100% - 48px)); min-height: calc(100vh - 120px); margin: 0 auto; padding: 34px 0 70px; }
.my-list-page > .account-back { display: block; margin-bottom: 28px; }
.my-list-page h1 { margin: 8px 0 7px; color: #fff; font-size: clamp(32px, 4vw, 44px); letter-spacing: -1.5px; }
.my-list-page > p { margin: 0; color: #9b9b9b; font-size: 14px; }
.favourites-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; }
.favourites-filters { display: flex; gap: 7px; }
.favourites-filters button { min-width: 58px; padding: 8px 11px; border: 1px solid #383838; border-radius: 4px; color: #bdbdbd; background: #121212; font-size: 12px; font-weight: 700; }
.favourites-filters button:hover, .favourites-filters button.active { border-color: #d31b25; color: #fff; background: #310d10; }
.favourites-toolbar > label { display: flex; align-items: center; gap: 7px; color: #9c9c9c; font-size: 11px; font-weight: 700; }
.favourites-toolbar select { padding: 8px 9px; border: 1px solid #383838; border-radius: 4px; color: #ececec; background: #121212; font-size: 12px; }
.my-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 22px 16px; margin-top: 32px; }
.my-list-card { min-width: 0; }
.my-list-open { display: block; width: 100%; overflow: hidden; padding: 0; color: #ededed; background: transparent; text-align: left; }
.my-list-open img { display: block; width: 100%; aspect-ratio: 2 / 3; border-radius: 4px; object-fit: cover; background: #151515; transition: transform .2s; }
.my-list-open:hover img { transform: scale(1.025); }
.my-list-open b, .my-list-open small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-list-open b { margin-top: 9px; font-size: 13px; }
.my-list-open small { margin-top: 3px; color: #898989; font-size: 11px; }
.my-list-remove { margin-top: 7px; padding: 0; color: #a0a0a0; background: transparent; font-size: 11px; text-decoration: underline; }
.my-list-remove:hover { color: #ee313b; }
.my-list-empty { max-width: 430px; margin: 54px 0; padding: 30px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; }
.my-list-empty b { color: #fff; font-size: 19px; }
.my-list-empty p { margin: 8px 0 18px; color: #999; font-size: 13px; line-height: 1.5; }
.favourites-locked { display: grid; min-height: calc(100vh - 150px); place-items: center; }
.favourites-locked .primary { min-width: 132px; }

@media (max-width: 650px) {
  .account-page { width: min(100% - 28px, 600px); padding-top: 12px; }
  .account-page-top { grid-template-columns: 1fr auto; gap: 14px; padding-bottom: 22px; }
  .account-back { grid-column: 1 / -1; }
  .account-heading h1 { font-size: 34px; }
  .account-active-profile .profile-avatar { width: 48px; height: 48px; }
  .account-active-profile > span { display: none; }
  .account-page .account-section { padding: 24px 0; }
  .account-page .account-section-title { align-items: start; margin-bottom: 18px; }
  .account-page .account-section-title h2 { font-size: 18px; }
  .account-page .account-section-title > span { max-width: 130px; text-align: right; }
  .account-page .profiles { gap: 15px 11px; }
  .account-page .profile-card, .account-page .profile-add { width: 72px; }
  .account-page .profile-avatar, .account-page .profile-add span { width: 60px; height: 60px; }
  .account-page .account-grid { grid-template-columns: 1fr; gap: 0; }
  .account-page .account-grid .account-section { padding: 26px 0; }
  .my-list-page { width: min(100% - 28px, 600px); padding: 18px 0 48px; }
  .my-list-page > .account-back { margin-bottom: 24px; }
  .favourites-toolbar { align-items: flex-start; flex-direction: column; margin-top: 20px; }
  .favourites-toolbar > label { width: 100%; justify-content: space-between; }
  .favourites-toolbar select { flex: 1; max-width: 168px; }
  .my-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 10px; margin-top: 24px; }
  .my-list-open b { font-size: 11px; }
  .my-list-open small, .my-list-remove { font-size: 9px; }
}
