:root {
  color-scheme: dark;
  --black: #000;
  --bg: #080808;
  --panel: #151515;
  --panel-2: #1d1b1a;
  --line: #2c2724;
  --text: #f5f5f5;
  --muted: #b5aea8;
  --orange: #ff6a00;
  --red: #c91515;
  --gold: #ffc247;
  --danger: #ffb4ab;
  --radius: 10px;
  --font-display: "Clash Display", "Segoe UI", sans-serif;
  --font-body: "Satoshi", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --card-w: clamp(118px, 13vw, 158px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.fine { color: var(--muted); font-size: 13px; }

.demo-bar { background: #2a1808; color: #ffd9ab; text-align: center; font-size: 13px; padding: 7px var(--gutter); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgb(0 0 0 / 92%); backdrop-filter: blur(8px); border-bottom: 1px solid #1a1716; }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 6px var(--gutter); min-height: 72px; }
.brand { flex-shrink: 0; display: block; background: var(--black); }
.brand img { height: 76px; width: auto; display: block; }
.primary-nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.primary-nav a { color: #d8d2cc; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 10px; border-radius: 6px; position: relative; }
.primary-nav a:hover { color: #fff; background: #1a1716; }
.primary-nav a.is-active { color: #fff; }
.primary-nav a.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--orange); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; border-radius: 50%; color: #e8e2dc; }
.icon-btn:hover { background: #1a1716; }
.menu-toggle { display: none; width: 40px; height: 40px; background: none; border: 0; padding: 10px 8px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

.profile-menu { position: relative; }
.profile-chip { display: flex; align-items: center; gap: 10px; background: none; border: 1px solid transparent; border-radius: 30px; padding: 3px 12px 3px 3px; }
.profile-chip:hover { border-color: var(--line); background: #141210; }
.chip-avatar svg { display: block; border-radius: 10px; }
.chip-name { font-weight: 700; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; box-shadow: 0 18px 40px rgb(0 0 0 / 60%); }
.dropdown button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 6px; }
.dropdown button:hover, .dropdown button:focus-visible { background: #2a211b; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 7px; font-weight: 700; border: 1px solid #6a5f57; background: transparent; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #190b00; }
.btn-primary:hover { background: #ff7f22; }
.btn-ghost { background: rgb(255 255 255 / 4%); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-danger { border-color: #94544b; color: var(--danger); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.link-btn { background: none; border: 0; color: var(--muted); padding: 4px 0; }
.link-btn:hover { color: #fff; }

/* Hero */
.hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: flex-end; padding: 0 var(--gutter) clamp(32px, 6vw, 72px); overflow: hidden; }
.hero-art { position: absolute; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-art::after {  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 8 8 / 96%) 0%, rgb(8 8 8 / 70%) 42%, rgb(8 8 8 / 10%) 75%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.hero-content { position: relative; max-width: 600px; }
.badge { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 4px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(42px, 7vw, 84px); line-height: .95; margin: 0 0 14px; letter-spacing: -.01em; }
.hero-meta { color: #e8d6c4; margin: 0 0 12px; font-weight: 500; }
.hero-meta .pill { border: 1px solid #7d6a5a; border-radius: 3px; padding: 0 6px; font-size: 13px; margin-right: 4px; }
.hero-blurb { color: #d6cec7; max-width: 52ch; margin: 0 0 24px; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Generated poster art (sample only) */
.art { position: relative; overflow: hidden; background: var(--a1); }
.art::before { content: ""; position: absolute; inset: -20%; background:
  radial-gradient(circle at var(--x) var(--y), var(--a2) 0%, transparent 46%),
  radial-gradient(circle at calc(100% - var(--x)) 90%, var(--a3) 0%, transparent 50%),
  linear-gradient(160deg, transparent 40%, rgb(0 0 0 / 70%)); }
.art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(var(--ang), rgb(255 255 255 / 4%) 0 2px, transparent 2px 14px); mix-blend-mode: overlay; }
.art .art-title { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; font-family: var(--font-display); font-weight: 600; line-height: 1.02; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 2px 10px rgb(0 0 0 / 60%); }
.art.is-new .art-kicker { display: none; }
.art .art-kicker { position: absolute; left: 10px; top: 9px; z-index: 1; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; background: rgb(0 0 0 / 55%); padding: 2px 6px; border-radius: 3px; }

/* Sections */
.section { padding: clamp(28px, 4vw, 48px) var(--gutter); }
.section-head { margin-bottom: 18px; }
.section h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 4px; }
.section-sub { margin: 0; color: var(--muted); font-size: 15px; }

/* Explore heading: larger with animated logo-color gradient */
.explore-title.explore-title {
  font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.01em; margin-bottom: 10px;
  background: linear-gradient(100deg, var(--red) 0%, var(--orange) 25%, var(--gold) 45%, var(--orange) 62%, var(--red) 80%, var(--orange) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flame-shift 7s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 18px rgb(255 106 0 / 25%));
}
@keyframes flame-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.explore-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #141210; border: 1px solid var(--line); color: #e2dad3; padding: 7px 14px; border-radius: 30px; font-size: 14px; font-weight: 500; }
.chip:hover { border-color: #5a4c41; }
.chip[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #190b00; font-weight: 700; }
.search-field { display: flex; align-items: center; gap: 8px; background: #121010; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; min-width: min(320px, 100%); color: var(--muted); }
.search-field:focus-within { border-color: var(--gold); }
.search-field input { background: none; border: 0; outline: 0; padding: 10px 0; width: 100%; color: var(--text); }
.result-count { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, var(--card-w)); gap: 16px 12px; }
.empty { padding: 30px 0; color: var(--muted); }

/* Rows */
.row { padding: 18px 0 8px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--gutter); margin-bottom: 10px; }
.row-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2vw, 23px); margin: 0; }
.row-track { display: flex; gap: 12px; overflow-x: auto; padding: 4px var(--gutter) 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #3a2f27 transparent; }
.row-track .card { flex: 0 0 var(--card-w); scroll-snap-align: start; }

/* Cards (smaller) */
.card { background: none; border: 0; padding: 0; text-align: left; color: inherit; min-width: 0; }
.card .art { aspect-ratio: 2 / 3; border-radius: 8px; border: 2px solid transparent; transition: transform .2s, border-color .2s; }
.card:hover .art, .card:focus-visible .art { transform: translateY(-3px); border-color: var(--gold); }
.card:focus-visible { outline: none; }
.card-title { font-size: 14px; font-weight: 700; margin-top: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub { font-size: 12.5px; color: var(--muted); }
.new-tag { position: absolute; z-index: 2; right: 7px; top: 7px; background: var(--gold); color: #1a0f00; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 2px 6px; border-radius: 3px; }
.progress { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 6px; height: 4px; background: rgb(255 255 255 / 25%); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--orange); }
.card .art.has-progress .art-title { bottom: 16px; }
.art.has-list .art-kicker { display: none; }
.in-list { position: absolute; z-index: 2; left: 7px; top: 7px; background: rgb(0 0 0 / 70%); color: var(--gold); font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 3px; }

/* Trailers */
.trailer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.trailer { background: none; border: 0; padding: 0; text-align: left; }
.trailer .art { aspect-ratio: 16 / 9; border-radius: 10px; border: 2px solid transparent; transition: border-color .2s; }
.trailer:hover .art, .trailer:focus-visible .art { border-color: var(--gold); }
.trailer:focus-visible { outline: none; }
.play-dot { position: absolute; z-index: 2; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgb(0 0 0 / 55%); border: 2px solid var(--gold); display: grid; place-items: center; color: #fff; }
.trailer .art .art-title { font-size: 20px; }

/* Podcasts */
.podcast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.podcast { display: flex; gap: 14px; align-items: center; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.podcast:hover, .podcast:focus-visible { border-color: var(--gold); outline: none; }
.podcast .art { width: 76px; height: 76px; flex-shrink: 0; border-radius: 8px; }
.podcast .art .art-title, .podcast .art.is-new .art-kicker { display: none; }
.art .art-kicker { display: none; }
.podcast strong { display: block; font-size: 16px; }
.podcast span { color: var(--muted); font-size: 13px; }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 18px; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.plan-featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 20px 60px rgb(255 106 0 / 10%); }
.plan-tag { position: absolute; top: -12px; right: 20px; margin: 0; background: var(--gold); color: #1a0f00; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 20px; }
.plan h3 { font-family: var(--font-display); font-size: 24px; margin: 0; }
.price { margin: 8px 0 0; color: var(--muted); }
.price span { font-family: var(--font-display); font-size: 40px; color: var(--text); font-weight: 600; }
.annual { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.plan ul { margin: 0 0 20px; padding: 0; list-style: none; flex: 1; }
.plan li { padding: 6px 0 6px 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 2px; background: var(--orange); }
.plans .fine { margin-top: 16px; }

/* Footer */
.site-footer { border-top: 1px solid #1a1716; padding: 32px var(--gutter) 48px; display: grid; gap: 4px; justify-items: start; color: var(--muted); font-size: 14px; }
.site-footer p { margin: 0; }
.site-footer .footer-logo { width: min(420px, 80vw); height: auto; margin-bottom: 12px; background: #000; }

/* Dialogs */
.dialog { width: min(480px, 94vw); max-height: 92vh; padding: 28px; border: 1px solid #3d3129; border-radius: 14px; background: var(--panel); color: var(--text); }
.dialog-wide { width: min(860px, 94vw); }
.dialog::backdrop { background: rgb(0 0 0 / 80%); }
.dialog h2 { font-family: var(--font-display); font-weight: 600; margin: 0 0 8px; font-size: 26px; }
.dialog-close { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border-radius: 50%; background: #241f1c; border: 0; font-size: 22px; line-height: 1; z-index: 3; }
.dialog-close:hover { background: #3a2f27; }
.dialog-logo { width: min(340px, 80%); height: auto; margin: 0 auto 14px; background: #000; display: block; }
.stack { display: grid; gap: 14px; margin: 16px 0; }
.stack label, .field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
input[type="text"], input[type="email"], input[type="password"], select { width: 100%; padding: 12px; border: 1px solid #5d544d; border-radius: 7px; background: #0d0c0b; color: var(--text); font-weight: 400; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

.details { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.details-art.art { aspect-ratio: 2 / 3; border-radius: 10px; }
.details-body h2 { font-size: 34px; }
.player-title { padding-right: 40px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.player-art.art { position: absolute; inset: 0; opacity: .5; }
.player-art .art-title, .player-art .art-kicker { display: none; }
.player-overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; color: #fff; }
.player-overlay p { margin: 0; color: #f1e3d5; }

/* Who's watching */
.profiles-screen { text-align: center; padding: 40px 28px; }
.profiles-screen h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 26px; }
.profile-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.profile-tile { background: none; border: 0; padding: 0; width: 120px; display: grid; justify-items: center; gap: 10px; color: var(--muted); }
.profile-tile .tile-av { border: 3px solid transparent; border-radius: 22px; transition: border-color .15s, transform .15s; position: relative; }
.profile-tile .tile-av svg { display: block; border-radius: 18px; }
.profile-tile:hover .tile-av, .profile-tile:focus-visible .tile-av { border-color: var(--gold); transform: translateY(-2px); }
.profile-tile:hover, .profile-tile:focus-visible { color: #fff; outline: none; }
.profile-tile.is-current .tile-av { border-color: var(--orange); }
.profile-tile .tile-name { font-weight: 700; font-size: 15px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.edit-badge { position: absolute; right: -6px; bottom: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--panel); border: 2px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.add-tile .tile-av { width: 102px; height: 102px; display: grid; place-items: center; border: 2px dashed #5a4c41; font-size: 40px; color: var(--muted); }
.profiles-foot { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.managing .profile-tile .tile-av svg { opacity: .7; }

/* Edit profile */
.dialog-edit { width: min(720px, 96vw); padding: 26px 30px; }
.edit-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.edit-top h2 { margin: 0; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; }
.profile-preview { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.preview-avatar svg { display: block; border-radius: 20px; border: 2px solid var(--gold); }
.preview-name { display: block; font-size: 24px; font-weight: 800; overflow-wrap: anywhere; }
.field { margin-bottom: 22px; }
fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
legend { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; padding: 0; }
.avatar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.avatar-opt { position: relative; cursor: pointer; }
.avatar-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.avatar-opt .tile { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border: 2px solid #3a322c; border-radius: 12px; background: #0f0e0d; }
.avatar-opt .tile svg { border-radius: 14px; }
.avatar-opt .tile span { font-size: 12.5px; color: var(--muted); }
.avatar-opt input:checked + .tile { border-color: var(--gold); background: #2a1d12; box-shadow: 0 0 0 1px var(--gold); }
.avatar-opt input:checked + .tile span { color: #fff; }
.avatar-opt input:focus-visible + .tile { outline: 3px solid var(--orange); outline-offset: 3px; }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #2d2724; cursor: pointer; }
.pref input { width: 22px; height: 22px; accent-color: var(--orange); flex-shrink: 0; }
.lang { margin: 16px 0 0; }
.status { min-height: 24px; color: var(--gold); margin: 0 0 4px; font-weight: 600; }
.edit-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.delete-area { margin-top: 24px; padding-top: 18px; border-top: 1px solid #3a2c26; }

.account-list { list-style: none; margin: 18px 0 0; padding: 0; }
.account-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid #2d2724; }
.account-list strong { display: block; }
.account-list span { font-size: 14px; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1f1a16; border: 1px solid var(--gold); color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: 0 14px 40px rgb(0 0 0 / 60%); max-width: min(520px, 92vw); font-size: 15px; }

/* Sign in / create account */
.dialog-auth { width: min(460px, 94vw); }
.dialog-auth h2 { font-size: 24px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #0d0c0b; border: 1px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button { white-space: nowrap; font-size: clamp(14px, 3.8vw, 16px); background: none; border: 0; padding: 9px; border-radius: 7px; font-weight: 700; color: var(--muted); }
.auth-tabs button[aria-selected="true"] { background: var(--orange); color: #140800; }
.auth-tabs button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 70px; }
.show-pass { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 14px; }
.stack .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--orange); }
.form-error { margin: 0; padding: 10px 12px; border-radius: 8px; background: rgb(201 21 21 / 16%); border: 1px solid var(--red); color: #ffd9d2; font-size: 14px; }
.btn[disabled] { opacity: .7; cursor: progress; }
.profiles-logo { width: min(300px, 70%); height: auto; margin: 0 auto 18px; display: block; background: #000; }
.profiles-screen h2 { margin-bottom: 6px; }
.profiles-account { margin: 0 0 24px; }

/* Billing toggle */
.billing-toggle { display: inline-flex; background: #0d0c0b; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 10px; }
.billing-toggle button { background: none; border: 0; padding: 8px 16px; border-radius: 999px; font-weight: 700; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.billing-toggle button[aria-checked="true"] { background: var(--orange); color: #140800; }
.billing-toggle button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.billing-toggle .save { background: var(--gold); color: #1a0f00; font-size: 11px; padding: 2px 7px; border-radius: 999px; }

/* Responsive */
@media (max-width: 1080px) {
  .menu-toggle { display: flex; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #050505; border-bottom: 1px solid #1a1716; padding: 10px var(--gutter) 16px; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 8px; font-size: 16px; }
  .primary-nav a.is-active::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .site-header { position: sticky; }
  .header-inner { position: relative; gap: 10px; }
}
@media (max-width: 640px) {
  :root { --card-w: calc((100vw - 2 * var(--gutter) - 24px) / 3); }
  .art .art-title { font-size: 14px; left: 7px; right: 7px; bottom: 8px; }
  .brand img { height: 46px; }
  .chip-name { display: none; }
  .profile-chip { padding: 3px; }
  .header-actions { gap: 4px; }
  .hero { min-height: 520px; }
  .hero-blurb { font-size: 15.5px; }
  .details { grid-template-columns: 1fr; }
  .details-art.art { aspect-ratio: 16 / 9; }
  .details-body h2 { font-size: 28px; }
  .avatar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog-edit { padding: 20px; }
  .edit-actions .btn { flex: 1; }
  .search-field { width: 100%; }
  .profile-tile { width: 100px; }
}
@media (max-width: 380px) {
  .btn-sm#signin-open { padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
