:root {
  color-scheme: light;
  --ink: #513344;
  --rose: #aa526e;
  --muted: #715965;
  --milk: #fffaf7;
  --serif: 'DM Serif Text', Georgia, 'Songti SC', 'Noto Serif CJK SC', SimSun, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--milk); color: var(--ink); font: 1rem/1.65 'DM Sans','Microsoft YaHei','PingFang SC',sans-serif; }
a { -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; color: inherit; }
:focus-visible { outline: 3px solid #91567c; outline-offset: 5px; }
.symbol-bank { position: absolute; width: 0; height: 0; overflow: hidden; }
.topbar { background: #fffaf7; border-bottom: 1px solid #eecfd1; }
.bar-inner { width: min(1120px, 89%); margin: auto; min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .4rem; color: #7c4058; }
.brand svg { width: 33px; height: 33px; transform: rotate(-10deg); }
.brand span { font: italic 600 1.65rem/1 var(--serif); letter-spacing: -.07em; }
.hero {
  position: relative;
  background-color: #fce8e8;
  background-image: radial-gradient(ellipse at 47% 48%, #fff5ed 0%, #fff4edcf 24%, #ffefe960 62%, transparent 96%),
    repeating-linear-gradient(0deg, transparent 0 12px, #efa8b423 12px 24px),
    repeating-linear-gradient(90deg, transparent 0 12px, #efa8b423 12px 24px);
}
.hero::after { content: ''; position: absolute; bottom: -8px; left: 0; right: 0; height: 10px; background: radial-gradient(ellipse at 50% 0, #f7dfe0 58%, #dfc1c376 64%, transparent 68%) 0 0 / 19px 10px repeat-x; pointer-events: none; }
.hero-inner { max-width: 1020px; width: 85%; margin: auto; min-height: 435px; padding: 36px 0 32px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3%; }
.welcome { padding-left: 3%; }
.greeting { margin: 0 0 .25rem; color: #995a69; font-size: .9rem; letter-spacing: .14em; font-weight: 600; }
.greeting span { color: #a75e71; font: 1.25rem Georgia,serif; vertical-align: -.05em; }
h1 { margin: 0; font-family: var(--serif); }
.name { position: relative; display: table; font: italic 600 clamp(5rem,7.6vw,7rem)/1.08 var(--serif); letter-spacing: -.08em; color: #aa526e; padding-right: .16em; }
.bow { position: absolute; width: .63em; height: .5em; top: .01em; right: -.46em; transform: rotate(13deg); }
.chinese-title { display: flex; align-items: center; gap: .16em; font-size: clamp(2.6rem,4vw,3.65rem); line-height: 1.22; font-weight: 800; letter-spacing: .04em; }
.white-heart { font: .58em/1 'Segoe UI Emoji','Apple Color Emoji',sans-serif; transform: rotate(12deg); }
.underline { display: block; width: 59%; max-width: 267px; height: 15px; margin: 2px 0 0 4px; }
.invitation { color: var(--muted); line-height: 1.85; margin: .86rem 0 0; letter-spacing: .035em; }
.collage { position: relative; width: 100%; max-width: 490px; aspect-ratio: 1.32; justify-self: center; }
.print { margin: 0; position: absolute; display: block; border: 1px solid #f8eddf; border-radius: 2px; padding: 2.3% 2.3% 0; background: #fffdf8; box-shadow: 0 7px 14px #6e3e471e, 1px 2px 3px #6e3e4726; transition: transform .2s ease,box-shadow .2s ease; }
.print img { display: block; width: 100%; height: 84%; object-fit: cover; pointer-events: none; }
.print-large { width: 53.5%; height: 92%; top: 2%; right: 8%; transform: rotate(7deg); }
.print-large img { object-position: 50% 35%; }
.print-small { width: 37.5%; height: 62%; left: 5%; bottom: 1%; transform: rotate(-11deg); padding: 1.7% 1.7% 0; }
.print-small img { object-position: 50% 20%; }
.signature, .little-hearts { display: grid; height: 16%; place-items: center; color: #9e6376; line-height: 1; }
.signature { font: italic 1.45rem/1 'Segoe Script','Snell Roundhand',cursive; }
.little-hearts { font: italic 1.05rem/1 Georgia,serif; letter-spacing: 3px; }
.tape { position: absolute; z-index: 1; width: 39%; height: 7.5%; left: 33%; top: -3.5%; clip-path: polygon(0 0,100% 0,98% 16%,100% 30%,97% 43%,100% 63%,98% 80%,100% 100%,0 100%,2% 83%,0 65%,3% 51%,0 35%,3% 17%); }
.tape-rose { background: repeating-linear-gradient(55deg,#dda2b2d9 0 4px,#edb5c4ca 4px 8px); transform: rotate(-4deg); }
.tape-cream { background: repeating-linear-gradient(0deg,transparent 0 5px,#f3d19685 5px 7px), repeating-linear-gradient(90deg,#f7e4c5e0 0 5px,#ebc888de 5px 7px); transform: rotate(-14deg); left: 6%; width: 45%; height: 9%; }
.collage-flower { position: absolute; width: 15%; height: 21%; top: 9%; left: 15%; transform: rotate(-17deg); }
.sparkle { position: absolute; font: 2.6rem/1 Georgia,serif; color: #b88c55; }
.sparkle-top { top: 25%; left: 9%; transform: rotate(10deg); }
.doodle-heart { position: absolute; bottom: -1%; right: -3%; width: 14%; height: 19%; transform: rotate(-10deg); pointer-events: none; }
.entries { width: min(1040px, 88%); margin: 0 auto; padding: 40px 0 36px; }
.section-heading { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 0 0 22px; }
.section-heading h2 { font: 700 1.65rem/1.4 var(--serif); margin: 0; letter-spacing: .08em; }
.section-heading span { width: 34px; border-top: 1px solid #ce9ca9; position: relative; }
.section-heading span::after { content: '✧'; font: 17px/1 Georgia,serif; color: #b97a8a; position: absolute; right: -4px; top: -9px; background: var(--milk); }
.section-heading span:last-child { transform: rotate(180deg); }
.cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.entry { position: relative; display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 17px; border-radius: 22px; padding: 21px 23px; border: 1px solid var(--edge); background: var(--card); box-shadow: 0 4px 0 var(--base); transition: transform .18s ease,box-shadow .18s ease; }
.entry::before { content: ''; pointer-events: none; position: absolute; inset: 6px; border: 1px dashed var(--edge); border-radius: 16px; }
.telegram { --card: #fbe8ed; --edge: #e6b5c2; --base: #f1d6de; --button: #a44d6c; }
.gaming { --card: #fff0d9; --edge: #e5c599; --base: #f1e1c8; --button: #925e36; }
.sticker { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; }
.sticker svg { width: 88%; height: 88%; }
.paper-plane { background: #f7cfd9; }
.entry.gaming { grid-template-columns: clamp(80px, 9vw, 112px) minmax(0, 1fr); }
.prize-photo { display: block; width: 100%; height: auto; filter: drop-shadow(0 3px 2px #70481f24); }
.entry-content h3 { margin: 0; font: 700 clamp(1.2rem,1.8vw,1.5rem)/1.4 var(--serif); }
.entry-content p { color: #705763; font-size: .94rem; line-height: 1.55; margin: .28rem 0 .65rem; }
.entry-button { display: inline-block; border-radius: 100px; padding: .26rem 1rem; color: white; background: var(--button); font-size: .875rem; font-weight: 600; }
footer { display: flex; align-items: center; justify-content: center; gap: 10px; padding: .4rem 1rem 1.3rem; font: italic 1.05rem var(--serif); color: #916c7b; }
footer span { color: #bc8796; }
@media (hover: hover) {
  .entry:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--base); }
  .print-large:hover { transform: rotate(5deg) translateY(-3px); }
  .print-small:hover { transform: rotate(-8deg) translateY(-3px); }
}
@media (min-width: 1450px) {
  .hero-inner { min-height: 480px; }
}
@media (max-width: 950px) {
  .hero-inner { width: 89%; min-height: 370px; }
  .welcome { padding-left: 0; }
  .cards { gap: 16px; }
  .entry { grid-template-columns: 57px 1fr; gap: 12px; padding: 20px 17px; }
  .sticker { width: 57px; height: 57px; }
  .entries { width: 92%; }
}
@media (max-width: 700px) {
  .bar-inner { min-height: 57px; width: 92%; }
  .brand span { font-size: 1.35rem; }
  .brand svg { width: 27px; height: 27px; }
  .hero-inner { width: 93%; grid-template-columns: 1fr; padding: 26px 0 22px; gap: 5px; }
  .welcome { text-align: center; }
  .greeting { font-size: .875rem; margin: 0; }
  .name { margin: 0 auto; font-size: 4.55rem; }
  .chinese-title { font-size: 2.45rem; justify-content: center; }
  .underline { width: 162px; height: 10px; margin: 1px auto 0; }
  .invitation { font-size: 1rem; line-height: 1.65; margin: .45rem 0 0; }
  .collage { width: min(83%,340px); margin: .55rem 0 .35rem; }
  .signature { font-size: 1.05rem; }
  .little-hearts { font-size: .85rem; }
  .sparkle { font-size: 1.75rem; }
  .entries { width: min(91%,510px); padding: 28px 0; }
  .section-heading { margin-bottom: 16px; }
  .section-heading h2 { font-size: 1.38rem; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .entry { grid-template-columns: 64px 1fr; gap: 15px; padding: 20px; }
  .sticker { width: 64px; height: 64px; }
  .entry-content h3 { font-size: 1.25rem; }
  .entry-content p { font-size: 1rem; }
}
@media (max-width: 360px) {
  .bar-inner { width: 95%; }
  .brand span { font-size: 1.16rem; }
  .entry { grid-template-columns: 48px 1fr; gap: 10px; padding: 18px 14px; }
  .sticker { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}
