.pub-home {
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: ui-serif, Georgia, "Noto Serif SC", "Noto Serif JP", serif;
  --ink: #192849;
  --muted: #4c5d76;
  --primary: #284998;
  --primary-hover: #1e397c;
  --accent: #2448a6;
  --paper-line: #d5dfea;
  --shadow: 0 12px 32px -22px #203a6740;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}
.pub-home p, .pub-home ul, .pub-home ol, .pub-home figure { margin: 0; }
.pub-home :where(h1,h2,h3,h4) { margin: 0; color: inherit; }
.pub-home :where(button,input,select) { font-family: inherit; }
.pub-home a:focus-visible, .pub-home button:focus-visible, .pub-home summary:focus-visible {
  outline: 3px solid #5477c0; outline-offset: 3px;
}
.pub-wrap { width: min(1152px, calc(100% - 72px)); margin-inline: auto; }
.pub-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--paper-line); }
.pub-nav { width: min(1416px, calc(100% - 48px)); min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pub-nav .brand { padding: 0; flex: none; }
.pub-nav .brand img, .pub-footer .brand-logo { display: block; width: 99px; height: auto; }
.pub-nav nav, .pub-tools, .pub-actions, .pub-footer nav, .pub-footer-top { display: flex; align-items: center; }
.pub-nav nav { gap: clamp(10px, 1.18vw, 22px); }
.pub-nav nav a, .pub-nav .btn, .pub-tools select { font-size: 13px; line-height: 1.4; white-space: nowrap; }
.pub-nav nav a, .pub-footer nav a { color: #394a65; text-decoration: none; }
.pub-nav nav a:hover, .pub-footer nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.pub-tools { gap: 7px; }
.pub-tools select, .pub-menu { border: 1px solid var(--paper-line); border-radius: 8px; background: #fff; color: var(--ink); padding: 8px; }
.pub-tools .btn { padding: 9px 12px; min-height: 36px; }
.pub-account .icon, .pub-menu { display: none; }
.pub-section { padding-block: clamp(42px, 5.4vw, 76px); }
.pub-wash { background: #f3f6fb; }
.pub-hero { background: linear-gradient(145deg, #f1f6ff, #fbfcff 67%, #f6f4fc); }
.pub-hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(28px, 5vw, 78px); }
.pub-home h1, .pub-heading h2, .pub-final h2, .pub-stories h2, #public-drama > .pub-wrap > h2, .pub-article h3 {
  font-family: var(--serif); font-weight: 650; text-wrap: balance; color: inherit;
}
.pub-hero h1 { font-size: clamp(39px, 4.8vw, 66px); letter-spacing: -.045em; line-height: 1.15; margin-bottom: 18px; }
.pub-heading-part { display: inline-block; max-width: 100%; }
.pub-title-clause { display: block; max-width: 100%; }
.pub-intro { font-size: clamp(16px, 1.4vw, 20px); max-width: 51ch; color: var(--muted); }
.pub-actions { flex-wrap: wrap; gap: 12px 20px; margin-block: 20px 10px; }
.pub-actions a, .pub-home .lp-textlink { color: var(--accent); font-weight: 650; }
.pub-subtle, .pub-home figcaption { color: var(--muted); font-size: 14px; line-height: 1.7; }
.pub-start { background: #fff; border: 1px solid var(--paper-line); border-radius: 18px; overflow: hidden; box-shadow: 0 17px 42px -23px #213c6b60; }
.pub-start img { display: block; width: 100%; aspect-ratio: 4.4; object-fit: cover; object-position: 50% 52%; }
.pub-start form { display: grid; justify-items: start; gap: 12px; padding: clamp(17px, 2vw, 25px); }
.pub-start label { font-size: clamp(19px, 2.1vw, 25px); font-weight: 650; line-height: 1.25; }
.pub-start input { width: 100%; min-width: 0; color: var(--ink); border: 1px solid #aebed5; background: #fbfcff; padding: 10px 12px; border-radius: 8px; }
.pub-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pub-chip { border: 1px solid #cbd7ea; background: #f5f8fd; color: #2e4b78; border-radius: 999px; padding: 5px 9px; font-size: 13px; }
.pub-chip:hover, .pub-scenario:hover { border-color: #738bb7; background: #edf3fe; }
.pub-heading { display: grid; gap: 10px; margin-bottom: clamp(20px, 2.6vw, 34px); }
.pub-heading h2, #public-drama > .pub-wrap > h2, .pub-final h2 { font-size: clamp(28px, 3.1vw, 43px); line-height: 1.22; letter-spacing: -.025em; }
.pub-kicker, .pub-article-tag { font-size: 12px; line-height: 1.45; letter-spacing: .11em; text-transform: uppercase; font-weight: 700; color: #3e598d; }
.pub-lead { color: var(--muted); max-width: 80ch; }
.pub-grid, .pub-trio, .pub-prices, .pub-scenarios, .pub-scene-links, .pub-practice-grid { display: grid; gap: clamp(12px, 1.5vw, 22px); }
.pub-grid, .pub-practice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.pub-trio, .pub-prices { grid-template-columns: repeat(3,minmax(0,1fr)); }
.pub-scenarios, .pub-scene-links { grid-template-columns: repeat(4,minmax(0,1fr)); }
.pub-card, .pub-definition, .pub-plan, .pub-scenario, .pub-article, .pub-office {
  min-width: 0; border: 1px solid var(--paper-line); border-radius: 16px; background: #fff; padding: clamp(19px, 2.05vw, 29px); box-shadow: var(--shadow);
}
.pub-card h3, .pub-definition h3, .pub-office h3, .pub-plan h3, .pub-scenario strong, .pub-steps h3 { font: 650 clamp(18px,1.65vw,23px)/1.35 var(--sans); }
.pub-card h3, .pub-steps h3, .pub-plan h3, .pub-office h3, .pub-scenario strong, .pub-story-body strong { text-wrap: balance; }
.pub-card h3 + p, .pub-definition strong + p, .pub-steps p, .pub-office h3 + p { margin-top: 8px; color: var(--muted); }
.pub-kicker + h3 { margin-top: 9px; }
.pub-definitions { margin-top: clamp(30px, 3.3vw, 50px); }
.pub-definitions .pub-heading { margin-bottom: 18px; }
.pub-definitions h2 { font-size: clamp(24px,2.4vw,31px); }
.pub-definition { border-top: 3px solid #6279a4; }
.pub-definition:nth-child(2) { border-top-color: #657f7b; }
.pub-definition:nth-child(3) { border-top-color: #8a74a3; }
.pub-definition strong { display: block; margin-top: 5px; color: #344966; font-size: 15px; }
.pub-definition p:last-child { font-size: 15px; }
.pub-home .pub-control, .pub-home .pub-endnote { margin-top: 15px; color: var(--muted); }
.pub-control { font-weight: 600; font-size: 14px; }
.pub-method .pub-flow { color: #274c83; font-weight: 650; }
.pub-method ul { list-style: disc; margin-top: 12px; padding-inline-start: 1.2em; }
.pub-method li::marker { color: #758eb7; }
.pub-bridge { margin-top: 22px; padding: 22px; border-radius: 14px; background: #f2f5fb; }
.pub-bridge > p:first-child { font-weight: 600; }
.pub-home .pub-chain { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin-block: 12px; list-style: none; }
.pub-chain li { max-width: 100%; padding: 5px 10px; color: #243b63; background: #fff; border: 1px solid #d5dfed; border-radius: 8px; font-size: 14px; }
.pub-chain li:not(:last-child)::after { content: " →"; padding-left: 5px; color: #44628c; }
.pub-home .pub-trust { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 9px 16px; list-style: none; padding: 15px 0 0; }
.pub-trust li { display: flex; align-items: center; gap: 9px; color: #394c68; font-size: 14px; }
.pub-trust span, .pub-scene-symbol { color: #3b5a8d; font-size: 23px; }
.pub-platform-film { display: block; width: min(100%,848px); aspect-ratio: 848 / 480; margin-inline: auto; border: 1px solid #cbd6e6; border-radius: 16px; background: #182544; box-shadow: 0 18px 45px -24px #1c35506b; }
.pub-home .pub-mission, .pub-home .pub-statement { margin-block: 20px; padding: 20px 24px; border-radius: 12px; background: #e9effa; color: #213b64; font-weight: 650; }
.pub-practice-grid { gap: clamp(24px,5vw,70px); align-items: start; }
.pub-rights, .pub-home .pub-steps { list-style: none; padding: 0; }
.pub-rights li { display: flex; gap: 10px; margin-top: 10px; }
.pub-rights b { color: #38655e; }
.pub-home .pub-steps { background: white; border: 1px solid var(--paper-line); border-radius: 16px; padding: 6px 23px; box-shadow: var(--shadow); }
.pub-steps li { padding: 14px 0 15px 18px; position: relative; }
.pub-steps li + li { border-top: 1px solid var(--paper-line); }
.pub-steps li::before { content: ""; position: absolute; top: 25px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #7187ae; }
.pub-steps p { margin-top: 3px; }
.pub-scenario { display: flex; align-items: flex-start; flex-direction: column; text-align: start; gap: 8px; color: var(--ink); }
.pub-scenario > span:not(.pub-scene-symbol) { color: var(--muted); }
.pub-scenario .icon { margin-top: auto; align-self: flex-end; }
#public-drama { background: #f6f4f1; }
#public-drama > .pub-wrap > h2 { margin-bottom: 24px; }
.pub-stories { grid-template-columns: 1.4fr 1fr; }
.pub-stories .dinner-entry { margin: 0; width: 100%; grid-template-columns: 1fr; grid-template-rows: minmax(166px,1fr) auto; border-radius: 16px; box-shadow: var(--shadow); }
.pub-stories .dinner-cover { width: 100%; min-height: 166px; aspect-ratio: 2.25; background-position: center 40%; }
.pub-home .dinner-dialog .btn-primary:is(:hover, :focus-visible) { background: #f4d19d; color: #241b18; }
.pub-stories .dinner-intro { padding: 20px 23px; }
.pub-office { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.pub-office img { display: block; object-fit: cover; width: 100%; aspect-ratio: 2.4; }
.pub-office > div { padding: 22px; }
.pub-office button { margin-top: 15px; }
.pub-scene-links { margin-top: 18px; }
.pub-story-card { padding: 0; display: flex; flex-direction: column; min-width: 0; background: white; border: 1px solid var(--paper-line); border-radius: 12px; overflow: hidden; text-align: start; color: var(--ink); }
.pub-story-card:hover { border-color: #8092ab; }
.pub-story-card img { width: 100%; aspect-ratio: 2.6; object-fit: cover; }
.pub-story-body { display: grid; gap: 6px; padding: 14px; }
.pub-story-body strong { font-size: 17px; }
.pub-story-body > span { font-size: 14px; color: var(--muted); }
.pub-forum-list { display: grid; gap: 14px; }
.pub-article { padding-inline: clamp(21px,3vw,46px); }
.pub-article:first-child { border-top: 3px solid #516a9c; background: linear-gradient(110deg,#f8faff,#fff 55%); }
.pub-article header, .pub-article-body { max-width: 81ch; margin-inline: auto; }
.pub-article h3 { font-size: clamp(22px,2vw,29px); line-height: 1.35; margin-block: 8px; }
.pub-article-intro { color: var(--muted); }
.pub-article details { max-width: 81ch; margin: 12px auto 0; }
.pub-article summary { width: fit-content; cursor: pointer; color: var(--accent); font-size: 15px; font-weight: 650; }
.pub-article-body { padding-top: 8px; }
.pub-article-body section { margin-block: 20px; }
.pub-article-body h4 { text-wrap: balance; font-size: 18px; line-height: 1.5; color: #253f69; margin-bottom: 6px; }
.pub-article-body aside, .pub-home .pub-inset { margin-block: 17px; padding: 16px 18px; border-left: 3px solid #9db1ca; background: #f2f6fc; border-radius: 0 10px 10px 0; }
.pub-article-body aside p + p { margin-top: 8px; }
.pub-home .pub-inset { border-color: #7868a0; background: #f3f1f9; }
.pub-inset .pub-chain { margin-top: 0; }
.pub-formula { display: block; color: #443a65; font-size: clamp(17px,2vw,22px); margin-bottom: 7px; }
.pub-formula-row { display: block; }
.pub-formula-row + .pub-formula-bar + .pub-formula-row { margin-top: 2px; }
.pub-formula-term { display: inline-block; white-space: nowrap; }
.pub-formula-bar { display: none; }
.pub-plan { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.pub-plan .pub-kicker + h3 { margin: 0; }
.pub-plan > p:not(.pub-kicker) { color: var(--muted); }
.pub-plan .lp-textlink { margin-top: auto; text-align: start; white-space: normal; }
.pub-free { background: #eef3ff; border-color: #aebfdf; }
.pub-price { color: #284d96; font-size: 23px; font-weight: 700; }
.pub-quote { color: #435879; font-weight: 600; }
.pub-consult, .pub-final { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(20px,3vw,36px); border-radius: 14px; }
.pub-consult { margin-top: 22px; border: 1px solid var(--paper-line); background: #f6f8fc; }
.pub-consult a { flex-shrink: 0; }
.pub-home .pub-statement { margin-bottom: 0; display: flex; align-items: center; gap: 10px; }
.pub-statement .icon { flex-shrink: 0; }
#public-privacy .pub-subtle { margin-top: 10px; }
.pub-final { background: linear-gradient(115deg,#18264f,#253c80 55%,#5d4c9c); color: white; padding: clamp(27px,4.6vw,60px); border-radius: 20px; }
.pub-final p { text-wrap: balance; margin-top: 7px; color: #e6edff; }
.pub-cta-light { background: #fff; color: #203764; border-radius: 999px; flex-shrink: 0; }
.pub-cta-light:hover { background: #eaf0ff; }
.pub-footer { padding: 28px 0; border-top: 1px solid var(--paper-line); }
.pub-footer-top, .pub-footer nav, .pub-downloads, .pub-agents, .pub-stores, .pub-legal { flex-wrap: wrap; }
.pub-footer-top { gap: 12px 26px; }
.pub-footer nav { gap: 7px 18px; font-size: 14px; }
.pub-internal { color: var(--muted); margin-inline-start: auto; font-size: 13px; }
.pub-downloads, .pub-agents, .pub-stores, .pub-legal { display: flex; align-items: center; gap: 10px; }
.pub-downloads, .pub-legal { justify-content: space-between; }
.pub-downloads { margin-block: 22px; }
.pub-agent { display: flex; align-items: center; gap: 9px; padding: 8px 12px; background: #f5f7fc; border: 1px solid var(--paper-line); border-radius: 12px; }
.pub-agent b { display: grid; place-items: center; width: 32px; height: 32px; background: #38568f; color: white; border-radius: 9px; }
.pub-agent + .pub-agent b { background: #6c5488; }
.pub-agent small, .pub-agent strong, .pub-store small, .pub-store strong { display: block; line-height: 1.2; }
.pub-agent small, .pub-store small { font-size: 10px; }
.pub-agent em, .pub-stores > span { color: var(--muted); font-size: 12px; font-style: normal; }
.pub-store .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.pub-store { display: flex; align-items: center; gap: 6px; background: #171c26; color: #fff; border-radius: 9px; padding: 8px 13px; }
.pub-legal { border-top: 1px solid var(--paper-line); padding-top: 14px; color: var(--muted); font-size: 13px; }
.pub-legal span { display: inline-block; margin-inline-start: 12px; }

@media (max-width: 1180px) {
  .pub-nav { min-height: 62px; }
  .pub-menu { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; }
  .pub-nav nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 16px 24px; border-block: 1px solid var(--paper-line); background: #fff; box-shadow: var(--shadow); }
  .pub-nav nav.is-open { display: flex; flex-wrap: wrap; gap: 12px 22px; }
}
@media (max-width: 850px) {
  .pub-wrap { width: calc(100% - 44px); }
  .pub-scenarios, .pub-scene-links, .pub-prices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pub-card, .pub-definition { padding: 18px; }
  .pub-stories { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pub-footer-top { align-items: flex-start; }
  .pub-internal { margin-inline-start: 0; }
}
@media (max-width: 640px) {
  .pub-wrap { width: calc(100% - 36px); }
  .pub-nav { width: calc(100% - 24px); gap: 5px; min-height: 54px; }
  .pub-nav .brand img { width: 70px; }
  .pub-tools { gap: 4px; }
  .pub-tools .btn, .pub-tools select, .pub-menu { padding: 7px; font-size: 12px; }
  .pub-account span { display: none; }
  .pub-account .icon { display: block; width: 17px; height: 17px; }
  .pub-nav nav.is-open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pub-hero-grid, .pub-grid, .pub-trio, .pub-practice-grid, .pub-prices { grid-template-columns: minmax(0,1fr); }
  .pub-hero-grid { gap: 22px; }
  .pub-hero h1 { font-size: clamp(34px,8.8vw,48px); }
  .pub-section { padding-block: 36px; }
  .pub-hero { padding-top: 29px; }
  .pub-start form { padding: 16px; }
  .pub-start img { aspect-ratio: 4.5; }
  .pub-definition, .pub-plan { padding: 17px; }
  .pub-trust { justify-content: flex-start; }
  .pub-scenario { padding: 15px; gap: 5px; }
  .pub-story-body { padding: 11px; }
  .pub-story-body strong { font-size: 15px; }
  .pub-consult, .pub-final { align-items: flex-start; flex-direction: column; }
  .pub-agents { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .pub-agent { display: grid; grid-template-columns: auto 1fr; gap: 3px 7px; padding: 8px; }
  .pub-agent b { grid-row: span 2; }
  .pub-agent em { grid-column: 2; }
  .pub-footer nav { gap: 7px 14px; }
}

/* 2026-11-20 首页回访续接条：试过行动回来的访客，温和地接回自己的循环 */
.pub-return { background: linear-gradient(90deg, #f6efe2, #eef3f8); border-bottom: 1px solid #e3d6bf; }
.pub-return-inner { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.pub-return-mark { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #2b4a41; color: #f0c48a; }
.pub-return-text { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: #2f3a33; }
.pub-return-text strong { font-family: var(--serif); font-size: 17px; color: #22302a; }
.pub-return-text span { font-size: 14.5px; color: #4d5a52; }
.pub-return-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-return-actions .btn { min-height: 38px; padding: 6px 16px; font-size: 14px; }
@media (max-width: 640px) {
  .pub-return-inner { flex-wrap: wrap; gap: 10px; }
  .pub-return-actions { flex: 1 1 100%; }
  .pub-return-actions .btn { flex: 1; }
}

/* 2026-11-21 内页顶栏：当前所在板块高亮（默认、书房与暗场三种底色各一套，只换底色与描边，不改按钮尺寸） */
.public-bar nav button.is-active[aria-current="page"] { background: #eaf0ff; color: var(--blue, #2448b8); box-shadow: inset 0 0 0 1.5px #9fb2e6; }
.app[data-shell="study"] .public-bar nav button.is-active[aria-current="page"] { background: #efe2c8; color: #5b4321; box-shadow: inset 0 0 0 1.5px #c9a46a; }
.app[data-shell="theatre"] .public-bar nav button.is-active[aria-current="page"] { background: rgba(240, 196, 138, .18); color: #fff3dd; box-shadow: inset 0 0 0 1px rgba(240, 196, 138, .62); }

/* 2026-11-21 《饭凉了》章节胶片过渡：跳镜时一道暖光扫过暗角，字幕与章节名渐显，片尾首问卡缓缓浮起 */
.dinner-cinema .dinner-stage::after {
  content: ""; grid-area: stack; z-index: 1; pointer-events: none; opacity: 0;
  background:
    linear-gradient(100deg, rgba(255, 224, 176, 0) 34%, rgba(255, 224, 176, .22) 48%, rgba(255, 224, 176, 0) 62%),
    radial-gradient(ellipse at center, rgba(12, 10, 11, .08) 34%, rgba(12, 10, 11, .9) 100%);
  background-repeat: no-repeat; background-size: 300% 100%, 100% 100%;
}
.dinner-cinema .dinner-stage.is-cut::after { animation: dinner-cut .8s ease-out both; }
.dinner-cinema .dinner-stage.is-cut-alt::after { animation: dinner-cut-again .8s ease-out both; }
@keyframes dinner-cut { 0% { opacity: 0; background-position: 100% 0, 0 0; } 30% { opacity: 1; } 100% { opacity: 0; background-position: 0 0, 0 0; } }
@keyframes dinner-cut-again { 0% { opacity: 0; background-position: 100% 0, 0 0; } 30% { opacity: 1; } 100% { opacity: 0; background-position: 0 0, 0 0; } }
.dinner-cinema .dinner-subtitle p { animation: dinner-cue .45s ease-out both; }
@keyframes dinner-cue { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.dinner-cinema .dinner-chapter-title.is-turn { animation: dinner-turn .5s ease-out both; }
.dinner-cinema .dinner-chapter-title.is-turn-alt { animation: dinner-turn-again .5s ease-out both; }
@keyframes dinner-turn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes dinner-turn-again { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.dinner-cinema .dinner-step-pill { transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease; }
.dinner-cinema .dinner-step-pill.is-active { box-shadow: 0 0 0 3px rgba(231, 189, 134, .16); }
.dinner-cinema .dinner-reflection-card { animation: dinner-rise .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes dinner-rise { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.dinner-cinema .dinner-keys { margin: 0; font-size: 12px; line-height: 1.5; letter-spacing: .02em; color: #a08d78; }
@media (hover: none) and (pointer: coarse) { .dinner-cinema .dinner-keys { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .dinner-cinema .dinner-stage::after, .dinner-cinema .dinner-subtitle p, .dinner-cinema .dinner-chapter-title,
  .dinner-cinema .dinner-reflection-card { animation: none; }
  .dinner-cinema .dinner-step-pill { transition: none; }
}

/* 2026-11-21 写实微电影展映馆：首页同系列三片胶片廊（窄处横排，宽处三列）与暗场影院顶栏的原地换片条 */
.dinner-entry .dinner-gallery {
  grid-column: 1 / -1; min-width: 0; display: grid; gap: 6px; container: dinner-reels / inline-size;
  padding: clamp(18px, 3vw, 30px) clamp(16px, 3.4vw, 40px) clamp(20px, 3.4vw, 36px);
  border-top: 1px solid #3a2f29; background: linear-gradient(180deg, #161213, #110e0f);
}
.dinner-gallery-kicker { margin: 0; color: #e7b981; font-size: 12px; line-height: 1.5; letter-spacing: .12em; }
.dinner-entry .dinner-gallery-title { margin: 0; color: #fff2db; font: 500 clamp(19px, 2.3vw, 25px)/1.3 var(--serif); text-wrap: balance; }
.dinner-gallery-lead { margin: 0; max-width: 62ch; color: #cdbba4; font-size: 14px; line-height: 1.65; }
.dinner-entry .dinner-gallery-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.dinner-gallery-list > li { display: flex; min-width: 0; }
.dinner-gallery-card {
  flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(96px, 36%) minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 8px; border: 1px solid #3a302a; border-radius: 12px; background: #1c1718; color: #fff2db;
  font: inherit; text-align: start; cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.dinner-gallery-card:hover { border-color: #b8956a; background: #241d1c; transform: translateY(-2px); box-shadow: 0 14px 30px -18px #000000cc; }
.dinner-gallery-card:focus-visible { outline: 3px solid #e7bd86; outline-offset: 2px; }
.dinner-gallery-frame { position: relative; display: block; min-width: 0; padding: 8px 0; border-radius: 6px; background: #0a0809; overflow: hidden; }
.dinner-gallery-frame::before, .dinner-gallery-frame::after {
  content: ""; position: absolute; inset-inline: 0; z-index: 1; height: 4px; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 4px, #ead9bf66 4px 9px, transparent 9px 13px);
}
.dinner-gallery-frame::before { top: 2px; }
.dinner-gallery-frame::after { bottom: 2px; }
.dinner-gallery-thumb {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px;
  filter: saturate(.9) contrast(1.02); transition: transform .45s ease, filter .3s ease;
}
.dinner-gallery-card:hover .dinner-gallery-thumb { transform: scale(1.04); filter: saturate(1) contrast(1.05); }
.dinner-gallery-body { display: grid; justify-items: start; gap: 4px; min-width: 0; }
.dinner-gallery-tag { padding: 0 9px; border: 1px solid #6f5b46; border-radius: 999px; color: #e7bd86; font-size: 12px; line-height: 1.7; }
.dinner-gallery-name { color: #fff4e2; font: 500 17px/1.35 var(--serif); overflow-wrap: anywhere; }
.dinner-gallery-line { color: #d3c2ab; font-size: 13px; line-height: 1.55; }
.dinner-gallery-play { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: #f4d19d; font-size: 13px; font-weight: 650; }
.dinner-gallery-play > span { font-size: 10px; }
@container dinner-reels (min-width: 34rem) {
  .dinner-entry .dinner-gallery-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dinner-gallery-card { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; }
}
/* The title shrinks and wraps so Close stays top right; the reel bar takes its own row beneath both. */
.dinner-cinema .dinner-top-brand { flex: 1 1 12rem; }
/* A long film title wraps in even lines instead of leaving a single character behind on a phone; Japanese breaks between phrases. */
.dinner-cinema .dinner-top-brand strong { text-wrap: balance; }
html:lang(ja) .dinner-cinema .dinner-top-brand strong { word-break: auto-phrase; }
.dinner-cinema .dinner-reel-bar { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.dinner-cinema .dinner-reel-label { margin-inline-end: 2px; color: #a08d78; font-size: 12px; letter-spacing: .08em; }
.dinner-cinema .dinner-reel-pill {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 30px; padding: 3px 12px 3px 3px;
  border: 1px solid #3d332d; border-radius: 999px; background: #1e191a; color: #cdb99f;
  font: inherit; font-size: 13px; line-height: 1.35; text-align: start; cursor: pointer;
  transition: border-color .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.dinner-cinema .dinner-reel-pill:hover { border-color: #c6a16f; color: #fff7ea; }
.dinner-cinema .dinner-reel-pill[aria-current="true"] {
  border-color: #e7bd86; background: #332821; color: #fff3dc; font-weight: 600; cursor: default; box-shadow: 0 0 0 3px rgba(231, 189, 134, .14);
}
.dinner-reel-thumb { flex: none; width: 38px; height: 22px; border-radius: 999px; object-fit: cover; }
@media (max-width: 560px) {
  .dinner-cinema .dinner-reel-label, .dinner-cinema .dinner-reel-thumb { display: none; }
  .dinner-cinema .dinner-reel-pill { padding: 3px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .dinner-gallery-card, .dinner-gallery-thumb, .dinner-cinema .dinner-reel-pill { transition: none; }
  .dinner-gallery-card:hover, .dinner-gallery-card:hover .dinner-gallery-thumb { transform: none; }
}

/* 2026-11-21 展映廊与右栏等高：宽屏两栏时右栏的办公室剧照随左栏一起拉高，卡面不留大片空白；
   展映廊排不下三列时（两栏宽度不够）影院整宽在上，办公室剧照与文字横排在下；手机仍是竖排单栏 */
@media (min-width: 1181px) {
  .pub-stories .pub-office img { flex: 1 1 auto; min-height: 196px; aspect-ratio: auto; object-position: 54% center; }
}
@media (max-width: 1180px) {
  .pub-stories { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 641px) and (max-width: 1180px) {
  .pub-stories .pub-office { flex-direction: row; align-items: stretch; }
  .pub-stories .pub-office img { flex: none; width: 42%; min-height: 188px; aspect-ratio: auto; }
  .pub-stories .pub-office > div { flex: 1; min-width: 0; align-self: center; }
}
