/* SGHarem 新加坡后宫 · 一封请柬：门开，灯亮，屏风，香，灯笼，回帖 */
@font-face { font-family: "Fang Porta"; src: url("/sigillo/fang.woff2") format("woff2"); font-display: swap; }  /* subset of Zhuque Fangsong, SIL OFL 1.1, renamed */
:root {
  --notte: #170c0f; --vino: #2a1117; --melo: #8c2233; --melo2: #b8414f; --perla: #f7eddd; --avorio: #fbf4e6; --oro: #c8a35a; --oro2: #ecd6a3; --giada: #6f8f7c; --ink: #2d191c;
  --titolo: "Bellefair", "Fang Porta", "FangSong", "STFangsong", "PingFang SC", serif;
  --testo: "Songti SC", "STSong", "Source Han Serif SC", "Iowan Old Style", Georgia, serif;
  --nodo: "Tangerine", "Snell Roundhand", cursive;
  --e: cubic-bezier(.2, .7, .15, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--avorio); color: var(--ink); font: 17px/1.9 var(--testo); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.salta { position: absolute; left: -999px; }
.salta:focus { left: 10px; top: 10px; z-index: 60; padding: 10px 14px; background: var(--melo); color: #fff; }

/* 顶栏 */
.cima { position: absolute; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 26px; padding: 22px clamp(18px, 4.6vw, 64px); color: var(--perla); animation: cala 1s var(--e) 2.6s both; }
@keyframes cala { from { opacity: 0; transform: translateY(-16px); } }
.cima .nome { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font: 400 22px/1 var(--titolo); letter-spacing: .08em; }
.cima svg { width: 34px; height: 34px; fill: none; stroke: var(--oro2); stroke-width: 1.4; }
.cima svg rect { fill: rgba(140, 34, 51, .75); }
.cima b { font-weight: 400; }
.cima nav { margin-left: auto; display: flex; gap: 28px; }
.cima nav a, .lingua { text-decoration: none; font: 400 17px/1.4 var(--titolo); letter-spacing: .1em; padding-bottom: 2px; border-bottom: 1px solid transparent; transition: border-color .4s; }
.cima nav a:hover, .lingua:hover { border-color: var(--oro2); }

/* 大门（首屏） */
.porta { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--notte); }
.sfondo { position: absolute; inset: 0; }
.sfondo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform-origin: 48% 34%; animation: avanza 26s cubic-bezier(.2, .6, .3, 1) 1s both; }
@keyframes avanza { from { transform: scale(1.12); } to { transform: scale(1.01); } }
.porta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(23, 10, 12, .64), rgba(23, 10, 12, .16) 38%, transparent 58%), linear-gradient(0deg, rgba(23, 10, 12, .5), transparent 34%, transparent 72%, rgba(23, 10, 12, .45)); }
.ante { position: absolute; inset: 0; z-index: 8; perspective: 1800px; pointer-events: none; animation: via 0s linear 3.6s forwards; }
@keyframes via { to { visibility: hidden; } }
.anta { position: absolute; top: 0; bottom: 0; width: 50.4%; background-color: #6d1626; transform-style: preserve-3d;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 22%, transparent 78%, rgba(0, 0, 0, .3)), repeating-linear-gradient(45deg, rgba(236, 214, 163, .42) 0 2px, transparent 2px 36px), repeating-linear-gradient(-45deg, rgba(236, 214, 163, .42) 0 2px, transparent 2px 36px), linear-gradient(#7c1a2c, #551020); }
.anta::before { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(236, 214, 163, .75); box-shadow: 0 0 0 5px rgba(60, 10, 18, .8), 0 0 0 6px rgba(236, 214, 163, .75), inset 0 0 90px rgba(0, 0, 0, .5); }
.anta.sx { left: 0; transform-origin: left center; animation: apri-sx 2.1s cubic-bezier(.6, .05, .25, 1) .9s forwards; border-right: 3px solid var(--oro); }
.anta.dx { right: 0; transform-origin: right center; animation: apri-dx 2.1s cubic-bezier(.6, .05, .25, 1) .9s forwards; border-left: 3px solid var(--oro); }
@keyframes apri-sx { 0% { transform: rotateY(0); } 100% { transform: rotateY(-104deg); } }
@keyframes apri-dx { 0% { transform: rotateY(0); } 100% { transform: rotateY(104deg); } }
.anello { position: absolute; top: 50%; width: 46px; height: 46px; border: 3px solid var(--oro); border-radius: 50%; box-shadow: 0 6px 12px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(0, 0, 0, .25); }
.sx .anello { right: 34px; }
.dx .anello { left: 34px; }

.invito { position: absolute; z-index: 12; left: clamp(22px, 5.6vw, 96px); top: 50%; width: min(430px, 33vw); transform: translateY(-47%); animation: cala-carta .9s var(--e) 2.4s both; }
@keyframes cala-carta { from { opacity: 0; } }
.asta { display: block; height: 14px; margin: 0 -14px; background: linear-gradient(180deg, #a7803f, #ecd6a3 40%, #8f6a2f); position: relative; box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
.asta::before, .asta::after { content: ""; position: absolute; top: -3px; width: 12px; height: 20px; background: radial-gradient(circle at 40% 30%, #f3e1b6, #8f6a2f); }
.asta::before { left: -9px; }
.asta::after { right: -9px; }
.carta { display: grid; grid-template-rows: 0fr; background: linear-gradient(90deg, rgba(120, 80, 30, .12), transparent 9%, transparent 91%, rgba(120, 80, 30, .12)), repeating-linear-gradient(0deg, rgba(160, 120, 60, .05) 0 1px, transparent 1px 4px), var(--avorio); animation: srotola 1.4s var(--e) 2.6s forwards; }
@keyframes srotola { to { grid-template-rows: 1fr; } }
.dentro { overflow: hidden; min-height: 0; }
.dentro > * { margin-left: clamp(18px, 2.2vw, 34px); margin-right: clamp(18px, 2.2vw, 34px); }
.invito h1 { font: 400 clamp(36px, 3.6vw, 58px)/1.12 var(--titolo); letter-spacing: .06em; color: var(--melo); padding-top: clamp(22px, 2.6vw, 38px); text-align: center; }
.invito h1 span { display: block; }
.invito h1 span + span { color: var(--ink); font-size: .84em; }
html[lang^="en"] .invito h1 span + span { font-size: .8em; }
.fregio { display: block; width: 150px; margin: 10px auto !important; fill: none; stroke: var(--oro); stroke-width: 1.2; }
.fregio path:last-child { fill: var(--oro); stroke: none; }
.invito p { margin-top: 0; margin-bottom: 18px; font-size: 16.5px; line-height: 1.85; text-align: center; color: #4a2f33; text-wrap: balance; }
.passi { display: flex; justify-content: center; gap: 12px; padding-bottom: clamp(20px, 2.4vw, 34px); }

/* 匾额式按钮：切角 */
.vai, .canale { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; min-width: 148px; padding: 12px 22px; text-decoration: none; font: 400 19px/1.2 var(--titolo); letter-spacing: .12em; text-align: center; transition: transform .5s var(--e), filter .4s;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px); }
.vai { color: #fff2d8; background: linear-gradient(160deg, #c04a57, #8c2233 60%, #6d1626); }
.vai::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(236, 214, 163, .8); pointer-events: none; clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px); }
.canale { color: var(--melo); background: var(--oro); }
.canale::before { content: ""; position: absolute; inset: 2px; background: var(--perla); z-index: -1; clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 11px, 100% calc(100% - 11px), calc(100% - 11px) 100%, 11px 100%, 0 calc(100% - 11px), 0 11px); }
.canale { isolation: isolate; }
.vai::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40px; left: -70px; background: linear-gradient(90deg, transparent, rgba(255, 240, 205, .6), transparent); transform: rotate(16deg); transition: left .9s var(--e); }
.vai:hover, .canale:hover { transform: translateY(-3px); filter: brightness(1.06); }
.vai:hover::after { left: calc(100% + 40px); }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 4px; }

/* 请柬正文：竖排 */
.lettera { position: relative; padding: clamp(70px, 9vw, 130px) clamp(20px, 6vw, 90px); background: linear-gradient(180deg, #f3e7d0, var(--avorio) 30%); }
.foglio { writing-mode: vertical-rl; height: min(600px, 78vh); margin: 0 auto; max-width: 1080px; display: flex; flex-direction: column; gap: 0; padding: 10px 14px; }
.foglio { justify-content: flex-start; align-items: stretch; }
.lettera h2 { font: 400 clamp(54px, 6.4vw, 104px)/1 var(--titolo); letter-spacing: .22em; color: var(--melo); margin-left: 40px; }
.foglio .a { margin: 0; font-size: 18px; letter-spacing: .18em; color: #6d4a3a; padding-top: 10px; }
.foglio p { margin: 0 26px 0 0; font: 400 clamp(18px, 1.5vw, 21px)/2.15 var(--titolo); letter-spacing: .1em; }
.foglio .firma { margin-right: 30px; font-size: 19px; display: flex; gap: 28px; align-items: center; justify-content: flex-end; color: var(--ink); padding-bottom: 12px; }
.foglio .firma span { letter-spacing: .2em; }
.timbro { writing-mode: horizontal-tb; font: 400 26px/1 var(--titolo); color: #fff5e2; background: #b02a3a; padding: 12px 10px; letter-spacing: .04em; transform: rotate(-3deg); display: inline-grid; place-items: center; min-width: 58px; min-height: 58px; border: 2px solid #b02a3a; box-shadow: inset 0 0 0 2px rgba(255, 245, 226, .7); margin-top: 30px; }
.lettera .foglio > * { opacity: 0; transform: translateX(22px); transition: opacity 1.2s var(--e), transform 1.2s var(--e); }
.lettera.vista .foglio > * { opacity: 1; transform: none; }
.lettera.vista .foglio > *:nth-child(2) { transition-delay: .18s; }
.lettera.vista .foglio > *:nth-child(3) { transition-delay: .4s; }
.lettera.vista .foglio > *:nth-child(4) { transition-delay: .62s; }
.lettera.vista .foglio > *:nth-child(5) { transition-delay: .84s; }
.lettera.vista .foglio > *:nth-child(6) { transition-delay: 1.06s; }
html[lang^="en"] .foglio { writing-mode: horizontal-tb; height: auto; max-width: 720px; display: block; padding: 0; }
html[lang^="en"] .lettera h2 { margin: 0 0 14px; letter-spacing: .02em; font-size: clamp(48px, 6vw, 84px); }
html[lang^="en"] .foglio .a { padding: 0; font: 700 30px/1.3 var(--nodo); letter-spacing: 0; color: var(--melo); margin-bottom: 16px; }
html[lang^="en"] .foglio p { margin: 0 0 18px; line-height: 1.95; letter-spacing: 0; font-size: 19px; }
html[lang^="en"] .foglio .firma { display: flex; gap: 22px; justify-content: flex-start; margin: 22px 0 0; font: 700 34px/1 var(--nodo); }
html[lang^="en"] .foglio .firma span { letter-spacing: 0; }
html[lang^="en"] .vai, html[lang^="en"] .canale { letter-spacing: .03em; font-size: 18px; padding: 12px 16px; white-space: nowrap; }

/* 段首通用 */
.testa { text-align: center; max-width: 720px; margin: 0 auto 46px; padding: 0 20px; }
.testa h2, .parole h2 { font: 400 clamp(36px, 4.8vw, 72px)/1.14 var(--titolo); letter-spacing: .06em; }
html[lang^="en"] .testa h2, html[lang^="en"] .parole h2 { letter-spacing: .01em; }
.testa p:last-child { margin: 8px 0 0; color: inherit; opacity: .86; }
.filo { margin: 0; font: 700 clamp(30px, 3vw, 44px)/1 var(--nodo); color: var(--oro); }

/* 屏风 */
.paraventi { position: relative; padding: clamp(80px, 9vw, 130px) clamp(16px, 4vw, 60px) 110px; color: var(--perla); background: radial-gradient(90% 60% at 50% 0, #4b1822, transparent 70%), linear-gradient(180deg, var(--vino), #1c0b10); }
.paraventi .filo { color: var(--oro2); }
.paravento { display: flex; justify-content: center; gap: 0; max-width: 1180px; margin: 0 auto clamp(40px, 6vw, 90px); perspective: 1700px; }
.foglia { margin: 0 -3px; flex: 1 1 0; min-width: 0; position: relative; transform-style: preserve-3d; transition: transform 1.5s var(--e); }
.foglia:nth-child(odd) { transform-origin: left center; transform: rotateY(64deg); }
.foglia:nth-child(even) { transform-origin: right center; transform: rotateY(-64deg); }
.paravento.aperto .foglia:nth-child(odd) { transform: rotateY(-9deg); }
.paravento.aperto .foglia:nth-child(even) { transform: rotateY(9deg); }
.paravento.aperto .foglia:hover, .paravento.aperto .foglia:focus-within { transform: rotateY(0) translateZ(46px); z-index: 4; }
.anta-f { display: block; width: 100%; text-align: left; position: relative; background: linear-gradient(90deg, #5d2730, #3a141b 22%, #6a2d35); padding: 12px 10px 12px; box-shadow: 0 0 0 1px rgba(236, 214, 163, .55), inset 0 0 0 5px #35141a, inset 0 0 0 6px rgba(236, 214, 163, .55), 0 30px 50px -28px #000; }
.anta-f img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; transition: filter .8s, transform 1.4s var(--e); filter: saturate(.94) brightness(.9); }
.foglia:hover .anta-f img { filter: none; }
.lista { display: block; height: 44px; margin-top: 10px; border-top: 1px solid rgba(236, 214, 163, .45); background: repeating-linear-gradient(45deg, rgba(236, 214, 163, .32) 0 1px, transparent 1px 12px), repeating-linear-gradient(-45deg, rgba(236, 214, 163, .32) 0 1px, transparent 1px 12px); }
.foglia figcaption { padding: 16px 4px 0; text-align: center; font: 400 19px/1.4 var(--titolo); letter-spacing: .1em; color: var(--oro2); }
html[lang^="en"] .foglia figcaption { letter-spacing: .02em; }

/* 入席 */
.serata { position: relative; padding: clamp(80px, 9vw, 130px) clamp(22px, 6vw, 90px); display: grid; grid-template-columns: 120px 1.1fr .9fr; gap: clamp(24px, 4vw, 70px); align-items: center; background: linear-gradient(180deg, var(--avorio), #f3e2cc); }
.serata .testa { text-align: left; margin: 0 0 26px; padding: 0; }
.incenso { position: relative; height: 620px; align-self: center; justify-self: center; width: 60px; }
.bastone { position: absolute; left: 28px; top: calc(var(--p, 0) * 78%); bottom: 0; width: 5px; background: linear-gradient(180deg, #6d1626, #3b1015); }
.brace { position: absolute; left: 24px; top: calc(var(--p, 0) * 78% - 6px); width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle, #ffe0a3, #e25a3a 45%, transparent 75%); box-shadow: 0 0 22px 7px rgba(226, 90, 58, .55); animation: brace 1.6s ease-in-out infinite alternate; }
@keyframes brace { from { filter: brightness(.85); } to { filter: brightness(1.3); } }
.fumo { position: absolute; left: 6px; top: calc(var(--p, 0) * 78% - 150px); width: 46px; height: 150px; background: radial-gradient(ellipse at 50% 80%, rgba(120, 100, 90, .4), transparent 70%); filter: blur(7px); animation: sale 6s ease-in-out infinite; opacity: .8; }
.fumo.due { animation-delay: 3s; left: 12px; }
@keyframes sale { from { transform: translate(0, 30px) scaleX(.5); opacity: 0; } 40% { opacity: .9; } to { transform: translate(26px, -80px) scaleX(1.7); opacity: 0; } }
.ora { display: grid; grid-template-columns: 118px 1fr; gap: 22px; padding: 20px 0; border-top: 1px solid rgba(140, 34, 51, .22); opacity: 0; transform: translateY(18px); transition: opacity 1s var(--e), transform 1s var(--e); }
.ora.vista { opacity: 1; transform: none; }
.quando { margin: 0; font: 400 26px/1.4 var(--titolo); color: var(--melo); letter-spacing: .06em; white-space: nowrap; }
html[lang^="en"] .quando { font-size: 21px; letter-spacing: 0; white-space: normal; line-height: 1.3; }
.ora h3 { font: 400 26px/1.4 var(--titolo); letter-spacing: .08em; }
.ora p:last-child { margin: 4px 0 0; color: #553a3a; }
.scala { margin: 0; }
.scala .anta-f, .abito .anta-f { background: none; padding: 0; box-shadow: none; }
.scala img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 0 0 8px #fff8ea, 0 0 0 9px rgba(200, 163, 90, .8), 0 34px 60px -30px rgba(80, 20, 30, .7); filter: none; }
figcaption { font: 400 18px/1.5 var(--titolo); letter-spacing: .08em; color: #7a5750; text-align: center; padding-top: 22px; }

/* 灯笼 */
.lanterne { padding: clamp(80px, 9vw, 130px) clamp(20px, 5vw, 80px) 120px; color: #f3e6d0; background: radial-gradient(70% 60% at 50% 0, #27493d, transparent 75%), linear-gradient(180deg, #14201d, #170c10); }
.lanterne .filo { color: #e9c98b; }
.corda { list-style: none; margin: 0 auto; padding: 0; max-width: 1160px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 26px; }
.lampada { position: relative; padding-top: 232px; margin-top: var(--h, 0px); text-align: center; transform-origin: 50% 0; animation: dondola 6s ease-in-out infinite alternate; }
.lampada:nth-child(even) { animation-delay: -3s; animation-duration: 7.4s; }
@keyframes dondola { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } }
.lampada::before { content: ""; position: absolute; left: 50%; top: 0; height: 70px; border-left: 1px solid rgba(236, 214, 163, .55); }
.lume { position: absolute; left: 50%; top: 58px; width: 92px; height: 102px; margin-left: -46px; border-radius: 46% 46% 48% 48% / 42% 42% 52% 52%; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 13px), radial-gradient(circle at 50% 42%, #ffb868, #c23a35 52%, #7a1822); box-shadow: 0 0 0 rgba(255, 150, 90, 0); opacity: .62; transition: opacity 1.4s, box-shadow 1.4s; }
.lume::before, .lume::after { content: ""; position: absolute; left: 50%; width: 46px; height: 9px; margin-left: -23px; background: linear-gradient(180deg, #ecd6a3, #8f6a2f); }
.lume::before { top: -8px; }
.lume::after { bottom: -8px; }
.lume i { position: absolute; left: 50%; bottom: -44px; width: 1px; height: 34px; background: #c23a35; margin-left: -.5px; }
.lume i::after { content: ""; position: absolute; left: -5px; bottom: -12px; width: 11px; height: 16px; background: linear-gradient(90deg, #c23a35, #e6836b, #c23a35); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lampada.accesa .lume { opacity: 1; box-shadow: 0 0 70px 14px rgba(255, 140, 80, .42), 0 0 130px 40px rgba(220, 80, 60, .22); }
.lampada b { display: block; font: 400 25px/1.4 var(--titolo); letter-spacing: .1em; color: #ffe3b3; }
html[lang^="en"] .lampada b { letter-spacing: .02em; font-size: 24px; }
.dove { display: block; font-size: 15.5px; line-height: 1.75; color: #dcc9b6; padding: 4px 4px 0; text-wrap: balance; }

/* 着装 */
.abito { padding: clamp(80px, 9vw, 140px) clamp(22px, 6vw, 90px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 6vw, 100px); align-items: center; background: radial-gradient(80% 80% at 15% 20%, #f2d9c0, transparent 70%), var(--avorio); }
.abito figure { margin: 0; position: relative; }
.abito img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 0 0 1px rgba(200, 163, 90, .9), 0 0 0 9px #fffaf0, 0 0 0 10px rgba(200, 163, 90, .9), 0 40px 70px -34px rgba(80, 20, 30, .7); }
.abito figure::after { content: ""; position: absolute; left: -24px; top: 44px; width: 90px; height: 30px; background: linear-gradient(180deg, #b8414f, #8c2233); box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .6); transform: rotate(-38deg); pointer-events: none; }
.parole h2 { color: var(--melo); }
.parole .fregio { margin-left: 0 !important; }
.parole p:not(.filo) { font-size: 18.5px; max-width: 30em; }
.atrio .parole p:not(.filo) { color: #e7d3c4; }

/* 门厅（视频） */
.atrio { padding: clamp(80px, 9vw, 140px) clamp(22px, 6vw, 90px); display: grid; grid-template-columns: 1fr 420px; gap: clamp(26px, 6vw, 110px); align-items: center; color: var(--perla); background: radial-gradient(60% 90% at 85% 50%, #3a1b20, transparent 70%), #170c10; }
.atrio .parole { justify-self: end; max-width: 440px; }
.atrio .parole h2 { color: #ffe3b3; }
.arco { position: relative; margin: 0; width: min(420px, 100%); justify-self: start; border: 1px solid var(--oro); padding: 12px; background: #2a1117; }
.arco, .arco video, .arco::before { border-radius: 210px 210px 0 0 / 200px 200px 0 0; }
.arco video { width: 100%; aspect-ratio: 540 / 710; object-fit: cover; background: #0f0709; }
.arco::after { content: ""; position: absolute; inset: 12px; border-radius: inherit; background: linear-gradient(0deg, rgba(15, 5, 8, .75), rgba(15, 5, 8, .2)); transition: opacity .7s; pointer-events: none; }
.arco.va::after { opacity: 0; }
.arco figcaption { position: absolute; z-index: 3; left: 50%; top: 30px; transform: translateX(-50%); padding: 5px 14px; font: 400 14px/1.3 var(--titolo); letter-spacing: .2em; color: var(--oro2); background: rgba(42, 17, 23, .6); white-space: nowrap; }
.tasto { position: absolute; z-index: 4; left: 50%; top: 50%; width: 82px; height: 82px; margin: -41px 0 0 -41px; border: 1px solid rgba(236, 214, 163, .9); border-radius: 50%; background: rgba(140, 34, 51, .55); transition: transform .5s var(--e), opacity .5s; }
.tasto:hover { transform: scale(1.07); }
.tasto i { position: absolute; left: 50%; top: 50%; border-left: 22px solid var(--perla); border-top: 13px solid transparent; border-bottom: 13px solid transparent; transform: translate(-38%, -50%); }
.arco.va .tasto { opacity: 0; }
.arco.va:hover .tasto { opacity: 1; }
.arco.va .tasto i { border: 0; width: 20px; height: 24px; background: linear-gradient(90deg, var(--perla) 0 34%, transparent 34% 66%, var(--perla) 66%); transform: translate(-50%, -50%); }
.prova { position: absolute; z-index: 3; left: 0; right: 0; bottom: 46px; margin: 0; text-align: center; font: 400 15px/1 var(--titolo); letter-spacing: .22em; transition: opacity .5s; }
.arco.va .prova { opacity: 0; }
.riga { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 3px; background: rgba(255, 255, 255, .22); }
.riga i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #ecd6a3, #c23a35); }

/* 客问 */
.domande { padding: clamp(80px, 9vw, 130px) clamp(22px, 6vw, 90px); background: linear-gradient(180deg, #f2e3cb, var(--avorio) 40%); }
.domande .filo { color: #a97a35; }
.domande h2 { color: var(--melo); }
.biglietti { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 70px; }
.biglietto { position: relative; padding: 26px 0 26px 34px; }
.biglietto::before { content: ""; position: absolute; left: 10px; top: 30px; bottom: 20px; border-left: 2px solid #b8414f; }
.biglietto::after { content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 14px; background: #b8414f; transform: rotate(45deg); }
.biglietto h3 { font: 400 clamp(21px, 1.9vw, 26px)/1.45 var(--titolo); letter-spacing: .04em; margin-bottom: 6px; }
html[lang^="en"] .biglietto h3 { letter-spacing: 0; }
.biglietto p { margin: 0; color: #553a3a; }

/* 回帖 */
.risposta { position: relative; overflow: hidden; padding: clamp(110px, 13vw, 190px) 24px; color: var(--perla); text-align: center; background: radial-gradient(60% 80% at 50% 50%, #6d1c2c, #2a0e14 75%); }
.porte span { position: absolute; top: 0; bottom: 0; width: 34%; background-color: #7c1a2c; background-image: repeating-linear-gradient(45deg, rgba(236, 214, 163, .4) 0 2px, transparent 2px 36px), repeating-linear-gradient(-45deg, rgba(236, 214, 163, .4) 0 2px, transparent 2px 36px), linear-gradient(#7c1a2c, #551020); transition: transform 1.8s var(--e); box-shadow: 0 0 60px rgba(0, 0, 0, .6); }
.porte span:first-child { left: -2px; transform: translateX(-102%); border-right: 4px solid var(--oro); }
.porte span:last-child { right: -2px; transform: translateX(102%); border-left: 4px solid var(--oro); }
.risposta.vista .porte span:first-child { transform: translateX(-38%); }
.risposta.vista .porte span:last-child { transform: translateX(38%); }
.centro { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.centro h2 { text-wrap: balance; font: 400 clamp(34px, 4.6vw, 66px)/1.2 var(--titolo); letter-spacing: .06em; color: #ffe9c6; }
html[lang^="en"] .centro h2 { letter-spacing: 0; }
.centro p { margin: 8px 0 26px; font-size: 18px; color: #f2dccb; }
.centro .canale { color: #6d1626; }
.centro .passi { margin: 0; padding: 0; }
.piede { padding: 26px 22px 34px; text-align: center; background: #1b0a0e; color: #cdb3a5; font-size: 14px; }
.piede p { margin: 3px 0; }

/* 取下来看 */
.vetrina { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(23, 10, 13, .96); color: var(--perla); }
.vetrina::backdrop { background: rgba(0, 0, 0, .6); }
.cornice { height: calc(100% - 84px); display: grid; place-items: center; padding: 20px; }
.cornice figure { margin: 0; max-height: 100%; display: grid; justify-items: center; gap: 12px; }
.cornice img { max-height: calc(100dvh - 190px); max-width: 92vw; width: auto; height: auto; box-shadow: 0 0 0 10px #3a141b, 0 0 0 11px rgba(236, 214, 163, .7), 0 40px 80px -20px #000; animation: entra .8s var(--e); }
@keyframes entra { from { transform: translateY(24px) rotateX(14deg); opacity: 0; } }
.cornice figcaption { padding: 4px 0 0; color: var(--perla); }
.cornice b { display: block; font: 400 25px/1.3 var(--titolo); letter-spacing: .08em; font-weight: 400; color: var(--oro2); }
.cornice span { font-size: 15px; opacity: .8; }
.comandi { height: 84px; display: flex; gap: 14px; justify-content: center; align-items: center; }
.comandi button { min-width: 56px; padding: 10px 20px; font: 400 18px/1.2 var(--titolo); letter-spacing: .08em; box-shadow: inset 0 0 0 1px rgba(236, 214, 163, .75); transition: background .4s; }
.comandi button:hover { background: rgba(140, 34, 51, .6); }

/* 404 */
.perso { background: var(--vino); color: var(--perla); display: grid; min-height: 100vh; place-items: center; text-align: center; padding: 24px; }
.perso h1 { font: 400 clamp(30px, 6vw, 58px)/1.3 var(--titolo); }

@media (max-width: 900px) {
  .cima nav { display: none; }
  .lingua { margin-left: auto; }
  .paravento { flex-wrap: wrap; perspective: 1100px; gap: 0; max-width: 460px; margin-bottom: 56px; }
  .foglia { flex: 0 0 50%; max-width: 50%; margin-bottom: 8px; }
  .foglia:nth-child(odd) { transform: rotateY(48deg); }
  .foglia:nth-child(even) { transform: rotateY(-48deg); }
  .paravento.aperto .foglia:nth-child(odd) { transform: rotateY(-7deg); }
  .paravento.aperto .foglia:nth-child(even) { transform: rotateY(7deg); }
  .foglia figcaption { font-size: 16px; padding-top: 10px; }
  .lista { height: 30px; margin-top: 6px; }
  .serata { grid-template-columns: 1fr; padding: 70px 22px; }
  .incenso { display: none; }
  .scala { max-width: 340px; margin: 0 auto; width: 100%; }
  .corda { grid-template-columns: 1fr 1fr; gap: 34px 14px; }
  .lampada { margin-top: calc(var(--h, 0px) * .35); padding-top: 226px; }
  .abito, .atrio { grid-template-columns: 1fr; }
  .atrio .parole { justify-self: start; }
  .arco { margin: 0 auto; width: min(360px, 100%); }
  .biglietti { grid-template-columns: 1fr; gap: 0; }
  .domande, .lanterne { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 760px) {
  .porta { min-height: 600px; }
  .porta::after { background: linear-gradient(0deg, rgba(23, 10, 12, .92), rgba(23, 10, 12, .55) 42%, rgba(23, 10, 12, .05) 62%, rgba(23, 10, 12, .35)); }
  .sfondo img { object-position: 50% 24%; }
  .invito { left: 24px; right: 24px; width: auto; top: auto; bottom: 22px; transform: none; }
  @keyframes cala-carta { from { opacity: 0; } }
  .invito h1 { font-size: clamp(30px, 9vw, 42px); padding-top: 18px; }
  .invito h1 span + span { font-size: .84em; }
  .invito p { font-size: 15.5px; line-height: 1.7; margin-bottom: 12px; }
  .dentro > * { margin-left: 16px; margin-right: 16px; }
  .fregio { width: 120px; margin: 6px auto !important; }
  .passi { gap: 10px; padding-bottom: 18px; }
  .vai, .canale { min-width: 0; flex: 1; padding: 10px 8px; font-size: 17px; letter-spacing: .06em; }
  .lettera { padding: 60px 22px; }
  .foglio { writing-mode: horizontal-tb; height: auto; display: block; padding: 0; }
  .lettera h2 { margin: 0 0 12px; letter-spacing: .18em; }
  .foglio .a { padding: 0; margin-bottom: 16px; }
  .foglio p { margin: 0 0 16px; line-height: 2.05; }
  .foglio .firma { margin: 18px 0 0; justify-content: flex-start; }
  .timbro { margin: 0; }
  .ora { grid-template-columns: 1fr; gap: 2px; }
  .abito figure::after { left: -10px; }
  .porte span { width: 24%; }
  .risposta.vista .porte span:first-child { transform: translateX(-58%); }
  .risposta.vista .porte span:last-child { transform: translateX(58%); }
  .centro { padding: 0 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
  .foglia { transform: none !important; }
}
