@font-face {
  font-family: 'Archivo Black';
  src: url('../assets/fonts/ArchivoBlack-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('../assets/fonts/Caveat-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('../assets/fonts/Caveat-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../assets/fonts/InstrumentSerif-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../assets/fonts/InstrumentSerif-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --font-cn: "Noto Sans CJK SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: "Noto Serif CJK SC", "Songti SC", Georgia, serif;
  --font-display: "Archivo Black", "Noto Sans CJK SC", Impact, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;

  --paper: #F5E9D0;
  --paper-2: #FCF4E2;
  --ink: #153038;
  --ink-soft: #4D6367;
  --cream: #FFF8E9;
  --sea: #0E7089;
  --sea-deep: #0B4B5D;
  --turq: #2CA6A0;
  --sun: #F5C24A;
  --sun-soft: #F9E3A2;
  --orange: #EE6B2E;
  --orange-deep: #D9501F;
  --coral: #DC5B43;
  --line: rgba(21, 48, 56, 0.18);
  --line-strong: rgba(21, 48, 56, 0.42);
  --frame: #FFFCF3;
  --frame-ink: #1B353B;
  --note-ink: #17333A;
  --note-a: #F7D477;
  --note-b: #BFE2D2;
  --note-c: #F2B49E;
  --note-d: #B9D9E6;
  --map-land: #F8EBCE;
  --map-sea: #B9DFD8;
  --map-line: #2C6E77;
  --stamp-red: #C8442C;
  --shadow: rgba(21, 40, 45, 0.18);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1D23;
    --paper-2: #162A31;
    --ink: #F4E8D0;
    --ink-soft: #C3B6A1;
    --cream: #FFF8E9;
    --sea: #7AC9CE;
    --sea-deep: #0D4353;
    --turq: #51C3B9;
    --sun-soft: rgba(245, 194, 74, 0.16);
    --line: rgba(244, 232, 208, 0.2);
    --line-strong: rgba(244, 232, 208, 0.46);
    --map-land: #1B323A;
    --map-sea: #113D4A;
    --map-line: #8BCFD0;
    --shadow: rgba(0, 0, 0, 0.5);
    --stamp-red: #E06E52;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-cn);
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 82% -12%, rgba(245, 194, 74, 0.34), transparent 62%),
    radial-gradient(900px 700px at -8% 104%, rgba(44, 166, 160, 0.16), transparent 66%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-color-scheme: dark) {
  body {
    background:
      radial-gradient(1100px 620px at 82% -12%, rgba(224, 150, 60, 0.14), transparent 62%),
      radial-gradient(900px 700px at -8% 104%, rgba(44, 166, 160, 0.12), transparent 66%),
      var(--paper);
  }
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  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='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  body::before { mix-blend-mode: screen; opacity: 0.35; }
}
::selection { background: var(--sun); color: #173038; }

img { max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.script { font-family: var(--font-script); font-weight: 600; }

.page {
  position: relative;
  z-index: 1;
  max-width: 1640px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 32px) clamp(16px, 3.4vw, 56px) 18px;
}

/* masthead */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(8px, 0.68vw, 10px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.masthead p { margin: 0; }
.mast-brand span { opacity: 0.45; padding: 0 2px; }
.mast-no {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 5px;
  background: var(--orange);
  color: var(--cream);
  border-radius: 2px;
  letter-spacing: 0.08em;
}
.mast-meta { color: var(--ink-soft); letter-spacing: 0.14em; }
.mast-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--turq);
  margin-right: 6px;
  vertical-align: 1px;
}
.mast-sep { opacity: 0.45; padding: 0 3px; }

/* poster layout */
.poster {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(16px, 2.4vw, 44px);
  padding: clamp(12px, 2.2vh, 28px) 0 clamp(6px, 1.4vh, 16px);
}
.intro { min-width: 0; position: relative; z-index: 2; isolation: isolate; }
.intro-sun {
  position: absolute;
  right: 1%;
  top: 15%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, rgba(245, 194, 74, 0.4) 0%, rgba(245, 194, 74, 0.15) 54%, rgba(245, 194, 74, 0) 72%);
  pointer-events: none;
}
.intro-sun::after {
  content: "";
  position: absolute;
  inset: -7%;
  border: 1px dashed rgba(238, 107, 46, 0.2);
  border-radius: 50%;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.kicker-script {
  font-size: clamp(22px, 1.9vw, 28px);
  color: var(--orange);
  letter-spacing: 0;
  transform: rotate(-2deg);
  margin-top: 3px;
  white-space: nowrap;
}
.kicker-rule { width: 24px; height: 1px; background: var(--ink-soft); opacity: 0.55; flex: none; }
.kicker-theme { letter-spacing: 0.1em; white-space: nowrap; }

.title {
  position: relative;
  margin: 0;
  font-family: var(--font-cn);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.title span { display: block; }
.t1 {
  font-size: clamp(30px, 3.5vw, 56px);
  letter-spacing: 0.04em;
  line-height: 1.12;
  margin-left: 4px;
}
.t2 {
  position: relative;
  font-size: clamp(76px, 9.6vw, 140px);
  line-height: 0.98;
  letter-spacing: 0.015em;
  margin: 0.02em 0 0;
}
.title-spark {
  position: absolute;
  top: 0.02em;
  right: -0.16em;
  font-size: 0.2em;
  line-height: 1;
  color: var(--orange);
  transform: rotate(12deg);
  font-weight: 400;
}
.t3 {
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding-top: 0.22em;
  margin-top: 0.04em;
}
.t3 em {
  font-style: normal;
  position: relative;
  display: inline-block;
  padding: 0 0.03em;
}
.t3 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.02em;
  right: -0.02em;
  bottom: 0.1em;
  height: 0.34em;
  background: var(--sun);
  transform: rotate(-1.4deg) skewX(-6deg);
  border-radius: 2px;
  opacity: 0.95;
}

.title-en {
  margin: 10px 0 0;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(8px, 0.7vw, 10.5px);
  line-height: 1.5;
  letter-spacing: 0.16em;
  color: var(--sea);
  max-width: 48ch;
}
.title-en span { color: var(--orange); }

.invite {
  margin: 10px 0 0;
  font-size: clamp(13.5px, 1.05vw, 16px);
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 42ch;
}

/* ticket */
.ticket {
  display: flex;
  align-items: stretch;
  margin-top: 12px;
  max-width: 440px;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  box-shadow: 3px 3px 0 var(--line-strong);
  transform: rotate(-0.5deg);
  overflow: hidden;
}
.ticket-left { flex: 1; min-width: 0; padding: 8px 12px 9px; }
.ticket-label {
  display: block;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 2px;
}
.ticket-left strong { display: block; font-size: clamp(12.5px, 1.05vw, 14.5px); letter-spacing: 0.02em; }
.ticket-cut { border-left: 1.5px dashed var(--line-strong); margin: 6px 0; }
.ticket-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: var(--sun);
  color: var(--note-ink);
  min-width: 94px;
}
.ticket-big { font-family: var(--font-display); font-size: 20px; line-height: 1; letter-spacing: 0.01em; }
.ticket-big span { font-size: 0.6em; }
.ticket-sub { font-size: 8.5px; letter-spacing: 0.12em; margin-top: 4px; font-weight: 700; }

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 10px 0 0;
}
.chips li {
  padding: 4px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  font-size: clamp(10px, 0.85vw, 11.5px);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  white-space: nowrap;
}

.actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  margin-top: 14px;
}
.yes-sticker {
  position: relative;
  flex: none;
  width: clamp(108px, 9.2vw, 132px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: var(--orange-deep);
  color: #FFF7E6;
  cursor: pointer;
  display: grid;
  place-content: center;
  justify-items: center;
  transform: rotate(-5deg);
  box-shadow: 0 9px 0 rgba(0, 0, 0, 0.13), 0 16px 26px -8px var(--shadow);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1.4), box-shadow 0.3s;
}
.yes-ring {
  position: absolute;
  inset: 7px;
  border: 1.5px dashed rgba(255, 247, 230, 0.68);
  border-radius: 50%;
  pointer-events: none;
}
.yes-text {
  position: relative;
  z-index: 1;
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.yes-en { position: relative; z-index: 1; font-family: var(--font-script); font-size: 18px; opacity: 0.9; margin-top: 1px; }
.yes-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.yes-dot-a { top: 19%; right: 21%; }
.yes-dot-b { bottom: 21%; left: 23%; }
.yes-sticker:hover { transform: rotate(0deg) scale(1.05); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.13), 0 12px 20px -6px var(--shadow); }
.yes-sticker:active { transform: translateY(4px) rotate(-2deg) scale(0.99); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.13); }
.yes-sticker:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.action-side { min-width: 0; }
.action-script { margin: 0 0 4px; font-size: clamp(19px, 1.6vw, 23px); color: var(--sea); transform: rotate(-2deg); }
.jump-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 2px;
  font-size: clamp(11.5px, 0.95vw, 13px);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--orange);
}
.jump-link:hover { color: var(--orange); }
.jump-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.ps {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin: 14px 0 0;
  font-family: var(--font-script);
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-soft);
  transform: rotate(-1.2deg);
}
.ps-arrow { width: 44px; height: 22px; color: var(--orange); transform: rotate(-8deg); flex: none; }

/* collage */
.collage {
  position: relative;
  width: 100%;
  aspect-ratio: 1.2;
  min-width: 0;
  align-self: center;
}
.collage-sun {
  position: absolute;
  top: -5%;
  right: 1%;
  width: 10.5%;
  color: var(--sun);
  z-index: 0;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.08));
}
.collage-sun svg { display: block; width: 100%; height: auto; }
.collage-orbit {
  position: absolute;
  top: -7%;
  right: -1%;
  width: 22%;
  aspect-ratio: 1;
  border: 1px dashed var(--orange);
  border-radius: 50%;
  opacity: 0.3;
  transform: rotate(12deg);
  z-index: 0;
}

.snap {
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.3s;
}
figure.snap { cursor: default; }
button.snap:hover, button.snap:focus-visible {
  transform: rotate(calc(var(--rot, 0deg) * 0.3)) translateY(-7px) scale(1.02);
  z-index: 14;
}
button.snap:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; border-radius: 3px; }

.polaroid {
  display: block;
  position: relative;
  background: var(--frame);
  padding: 8px 8px 6px;
  border-radius: 2px;
  box-shadow: 0 2px 3px rgba(21, 40, 45, 0.1), 0 18px 30px -12px var(--shadow);
}
.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #dfd6c3;
}
.polaroid-cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 2px 0;
  font-family: var(--font-script);
  font-size: 19px;
  line-height: 1;
  color: var(--frame-ink);
}
.cap-cn {
  font-family: var(--font-cn);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(27, 53, 59, 0.66);
  white-space: nowrap;
}

.tape {
  position: absolute;
  z-index: 6;
  width: 60px;
  height: 19px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 2px, rgba(255, 255, 255, 0) 2px 6px),
    linear-gradient(180deg, rgba(246, 208, 118, 0.94), rgba(238, 190, 92, 0.86));
  box-shadow: 0 1px 2px rgba(21, 40, 45, 0.18);
  border-left: 1px dashed rgba(255, 248, 229, 0.6);
  border-right: 1px dashed rgba(255, 248, 229, 0.6);
  pointer-events: none;
}
.tape-top { top: -9px; left: 50%; transform: translateX(-50%) rotate(-4deg); }
.tape-corner { top: -8px; right: 14%; transform: rotate(7deg); }

.snap-kotor { left: 0; top: 0; width: 30%; --rot: -4deg; z-index: 3; }
.snap-perast { left: 32%; top: 0.5%; width: 37%; --rot: 3deg; z-index: 4; }
.snap-cafe { left: 1%; top: 53%; width: 20%; --rot: 3.5deg; z-index: 4; }
.snap-budva { left: 63%; top: 28%; width: 23%; --rot: -2.5deg; z-index: 2; }
.snap-sunset { left: 22%; top: 73%; width: 34%; --rot: -2deg; z-index: 5; }
.snap-cafe .polaroid-cap { font-size: 14px; gap: 4px; }
.snap-cafe .cap-cn { font-size: 8px; }

.mini-tag {
  position: absolute;
  left: -10px;
  bottom: -21px;
  z-index: 7;
  padding: 4px 8px;
  background: var(--sea-deep);
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transform: rotate(-4deg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
  border-radius: 2px;
}

/* map card */
.map-card {
  position: absolute;
  left: 60%;
  top: 58.5%;
  width: 33.5%;
  z-index: 8;
  padding: 7px 7px 6px;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  transform: rotate(-4deg);
  box-shadow: 0 3px 0 var(--line), 0 16px 26px -12px var(--shadow);
}
.map-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  padding: 0 2px 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.map-head .script { font-size: clamp(13px, 1.15vw, 18px); color: var(--sea); line-height: 0.9; letter-spacing: 0; }
.map-no { font-family: var(--font-display); font-size: 6.5px; letter-spacing: 0.16em; color: var(--ink-soft); }
.map-canvas { position: relative; }
.map-svg { display: block; width: 100%; height: auto; }
.map-sea { fill: var(--map-sea); }
.map-shore { fill: none; stroke: var(--map-line); stroke-width: 2.2; stroke-linejoin: round; }
.map-contours { fill: none; stroke: var(--map-line); stroke-width: 0.9; opacity: 0.4; }
.map-waves { fill: none; stroke: var(--map-line); stroke-width: 1.1; opacity: 0.55; }
.map-route { fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-dasharray: 4 4.5; stroke-linecap: round; opacity: 0.9; }
.map-water-label { fill: var(--map-line); font-family: var(--font-display); font-size: 7.4px; letter-spacing: 0.16em; opacity: 0.8; }
.map-bay-label { fill: var(--sea); font-size: 13px; font-family: var(--font-script); font-weight: 600; opacity: 0.9; }
.map-note { fill: var(--ink-soft); font-family: var(--font-cn); font-size: 6.6px; letter-spacing: 0.06em; opacity: 0.8; }
.map-compass circle { fill: none; stroke: var(--map-line); stroke-width: 0.8; opacity: 0.6; }
.map-compass path { fill: var(--orange); }
.map-compass text { fill: var(--ink-soft); font-family: var(--font-display); font-size: 6px; text-anchor: middle; }

.map-pin {
  position: absolute;
  min-width: 24px;
  min-height: 24px;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 0 0 2px;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 10;
  color: var(--coral);
}
.pin-no {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--coral);
  color: #FFF8E9;
  border: 2px solid var(--paper-2);
  font-family: var(--font-display);
  font-size: 9px;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.pin-name {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 4px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.map-pin::after {
  content: "";
  width: 1.5px;
  height: 6px;
  background: var(--coral);
  margin-top: -1px;
}
.map-pin:hover .pin-no, .map-pin:focus-visible .pin-no { background: var(--ink); transform: scale(1.12); }
.map-pin:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.pin-perast { left: 52%; top: 45%; }
.pin-kotor { left: 30%; top: 49%; }
.pin-budva { left: 70%; top: 76%; }
.pin-sea { left: 86%; top: 89%; color: var(--sea); }
.pin-sea .pin-name { top: auto; bottom: 26px; }
.pin-budva .pin-name { top: 3px; right: 27px; left: auto; transform: none; }
.pin-sea .pin-no { background: var(--sea); }

.map-foot {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 0;
  padding-top: 4px;
  border-top: 1px dashed var(--line);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.map-scale { width: 15px; height: 1px; background: var(--ink-soft); position: relative; flex: none; }
.map-scale::before, .map-scale::after { content: ""; position: absolute; top: -2px; width: 1px; height: 5px; background: var(--ink-soft); }
.map-scale::before { left: 0; }
.map-scale::after { right: 0; }

/* loose stickers */
.sticker { position: absolute; z-index: 9; pointer-events: none; }
.sticker-days {
  right: 0.5%;
  top: 39%;
  width: clamp(58px, 5.4vw, 82px);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1px;
  border: 1.5px dashed var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 248, 233, 0.55);
  transform: rotate(-13deg);
  font-family: var(--font-display);
  font-size: clamp(8px, 0.72vw, 11px);
  letter-spacing: 0.06em;
  box-shadow: inset 0 0 0 3px rgba(255, 248, 233, 0.35);
}
.sticker-days .sticker-small { font-size: 0.62em; letter-spacing: 0.1em; color: var(--orange); }
.sticker-note {
  left: 61%;
  top: 0.5%;
  padding: 4px 9px;
  background: var(--sun);
  color: var(--note-ink);
  transform: rotate(4deg);
  box-shadow: 0 4px 8px rgba(21, 40, 45, 0.14);
  font-size: clamp(14px, 1.2vw, 19px);
  line-height: 1;
  white-space: nowrap;
}
.sticker-note::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 26px; height: 9px;
  background: rgba(255, 255, 255, 0.45);
  transform: translateX(-50%) rotate(-3deg);
}
.sticker-star { right: 1%; top: 68%; width: clamp(18px, 1.8vw, 26px); color: var(--orange); transform: rotate(10deg); }
.sticker-star svg { display: block; width: 100%; height: auto; }
.sticker-boat {
  right: 1.5%;
  top: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--sea-deep);
  transform: rotate(-4deg);
}
.sticker-boat svg { width: clamp(34px, 3.4vw, 52px); height: auto; display: block; }
.sticker-boat span { font-family: var(--font-script); font-size: clamp(14px, 1.25vw, 19px); color: var(--ink-soft); }
.sticker-yes {
  left: 16.5%;
  bottom: 5%;
  width: clamp(46px, 4.4vw, 66px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #FFF8E9;
  border-radius: 50%;
  transform: rotate(-11deg);
  box-shadow: 0 4px 10px rgba(21, 40, 45, 0.22);
  border: 1.5px solid rgba(255, 248, 233, 0.55);
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1;
}
.sticker-yes span { transform: rotate(-4deg); }

/* quote band */
.quote-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: clamp(6px, 1.4vh, 16px) 0 0;
  padding: clamp(12px, 1.7vh, 18px) 18px;
  background: var(--sea-deep);
  color: var(--cream);
  transform: rotate(-0.35deg);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.55);
  border-radius: 2px;
  overflow: hidden;
}
.quote-band::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(255, 248, 233, 0.28);
  border-radius: 1px;
  pointer-events: none;
}
.quote-band p {
  position: relative;
  margin: 0;
  font-size: clamp(16px, 1.62vw, 23px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
}
.quote-band p span { color: var(--sun); white-space: nowrap; }
.quote-mark {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 0.5;
  opacity: 0.5;
  transform: translateY(10px);
}
.quote-en {
  position: absolute;
  right: 14px;
  bottom: 5px;
  font-size: clamp(13px, 1.15vw, 17px);
  opacity: 0.55;
  color: var(--cream);
  transform: rotate(-2deg);
}

/* itinerary */
.itinerary { margin-top: clamp(14px, 2.4vh, 26px); }
.plan-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.plan-kicker {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--orange);
}
.plan-kicker span { opacity: 0.5; }
.plan-title {
  margin: 0;
  font-size: clamp(17px, 1.65vw, 24px);
  letter-spacing: 0.02em;
}
.plan-note {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 20px);
  color: var(--ink-soft);
  transform: rotate(-2deg);
  white-space: nowrap;
}
.plan-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 0.9vw, 14px);
  padding: 0;
  margin: 0;
}
.plan-grid li { min-width: 0; }
.plan-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  min-height: clamp(108px, 12.5vh, 138px);
  padding: 12px 12px 25px;
  text-align: left;
  color: var(--note-ink);
  background: var(--note-bg, var(--note-a));
  border: 1.5px solid var(--note-ink);
  border-radius: 2px;
  box-shadow: 3px 4px 0 rgba(21, 40, 45, 0.14);
  cursor: pointer;
  transform: rotate(var(--note-rot, 0deg));
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.plan-card::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 42px;
  height: 13px;
  background: rgba(255, 250, 235, 0.55);
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: 0 1px 2px rgba(21, 40, 45, 0.08);
  pointer-events: none;
}
.plan-card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 4px 8px 0 rgba(21, 40, 45, 0.16); }
.plan-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.plan-a { --note-bg: var(--note-a); --note-rot: -1.2deg; }
.plan-b { --note-bg: var(--note-b); --note-rot: 1deg; }
.plan-c { --note-bg: var(--note-c); --note-rot: -0.6deg; }
.plan-d { --note-bg: var(--note-d); --note-rot: 1.1deg; }
.plan-no {
  flex: none;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1;
  color: rgba(23, 51, 58, 0.34);
}
.plan-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.plan-day { font-family: var(--font-display); font-size: 7.5px; letter-spacing: 0.1em; opacity: 0.66; }
.plan-body strong { font-size: clamp(13px, 1.15vw, 16.5px); letter-spacing: 0.01em; }
.plan-desc { font-size: clamp(10px, 0.82vw, 11.5px); line-height: 1.5; opacity: 0.8; }
.plan-open { position: absolute; right: 10px; bottom: 7px; font-size: 9px; letter-spacing: 0.08em; opacity: 0.62; }

/* footer */
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.foot p { margin: 0; }
.foot-mark { color: var(--orange); }
.foot-right { font-family: var(--font-display); font-size: 7.5px; letter-spacing: 0.12em; white-space: nowrap; }
.foot-right span { opacity: 0.4; padding: 0 3px; }
.foot-hand {
  margin: 4px 0 0;
  text-align: center;
  font-size: clamp(15px, 1.25vw, 18px);
  color: var(--ink-soft);
  opacity: 0.8;
}

/* dialogs */
dialog.sheet {
  border: 0;
  padding: 0;
  margin: auto;
  background: var(--paper-2);
  color: var(--ink);
  max-width: none;
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 30px 80px rgba(8, 22, 27, 0.42);
}
dialog::backdrop { background: rgba(10, 27, 33, 0.58); backdrop-filter: blur(3px); }
dialog[open] { animation: dialog-in 0.34s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.stop-sheet {
  width: min(940px, 92vw);
  border-radius: 6px;
}
.stop-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
.stop-media { position: relative; background: #0d1f24; border-radius: 6px 0 0 6px; overflow: hidden; min-height: 0; }
.stop-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stop-img-note {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 3px 8px;
  color: #FFF8E9;
  font-size: 20px;
  background: rgba(12, 32, 38, 0.5);
  border-radius: 2px;
  backdrop-filter: blur(3px);
}
.stop-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 36px);
}
.stop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--orange);
}
.stop-day { color: var(--ink-soft); }
.stop-body h2 { margin: 8px 0 0; font-size: clamp(30px, 3vw, 42px); letter-spacing: 0.02em; line-height: 1.15; }
.stop-en { margin: 1px 0 13px; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.28em; color: var(--sea); }
.stop-head {
  margin: 0 0 10px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: clamp(15px, 1.35vw, 17.5px);
  font-weight: 700;
  line-height: 1.65;
}
.stop-note { margin: 0 0 14px; font-size: 13px; line-height: 1.85; color: var(--ink-soft); }
.moments { list-style: none; display: grid; gap: 6px; padding: 0; margin: 0 0 13px; }
.moments li { display: flex; align-items: baseline; gap: 9px; font-size: 12.5px; line-height: 1.55; }
.moments li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); transform: translateY(-1px); }
.moments strong { flex: none; min-width: 48px; font-family: var(--font-display); font-size: 9px; font-weight: 400; letter-spacing: 0.04em; color: var(--sea); }
.stop-tip {
  margin: 0 0 16px;
  padding: 8px 10px;
  background: var(--sun-soft);
  border-left: 3px solid var(--sun);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink);
}
.stop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.nav-btn {
  min-height: 40px;
  padding: 6px 13px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11.5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav-btn:hover { background: var(--ink); color: var(--paper-2); }
.nav-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.stop-counter { font-family: var(--font-display); font-size: 9px; letter-spacing: 0.14em; color: var(--ink-soft); }

/* short landscape viewports: keep the stop sheet readable without vertical clipping */
@media (max-height: 560px) and (orientation: landscape) {
  .stop-sheet { width: min(760px, 94vw); }
  .stop-layout { grid-template-columns: 34% minmax(0, 1fr); }
  .stop-body { padding: 13px 17px 11px; }
  .stop-top { font-size: 8px; }
  .stop-body h2 { margin-top: 3px; font-size: 24px; }
  .stop-en { margin: 1px 0 7px; font-size: 9px; }
  .stop-head { margin-bottom: 6px; padding-top: 7px; font-size: 14px; line-height: 1.5; }
  .stop-note { margin-bottom: 7px; font-size: 11.5px; line-height: 1.6; }
  .moments { gap: 2px; margin-bottom: 7px; }
  .moments li { font-size: 11px; line-height: 1.45; }
  .moments strong { min-width: 40px; font-size: 8.5px; }
  .stop-tip { margin-bottom: 7px; padding: 5px 8px; font-size: 10.5px; line-height: 1.5; }
  .stop-nav { padding-top: 7px; }
  .nav-btn { min-height: 34px; padding: 4px 10px; font-size: 10.5px; }
  .stop-img-note { left: 10px; bottom: 10px; font-size: 15px; }
  .yes-sheet { width: min(520px, 94vw); }
  .yes-inner { padding: 12px 16px; }
  .yes-form-wrap { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); column-gap: 16px; align-items: start; }
  .yes-copy { grid-column: 1; align-self: center; }
  .yes-script { margin: 0; font-size: 20px; }
  .yes-inner h2 { margin-bottom: 4px; font-size: 22px; }
  .yes-lead { margin-bottom: 0; font-size: 11px; line-height: 1.5; }
  #yesForm { grid-column: 2; padding-top: 6px; }
  .when-field { margin-bottom: 9px; }
  .when-field legend { margin-bottom: 5px; font-size: 11.5px; }
  .when-chip span { min-height: 36px; padding: 0 13px; font-size: 12px; }
  .name-field { margin-bottom: 10px; font-size: 11.5px; }
  .name-field > span { margin-bottom: 4px; }
  .name-field input { min-height: 40px; padding: 6px 10px; font-size: 13px; }
  .stamp-btn { min-height: 44px; font-size: 15px; }
  .fineprint { margin: 6px 0 0; font-size: 10px; line-height: 1.4; }
}
.close-x {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 30;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}
.close-x:hover { background: var(--ink); color: var(--paper-2); }
.close-x:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.yes-sheet { width: min(560px, 92vw); border-radius: 8px; position: relative; }
.yes-inner { padding: clamp(26px, 3.6vw, 42px); }
.yes-copy { min-width: 0; display: flow-root; }
.yes-script { margin: 0 0 2px; font-size: 25px; color: var(--orange); transform: rotate(-2deg); }
.yes-inner h2 { margin: 0 0 8px; font-size: clamp(25px, 2.7vw, 34px); letter-spacing: 0.01em; }
.yes-lead { margin: 0 0 20px; font-size: 13px; line-height: 1.85; color: var(--ink-soft); }
.when-field { border: 0; padding: 0; margin: 0 0 15px; min-width: 0; }
.when-field legend { margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.when-options { display: flex; flex-wrap: wrap; gap: 7px; }
.when-chip { position: relative; }
.when-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.when-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.when-chip input:checked + span {
  background: var(--sea-deep);
  border-color: var(--sea-deep);
  color: var(--cream);
  box-shadow: 0 0 0 3px var(--sun);
}
.when-chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.name-field { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 600; }
.name-field > span { display: block; margin-bottom: 6px; color: var(--ink-soft); }
.name-field em { font-style: normal; font-weight: 400; opacity: 0.7; }
.name-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 3px;
  color: var(--ink);
  font-size: 14px;
}
.name-field input::placeholder { color: var(--ink-soft); opacity: 0.65; }
.name-field input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.stamp-btn {
  width: 100%;
  min-height: 50px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--orange-deep);
  color: #FFF7E6;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.stamp-btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.stamp-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.stamp-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.stamp-btn.ghost {
  margin-top: 6px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: none;
  font-weight: 700;
}
.stamp-btn.ghost:hover { background: var(--paper); transform: none; }
.fineprint { margin: 10px 0 0; text-align: center; font-size: 9.5px; line-height: 1.6; color: var(--ink-soft); }

.yes-result { text-align: center; padding-top: 6px; }
.yes-result h2 { margin-bottom: 4px; }
.yes-result-name { margin: 8px 0 2px; font-size: 18px; font-weight: 800; letter-spacing: 0.04em; }
.yes-result-when { margin: 0 0 6px; font-size: 12.5px; letter-spacing: 0.08em; color: var(--sea); }
.stamp-mark {
  position: relative;
  width: 146px;
  height: 146px;
  margin: 12px auto;
  display: grid;
  place-items: center;
  border: 3px double var(--stamp-red);
  border-radius: 50%;
  color: var(--stamp-red);
  transform: rotate(-9deg);
}
.stamp-mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed var(--stamp-red);
  border-radius: 50%;
  opacity: 0.7;
}
.stamp-inner {
  font-family: var(--font-display);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-align: center;
}
.stamp-inner strong { display: block; font-family: var(--font-cn); font-size: 30px; font-weight: 900; letter-spacing: 0.16em; margin: 2px 0; }
.stamp-mark.animate { animation: stampIn 0.6s cubic-bezier(0.2, 1.3, 0.4, 1) both; }
@keyframes stampIn {
  0% { transform: scale(2.4) rotate(-22deg); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: scale(1) rotate(-9deg); opacity: 1; }
}
.result-plan {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
  padding: 10px 0;
  margin: 14px 0 14px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  text-align: left;
}
.result-plan li { display: flex; gap: 6px; font-size: 11.5px; color: var(--ink-soft); }
.result-plan span { font-family: var(--font-display); font-size: 8px; color: var(--orange); padding-top: 2px; }

.confetti-layer { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; }
.confetti-layer span { position: absolute; top: -24px; width: 9px; height: 9px; border-radius: 50%; animation: confettiFall linear forwards; }
@keyframes confettiFall {
  to { transform: translate3d(var(--dx, 0px), 108vh, 0) rotate(620deg); opacity: 0.9; }
}

/* rotate hint */
.rotate-tip {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--sun);
  color: var(--note-ink);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 20;
}
.rotate-tip button {
  border: 0;
  background: none;
  color: var(--note-ink);
  padding: 4px 6px;
  min-width: 32px;
  min-height: 32px;
  cursor: pointer;
  font-size: 13px;
}
.rotate-tip[hidden] { display: none; }

/* responsive */
@media (max-width: 1080px) {
  .poster { grid-template-columns: minmax(0, 1fr); gap: clamp(10px, 2.4vh, 22px); }
  .intro { max-width: 720px; margin: 0 auto; width: 100%; }
  .intro-sun { right: 0; top: 4%; width: 36%; }
  .t2 { font-size: clamp(88px, 15vw, 158px); }
  .t1 { font-size: clamp(30px, 4.4vw, 52px); }
  .t3 { font-size: clamp(42px, 6.4vw, 76px); }
  .collage { max-width: 780px; margin: 0 auto; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card { min-height: 104px; }
  .plan-note { font-size: 17px; }
}

@media (max-width: 760px) {
  .mast-meta { display: none; }
  .masthead { font-size: 8px; }
  .page { padding-left: 16px; padding-right: 16px; }
  .kicker { gap: 7px; }
  .kicker-theme { display: none; }
  .kicker-script { font-size: 21px; }
  .t1 { font-size: 30px; }
  .t2 { font-size: clamp(78px, 21.5vw, 112px); }
  .t3 { font-size: clamp(38px, 11.2vw, 58px); }
  .title-spark { right: -0.12em; }
  .title-en { font-size: 8px; letter-spacing: 0.11em; line-height: 1.7; }
  .invite { font-size: 13.5px; line-height: 1.8; }
  .ticket { max-width: 100%; }
  .ticket-right { min-width: 84px; padding: 6px 11px; }
  .actions { gap: 16px; align-items: center; }
  .yes-sticker { width: 112px; }
  .yes-text { font-size: 23px; }
  .ps { font-size: 17px; }
  .ps-arrow { width: 34px; }
  .collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    aspect-ratio: auto;
    margin-top: 6px;
  }
  .snap,
  .snap-kotor, .snap-perast, .snap-cafe, .snap-budva, .snap-sunset {
    position: static;
    width: 100%;
    transform: rotate(-1.4deg);
  }
  .snap:nth-of-type(2n) { transform: rotate(1.3deg); }
  .snap-sunset { grid-column: 1 / -1; transform: rotate(0.6deg); }
  .polaroid { padding: 7px 7px 5px; }
  .polaroid-cap { font-size: 17px; }
  .cap-cn { font-size: 8.5px; }
  .tape { width: 48px; height: 16px; }
  .map-card {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 400px;
    margin: 2px auto 0;
    transform: rotate(-1deg);
  }
  .map-head .script { font-size: 18px; }
  .map-no { font-size: 7.5px; }
  .pin-name { font-size: 9px; }
  .map-foot { font-size: 8.5px; }
  .collage-sun, .collage-orbit, .sticker { display: none; }
  .mini-tag { left: 4px; bottom: -9px; font-size: 9px; }
  .quote-band { padding: 12px 14px; }
  .quote-band p { font-size: 15.5px; line-height: 1.7; letter-spacing: 0.02em; }
  .quote-mark { font-size: 30px; }
  .quote-en { display: none; }
  .plan-head { align-items: flex-start; }
  .plan-title { font-size: 18px; }
  .plan-note { display: none; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .plan-card { min-height: 92px; padding: 11px 12px 23px; }
  .plan-no { font-size: 22px; }
  .foot { font-size: 8px; }
  .foot-right { font-size: 7px; }
  .stop-sheet { width: 94vw; max-height: 92svh; overflow: auto; }
  .stop-layout { grid-template-columns: minmax(0, 1fr); }
  .stop-media { border-radius: 6px 6px 0 0; min-height: 0; }
  .stop-media img { height: 34svh; max-height: none; }
  .stop-body { padding: 18px 18px 20px; }
  .stop-body h2 { font-size: 28px; }
  .stop-head { font-size: 15px; }
  .stop-note { font-size: 12.5px; }
  .close-x { background: rgba(252, 244, 226, 0.94); }
  .yes-sheet { width: 94vw; max-height: 92svh; overflow: auto; }
  .yes-inner { padding: 24px 20px; }
  .stamp-mark { width: 128px; height: 128px; }
}

@media (max-width: 380px) {
  .t2 { font-size: 76px; }
  .t3 { font-size: 36px; }
  .yes-sticker { width: 100px; }
  .yes-text { font-size: 20px; }
}

@media (max-width: 900px) and (orientation: portrait) {
  .rotate-tip { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =========================================================
   16:9 landscape poster stage
   Design canvas: 1440 x 810, scaled to fit the viewport.
   Portrait keeps the fluid stacked layout; rotate a phone to see the poster.
   ========================================================= */
.stage-shell { position: relative; }
.stage { position: relative; }

@media (min-width: 660px) and (min-height: 340px) and (orientation: landscape) {
  html, body { height: 100%; }
  body {
    overflow: hidden;
    background: #C9AF88;
  }
  @media (prefers-color-scheme: dark) {
    body { background: #071015; }
  }

  .stage-shell {
    position: fixed;
    inset: 0;
    overflow: hidden;
  }

  .stage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1440px;
    height: 810px;
    transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
    transform-origin: center center;
    background:
      radial-gradient(880px 520px at 82% -8%, rgba(245, 194, 74, 0.32), transparent 62%),
      radial-gradient(760px 600px at -8% 104%, rgba(44, 166, 160, 0.14), transparent 66%),
      var(--paper);
    box-shadow:
      0 34px 90px -28px rgba(31, 44, 38, 0.5),
      0 0 0 1px rgba(21, 48, 56, 0.14);
    overflow: hidden;
  }
  .stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.42;
    mix-blend-mode: multiply;
    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='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  }
  @media (prefers-color-scheme: dark) {
    .stage::after { mix-blend-mode: screen; opacity: 0.3; }
  }

  .stage .page {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 20px 30px 12px;
    display: flex;
    flex-direction: column;
  }

  .stage .masthead {
    flex: none;
    padding-bottom: 7px;
    border-bottom-width: 1.4px;
    font-size: 8.5px;
    letter-spacing: 0.17em;
  }
  .stage .mast-no { margin-left: 5px; padding: 2px 5px; }
  .stage .mast-dot { width: 6px; height: 6px; margin-right: 5px; }

  /* ---- main two-column composition ---- */
  .stage .poster {
    flex: none;
    height: 560px;
    margin: 10px 0;
    padding: 0;
    display: grid;
    grid-template-columns: 560px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
  }

  .stage .intro {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }
  .stage .intro-sun {
    width: 360px;
    height: 360px;
    right: 6px;
    top: 34px;
  }
  .stage .intro-sun::after { inset: -6%; }

  .stage .kicker {
    gap: 8px;
    margin: 0 0 4px;
    font-size: 13px;
  }
  .stage .kicker-script { font-size: 25px; }
  .stage .kicker-rule { width: 46px; }
  .stage .kicker-theme { font-size: 8.5px; letter-spacing: 0.16em; }

  .stage .title {
    line-height: 0.9;
    gap: 0;
  }
  .stage .t1 { font-size: 34px; letter-spacing: 0.1em; }
  .stage .t2 { font-size: 100px; letter-spacing: -0.01em; }
  .stage .title-spark { font-size: 0.24em; margin-left: 0.06em; }
  .stage .t3 {
    font-size: 50px;
    padding-top: 0.16em;
    margin-top: 0.02em;
    letter-spacing: 0.01em;
  }
  .stage .t3 em::after { height: 0.15em; bottom: 0.1em; }

  .stage .title-en {
    margin-top: 9px;
    font-size: 8px;
    letter-spacing: 0.2em;
  }
  .stage .invite {
    margin-top: 11px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 33em;
  }
  .stage .ticket {
    margin-top: 12px;
    max-width: 430px;
    border-width: 1.6px;
    box-shadow: 3px 4px 0 rgba(21, 48, 56, 0.14);
  }
  .stage .ticket-left { padding: 7px 11px 8px; }
  .stage .ticket-label { font-size: 7px; }
  .stage .ticket-left strong { font-size: 13px; }
  .stage .ticket-right { padding: 6px 12px 7px; }
  .stage .ticket-big { font-size: 18px; }
  .stage .ticket-sub { font-size: 7.5px; margin-top: 3px; }

  .stage .chips { display: none; }

  .stage .actions {
    margin-top: 13px;
    gap: 18px;
  }
  .stage .yes-sticker {
    width: 104px;
    box-shadow: 0 8px 16px -9px rgba(120, 22, 6, 0.75), inset 0 0 0 1px rgba(255, 248, 233, 0.18);
  }
  .stage .yes-text { font-size: 22px; }
  .stage .yes-en { font-size: 13px; }
  .stage .action-script { font-size: 23px; }
  .stage .jump-link { font-size: 12px; }
  .stage .ps {
    margin-top: 10px;
    padding-top: 0;
    font-size: 15px;
    white-space: nowrap;
  }
  .stage .ps-arrow { width: 40px; height: 20px; }

  /* ---- collage ---- */
  .stage .collage {
    height: 100%;
    width: 100%;
    aspect-ratio: auto;
    align-self: stretch;
  }
  .stage .collage-sun { width: 9%; right: 1%; top: -5%; }
  .stage .collage-orbit { width: 19%; right: -1%; top: -8%; }

  .stage .snap-kotor { left: 0; top: 0; width: 24%; --rot: -2.4deg; }
  .stage .snap-perast { left: 27%; top: 1.2%; width: 33%; --rot: 1.6deg; }
  .stage .snap-budva { left: 79%; top: 16%; width: 20%; --rot: -1.4deg; }
  .stage .snap-cafe { left: 0; top: 53%; width: 16%; --rot: 2deg; }
  .stage .snap-sunset { left: 19%; top: 70%; width: 30%; --rot: -1.2deg; }

  .stage .snap-frame { padding: 6px 6px 4px; }
  .stage .snap-name,
  .stage .snap-cap { font-size: 8px; }
  .stage .snap-cap { margin-top: 2px; }
  .stage .snap-index { font-size: 7px; }

  .stage .map-card {
    left: 54%;
    top: 48%;
    width: 28%;
    padding: 6px 7px 7px;
    transform: rotate(-3deg);
    box-shadow: 5px 8px 14px -10px rgba(21, 40, 45, 0.6);
  }
  .stage .map-head { font-size: 7.5px; padding-bottom: 3px; margin-bottom: 3px; }
  .stage .map-title { font-size: 8.5px; }
  .stage .map-canvas { height: auto; }
  .stage .map-foot { font-size: 6.2px; margin-top: 3px; gap: 4px; }
  .stage .map-pin { width: 22px; height: 22px; }
  .stage .pin-no { font-size: 8px; }
  .stage .pin-name { font-size: 7px; }

  .stage .sticker-days { right: 0.5%; top: 50%; transform: rotate(7deg); }
  .stage .sticker-note { left: 56%; top: 0.4%; }
  .stage .sticker-star { right: 1.5%; top: 72%; width: 3.2%; }
  .stage .sticker-yes { left: 2.5%; bottom: 5%; }
  .stage .mini-tag { display: none; }
  .stage .map-bay-label { display: none; }

  /* ---- bottom band: quote + plan ---- */
  .stage .bottom-band {
    flex: none;
    height: 140px;
    display: grid;
    grid-template-columns: 386px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
  }
  .stage .quote-band {
    height: 100%;
    margin: 0;
    padding: 14px 16px 12px;
    justify-content: flex-start;
    text-align: left;
    transform: rotate(-0.4deg);
    box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.55);
  }
  .stage .quote-band p {
    text-align: left;
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0.02em;
    padding-left: 6px;
  }
  .stage .quote-mark { font-size: 40px; transform: translateY(6px); }
  .stage .quote-en {
    right: 12px;
    bottom: 6px;
    font-size: 13px;
  }

  .stage .itinerary {
    height: 100%;
    min-width: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }
  .stage .plan-head {
    flex: none;
    margin-bottom: 6px;
    align-items: center;
  }
  .stage .plan-kicker { margin: 0 0 2px; font-size: 7px; }
  .stage .plan-title { font-size: 16px; }
  .stage .plan-note { font-size: 14px; }
  .stage .plan-grid {
    flex: 1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    min-height: 0;
  }
  .stage .plan-grid li { height: 100%; }
  .stage .plan-card {
    height: 100%;
    min-height: 0;
    padding: 9px 10px 21px;
    gap: 7px;
    box-shadow: 2px 3px 0 rgba(21, 40, 45, 0.13);
  }
  .stage .plan-no { font-size: 19px; }
  .stage .plan-day { font-size: 6.5px; }
  .stage .plan-body { gap: 1px; }
  .stage .plan-body strong { font-size: 13px; }
  .stage .plan-desc { font-size: 9.5px; line-height: 1.45; }
  .stage .plan-open { right: 8px; bottom: 5px; font-size: 7.5px; }

  .stage .foot {
    flex: none;
    margin-top: auto;
    padding-top: 6px;
    font-size: 7.5px;
  }
  .stage .foot-right { font-size: 6.5px; }
  .stage .foot-hand { display: none; }

  .stage .rotate-tip { display: none; }
}
