.hero { padding: 12px 12px 8px; }
.hero-frame { text-align: center; padding: 10px 14px 18px; background: var(--bg); max-width: 560px; margin: 0 auto; }
.hero .couple { display: block; width: 100%; max-width: 360px; margin: 0 auto -6px; }
.hero h1 { margin: 0; font-weight: 400; }
.hero h1.names .script { font-size: clamp(2.8rem, 13vw, 3.8rem); }
.hero .caps { margin: 0 0 10px; }
.hero.small .hero-frame { padding-top: 22px; }
.welcome { color: var(--ink); max-width: 24em; margin: 0 auto; font-style: italic; font-weight: 500; font-size: 1.15rem; line-height: 1.45; }
.inline-btn { width: auto; margin-top: 8px; }

.venue { text-align: center; padding: 0 16px 40px; }
.venue img { width: 100%; max-width: 380px; display: block; margin: 0 auto 6px; }
.venue p { margin: 2px 0; }

main { max-width: 560px; margin: 0 auto; padding: 8px 16px 24px; }
main.wide { max-width: 1100px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin: 0 0 16px;
}
.card h2 {
  font-weight: 600; font-size: .88rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 6px; text-align: center;
}
.card label:not(.btn) { display: block; font-weight: 500; margin-bottom: 10px; font-size: 1.15rem; text-align: center; }
.card .btn { width: 100%; }

input[type=text], textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); margin-bottom: 12px;
}
input[type=text]:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { resize: vertical; }

.hello { text-align: center; margin: 4px 0 14px; font-style: italic; }
.linkbtn { background: none; border: 0; color: var(--ink); text-decoration: underline; font: inherit; font-size: .9rem; cursor: pointer; }
.textlink { color: var(--gold); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }

.actions { display: grid; gap: 12px; }
.btn.big { padding: 18px; font-size: .9rem; }
.hint { color: var(--muted); font-size: 1rem; font-weight: 500; margin: 10px 0 0; font-style: italic; text-align: center; }
.mission-note {
  margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--bg);
  border: 1px dashed var(--gold); font-weight: 500; text-align: center;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: center; }
.chip {
  font: inherit; font-size: 1rem; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--gold-light); background: var(--bg); color: var(--ink); text-align: left;
}
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.queue { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.qitem { display: flex; gap: 12px; align-items: center; }
.qthumb {
  width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex: none; background: var(--bg);
  display: grid; place-items: center; font-size: 1.4rem;
}
.qthumb img { width: 100%; height: 100%; object-fit: cover; }
.qbody { flex: 1; min-width: 0; }
.qstatus { font-size: .9rem; }
.qitem.failed .qstatus { color: var(--danger); cursor: pointer; }
.qitem.ok .qstatus { color: var(--gold); font-weight: 500; }
.bar { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 6px; }
.bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.qitem.ok .bar, .qitem.failed .bar { display: none; }

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; }

.album-tile { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--line); }
.album-open { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: pointer; }
.album-open img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album-tile .badge {
  position: absolute; right: 6px; top: 6px; background: rgba(0,0,0,.6); color: #fff;
  border-radius: 999px; padding: 2px 8px; font-size: .8rem;
}
.heart {
  position: absolute; left: 6px; bottom: 6px; border: 0; border-radius: 999px; padding: 4px 10px;
  background: rgba(255,255,255,.92); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600;
  cursor: pointer; -webkit-tap-highlight-color: transparent; min-width: 36px;
}
.heart.on { color: var(--gold); }
.heart.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.3); } }

.thanks { text-align: center; padding: 8px 0 4px; }
.thanks h3 { font-family: var(--script); font-weight: 400; font-size: 2.4rem; margin: 0 0 6px; color: var(--gold); line-height: 1.1; }
.thanks p { font-style: italic; }
.thanks p { margin: 0; color: var(--ink); }
