/* ロマ子様クッキング — 真紅 × 漆黒 × ロイヤルゴールド / mobile first */
:root {
  --bg: #0b0708;
  --bg-2: #140c0e;
  --surface: #1a1012;
  --surface-2: #221416;
  --line: rgba(212, 175, 55, .2);
  --line-strong: rgba(212, 175, 55, .55);
  --gold: #d4af37;
  --gold-hi: #f3dc8f;
  --gold-lo: #8f7424;
  --ruby: #c41e3a;
  --ruby-hi: #e8455f;
  --wine: #5c0f1f;
  --wine-deep: #2e0710;
  --text: #f3eadb;
  --muted: #b3a493;
  --chalk-bg: #1d2823;
  --chalk: #eef0e6;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --hand: "Klee One", var(--sans);
  --r: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 110% 50% at 50% -8%, rgba(196, 30, 58, .28) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(92, 15, 31, .25) 0%, transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
  overflow-x: hidden;
}
body.is-modal { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 760px; }

.kicker {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--gold);
}

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px 8px 14px;
  background: rgba(11, 7, 8, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ruby), var(--gold), var(--ruby), transparent);
  opacity: .7;
}
.hdr__brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.hdr__face {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--gold); box-shadow: 0 0 0 2px var(--wine), 0 0 14px rgba(196, 30, 58, .45);
  object-fit: cover;
}
.hdr__face--text, .ftr__face--text, .talk__face--text, .vip__face--text {
  display: grid; place-items: center; font-family: var(--serif); color: var(--gold);
}
.hdr__name {
  font-family: var(--serif); font-weight: 800; font-size: 15px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hdr__name small { display: block; font-family: var(--sans); font-weight: 400; font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.hdr__right { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr__back { font-size: 12px; color: var(--muted); }
.hdr__back:hover { color: var(--gold-hi); }
.hdr__lit {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(180deg, var(--ruby), var(--wine));
  border: 1px solid var(--gold);
  color: var(--gold-hi); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(196, 30, 58, .35), inset 0 1px 0 rgba(255, 255, 255, .15);
  transition: transform .2s, box-shadow .2s;
}
.hdr__lit:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(196, 30, 58, .55); }
.hdr__lit-long { display: none; }

/* ---------- talk bubble ---------- */
.talk { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.talk__face {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--gold); box-shadow: 0 0 0 3px var(--wine);
  object-fit: cover;
}
.talk__bubble {
  position: relative; flex: 1;
  background: #fbf3e4; color: #2a1416;
  border-radius: 14px; padding: 10px 14px;
  font-family: var(--serif); font-weight: 800; font-size: 15px; line-height: 1.7;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.talk__bubble::before {
  content: ""; position: absolute; left: -9px; top: 50%; transform: translateY(-50%);
  border-style: solid; border-width: 8px 10px 8px 0; border-color: transparent #fbf3e4 transparent transparent;
}
.talk__bubble span { display: block; font-family: var(--sans); font-weight: 400; font-size: 10.5px; color: var(--wine); letter-spacing: .12em; }
.talk--big { flex-direction: column; gap: 14px; margin: 0 auto 20px; }
.talk--big .talk__face {
  width: 128px; height: 128px; border-width: 3px;
  box-shadow: 0 0 0 5px var(--wine), 0 0 0 6px var(--gold-lo), 0 0 40px rgba(196, 30, 58, .55);
}
.talk--big .talk__bubble {
  flex: none; font-size: 19px; padding: 10px 22px; text-align: center;
  background: linear-gradient(180deg, #fff8ea, #f5e6c8);
}
.talk--big .talk__bubble::before {
  left: 50%; top: -9px; transform: translateX(-50%);
  border-width: 0 9px 10px 9px; border-color: transparent transparent #fff8ea transparent;
}
.talk--big .talk__bubble span { display: none; }

/* ---------- intro ---------- */
.intro { padding-top: 36px; padding-bottom: 28px; text-align: center; }
.intro__title {
  margin-top: 6px;
  font-family: var(--serif); font-size: clamp(34px, 9.5vw, 64px);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 12px rgba(196, 30, 58, .35));
}
.intro__tag { margin-top: 8px; color: var(--muted); font-size: 14px; }
.stats {
  margin: 22px auto 0; max-width: 520px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(92, 15, 31, .35), rgba(20, 12, 14, .6));
}
.stats div { padding: 10px 4px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: 10.5px; color: var(--muted); letter-spacing: .1em; }
.stats dd { margin: 0; font-family: var(--serif); font-weight: 800; font-size: 26px; color: var(--gold-hi); line-height: 1.3; }
.stats small { font-size: 12px; margin-left: 2px; color: var(--gold); }

/* ---------- tabs (top) ---------- */
.tabs {
  position: sticky; top: 55px; z-index: 15;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 9px 16px; margin-bottom: 8px;
  background: rgba(11, 7, 8, .92); border-bottom: 1px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--muted); white-space: nowrap;
}
.tabs a b { font-size: 11px; color: var(--gold); font-weight: 700; }
.tabs a:hover { color: var(--gold-hi); border-color: var(--line-strong); }

/* ---------- section heads ---------- */
.section-label {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: var(--serif); font-weight: 800; font-size: 21px;
}
.section-label span { font-size: 10.5px; letter-spacing: .26em; color: var(--ruby-hi); font-weight: 600; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-head__count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.sec-head__count b { font-family: var(--serif); font-size: 22px; color: var(--gold-hi); margin-right: 2px; }
.sec-head__link { font-size: 13px; color: var(--gold); white-space: nowrap; }
.sec-lead { margin: 4px 0 18px; color: var(--muted); font-size: 13.5px; }
.hero .section-label { margin-bottom: 16px; }

/* ---------- badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 1.7; letter-spacing: .04em;
  border: 1px solid var(--line-strong); color: var(--gold-hi);
}
.badge--price { background: linear-gradient(180deg, var(--ruby), var(--wine)); color: #fff2d6; border-color: var(--gold); }
.badge--tool { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em; text-align: center;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #b8901f); color: #2a0a10; box-shadow: 0 6px 24px rgba(212, 175, 55, .22); }
.btn--gold:hover { box-shadow: 0 8px 32px rgba(212, 175, 55, .4); transform: translateY(-1px); }
.btn--line { border: 1px solid var(--line-strong); color: var(--gold-hi); }
.btn--line:hover { background: rgba(212, 175, 55, .08); }

/* ---------- hero (latest) ---------- */
.hero { padding-top: 20px; padding-bottom: 56px; }
.hero__card {
  display: block; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(196, 30, 58, .25);
  transition: border-color .25s;
}
.hero__card:hover { border-color: var(--gold); }
.hero__img { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hero__card:hover .hero__img img { transform: scale(1.03); }
.hero__body { padding: 20px 18px 24px; display: grid; gap: 12px; }
.hero__dish { font-family: var(--serif); font-size: clamp(24px, 6.4vw, 34px); color: var(--gold-hi); }
.hero__title { font-size: 14px; color: var(--muted); line-height: 1.7; }
.hero__lead { font-size: 14px; color: var(--muted); }
.hero .btn { justify-self: start; }

/* ---------- recipe grid ---------- */
.recipes { padding-bottom: 64px; }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card__img { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__dur {
  position: absolute; right: 8px; bottom: 8px;
  padding: 0 8px; border-radius: 4px; font-size: 11px; line-height: 1.8;
  background: rgba(0, 0, 0, .72); color: #fff;
}
.card__ribbon {
  position: absolute; left: 0; top: 12px;
  padding: 2px 12px 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  background: linear-gradient(90deg, var(--ruby), var(--wine)); color: var(--gold-hi);
  border: 1px solid var(--gold); border-left: 0; border-radius: 0 999px 999px 0;
}
.card__body { padding: 14px 16px 18px; display: grid; gap: 6px; }
.card__no { font-family: var(--serif); font-size: 12px; color: var(--gold); letter-spacing: .14em; }
.card__dish { font-family: var(--serif); font-size: 19px; }
.card__title { font-size: 12.5px; color: var(--muted); line-height: 1.65; margin-bottom: 4px; }
.noimg { width: 100%; height: 100%; background: var(--bg-2); }

/* ---------- shorts gallery ---------- */
.shorts { padding-bottom: 64px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 14px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text);
  font: 700 13px var(--sans); letter-spacing: .04em;
}
.chip b { font-size: 11px; color: var(--gold); }
.chip.is-on { background: linear-gradient(180deg, var(--ruby), var(--wine)); border-color: var(--gold); color: var(--gold-hi); }
.chip.is-on b { color: var(--gold-hi); }
.sgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
.sc { display: block; min-width: 0; }
.sc__img {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.sc:hover .sc__img { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(196, 30, 58, .3); }
.sc__img img { width: 100%; height: 100%; object-fit: cover; }
.sc__img img.is-wide { transform: scale(1.34); }
.sc__img::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(transparent, rgba(11, 7, 8, .75)); pointer-events: none;
}
.sc__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(11, 7, 8, .55); border: 1px solid rgba(243, 220, 143, .8);
  transition: transform .2s, background .2s;
}
.sc__play::after {
  content: ""; position: absolute; left: 17px; top: 13px;
  border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent var(--gold-hi);
}
.sc:hover .sc__play { transform: translate(-50%, -50%) scale(1.1); background: rgba(196, 30, 58, .8); }
.sc__flags { position: absolute; left: 6px; top: 6px; right: 6px; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px; }
.sc__flag {
  padding: 0 7px; border-radius: 999px; font-size: 10.5px; font-weight: 700; line-height: 1.8;
  background: rgba(11, 7, 8, .78); color: var(--gold-hi); border: 1px solid var(--line-strong);
}
.sc__flag--hot { background: linear-gradient(180deg, var(--ruby), var(--wine)); border-color: var(--gold); }
.sc__flag--price { background: var(--gold); color: #2a0a10; border-color: var(--gold); }
.sc__flag--recipe { background: #fbf3e4; color: var(--wine); border-color: #fbf3e4; }
.sc__dish {
  margin-top: 7px; font-family: var(--serif); font-weight: 800; font-size: 13.5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sc time { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.shorts__more { text-align: center; margin-top: 28px; }

/* shorts strip (detail page) */
.strip { padding: 8px 16px 48px; }
.strip .sec-head { margin-bottom: 14px; }
.strip__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  padding-bottom: 8px;
}
.strip__row .sc { scroll-snap-align: start; }

/* shorts modal */
.sm { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 12px; }
.sm__backdrop { position: absolute; inset: 0; background: rgba(5, 2, 3, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sm__panel {
  position: relative; width: min(100%, 400px); max-height: 100%;
  display: flex; flex-direction: column; gap: 10px; align-items: stretch;
}
.sm__player {
  position: relative; width: 100%; aspect-ratio: 9 / 16; max-height: 72vh; margin: 0 auto;
  border-radius: 12px; overflow: hidden; background: #000;
  border: 1px solid var(--gold); box-shadow: 0 0 0 4px var(--wine), 0 20px 60px rgba(0, 0, 0, .6);
}
.sm__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sm__close {
  position: absolute; right: -4px; top: -6px; z-index: 2; transform: translateY(-100%);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: var(--wine); color: var(--gold-hi); border: 1px solid var(--gold); font-size: 22px; line-height: 1;
}
.sm__panel { margin-top: 44px; }
.sm__info { text-align: center; display: grid; gap: 6px; }
.sm__title { font-family: var(--serif); font-weight: 800; font-size: 16px; }
.sm__quote { font-size: 13px; color: var(--gold-hi); }
.sm__actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.sm__actions .btn { padding: 9px 16px; font-size: 13.5px; }

/* ---------- VIP banner (Lit.Link) ---------- */
.vip { padding-bottom: 56px; padding-top: 8px; }
.vip__card {
  position: relative; display: block; text-align: center; overflow: hidden;
  padding: 34px 20px 30px; border-radius: 14px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 69, 95, .35), transparent 70%),
    linear-gradient(160deg, var(--wine) 0%, var(--wine-deep) 70%, #1a0408 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--gold-lo), 0 24px 60px rgba(92, 15, 31, .55);
  transition: transform .25s, box-shadow .25s;
}
.vip__card::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(243, 220, 143, .35); border-radius: 9px; pointer-events: none;
}
.vip__card::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 200, .18), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.vip__card:hover { transform: translateY(-2px); box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--gold), 0 28px 70px rgba(196, 30, 58, .5); }
.vip__crown { display: block; font-size: 26px; line-height: 1; margin-bottom: 6px; }
.vip__face {
  width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%;
  border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(46, 7, 16, .9), 0 0 24px rgba(243, 220, 143, .35);
}
.vip__title { margin-top: 8px; font-family: var(--serif); font-size: clamp(21px, 5.6vw, 28px); color: var(--gold-hi); }
.vip__body { margin: 10px auto 22px; max-width: 460px; font-size: 13.5px; color: #e9d7c4; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: 40px 0 48px; background: #070405; }
.ftr__brand { display: flex; align-items: center; gap: 12px; }
.ftr__face { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold); }
.ftr__brand p { font-family: var(--serif); font-weight: 800; color: var(--gold-hi); font-size: 18px; line-height: 1.3; }
.ftr__brand small { display: block; font-size: 12px; color: var(--ruby-hi); font-weight: 600; }
.ftr__head { margin-top: 26px; font-size: 11px; letter-spacing: .24em; color: var(--gold); }
.ftr__links { margin-top: 10px; display: grid; gap: 8px; max-width: 640px; }
.ftr__links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px;
  transition: border-color .2s, color .2s;
}
.ftr__links a:hover { border-color: var(--line-strong); color: var(--gold-hi); }
.ftr__links small { color: var(--muted); font-size: 11px; }
.ftr__links .is-main a {
  background: linear-gradient(180deg, var(--ruby), var(--wine)); border-color: var(--gold);
  color: var(--gold-hi); font-weight: 700;
}
.ftr__links .is-main small { color: #f1d3c0; }
.ftr__note { margin-top: 24px; font-size: 11.5px; color: var(--muted); line-height: 1.8; }
.ftr__copy { margin-top: 12px; font-size: 11px; color: var(--gold-lo); letter-spacing: .1em; }

/* ================= detail page ================= */
.rhero { padding-top: 32px; padding-bottom: 20px; display: grid; gap: 12px; max-width: 760px; }
.rhero__dish { font-family: var(--serif); font-size: clamp(28px, 8vw, 46px); color: var(--gold-hi); }
.rhero__title { color: var(--muted); font-size: 14px; }
.rhero .talk { margin-top: 4px; }
.meta {
  margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.meta div { padding: 10px 4px; text-align: center; }
.meta div + div { border-left: 1px solid var(--line); }
.meta dt { font-size: 10.5px; color: var(--muted); letter-spacing: .14em; }
.meta dd { margin: 0; font-family: var(--serif); font-weight: 800; font-size: 15px; color: var(--gold-hi); }

.toc {
  position: sticky; top: 55px; z-index: 5;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 16px; margin-bottom: 8px;
  background: rgba(11, 7, 8, .92); border-bottom: 1px solid var(--line);
}
.toc::-webkit-scrollbar { display: none; }
.toc a { flex: none; padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
.toc a:hover { color: var(--gold-hi); border-color: var(--line-strong); }

.block { padding: 36px 0 8px; }
.block__title { display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: 22px; margin-bottom: 18px; }
.block__title span { font-size: 13px; color: var(--ruby-hi); letter-spacing: .12em; font-weight: 600; }
.block__title span::after { content: " —"; color: var(--gold-lo); }

/* player */
.player {
  position: relative; aspect-ratio: 16 / 9; background: #000;
  border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong);
}
.player img { width: 100%; height: 100%; object-fit: cover; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__btn { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.player__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.player__play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(92, 15, 31, .8); border: 1px solid var(--gold);
  transition: transform .2s, background .2s;
}
.player__play::after {
  content: ""; position: absolute; left: 29px; top: 23px;
  border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--gold-hi);
}
.player__btn:hover .player__play { transform: translate(-50%, -50%) scale(1.08); background: var(--ruby); }
.player--soon img { filter: brightness(.5) saturate(.8); }
.player__soon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 8px 20px; border: 1px solid var(--gold); border-radius: 999px;
  background: rgba(46, 7, 16, .82); color: var(--gold-hi);
  font-family: var(--serif); font-weight: 800; font-size: 15px; white-space: nowrap;
}
.video__meta { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: right; }
.short { margin-top: 20px; display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; }
.short__player {
  position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden;
  background: #000; border: 1px solid var(--line-strong);
}
.short__player img { width: 100%; height: 100%; object-fit: cover; }
.short__player img.is-wide { transform: scale(1.34); }
.short__text p:last-child { margin-top: 6px; font-size: 14px; color: var(--muted); }

.lead { padding-top: 28px; display: grid; gap: 12px; font-family: var(--serif); font-size: 16px; line-height: 2; }

/* materials */
.mat {
  background: #f7eedc; color: #2a1416;
  border-radius: var(--r); padding: 22px 20px 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
  position: relative;
}
.mat::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(143, 116, 36, .5); border-radius: 4px; pointer-events: none; }
.mat__head { font-family: var(--serif); font-weight: 800; font-size: 16px; text-align: center; margin-bottom: 10px; color: var(--wine); }
.mat li { display: flex; align-items: baseline; gap: 8px; padding: 9px 2px; border-bottom: 1px dashed rgba(92, 15, 31, .25); }
.mat li:last-child { border-bottom: 0; }
.mat__name { font-weight: 700; }
.mat__dots { flex: 1; }
.mat__qty { text-align: right; font-family: var(--serif); font-weight: 800; color: #9b1830; }

/* steps */
.steps { display: grid; gap: 14px; }
.steps li {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.step__no {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--ruby), var(--wine)); border: 1px solid var(--gold); color: var(--gold-hi);
  font-family: var(--serif); font-weight: 800; font-size: 18px;
}
.steps p { padding-top: 6px; }
.notes { margin-top: 14px; display: grid; gap: 4px; }
.notes li { font-size: 12.5px; color: var(--muted); padding-left: 1.2em; text-indent: -1.2em; }
.notes li::before { content: "※ "; }

/* chalkboard */
.chalk {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .06), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(255, 255, 255, .04), transparent 50%),
    var(--chalk-bg);
  border: 10px solid #5a3d22;
  border-image: linear-gradient(135deg, #7a5530, #4a3019 40%, #6d4a29 70%, #3e2814) 1;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .5), 0 12px 40px rgba(0, 0, 0, .4);
  padding: 22px 18px 18px;
  color: var(--chalk);
  font-family: var(--hand);
}
.chalk__inner { display: grid; gap: 22px; }
.chalk__panel h3 {
  font-family: var(--hand); font-weight: 600; font-size: 20px; color: #f6e7a8;
  display: inline-block; border-bottom: 2px solid rgba(246, 231, 168, .5); margin-bottom: 10px;
}
.chalk__panel ol { counter-reset: c; display: grid; gap: 6px; }
.chalk__panel li { counter-increment: c; font-size: 17px; line-height: 1.6; padding-left: 2em; position: relative; }
.chalk__panel li::before {
  content: counter(c); position: absolute; left: 0; top: .1em;
  width: 1.45em; height: 1.45em; border: 1.5px solid rgba(238, 240, 230, .7); border-radius: 50%;
  display: grid; place-items: center; font-size: 13px;
}
.chalk__quote { margin-top: 12px; font-size: 14.5px; color: #f5a9b4; line-height: 1.7; }
.chalk__sign { text-align: right; margin-top: 12px; font-size: 15px; color: #f5a9b4; }

/* chapters */
.chapters { display: grid; border-top: 1px solid var(--line); }
.chapters li { border-bottom: 1px solid var(--line); }
.chapters a, .chapters span { display: flex; gap: 14px; padding: 11px 4px; font-size: 14.5px; }
.chapters a:hover { color: var(--gold-hi); }
.chapters time { flex: none; width: 3.2em; font-family: var(--serif); font-weight: 800; color: var(--gold); }

.tags { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 28px 0 48px; font-size: 13px; color: var(--muted); }
.more { padding-bottom: 64px; border-top: 1px solid var(--line); padding-top: 40px; }
.more .section-label { margin-bottom: 18px; }
.nf { padding: 64px 16px 80px; text-align: center; display: grid; gap: 24px; justify-items: center; }

/* ---------- wider screens ---------- */
@media (min-width: 420px) {
  .hdr__lit-long { display: inline; }
  .hdr__lit-short { display: none; }
}
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .sgrid { grid-template-columns: repeat(3, 1fr); gap: 18px 14px; }
  .strip__row { grid-auto-columns: 26%; }
  .chalk { padding: 30px 32px 22px; }
  .short { grid-template-columns: 160px 1fr; }
  .vip__card { padding: 44px 40px 38px; }
}
@media (min-width: 900px) {
  .hdr { padding: 10px 32px; }
  .tabs, .toc { justify-content: center; }
  .hero__card { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; }
  .hero__body { padding: 32px 32px 32px 28px; align-content: center; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .sgrid { grid-template-columns: repeat(5, 1fr); }
  .strip__row { grid-auto-columns: 17%; }
  .chalk__inner { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .talk--big .talk__face { width: 148px; height: 148px; }
  .hero > .talk { max-width: 640px; margin-left: auto; margin-right: auto; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
