/* Prototie AI — built on the Prototie PM tokens (tokens.css).
   Direction: warm-quiet editorial. Type and people's imagery carry the page; the brand blue is kept
   for the one action that moves a match forward. Oversized display type with tight tracking,
   hairlines instead of boxes, large soft radii on media, motion only on entry and on intent. */
:root {
  --max: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --r-4: 28px;
  --display: clamp(2.6rem, 1.1rem + 6.4vw, 6.25rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-sans); font-size: var(--fs-16); line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
p a, .muted a, td a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ic { flex: none; }
.muted { color: var(--fg-3); }
.small { font-size: var(--fs-13); }
.center { text-align: center; }
.mono { font-family: var(--font-mono); font-size: var(--fs-12); }
.row { display: flex; align-items: center; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.row.center { justify-content: center; }
.row.wrap { flex-wrap: wrap; }
.gap { gap: var(--s-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: var(--fs-13); font-weight: 600; letter-spacing: 0.02em; color: var(--accent-text); }
.display { font-size: var(--display); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.display.sm { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); }
.display em { font-style: normal; color: var(--accent-text); }
.lede { font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.25rem); color: var(--fg-2); max-width: 44ch; }
.section-title, .band-head h2, .cta h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.15; }
.notice { background: var(--warn-soft); color: var(--warn); border-radius: var(--r-2); padding: 10px 14px; font-size: var(--fs-13); }
.warn-text { color: var(--warn); }

/* entry motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease) var(--d, 0ms), transform 0.6s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
main > * { animation: fade 0.35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { main > * { animation: none; } }

/* ── controls ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h-md); padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 600; font-size: var(--fs-14); white-space: nowrap; transition: background 0.15s, border-color 0.15s, transform 0.15s var(--ease); }
.btn:hover { border-color: var(--fg-3); }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--fg-2); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { height: var(--h-sm); padding: 0 12px; font-size: var(--fs-13); }
.btn.lg { height: var(--h-lg); padding: 0 24px; font-size: var(--fs-16); }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--fg-3); border-top-color: transparent; animation: spin 0.7s linear infinite; }
.btn.primary.loading::after { border-color: var(--on-accent); border-top-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--fg-2); }
.icon-btn:hover:not(:disabled) { background: var(--surface-2); color: var(--fg); }
.icon-btn:disabled { opacity: 0.3; cursor: default; }
.icon-btn.solid { background: var(--accent); color: var(--on-accent); }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: var(--fs-13); font-weight: 500; color: var(--fg-2); white-space: nowrap; }
a.chip:hover, button.chip:hover { border-color: var(--fg-3); color: var(--fg); }
.chip.sel { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip.mood { background: var(--accent-soft); border-color: transparent; color: var(--accent-text); }
.chip.sample { border-style: dashed; height: 22px; padding: 0 8px; font-size: var(--fs-12); }
.chip.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip.on-img { position: absolute; top: 12px; left: 12px; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(8px); border-color: transparent; color: var(--fg); height: 26px; font-size: var(--fs-12); }
.chip.on-img.sample { left: auto; right: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: var(--fs-12); font-weight: 600; background: var(--surface-3); color: var(--fg-2); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.act { background: var(--accent-soft); color: var(--accent-text); }
.pill.wait { background: var(--warn-soft); color: var(--warn); }
.pill.done { background: var(--surface-3); color: var(--fg-2); }
.pill.off { background: transparent; border: 1px solid var(--line-strong); color: var(--fg-3); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seg button { border: 0; background: transparent; border-radius: 999px; min-height: 36px; padding: 6px 12px; font-weight: 600; font-size: var(--fs-14); color: var(--fg-3); line-height: 1.25; }
.seg button small { display: block; font-weight: 400; font-size: var(--fs-12); }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-1); }
.seg button:disabled { opacity: 0.4; cursor: not-allowed; }
.field { display: grid; gap: 6px; font-size: var(--fs-13); font-weight: 600; color: var(--fg-2); }
.field i { font-style: normal; font-weight: 400; color: var(--fg-3); }
input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="search"], select, textarea { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--r-2); border: 1px solid var(--line-strong); background: var(--surface); font-weight: 400; font-size: var(--fs-16); color: var(--fg); transition: border-color 0.15s, box-shadow 0.15s; }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
::placeholder { color: var(--fg-3); opacity: 0.8; }
.affix { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-2); background: var(--surface); }
.affix em { font-style: normal; padding-left: 14px; color: var(--fg-3); font-weight: 400; font-size: var(--fs-16); }
.affix input { border: 0; padding-left: 2px; background: transparent; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-2); background: var(--surface); align-self: end; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.check b { display: block; font-size: var(--fs-14); }
.check small { color: var(--fg-3); font-size: var(--fs-12); }
.form { display: grid; gap: var(--s-4); }
.form.inline { grid-template-columns: 1fr 2fr auto; align-items: end; }
.select select { min-height: 36px; padding: 4px 32px 4px 14px; border-radius: 999px; font-size: var(--fs-13); font-weight: 500; }

/* ── shell ── */
.header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: var(--s-5); height: var(--bar-h); padding: 0 var(--pad); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: var(--fs-18); }
.brand b { color: var(--accent-text); }
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: var(--fs-14); font-weight: 500; color: var(--fg-2); white-space: nowrap; }
.nav a:hover { color: var(--fg); background: var(--surface-2); }
.nav a[aria-current] { color: var(--fg); font-weight: 700; }
.header-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.credit-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: var(--fs-13); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fg); color: var(--bg); font-weight: 700; font-size: var(--fs-14); }
main { min-height: 72vh; outline: none; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-5); padding: var(--s-7) var(--pad); margin-top: var(--s-8); border-top: 1px solid var(--line); font-size: var(--fs-13); color: var(--fg-3); }
.footer b { color: var(--fg); font-size: var(--fs-16); }
.footer-info { text-align: right; line-height: 1.8; }

/* ── home ── */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 9vw, 120px) var(--pad) clamp(32px, 5vw, 64px); display: grid; gap: var(--s-5); }
.hero .lede { max-width: 52ch; }
.composer { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); transition: box-shadow 0.2s, border-color 0.2s; }
.composer.big { margin-top: var(--s-4); max-width: 860px; padding: 10px; }
.composer:focus-within, .composer.drag { border-color: var(--accent); box-shadow: var(--focus-shadow), var(--ring); }
.composer-drop { cursor: pointer; display: flex; }
.composer-add { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); font-size: var(--fs-14); font-weight: 600; color: var(--fg-2); }
.composer-drop:hover .composer-add { background: var(--accent-soft); color: var(--accent-text); }
.composer-thumb { position: relative; display: block; width: 44px; height: 44px; }
.composer-thumb img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.thumb-x { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 0; background: var(--fg); color: var(--bg); }
.composer-input { border: 0 !important; background: transparent !important; box-shadow: none !important; min-width: 0; padding-left: 6px !important; }
.composer.big .composer-input { font-size: var(--fs-18) !important; }
.composer-go { height: 44px; padding: 0 20px; }
.composer-hint { position: absolute; left: 24px; top: calc(100% + 10px); display: flex; align-items: center; gap: 6px; font-size: var(--fs-13); color: var(--fg-3); }
.composer-hint:empty { display: none; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-strong); vertical-align: -2px; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s-6); font-size: var(--fs-13); color: var(--fg-3); }
.band, .steps, .duo, .cta { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--pad); }
.band-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.band-head h2 { display: flex; align-items: center; gap: 10px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-14); font-weight: 600; color: var(--fg-2); white-space: nowrap; }
.more:hover { color: var(--accent-text); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: var(--s-4); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: var(--s-3); scrollbar-width: none; }
.rail > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-6) var(--s-4); }

/* influencer card */
.inf { display: block; }
.inf-cover { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-3); overflow: hidden; background: var(--surface-3); }
.cover-art, .cover-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.inf:hover .cover-art, .inf:hover .cover-img { transform: scale(1.045); }
.cover-initial { font-family: var(--font-sans); font-size: 120px; font-weight: 800; letter-spacing: -0.06em; fill: #fff; opacity: 0.9; mix-blend-mode: overlay; }
.inf-body { padding: 12px 4px 0; display: grid; gap: 4px; }
.inf-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.inf-top h3 { font-size: var(--fs-18); letter-spacing: -0.02em; }
.inf-cat { font-size: var(--fs-12); color: var(--fg-3); white-space: nowrap; }
.inf-head { font-size: var(--fs-14); color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.inf-meta { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-13); color: var(--fg-3); }
.inf-meta span:last-child { color: var(--fg); font-weight: 600; }
.fit { height: 3px; border-radius: 3px; background: var(--surface-3); margin-top: 8px; overflow: hidden; }
.fit i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.why { display: grid; gap: 2px; margin-top: 6px; font-size: var(--fs-12); color: var(--accent-text); }
.why li::before { content: "· "; }
.skel .inf-cover, .skel p, .skel-block { background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skel p { height: 12px; border-radius: 6px; width: 70%; }
.skel p + p { width: 45%; }
.skel-block { height: 320px; border-radius: var(--r-3); }
@keyframes shimmer { to { background-position: -200% 0; } }

.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: var(--s-6); border-top: 1px solid var(--fg); }
.steps li { padding: var(--s-5) var(--s-5) var(--s-5) 0; display: grid; gap: 8px; align-content: start; }
.steps li + li { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.num { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--accent-text); }
.steps h3 { font-size: var(--fs-22); letter-spacing: -0.02em; }
.steps p { color: var(--fg-2); font-size: var(--fs-14); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.duo-card { display: grid; gap: var(--s-3); align-content: end; justify-items: start; min-height: 300px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-4); background: var(--surface); border: 1px solid var(--line); }
.duo-card.alt { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.duo-card.alt p { color: color-mix(in srgb, var(--bg) 72%, var(--fg)); }
.duo-card.alt .chip { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.duo-card h3 { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.2; max-width: 18ch; }
.duo-card p { color: var(--fg-2); max-width: 46ch; }
.cta { text-align: center; display: grid; gap: var(--s-4); justify-items: center; padding-block: clamp(56px, 8vw, 120px); background: var(--hero-wash); border-radius: var(--r-4); margin: 0 var(--pad); max-width: none; }
.cta p { color: var(--fg-2); max-width: 46ch; }

/* ── pages ── */
.page { max-width: var(--max); margin: 0 auto; padding: var(--s-6) var(--pad); display: grid; gap: var(--s-5); }
.page.narrow { max-width: 980px; }
.page > *, .profile > *, .profile-main > *, .block > * { min-width: 0; }
/* single-column grids must not grow to their widest child */
.block:not(.btn), .form, .sheet-body, #book, #bookform, .avd, .calc-box, .auth-form { grid-template-columns: minmax(0, 1fr); }
.page-head { position: sticky; top: calc(var(--bar-h) + 8px); z-index: 20; }
.page-title { display: grid; gap: 10px; padding-block: var(--s-5) var(--s-3); }
.page-title.row { display: flex; }
.page-title h1, .summary h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.15; }
.summary { display: grid; gap: 4px; padding-top: var(--s-4); }
.read { display: flex; gap: var(--s-4); align-items: center; }
.read img { width: 96px; height: 96px; border-radius: var(--r-3); object-fit: cover; flex: none; }
.read-moods { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0; font-size: var(--fs-13); color: var(--fg-3); }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.selects { display: flex; gap: 8px; }
.rec { padding: var(--s-5); border-radius: var(--r-4); background: var(--accent-soft); display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.rec .band-head { margin: 0; }
.rec .band-head h2 { font-size: var(--fs-22); }
.empty { display: grid; gap: var(--s-3); justify-items: center; text-align: center; padding: var(--s-8) var(--pad); }
.empty h2 { font-size: var(--fs-22); letter-spacing: -0.02em; }
.empty p { color: var(--fg-3); max-width: 40ch; }
.block:not(.btn) { display: grid; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.block > h2 { font-size: var(--fs-18); letter-spacing: -0.01em; }
.group { display: flex; gap: 8px; align-items: baseline; font-size: var(--fs-16); margin-top: var(--s-4); }
.group span { color: var(--fg-3); font-weight: 500; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
.table th { text-align: left; font-size: var(--fs-12); font-weight: 600; color: var(--fg-3); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-family: inherit; font-size: inherit; color: inherit; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table th.num { font-size: var(--fs-12); color: var(--fg-3); }
.table .up { color: var(--ok); }
.table .down { color: var(--bad); }
.table .acts { white-space: nowrap; text-align: right; }
.table .acts > * { margin-left: 4px; vertical-align: middle; }
.table tr.dim { opacity: 0.55; }
.table.edit input:not([type="checkbox"]) { min-height: 34px; padding: 4px 8px; font-size: var(--fs-13); border-radius: 8px; min-width: 70px; }
.table.edit td { padding: 6px 8px; }

/* ── profile ── */
.profile { max-width: var(--max); margin: 0 auto; padding: var(--s-6) var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 64px); align-items: start; }
.profile-hero { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: end; padding-bottom: var(--s-6); }
.profile-cover { aspect-ratio: 3 / 4; border-radius: var(--r-4); overflow: hidden; background: var(--surface-3); }
.profile-intro { display: grid; gap: var(--s-3); }
.profile-name { font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5.5rem); line-height: 1; letter-spacing: -0.05em; }
.facts { display: flex; gap: var(--s-6); padding: var(--s-3) 0; border-block: 1px solid var(--line); }
.facts dt { font-size: var(--fs-12); color: var(--fg-3); }
.facts dd { font-size: var(--fs-18); font-weight: 700; letter-spacing: -0.01em; }
.bio { color: var(--fg-2); max-width: 64ch; white-space: pre-line; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.shot { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: var(--r-2); overflow: hidden; background: var(--surface-3); cursor: zoom-in; }
figure.shot { cursor: default; }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
button.shot:hover img, button.shot:hover video { transform: scale(1.05); }
.shot-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, 0.18); pointer-events: none; }
.shot-del { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(20, 20, 28, 0.72); color: #fff; }
.lightbox { max-height: 78vh; margin: 0 auto; border-radius: var(--r-2); }
.book { position: sticky; top: calc(var(--bar-h) + 16px); }
#book { display: grid; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-4); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.book-price { display: flex; align-items: baseline; gap: 8px; }
.book-price b { font-size: var(--fs-28); letter-spacing: -0.03em; }
.book-price span { color: var(--fg-3); font-size: var(--fs-13); }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-dow { font-size: var(--fs-12); color: var(--fg-3); }
.day { aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; font-size: var(--fs-14); color: var(--fg-3); font-variant-numeric: tabular-nums; }
.day:disabled { opacity: 0.35; cursor: default; text-decoration: line-through; }
.day.open { color: var(--fg); font-weight: 700; background: var(--accent-soft); }
.day.open:hover { background: var(--blue-100); }
:root[data-theme="dark"] .day.open:hover { background: var(--surface-3); }
.day.sel { background: var(--accent) !important; color: var(--on-accent); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slot { display: grid; gap: 2px; padding: 10px 6px; border-radius: var(--r-2); border: 1px solid var(--line-strong); background: var(--surface); text-align: center; }
.slot b { font-size: var(--fs-14); }
.slot span { font-size: var(--fs-12); color: var(--fg-3); }
.slot.sel { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.slot:disabled { opacity: 0.45; cursor: not-allowed; }
#bookform { display: grid; gap: var(--s-3); }
#bookform[hidden] { display: none; }
.quote { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--r-2); background: var(--surface-2); font-size: var(--fs-14); }
.quote:empty { display: none; }
.quote-row { display: flex; justify-content: space-between; gap: 8px; }
.quote-row i { font-style: normal; font-weight: 400; color: var(--fg-3); font-size: var(--fs-12); }
.quote-why { font-size: var(--fs-12); color: var(--fg-3); }

/* ── sheet / toast ── */
.sheet { width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: var(--r-4); background: var(--surface); color: var(--fg); box-shadow: var(--shadow-2); overflow: auto; }
.sheet.wide { width: min(980px, calc(100vw - 24px)); background: var(--bg); }
.sheet::backdrop { background: rgba(14, 15, 22, 0.5); backdrop-filter: blur(4px); }
.sheet[open] { animation: rise 0.28s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.sheet-body { display: grid; gap: var(--s-4); padding: var(--s-6) var(--s-5) var(--s-5); }
.sheet-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--fg-3); }
.sheet-x:hover { background: var(--surface-2); }
.sheet-title { font-size: var(--fs-22); letter-spacing: -0.02em; padding-right: 32px; }
.options { display: grid; gap: 8px; }
.options legend { font-size: var(--fs-13); font-weight: 600; color: var(--fg-2); margin-bottom: 8px; }
.option { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-2); border: 1px solid var(--line-strong); cursor: pointer; }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.option:has(input:disabled) { opacity: 0.6; cursor: not-allowed; }
.option input { margin-top: 4px; accent-color: var(--accent); }
.option b { display: block; }
.option span { font-size: var(--fs-13); color: var(--fg-3); }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.total b { font-size: var(--fs-28); letter-spacing: -0.03em; }
#toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { padding: 12px 18px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: var(--fs-14); font-weight: 500; box-shadow: var(--shadow-2); animation: rise 0.25s var(--ease); transition: opacity 0.3s; max-width: calc(100vw - 32px); }
.toast.bad { background: var(--bad); color: #fff; }
.toast.out { opacity: 0; }

/* ── pricing ── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-3); }
.plan { position: relative; display: grid; gap: var(--s-3); align-content: start; grid-template-rows: auto auto auto 1fr auto; padding: var(--s-5); border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line); }
.plan.hot { border-color: var(--accent); box-shadow: var(--focus-shadow); }
.plan-flag { position: absolute; top: -12px; left: var(--s-5); height: 24px; background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.plan h3 { font-size: var(--fs-22); letter-spacing: -0.02em; }
.plan-tag { font-size: var(--fs-13); color: var(--fg-3); min-height: 2.6em; }
.plan-price b { display: block; font-size: var(--fs-28); letter-spacing: -0.03em; }
.plan-price span { font-size: var(--fs-13); color: var(--fg-3); }
.plan ul { display: grid; gap: 6px; font-size: var(--fs-14); color: var(--fg-2); }
.plan li::before { content: "✓ "; color: var(--accent-text); font-weight: 700; }
.calc { grid-template-columns: 1.4fr 1fr; gap: var(--s-6); align-items: start; }
.calc > div { display: grid; gap: var(--s-3); }
.calc-box { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-3); background: var(--surface-2); }
.calc-out { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s-3); border-top: 1px solid var(--line-strong); }
.calc-out b { font-size: var(--fs-40); letter-spacing: -0.04em; color: var(--accent-text); }

/* ── auth ── */
.auth { max-width: 1040px; margin: 0 auto; padding: clamp(32px, 7vw, 96px) var(--pad); display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(24px, 5vw, 80px); align-items: start; }
.auth-side { display: grid; gap: var(--s-4); }
.auth-form { display: grid; gap: var(--s-4); padding: var(--s-6); border-radius: var(--r-4); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }

/* ── bookings ── */
.bk-list { display: grid; gap: var(--s-3); }
.bk { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--s-4); padding: var(--s-4); border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line); align-items: start; }
.bk-cover { width: 72px; aspect-ratio: 3 / 4; border-radius: var(--r-2); overflow: hidden; }
.bk-date { display: grid; place-items: center; align-content: center; width: 72px; aspect-ratio: 1; border-radius: var(--r-2); background: var(--accent-soft); color: var(--accent-text); }
.bk-date b { font-size: var(--fs-28); line-height: 1; letter-spacing: -0.03em; }
.bk-date span { font-size: var(--fs-12); }
.bk-main { display: grid; gap: 4px; min-width: 0; }
.bk-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bk-main h3 { font-size: var(--fs-18); letter-spacing: -0.01em; }
.bk-brief { font-size: var(--fs-14); color: var(--fg-2); white-space: pre-line; }
.bk-side { display: grid; gap: 6px; justify-items: end; text-align: right; }
.bk-money { font-size: var(--fs-18); letter-spacing: -0.02em; white-space: nowrap; }
.bk-money s { font-size: var(--fs-13); color: var(--fg-3); font-weight: 400; }
.bk-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

/* ── account / studio ── */
.wallet { display: grid; grid-template-columns: auto auto 1fr; gap: var(--s-6); align-items: center; padding: var(--s-5) var(--s-6); border-radius: var(--r-4); background: var(--fg); color: var(--bg); }
.wallet span { display: block; font-size: var(--fs-13); opacity: 0.7; }
.wallet-main b { font-size: clamp(2.4rem, 2rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -0.04em; }
.wallet-plan b { font-size: var(--fs-22); }
.wallet-plan small { display: block; opacity: 0.7; }
.wallet .btn { justify-self: end; }
.camps { display: grid; gap: 8px; }
.camp { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-2); background: var(--surface); border: 1px solid var(--line); }
.camp h3 { font-size: var(--fs-16); }
.camp p { font-size: var(--fs-14); color: var(--fg-2); }
.status-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); padding: 12px 16px; border-radius: var(--r-2); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-14); }
.status-bar p { flex: 1; min-width: 200px; color: var(--fg-2); }
.tabs { display: flex; gap: var(--s-5); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { border: 0; background: transparent; padding: 12px 0; font-weight: 600; color: var(--fg-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--fg); border-color: var(--fg); }
#pane .block:first-child { border-top: 0; }
.swatches { display: flex; gap: 8px; }
.swatches input { width: 56px; height: 44px; padding: 2px; border-radius: var(--r-2); border: 1px solid var(--line-strong); background: var(--surface); }
.savebar { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) 0; background: linear-gradient(transparent, var(--bg) 30%); }
.dropzone { display: grid; gap: 6px; justify-items: center; padding: var(--s-6); border-radius: var(--r-3); border: 1.5px dashed var(--line-strong); background: var(--surface); cursor: pointer; text-align: center; color: var(--fg-2); }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-soft); }
.avgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.avdow { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: var(--fs-12); color: var(--fg-3); }
.avd { display: grid; gap: 3px; padding: 6px; border-radius: var(--r-1); background: var(--surface); border: 1px solid var(--line); }
.avd.we { background: var(--surface-2); }
.avd > b { font-size: var(--fs-12); color: var(--fg-2); }
.avs { border: 0; border-radius: 6px; padding: 3px 0; font-size: 11px; font-weight: 600; background: var(--surface-3); color: var(--fg-3); }
.avs.on { background: var(--accent); color: var(--on-accent); }
.avs.bk { background: var(--ok-soft); color: var(--ok); cursor: not-allowed; }
.avs.demo { display: inline-block; padding: 1px 8px; }

/* ── chatbot ── */
.chat { position: fixed; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 60; }
.chat-fab { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--fg); color: var(--bg); box-shadow: var(--shadow-2); transition: transform 0.2s var(--ease); }
.chat-fab:hover { transform: scale(1.06); }
.chat.open .chat-fab { display: none; }
.chat-panel { display: grid; grid-template-rows: auto 1fr auto; width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100vh - 100px)); border-radius: var(--r-4); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; animation: rise 0.25s var(--ease); }
.chat-panel[hidden] { display: none; }
.chat-panel header { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px 14px 20px; border-bottom: 1px solid var(--line); }
.chat-panel header span { display: block; font-size: var(--fs-12); color: var(--fg-3); }
.chat-log { overflow-y: auto; padding: var(--s-4); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: var(--fs-14); line-height: 1.55; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg.user { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 6px; }
.msg.quick { max-width: 100%; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.msg .intent { display: block; font-size: 11px; font-weight: 700; color: var(--accent-text); margin-bottom: 2px; }
.msg.typing { display: flex; gap: 4px; padding: 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.25; transform: translateY(-2px); } }
.msg.ticket { max-width: 100%; background: var(--surface); border: 1px solid var(--line-strong); }
.msg.ticket form { display: grid; gap: 8px; }
.msg.ticket p { font-size: var(--fs-12); color: var(--fg-3); }
.msg.ticket input, .msg.ticket textarea { min-height: 38px; padding: 8px 12px; font-size: var(--fs-14); }
.chat-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-input input { border-radius: 999px; min-height: 40px; font-size: var(--fs-14); }

/* ── operator console ── */
.adm { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: var(--s-6); max-width: 1440px; margin: 0 auto; padding: var(--s-5) var(--pad); align-items: start; }
.adm-nav { position: sticky; top: calc(var(--bar-h) + 16px); display: grid; gap: 2px; }
.adm-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-2); font-size: var(--fs-14); font-weight: 500; color: var(--fg-2); }
.adm-nav a:hover { background: var(--surface-2); }
.adm-nav a[aria-current] { background: var(--fg); color: var(--bg); font-weight: 600; }
.adm-main { display: grid; gap: var(--s-4); min-width: 0; }
.adm-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-3); padding-bottom: var(--s-2); }
.adm-head h1 { font-size: var(--fs-28); letter-spacing: -0.03em; }
.adm-head p { font-size: var(--fs-14); max-width: 70ch; }
.search { display: flex; gap: 8px; }
.search .btn { flex: none; }
.head-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.adm-me { display: grid; gap: 2px; padding: 4px 12px 12px; }
.adm-me b { font-size: var(--fs-14); }
.adm-me span { font-size: var(--fs-12); color: var(--fg-3); }
.adm-main .nowrap { white-space: nowrap; }
.adm-main .perm-cell { min-width: 210px; max-width: 320px; }
.adm-main .perm-cell p { margin-top: 4px; }
.perms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-2); font-size: var(--fs-14); }
.perms[hidden] { display: none; }
.perms legend { padding: 0 4px; font-size: var(--fs-13); font-weight: 600; color: var(--fg-2); }
.perms label, .check-line { display: flex; align-items: center; gap: 8px; font-size: var(--fs-14); }
/* the customer chat button would sit on top of the row actions */
body:has(.adm) .chat:not(.open) .chat-fab { display: none; }
.temp-pw { display: grid; gap: 6px; padding: var(--s-4); border-radius: var(--r-2); background: var(--surface-2); }
.temp-pw span { font-size: var(--fs-13); color: var(--fg-3); }
.temp-pw code { font-size: 1.25rem; user-select: all; overflow-wrap: anywhere; }
.memo { margin-top: 6px; padding: 6px 8px; max-width: 42ch; border-radius: 6px; background: var(--surface-2); color: var(--fg-2); overflow-wrap: anywhere; }
.detail { display: grid; gap: 2px; min-width: 0; }
.detail h3 { font-size: var(--fs-14); }
.detail .line b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pw-who { overflow-wrap: anywhere; }
.search input { min-height: 36px; padding: 4px 14px; border-radius: 999px; font-size: var(--fs-14); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-3); }
.kpi { display: grid; gap: 2px; padding: var(--s-4) var(--s-5); border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line); }
a.kpi:hover { border-color: var(--fg-3); }
.kpi span { font-size: var(--fs-13); color: var(--fg-3); }
.kpi b { font-size: var(--fs-28); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi small { font-size: var(--fs-12); color: var(--fg-3); }
.adm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); align-items: start; }
.panel { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.panel.wide { grid-column: 1 / -1; }
.panel h2 { display: flex; align-items: baseline; gap: 8px; font-size: var(--fs-16); }
.panel .table-wrap { border: 0; border-radius: 0; margin: 0 calc(var(--s-5) * -1); }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: var(--fs-12); }
.line { display: flex; justify-content: space-between; gap: var(--s-3); padding: 8px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-14); }
.line:last-of-type { border-bottom: 0; }
.line b { font-weight: 600; white-space: nowrap; }
.line span { color: var(--fg-3); text-align: right; overflow: hidden; text-overflow: ellipsis; }
.line small { font-size: var(--fs-12); }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; height: 160px; align-items: end; }
.bar { display: grid; grid-template-rows: 1fr auto; gap: 4px; height: 100%; align-items: end; text-align: center; }
.bar i { display: block; min-height: 2px; border-radius: 4px 4px 0 0; background: var(--accent); }
.bar span { font-size: 11px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.tickets { display: grid; gap: var(--s-3); }
.ticket { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-3); background: var(--surface); border: 1px solid var(--line); }
.ticket:not(.open) { opacity: 0.75; }
.ticket header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.t-sum { font-size: var(--fs-14); }
.ticket details { font-size: var(--fs-13); color: var(--fg-2); }
.ticket details p { margin-top: 6px; }
.ticket summary { cursor: pointer; color: var(--fg-3); }
.t-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--fs-13); }
.t-form { display: flex; gap: 6px; flex: 1; min-width: 280px; justify-content: flex-end; }
.t-form input, .t-form select { min-height: 32px; padding: 4px 10px; font-size: var(--fs-13); border-radius: 8px; }
.t-form select { width: auto; }

/* ── small screens ── */
@media (max-width: 960px) {
  .profile { grid-template-columns: minmax(0, 1fr); }
  .book { position: static; }
  .adm { grid-template-columns: 1fr; }
  .adm-nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; }
  .adm-grid { grid-template-columns: 1fr; }
  .adm-me { padding: 8px 12px; align-content: center; }
  .t-form { flex-wrap: wrap; min-width: 0; }
  .t-form select { flex: 1; }
  .adm-main > .table-wrap > .table { min-width: 860px; }
  .auth, .calc { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr; }
  .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .header { gap: var(--s-3); }
  .brand span { display: none; }
  .header-end .btn.ghost { display: none; }
  .two, .three, .duo, .form.inline { grid-template-columns: 1fr; }
  .composer { border-radius: var(--r-3); grid-template-columns: auto 1fr; }
  .composer-go { grid-column: 1 / -1; }
  .composer-add span { display: none; }
  .composer-hint { position: static; grid-column: 1 / -1; padding: 0 8px 4px; flex-wrap: wrap; }
  .profile-hero { grid-template-columns: 1fr; }
  .profile-cover { max-width: 260px; }
  .facts { gap: var(--s-4); }
  .bk { grid-template-columns: 56px 1fr; }
  .bk-cover, .bk-date { width: 56px; }
  .bk-side { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .bk-actions { justify-content: flex-start; }
  .wallet { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .wallet .btn { grid-column: 1 / -1; justify-self: stretch; }
  .footer-info { text-align: left; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); }
  .avs { font-size: 10px; }
  .avd { padding: 3px; min-width: 0; }
  .avgrid { gap: 3px; }
  #book { padding: var(--s-4); }
  .cta { margin: 0 12px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Design pass 2 — editorial marketplace.
   Benchmarks: Red Dot Brands & Communication Design winners in the website /
   interface categories (large confident type with real imagery up front, one
   systematic booking path, results that explain themselves).
   Rules kept: AA contrast for text, 24px+ targets (44px on touch), motion only
   on entry and intent and never required, every state reachable by keyboard.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  /* text-on-fill and text-on-tint need darker blues than the brand fill to reach 4.5:1 */
  --accent-text: var(--blue-700);
  --accent-fill: var(--blue-600);
  --accent-fill-hover: var(--blue-700);
  --ok: #0b6f4c;
  --shadow-3: 0 36px 70px -28px rgba(30, 31, 43, 0.42), 0 10px 24px -10px rgba(30, 31, 43, 0.18);
}
:root[data-theme="dark"] { --accent-fill: var(--accent); --accent-fill-hover: var(--accent-hover); --shadow-3: 0 36px 70px -24px rgba(0, 0, 0, 0.75); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --accent-fill: var(--accent); --accent-fill-hover: var(--accent-hover); --shadow-3: 0 36px 70px -24px rgba(0, 0, 0, 0.75); } }

main { overflow-x: clip; }
::placeholder { opacity: 1; }
.btn.primary, .plan-flag, .msg.user, .day.sel, .avs.on, .icon-btn.solid { background: var(--accent-fill) !important; border-color: var(--accent-fill); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-fill-hover) !important; border-color: var(--accent-fill-hover); }
.btn .ic { transition: transform 0.25s var(--ease); }
.btn:hover .ic, .more:hover .ic { transform: translateX(3px); }
.fit i { background: var(--accent-fill); }

/* header: the current section is marked, not just bolder */
.nav a { position: relative; }
.nav a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent-fill); }

/* ── hero ── */
.hero-wrap { position: relative; isolation: isolate; }
.hero-wrap::before { content: ""; position: absolute; inset: calc(var(--bar-h) * -1) 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 62% at 82% 38%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 72%), radial-gradient(34% 44% at 4% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%);
  mask-image: linear-gradient(#000 70%, transparent); }
.hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(24px, 5vw, 72px); padding-bottom: clamp(40px, 6vw, 88px); }
.hero-copy { display: grid; gap: var(--s-5); min-width: 0; }
.hero .composer.big { margin-top: var(--s-2); }
.hero .examples { margin-top: var(--s-5); }
.hero-art { position: relative; width: 100%; max-width: 430px; aspect-ratio: 4 / 5; justify-self: center; }
.fan { position: absolute; width: 58%; aspect-ratio: 3 / 4; border-radius: var(--r-4); overflow: hidden; background: var(--surface-3); box-shadow: var(--shadow-3); transition: transform 0.9s var(--ease); animation: fan-in 0.9s var(--ease) backwards; }
.fan .cover-art, .fan .cover-img { width: 100%; height: 100%; object-fit: cover; }
.fan.a { left: 0; top: 12%; transform: rotate(-7deg); animation-delay: 0.05s; }
.fan.b { right: 0; top: 0; transform: rotate(6deg); animation-delay: 0.15s; }
.fan.c { left: 20%; bottom: 0; width: 62%; transform: rotate(-1.5deg); z-index: 2; animation-delay: 0.25s; }
.hero-art:hover .fan.a { transform: rotate(-11deg) translate(-10px, -6px); }
.hero-art:hover .fan.b { transform: rotate(9deg) translate(10px, -8px); }
.hero-art:hover .fan.c { transform: rotate(0deg) translateY(-6px); }
@keyframes fan-in { from { opacity: 0; transform: translateY(28px) rotate(0deg) scale(0.94); } }
.note { position: absolute; z-index: 3; right: -2%; bottom: 9%; width: min(230px, 62%); display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-3); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: var(--fs-13); animation: fan-in 0.9s var(--ease) 0.45s backwards; }
.note-k { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-12); font-weight: 600; color: var(--accent-text); }
.note b { font-size: var(--fs-14); }
.note li { color: var(--fg-2); }
.note li::before { content: "✓ "; color: var(--accent-text); font-weight: 700; }

/* mood words as a slow outlined ribbon (decorative, hidden from assistive tech) */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(10px, 1.6vw, 20px); user-select: none; }
.marquee-track { display: flex; width: max-content; gap: clamp(24px, 4vw, 56px); padding-right: clamp(24px, 4vw, 56px); animation: slide 48s linear infinite; }
.marquee span { font-size: clamp(2rem, 1rem + 4.6vw, 4.75rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; color: transparent; -webkit-text-stroke: 1px var(--line-strong); white-space: nowrap; }
.marquee span:nth-child(4n + 1) { color: var(--fg); -webkit-text-stroke: 0; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track, .fan, .note { animation: none; } .fan { transition: none; } }

/* ── lineup: one lead card and four supporting ── */
.band-head .eyebrow { margin-bottom: 6px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
.bento .inf:first-child { grid-column: span 2; grid-row: span 2; display: grid; grid-template-rows: 1fr auto; }
.bento .inf:first-child .inf-cover { aspect-ratio: auto; min-height: 420px; height: 100%; }
.bento .inf:first-child .inf-over h3 { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.bento .inf:first-child .inf-head { font-size: var(--fs-16); }

/* card: the name sits on the picture, the facts under it */
.inf-cover { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.inf:hover .inf-cover, .inf:focus-visible .inf-cover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.inf:focus-visible { box-shadow: none; }
.inf:focus-visible .inf-cover { outline: 3px solid var(--accent-fill); outline-offset: 3px; }
.inf-over { position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 56px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(12, 13, 20, 0.5) 45%, rgba(12, 13, 20, 0.82)); }
.inf-over h3 { font-size: var(--fs-22); letter-spacing: -0.03em; line-height: 1.1; text-shadow: 0 1px 12px rgba(12, 13, 20, 0.35); }
.inf-over span { font-size: var(--fs-12); font-weight: 500; white-space: nowrap; padding-bottom: 3px; }
.inf-body { padding-top: 10px; }
.skel .inf-cover { transform: none; box-shadow: none; }

/* ── facts strip ── */
.stats { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.stats dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--fg); }
.stats dl > div { display: grid; gap: 6px; padding: var(--s-5) var(--s-5) var(--s-5) 0; }
.stats dl > div + div { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.stats dt { font-size: var(--fs-13); color: var(--fg-3); }
.stats dd { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd small { font-size: 0.32em; font-weight: 600; letter-spacing: 0; margin-left: 4px; color: var(--fg-2); }
.stats:empty { display: none; }

/* ── steps: numerals carry the rhythm ── */
.steps .eyebrow { margin-bottom: 6px; }
.steps .num { font-family: var(--font-sans); font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--accent-fill); margin-bottom: var(--s-3); }
.steps li { transition: background 0.3s; }
.duo-card { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.duo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cta { background: var(--fg); color: var(--bg); position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 50% 120%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); }
.cta h2 { font-size: clamp(1.9rem, 1.2rem + 3.4vw, 3.75rem); letter-spacing: -0.04em; }
.cta p { color: color-mix(in srgb, var(--bg) 76%, var(--fg)); }
.cta .btn:not(.primary) { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 45%, transparent); }
.cta .btn:not(.primary):hover { border-color: var(--bg); }

/* ── explore ── */
.page-head { padding-block: 8px; margin-block: -8px; background: linear-gradient(var(--bg) 70%, transparent); }
.filters { position: relative; }
.filters .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 2px 32px 2px 0; mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.selects { flex-wrap: wrap; align-items: center; }
.chip.reset { border-style: dashed; }
.why { color: var(--accent-text); }

/* ── profile ── */
.stepper { display: flex; align-items: center; gap: 8px; font-size: var(--fs-12); font-weight: 600; color: var(--fg-3); }
.stepper li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.stepper li + li::before { content: ""; width: clamp(10px, 3vw, 28px); height: 1px; background: var(--line-strong); margin-right: 2px; }
.stepper i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 11px; background: var(--surface-3); color: var(--fg-2); }
.stepper li.on { color: var(--fg); }
.stepper li.on i { background: var(--fg); color: var(--bg); }
.stepper li.done { color: var(--accent-text); }
.stepper li.done i { background: var(--accent-fill); color: var(--on-accent); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-12); color: var(--fg-3); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.dot.open { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--blue-300); }
.dot.sel { background: var(--accent-fill); }
.day.open { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.book-bar { display: none; }
#book { scroll-margin-top: calc(var(--bar-h) + 12px); }

/* ── footer ── */
.footer { align-items: start; }
.footer-brand p { margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-nav a, .footer-nav button { border: 0; background: none; padding: 4px 0; color: var(--fg-2); font-size: var(--fs-14); font-weight: 500; }
.footer-nav a:hover, .footer-nav button:hover { color: var(--accent-text); }

/* ── inline validation ── */
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 18%, transparent); }
.field:has(:user-invalid) > span:first-child { color: var(--bad); }

/* ── touch: every control is at least 44px tall ── */
@media (pointer: coarse) {
  .btn, .btn.sm, a.chip, button.chip, .icon-btn, .seg button, .nav a, .select select, .tabs button, .footer-nav a, .footer-nav button, .sheet-x { min-height: 44px; }
  .icon-btn, .sheet-x { min-width: 44px; }
  .nav a { display: inline-flex; align-items: center; }
  .thumb-x { width: 28px; height: 28px; top: -8px; right: -8px; }
  .avs { min-height: 30px; }
  .table.edit input:not([type="checkbox"]) { min-height: 40px; }
}

@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 340px; order: -1; justify-self: start; margin-left: 4%; }
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento .inf:first-child { grid-column: span 3; grid-row: auto; }
  .bento .inf:first-child .inf-cover { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .bento .inf:nth-child(5) { display: none; }
}
@media (max-width: 960px) {
  .has-bookbar .book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transition: transform 0.35s var(--ease); }
  .book-bar.off { transform: translateY(110%); }
  .book-bar b { display: block; font-size: var(--fs-18); letter-spacing: -0.02em; }
  .book-bar span { font-size: var(--fs-12); color: var(--fg-3); }
  .has-bookbar .chat:not(.open) { bottom: 84px; }
  .has-bookbar .footer { padding-bottom: 96px; }
}
@media (max-width: 680px) {
  .hero-art { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); }
  .bento .inf:first-child { grid-column: span 2; }
  .bento .inf:first-child .inf-cover { aspect-ratio: 4 / 3; }
  .bento .inf:nth-child(5) { display: block; }
  .bento .inf:nth-child(4) ~ .inf { display: none; }
  .stats dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats dl > div { padding: var(--s-4) var(--s-3) var(--s-4) 0; }
  .stats dl > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats dl > div:nth-child(even) { padding-left: var(--s-4); }
  .stats dl > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .inf-over { padding: 40px 12px 10px; }
  .inf-over h3 { font-size: var(--fs-18); }
  .inf-over span { display: none; }
  .filters { flex-direction: column; align-items: stretch; }
  .selects .select { flex: 1; }
  .footer { flex-direction: column; }
}

/* QA pass: targets and small-screen header */
.brand { min-height: 44px; }
.more { min-height: 32px; padding-block: 4px; }
@media (max-width: 680px) {
  .header-end .btn.ghost { display: inline-flex; }
  .header-end #theme { display: none; }
  .header { gap: var(--s-2); }
  .nav a { padding-inline: 8px; }
}

/* ══ Design pass 3 — seeding: SNS shortcuts and exclusive talent ══ */
:root { --excl: #8a5a00; --excl-soft: #fdf1dc; --excl-line: #ecc77a; }
:root[data-theme="dark"] { --excl: #f2c36b; --excl-soft: #3a2a10; --excl-line: #6b4d1a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --excl: #f2c36b; --excl-soft: #3a2a10; --excl-line: #6b4d1a; } }

/* the card is an article now: one link for the picture and facts, SNS buttons outside it */
.inf { position: relative; display: grid; align-content: start; }
.inf-link { display: block; color: inherit; border-radius: var(--r-3); }
.inf-link:focus-visible { box-shadow: none; outline: 3px solid var(--accent-fill); outline-offset: 4px; }
.inf-link:focus-visible .inf-cover { outline: 0; }
.bento .inf:first-child { grid-template-rows: 1fr auto; }
.bento .inf:first-child .inf-link { display: grid; grid-template-rows: 1fr auto; height: 100%; }
.cover-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 70px); }
.cover-tags .chip.on-img { position: static; }
.chip.excl { background: var(--excl-soft); border: 1px solid var(--excl-line); color: var(--excl); font-weight: 700; gap: 4px; }
.chip.on-img.excl { background: var(--excl-soft); border-color: var(--excl-line); }
.eyebrow .chip.excl { height: 24px; font-size: var(--fs-12); }
.inf-sns { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 4px 0; }
.seed-tag { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: var(--fs-12); font-weight: 700; white-space: nowrap; }
.seed-tag.lg { height: 32px; padding: 0 14px; font-size: var(--fs-13); }
.sns { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg-2); transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s var(--ease); }
.sns:hover { color: var(--accent-text); border-color: var(--accent-fill); background: var(--accent-soft); transform: translateY(-2px); }
.chip.seed .ic { margin-right: -1px; }
.chip.seed.sel { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }
.excl-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: var(--fs-13); color: var(--excl); }

/* profile: the SNS block reads as the first thing to check before seeding */
.seeding-block { border-top: 0; padding-top: 0; }
.sns-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.sns-grid .sns { display: grid; grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; gap: 12px; width: auto; height: auto; min-height: 60px; padding: 12px 16px; border-radius: var(--r-3); text-align: left; }
.sns-grid .sns span { display: grid; min-width: 0; }
.sns-grid .sns b { font-size: var(--fs-14); color: var(--fg); }
.sns-grid .sns small { font-size: var(--fs-13); color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sns-grid .sns:hover { transform: none; }
.sns-grid .sns:hover .ic:last-child { transform: translate(2px, -2px); }
.sns-grid .sns .ic:last-child { transition: transform 0.2s var(--ease); color: var(--fg-3); }
.hint { display: block; font-style: normal; font-weight: 400; font-size: var(--fs-12); color: var(--fg-3); }
@media (pointer: coarse) { .sns { width: 44px; height: 44px; } .sns-grid .sns { width: auto; height: auto; } }
@media (max-width: 680px) {
  .sns-grid { grid-template-columns: minmax(0, 1fr); }
  .cover-tags { max-width: calc(100% - 56px); }
}
.chip.seed { margin-right: 12px; position: relative; }
.chip.seed::after { content: ""; position: absolute; right: -9px; top: 50%; height: 16px; width: 1px; background: var(--line-strong); transform: translateY(-50%); }
.affix em { white-space: nowrap; }
.affix input { min-width: 0; }

/* ══ Loading states — photos and page data ══ */
/* a photo that is still on its way: its own box shimmers; once decoded it fades in */
img.img-wait { background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; color: transparent; }
img.img-ok { animation: img-in 0.45s var(--ease); }
@keyframes img-in { from { opacity: 0; filter: blur(6px); } }
/* big slots also get a spinner so a slow photo never looks like an empty frame */
.profile-cover, .lightbox-wrap { position: relative; }
.profile-cover:has(img.img-wait)::after, .lightbox-wrap:has(img.img-wait)::after, .bento .inf:first-child .inf-cover:has(img.img-wait)::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--accent-fill) 22%, transparent); border-top-color: var(--accent-fill); animation: spin 0.8s linear infinite; pointer-events: none;
}
.lightbox-wrap { display: grid; place-items: center; min-height: min(60vh, 420px); }
.lightbox-wrap img.img-wait { width: min(100%, 520px); aspect-ratio: 3 / 4; }
/* page data loading: a thin bar runs along the top edge (only if it takes longer than a blink) */
main[aria-busy="true"]::before { content: ""; position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 40%; border-radius: 0 3px 3px 0; background: var(--accent-fill); animation: busy-bar 1.1s var(--ease) 0.15s infinite both; }
@keyframes busy-bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) {
  img.img-wait, main[aria-busy="true"]::before { animation-duration: 3s; }
  img.img-ok { animation: none; }
}
/* first paint, before the app script has drawn anything */
.boot { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--bg); }
.boot img { animation: boot-pulse 1.2s ease-in-out infinite; }
.boot i { width: 120px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent) 0 0 / 50% 100% no-repeat var(--surface-3); animation: boot-run 1s linear infinite; }
@keyframes boot-pulse { 50% { opacity: 0.4; transform: scale(0.94); } }
@keyframes boot-run { from { background-position: -100% 0; } to { background-position: 200% 0; } }

/* ══ Prototie ENT links (pttent.co.kr) ══ */
.ext { display: inline-block; margin-left: 3px; font-size: 0.85em; opacity: 0.7; transition: transform 0.2s var(--ease); }
a:hover > .ext { transform: translate(2px, -2px); opacity: 1; }
.nav a.nav-ext { color: var(--fg-3); }
.nav a.nav-ext:hover { color: var(--fg); }
/* home: ENT's dark stage colours, so the section reads as the agency's own corner */
.ent-band { max-width: var(--max); margin: 0 auto; padding: clamp(16px, 3vw, 32px) var(--pad); }
.ent-band[hidden] { display: none; }
.ent-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-4); color: #fff; background: radial-gradient(70% 120% at 100% 0%, rgba(37, 99, 255, 0.5), transparent 60%), #0b0b0f; }
.ent-intro { display: grid; gap: 14px; }
.ent-band .eyebrow { color: #8fb0ff; display: inline-flex; align-items: center; gap: 8px; }
.ent-band .eyebrow img { filter: brightness(0) invert(1); }
.ent-band h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.2; color: #fff; }
.ent-intro > p { color: rgba(255, 255, 255, 0.72); max-width: 52ch; }
.ent-band .btn:not(.primary) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.ent-band .btn:not(.primary):hover { border-color: #fff; }
.ent-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ent-band .inf-body, .ent-band .inf-head { color: #fff; }
.ent-band .inf-meta { color: rgba(255, 255, 255, 0.65); }
.ent-band .sns { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.ent-band img.img-wait { background: linear-gradient(100deg, #1c1c22 30%, #2a2a33 50%, #1c1c22 70%); background-size: 200% 100%; }
@media (max-width: 1040px) { .ent-inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) {
  .ent-inner { padding: 24px 0 24px 20px; }
  .ent-intro { padding-right: 20px; }
  .ent-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 20px; scrollbar-width: none; }
  .ent-cards > * { scroll-snap-align: start; }
}
/* profile: link out to the official ENT profile and fan lounge */
.ent-block.block { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: var(--s-5); border-radius: var(--r-3); border: 1px solid var(--excl-line); background: linear-gradient(120deg, var(--excl-soft), var(--surface) 70%); }
.ent-block .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
:root[data-theme="dark"] .ent-block .eyebrow img { filter: brightness(0) invert(1); }
.chip.excl-f { margin-right: 4px; }
.chip.excl-f.sel { background: var(--excl-soft); border-color: var(--excl-line); color: var(--excl); }
.footer-family { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; width: 100%; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-13); }
.footer-family span { color: var(--fg-3); }
.footer-family a { color: var(--fg-2); font-weight: 500; }
.footer-family a:hover { color: var(--accent-text); }
