:root {
  --paper: #fffaf5;
  --paper-deep: #fff3eb;
  --ink: #493a3b;
  --muted: #8e7b78;
  --pink: #ce7d85;
  --pink-dark: #ac5e6b;
  --pink-soft: #f7e0df;
  --sage: #a9b49d;
  --line: #eadbd2;
  --white: #fffefd;
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --hand: "Segoe Print", "Comic Sans MS", "KaiTi", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.9; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--pink); outline-offset: 5px; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.page-width { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; padding: 10px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }
.site-header { height: 94px; width: min(1280px, calc(100% - 72px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-family: Georgia, serif; font-weight: bold; font-size: 28px; letter-spacing: 4px; }
.brand i { color: var(--pink); font-weight: normal; font-size: 21px; }
.brand-heart { display: grid; place-items: center; width: 38px; height: 38px; background: var(--pink-soft); color: var(--pink-dark); border-radius: 48% 52% 45% 55%; font-size: 20px; transform: rotate(-8deg); }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; color: #8a7674; }
.desktop-nav a { padding: 33px 0 29px; position: relative; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--pink-dark); }
.desktop-nav a.active::after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--pink); border-radius: 50%; bottom: 19px; left: calc(50% - 2px); }
.header-note { font-size: 12px; border: 1px solid var(--line); border-radius: 30px; padding: 8px 15px; background: var(--white); }
.header-note span { margin-left: 7px; color: var(--pink); }
.icon-button { border: 0; background: none; color: inherit; }
.menu-toggle { display: none; font-size: 24px; }
.mobile-nav { margin: 0 24px; padding: 16px 24px; border: 1px solid var(--line); border-radius: 0 0 20px 20px; background: var(--white); }
.mobile-nav a { display: block; padding: 8px; }
.hero { min-height: 655px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 68px; padding-block: 62px 86px; position: relative; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 430px; height: 430px; right: -35px; top: 28px; border-radius: 50%; background: radial-gradient(circle, #f9e6df 0%, #fff9f400 70%); }
.eyebrow, .section-kicker, .game-label { font-size: 10px; letter-spacing: 2.4px; color: var(--pink-dark); font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.tiny-spark { font-size: 18px; }
.eyebrow-line { display: inline-block; width: 42px; height: 1px; background: var(--pink); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--serif); font-size: clamp(52px, 5.6vw, 76px); line-height: 1.35; letter-spacing: 5px; font-weight: 600; margin: 22px 0 19px; }
.amp { font-family: Georgia, serif; font-style: italic; color: var(--pink); font-weight: normal; font-size: .82em; letter-spacing: 0; }
.title-dot { color: var(--pink); }
.hero-subtitle { font-size: 16px; color: var(--muted); line-height: 2.15; letter-spacing: 1px; margin-bottom: 27px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { border: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 21px; border-radius: 7px; padding: 10px 21px; font-size: 12px; letter-spacing: .7px; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--pink); color: white; box-shadow: 0 5px 15px #ce7d8517; }
.primary:hover { background: var(--pink-dark); box-shadow: 0 5px 20px #ce7d8530; }
.soft { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.soft:hover { background: var(--white); }
.soft span { color: var(--pink); font-size: 19px; }
.hero-handnote { font-family: var(--hand); font-size: 12px; color: #b18c84; margin-top: 25px; transform: rotate(-2deg); }
.hand-arrow { font-size: 25px; margin-right: 10px; }
.hero-visual { position: relative; width: 100%; max-width: 460px; justify-self: center; padding: 14px 25px 28px; }
.hero-photo-frame { background: #fff; padding: 13px 13px 10px; box-shadow: 0 20px 45px #75534a18; transform: rotate(4deg); position: relative; border-radius: 2px; }
.hero-photo-frame img { width: 100%; height: 458px; object-fit: cover; object-position: 50% 41%; }
.hero-photo-caption { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 0; font-family: var(--hand); color: #947c75; font-size: 15px; }
.hero-photo-caption span:last-child { color: var(--pink); }
.tape { position: absolute; display: block; width: 110px; height: 28px; background: #e8d9b6a6; z-index: 1; }
.tape-top { top: -14px; left: calc(50% - 55px); transform: rotate(-8deg); }
.hero-date-sticker { position: absolute; right: -15px; bottom: -2px; background: #fffdf7; box-shadow: 2px 5px 20px #65473315; border: 1px solid #f0e3d8; padding: 13px 22px; transform: rotate(-7deg); text-align: center; border-radius: 4px; }
.hero-date-sticker span { display: block; font-size: 10px; color: var(--muted); letter-spacing: 2px; }
.hero-date-sticker strong { display: block; font-family: Georgia, serif; font-size: 24px; font-weight: normal; color: var(--pink-dark); }
.hero-date-sticker small { font-size: 7px; letter-spacing: 1.5px; color: #a7998d; }
.doodle { position: absolute; color: var(--pink); z-index: 2; }
.doodle-flower { font-size: 46px; top: 1px; right: 5px; transform: rotate(15deg); color: #d7a2a0; }
.doodle-heart { font-size: 54px; bottom: 68px; left: -16px; transform: rotate(-20deg); }
.doodle-star { font-size: 43px; top: 68px; left: -9px; color: #d9bc87; }
.hero-squiggle { position: absolute; right: -38px; top: 84px; width: 78px; stroke: #d7a2a0; fill: none; stroke-width: 1.5; }
.counter-wrap { display: grid; grid-template-columns: 1fr 1.13fr; gap: 90px; align-items: center; padding-block: 60px 94px; }
.section-kicker { display: block; margin-bottom: 10px; }
h2 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.55; font-weight: 600; letter-spacing: 1px; margin-bottom: 14px; }
.counter-intro h2 span, .letter-copy h2 span { color: var(--pink); }
.counter-intro p { font-size: 12px; line-height: 2.2; color: var(--muted); }
.handwritten { font-family: var(--hand); color: var(--pink); font-size: 18px; margin-top: 20px; transform: rotate(-3deg); }
.handwritten span { margin-left: 9px; }
.counter-card { background: var(--white); padding: 28px 34px 24px; border-radius: 16px; border: 1px solid #f0e0d7; box-shadow: 0 14px 35px #74584808; position: relative; }
.counter-card::before { content: ""; position: absolute; width: 68px; height: 18px; top: -10px; left: calc(50% - 34px); background: #eadbc6a6; transform: rotate(-2deg); }
.counter-card-top { font-size: 12px; color: #9e8580; display: flex; align-items: center; gap: 8px; }
.counter-card-icon { margin-left: auto; color: var(--pink); font-size: 18px; }
.live-dot { width: 6px; height: 6px; background: var(--pink); border-radius: 50%; box-shadow: 0 0 0 4px var(--pink-soft); }
.days-number { text-align: center; margin-top: 13px; color: var(--pink-dark); line-height: 1.15; }
.days-number > span { font-family: Georgia, serif; font-size: clamp(66px, 8vw, 95px); letter-spacing: 4px; }
.days-number small { font-size: 15px; margin-left: 10px; }
.precise-time { text-align: center; font-size: 11px; color: #9d8c85; font-variant-numeric: tabular-nums; }
.counter-divider { display: flex; gap: 10px; align-items: center; color: #d5b5a5; margin: 20px 0; }
.counter-divider span { height: 1px; background: var(--line); flex: 1; }
.counter-divider i { font-style: normal; font-size: 12px; }
.anniversary-countdown { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mini-label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.anniversary-countdown strong { font-size: 14px; font-weight: 500; }
.countdown-badge { display: flex; align-items: baseline; gap: 7px; background: var(--pink-soft); border-radius: 9px; padding: 8px 16px; color: var(--pink-dark); }
.countdown-badge strong { font-family: Georgia, serif; font-size: 29px; }
.countdown-badge span { font-size: 11px; }
.hourglass-note { font-family: var(--hand); font-size: 11px; color: #b69b91; text-align: center; margin-top: 18px; }
.timeline-section { padding-block: 12px 95px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 35px; }
.section-heading h2 { margin-bottom: 0; }
.pink { color: var(--pink); }
.section-side-note { color: var(--muted); font-size: 11px; padding-bottom: 7px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; gap: 36px; }
.timeline::before { content: ""; position: absolute; height: 1px; background: #dfc8bf; left: 30px; right: 30px; top: 64px; }
.milestone { position: relative; }
.milestone-date { font-family: Georgia, serif; font-size: 23px; color: #876e67; letter-spacing: 1px; }
.milestone-date span { color: var(--pink); }
.milestone-marker { height: 49px; display: flex; align-items: center; position: relative; }
.milestone-marker span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #e2c4bf; background: var(--paper); color: var(--pink); border-radius: 50%; font-size: 14px; }
.milestone-copy { border-left: 1px solid var(--line); padding: 6px 16px 0 23px; margin-top: 7px; }
.milestone-tag { font-size: 8px; letter-spacing: 2px; color: #b19a8e; }
.milestone h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 6px 0 9px; }
.milestone p { font-size: 11px; color: var(--muted); line-height: 2.1; }
.gallery-section { background: #f7eee5; padding-block: 70px 72px; position: relative; }
.gallery-section::before, .gallery-section::after { content: "✦"; position: absolute; color: #dfc1b0; font-size: 34px; }
.gallery-section::before { top: 52px; left: 4%; transform: rotate(-13deg); }
.gallery-section::after { right: 4%; bottom: 42px; }
.gallery-intro { font-size: 11px; color: var(--muted); line-height: 1.9; padding-bottom: 3px; }
.gallery-intro span { color: #ae8b7f; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 25px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab { border: 1px solid transparent; border-radius: 30px; padding: 7px 15px; background: transparent; color: #9b8178; font-size: 11px; }
.filter-tab span { margin-left: 4px; opacity: .7; font-size: 10px; }
.filter-tab.active { background: var(--white); color: var(--pink-dark); border-color: #e9cfc1; }
.filter-tab:hover { background: #fffaf6; }
.shuffle-button { background: transparent; border: 0; color: #9b8178; font-size: 11px; padding: 8px 0; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 18px; }
.photo-card { margin: 0; position: relative; padding: 8px 8px 30px; background: var(--white); box-shadow: 0 5px 15px #7a5f4c0c; border-radius: 2px; transform: rotate(var(--tilt, 0deg)); transition: transform .25s, box-shadow .25s; min-width: 0; }
.photo-card:nth-child(4n+1) { --tilt: -1.1deg; }
.photo-card:nth-child(4n+3) { --tilt: .8deg; }
.photo-card:hover { transform: rotate(0) translateY(-5px); box-shadow: 0 12px 20px #7a5f4c18; z-index: 1; }
.photo-button { width: 100%; height: 100%; border: 0; padding: 0; background: #f3e9e1; overflow: hidden; position: relative; }
.photo-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo-card:hover img { transform: scale(1.03); }
.photo-card figcaption { position: absolute; bottom: 4px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-size: 9px; color: #a0887c; }
.photo-card figcaption span:last-child { color: #c99593; font-size: 12px; }
.photo-card.is-wide { grid-column: span 2; }
.load-more-wrap { text-align: center; margin-top: 32px; }
.outline { background: transparent; color: #99776e; border: 1px solid #d8bdb0; }
.outline:hover { background: var(--white); }
.load-more-wrap p { font-size: 10px; color: #a18b7e; margin: 10px 0 0; }
.play-section { padding-block: 75px 90px; }
.centered { text-align: center; justify-content: center; }
.centered p { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.game-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 35px; align-items: stretch; }
.memory-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; }
.game-card-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.game-label { font-size: 8px; letter-spacing: 1.7px; }
.game-card-heading h3, .love-capsule-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 5px 0 8px; }
.game-sticker { background: var(--pink-soft); color: var(--pink-dark); padding: 5px 10px; border-radius: 6px; font-size: 10px; transform: rotate(3deg); }
.game-help { color: var(--muted); font-size: 11px; margin-bottom: 15px; }
.memory-stats { display: flex; gap: 25px; align-items: center; border-block: 1px solid #f2e7df; padding: 8px 0; margin-bottom: 18px; font-size: 10px; color: #9b867d; }
.memory-stats strong { color: var(--pink-dark); font-family: Georgia, serif; font-size: 15px; margin-left: 5px; }
.memory-stats i { font-style: normal; }
.memory-stats button { border: 0; background: transparent; color: #a87974; margin-left: auto; font-size: 10px; padding: 5px; }
.memory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; perspective: 900px; }
.memory-tile { aspect-ratio: 1; padding: 0; border: 0; background: transparent; position: relative; transform-style: preserve-3d; transition: transform .5s; border-radius: 9px; }
.memory-tile.flipped, .memory-tile.matched { transform: rotateY(180deg); }
.memory-tile.matched { cursor: default; }
.memory-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 9px; overflow: hidden; }
.memory-back { background: #f5dfdb; border: 1px solid #eccbc5; display: grid; place-items: center; color: #bd8285; }
.memory-back::before { content: ""; position: absolute; inset: 7px; border: 1px dashed #d8a7a3; border-radius: 6px; }
.memory-back span { font-family: Georgia, serif; font-size: 22px; }
.memory-front { transform: rotateY(180deg); background: #f5e9e0; }
.memory-front img { width: 100%; height: 100%; object-fit: cover; }
.memory-tile.matched .memory-front { outline: 3px solid #c1c9ae; outline-offset: -3px; }
.memory-tile.matched .memory-front::after { content: "♥"; position: absolute; right: 5px; bottom: 3px; width: 18px; height: 18px; background: #fffef7e8; color: var(--pink); border-radius: 50%; font-size: 11px; display: grid; place-items: center; }
.game-result { min-height: 24px; padding-top: 10px; text-align: center; font-size: 11px; color: var(--pink-dark); }
.love-capsule-card { background: #f9e8e2; border-radius: 16px; padding: 30px 34px 22px; position: relative; overflow: hidden; }
.love-capsule-card::after { content: "♡"; position: absolute; font-family: Georgia, serif; font-size: 190px; color: #e9c9c250; right: -25px; top: 10px; transform: rotate(16deg); pointer-events: none; }
.capsule-doodle { position: absolute; right: 30px; top: 27px; color: #bd9390; font-size: 25px; }
.love-capsule-card h3 { line-height: 1.6; position: relative; }
.love-capsule-card > p { font-size: 11px; color: #9e7c74; line-height: 2; }
.love-note { background: #fffdf8; min-height: 142px; padding: 18px 24px 12px; position: relative; margin: 19px 0 18px; box-shadow: 1px 4px 12px #9b665b0a; transform: rotate(-2deg); text-align: center; }
.love-note::before { content: ""; position: absolute; width: 66px; height: 16px; background: #dfceb6a6; top: -8px; left: calc(50% - 33px); }
.quote-mark { font-family: Georgia, serif; font-size: 34px; line-height: 1; color: #d4aaa0; }
.love-note p { font-family: var(--serif); font-size: 15px; line-height: 1.9; margin: 0 0 9px; }
.love-note small { color: #b29887; font-size: 9px; }
.full-width { width: 100%; position: relative; }
.capsule-bottom { font-family: var(--hand); text-align: center; color: #b28d83; font-size: 11px; margin-top: 13px; }
.letter-section { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 50px 64px; display: grid; grid-template-columns: 230px 1fr; gap: 65px; align-items: center; margin-bottom: 85px; position: relative; }
.letter-polaroid { padding: 10px 10px 13px; background: #fffaf4; border: 1px solid #eee1d4; box-shadow: 0 10px 20px #8467560a; transform: rotate(-6deg); }
.letter-polaroid img { height: 275px; object-fit: cover; object-position: center 42%; }
.letter-polaroid span { display: block; text-align: center; font-family: var(--hand); font-size: 12px; color: #b29081; padding-top: 8px; }
.letter-copy h2 { font-size: 30px; }
.letter-copy p { color: #96817a; font-size: 12px; line-height: 2.25; margin-bottom: 13px; }
.letter-copy p:first-of-type { color: #80665f; }
.letter-signature { font-family: var(--hand); color: var(--pink-dark); font-size: 15px; text-align: right; margin-top: 18px; }
.letter-signature span { margin-left: 10px; }
.letter-flower { position: absolute; right: 25px; top: 18px; color: #d8b2a5; font-size: 31px; transform: rotate(14deg); }
.site-footer { border-top: 1px solid var(--line); text-align: center; padding: 33px 24px 26px; }
.footer-brand { font-family: Georgia, serif; font-size: 27px; letter-spacing: 8px; }
.footer-brand span { color: var(--pink); font-size: 19px; }
.site-footer p { color: #98817a; font-size: 11px; margin: 7px 0; }
.site-footer a { color: var(--pink-dark); font-size: 10px; }
.site-footer small { display: block; color: #bca89d; font-size: 7px; letter-spacing: 2px; margin-top: 15px; }
.photo-dialog { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; overflow: hidden; }
.photo-dialog::backdrop { background: #291f20e8; backdrop-filter: blur(8px); }
.photo-dialog figure { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 42px 90px; }
.photo-dialog img { max-height: calc(100vh - 112px); max-width: 100%; object-fit: contain; box-shadow: 0 10px 40px #0005; }
.photo-dialog figcaption { color: #eadad2; font-size: 12px; padding: 12px; }
.dialog-close { position: fixed; top: 15px; right: 24px; font-size: 34px; color: #f7e7df; z-index: 3; width: 42px; height: 42px; }
.viewer-nav { position: fixed; top: calc(50% - 27px); border: 1px solid #f5ddd33b; background: #ffffff0d; color: #fff1e9; width: 50px; height: 54px; border-radius: 50%; font-size: 40px; line-height: 1; z-index: 2; }
.viewer-nav:hover { background: #ffffff20; }
.viewer-nav.previous { left: 24px; }
.viewer-nav.next { right: 24px; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); background: #fffdf9; color: var(--pink-dark); box-shadow: 0 8px 40px #5c353326; border: 1px solid #f0d6cc; border-radius: 12px; padding: 14px 24px; font-size: 13px; opacity: 0; pointer-events: none; transition: .3s; z-index: 50; text-align: center; max-width: calc(100% - 32px); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.confetti { position: absolute; top: -20px; color: var(--pink); animation: confetti-fall 2.8s ease-in forwards; font-size: 18px; }
@keyframes confetti-fall { to { transform: translate(var(--drift), 105vh) rotate(560deg); opacity: 0; } }
@media (min-width: 1500px) { .hero { min-height: 710px; } .hero-photo-frame img { height: 500px; } }
@media (max-width: 1050px) {
  .page-width { width: min(100% - 56px, 960px); }
  .site-header { width: calc(100% - 48px); }
  .desktop-nav { gap: 20px; }
  .hero { gap: 35px; }
  .hero-photo-frame img { height: 420px; }
  .counter-wrap { gap: 45px; }
  .photo-grid { grid-auto-rows: 235px; gap: 15px; }
  .game-layout { gap: 20px; }
  .memory-card { padding: 25px; }
  .love-capsule-card { padding: 26px; }
  .letter-section { gap: 40px; padding: 40px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 30px; }
  body { font-size: 14px; }
  .page-width { width: calc(100% - 36px); }
  .site-header { width: calc(100% - 36px); height: 74px; }
  .brand { font-size: 24px; gap: 9px; }
  .brand-heart { width: 32px; height: 32px; font-size: 17px; }
  .desktop-nav, .header-note { display: none; }
  .menu-toggle { display: block; width: 40px; height: 40px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 44px 65px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; font-size: 9px; }
  h1 { font-size: 48px; letter-spacing: 2px; margin-block: 18px; }
  .hero-subtitle { font-size: 14px; }
  .hero-actions { justify-content: center; gap: 10px; }
  .button { font-size: 11px; padding: 10px 16px; gap: 12px; }
  .hero-handnote { font-size: 10px; margin-top: 21px; }
  .hero-visual { max-width: 370px; padding-inline: 19px; }
  .hero-photo-frame img { height: 405px; }
  .hero-date-sticker { right: -1px; }
  .doodle-flower { right: -1px; }
  .doodle-heart { left: -1px; }
  .doodle-star { left: -1px; }
  .hero-squiggle { right: -10px; }
  .counter-wrap { grid-template-columns: 1fr; gap: 27px; padding-block: 25px 65px; }
  .counter-intro { text-align: center; }
  .counter-intro h2 { font-size: 29px; }
  .counter-intro p { font-size: 11px; }
  .handwritten { margin-top: 11px; }
  .counter-card { padding: 26px 24px 22px; }
  .days-number > span { font-size: 78px; }
  .timeline-section { padding-bottom: 64px; }
  .timeline-section h2 .pink { display: block; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading h2 { font-size: 27px; }
  .section-side-note { display: block; margin-top: 10px; font-size: 10px; }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before { left: 13px; right: auto; top: 10px; bottom: 25px; width: 1px; height: auto; }
  .milestone { display: grid; grid-template-columns: 28px 1fr; column-gap: 18px; }
  .milestone-date { grid-column: 2; font-size: 22px; }
  .milestone-marker { grid-row: 1 / 3; grid-column: 1; height: 41px; align-items: flex-start; }
  .milestone-marker span { width: 27px; height: 27px; font-size: 12px; }
  .milestone-copy { grid-column: 2; margin-top: 0; padding-top: 0; }
  .milestone h3 { font-size: 18px; }
  .milestone p { margin-bottom: 0; }
  .gallery-section { padding-block: 50px; }
  .gallery-intro { margin-top: 13px; font-size: 10px; }
  .gallery-toolbar { display: block; }
  .filter-tabs { gap: 4px; }
  .filter-tab { font-size: 10px; padding: 7px 11px; }
  .shuffle-button { display: block; margin: 10px 0 0 auto; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 225px; gap: 13px; }
  .photo-card { padding: 6px 6px 26px; }
  .photo-card.is-wide { grid-column: span 1; }
  .photo-card figcaption { left: 9px; right: 9px; font-size: 8px; }
  .load-more-wrap { margin-top: 25px; }
  .play-section { padding-block: 55px 60px; }
  .centered p { font-size: 11px; }
  .game-layout { grid-template-columns: 1fr; gap: 24px; }
  .memory-card { padding: 24px 18px; }
  .game-card-heading h3 { font-size: 22px; }
  .memory-grid { gap: 8px; }
  .memory-back span { font-size: 18px; }
  .memory-stats { gap: 17px; }
  .love-capsule-card { padding: 28px; }
  .love-capsule-card h3 { font-size: 25px; }
  .letter-section { grid-template-columns: 1fr; gap: 40px; padding: 35px 26px; margin-bottom: 55px; }
  .letter-polaroid { width: 210px; justify-self: center; }
  .letter-polaroid img { height: 255px; }
  .letter-copy h2 { font-size: 26px; }
  .letter-copy p { font-size: 11px; }
  .letter-copy p br { display: none; }
  .letter-signature { font-size: 14px; }
  .photo-dialog figure { padding: 60px 18px 80px; }
  .photo-dialog img { max-height: calc(100vh - 160px); }
  .viewer-nav { top: auto; bottom: 23px; width: 43px; height: 43px; font-size: 33px; }
  .viewer-nav.previous { left: calc(50% - 60px); }
  .viewer-nav.next { right: calc(50% - 60px); }
  .dialog-close { right: 12px; top: 10px; }
  .toast { font-size: 12px; width: max-content; }
}
@media (max-width: 380px) {
  h1 { font-size: 43px; }
  .hero-photo-frame img { height: 350px; }
  .photo-grid { grid-auto-rows: 195px; gap: 10px; }
  .days-number > span { font-size: 68px; }
  .memory-card { padding-inline: 13px; }
  .game-sticker { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .confetti-layer { display: none; }
}
