/* v2: HLS player, credits, personas, studio landing, search, embeds */

/* ---------- HLS player ---------- */
.hp { position: relative; background: #000; border-radius: var(--radius); outline: none; margin-bottom: 12px; color: #fff; font-family: system-ui, sans-serif; }
:root[data-skin="retro"] .hp { border: var(--border-w) solid var(--line); box-shadow: var(--shadow); }
.hp-screen { position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; border-radius: var(--radius) var(--radius) 0 0; }
.hp-frame { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s; }
.hp.playing .hp-frame { opacity: 1; }
:root[data-skin="retro"] .hp-frame { filter: sepia(.35); }
.hp-cap { position: absolute; left: 14px; top: 12px; font-size: 15px; text-shadow: 0 1px 4px #000; }
.hp-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 32px; cursor: pointer; transition: .2s; }
.hp-big:hover { background: var(--accent); }
.hp.playing .hp-big { opacity: 0; pointer-events: none; }
.hp-sub { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); max-width: 80%; text-align: center; background: rgba(0, 0, 0, .65); padding: 4px 12px; border-radius: 3px; font-size: 20px; line-height: 1.3; }
.hp-sub[data-size="s"] { font-size: 15px; } .hp-sub[data-size="l"] { font-size: 27px; }
.hp-toast { position: absolute; right: 14px; top: 12px; display: flex; gap: 10px; align-items: center; max-width: 70%; background: rgba(0, 0, 0, .82); border-left: 3px solid var(--accent); padding: 8px 12px; font-size: 14px; border-radius: 3px; animation: pvin .2s; }
.hp-ach-ico { font-size: 30px; }
.hp-bar { padding: 0 12px 8px; background: #0d0d0f; }
.hp-line { position: relative; height: 18px; display: flex; align-items: center; }
.hp-line::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; background: rgba(255, 255, 255, .18); border-radius: 2px; }
.hp-buf, .hp-prog { position: absolute; left: 0; height: 4px; border-radius: 2px; }
.hp-buf { background: rgba(255, 255, 255, .35); } .hp-prog { background: var(--accent); }
.hp-line input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; margin: 0; }
.hp-marks i { position: absolute; top: -12px; transform: translateX(-50%); font-style: normal; font-size: 13px; pointer-events: none; }
.hp-ctl { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 14px; }
.hp-ctl > button, .hp-menu > button { background: none; border: 0; color: #fff; padding: 6px 8px; cursor: pointer; border-radius: 3px; font-size: 14px; }
.hp-ctl > button:hover, .hp-menu > button:hover { background: rgba(255, 255, 255, .12); }
.hp-pp { font-size: 16px !important; min-width: 34px; }
.hp-time { color: #ccc; padding: 0 6px; }
.hp-sp { flex: 1; }
.hp-capture { background: var(--accent) !important; color: var(--accent-ink) !important; }
.hp-menu { position: relative; }
.hp-pop { display: none; position: absolute; bottom: calc(100% + 8px); right: 0; z-index: 20; width: 300px; max-height: 340px; overflow: auto; background: rgba(18, 18, 22, .97); border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; padding: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.hp-pop.open { display: block; }
.hp-pop-h { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #888; padding: 8px 8px 4px; }
.hp-opt { display: block; width: 100%; text-align: left; background: none; border: 0; color: #eee !important; padding: 6px 8px; border-radius: 4px; cursor: pointer; font-size: 14px; }
.hp-opt small { display: block; color: #999; font-size: 12px; }
.hp-opt:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hp-opt.on { background: var(--accent); color: var(--accent-ink) !important; } .hp-opt.on small { color: inherit; opacity: .8; }
.hp-row { display: flex; gap: 4px; padding: 2px 8px 6px; }
.hp-row button { flex: 1; background: rgba(255, 255, 255, .08); border: 0; color: #fff; padding: 4px; border-radius: 3px; cursor: pointer; }
.hp-row button.on { background: var(--accent); color: var(--accent-ink); }
.hp-row button[data-hp-subsize="s"] { font-size: 11px; } .hp-row button[data-hp-subsize="l"] { font-size: 18px; }
.hp-timed { padding: 6px 12px 8px; background: #0d0d0f; border-top: 1px solid rgba(255, 255, 255, .06); color: #aaa !important; }
.hp.compact .hp-big { width: 60px; height: 60px; font-size: 22px; }
.hp:fullscreen { display: flex; flex-direction: column; } .hp:fullscreen .hp-screen { flex: 1; aspect-ratio: auto; }

/* ---------- credits / characters on title page ---------- */
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 18px; }
.credit { display: flex; gap: 10px; align-items: center; background: var(--panel); padding: 8px; border-radius: var(--radius); color: var(--text); }
.credit img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.credit small, .char small { display: block; color: var(--muted); font-size: 13px; }
.credit b { color: var(--head); }
.chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; margin-bottom: 18px; }
.char { display: grid; grid-template-columns: 64px 1fr; gap: 12px; background: var(--panel); padding: 10px; border-radius: var(--radius); }
.char img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); }
.char-voices { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; font-size: 14px; }
:root[data-skin="retro"] :is(.credit, .char) { border: 1px solid var(--line); }
:root[data-skin="retro"] :is(.credit img, .char img) { filter: sepia(.4); border-radius: 0; }
.plink { color: var(--link); border-bottom: 1px dotted currentColor; }
.tbl.dubs td small { display: block; }
.tbl .mini-img { width: 30px; display: inline-block; vertical-align: middle; margin-right: 6px; }

/* ---------- persona page (spotify-like) ---------- */
.ps-hero { position: relative; display: flex; align-items: flex-end; gap: 26px; min-height: 340px; padding: 28px; border-radius: var(--radius); background-size: cover; background-position: center; color: #fff; overflow: hidden; }
:root[data-skin="retro"] .ps-hero { border: var(--border-w) solid var(--line); box-shadow: var(--shadow); }
.ps-photo { width: 210px; height: 210px; object-fit: cover; border-radius: 50%; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); flex: none; }
:root[data-skin="retro"] .ps-photo { border-radius: 0; border: 4px solid #f5e7c4; filter: sepia(.3); }
.ps-kind { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
.ps-head h1 { font-size: clamp(36px, 6vw, 84px); line-height: 1; color: #fff; margin: 6px 0 10px; letter-spacing: -.01em; }
.ps-tagline { font-size: 18px; opacity: .9; }
.ps-stats { margin-top: 8px; font-size: 14px; opacity: .75; }
.ps-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 0; }
.ps-play { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink) !important; font-size: 22px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform .15s; }
.ps-play:hover { transform: scale(1.06); }
.ps-roles { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.ps-roles a { display: flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 20px; background: var(--panel); color: var(--text); border: 1px solid var(--line); font-size: 15px; }
.ps-roles a img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.ps-roles a.on { background: hsl(var(--rh), 55%, 42%); color: #fff; border-color: transparent; }
:root[data-skin="retro"] .ps-roles a, :root[data-skin="retro"] .ps-roles a img { border-radius: 0; }
.ps-editbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; background: var(--panel-2); border: 1px dashed var(--accent); padding: 10px 14px; border-radius: var(--radius); margin-bottom: 16px; }
.ps-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.ps-aside { position: sticky; top: 104px; }

/* track rows */
.trks { display: flex; flex-direction: column; background: var(--panel); border-radius: var(--radius); padding: 6px; }
:root[data-skin="retro"] .trks { border: var(--border-w) solid var(--line); }
.trk { display: grid; grid-template-columns: 30px 48px minmax(0, 1fr) 60px 70px 70px; align-items: center; gap: 12px; padding: 6px 10px; border-radius: var(--radius); color: var(--text); }
.trk:hover { background: var(--hover); }
.trk-n, .trk-play { grid-column: 1; grid-row: 1; text-align: center; color: var(--muted); }
.trk-play { opacity: 0; color: var(--text); } .trk:hover .trk-play { opacity: 1; } .trk:hover .trk-n { opacity: 0; }
.trk-img { grid-column: 2; grid-row: 1; width: 48px; height: 48px; object-fit: cover; border-radius: 3px; }
.trk-t { grid-column: 3; min-width: 0; }
.trk-t b { display: block; color: var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk:hover .trk-t b { color: var(--accent); }
.trk-t small { color: var(--muted); }
.trk-y, .trk-r, .trk-d { color: var(--muted); font-size: 14px; text-align: right; }

/* adaptive blocks: [img][txt] / [txt][img] */
.pbs { display: flex; flex-direction: column; gap: 18px; }
.pb { position: relative; display: grid; gap: 22px; align-items: center; background: var(--panel); padding: 16px; border-radius: var(--radius); }
:root[data-skin="retro"] .pb { border: var(--border-w) solid var(--line); box-shadow: var(--shadow); }
.pb-left { grid-template-columns: var(--iw, 45%) 1fr; }
.pb-right { grid-template-columns: 1fr var(--iw, 45%); }
.pb-right .pb-img { order: 2; }
.pb-none { grid-template-columns: 1fr; }
.pb-s { --iw: 32%; width: min(100%, 720px); }
.pb-m { --iw: 42%; }
.pb-l { --iw: 58%; }
.pb-s.pb-right { margin-left: auto; }
.pb-img { margin: 0; }
.pb-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
:root[data-skin="retro"] .pb-img img { filter: sepia(.4) contrast(1.05); border: 2px solid var(--line); }
.pb-img figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pb-txt h3 { margin-bottom: 6px; }
.pb-none .pb-txt { font-size: 1.15em; padding: 6px 10px; border-left: 3px solid var(--accent); }
.pb-link { font-size: 14px; }
.pb-tools { display: none; position: absolute; top: -14px; right: 10px; gap: 2px; background: var(--panel-solid); border: 1px solid var(--accent); border-radius: 16px; padding: 2px 6px; box-shadow: var(--shadow); z-index: 2; }
.pb-tools button { background: none; border: 0; color: var(--text); cursor: pointer; padding: 3px 7px; border-radius: 10px; font-size: 13px; }
.pb-tools button:hover { background: var(--accent); color: var(--accent-ink); }
.pb-tools .sep { width: 1px; background: var(--line); margin: 3px 2px; }
.editing .pb { outline: 1px dashed var(--accent); outline-offset: 3px; }
.editing .pb-tools { display: flex; }
.editing [contenteditable="true"] { outline: 1px dotted var(--muted); border-radius: 2px; cursor: text; }

/* threads */
.thread { display: flex; flex-direction: column; }
.post-t { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.post-t.new { animation: pvin .3s; }
.post-t-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.post-who { display: inline-flex; align-items: center; gap: 8px; }
.post-who img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.post-who b { color: var(--head); } .post-who small { color: var(--muted); font-size: 12px; }
.post-t p { font-size: 1.05em; }
.post-illus { margin: 8px 0; max-width: 520px; } .post-illus img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-illus figcaption { font-size: 12px; color: var(--muted); }
.ref-card { display: inline-flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px 6px 6px; color: var(--text); margin: 4px 0; background: var(--panel-2); }
.ref-card small { display: block; color: var(--muted); }
.ref-img { width: 40px; aspect-ratio: 2/3; object-fit: cover; border-radius: 2px; }
.ref-chip { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 20px; padding: 3px 12px 3px 3px; color: var(--text); margin: 4px 0; background: var(--panel-2); }
.ref-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.ref-chip small { color: var(--muted); font-size: 12px; }
.ref-q { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 3px; padding: 2px 8px; margin: 3px 4px 3px 0; color: var(--link); }
.composer { background: var(--panel); padding: 14px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
:root[data-skin="retro"] .composer { border: var(--border-w) solid var(--line); }
.seg-row { display: flex; gap: 6px; flex-wrap: wrap; }
.seg-chip input { display: none; }
.seg-chip span { display: inline-block; padding: 3px 12px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 14px; }
.seg-chip input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.composer-ref, .composer-q { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.composer-ref input, .composer-q input { flex: 1; min-width: 200px; }
.composer-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.illus-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; max-height: 300px; overflow: auto; }
.illus { position: relative; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; border-radius: 3px; }
.illus img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 2px; }
.illus i { position: absolute; left: 3px; top: 3px; font-style: normal; font-size: 11px; background: rgba(0, 0, 0, .6); color: #fff; padding: 0 4px; border-radius: 2px; }
.illus.on { border-color: var(--accent); }
.illus-more { width: 100%; }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 14px; }
.quote { margin: 0; background: var(--panel); padding: 16px 18px; border-radius: var(--radius); position: relative; display: flex; flex-direction: column; gap: 8px; }
:root[data-skin="retro"] .quote { border: var(--border-w) solid var(--line); box-shadow: var(--shadow); }
.quote blockquote { margin: 0; font-family: "PT Serif", Georgia, serif; font-size: 18px; font-style: italic; color: var(--head); }
.quote blockquote::before { content: "«"; color: var(--accent); }
.quote blockquote::after { content: "»"; color: var(--accent); }
.quote figcaption { font-size: 13px; color: var(--muted); }
.quote-act { display: flex; gap: 6px; }
.quote.editing blockquote { outline: 1px dashed var(--accent); padding: 4px; }
.quote.big blockquote { font-size: 22px; }

/* dialogs */
dialog { background: var(--panel-solid); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); max-width: min(920px, calc(100vw - 32px)); width: 100%; }
dialog::backdrop { background: rgba(0, 0, 0, .6); }
.film-dlg-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.film-pick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.film-pick .sel:first-child { flex: 1; min-width: 200px; }
.film-player .hp { margin: 0; }
.embed-dlg textarea { width: 100%; font-family: ui-monospace, Consolas, monospace; font-size: 13px; margin: 10px 0; min-height: 60px; }
.embed-dlg iframe { width: 100%; height: 240px; border: 1px dashed var(--line); border-radius: var(--radius); margin-top: 8px; background: transparent; }

/* aside bits */
.mini-ava { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.voice { display: flex; gap: 10px; align-items: center; padding: 6px 0; }
.voice img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.voice small { display: block; color: var(--muted); font-size: 12px; }
.tach { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.tach small { display: block; color: var(--muted); font-size: 12px; }
.tach-ico { font-size: 26px; line-height: 1; }
.ach-mini { display: flex; flex-wrap: wrap; gap: 6px; font-size: 22px; margin-bottom: 8px; }
.chip.sm { padding: 2px 9px; font-size: 13px; }
.tachs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tach-card { position: relative; display: flex; flex-direction: column; gap: 2px; background: var(--panel); border-radius: var(--radius); overflow: hidden; color: var(--text); padding-bottom: 10px; }
.tach-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; margin-bottom: 6px; }
.tach-card .tach-ico { position: absolute; left: 10px; top: 10px; background: rgba(0, 0, 0, .65); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; }
.tach-card b, .tach-card small { padding: 0 12px; } .tach-card small { color: var(--muted); font-size: 13px; }
.uicon { font-style: normal; font-size: 12px; }
.icon-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.icon-opt { display: flex !important; flex-direction: column !important; align-items: center; gap: 2px !important; width: 84px; padding: 8px 4px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; text-align: center; }
.icon-opt input { display: none; }
.icon-opt span { font-size: 24px; color: var(--text); }
.icon-opt small { font-size: 11px; color: var(--muted); }
.icon-opt:has(input:checked) { border-color: var(--accent); background: var(--panel-2); }
.icon-opt.locked { opacity: .35; cursor: not-allowed; }

/* ---------- studio landing ---------- */
html:has(.landing) { scroll-snap-type: y proximity; }
html:has(.landing) { overflow-x: hidden; }
.landing { position: relative; margin: -18px calc(50% - 50vw) 0; }
.ld-screen { min-height: calc(100vh - 90px); scroll-snap-align: start; display: flex; align-items: center; padding: 60px 8vw; background-size: cover; background-position: center; color: #fff; }
.ld-screen.right { justify-content: flex-end; }
.ld-intro { justify-content: center; }
.ld-text { max-width: 560px; }
.ld-text h1 { font-size: clamp(44px, 8vw, 110px); color: #fff; margin: 8px 0; line-height: 1; }
.ld-text h2 { font-size: clamp(30px, 4vw, 54px); color: #fff; }
.ld-text p { font-size: 19px; line-height: 1.5; }
.ld-text .muted { color: rgba(255, 255, 255, .7); }
.ld-lead { font-size: 22px !important; opacity: .9; }
.ld-logo { width: 110px; height: 110px; margin: 0 auto 10px; border-radius: 22px; }
.ld-moments { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.ld-moments li { background: rgba(255, 255, 255, .14); padding: 4px 12px; border-radius: 14px; font-size: 14px; backdrop-filter: blur(4px); }
.ld-hint { margin-top: 40px; opacity: .7; animation: bob 1.6s infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.ld-works { background: var(--page); color: var(--text); align-items: flex-start; padding: 40px 0; min-height: auto; }
.ld-works .wrap { width: 100%; }
.ld-versions { position: sticky; top: 92px; z-index: 5; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 8px; height: 0; overflow: visible; }
.ld-versions a, .ld-versions span { background: rgba(0, 0, 0, .6); color: #fff; padding: 5px 12px; border-radius: 16px; font-size: 14px; backdrop-filter: blur(6px); height: fit-content; }
.ld-versions span { background: none; }
.ld-versions a.on { background: var(--accent); color: var(--accent-ink); }
.ld-dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; gap: 8px; }
.ld-dots a { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); border: 1px solid rgba(0, 0, 0, .3); }
.ld-dots a:hover { background: var(--accent); }
:root[data-skin="retro"] .ld-screen:not(.ld-works) { filter: sepia(.25); }

/* ---------- search ---------- */
.search-big { display: flex; gap: 8px; margin-bottom: 10px; }
.search-big input { flex: 1; font-size: 18px; padding: 10px 14px !important; }
.refine { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.refine .chip { background: var(--panel); cursor: pointer; font: inherit; font-size: 13px; }
.stabs { margin: 8px 0 18px; flex-wrap: wrap; }
.stabs small { opacity: .7; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.person-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 8px; background: var(--panel); border-radius: var(--radius); color: var(--text); }
.person-card:hover { background: var(--hover); }
.person-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin-bottom: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
:root[data-skin="retro"] .person-card img { border-radius: 0; filter: sepia(.4); }
.person-card b { color: var(--head); } .person-card small { color: var(--muted); font-size: 13px; }
.syntax { margin-top: 30px; } .syntax summary { cursor: pointer; }
.syntax code { background: var(--panel-2); padding: 1px 6px; border-radius: 3px; font-size: 13px; }
.search { position: relative; }
.sugg { position: absolute; top: calc(100% + 4px); left: 0; right: 0; min-width: 340px; z-index: 60; background: var(--panel-solid); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; max-height: 70vh; overflow: auto; }
.sugg a { display: flex; gap: 10px; align-items: center; padding: 5px 8px; color: var(--text) !important; border-radius: 3px; }
.sugg a:hover { background: var(--hover); }
.sugg img { width: 34px; height: 34px; object-fit: cover; border-radius: 3px; }
.sugg small { display: block; color: var(--muted); font-size: 12px; }
.sugg-h { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 6px 8px 2px; }
.sugg-hint { background: var(--panel-2); border: 1px solid var(--line); border-radius: 3px; margin: 2px 4px; padding: 2px 8px; cursor: pointer; font-family: ui-monospace, monospace; font-size: 13px; color: var(--text); }
.sugg-all { justify-content: center; color: var(--accent) !important; }
.f-people { margin-top: 12px; }
.f-people summary { cursor: pointer; color: var(--muted); font-size: 15px; }
.f-people .f-row { margin-top: 10px; }
.f-in { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--muted); flex: 1 1 180px; }
.f-act { margin-top: 14px; justify-content: flex-end; }

/* ---------- embeds ---------- */
body.embed { background: transparent; min-height: 0; }
body.embed::before { display: none; }
.emb { background: var(--panel-solid); color: var(--text); padding: 14px 16px 26px; border-radius: 8px; position: relative; min-height: 100vh; }
.emb h3 { margin: 4px 0 6px; }
.emb-h { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.emb-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.emb-row img { aspect-ratio: 2/3; object-fit: cover; width: 100%; border-radius: 3px; }
.emb-split { display: grid; grid-template-columns: 90px 1fr; gap: 14px; }
.emb-split > img { width: 90px; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; }
.emb-split.round > img { aspect-ratio: 1; border-radius: 50%; }
.emb-split p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.emb-brand { position: absolute; right: 12px; bottom: 6px; font-size: 12px; color: var(--muted) !important; }

@media (max-width: 1100px) {
  .ps-grid { grid-template-columns: 1fr; } .ps-aside { position: static; }
}
@media (max-width: 760px) {
  .ps-hero { flex-direction: column; align-items: flex-start; min-height: 0; padding: 20px; }
  .ps-photo { width: 130px; height: 130px; }
  .ps-roles { margin-left: 0; }
  .pb-left, .pb-right { grid-template-columns: 1fr; } .pb-right .pb-img { order: 0; } .pb-s { width: 100%; }
  .trk { grid-template-columns: 26px 40px minmax(0, 1fr) 54px; gap: 8px; } .trk-y, .trk-d { display: none; } .trk-img { width: 40px; height: 40px; }
  .ld-screen { padding: 40px 20px; min-height: 80vh; }
  .ld-dots { display: none; }
  .chars { grid-template-columns: 1fr; }
  .hp-time { display: none; }
  .hp-pop { position: fixed; left: 8px; right: 8px; bottom: 60px; width: auto; }
  .sugg { position: fixed; left: 8px; right: 8px; top: 56px; min-width: 0; }
  .search-big { flex-wrap: wrap; } .search-big input { font-size: 16px; min-width: 0; }
}
