.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-name-field input,
  .profile-pin-field input { font-size: 16px; }
  .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; }

.title-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; color: #a5a5a5; font-size: 11px; }
.title-feedback > span { margin-right: 2px; font-weight: 700; }
.title-feedback button { padding: 7px 10px; border: 1px solid #3b3b3b; border-radius: 999px; color: #d4d4d4; background: #171717; font-size: 11px; font-weight: 750; }
.title-feedback button:hover { border-color: #8c2730; color: #fff; background: #261013; }
.title-feedback button.liked { border-color: #b31b25; color: #fff; background: #441116; }
.title-share { display: inline-flex; margin-top: 10px; padding: 4px 0; color: #bcbcbc; background: transparent; font-size: 11px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.title-share:hover { color: #fff; }
.seven-toast { position: fixed; z-index: 30; right: max(18px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); max-width: min(320px, calc(100vw - 36px)); padding: 11px 14px; border: 1px solid #4a282b; border-radius: 8px; color: #f5f5f5; background: #1a1314; box-shadow: 0 12px 32px #0009; font-size: 12px; font-weight: 700; animation: seven-toast-in .2s ease-out; }
.seven-update { position: fixed; z-index: 31; right: max(18px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; max-width: min(360px, calc(100vw - 36px)); padding: 10px 10px 10px 14px; border: 1px solid #4a282b; border-radius: 8px; color: #f5f5f5; background: #171313; box-shadow: 0 12px 32px #0009; font-size: 12px; font-weight: 700; animation: seven-toast-in .2s ease-out; }
.seven-update button { flex: 0 0 auto; padding: 8px 11px; border-radius: 5px; color: #fff; background: #c91420; font-size: 11px; font-weight: 800; }
.seven-update button:hover { background: #e21c28; }
@keyframes seven-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.search-filters { display: flex; gap: 7px; margin: -9px 0 20px; }
.search-filters button { min-width: 64px; padding: 8px 11px; border: 1px solid #383838; border-radius: 4px; color: #bdbdbd; background: #121212; font-size: 12px; font-weight: 700; }
.search-filters button:hover, .search-filters button.active { border-color: #d31b25; color: #fff; background: #310d10; }

.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; }

.profile-stats-page { width: min(980px, calc(100% - 40px)); min-height: calc(100vh - 120px); margin: 0 auto; padding: 32px 0 76px; }
.profile-stats-page > .account-back { display: block; margin-bottom: 28px; }
.profile-stats-page h1 { margin: 8px 0 7px; color: #fff; font-size: clamp(32px, 4vw, 44px); letter-spacing: -1.5px; }
.profile-stats-page > p { margin: 0; color: #9b9b9b; font-size: 14px; }
.stats-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 28px 0 18px; }
.stats-summary > div, .stats-detail-grid article { padding: 18px; border: 1px solid #303030; border-radius: 10px; background: linear-gradient(145deg, #191919, #101010); }
.stats-summary strong, .stats-summary span { display: block; }
.stats-summary strong { color: #fff; font-size: clamp(21px, 3vw, 29px); letter-spacing: -.8px; }
.stats-summary span { margin-top: 6px; color: #989898; font-size: 11px; font-weight: 700; }
.stats-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats-detail-grid article { min-height: 122px; }
.stats-detail-grid article > strong { display: block; margin-top: 8px; color: #fff; font-size: 24px; }
.stats-detail-grid article p { margin: 6px 0 0; color: #949494; font-size: 12px; line-height: 1.45; }
.stats-genres { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.stats-genres span { padding: 7px 9px; border: 1px solid #4a3033; border-radius: 999px; color: #e4e4e4; background: #211214; font-size: 11px; font-weight: 700; }
.stats-genres small { color: #949494; font-size: 12px; }
.stats-most-watched { margin-top: 27px; }
.stats-title-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stats-title { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; overflow: hidden; padding: 8px; border: 1px solid #2f2f2f; border-radius: 8px; color: #fff; background: #121212; text-align: left; }
.stats-title:hover { border-color: #7b272d; background: #181010; }
.stats-title img { width: 92px; height: 52px; border-radius: 5px; object-fit: cover; background: #1d1d1d; }
.stats-title b, .stats-title small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-title b { font-size: 13px; }
.stats-title small { margin-top: 5px; color: #a5a5a5; font-size: 11px; }
.stats-empty { max-width: 480px; margin: 48px 0; padding: 30px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; }
.stats-empty b { color: #fff; font-size: 19px; }
.stats-empty p { margin: 8px 0 18px; color: #999; font-size: 13px; line-height: 1.5; }

/* Categorized account hub */
.account-page-v2 { width: min(1120px, calc(100% - 48px)); padding-top: 24px; }
.account-page-v2 .account-page-top { gap: 18px; padding: 8px 0 26px; }
.account-page-v2 .account-page-top .brand, .account-page-v2 .account-section-title .brand { display: block; margin-bottom: 6px; color: #e41b27; font-size: 10px; letter-spacing: 1.55px; }
.account-page-v2 .account-heading h1 { margin: 0 0 7px; font-size: 42px; }
.account-page-v2 .account-heading p { margin: 0; color: #999; font-size: 13px; }
.account-page-v2 .account-active-profile { display: flex; align-items: center; gap: 10px; min-width: 155px; padding: 7px; border: 1px solid #323232; border-radius: 8px; background: #121212; }
.account-page-v2 .account-active-profile .profile-avatar { width: 48px; height: 48px; border-radius: 5px; }
.account-page-v2 .account-active-profile > span { display: block; }
.account-page-v2 .account-active-profile b { font-size: 12px; }
.account-page-v2 .account-active-profile small { color: #9b9b9b; font-size: 10px; }
.account-page-v2 .account-section { margin-top: 18px; padding: 22px; border: 1px solid #303030; border-radius: 10px; background: linear-gradient(145deg, #181818, #101010 78%); box-shadow: none; }
.account-page-v2 .account-section-title { margin-bottom: 17px; }
.account-page-v2 .account-section-title h2 { font-size: 20px; font-weight: 750; letter-spacing: -.5px; }
.account-page-v2 .account-section-title > span { color: #929292; font-size: 11px; }
.account-page-v2 .account-profiles { padding-bottom: 20px; }
.account-page-v2 .profiles { gap: 18px; }
.account-page-v2 .profile-card, .account-page-v2 .profile-add { width: 84px; }
.account-page-v2 .profile-avatar, .account-page-v2 .profile-add span { width: 66px; height: 66px; border-radius: 5px; }
.account-page-v2 .profile-card b { margin-top: 2px; font-size: 12px; }
.account-page-v2 .profile-card small { display: none; }
.account-page-v2 .profile-edit { top: -7px; right: 3px; width: 20px; height: 20px; }
.account-page-v2 .profile-add { gap: 7px; }
.account-page-v2 .profile-add span { border-color: #555; border-radius: 5px; }
.account-dashboard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.account-page-v2 .account-dashboard .account-section { margin-top: 0; }
.account-page-v2 .account-library, .account-page-v2 .account-playback { min-height: 354px; }
.account-page-v2 .account-safety { grid-column: 1 / -1; }
.account-page-v2 .account-row { padding: 14px 0; transition: color .16s, background .16s; }
.account-page-v2 .account-row:hover b { color: #fff; }
.account-page-v2 .account-row b { font-size: 13px; }
.account-page-v2 .account-row small, .account-page-v2 .account-toggle small { color: #858585; font-size: 10px; }
.account-page-v2 .account-row em { min-width: 38px; text-align: right; }
.account-page-v2 .account-toggle { padding: 14px 0; }
.account-page-v2 .account-toggle span { font-size: 13px; }
.account-page-v2 .account-toggle i { top: 16px; }
.account-page-v2 .account-selects { gap: 10px; }
.account-page-v2 .account-select { color: #cfcfcf; font-size: 11px; }
.account-page-v2 .account-select select, .account-page-v2 .password-form input { border-color: #3a3a3a; border-radius: 5px; background: #101010; }
.account-security-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 34px; align-items: start; }
.account-page-v2 .account-security-content .account-row:first-child { border-top: 0; }
.account-page-v2 .password-form { margin: 0; padding: 0 0 2px; border-top: 0; }
.account-page-v2 .password-form label { font-size: 12px; }
.account-page-v2 .password-form input { padding: 11px; font-size: 13px; }
.account-page-v2 .password-form .secondary { border-radius: 4px; background: #303030; }

/* Account workspace with collapsible categories */
.account-workspace-page { width: min(1120px, calc(100% - 48px)); padding-top: 24px; }
.account-workspace-page .account-page-top { gap: 18px; padding: 8px 0 26px; }
.account-workspace-page .account-page-top .brand { display: block; margin-bottom: 6px; color: #e41b27; font-size: 10px; letter-spacing: 1.55px; }
.account-workspace-page .account-heading h1 { margin: 0 0 7px; font-size: 42px; }
.account-workspace-page .account-heading p { margin: 0; color: #999; font-size: 13px; }
.account-workspace-page .account-active-profile { display: flex; align-items: center; gap: 10px; min-width: 155px; padding: 7px; border: 1px solid #323232; border-radius: 8px; background: #121212; }
.account-workspace-page .account-active-profile .profile-avatar { width: 48px; height: 48px; border-radius: 5px; }
.account-workspace-page .account-active-profile > span { display: block; }
.account-workspace-page .account-workspace { display: grid; gap: 14px; align-items: start; transition: grid-template-columns .24s ease; }
.account-workspace-page .account-workspace.nav-open { grid-template-columns: 210px minmax(0, 1fr); }
.account-workspace-page .account-workspace.nav-closed { grid-template-columns: 58px minmax(0, 1fr); }
.account-sidebar { position: sticky; top: 14px; overflow: hidden; padding: 8px; border: 1px solid #303030; border-radius: 10px; background: linear-gradient(145deg, #181818, #101010); }
.account-sidebar > nav { display: grid; gap: 4px; margin-top: 8px; }
.account-nav-toggle, .account-nav-item { display: flex; align-items: center; width: 100%; min-height: 42px; gap: 10px; overflow: hidden; padding: 0 10px; border-radius: 6px; color: #adadad; background: transparent; font-size: 12px; font-weight: 750; text-align: left; white-space: nowrap; }
.account-nav-toggle { min-height: 36px; border-bottom: 1px solid #2c2c2c; color: #d5d5d5; font-size: 11px; }
.account-nav-toggle:hover, .account-nav-item:hover { color: #fff; background: #242424; }
.account-nav-item i { display: grid; width: 18px; flex: 0 0 18px; place-items: center; color: #b4b4b4; font-size: 16px; font-style: normal; }
.account-nav-item.active { color: #fff; background: #3a1014; box-shadow: inset 2px 0 #db1a25; }
.account-nav-item.active i { color: #fa3340; }
.nav-closed .account-sidebar { padding: 8px; }
.nav-closed .account-nav-toggle, .nav-closed .account-nav-item { justify-content: center; gap: 0; padding: 0; }
.nav-closed .account-nav-toggle span, .nav-closed .account-nav-item span { display: none; }
.nav-closed .account-nav-toggle { font-size: 17px; }
.account-workspace-content { min-width: 0; }
.account-content-panel { min-height: 430px; padding: 28px; border: 1px solid #303030; border-radius: 10px; background: linear-gradient(145deg, #191919, #101010 78%); }
.account-content-heading { padding-bottom: 21px; border-bottom: 1px solid #303030; }
.account-content-heading .brand, .password-card .brand { display: block; margin-bottom: 7px; color: #e41b27; font-size: 10px; letter-spacing: 1.55px; }
.account-content-heading h2 { margin: 0; color: #fff; font-size: 27px; letter-spacing: -.8px; }
.account-content-heading p { margin: 7px 0 0; color: #8f8f8f; font-size: 12px; line-height: 1.45; }
.account-profiles-panel .profiles { gap: 22px; margin-top: 24px; }
.account-profiles-panel .profile-card, .account-profiles-panel .profile-add { width: 94px; }
.account-profiles-panel .profile-avatar, .account-profiles-panel .profile-add span { width: 74px; height: 74px; border-radius: 5px; }
.account-profiles-panel .profile-card b { margin-top: 3px; font-size: 12px; }
.account-profiles-panel .profile-edit { top: -7px; right: 3px; }
.account-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 21px; }
.account-action-card { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 84px; padding: 14px; border: 1px solid #353535; border-radius: 8px; color: #e8e8e8; background: #141414; text-align: left; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.account-action-card:hover { border-color: #8d2931; background: #1d1214; transform: translateY(-1px); }
.account-action-card > i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 7px; color: #ff3a45; background: #351114; font-size: 17px; font-style: normal; }
.account-action-card b, .account-action-card small { display: block; }
.account-action-card b { overflow: hidden; color: #fff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.account-action-card small { margin-top: 5px; color: #969696; font-size: 10px; line-height: 1.35; }
.account-action-card em { color: #e72a34; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
.settings-stack { max-width: 670px; }
.settings-stack .account-toggle:first-child { border-top: 0; }
.settings-stack .account-toggle { padding: 17px 0; }
.settings-stack .account-toggle span { font-size: 13px; }
.settings-stack .account-toggle small { color: #8d8d8d; font-size: 10px; }
.settings-stack .account-toggle i { top: 19px; }
.settings-stack .account-selects { gap: 12px; margin-top: 5px; }
.settings-stack .account-select { font-size: 11px; }
.settings-stack .account-select select { border-color: #3a3a3a; border-radius: 5px; background: #101010; }
.account-security-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 20px; align-items: start; }
.account-security-layout .account-action-grid { grid-template-columns: 1fr; margin-top: 21px; }
.password-card { margin-top: 21px; padding: 18px; border: 1px solid #353535; border-radius: 8px; background: #121212; }
.password-card label { color: #d7d7d7; font-size: 12px; }
.password-card input { padding: 11px; border-color: #3a3a3a; border-radius: 5px; background: #0e0e0e; font-size: 13px; }
.password-card .secondary { border-radius: 4px; background: #333; }

/* Compact profile editor, designed around a phone-first settings flow */
.profile-settings-mobile-first { width: min(620px, calc(100% - 40px)); }
.profile-settings-mobile-top { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; margin-bottom: 24px; }
.profile-settings-mobile-top .account-back { grid-column: auto; width: 32px; height: 32px; padding: 0; border-radius: 50%; color: #fff; font-size: 25px; line-height: 26px; }
.profile-settings-mobile-top h1 { grid-column: 2; margin: 0; color: #fff; font-size: 24px; text-align: center; letter-spacing: -.6px; }
.profile-settings-switch { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #383838; border-radius: 50%; color: #e7e7e7; background: #151515; font-size: 16px; transition: border-color .18s, background .18s, transform .18s; }
.profile-settings-switch:hover { border-color: #d92c36; background: #281114; transform: rotate(180deg); }
.profile-mobile-identity { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center; padding: 0 0 24px; }
.profile-mobile-identity .profile-settings-avatar, .profile-mobile-identity .profile-avatar { width: 88px; height: 88px; }
.profile-avatar-change { position: absolute; top: 60px; left: 62px; display: grid; width: 28px; height: 28px; place-items: center; border: 2px solid #070707; border-radius: 5px; color: #111; background: #e9e9e9; font-size: 14px; }
.profile-avatar-change:hover { background: #fff; }
.profile-mobile-identity .profile-name-field { margin: 0; }
.profile-mobile-identity .profile-name-field input { margin-top: 7px; padding: 13px; border-color: #4b4b4b; border-radius: 4px; background: #151515; font-size: 15px; }
.profile-avatar-chooser { margin: 0 0 15px; padding: 16px; border: 1px solid #303030; border-radius: 8px; background: #121212; }
.profile-avatar-chooser[hidden] { display: none; }
.profile-avatar-chooser .brand { display: block; margin-bottom: 12px; }
.profile-avatar-chooser .profile-avatar-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.profile-avatar-upload { position: relative; display: grid; overflow: hidden; min-height: 0; padding: 0 0 8px; place-items: center; border: 1px dashed #5a5a5a; border-radius: 9px; color: #bdbdbd; background: #111; font-size: 10px; font-weight: 700; cursor: pointer; }
.profile-avatar-upload:hover { border-color: #e23a44; color: #fff; background: #211012; }
.profile-avatar-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.profile-avatar-upload span { display: grid; width: 100%; aspect-ratio: 1; place-items: center; color: #e43a44; font-size: 30px; line-height: 1; }
.profile-avatar-upload b { padding-bottom: 2px; font-size: 10px; }
.profile-mobile-settings { display: grid; gap: 7px; }
.profile-mobile-row { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 72px; padding: 12px; border: 1px solid #303030; border-radius: 7px; color: #eee; background: #191919; }
.profile-mobile-row > i { display: grid; width: 28px; height: 28px; place-items: center; color: #d5d5d5; font-size: 15px; font-style: normal; }
.profile-mobile-row b, .profile-mobile-row small { display: block; }
.profile-mobile-row b { color: #f6f6f6; font-size: 12px; }
.profile-mobile-row small { margin-top: 3px; color: #999; font-size: 10px; line-height: 1.3; }
.profile-mobile-select select { width: auto; min-width: 64px; max-width: 100px; padding: 7px 5px; border: 1px solid #424242; border-radius: 4px; color: #f0f0f0; background: #111; font-size: 12px; }
.profile-mobile-toggle input { position: absolute; opacity: 0; }
.profile-mobile-toggle em { position: relative; width: 34px; height: 19px; border-radius: 999px; background: #626262; }
.profile-mobile-toggle em:after { position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #eee; content: ""; transition: transform .18s ease; }
.profile-mobile-toggle input:checked + em { background: #d11a25; }
.profile-mobile-toggle input:checked + em:after { transform: translateX(15px); }
.profile-pin-card { margin-top: 15px; padding: 17px; border: 1px solid #303030; border-radius: 7px; background: #151515; }
.profile-pin-card .brand { display: block; margin-bottom: 7px; }
.profile-pin-card h2 { margin: 0; color: #fff; font-size: 15px; }
.profile-pin-card p { margin: 5px 0 14px; color: #999; font-size: 11px; }
.profile-pin-card .profile-pin-field { margin: 0; }
.profile-pin-card .profile-pin-field input { font-size: 15px; }
.profile-settings-mobile-first .profile-settings-actions { margin-top: 18px; }
.profile-settings-mobile-first .profile-delete { margin-top: 16px; }
.profile-settings-hub { padding-top: 18px; }
.profile-hub-hero { position: relative; display: grid; justify-items: center; padding: 26px 20px 22px; border: 1px solid #303030; border-radius: 10px; background: linear-gradient(145deg, #191919, #111); }
.profile-hub-hero:before { position: absolute; z-index: 0; top: 0; width: 140px; height: 72px; border-radius: 0 0 80px 80px; background: radial-gradient(ellipse at center, #5b151bcc, transparent 70%); content: ""; filter: blur(14px); }
.profile-hub-avatar { position: relative; z-index: 1; display: grid; width: 92px; height: 92px; margin-top: -52px; padding: 0; place-items: center; border: 3px solid #e02631; border-radius: 8px; background: #181818; box-shadow: 0 12px 32px #000a; }
.profile-hub-avatar .profile-avatar { width: 100%; height: 100%; border: 0; border-radius: 5px; }
.profile-hub-avatar i { position: absolute; right: -8px; bottom: -8px; display: grid; width: 28px; height: 28px; place-items: center; border: 2px solid #121212; border-radius: 50%; color: #111; background: #ededed; font-size: 13px; font-style: normal; }
.profile-hub-hero h2 { position: relative; z-index: 1; margin: 14px 0 2px; color: #fff; font-size: 22px; }
.profile-hub-hero p { position: relative; z-index: 1; margin: 0; color: #999; font-size: 11px; }
.profile-category-list { display: grid; gap: 7px; margin-top: 16px; }
.profile-category-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 68px; padding: 11px 13px; border: 1px solid #333; border-radius: 7px; color: #eee; background: #181818; text-align: left; transition: border-color .16s, background .16s; }
.profile-category-row:hover { border-color: #82272e; background: #201113; }
.profile-category-row > i { display: grid; width: 28px; height: 28px; place-items: center; color: #e1323d; font-size: 17px; font-style: normal; }
.profile-category-row:hover > i { color: #ff5d66; }
.profile-category-row b, .profile-category-row small { display: block; }
.profile-category-row b { color: #f5f5f5; font-size: 12px; }
.profile-category-row small { margin-top: 4px; color: #939393; font-size: 10px; }
.profile-category-row em { color: #d6d6d6; font-size: 22px; font-style: normal; }
.profile-hub-note { margin: 16px 4px; color: #999; font-size: 11px; text-align: center; }
.profile-category-back { display: block; margin: 0 0 15px; padding: 4px 0; color: #ddd; background: transparent; font-size: 12px; font-weight: 700; }
.profile-detail-card { display: grid; gap: 7px; padding: 17px; border: 1px solid #303030; border-radius: 8px; background: #151515; }
.profile-detail-card > .brand { display: block; margin-bottom: 5px; }
.profile-detail-card .profile-mobile-identity { padding: 4px 0 0; }
.family-restrictions h2 { margin: 0; color: #f4f4f4; font-size: 16px; }
.family-restrictions > p { margin: 0 0 10px; color: #9b9b9b; font-size: 11px; line-height: 1.45; }
.family-title-search { display: block; margin-top: 8px; color: #e2e2e2; font-size: 11px; font-weight: 700; }
.family-title-search span { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin-top: 7px; }
.family-title-search input { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #414141; border-radius: 5px; outline: 0; color: #fff; background: #101010; font: inherit; }
.family-title-search input:focus { border-color: #db2430; }
.family-title-search button, .family-title-results button, .family-blocked-list button { padding: 9px 11px; border: 1px solid #444; border-radius: 5px; color: #fff; background: #252525; font-size: 11px; font-weight: 750; }
.family-title-search button:hover, .family-title-results button:hover { border-color: #df2a35; background: #521016; }
.family-title-results, .family-blocked-list { display: grid; gap: 6px; margin-top: 11px; }
.family-title-results article, .family-blocked-list article { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 43px; padding: 6px; border: 1px solid #303030; border-radius: 5px; background: #101010; }
.family-title-results img, .family-blocked-list img { width: 32px; height: 43px; border-radius: 3px; object-fit: cover; }
.family-title-results b, .family-title-results small, .family-blocked-list b, .family-blocked-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.family-title-results b, .family-blocked-list b { color: #eee; font-size: 11px; }
.family-title-results small, .family-blocked-list small, .family-restriction-note { margin-top: 3px; color: #949494; font-size: 10px; }
.family-blocked-list button { color: #f1a9ad; background: transparent; }
.family-blocked-list button:hover { border-color: #f0505a; color: #fff; }
.profile-category-actions { display: grid; gap: 8px; margin-top: 15px; }
.profile-category-actions .account-action-card { width: 100%; }
.profile-manager h2 { margin: 0; color: #fff; font-size: 19px; }
.profile-manager > p { margin: 6px 0 17px; color: #989898; font-size: 11px; line-height: 1.45; }
.profile-manager-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 16px 12px; }
.profile-manager-card, .profile-manager-add { display: grid; gap: 6px; justify-items: center; padding: 0; color: #e8e8e8; background: transparent; text-align: center; }
.profile-manager-card .profile-avatar, .profile-manager-add span { width: 68px; height: 68px; border-radius: 6px; }
.profile-manager-card b, .profile-manager-card small, .profile-manager-add b { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
.profile-manager-card b, .profile-manager-add b { color: #ededed; font-size: 11px; }
.profile-manager-card small { color: #929292; font-size: 9px; }
.profile-manager-add span { display: grid; place-items: center; border: 1px dashed #666; border-radius: 6px; color: #ddd; font-size: 29px; }
.profile-manager-card:hover .profile-avatar { box-shadow: 0 0 0 2px #e3232e; }
.profile-manager-add:hover span { border-color: #df2430; color: #fff; background: #261012; }

@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; }
  .profile-stats-page { width: min(100% - 28px, 600px); padding: 18px 0 48px; }
  .profile-stats-page > .account-back { margin-bottom: 24px; }
  .stats-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
  .stats-summary > div, .stats-detail-grid article { padding: 15px; border-radius: 8px; }
  .stats-detail-grid { grid-template-columns: 1fr; gap: 8px; }
  .stats-title-grid { grid-template-columns: 1fr; gap: 8px; }
  .stats-title { grid-template-columns: 86px minmax(0, 1fr); }
  .stats-title img { width: 86px; height: 49px; }
  .account-page-v2 { width: min(100% - 28px, 600px); padding-top: 17px; }
  .account-page-v2 .account-page-top { grid-template-columns: 1fr auto; gap: 14px; padding-bottom: 22px; }
  .account-page-v2 .account-heading h1 { font-size: 34px; }
  .account-page-v2 .account-page-top .brand { display: block; }
  .account-page-v2 .account-active-profile { min-width: 0; padding: 3px; border: 0; background: transparent; }
  .account-page-v2 .account-active-profile .profile-avatar { width: 45px; height: 45px; }
  .account-page-v2 .account-active-profile > span { display: none; }
  .account-page-v2 .account-section { padding: 18px 15px; border-radius: 8px; }
  .account-page-v2 .account-section-title { align-items: start; margin-bottom: 15px; }
  .account-page-v2 .account-section-title h2 { font-size: 18px; }
  .account-page-v2 .account-section-title > span { max-width: 120px; text-align: right; }
  .account-page-v2 .profiles { gap: 14px 9px; }
  .account-page-v2 .profile-card, .account-page-v2 .profile-add { width: 70px; }
  .account-page-v2 .profile-avatar, .account-page-v2 .profile-add span { width: 58px; height: 58px; }
  .account-dashboard { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .account-page-v2 .account-library, .account-page-v2 .account-playback { min-height: 0; }
  .account-page-v2 .account-safety { grid-column: auto; }
  .account-page-v2 .account-security-content { grid-template-columns: 1fr; gap: 19px; }
  .account-page-v2 .account-row, .account-page-v2 .account-toggle { padding: 13px 0; }
  .account-page-v2 .account-toggle i { top: 15px; }
  .account-page-v2 .account-selects { grid-template-columns: 1fr; gap: 0; }
  .account-page-v2 .account-select select, .account-page-v2 .password-form input { font-size: 16px; }
  .account-workspace-page { width: min(100% - 28px, 600px); padding-top: 17px; }
  .account-workspace-page .account-page-top { grid-template-columns: 1fr auto; gap: 14px; padding-bottom: 22px; }
  .account-workspace-page .account-heading h1 { font-size: 34px; }
  .account-workspace-page .account-active-profile { min-width: 0; padding: 3px; border: 0; background: transparent; }
  .account-workspace-page .account-active-profile .profile-avatar { width: 45px; height: 45px; }
  .account-workspace-page .account-active-profile > span { display: none; }
  .account-workspace-page .account-workspace { display: block; position: relative; }
  .account-workspace-page .account-sidebar, .account-workspace-page .nav-open .account-sidebar, .account-workspace-page .nav-closed .account-sidebar { position: static; width: 100%; margin: 0 0 10px; padding: 5px; box-shadow: none; }
  .account-workspace-page .account-sidebar > nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; margin: 0; }
  .account-workspace-page .account-nav-toggle { display: none; }
  .account-workspace-page .account-nav-item, .account-workspace-page .nav-closed .account-nav-item { display: grid; min-width: 0; min-height: 52px; gap: 3px; padding: 5px 2px; place-items: center; text-align: center; }
  .account-workspace-page .account-nav-item i { width: auto; flex: none; font-size: 15px; }
  .account-workspace-page .account-nav-item span, .account-workspace-page .nav-closed .account-nav-item span { display: block; overflow: hidden; max-width: 100%; color: inherit; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .account-workspace-page .account-workspace-content { margin-left: 0; }
  .account-content-panel { min-height: 0; padding: 20px 16px; border-radius: 8px; }
  .account-content-heading { padding-bottom: 17px; }
  .account-content-heading h2 { font-size: 23px; }
  .account-profiles-panel .profiles { gap: 17px 8px; margin-top: 20px; }
  .account-profiles-panel .profile-card, .account-profiles-panel .profile-add { width: 68px; }
  .account-profiles-panel .profile-avatar, .account-profiles-panel .profile-add span { width: 56px; height: 56px; }
  .account-action-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 17px; }
  .account-action-card { min-height: 72px; padding: 11px; }
  .account-security-layout { grid-template-columns: 1fr; gap: 0; }
  .settings-stack .account-selects { grid-template-columns: 1fr; gap: 0; }
  .settings-stack .account-select select, .password-card input { font-size: 16px; }
  .profile-settings-mobile-first { width: min(100% - 28px, 480px); padding: 16px 0 48px; }
  .profile-settings-mobile-top { margin-bottom: 21px; }
  .profile-settings-mobile-top h1 { font-size: 18px; }
  .profile-mobile-identity { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; }
  .profile-mobile-identity .profile-settings-avatar, .profile-mobile-identity .profile-avatar { width: 78px; height: 78px; }
  .profile-avatar-change { top: 52px; left: 54px; }
  .profile-mobile-identity .profile-name-field input { font-size: 16px; }
  .profile-avatar-chooser .profile-avatar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-mobile-row { min-height: 70px; padding: 11px; }
  .profile-mobile-row > i { width: 25px; color: #d7d7d7; background: transparent; }
  .profile-mobile-select select { font-size: 16px; }
  .profile-pin-card .profile-pin-field input { font-size: 16px; }
  .profile-settings-hub { padding-top: 43px; }
  .profile-hub-hero { padding: 25px 16px 19px; }
  .profile-hub-avatar { width: 84px; height: 84px; margin-top: -58px; }
  .profile-category-row { min-height: 66px; }
}
