@charset "UTF-8";
/* ============================================================
   牛牛视频 · 官网单页
   色彩：纸白底 + 墨绿文字 + 票根红
   版式：编辑部式横向分区 + 电影票根结构
   ============================================================ */

/* ---------- 0. tokens ---------- */
:root {
  --paper: #F4F2E9;
  --paper-2: #FBF9F2;
  --card: #FFFDF7;
  --ink: #15231C;
  --ink-2: #3A4A40;
  --muted: #6B7A6E;
  --line: #DBD9C9;
  --line-strong: #C6C4B0;
  --red: #D2200E;
  --red-d: #9E1305;
  --jade: #122A21;
  --jade-2: #1A3A2D;

  --font-sans: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;

  --radius: 10px;
  --radius-lg: 16px;
  --sec: clamp(56px, 8.5vw, 104px);
  --h1: clamp(3rem, 12.4vw, 8.4rem);
  --h2: clamp(1.85rem, 5.4vw, 3.3rem);
  --shadow-1: 0 2px 0 rgba(21, 35, 28, .04);
}

/* ---------- 1. reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 99;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 8px 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

.wrap {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.i { width: 1.1em; height: 1.1em; flex: 0 0 auto; }

/* ---------- 2. buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: #FFF8F0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.btn-red:hover { background: var(--red-d); }
.btn-red:active { transform: translateY(1px); }

.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-line {
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
}
.btn-line:hover { border-color: var(--ink); }

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 40px; font-size: 17px; }

/* ---------- 3. header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand img { width: 40px; height: 40px; }
.brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .06em;
}
.brand-txt em {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--muted);
  margin-top: 3px;
}

.nav {
  display: none;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 8px 20px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px -18px rgba(18, 42, 33, .5);
}
.nav.is-open { display: flex; }
.nav a {
  padding: 14px 4px;
  font-size: 15px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.nav a:last-child { border-bottom: 0; }
.nav a:hover { color: var(--red); }

.head-act {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 4. hero ---------- */
.hero {
  padding-top: clamp(38px, 7vw, 74px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
}
.kicker-line {
  display: block;
  width: 34px;
  height: 1px;
  background: var(--red);
  flex: 0 0 auto;
}

.hero-title {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: var(--h1);
  line-height: .98;
  letter-spacing: .01em;
}

.hero-sub {
  margin-top: 22px;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
}

.hero-act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.hero-stats {
  display: grid;
  gap: 0;
  margin-top: 42px;
  padding-bottom: 44px;
  border-top: 1px solid var(--line);
}
.hero-stats > div {
  padding: 22px 0 0;
  border-bottom: 1px solid var(--line);
}
.hero-stats > div:last-child { border-bottom: 0; padding-bottom: 6px; }
.hero-stats dt {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.1;
}
.hero-stats dt sup {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  color: var(--red);
  margin-left: 3px;
  vertical-align: super;
}
.hero-stats dd {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* 今日排片牌 */
.hero-board { display: none; }

.hero-board {
  padding: 20px 22px 18px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  box-shadow: 0 18px 30px -26px rgba(18, 42, 33, .55);
  transform: rotate(-1.2deg);
}
.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}
.board-date {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: .04em;
}
.board-label {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
}
.board-list li {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.board-list time {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--red);
}
.board-list strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board-list em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.board-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .02em;
}

/* 胶片长条 */
.strip {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(46px, 7vw, 76px);
}
.strip-track {
  position: relative;
  display: flex;
  gap: 10px;
  width: 112%;
  margin-left: -6%;
  padding: 26px 12px;
  background: #16211C;
  transform: rotate(-1.8deg);
  box-shadow: 0 24px 40px -30px rgba(18, 42, 33, .8);
}
.strip-track::before,
.strip-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 26px;
  background-image: radial-gradient(circle at 13px 13px, rgba(244, 242, 233, .55) 5px, transparent 5.5px);
  background-size: 26px 26px;
  background-repeat: repeat-x;
}
.strip-track::before { top: 0; }
.strip-track::after { bottom: 0; }

.strip-cell {
  flex: 0 0 clamp(112px, 16vw, 186px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0D1512;
}
.strip-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 5. section shell ---------- */
.sec { padding: var(--sec) 0; scroll-margin-top: 76px; }
.sec-mist { background: #EDEBE0; border-block: 1px solid var(--line); }
.sec-jade {
  background: var(--jade);
  color: #EDEADF;
  border-block: 1px solid #0B1D16;
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.sec-head h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: var(--h2);
  line-height: 1.15;
  letter-spacing: .01em;
}
.sec-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .03em;
}
.sec-jade .sec-meta { color: #9FB3A5; }

.sec-foot { margin-top: 30px; display: flex; justify-content: center; }

/* ---------- 6. 今日热播 ---------- */
.hot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hot-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hot-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -22px rgba(18, 42, 33, .55);
}

.hot-pic {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #DED9C9;
}
.hot-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hot-card:hover .hot-pic img { transform: scale(1.03); }

.hot-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink);
  background: rgba(244, 242, 233, .92);
  border-radius: 2px;
}

.hot-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #FFF8F0;
  transition: background-color .2s ease, transform .2s ease;
}
.hot-play .i { width: 20px; height: 20px; }
.hot-play:hover { background: var(--red-d); transform: scale(1.06); }

.hot-body { padding: 12px 12px 10px; }
.hot-body h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}
.hot-line {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-stub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: auto;
  padding: 8px 12px 10px;
  border-top: 1px dashed var(--line-strong);
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--ink-2);
}
.hot-stub span:last-child { color: var(--muted); }

/* ---------- 7. 分类 ---------- */
.type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.type-tile {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 18px 18px 16px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}
.type-tile:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.type-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--jade);
}
.type-icon svg { width: 26px; height: 26px; }
.type-tile:hover .type-icon { color: var(--red); }

.type-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.type-body strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
}
.type-body em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.type-stub {
  padding-left: 12px;
  border-left: 1px dashed var(--line-strong);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  letter-spacing: .04em;
}

/* ---------- 8. 热榜 ---------- */
.rank-list { display: grid; gap: 0; border-top: 1px solid var(--line); }

.rank-list li {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  grid-template-areas:
    "no title val"
    "no meta val"
    "heat heat heat";
  align-items: center;
  gap: 2px 14px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}
.rank-no {
  grid-area: no;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 26px;
  color: var(--red);
  line-height: 1;
}
.rank-title {
  grid-area: title;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
}
.rank-meta {
  grid-area: meta;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-heat {
  grid-area: heat;
  margin-top: 10px;
  height: 3px;
  background: #D9D5C1;
  border-radius: 2px;
  overflow: hidden;
}
.rank-heat i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: var(--red);
}
.rank-val {
  grid-area: val;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}

/* ---------- 9. 功能 ---------- */
.feat-in { display: grid; gap: 46px; }

.feat-copy h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: var(--h2);
  line-height: 1.2;
}
.feat-sub {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.75;
  color: #A9BDB0;
}

.feat-list {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid rgba(237, 234, 223, .16);
}
.feat-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(237, 234, 223, .16);
}
.feat-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(237, 234, 223, .32);
  border-radius: 4px;
  color: #EDEADF;
}
.feat-ico svg { width: 22px; height: 22px; }
.feat-list strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}
.feat-list em {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.7;
  color: #A9BDB0;
}

.feat-in .btn-red { margin-top: 30px; }

/* 手机模型 */
.feat-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 6px;
}
.phone {
  width: min(272px, 74vw);
  padding: 9px;
  border-radius: 30px;
  background: #0B120F;
  border: 1px solid #2C4338;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .85);
}
.phone-screen {
  position: relative;
  padding: 12px 12px 14px;
  border-radius: 23px;
  background: #FAF7EE;
  color: var(--ink);
  overflow: hidden;
}
.ph-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--muted);
}
.ph-dots { display: flex; gap: 4px; }
.ph-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}
.ph-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 10px;
}
.ph-head strong {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: .04em;
}
.ph-head span { font-size: 10px; color: var(--muted); }

.ph-hero {
  position: relative;
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.ph-hero img { width: 100%; height: 100%; object-fit: cover; }
.ph-hero-txt {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 10px 9px;
  background: linear-gradient(to top, rgba(10, 18, 14, .92), rgba(10, 18, 14, 0));
  color: #F7F4EA;
}
.ph-hero-txt em { font-style: normal; font-size: 9px; color: #C5D2C8; }
.ph-hero-txt strong {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: .03em;
}
.ph-bar {
  display: block;
  height: 2px;
  background: rgba(247, 244, 234, .25);
  margin-top: 2px;
}
.ph-bar i { display: block; width: 62%; height: 100%; background: var(--red); }

.ph-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.ph-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 5px;
}
.ph-list { margin-top: 10px; display: grid; gap: 0; }
.ph-list div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 0;
  border-top: 1px solid #E6E2D5;
}
.ph-list b { font-size: 11px; font-weight: 700; }
.ph-list span { font-size: 10px; color: var(--muted); }

.feat-chip {
  position: absolute;
  right: 6%;
  bottom: 26%;
  padding: 7px 12px;
  background: var(--red);
  color: #FFF8F0;
  font-size: 11px;
  letter-spacing: .1em;
  border-radius: 2px;
  transform: rotate(-6deg);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .8);
}

/* ---------- 10. 更新手记 ---------- */
.note-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.note {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.note time {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
  color: var(--red);
  letter-spacing: .06em;
}
.note h3 {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
}
.note p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 46ch;
}
.note a {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.note a:hover { color: var(--red); border-color: var(--red); }

/* ---------- 11. 关于 ---------- */
.about-in { display: grid; gap: 34px; }
.about-copy h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.7rem, 4.6vw, 2.9rem);
  line-height: 1.28;
}
.about-copy p {
  margin-top: 16px;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}
.about-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.about-points li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.about-points li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 10px;
  background: var(--red);
  rotate: 45deg;
}
.about-pic { margin: 0; }
.about-pic img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.about-pic figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ---------- 12. 下载 ---------- */
.sec-download { padding-block: clamp(52px, 8vw, 92px); }
.dl-in { display: grid; gap: 40px; }
.dl-copy h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: var(--h2);
  line-height: 1.2;
}
.dl-copy > p {
  margin-top: 14px;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.8;
  color: #A9BDB0;
}
.dl-act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.domain {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px dashed rgba(237, 234, 223, .4);
  border-radius: 3px;
  color: #EDEADF;
  font-size: 13px;
  letter-spacing: .05em;
  transition: border-color .2s ease, background-color .2s ease;
}
.domain:hover { border-color: #EDEADF; background: rgba(237, 234, 223, .08); }

.dl-note {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 12px;
  line-height: 1.7;
  color: #8FA396;
}

.dl-qr { display: flex; justify-content: flex-start; }
.dl-ticket {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  padding: 20px 22px;
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 6px;
  transform: rotate(1.6deg);
  box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .8);
}
.dl-ticket-top {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}
.dl-ticket strong {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: .04em;
}
.dl-ticket-line {
  height: 1px;
  margin: 6px 0;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px);
}
.dl-ticket em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-2);
}
.dl-barcode {
  height: 34px;
  margin-top: 10px;
  background: repeating-linear-gradient(
    to right,
    var(--ink) 0 2px,
    transparent 2px 5px,
    var(--ink) 5px 6px,
    transparent 6px 11px,
    var(--ink) 11px 14px,
    transparent 14px 18px
  );
  opacity: .75;
}

/* ---------- 13. footer ---------- */
.site-foot {
  padding: 40px 0 34px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.foot-in {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 34px; height: 34px; }
.foot-brand div { display: flex; flex-direction: column; }
.foot-brand strong {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: .05em;
}
.foot-brand span { font-size: 12px; color: var(--muted); }

.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-nav a { font-size: 13px; color: var(--ink-2); }
.foot-nav a:hover { color: var(--red); }

.foot-mail a {
  font-size: 13px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}
.foot-mail a:hover { color: var(--red); border-color: var(--red); }

.foot-base {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 14. modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 20, .55);
}
.modal-card {
  position: relative;
  width: min(440px, 100%);
  max-height: min(78vh, 620px);
  overflow: auto;
  padding: 22px;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(10, 20, 15, .8);
}
.modal-card:focus { outline: none; }
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.modal-kicker {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}
.modal-head h2 {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.2;
}
.modal-x {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  flex: 0 0 auto;
}
.modal-x svg { width: 18px; height: 18px; }
.modal-x:hover { border-color: var(--ink); }

.modal-list { display: grid; margin-top: 6px; }
.modal-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.modal-list strong {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
}
.modal-list span { font-size: 12px; color: var(--muted); grid-column: 1; }
.modal-list b {
  grid-area: 1 / 2 / 3 / 3;
  align-self: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
  white-space: nowrap;
}

.modal-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.modal-foot .btn { width: 100%; }
.modal-foot p { font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- 15. toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  line-height: 1.5;
  border-radius: 6px;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 16. responsive ---------- */
@media (max-width: 420px) {
  .brand-txt { font-size: 15px; }
  .brand img { width: 34px; height: 34px; }
  .hero-stats dt { font-size: 26px; }
  .foot-in { gap: 18px; }
}

@media (max-width: 639px) {
  .hot-play { width: 34px; height: 34px; right: 8px; bottom: 8px; }
  .hot-play .i { width: 16px; height: 16px; }
  .hot-tag { top: 8px; left: 8px; padding: 3px 8px; font-size: 11px; }
}

@media (min-width: 640px) {
  .wrap { width: min(1180px, 100% - 64px); }

  .hot-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hot-body { padding: 16px 18px 14px; }
  .hot-body h3 { font-size: 20px; }
  .hot-line { font-size: 13px; }
  .hot-play { width: 42px; height: 42px; right: 12px; bottom: 12px; }
  .hot-stub {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 18px 14px;
    font-size: 12px;
  }
  .type-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
  .hero-stats > div { border-bottom: 0; border-left: 1px solid var(--line); padding: 4px 0 0 20px; }
  .hero-stats > div:first-child { border-left: 0; padding-left: 0; }

  .rank-list li {
    grid-template-columns: 54px 1.35fr 1.1fr .9fr 82px;
    grid-template-areas: "no title meta heat val";
    gap: 14px;
  }
  .rank-heat { margin-top: 0; }

  .dl-in { grid-template-columns: 1.25fr .75fr; align-items: center; }
  .dl-qr { justify-content: flex-end; }

  .note-grid { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .note { padding: 0 22px 0 0; border-bottom: 0; border-left: 0; }
  .note:first-child { padding-left: 0; }
  .note + .note { border-left: 1px solid var(--line); padding-left: 22px; }

  .foot-in { flex-direction: row; align-items: center; justify-content: space-between; }
  .foot-base { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 900px) {
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    gap: 26px;
  }
  .nav a {
    display: inline-block;
    padding: 4px 0;
    border-bottom: 0;
    font-size: 14px;
  }
  .nav a::after {
    content: "";
    display: block;
    height: 1px;
    margin-top: 6px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
  }
  .nav a:hover::after { transform: scaleX(1); }

  .hero-stats { padding-bottom: 64px; }
  .hero-sub { max-width: 40ch; }

  .hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 322px;
    column-gap: clamp(36px, 4vw, 60px);
    align-items: start;
  }
  .hero-board { display: block; margin-top: 6px; }

  .feat-in { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; }
  .feat-visual { padding-top: 8px; }

  .about-in { grid-template-columns: 1fr .86fr; gap: 56px; align-items: start; }
}

@media (min-width: 1080px) {
  .hot-grid { grid-template-columns: repeat(4, 1fr); }
  .strip-cell { flex-basis: 190px; }
}

/* ---------- 17. print & motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-head, .strip, .site-foot, .modal, .toast { display: none !important; }
  body { background: #fff; }
}
