@font-face { font-family: "Figtree"; src: url(/fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

/* Podi's own palette. Show pages override these tokens inline with colours taken from the cover. */
:root {
  --bg: #F4F4F1;
  --surface: #FFFFFF;
  --ink: #151516;
  --ink-2: #3B3B3F;
  --muted: #6B6B71;
  --line: #E2E2DD;
  --line-strong: #CACAC4;
  --accent: #2B37F0;
  --accent-soft: #E7E9FE;
  --on: #FFFFFF;
  --glow: #2B37F0;
  --bad: #C2362C;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111112; --surface: #1B1B1D; --ink: #F2F2F0; --ink-2: #CFCFCC; --muted: #9A9AA0;
    --line: #2B2B2F; --line-strong: #3C3C41; --accent: #8E96FF; --accent-soft: #20234F; --on: #111112; --bad: #FF7A6E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111112; --surface: #1B1B1D; --ink: #F2F2F0; --ink-2: #CFCFCC; --muted: #9A9AA0;
  --line: #2B2B2F; --line-strong: #3C3C41; --accent: #8E96FF; --accent-soft: #20234F; --on: #111112; --bad: #FF7A6E;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }
.narrow { max-width: 760px; }
.label { font-size: 14px; font-weight: 600; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.page-title, .display-1 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -.02em; }
.display-2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }

/* ——— Header & buttons ——— */
.top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.top nav { display: flex; align-items: center; gap: 6px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.brand i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 5px solid var(--accent); }
.lang { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; }
.lang:hover { color: var(--ink); }
.top-dark { color: #FFFFFF; }
.top-dark .brand i { border-color: #9AA2FF; }
.top-dark .lang { color: rgba(255, 255, 255, .78); }
.top-dark .lang:hover { color: #FFFFFF; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; justify-self: start; padding: 14px 24px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on); font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; transition: filter .2s, transform .15s var(--ease); }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn-small { padding: 9px 16px; border-radius: 10px; font-size: 15px; }
.top-dark .btn-small { background: #2B37F0; color: #FFFFFF; }
.btn-invert { background: var(--bg); color: var(--ink); }
.quiet-link { justify-self: start; padding: 0; border: 0; background: none; color: var(--muted); font-size: 15px; text-decoration: none; cursor: pointer; }
.quiet-link:hover { color: var(--ink); text-decoration: underline; }

.find { display: flex; gap: 8px; width: 100%; max-width: 640px; }
.find input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s; }
.find input::placeholder { color: var(--muted); }
.find input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.find .btn { height: 56px; padding: 0 26px; font-size: 17px; }
.find-hero input { border-color: transparent; background: rgba(255, 255, 255, .97); color: #151516; }
.find-hero input::placeholder { color: #6B6B71; }
.find-hero input:focus { box-shadow: 0 0 0 4px rgba(43, 55, 240, .45); }
.find-hero .btn { background: #2B37F0; color: #FFFFFF; }
@media (max-width: 560px) {
  .find { flex-direction: column; }
  .find .btn { width: 100%; }
}

/* ——— Home ——— */
.home-hero { position: relative; isolation: isolate; overflow: hidden; background: #0C0C0E; color: #FFFFFF; }
.hero-wall { position: absolute; z-index: -2; top: -18%; left: -8%; width: 116%; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; transform: rotate(-6deg); opacity: .62; }
.hero-wall img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #222226; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 65% 60% at 50% 58%, rgba(12, 12, 14, .7), rgba(12, 12, 14, .2)),
  linear-gradient(180deg, rgba(12, 12, 14, .8) 0%, rgba(12, 12, 14, .45) 30%, rgba(12, 12, 14, .75) 78%, #0C0C0E 100%); }
.hero-inner { display: grid; justify-items: center; gap: 16px; max-width: 900px; margin: 0 auto; padding: clamp(48px, 9vw, 120px) 20px clamp(72px, 10vw, 140px); text-align: center; }
.hero-inner h1 { max-width: 15ch; font-size: clamp(38px, 6.2vw, 70px); font-weight: 900; line-height: 1.04; letter-spacing: -.025em; }
.hero-sub { max-width: 38ch; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: rgba(255, 255, 255, .88); }
.hero-cta { margin-top: 16px; font-size: 16px; color: rgba(255, 255, 255, .75); }
@media (max-width: 700px) {
  .hero-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; top: -10%; left: -20%; width: 140%; }
}

.row { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); }
.row-title { margin-bottom: 16px; font-size: clamp(22px, 2.4vw, 28px); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 16vw, 220px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(20px, 4vw, 48px); padding: 4px clamp(20px, 4vw, 48px) 12px; scrollbar-width: none; }
@media (min-width: 1280px) { .rail { padding-inline: calc((100vw - 1280px) / 2 + 48px); scroll-padding-inline: calc((100vw - 1280px) / 2 + 48px); } }
.rail::-webkit-scrollbar { display: none; }
.rail li { scroll-snap-align: start; }
.tile { display: grid; gap: 2px; text-decoration: none; }
.tile img { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 10px; border-radius: 12px; object-fit: cover; background: var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile:hover img { transform: scale(1.03); box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .45); }
.tile b { display: -webkit-box; overflow: hidden; font-size: 16px; font-weight: 700; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile span { overflow: hidden; font-size: 14px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }

.section-title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.02em; }
.makers { display: grid; gap: 28px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { display: grid; gap: 10px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.feature h3 { font-size: 21px; }
.feature p { color: var(--ink-2); font-size: 16px; }

.faq { display: grid; gap: 24px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 8px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: clamp(17px, 1.8vw, 20px); font-weight: 700; cursor: pointer; }
.faq details p { max-width: 62ch; padding: 0 24px 22px; color: var(--ink-2); }

.plus, .faq summary i, .more summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after, .more summary i::before, .more summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.faq summary i::after, .more summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after, .more[open] summary i::after { transform: rotate(0); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot .brand { font-size: 17px; color: var(--ink); }
.foot .brand i { width: 15px; height: 15px; border-width: 4px; }

.search { display: grid; gap: 28px; padding-top: 16px; padding-bottom: 88px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 28px 16px; }
.empty { max-width: 48ch; font-size: 19px; color: var(--ink-2); }
.lost { display: grid; gap: 18px; padding-top: 56px; padding-bottom: 96px; }

@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; }
}

/* ——— Show & episode pages ——— */
.sp { overflow-x: clip; }
.sp-glow { position: fixed; left: 50%; top: -34vh; width: 150vw; height: 95vh; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent); opacity: .5; pointer-events: none; z-index: 0; animation: breathe 16s ease-in-out infinite alternate; }
@keyframes breathe {
  from { opacity: .36; transform: translateX(-50%) scale(1); }
  to { opacity: .58; transform: translateX(-50%) scale(1.1); }
}
.sp-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; padding: 24px clamp(20px, 4vw, 56px) 40px; }
.sp-cover { margin: 0; }
.sp-cover img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: clamp(14px, 2vw, 22px); background: var(--line); box-shadow: 0 36px 70px -36px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); }
@media (max-width: 919px) { .sp-cover { max-width: 440px; } }
@media (min-width: 920px) {
  .sp-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: start; padding-top: 72px; padding-bottom: 72px; }
  .sp-cover { position: sticky; top: 72px; }
}
.sp-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.sp-body > *, .listen, .eps { min-width: 0; }
.listen, .eps { grid-template-columns: minmax(0, 1fr); }
.kicker { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; font-weight: 500; color: var(--muted); }
.kicker a { color: var(--ink); font-weight: 600; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.sp-title { margin-top: -6px; font-weight: 800; line-height: 1; letter-spacing: -.03em; overflow-wrap: break-word; }
.t-xl { font-size: clamp(48px, 9vw, 104px); }
.t-l { font-size: clamp(40px, 6.6vw, 80px); }
.t-m { font-size: clamp(32px, 4.8vw, 58px); }
.t-s { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; line-height: 1.08; }
.ep-title.t-xl, .ep-title.t-l { font-size: clamp(36px, 5.6vw, 68px); }
.sp-author { margin-top: -6px; font-size: 17px; color: var(--muted); }

.listen { display: grid; gap: 4px; margin-top: 6px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; background: var(--accent); color: var(--on); text-decoration: none; box-shadow: 0 16px 40px -24px var(--accent); transition: transform .2s var(--ease); }
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: scale(.985); }
.cta-text { display: grid; gap: 1px; }
.cta b { font-size: 18px; font-weight: 700; }
.cta small { font-size: 14px; opacity: .75; }
.cta-arrow { font-size: 22px; transition: transform .25s var(--ease); }
.cta:hover .cta-arrow { transform: translateX(4px); }
.apps a, .more summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; text-decoration: none; cursor: pointer; transition: padding .25s var(--ease); }
.apps a:hover { padding-left: 12px; }
.apps em { font-size: 15px; font-style: normal; font-weight: 400; color: var(--muted); }
.more summary { color: var(--muted); }
.more summary:hover { color: var(--ink); }

.extra { display: flex; flex-wrap: wrap; gap: 8px; }
.extra a { display: inline-flex; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s; }
.extra a:hover { border-color: var(--ink); }

.eps { display: grid; gap: 12px; margin-top: 12px; }
.eps .label { margin-top: 14px; }
.player { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px; background: var(--line); }
.play { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; transition: transform .15s var(--ease); }
.play:active { transform: scale(.92); }
.play:disabled { opacity: .3; cursor: default; }
.play i { width: 0; height: 0; margin-left: 4px; border-left: 14px solid var(--bg); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.play.is-playing i { width: 14px; height: 16px; margin: 0; border: 0; background: linear-gradient(90deg, var(--bg) 0 35%, transparent 35% 65%, var(--bg) 65%); }
.player-text { display: grid; flex: 1; gap: 3px; min-width: 0; }
.player-text b { display: -webkit-box; overflow: hidden; font-size: 17px; font-weight: 700; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.player-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { display: none; height: 4px; margin-top: 8px; overflow: hidden; border-radius: 4px; background: var(--line); cursor: pointer; }
.player.is-active .bar { display: block; }
.bar span { display: block; width: 0; height: 100%; background: var(--ink); }
.ep-list a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; text-decoration: none; }
.ep-list a span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ep-list a:hover span { text-decoration: underline; }
.ep-list em { flex: none; font-size: 14px; font-style: normal; color: var(--muted); }

.about { display: grid; gap: 10px; max-width: 62ch; }
.about p { font-size: 16px; line-height: 1.6; color: var(--ink); opacity: .85; white-space: pre-line; overflow-wrap: anywhere; }
.about .label { opacity: 1; }

.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: transparent; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .2s; }
.chip:hover { border-color: var(--ink); }
.qr-pop { max-width: min(340px, 90vw); padding: 28px; border: 0; border-radius: 22px; background: #FFFFFF; color: #151516; text-align: center; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .5); }
.qr-pop:popover-open { display: grid; justify-items: center; gap: 10px; }
.qr-pop::backdrop { background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.qr-pop img { width: 240px; height: 240px; }
.qr-pop p { font-size: 15px; font-weight: 700; }
.qr-pop .muted { font-weight: 400; color: #6B6B71; }
.qr-pop .chip { margin-top: 6px; border-color: #E2E2DD; }

.sp-foot { display: grid; gap: 18px; margin-top: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.claim { color: var(--ink); font-weight: 600; text-decoration: none; }
.claim:hover { text-decoration: underline; }
.verified { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.verified a { color: var(--ink); }
.verified i { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); }
.verified i::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 7px; border: solid var(--on); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.sp-foot-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); }
.sp-foot-row .lang { padding-right: 0; }
.made { display: inline-flex; align-items: center; gap: 8px; }
.made .brand { font-size: 15px; color: var(--ink); }
.made .brand i { width: 14px; height: 14px; border-width: 4px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 10; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .25s, transform .25s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ——— Sign in & studio ——— */
.auth { display: grid; gap: 20px; padding-top: clamp(32px, 7vw, 88px); padding-bottom: 96px; }
.stack { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field input, .pair input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .pair input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input::placeholder, .pair input::placeholder { color: var(--muted); }
.code-input { height: 64px !important; font-size: 30px !important; font-weight: 700; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.notice { padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 16px; }
.notice-ok { border-color: transparent; background: var(--accent-soft); }
.notice-error { border-color: var(--bad); color: var(--bad); }
.claim-cover { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; }

.studio { display: grid; gap: 28px; padding-top: 12px; padding-bottom: 96px; }
.show-list a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.show-list img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.show-list b { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; }
.show-list em { font-size: 15px; font-style: normal; color: var(--muted); }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); }
.badge-pro { border-color: var(--accent); background: var(--accent); color: var(--on); }

.ed-show { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 20px; }
.ed-show img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.ed-show p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.url-link { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.url-link:hover { text-decoration: underline; }

.week { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.week-text { font-size: clamp(20px, 2.2vw, 25px); font-weight: 500; line-height: 1.4; text-wrap: pretty; }
.ed-locked .week-text { color: var(--muted); }
.split { display: flex; gap: 2px; height: 10px; overflow: hidden; border-radius: 999px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }

.upsell { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--ink); color: var(--bg); }
.upsell h2 { font-size: 24px; }
.upsell p { max-width: 44ch; margin-top: 6px; opacity: .78; }
.upsell-dev { grid-column: 1 / -1; }

.ed { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.ed-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ed h2 { font-size: 22px; }
.ed > .muted { max-width: 56ch; font-size: 16px; }
.ed-locked form { opacity: .45; }
.inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.slug-field { display: flex; flex: 1; align-items: center; min-width: 240px; height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.slug-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.slug-field span { color: var(--muted); }
.slug-field input { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; outline: none; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; }
.order li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-n { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.order-name { font-weight: 500; }
.order-name em { font-size: 14px; font-style: normal; font-weight: 400; color: var(--muted); }
.is-hidden .order-name { color: var(--muted); }
.order-ctl { display: flex; gap: 4px; }
.order-ctl button { min-width: 38px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s; }
.order-ctl button:hover:not(:disabled) { border-color: var(--ink); }
.order-ctl button:disabled { opacity: .35; cursor: default; }
.order + .quiet-link { margin-top: 14px; }
input[type="color"] { width: 56px; height: 48px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }

@media (max-width: 600px) {
  .upsell { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; gap: 6px; }
  .ed-show { grid-template-columns: 72px minmax(0, 1fr); }
  .ed-show img { width: 72px; height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
