:root {
  color-scheme: dark;
  --background: #09090b;
  --text: #f5f5f7;
  --muted: #b4bac3;
  --line: #ffffff29;
  --blue: #9bd7ff;
  --focus: #79c8ff;
  --page-width: 1168px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
h1, h2, h3, p, figure, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(calc(100% - 64px), var(--page-width)); margin-inline: auto; }
section[id] { scroll-margin-top: 86px; }
.skip { position: fixed; z-index: 3; top: 10px; left: 12px; padding: 12px; background: var(--background); transform: translateY(-180%); }
.skip:focus { transform: none; }

.site-header.wrap { width: 100%; }
.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 5px max(32px, calc((100% - var(--page-width)) / 2));
  border-bottom: 1px solid var(--line);
  background: #111113f5;
}
@supports (backdrop-filter: blur(20px)) {
  .site-header { background: #111113d9; backdrop-filter: blur(22px) saturate(125%); }
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.15rem; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.brand img { width: 31px; height: 31px; border: 1px solid #ffffff30; border-radius: 8px; }
.site-header .brand { flex: none; }
nav { display: flex; align-items: center; gap: clamp(13px, 2.8vw, 32px); font-size: .85rem; font-weight: 600; }
nav a { color: #d1d4da; text-decoration: none; }
nav a:not(.button):hover { color: #fff; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.button-outline {
  min-height: 36px;
  padding-inline: 13px;
  border-color: #ffffff34;
  background: #ffffff0b;
  color: #fff;
}
.button-outline:hover { background: #ffffff20; }
.button-primary {
  background: #f5f5f7;
  color: #141416;
}
.button-primary:hover { background: #fff; }
.product-page .nav-beta { min-height: 34px; padding-inline: 13px; font-size: .8rem; }

.hero {
  padding-block: clamp(46px, 5vw, 76px) 22px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 77%, #183743 0%, #101b22 39%, #09090b 75%);
}
.hero-copy { margin-bottom: clamp(27px, 4vw, 46px); }
h1, h2 { font-weight: 700; letter-spacing: -.056em; line-height: 1.02; text-wrap: balance; }
h1 { margin: 19px 0 18px; font-size: clamp(3rem, 7.2vw, 6.4rem); }
h2 { font-size: clamp(2.45rem, 5.6vw, 4.9rem); }
.hero h1 { max-width: 16ch; margin: 0 auto 14px; font-size: clamp(3.1rem, 6.4vw, 6rem); }
.hero-description { max-width: 46ch; margin-inline: auto; color: #c0c1c7; font-size: clamp(1.05rem, 2.2vw, 1.38rem); line-height: 1.4; text-wrap: balance; }
.actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.actions .button { min-height: 46px; padding-inline: 19px; }
.hero-media { width: min(calc(100% - 64px), var(--page-width)); margin-inline: auto; }
.screen-frame {
  overflow: hidden;
  padding: clamp(3px, .54vw, 7px);
  border: 1px solid #ffffff3d;
  border-radius: clamp(10px, 1.85vw, 24px);
  background: linear-gradient(140deg, #3b3f42, #101114 40%, #1d2429);
  box-shadow: 0 18px 64px #0007;
}
.screen-frame img { width: 100%; height: auto; border-radius: clamp(5px, 1.15vw, 15px); background: #111820; }
figcaption { margin-top: 14px; color: var(--muted); font-size: .8rem; text-align: center; }

.platforms { border-block: 1px solid var(--line); background: #0f1012; }
.platform-row { display: grid; place-items: center; min-height: 68px; }
.platform-row ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(16px, 4vw, 54px); padding: 0; list-style: none; }
.platform-row li { display: flex; align-items: center; gap: 8px; color: #dedee2; font-size: .89rem; font-weight: 600; }

.features {
  color-scheme: light;
  --focus: #006caa;
  padding-block: clamp(52px, 8vw, 105px);
  background: #f5f5f7;
  color: #171b20;
}
.section-intro { max-width: 850px; margin-bottom: clamp(24px, 4vw, 43px); }
.eyebrow { color: var(--blue); font-size: .82rem; font-weight: 730; line-height: 1.4; letter-spacing: .04em; }
.eyebrow + h2 { margin-top: 12px; }
.section-intro h2 { text-wrap: initial; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.feature { padding: clamp(23px, 4vw, 42px); border-radius: 23px; background: #fff; }
.feature:nth-child(2) { background: #e7f0f7; }
.feature svg { width: 30px; height: 30px; color: #173e56; }
.feature h3 { margin: 17px 0 7px; font-size: clamp(1.23rem, 2.5vw, 1.75rem); letter-spacing: -.035em; }
.feature p { max-width: 43ch; color: #505761; line-height: 1.6; }

.player { padding-block: clamp(55px, 8vw, 100px); background: radial-gradient(ellipse at 60% 65%, #171d20, #09090b 76%); }
.player-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 26px; margin-bottom: clamp(26px, 4.5vw, 49px); }
.player-intro > p { max-width: 39ch; color: var(--muted); font-size: clamp(1.03rem, 1.7vw, 1.26rem); line-height: 1.5; }
.player h2, .faq h2, .beta h2 { text-wrap: initial; }

.beta { padding-top: clamp(54px, 8vw, 92px); }
.beta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  padding: clamp(27px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: radial-gradient(ellipse at 93% 0%, #233944, transparent 74%), #151517;
}
.beta-panel p:last-child { max-width: 43ch; margin-top: 15px; color: #c2ccd5; line-height: 1.6; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; padding-block: clamp(64px, 9vw, 115px); }
.faq h2 { font-size: clamp(2.4rem, 4.8vw, 3.85rem); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 0; cursor: pointer; list-style: none; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  flex: 0 0 12px;
  height: 12px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 100% 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 100% no-repeat;
}
details[open] summary::after { background-size: 100% 2px, 0 0; }
details p { padding: 0 23px 19px 0; color: var(--muted); line-height: 1.6; }
details a, .policy a { color: var(--blue); text-underline-offset: 3px; }

.site-footer { border-top: 1px solid var(--line); background: #111113; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 21px; align-items: center; min-height: 95px; padding-block: 20px; }
.footer-inner p { color: var(--muted); font-size: .86rem; }
.footer-inner nav { margin-left: auto; }
.policy { max-width: 760px; padding-block: clamp(45px, 8vw, 94px); }
.policy h1 { font-size: clamp(2.65rem, 6vw, 4.7rem); text-wrap: initial; }
.policy h2 { margin-block: 34px 12px; font-size: 1.5rem; letter-spacing: -.025em; text-wrap: initial; }
.policy p { margin-block: 12px; color: var(--muted); line-height: 1.7; }
.error-page { min-height: 70vh; }

@media (max-width: 760px) {
  .player-intro, .faq { grid-template-columns: 1fr; gap: 23px; }
  .platform-row { padding-block: 13px; }
  .beta-panel { flex-direction: column; align-items: flex-start; gap: 21px; }
}

@media (max-width: 600px) {
  .wrap, .hero-media { width: calc(100% - 32px); }
  .site-header { min-height: 52px; padding-inline: 16px; }
  .site-header nav { gap: 10px; }
  .site-header nav a { white-space: nowrap; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.6rem, 10vw, 3.65rem); }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature { border-radius: 19px; }
}

@media (max-width: 380px) {
  .site-header { gap: 8px; padding-inline: 12px; }
  .site-header nav { gap: 6px; font-size: .75rem; }
  .nav-beta { padding-inline: 8px; font-size: .76rem; }
  .brand { font-size: .96rem; }
  .brand img { width: 29px; height: 29px; }
}

@media (forced-colors: active) {
  summary::after { content: "+"; background: none; }
  details[open] summary::after { content: "−"; }
}

.account-page {
  min-height: calc(100svh - 54px);
  display: grid;
  place-items: center;
  padding: clamp(26px, 7vw, 72px) 16px;
  background: radial-gradient(ellipse at 50% 16%, #20292e, transparent 58%);
}
.account-card {
  width: min(100%, 460px);
  padding: clamp(24px, 6vw, 46px);
  border: 1px solid var(--line);
  border-radius: 25px;
  background: linear-gradient(145deg, #1e2326, #151517 68%);
  box-shadow: 0 20px 64px #0006;
  text-align: center;
}
.account-icon { margin: 0 auto 19px; border: 1px solid #ffffff38; border-radius: 14px; }
.account-card h1 { margin: 10px 0 13px; font-size: clamp(2rem, 5.4vw, 2.8rem); }
.account-copy { color: #c8d0d8; line-height: 1.48; overflow-wrap: anywhere; }
.provider-buttons { display: grid; gap: 10px; margin-top: 23px; }
.provider-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 7px 12px;
  border: 1px solid #747775;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  font-family: inherit;
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}
.provider-button:hover:not(:disabled) { background: #eee; }
.provider-button[hidden] { display: none; }
.provider-button svg { stroke: none; }
.provider-apple { background: #000; color: #fff; }
.provider-apple:hover:not(:disabled) { background: #242424; }
.provider-button:disabled, .account-signout:disabled { opacity: .55; cursor: default; }
.provider-button:focus-visible, .account-signout:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.account-mode { margin-top: 20px; color: #c8d0d8; font-size: .9rem; }
.account-mode a, .account-privacy { color: var(--blue); text-underline-offset: 3px; }
#account-sync { padding-bottom: 40px; }
#account-sync p { margin-top: 12px; }
#account-sync .account-sync-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#account-sync code { overflow-wrap: anywhere; }
.account-status:not(:empty) { margin-top: 16px; color: #d5e5ef; font-size: .9rem; line-height: 1.45; }
.account-signout { margin-top: 20px; cursor: pointer; font-family: inherit; }
.account-privacy { display: inline-block; margin-top: 22px; font-size: .8rem; }
.account-playback { display: grid; gap: 16px; margin-block: 24px; }
.account-playback[hidden] { display: none; }
.account-playback form { padding: clamp(16px, 4vw, 28px); border: 1px solid #ffffff39; border-radius: 20px; }
.account-playback h2 { margin: 0 0 16px; font-size: 1.4rem; }
.account-playback label { display: block; margin-bottom: 8px; }
.account-playback-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account-playback input, .account-playback select {
  min-height: 44px; max-width: 100%; padding: 0 12px; border: 1px solid #ffffff55;
  border-radius: 10px; font: inherit; background: #151a1e; color: #fff; color-scheme: dark;
}
.account-playback [data-return]:not([hidden]) { display: inline-block; margin-top: 8px; color: var(--blue); }
.device-sign-in .button[hidden], .account-playback .button[hidden] { display: none; }
.account-playback form > p { margin-block: 8px; }
#account-sources { gap: 12px; }
#account-sources .source-section > p { margin-block: 5px 13px; color: var(--muted); }
#account-sources .source-section > p:empty { display: none; }
#account-sources h3 { margin-bottom: 6px; font-size: 1.2rem; letter-spacing: -.025em; }
#account-sources form { border: 0; padding: 12px 0 0; }
#account-sources label[for="addon-link"] { font-size: .9rem; font-weight: 600; }
#account-sources .source-repositories { margin-top: 16px; }
#account-sources .source-repositories h4 { margin: 0 0 8px; font-size: .94rem; }
#addon-link { flex: 1 1 220px; }
#account-sources fieldset { margin-top: 18px; border: 1px solid #ffffff39; border-radius: 12px; padding: 12px; }
#account-sources fieldset legend { padding-inline: 6px; }
#account-sources [data-candidates] { max-height: 20rem; overflow-y: auto; margin-bottom: 10px; }
#account-sources [data-candidates] label { display: flex; align-items: center; gap: 8px; min-height: 44px; }
#account-sources input[type="checkbox"] { min-height: auto; width: 18px; height: 18px; flex-shrink: 0; }
.account-source-list { list-style: none; margin: 0; padding: 0; }
.account-source-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 9px; padding-block: 9px; border-top: 1px solid var(--line); }
.account-source-list p { margin: 2px 0 0; font-size: .85rem; opacity: .8; }
.source-move-button, .source-keyword-list .button { min-inline-size: 44px; min-block-size: 44px; padding: 6px 10px; }
#account-sources .catalog-organizer {
  margin-top: 8px; padding: 12px 0 0;
  scroll-margin-top: calc(var(--dashboard-chrome-height, 94px) + 10px);
}
.catalog-organizer > .account-playback-actions {
  position: sticky; top: var(--dashboard-chrome-height, 94px); z-index: 1; align-items: center;
  padding-block: 8px; background: var(--dashboard-surface, #17171a);
}
.catalog-organizer h4 { flex: 1 1 160px; }
.catalog-organizer :is(h4, p) { margin-block: 0; }
#account-sources .catalog-organizer fieldset { border: 0; min-inline-size: 0; padding: 0; }
.catalog-organizer ol { list-style: none; padding: 0; margin-block: 12px; }
.catalog-organizer li {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap;
  gap: 8px 20px; border-block-start: 1px solid var(--line); padding-block: 10px;
}
#account-sources .catalog-organizer li > label { flex: 1 1 240px; margin: 0; }
.catalog-organizer li small { margin-inline-start: 8px; font-weight: 400; opacity: .8; }
#account-sources .catalog-organizer input:not([type=checkbox]) { width: 100%; margin-block-start: 4px; }
#account-sources .catalog-organizer .account-playback-actions label {
  display: inline-flex; align-items: center; gap: 5px; margin: 0; min-block-size: 44px;
}
.catalog-organizer .account-status:empty { display: none; }
.catalog-organizer .account-status { flex-basis: 100%; }
.catalog-organizer li :is(input, button) { scroll-margin-block-start: 186px; }
.source-preferences-panel { margin-block-start: 8px; border-block-start: 1px solid var(--line); border-block-end: 0; }
.source-preferences-panel > summary { padding-block: 12px 4px; }
.source-preferences-panel[open] > summary { padding-bottom: 12px; }
.source-preferences-panel summary { cursor: pointer; font-weight: 700; }
#account-sources .source-preferences-panel fieldset { display: grid; gap: 14px; margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.source-preferences-panel :is(p, h4) { margin: 0; }
.source-preferences-panel h4 { padding-block-start: 12px; border-block-start: 1px solid var(--line); }
#account-sources .source-rule-toggle { display: flex; align-items: center; gap: 10px; margin: 0; min-block-size: 44px; }
.source-keyword-editor .account-playback-actions { align-items: end; }
.source-preferences-panel :is(.source-keyword-editor, .source-preset-select, .source-size-limits) label,
.source-preferences-panel .source-preset-select { margin: 0; }
.source-preferences-panel :is(label:not(.source-rule-toggle) input, label select) { display: block; margin-block-start: 4px; }
.source-keyword-list { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; margin: 8px 0; padding: 0; }
.source-keyword-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border: 1px solid var(--line); border-radius: 12px; }
.source-keyword-status:empty { display: none; }
.source-keyword-status { margin-block-end: 6px; font-size: .86rem; }
.source-size-limits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 114px), 1fr)); gap: 8px; }
.source-size-limits input { width: 100%; }
.source-preferences-panel button[type="submit"] { justify-self: start; }
body:has(.dashboard-signed-in) > .site-header { display: none; }
.dashboard-signed-in {
  --dashboard-background: #0c0c0e;
  --dashboard-surface: #17171a;
  --dashboard-chrome-height: 57px;
  display: block;
  place-items: normal;
  min-height: 100svh;
  padding: 0 0 64px;
  background: var(--dashboard-background);
}
.account-dashboard { width: 100%; }
.dashboard-signed-in > .account-card { display: none; }
.account-dashboard [hidden] { display: none !important; }
.dashboard-frame { width: min(calc(100% - clamp(32px, 6vw, 88px)), 1360px); margin-inline: auto; }
.dashboard-chrome {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: #141416f5;
}
@supports (backdrop-filter: blur(20px)) {
  .dashboard-chrome { background: #141416dc; backdrop-filter: blur(24px) saturate(125%); }
}
.dashboard-header, .dashboard-section-header, .dashboard-brand, .dashboard-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}
.dashboard-header { min-height: 56px; }
.dashboard-header h1 {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 14px;
  margin: 0;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.dashboard-header .brand img { width: 26px; height: 26px; }
.dashboard-header .brand { font-size: 1rem; }
.dashboard-user { min-width: 0; font-size: .83rem; }
.dashboard-user strong { color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dashboard-header .account-signout {
  min-height: 36px;
  padding-inline: 10px;
  margin: 0;
  border-color: transparent;
  box-shadow: none;
  background: transparent;
  font-size: .8rem;
  white-space: nowrap;
}
.dashboard-header .account-signout:hover { background: #ffffff14; }
.dashboard-menu { display: none; }
.dashboard-layout {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 44px);
}
.dashboard-content { min-width: 0; }
.dashboard-nav {
  position: sticky;
  inset-block-start: calc(var(--dashboard-chrome-height) + 26px);
  display: grid;
  align-items: start;
  gap: 16px;
  max-block-size: calc(100dvh - var(--dashboard-chrome-height) - 48px);
  margin-block-start: 26px;
  padding: 2px;
  overflow: auto;
}
.dashboard-nav-group { display: grid; gap: 2px; min-width: 0; }
.dashboard-nav-group > p {
  margin: 0 0 3px;
  padding-inline: 11px;
  color: var(--muted);
  font-size: .73rem;
}
.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 6px 11px;
  border-radius: 9px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.dashboard-nav a svg { width: 18px; height: 18px; }
.dashboard-nav a:hover { background: #ffffff0b; color: var(--text); }
.dashboard-nav a[aria-current="page"] { background: #ffffff16; color: var(--text); }
.dashboard-nav a:focus-visible { outline-offset: -2px; }
.dashboard-panel { min-width: 0; padding-top: clamp(22px, 3vw, 36px); }
.dashboard-panel > .wrap { width: 100%; margin: 0; }
.dashboard-panel > .account-library { padding-top: 0; }
.dashboard-section-header { flex-wrap: wrap; align-items: flex-start; }
.dashboard-section-header .button { margin-top: 3px; }
.dashboard-panel h2 { font-size: clamp(1.9rem, 3.5vw, 2.65rem); letter-spacing: -.048em; text-wrap: pretty; }
.dashboard-panel :is(h2, h3) { scroll-margin-top: calc(var(--dashboard-chrome-height) + 20px); }
.dashboard-panel :is(input, select, button, summary) { scroll-margin-block-start: calc(var(--dashboard-chrome-height) + 18px); }
.dashboard-description { color: var(--muted); line-height: 1.5; margin-block: 5px 10px; }
.dashboard-surface {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--dashboard-surface, #17171a);
  padding: clamp(15px, 3vw, 24px);
}
.dashboard-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  margin-top: 20px;
}
.dashboard-highlights a, .dashboard-tiles a {
  color: var(--text);
  text-decoration: none;
}
.dashboard-highlights a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px 10px;
  padding: clamp(16px, 2.3vw, 25px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(ellipse at top right, #283a46, transparent 85%), #1a2026;
}
.dashboard-highlights a[data-destination="home"] {
  background: radial-gradient(ellipse at top right, #3a352d, transparent 85%), #201e1c;
}
.dashboard-highlights a:hover { border-color: #ffffff60; }
.dashboard-highlights a > svg:first-child { grid-column: 1 / -1; width: 25px; height: 25px; }
.dashboard-highlights strong { display: block; font-size: clamp(1.3rem, 2.5vw, 1.68rem); letter-spacing: -.035em; }
.dashboard-highlights span, .dashboard-tiles span { display: block; margin-top: 3px; color: #bfc0c6; line-height: 1.42; font-size: .91rem; }
.dashboard-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 20px;
  margin-top: 27px;
}
.dashboard-shortcuts h3 { margin-bottom: 5px; font-size: 1rem; }
.dashboard-tiles a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px;
  align-items: center; padding: 13px 9px; border-bottom: 1px solid var(--line);
}
.dashboard-tiles a:hover { background: #ffffff08; }
.dashboard-tiles a > svg:first-child { box-sizing: content-box; padding: 8px; background: #ffffff0e; border-radius: 9px; }
.dashboard-highlights a > svg:last-child, .dashboard-tiles a > svg:last-child { color: #a8b8c3; }
.dashboard-panel h2[tabindex="-1"]:focus { outline: none; }
.device-list {
  margin: 14px 0 0;
  padding: 0 clamp(12px, 3vw, 24px);
  list-style: none;
}
.device-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-block: 15px;
}
.device-list li + li { border-top: 1px solid var(--line); }
.device-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #ffffff0e;
}
.device-icon svg { width: 24px; height: 24px; }
.device-label strong, .device-label small { display: block; }
.device-label small, .device-empty p, .device-remove-dialog p { color: var(--muted); line-height: 1.5; }
.device-label small { margin-top: 3px; }
.device-list .button { padding-inline: clamp(10px, 2vw, 18px); }
.device-empty { margin-top: 14px; }
.device-empty p, .device-remove-dialog p { margin: 6px 0 0; }
.account-devices [data-more] { margin-top: 12px; }
.device-remove-dialog { width: min(calc(100% - 32px), 420px); color: var(--text); }
.device-remove-dialog::backdrop { background: #000a; }
.device-remove-dialog .dashboard-form-actions { justify-content: end; }
.device-remove-button { color: #ffb9b4; }
#dashboard-devices #account-sync { margin-top: 20px; padding-block: 14px; border-top: 1px solid var(--line); }
#account-sync summary { width: fit-content; min-height: 44px; align-content: center; cursor: pointer; }
.profile-layout { display: grid; grid-template-columns: minmax(215px, .75fr) minmax(0, 1.85fr); gap: clamp(14px, 3vw, 34px); margin-top: 20px; }
.profile-directory { min-width: 0; }
.profile-directory h3 { margin: 0 0 10px; font-size: .9rem; color: var(--muted); }
.profile-list { padding: 0; list-style: none; }
.profile-list li + li { margin-top: 5px; }
.profile-row {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 61px;
  text-align: start; padding: 8px 11px; border: 1px solid transparent;
  border-radius: 13px; background: transparent; color: var(--text); font: inherit; cursor: pointer;
}
.profile-row[aria-pressed="true"] { background: #ffffff0d; border-color: #ffffff23; }
.profile-row:hover { background: #ffffff11; }
.profile-row strong, .profile-row small { display: block; overflow-wrap: anywhere; }
.profile-row small { color: var(--muted); font-size: .76rem; margin-top: 3px; }
.profile-monogram {
  display: grid; place-items: center; width: 37px; height: 37px; flex: none;
  border-radius: 50%; background: #ffffff15; color: var(--text); font-weight: 650;
}
.profile-quiet-button { color: var(--muted); min-height: 44px; font: inherit; font-size: .83rem; padding: 0 8px; border: 0; background: transparent; cursor: pointer; }
.profile-quiet-button:hover { color: var(--text); text-decoration: underline; }
.dashboard-profile-editor { min-width: 0; }
.dashboard-profile-editor .dashboard-surface { background: #17181b; border-radius: 19px; }
.dashboard-profile-editor h3 { font-size: 1.45rem; letter-spacing: -.035em; overflow-wrap: anywhere; }
.profile-kind { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.dashboard-profile-editor h4 { margin: 20px 0 8px; font-size: 1rem; }
.dashboard-profile-editor h4 span { margin-inline-start: 6px; color: var(--muted); font-size: .76rem; font-weight: 500; }
.dashboard-profile-editor label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 5px; }
.dashboard-profile-editor fieldset { border: 0; min-width: 0; margin: 10px 0 0; padding: 0; }
.dashboard-profile-editor :is(input:not([type=checkbox]), select) {
  width: min(100%, 23rem); min-height: 42px; border: 1px solid #ffffff40;
  border-radius: 8px; color: var(--text); background: #101114; font: inherit; padding-inline: 10px;
}
.dashboard-profile-editor select { padding-block: 8px; }
.dashboard-profile-editor [data-kids-limit], .profile-pin-form, .profile-toggle { margin-top: 15px; }
.dashboard-profile-editor .profile-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.profile-toggle input { width: 17px; height: 17px; accent-color: white; }
.profile-pin-form, .profile-new-pin { border-top: 1px solid var(--line); }
.profile-pin-inputs { display: flex; gap: 12px; flex-wrap: wrap; }
.profile-pin-inputs > div { flex: 1 1 90px; max-width: 145px; }
.profile-new-pin { margin-top: 16px; padding-top: 12px; }
.profile-new-pin summary { cursor: pointer; font-weight: 650; }
.profile-new-pin summary span { color: var(--muted); font-size: .78rem; font-weight: 500; margin-inline-start: 6px; }
.dashboard-form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.profile-sync-note { margin-top: 18px; font-size: .82rem; }
.account-dashboard button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.account-dashboard button:disabled { opacity: .55; cursor: default; }
.dashboard-imported-settings { margin-top: 24px; }
.policy h2[id] { scroll-margin-top: 86px; }

@media (max-width: 800px) {
  .dashboard-signed-in { --dashboard-chrome-height: 101px; }
  .dashboard-layout { display: block; }
  .dashboard-menu {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 44px; padding: 0; border: 0; border-top: 1px solid #ffffff16;
    color: var(--text); background: transparent; text-align: start; font: inherit; font-size: .88rem; cursor: pointer;
  }
  .dashboard-menu[aria-expanded="true"] svg { transform: rotate(180deg); }
  .dashboard-nav { display: none; }
  .dashboard-menu-open .dashboard-nav {
    position: fixed;
    z-index: 2;
    inset: var(--dashboard-chrome-height) 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
    gap: 12px;
    max-block-size: calc(100dvh - var(--dashboard-chrome-height));
    margin: 0;
    padding: 13px max(16px, 3vw) 17px;
    border-block-end: 1px solid var(--line);
    background: #18181b;
    box-shadow: 0 12px 24px #0006;
  }
  .dashboard-nav a { min-height: 44px; }
}
@media (max-width: 460px) {
  .site-header .brand { font-size: 1rem; }
  .site-header nav { gap: 8px; font-size: .77rem; }
  .site-header .nav-beta { padding-inline: 8px; font-size: .77rem; }
  .site-header .nav-beta svg { display: none; }
  .dashboard-frame { width: calc(100% - 32px); }
  .dashboard-menu-open .dashboard-nav { grid-template-columns: 1fr; gap: 10px; }
  .dashboard-header { gap: 8px; }
  .dashboard-brand { gap: 8px; }
  .dashboard-header h1 { padding-inline-start: 8px; }
  .dashboard-user strong { display: none; }
}
@media (max-width: 360px) {
  .product-page .site-header nav { gap: 5px; font-size: .7rem; }
  .product-page .site-header .nav-beta { padding-inline: 7px; font-size: .7rem; }
  .product-page .site-header .brand { gap: 5px; }
  .product-page .site-header a[href="#faq"] { display: none; }
}


@media (max-width: 650px) {
  .profile-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .profile-list { display: flex; gap: 6px; overflow-x: auto; }
  .profile-list li { flex: 0 0 auto; max-width: min(80vw, 250px); }
  .profile-list li + li { margin: 0; }
}

.setup-editor { max-width: 850px; }
.setup-editor-home { max-width: none; }
.setup-toolbar, .setup-list-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin: 18px 0 10px;
}
.setup-toolbar .setup-control, .setup-list-tools .setup-control { min-width: min(215px, 100%); }
.setup-status { min-height: 1.35em; margin-block: 8px 12px; }
.setup-content { padding: 0; margin: 0; border: 0; min-width: 0; }
.setup-form, .setup-list-detail { display: grid; gap: 14px; }
.setup-form .dashboard-form-actions { margin-top: 0; }
.setup-home-editor > .dashboard-form-actions {
  position: sticky; top: var(--dashboard-chrome-height, 94px); z-index: 1;
  background: var(--dashboard-background, #0c0c0e); padding-block: 8px;
  align-items: center;
}
.setup-home-editor .dashboard-form-actions .setup-control {
  flex-direction: row; align-items: center; min-height: 44px;
}
.setup-home-shared-note { flex-basis: 100%; color: var(--muted); margin: 0; font-size: .875rem; }
.setup-home-editor :is(input, select, button) { scroll-margin-block-start: 166px; }
.setup-home-picker { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; }
.setup-home-picker .setup-control { flex: 1 1 230px; }
.setup-home-catalogs { margin-block-start: 12px; }
.setup-home-catalogs summary { cursor: pointer; font-weight: 650; padding-block: 8px; }
.setup-home-catalogs :is(.setup-control, .account-status) { margin-block: 0 10px; }
.setup-home-catalogs .setup-home-picker .setup-control { margin: 0; }
.setup-home-catalogs .account-status:empty { display: none; }
.setup-home-rows .setup-order-row > .setup-control:first-child > span {
  position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%);
}
.setup-home-rows .setup-order-row { align-items: center; padding-block: 7px; }
.setup-home-rows .setup-order-buttons .button { padding-inline: 9px; }
@media (min-width: 920px) {
  .setup-home-editor {
    grid-template-columns: minmax(0, 285px) minmax(0, 1fr);
    align-items: start; gap: 14px 20px;
  }
  .setup-home-editor > .dashboard-form-actions { grid-column: 1 / -1; }
  .setup-home-add .setup-home-picker .button { width: 100%; }
}
.setup-card { padding: 12px 16px 16px; margin: 0; min-width: 0; }
.setup-card legend { padding-inline: 6px; font-size: 1rem; font-weight: 700; }
.setup-control { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--text); font-size: .9rem; font-weight: 600; }
.setup-card > .setup-control { padding: 9px 0; border-bottom: 1px solid var(--line); }
.setup-card > .setup-control:last-child { border-bottom: 0; padding-bottom: 0; }
.setup-card > .setup-control:has([type=checkbox]) { flex-direction: row; align-items: center; justify-content: space-between; }
.setup-control :is(select, input:not([type=checkbox]), textarea) {
  min-width: 0; width: 100%; min-height: 44px; background: #111419; color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit;
}
.setup-control input[type=checkbox] { inline-size: 20px; block-size: 20px; accent-color: var(--blue); }
.account-dashboard input[role="switch"] {
  appearance: none; display: inline-grid; align-items: center; flex: none;
  inline-size: 35px; block-size: 21px; margin: 0; padding: 2px;
  border: 1px solid #ffffff4d; border-radius: 99px; background: #333338; cursor: pointer;
}
.account-dashboard input[role="switch"]::before {
  content: ""; width: 15px; height: 15px; border-radius: 50%; background: #f5f5f7;
}
.account-dashboard input[role="switch"]:checked { background: #d5ebf9; border-color: #d5ebf9; }
.account-dashboard input[role="switch"]:checked::before { justify-self: end; background: #142b3c; }
.account-dashboard input[role="switch"]:disabled { opacity: .55; cursor: default; }
.account-dashboard input[role="switch"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
@media (forced-colors: active) {
  .account-dashboard input[role="switch"] { appearance: auto; display: inline-block; }
  .account-dashboard input[role="switch"]::before { content: none; }
}
.setup-control :is(select, input, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.setup-order { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.setup-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: end; padding: 9px 0; }
.setup-order-row + .setup-order-row { border-top: 1px solid var(--line); }
.setup-order-row .setup-control:has([type=checkbox]) { align-self: center; align-items: center; }
.setup-order-buttons { display: flex; gap: 5px; align-items: center; }
.setup-home-editor .setup-order-buttons { flex-wrap: wrap; }
.setup-order-buttons .button { min-width: 42px; min-height: 44px; padding: 6px 10px; }
.setup-title-order .setup-order-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.setup-list-detail > .setup-card .setup-form { margin-top: 10px; }
.setup-form > .button { justify-self: start; }
@media (max-width: 420px) {
  .setup-order-row, .setup-title-order .setup-order-row { grid-template-columns: minmax(0, 1fr) auto; }
  .setup-order-row .setup-order-buttons { grid-column: 1 / -1; justify-self: end; }
  .setup-card { padding-inline: 11px; }
}

.tracker-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
  gap: 14px;
  margin-top: 12px;
}
.tracker-card h3 { font-size: 1.35rem; }
.tracker-card p { line-height: 1.45; }
.tracker-code { display: inline-block; margin-block: 4px; color: var(--text); font-size: 1.3rem; letter-spacing: .07em; }

.setup-list-title { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
a.setup-list-title:hover strong { text-decoration: underline; }
.setup-list-poster { display: block; flex: 0 0 40px; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: #26292d; }
.setup-list-poster img { width: 100%; height: 100%; object-fit: cover; }
.setup-list-title-text { display: grid; gap: 4px; overflow-wrap: anywhere; }
.setup-list-title-text small { color: var(--muted); }

.setup-editor:has(.smart-layout) { max-width: 1080px; }
.smart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.smart-editor, .smart-results { display: grid; gap: 16px; min-width: 0; }
.smart-preview {
  position: sticky; top: 112px; max-height: calc(100svh - 132px); padding: 18px;
  display: flex; flex-direction: column; align-items: flex-start; overflow: auto;
}
.smart-preview h3 { margin: 0; font-size: 1.45rem; }
.smart-results { width: 100%; min-height: 0; overflow: auto; }
.smart-preview > :not(.smart-results) { flex-shrink: 0; }
.smart-results h4 { margin: 10px 0; font-size: .95rem; }
.smart-posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(90px, 100%), 1fr)); gap: 14px 10px; list-style: none; padding: 0; }
.smart-title { display: grid; gap: 5px; text-decoration: none; font-size: .83rem; }
.smart-title:hover strong { text-decoration: underline; }
.smart-title strong { overflow-wrap: anywhere; }
.smart-title small, .smart-attribution { color: var(--muted); font-size: .74rem; }
.smart-title-art { display: block; aspect-ratio: 2 / 3; border-radius: 9px; overflow: hidden; background: #25282e; }
.smart-title-art img { width: 100%; height: 100%; object-fit: cover; }
.smart-preview .button, .smart-attribution { margin-top: 14px; }
.smart-attribution { margin-bottom: 0; }
.smart-attribution + .smart-attribution { margin-top: 4px; }
.smart-attribution img { display: inline-block; width: 34px; vertical-align: middle; }
.smart-picker { border-bottom: 1px solid var(--line); padding: 11px 0; }
.smart-picker:last-child { border-bottom: 0; padding-bottom: 4px; }
.smart-picker summary, .smart-composer summary { cursor: pointer; font-size: .9rem; font-weight: 650; }
.smart-picker > label { margin-top: 8px; }
.smart-picker-options { display: grid; gap: 3px; max-height: 230px; overflow: auto; }
.smart-pick-option { display: flex; align-items: center; gap: 9px; min-height: 36px; font-size: .88rem; }
.smart-pick-option input { inline-size: 18px; block-size: 18px; accent-color: var(--blue); }
.smart-selected { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.smart-selected:empty { display: none; }
.smart-chip { min-height: 34px; border-radius: 20px; background: #25282e; border: 1px solid var(--line); color: var(--text); padding: 5px 10px; cursor: pointer; }
.smart-composer { padding: 15px 16px; }
.smart-composer[open] summary { margin-bottom: 10px; }
@media (max-width: 750px) {
  .smart-layout { grid-template-columns: minmax(0, 1fr); }
  .smart-preview { position: static; max-height: none; }
  .smart-results { max-height: 62svh; }
}
