/* sgharem-11.net · SGHarem 新加坡后宫网 —— 整页是一部电影的官网：海报、预告、角色、剧照、取景地、场次、片尾字幕 */

:root {
  --velours: #2a0c15;
  --velours-2: #3b1320;
  --velours-3: #4d1a2a;
  --creme: #f4e8d8;
  --papier: #fbf3e8;
  --encre: #2a1419;
  --encre-douce: #6d5154;
  --rose: #d98d92;
  --rose-pale: #f0cdc8;
  --or: #c9a46b;
  --or-clair: #e6cc9c;
  --trait: rgba(201, 164, 107, .32);
  --serif-lat: "Bodoni Moda", "Didot", Georgia, serif;
  --serif-zh: "Noto Serif SC", "Songti SC", "STSong", serif;
  --etroit: "Oswald", "Arial Narrow", sans-serif;
  --gouttiere: clamp(16px, 4.4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--velours);
  color: var(--creme);
  font-family: var(--serif-zh);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--rose); color: var(--velours); }
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; }
.lat { font-family: var(--serif-lat); }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 整页胶片颗粒 */
.grain {
  position: fixed; inset: -60px; z-index: 60; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grenaille 1s steps(6) infinite;
}
@keyframes grenaille {
  0% { transform: translate(0, 0); } 20% { transform: translate(-22px, 14px); } 40% { transform: translate(18px, -26px); }
  60% { transform: translate(-12px, -8px); } 80% { transform: translate(26px, 20px); } 100% { transform: translate(0, 0); }
}

/* 开场：上下两条黑边退开，像银幕打开 */
.rideau { position: fixed; left: 0; right: 0; height: 50vh; z-index: 80; background: #12060a; pointer-events: none; }
.rideau-haut { top: 0; animation: ouvre-haut 1.05s cubic-bezier(.7, 0, .2, 1) .15s forwards; }
.rideau-bas { bottom: 0; animation: ouvre-bas 1.05s cubic-bezier(.7, 0, .2, 1) .15s forwards; }
@keyframes ouvre-haut { to { transform: translateY(-101%); } }
@keyframes ouvre-bas { to { transform: translateY(101%); } }

/* 顶栏 */
.bandeau {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 22px;
  padding: 14px var(--gouttiere);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.bandeau.defile { background: rgba(28, 8, 14, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-top: 10px; padding-bottom: 10px; border-color: var(--trait); }
.marque { display: flex; align-items: baseline; gap: 9px; text-decoration: none; white-space: nowrap; }
.marque .lat { font-style: italic; font-size: 21px; letter-spacing: .01em; color: var(--or-clair); }
.marque span:last-child { font-size: 13px; letter-spacing: .18em; color: var(--creme); }
.bobine-nav { display: flex; gap: 20px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.bobine-nav a { position: relative; text-decoration: none; font-size: 13.5px; letter-spacing: .12em; color: rgba(244, 232, 216, .78); padding: 4px 0; transition: color .3s; }
.bobine-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--or); transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.6, 0, .2, 1); }
.bobine-nav a:hover, .bobine-nav a.ici { color: var(--or-clair); }
.bobine-nav a:hover::after, .bobine-nav a.ici::after { transform: scaleX(1); transform-origin: left; }
.compteur { font-family: var(--etroit); font-weight: 300; font-size: 12.5px; letter-spacing: .16em; color: var(--or); font-variant-numeric: tabular-nums; white-space: nowrap; }
.compteur::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #e0525e; vertical-align: 2px; animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .2; } }
.langue { text-decoration: none; font-family: var(--etroit); font-size: 12.5px; letter-spacing: .2em; padding: 5px 10px; border: 1px solid var(--trait); color: var(--or-clair); transition: background .3s, color .3s; }
.langue:hover { background: var(--or); color: var(--velours); }

/* 按钮 */
.billet-btn, .fil-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px; text-decoration: none; letter-spacing: .14em; font-size: 15.5px;
  overflow: hidden; isolation: isolate; transition: color .45s, border-color .45s, transform .45s;
}
.billet-btn { background: linear-gradient(135deg, #e2a0a2 0%, var(--rose) 45%, #b96a73 100%); color: #2a0b13; font-weight: 600; box-shadow: 0 14px 34px -16px rgba(217, 141, 146, .9); }
.billet-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255, 244, 230, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s cubic-bezier(.3, 0, .2, 1); }
.billet-btn:hover::before { transform: translateX(120%); }
.billet-btn:hover { transform: translateY(-2px); }
.fil-btn { border: 1px solid var(--or); color: var(--or-clair); }
.fil-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--or); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.6, 0, .2, 1); }
.fil-btn:hover { color: var(--velours); }
.fil-btn:hover::before { transform: scaleY(1); }
.billet-btn svg, .fil-btn svg { width: 17px; height: 17px; flex: none; }

/* 首屏：海报 */
.affiche {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px);
  padding: 96px var(--gouttiere) 56px;
  background:
    radial-gradient(ellipse 60% 70% at 18% 40%, rgba(217, 141, 146, .18), transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 100%, rgba(201, 164, 107, .12), transparent 70%),
    var(--velours);
  overflow: hidden;
}
.affiche-cadre { position: relative; justify-self: end; width: min(100%, 470px); }
.affiche-cadre::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--trait); }
.affiche-photo { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--velours-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.affiche-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: approche 9s cubic-bezier(.2, .6, .2, 1) .3s forwards; }
@keyframes approche { to { transform: scale(1); } }
/* 底部压暗，让字和照片接得上 */
.affiche-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(42, 12, 21, .78) 0%, rgba(42, 12, 21, .25) 30%, transparent 46%); }
/* 放映机的光：偶尔闪一下 */
.affiche-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 226, 190, .3) 0%, transparent 38%);
  mix-blend-mode: screen; animation: projo 7s infinite;
}
@keyframes projo { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .55; } 49% { opacity: .95; } 51% { opacity: .7; } 52% { opacity: 1; } }
.affiche-accroche { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; margin: 0; font-size: 19px; letter-spacing: .14em; color: var(--papier); text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.affiche-accroche small { display: block; font-family: var(--serif-lat); font-style: italic; letter-spacing: .02em; font-size: 15px; color: var(--or-clair); }
.affiche-tampon { position: absolute; z-index: 2; top: 18px; right: -12px; padding: 7px 14px; background: var(--creme); color: var(--velours); font-family: var(--etroit); font-size: 12px; letter-spacing: .24em; transform: rotate(3deg); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); }

.affiche-texte { max-width: 560px; }
.surtitre { margin: 0 0 20px; font-family: var(--etroit); font-weight: 300; font-size: 13px; letter-spacing: .34em; color: var(--or); }
.titre { margin: 0; font-weight: 900; line-height: 1.08; }
.titre .lat { display: block; font-weight: 400; font-style: italic; font-size: clamp(46px, 6.4vw, 92px); letter-spacing: -.01em; color: var(--or-clair); }
.titre .zh { display: block; margin-top: 8px; font-size: clamp(34px, 4.6vw, 64px); letter-spacing: .1em; color: var(--papier); }
.titre .zh, .titre .lat { opacity: 0; transform: translateY(26px); animation: monte 1.1s cubic-bezier(.2, .7, .2, 1) forwards; }
.titre .lat { animation-delay: .75s; }
.titre .zh { animation-delay: .95s; }
@keyframes monte { to { opacity: 1; transform: none; } }
.chapeau { margin: 24px 0 32px; max-width: 30em; font-size: 17px; color: rgba(244, 232, 216, .86); opacity: 0; animation: monte 1s ease 1.2s forwards; }
.duo { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: monte 1s ease 1.35s forwards; }
.generique-court {
  margin: 42px 0 0; padding-top: 18px; border-top: 1px solid var(--trait);
  font-family: var(--etroit); font-weight: 300; font-size: 11.5px; line-height: 1.75; letter-spacing: .2em; text-transform: uppercase; color: rgba(230, 204, 156, .7);
}
.generique-court b { font-weight: 400; color: var(--or-clair); }

/* 通用区块 */
.acte { position: relative; padding: clamp(80px, 11vw, 150px) var(--gouttiere); }
.acte-clair { background: var(--papier); color: var(--encre); }
.acte-clair ::selection { background: var(--velours); color: var(--papier); }
.bobine { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--etroit); font-weight: 300; font-size: 12.5px; letter-spacing: .32em; color: var(--or); }
.bobine::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.acte-clair .bobine { color: #a4783f; }
.acte h2 { margin: 0 0 22px; font-weight: 600; font-size: clamp(30px, 4vw, 50px); line-height: 1.25; letter-spacing: .06em; }
.acte h2 .lat { font-style: italic; font-weight: 400; color: var(--rose); letter-spacing: 0; }
.acte-clair h2 .lat { color: #b0606a; }
.intro { max-width: 36em; margin: 0 0 46px; font-size: 16.5px; color: rgba(244, 232, 216, .78); }
.acte-clair .intro { color: var(--encre-douce); }

/* 出现动画 */
.apparait { opacity: 0; transform: translateY(34px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.apparait.vu { opacity: 1; transform: none; }

/* 影片放映框（预告片、花絮） */
.ecran { position: relative; background: #12060a; overflow: hidden; }
.ecran video { width: 100%; height: auto; aspect-ratio: 540 / 878; object-fit: cover; filter: brightness(.66) saturate(.9); transition: filter .6s; }
.ecran.joue video { filter: none; }
.ecran-etiquette { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 5px 10px; background: rgba(18, 6, 10, .66); font-family: var(--etroit); font-size: 11.5px; letter-spacing: .22em; color: var(--or-clair); }
.ecran-lancer {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border: 0; background: transparent; cursor: pointer; transition: opacity .5s;
}
.ecran-rond { position: relative; width: 78px; height: 78px; border-radius: 50%; border: 1px solid rgba(244, 232, 216, .75); background: rgba(42, 12, 21, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: transform .5s, background .5s; }
.ecran-rond::after { content: ""; position: absolute; left: 31px; top: 25px; border-left: 21px solid var(--papier); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.ecran-lancer:hover .ecran-rond { transform: scale(1.08); background: rgba(217, 141, 146, .5); }
.ecran-mot { font-family: var(--etroit); font-size: 12px; letter-spacing: .3em; color: var(--papier); }
.ecran.joue .ecran-lancer { opacity: 0; }
.ecran.joue .ecran-lancer:hover, .ecran.joue .ecran-lancer:focus-visible { opacity: 1; }
.ecran.joue .ecran-rond::after { left: 27px; top: 26px; width: 24px; height: 26px; border: 0; border-left: 8px solid var(--papier); border-right: 8px solid var(--papier); }
.ecran-fil { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 2px; background: rgba(244, 232, 216, .15); }
.ecran-fil i { display: block; height: 100%; background: var(--rose); transform: scaleX(0); transform-origin: left; }

/* 预告片 */
.bande-annonce { background: linear-gradient(180deg, var(--velours) 0%, #1d070d 100%); }
.bande-grille { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 1180px; margin: 0 auto; }
.bande-grille .ecran { box-shadow: 0 0 0 1px var(--trait), 0 50px 90px -40px rgba(217, 141, 146, .45); }
.citations { margin: 34px 0 0; padding: 0; list-style: none; }
.citations li { position: relative; padding: 16px 0 16px 30px; border-top: 1px solid rgba(201, 164, 107, .18); font-size: 17px; color: rgba(244, 232, 216, .9); }
.citations li::before { content: "“"; position: absolute; left: 0; top: 8px; font-family: var(--serif-lat); font-size: 36px; line-height: 1; color: var(--rose); }
.citations cite { display: block; margin-top: 4px; font-style: normal; font-family: var(--etroit); font-weight: 300; font-size: 11.5px; letter-spacing: .24em; color: var(--or); }

/* 剧情简介 */
.synopsis-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); max-width: 1180px; margin: 0 auto; }
.synopsis-texte p { margin: 0 0 1.3em; font-size: 17px; }
.synopsis-texte p:first-of-type::first-letter { float: left; margin: 8px 12px 0 0; font-size: 64px; line-height: .9; font-weight: 900; color: #b0606a; }
.fiche { margin: 0; border-top: 2px solid var(--encre); }
.fiche div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(42, 20, 25, .14); }
.fiche dt { font-family: var(--etroit); font-size: 12px; letter-spacing: .22em; color: #a4783f; padding-top: 3px; }
.fiche dd { margin: 0; font-size: 15.5px; }
.fiche-titre { margin: 0 0 12px; font-family: var(--serif-lat); font-style: italic; font-size: 22px; color: var(--encre); }

/* 角色表 */
.distribution { background: var(--creme); color: var(--encre); }
.roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin: 0; padding: 0; list-style: none; }
.role { position: relative; perspective: 1000px; }
.role-carte { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.role-photo { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--velours-2); }
.role-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); transform: scale(1.02); transition: filter .8s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.role-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42, 12, 21, .92) 0%, rgba(42, 12, 21, .2) 55%, transparent 75%); transition: opacity .6s; }
.role-nom { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: var(--papier); }
.role-nom b { display: block; font-size: 20px; letter-spacing: .12em; }
.role-nom small { font-family: var(--etroit); font-weight: 300; font-size: 11px; letter-spacing: .26em; color: var(--or-clair); }
.role-fiche { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 18px 16px; background: rgba(42, 12, 21, .88); color: var(--creme); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.role-fiche .ligne { display: block; margin: 0; font-size: 14px; line-height: 1.6; }
.role-fiche .ligne span { display: block; font-family: var(--etroit); font-size: 10.5px; letter-spacing: .26em; color: var(--or); }
.role-carte:hover .role-photo img, .role-carte:focus-visible .role-photo img, .role.ouvert .role-photo img { filter: none; transform: scale(1.07); }
.role-carte:hover .role-fiche, .role-carte:focus-visible .role-fiche, .role.ouvert .role-fiche { opacity: 1; transform: none; }
.role:nth-child(even) { margin-top: 46px; }
.roles-note { margin: 34px 0 0; font-size: 14px; color: var(--encre-douce); }

/* 剧照：胶片条 */
.photogrammes { background: #1b070c; padding-left: 0; padding-right: 0; }
.photogrammes .entete { padding: 0 var(--gouttiere); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.photogrammes .intro { margin-bottom: 0; }
.fleches { display: flex; gap: 10px; }
.fleches button { width: 52px; height: 52px; border: 1px solid var(--trait); background: transparent; cursor: pointer; transition: background .3s, border-color .3s; }
.fleches button:hover { background: var(--or); border-color: var(--or); }
.fleches button:hover svg { stroke: var(--velours); }
.fleches svg { width: 20px; height: 20px; stroke: var(--or-clair); fill: none; stroke-width: 1.4; }
.pellicule {
  position: relative; margin-top: 44px; padding: 34px 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(244, 232, 216, .82) 14px 30px, transparent 30px 44px) 0 9px / 44px 14px repeat-x,
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(244, 232, 216, .82) 14px 30px, transparent 30px 44px) 0 calc(100% - 9px) / 44px 14px repeat-x,
    #0d0306;
}
.pellicule-piste { display: flex; gap: 14px; margin: 0; padding: 0 var(--gouttiere); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.pellicule-piste::-webkit-scrollbar { display: none; }
.pellicule-piste.tire { cursor: grabbing; scroll-snap-type: none; }
.pellicule-piste.tire .vue { pointer-events: none; }
.vue-case { flex: 0 0 auto; width: clamp(220px, 23vw, 310px); scroll-snap-align: center; }
.vue { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #2a0c15; cursor: zoom-in; overflow: hidden; }
.vue img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: sepia(.25) saturate(.9); transition: filter .7s, transform 1s cubic-bezier(.2, .7, .2, 1); }
.vue:hover img, .vue:focus-visible img { filter: none; transform: scale(1.05); }
.vue-num { display: flex; justify-content: space-between; margin-top: 9px; font-family: var(--etroit); font-weight: 300; font-size: 11px; letter-spacing: .24em; color: rgba(230, 204, 156, .75); }

/* 大图 */
.projection { width: min(92vw, 640px); max-height: 94vh; padding: 0; border: 0; background: transparent; color: var(--creme); overflow: visible; }
.projection::backdrop { background: rgba(14, 4, 7, .94); }
.projection figure { margin: 0; }
.projection img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; background: #12060a; }
.projection img.arrive { animation: fondu .55s ease; }
@keyframes fondu { from { opacity: 0; transform: scale(.985); } }
.projection figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 14px; }
.projection figcaption span { font-family: var(--etroit); letter-spacing: .22em; color: var(--or); white-space: nowrap; }
.proj-btn { position: absolute; width: 48px; height: 48px; border: 1px solid var(--trait); background: rgba(42, 12, 21, .7); cursor: pointer; display: grid; place-items: center; }
.proj-btn svg { width: 20px; height: 20px; stroke: var(--creme); fill: none; stroke-width: 1.4; }
.proj-btn:hover { background: var(--rose); }
.proj-fermer { top: -58px; right: 0; }
.proj-avant { top: 40%; left: -64px; }
.proj-apres { top: 40%; right: -64px; }

/* 取景地 */
.lieux { background: var(--papier); color: var(--encre); }
.scenes { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--encre); max-width: 1180px; }
.scene { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, .9fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid rgba(42, 20, 25, .15); transition: background .5s, padding .5s; }
.scene:hover { background: linear-gradient(90deg, rgba(217, 141, 146, .14), transparent 80%); padding-left: 14px; }
.scene-num { font-family: var(--etroit); font-weight: 300; font-size: 12px; letter-spacing: .26em; color: #a4783f; }
.scene h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: .1em; }
.scene h3 small { margin-left: 8px; font-size: 14px; font-weight: 400; color: #b0606a; letter-spacing: .14em; }
.scene p { margin: 0; font-size: 15.5px; color: var(--encre-douce); }
.scene-mrt { font-size: 13.5px; color: var(--encre); }
.scene-mrt span { display: block; font-family: var(--etroit); font-size: 10.5px; letter-spacing: .26em; color: #a4783f; }
.scene-vignette { display: none; }
/* 鼠标经过时跟着走的小剧照（电脑） */
.apercu { position: fixed; left: 0; top: 0; z-index: 40; width: 190px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-4deg); transition: opacity .35s, transform .45s cubic-bezier(.2, .7, .2, 1); box-shadow: 0 30px 60px -24px rgba(42, 12, 21, .7); border: 6px solid var(--papier); }
.apercu.montre { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.apercu img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* 场次与购票 */
.seances { background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--velours-3), var(--velours) 70%); }
.seances .entete { max-width: 1180px; margin: 0 auto; }
.tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; }
.ticket {
  --talon: 86px;
  position: relative; display: grid; grid-template-rows: auto 1fr auto; color: var(--encre); background: var(--creme);
  -webkit-mask: radial-gradient(circle 13px at 0 calc(100% - var(--talon)), #0000 97%, #000) top left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% calc(100% - var(--talon)), #0000 97%, #000) top right / 51% 100% no-repeat;
  mask: radial-gradient(circle 13px at 0 calc(100% - var(--talon)), #0000 97%, #000) top left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% calc(100% - var(--talon)), #0000 97%, #000) top right / 51% 100% no-repeat;
  transform: rotate(var(--penche, 0deg)); transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.ticket:nth-child(1) { --penche: -1.2deg; }
.ticket:nth-child(3) { --penche: 1deg; }
.ticket:hover { transform: rotate(0) translateY(-8px); }
.ticket-haut { padding: 24px 24px 0; display: flex; justify-content: space-between; align-items: baseline; font-family: var(--etroit); font-size: 11.5px; letter-spacing: .26em; color: #a4783f; }
.ticket-corps { padding: 14px 24px 22px; }
.ticket-heure { display: block; font-family: var(--serif-lat); font-size: 54px; line-height: 1.05; color: var(--velours); }
.ticket h3 { margin: 4px 0 10px; font-size: 22px; letter-spacing: .14em; }
.ticket p { margin: 0; font-size: 15px; color: var(--encre-douce); }
.ticket-talon { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px 22px; border-top: 2px dashed rgba(42, 20, 25, .3); }
.ticket-talon small { flex: 1 1 auto; min-width: 0; font-family: var(--etroit); font-size: 11px; letter-spacing: .22em; color: #a4783f; line-height: 1.5; }
.ticket-talon a { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; background: var(--velours); color: var(--papier); text-decoration: none; font-size: 14.5px; letter-spacing: .14em; transition: background .4s; }
.ticket-talon a:hover { background: #b0606a; }
.seances-pied { max-width: 1180px; margin: 46px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; color: rgba(244, 232, 216, .82); }

/* 幕后花絮 / 观众提问 */
.coulisses { background: var(--papier); color: var(--encre); }
.coulisses-grille { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); max-width: 1180px; margin: 0 auto; align-items: start; }
.coulisses .ecran { position: sticky; top: 90px; }
.coulisses-legende { margin: 12px 0 0; font-size: 14px; color: var(--encre-douce); }
.questions { border-top: 2px solid var(--encre); }
.question { border-bottom: 1px solid rgba(42, 20, 25, .15); }
.question summary { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 24px; gap: 10px; align-items: baseline; padding: 22px 0; cursor: pointer; list-style: none; }
.question summary::-webkit-details-marker { display: none; }
.question summary span { font-family: var(--etroit); font-size: 12px; letter-spacing: .2em; color: #a4783f; }
.question h3 { margin: 0; font-size: 18.5px; font-weight: 600; line-height: 1.55; transition: color .3s; }
.question summary:hover h3 { color: #b0606a; }
.question summary i { position: relative; width: 14px; height: 14px; align-self: center; }
.question summary i::before, .question summary i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: var(--encre); transition: transform .4s; }
.question summary i::after { transform: rotate(90deg); }
.question[open] summary i::after { transform: rotate(0); }
.reponse { padding: 0 34px 24px 66px; font-size: 16px; color: var(--encre-douce); }
.reponse p { margin: 0; }
.question[open] .reponse { animation: deroule .5s ease; }
@keyframes deroule { from { opacity: 0; transform: translateY(-8px); } }

/* 片尾字幕：跟着滚动往上走 */
.generique { position: relative; height: 230vh; background: #12060a; }
.generique-ecran { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; justify-content: center; }
.generique-ecran::before, .generique-ecran::after { content: ""; position: absolute; left: 0; right: 0; height: 22vh; z-index: 2; pointer-events: none; }
.generique-ecran::before { top: 0; background: linear-gradient(#12060a, transparent); }
.generique-ecran::after { bottom: 0; background: linear-gradient(transparent, #12060a); }
.generique-rouleau { position: absolute; top: 100%; width: min(100% - 32px, 620px); text-align: center; will-change: transform; }
.generique-rouleau h2 { margin: 0 0 56px; font-family: var(--etroit); font-weight: 300; font-size: 13px; letter-spacing: .5em; color: var(--or); }
.credits { margin: 0; }
.credits div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 22px; margin-bottom: 22px; }
.credits dt { text-align: right; font-family: var(--etroit); font-weight: 300; font-size: 12px; letter-spacing: .28em; color: rgba(230, 204, 156, .7); padding-top: 4px; }
.credits dd { margin: 0; text-align: left; font-size: 16px; color: var(--creme); }
.fin { margin-top: 90px; }
.fin p { margin: 0 0 8px; font-family: var(--serif-lat); font-style: italic; font-size: clamp(40px, 6vw, 70px); color: var(--or-clair); line-height: 1.1; }
.fin small { display: block; margin-bottom: 30px; font-size: 16px; letter-spacing: .2em; color: var(--creme); }
.fin .duo { opacity: 1; animation: none; justify-content: center; }
.pied { padding: 26px var(--gouttiere) 34px; background: #12060a; border-top: 1px solid rgba(201, 164, 107, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; color: rgba(244, 232, 216, .55); }
.pied a { color: var(--or-clair); text-decoration: none; }

/* 平板 */
@media (max-width: 1080px) {
  .bobine-nav { display: none; }
  .langue { margin-left: auto; }
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .role:nth-child(even) { margin-top: 0; }
  .role:nth-child(3n+2) { margin-top: 40px; }
  .scene { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.3fr); }
  .scene-mrt { grid-column: 2 / -1; }
  .proj-avant { left: 8px; top: auto; bottom: -62px; }
  .proj-apres { right: 8px; top: auto; bottom: -62px; }
}

/* 手机：海报铺满上半屏，文字和两个按钮压在下半屏 */
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .bandeau { gap: 12px; padding: 12px 16px; }
  .marque .lat { font-size: 18px; }
  .marque span:last-child { font-size: 11.5px; letter-spacing: .12em; }
  .compteur { display: none; }
  .langue { padding: 4px 8px; font-size: 11.5px; }

  .affiche { display: block; min-height: 0; padding: 0 0 34px; }
  .affiche-cadre { width: 100%; }
  .affiche-cadre::before { display: none; }
  .affiche-photo { aspect-ratio: auto; height: 56svh; min-height: 330px; max-height: 520px; box-shadow: none; }
  .affiche-photo img { object-position: 50% 22%; }
  .affiche-photo::before { background: linear-gradient(180deg, rgba(28, 8, 14, .7) 0%, transparent 16%), linear-gradient(0deg, var(--velours) 0%, rgba(42, 12, 21, .82) 22%, rgba(42, 12, 21, .3) 42%, transparent 58%); }
  .affiche-photo::after { background: linear-gradient(115deg, rgba(255, 226, 190, .2) 0%, transparent 38%); }
  .affiche-accroche { display: none; }
  .affiche-tampon { top: 66px; right: 12px; font-size: 10.5px; padding: 5px 10px; }
  .affiche-texte { position: relative; z-index: 2; margin-top: -88px; padding: 0 16px; }
  .surtitre { margin-bottom: 10px; font-size: 11px; letter-spacing: .26em; }
  .titre .lat { font-size: 44px; }
  .titre .zh { margin-top: 2px; font-size: 30px; letter-spacing: .08em; }
  .chapeau { margin: 12px 0 18px; font-size: 15px; line-height: 1.7; }
  .duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .billet-btn, .fil-btn { min-height: 50px; padding: 0 10px; font-size: 14.5px; letter-spacing: .06em; gap: 8px; white-space: nowrap; }
  .generique-court { margin-top: 28px; font-size: 10.5px; letter-spacing: .14em; }

  .acte { padding: 76px 16px; }
  .acte h2 { font-size: 28px; }
  .intro { margin-bottom: 32px; font-size: 15.5px; }

  .bande-grille, .synopsis-grille, .coulisses-grille { grid-template-columns: minmax(0, 1fr); }
  .bande-grille .ecran { width: min(100%, 360px); margin: 0 auto; }
  .citations li { font-size: 15.5px; }

  .roles { display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .roles::-webkit-scrollbar { display: none; }
  .role { flex: 0 0 72%; scroll-snap-align: center; margin-top: 0 !important; }
  .role-photo img { filter: grayscale(.4); }

  .photogrammes { padding-left: 0; padding-right: 0; }
  .photogrammes .entete { padding: 0 16px; }
  .fleches { display: none; }
  .pellicule { margin-top: 30px; padding: 30px 0; }
  .pellicule-piste { padding: 0 16px; gap: 10px; }
  .vue-case { width: 64vw; }

  .scene { grid-template-columns: 82px minmax(0, 1fr); gap: 6px 14px; padding: 22px 0; align-items: start; }
  .scene:hover { padding-left: 0; background: none; }
  .scene-num { grid-column: 2; grid-row: 1; }
  .scene h3 { grid-column: 2; grid-row: 2; font-size: 21px; }
  .scene p { grid-column: 2; grid-row: 3; }
  .scene-mrt { grid-column: 2; grid-row: 4; }
  .scene-vignette { display: block; grid-column: 1; grid-row: 1 / span 4; width: 82px; }
  .scene-vignette img { width: 82px; height: 102px; object-fit: cover; }
  .apercu { display: none; }

  .tickets { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ticket:nth-child(n) { --penche: 0deg; }
  .ticket-heure { font-size: 46px; }
  .seances-pied { display: grid; grid-template-columns: minmax(0, 1fr); }

  .coulisses .ecran { position: relative; top: 0; width: min(100%, 340px); margin: 0 auto; }
  .question summary { grid-template-columns: 44px minmax(0, 1fr) 18px; padding: 18px 0; }
  .question h3 { font-size: 16.5px; }
  .reponse { padding: 0 8px 20px 54px; font-size: 15px; }

  .generique { height: 260vh; }
  .credits div { grid-template-columns: minmax(0, 1fr); gap: 2px; margin-bottom: 20px; }
  .credits dt, .credits dd { text-align: center; }
  .fin .duo { grid-template-columns: minmax(0, 1fr); width: min(100%, 300px); margin: 0 auto; }

  .proj-fermer { top: -54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .grain { display: none; }
  .rideau { display: none; }
  .apparait { opacity: 1; transform: none; }
  .generique { height: auto; }
  .generique-ecran { position: relative; height: auto; padding: 90px 0; }
  .generique-rouleau { position: relative; top: 0; }
}
