:root {
  --paper: #fbf6f2;
  --paper-strong: #fffdfb;
  --cream: #f4e9e1;
  --cream-deep: #ead8cb;
  --blush: #ead3cf;
  --rose: #a66368;
  --rose-dark: #81474d;
  --rose-soft: #f5e7e5;
  --sage: #72877b;
  --sage-soft: #e7eee9;
  --gold: #ac8755;
  --gold-soft: #f5ecdc;
  --ink: #2f3542;
  --ink-soft: #626875;
  --line: rgba(47, 53, 66, 0.11);
  --danger: #a64d52;
  --danger-soft: #f7e5e5;
  --white: #ffffff;
  --shadow-sm: 0 7px 24px rgba(64, 47, 45, 0.07);
  --shadow-md: 0 18px 55px rgba(64, 47, 45, 0.11);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, svg { display: block; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
h3 { font-size: 1rem; line-height: 1.3; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.icon { flex: 0 0 auto; }
.eyebrow {
  margin-bottom: 9px;
  color: var(--rose);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.card {
  border: 1px solid rgba(47,53,66,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

/* Brand and header */
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251,246,242,.91);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(var(--container), calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  position: relative;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--rose);
  background: linear-gradient(145deg, #f8e9e6, #e8d1cd);
  box-shadow: inset 0 0 0 1px rgba(166,99,104,.12);
}
.brand-note {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  color: white;
  background: var(--sage);
}
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; letter-spacing: -.03em; }
.brand small { margin-top: 4px; color: var(--ink-soft); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.brand-compact .brand-mark { width: 38px; height: 38px; border-radius: 13px; }
.brand-compact strong { font-size: 1.07rem; }

/* Buttons */
.button, .icon-button, .chip, .text-button, .admin-nav-item, .vote-button, .segmented button, .dj-play-toggle {
  border: 0;
  cursor: pointer;
}
.button {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  font-size: .91rem;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .58; cursor: not-allowed; transform: none; }
.button-primary { color: white; background: linear-gradient(135deg, var(--rose), var(--rose-dark)); box-shadow: 0 9px 22px rgba(166,99,104,.24); }
.button-primary:hover { box-shadow: 0 12px 28px rgba(166,99,104,.31); }
.button-secondary { color: var(--rose-dark); border: 1px solid rgba(166,99,104,.22); background: var(--rose-soft); }
.button-ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.58); }
.button-success { color: #fff; background: var(--sage); }
.button-ghost-danger { color: var(--danger); border: 1px solid rgba(166,77,82,.22); background: var(--danger-soft); }
.button-dark-ghost { color: #fff; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07); }
.button-small { min-height: 38px; padding: 0 14px; border-radius: 11px; font-size: .82rem; }
.button-full { width: 100%; }
.icon-button {
  width: 39px;
  height: 39px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.72);
  transition: .18s ease;
}
.icon-button:hover, .icon-button.active { color: var(--rose); border-color: rgba(166,99,104,.3); background: var(--rose-soft); }
.icon-button.danger:hover { color: var(--danger); background: var(--danger-soft); }
.icon-button.dark { color: white; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.07); }
.text-button { padding: 0; color: var(--rose); background: transparent; font-size: .84rem; font-weight: 750; }
.danger-text { color: var(--danger); }
.spinner { width: 17px; height: 17px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Landing */
.landing-hero {
  position: relative;
  min-height: 650px;
  padding: 74px max(30px, calc((100vw - var(--container)) / 2));
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 22%, rgba(234,211,207,.72), transparent 28%),
    radial-gradient(circle at 88% 68%, rgba(231,238,233,.85), transparent 29%),
    linear-gradient(145deg, #fffaf7, #f8efea);
}
.hero-decor { position: absolute; pointer-events: none; opacity: .36; }
.hero-decor::before, .hero-decor::after { content: ''; position: absolute; border: 1px solid var(--sage); border-radius: 70% 30% 60% 40%; transform: rotate(-28deg); }
.hero-decor-left { left: -10px; bottom: 80px; width: 170px; height: 210px; }
.hero-decor-left::before { width: 120px; height: 44px; left: 18px; top: 40px; }
.hero-decor-left::after { width: 100px; height: 35px; left: 73px; top: 110px; transform: rotate(28deg); }
.hero-decor-right { right: 10px; top: 42px; width: 140px; height: 190px; transform: scaleX(-1); }
.hero-decor-right::before { width: 110px; height: 40px; left: 0; top: 36px; }
.hero-decor-right::after { width: 80px; height: 30px; left: 52px; top: 100px; transform: rotate(32deg); }
.landing-copy { position: relative; z-index: 2; max-width: 620px; }
.landing-copy h1 { margin-bottom: 24px; color: var(--ink); }
.landing-copy h1 em { color: var(--rose); font-weight: 500; }
.hero-lead { max-width: 580px; margin-bottom: 31px; color: var(--ink-soft); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--ink-soft); font-size: .82rem; }
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row svg { color: var(--sage); }
.hero-visual { position: relative; z-index: 2; min-height: 460px; display: grid; place-items: center; }
.vinyl-card {
  width: min(100%, 510px);
  min-height: 330px;
  padding: 44px;
  display: flex;
  align-items: center;
  gap: 35px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 35px;
  background: rgba(255,255,255,.63);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  transform: rotate(-2deg);
}
.vinyl {
  position: relative;
  width: 190px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #292b31 0 3px, #34373e 4px 6px);
  box-shadow: 0 21px 45px rgba(47,53,66,.25);
}
.vinyl::before { content: ''; position: absolute; inset: 34%; border-radius: 50%; background: var(--rose); box-shadow: inset 0 0 0 12px var(--blush); }
.vinyl span { position: absolute; inset: 48%; border-radius: 50%; background: var(--ink); }
.now-playing { flex: 1; }
.now-playing small { display: block; margin-bottom: 13px; color: var(--rose); font-size: .65rem; font-weight: 800; letter-spacing: .17em; }
.now-playing strong { display: block; font-family: var(--serif); font-size: 1.65rem; line-height: 1.1; }
.sound-wave { height: 38px; margin-top: 28px; display: flex; align-items: center; gap: 5px; }
.sound-wave i { width: 4px; height: 12px; border-radius: 8px; background: var(--sage); animation: wave 1.35s ease-in-out infinite alternate; }
.sound-wave i:nth-child(2), .sound-wave i:nth-child(6) { height: 26px; animation-delay: -.3s; }
.sound-wave i:nth-child(3), .sound-wave i:nth-child(5) { height: 18px; animation-delay: -.6s; }
.sound-wave i:nth-child(4) { height: 34px; animation-delay: -.9s; }
@keyframes wave { to { transform: scaleY(.45); opacity: .55; } }
.floating-note { position: absolute; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 20px; color: var(--rose); background: rgba(255,255,255,.82); box-shadow: var(--shadow-sm); }
.note-one { top: 29px; right: 30px; transform: rotate(8deg); }
.note-two { left: 10px; bottom: 48px; color: var(--sage); transform: rotate(-8deg); }
.feature-section { padding: 95px 0 110px; }
.section-heading { max-width: 650px; margin: 0 auto 42px; text-align: center; }
.section-heading h2 { margin-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.58); }
.feature-card > span { width: 48px; height: 48px; margin-bottom: 21px; display: grid; place-items: center; border-radius: 15px; color: var(--rose); background: var(--rose-soft); }
.feature-card:nth-child(2) > span { color: var(--sage); background: var(--sage-soft); }
.feature-card:nth-child(3) > span { color: var(--gold); background: var(--gold-soft); }
.feature-card h3 { margin-bottom: 9px; font-family: var(--serif); font-size: 1.25rem; }
.feature-card p { margin-bottom: 0; color: var(--ink-soft); font-size: .91rem; }
.site-footer { padding: 26px 0; border-top: 1px solid var(--line); color: var(--ink-soft); background: rgba(255,255,255,.35); font-size: .78rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 20px; }

/* General forms */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span, .mini-field > span { color: var(--ink); font-size: .78rem; font-weight: 750; }
.field small { color: var(--ink-soft); font-weight: 500; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(47,53,66,.14);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: rgba(255,255,255,.86);
  transition: border .18s ease, box-shadow .18s ease, background .18s ease;
}
input, select { height: 48px; padding: 0 14px; }
textarea { min-height: 105px; padding: 12px 14px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(166,99,104,.52); box-shadow: 0 0 0 4px rgba(166,99,104,.09); background: white; }
input::placeholder, textarea::placeholder { color: #a4a5aa; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field-wide { grid-column: 1 / -1; }
.field-hint { margin-top: -3px; text-align: right; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-footer { padding-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-footer p { margin: 0; display: flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: .77rem; }

/* Guest view */
.guest-hero {
  position: relative;
  padding: 76px 0 82px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 16% 20%, rgba(234,211,207,.72), transparent 29%),
    radial-gradient(circle at 84% 70%, rgba(231,238,233,.83), transparent 28%),
    linear-gradient(145deg, #fffaf7, #f7ece7);
}
.guest-hero-content { position: relative; z-index: 2; max-width: 850px; }
.guest-hero h1 { max-width: 820px; margin: 0 auto 18px; font-size: clamp(2.7rem, 7vw, 5rem); }
.guest-hero-content > p:not(.eyebrow) { max-width: 620px; margin: 0 auto 20px; color: var(--ink-soft); font-size: 1.06rem; }
.wedding-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: .84rem; }
.wedding-meta span { display: inline-flex; align-items: center; gap: 7px; }
.guest-hero .wedding-meta { justify-content: center; margin-bottom: 28px; }
.guest-content { padding: 0 0 90px; }
.guest-stats { position: relative; z-index: 3; margin-top: -34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.stat-card { min-height: 92px; padding: 19px 21px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(47,53,66,.08); border-radius: 17px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-sm); }
.stat-card .stat-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--rose); background: var(--rose-soft); }
.stat-card > div { display: flex; flex-direction: column; }
.stat-card strong { font-family: var(--serif); font-size: 1.45rem; line-height: 1; }
.stat-card span:last-child { margin-top: 5px; color: var(--ink-soft); font-size: .75rem; }
.stat-card.attention .stat-icon { color: var(--gold); background: var(--gold-soft); }
.stat-card.danger .stat-icon { color: var(--danger); background: var(--danger-soft); }
.wish-form-card { margin: 42px 0 68px; padding: 33px; }
.card-heading { margin-bottom: 28px; display: flex; align-items: flex-start; gap: 17px; }
.card-heading h2 { margin-bottom: 9px; font-size: 1.85rem; }
.card-heading p:last-child { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.heading-icon { width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 16px; color: var(--rose); background: var(--rose-soft); }
.section-block { margin-top: 64px; }
.section-title { margin-bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-title h2 { margin-bottom: 7px; }
.section-title p:last-child { margin: 0; color: var(--ink-soft); }
.filter-chips { margin-bottom: 23px; display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.filter-chips::-webkit-scrollbar { display: none; }
.chip { min-width: max-content; min-height: 39px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: rgba(255,255,255,.62); font-size: .8rem; font-weight: 700; }
.chip span { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; background: var(--cream); font-size: .68rem; }
.chip.active { color: white; border-color: var(--rose); background: var(--rose); }
.chip.active span { color: var(--rose); background: white; }
.song-list { display: flex; flex-direction: column; gap: 13px; }
.song-card { padding: 17px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 17px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.72); transition: transform .18s ease, box-shadow .18s ease; }
.song-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.song-cover { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: var(--rose); background: linear-gradient(145deg, var(--rose-soft), var(--blush)); }
.song-main { min-width: 0; }
.song-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.song-title-row h3 { margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .98rem; }
.song-title-row p { margin: 0; overflow: hidden; color: var(--ink-soft); text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.song-badges { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { min-height: 23px; padding: 2px 8px; display: inline-flex; align-items: center; border-radius: 999px; font-size: .63rem; font-weight: 800; letter-spacing: .02em; }
.badge-neutral { color: var(--ink-soft); background: #eef0f2; }
.badge-sage { color: #50675b; background: var(--sage-soft); }
.badge-rose { color: var(--rose-dark); background: var(--rose-soft); }
.badge-gold { color: #806132; background: var(--gold-soft); }
.badge-danger { color: var(--danger); background: var(--danger-soft); }
.badge-muted { color: #737780; background: #ececef; }
.song-card blockquote, .admin-song-card blockquote { margin: 10px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: .82rem; font-style: italic; }
.song-card blockquote small { font-family: var(--sans); font-style: normal; }
.wish-by { display: block; margin-top: 9px; color: var(--ink-soft); font-size: .7rem; }
.vote-button { min-width: 77px; min-height: 65px; padding: 8px 12px; display: grid; grid-template-columns: auto auto; align-content: center; justify-content: center; gap: 0 6px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink-soft); background: var(--paper-strong); }
.vote-button svg { grid-row: 1; }
.vote-button strong { grid-row: 1; font-size: .9rem; }
.vote-button span { grid-column: 1 / -1; margin-top: 2px; font-size: .62rem; font-weight: 750; }
.vote-button.voted { color: var(--rose); border-color: rgba(166,99,104,.25); background: var(--rose-soft); }
.vote-button:disabled { opacity: .6; cursor: not-allowed; }
.song-own { border-color: rgba(166,99,104,.2); background: #fffafa; }
.song-rejected { opacity: .65; }
.notice { min-height: 62px; padding: 16px 18px; display: flex; align-items: center; gap: 13px; border-radius: 15px; font-size: .85rem; }
.notice p { margin: 3px 0 0; color: var(--ink-soft); font-size: .77rem; }
.notice-rose { color: var(--rose-dark); border: 1px solid rgba(166,99,104,.15); background: var(--rose-soft); }
.notice-sage { color: #52675c; border: 1px solid rgba(114,135,123,.18); background: var(--sage-soft); }
.notice-gold { color: #795d32; border: 1px solid rgba(172,135,85,.18); background: var(--gold-soft); }
.notice .button { margin-left: auto; }
.empty-state { width: 100%; padding: 52px 25px; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink-soft); border: 1px dashed rgba(47,53,66,.16); border-radius: 17px; background: rgba(255,255,255,.4); }
.empty-state > span { width: 52px; height: 52px; margin-bottom: 15px; display: grid; place-items: center; border-radius: 16px; color: var(--rose); background: var(--rose-soft); }
.empty-state h3 { margin-bottom: 5px; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; }
.empty-state p { max-width: 420px; margin-bottom: 0; font-size: .84rem; }

/* Login */
.login-layout { min-height: calc(100vh - 77px); display: grid; grid-template-columns: 1.1fr .9fr; }
.login-visual { position: relative; padding: 70px max(45px, calc((100vw - var(--container)) / 2)); padding-right: 50px; display: grid; grid-template-columns: minmax(220px, .85fr) 1.15fr; align-items: center; gap: 50px; overflow: hidden; background: linear-gradient(145deg, var(--rose-soft), var(--cream)); }
.login-visual::after { content: ''; position: absolute; inset: auto -100px -160px auto; width: 410px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.42); }
.login-visual h1 { margin-bottom: 18px; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.login-visual p:last-child { max-width: 520px; color: var(--ink-soft); }
.login-art { position: relative; z-index: 2; min-height: 320px; display: grid; place-items: center; }
.login-art .vinyl { width: min(280px, 100%); }
.login-float { position: absolute; right: 0; bottom: 35px; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 23px; color: var(--rose); background: rgba(255,255,255,.88); box-shadow: var(--shadow-md); transform: rotate(8deg); }
.login-panel { padding: 50px; display: grid; place-items: center; background: var(--paper); }
.login-card { width: min(100%, 430px); padding: 38px; }
.login-card h2 { margin-bottom: 10px; font-size: 2rem; }
.login-card > p:not(.eyebrow) { margin-bottom: 25px; color: var(--ink-soft); font-size: .88rem; }
.login-card form { display: flex; flex-direction: column; gap: 17px; }
.login-help { display: block; margin-top: 18px; color: var(--ink-soft); text-align: center; font-size: .7rem; }

/* Admin */
.admin-layout { min-height: 100vh; background: #f7f4f1; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 35; width: 250px; padding: 25px 17px 19px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); background: rgba(255,253,251,.95); backdrop-filter: blur(20px); }
.admin-sidebar .brand { padding: 0 8px; }
.sidebar-wedding { margin: 27px 9px 20px; padding: 15px; border-radius: 14px; color: var(--rose-dark); background: var(--rose-soft); font-family: var(--serif); font-size: 1rem; }
.sidebar-wedding small { margin-top: 3px; display: block; color: var(--ink-soft); font-family: var(--sans); font-size: .67rem; }
.admin-sidebar nav, .sidebar-bottom { display: flex; flex-direction: column; gap: 4px; }
.admin-nav-item { width: 100%; min-height: 45px; padding: 0 12px; display: flex; align-items: center; gap: 11px; border-radius: 11px; color: var(--ink-soft); background: transparent; text-align: left; font-size: .82rem; font-weight: 680; }
.admin-nav-item:hover { color: var(--ink); background: var(--cream); }
.admin-nav-item.active { color: var(--rose-dark); background: var(--rose-soft); }
.admin-nav-item b { min-width: 21px; height: 21px; margin-left: auto; display: grid; place-items: center; border-radius: 999px; color: white; background: var(--rose); font-size: .65rem; }
.admin-main { min-height: 100vh; margin-left: 250px; }
.admin-topbar { position: sticky; top: 0; z-index: 25; min-height: 70px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(247,244,241,.9); backdrop-filter: blur(18px); }
.admin-topbar > .brand { display: none; }
.mobile-brand-button { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.admin-content { width: min(1280px, calc(100% - 50px)); margin: 0 auto; padding: 39px 0 80px; }
.dashboard-welcome, .content-heading { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.dashboard-welcome h1, .content-heading h1 { margin-bottom: 7px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.dashboard-welcome p:last-child, .content-heading p:last-child { margin: 0; color: var(--ink-soft); }
.dashboard-welcome .wedding-meta { justify-content: flex-end; }
.dashboard-stats { margin-bottom: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dashboard-stats .stat-card { background: white; }
.dashboard-columns { margin-top: 22px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 21px; }
.panel-card { padding: 25px; }
.panel-heading { margin-bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.panel-heading h2 { margin-bottom: 0; font-size: 1.5rem; }
.top-list { margin: 0; padding: 0; list-style: none; }
.top-list li { min-height: 61px; padding: 10px 0; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); }
.top-list li:last-child { border-bottom: 0; }
.rank { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: var(--rose); background: var(--rose-soft); font-family: var(--serif); font-weight: 700; }
.top-list li > div { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.top-list strong, .top-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-list strong { font-size: .84rem; }
.top-list small { color: var(--ink-soft); font-size: .7rem; }
.top-votes { display: inline-flex; align-items: center; gap: 5px; color: var(--rose); font-size: .78rem; font-weight: 750; }
.compact-form { display: flex; flex-direction: column; gap: 14px; }
.activity-panel { margin-top: 21px; }
.activity-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.activity-item { min-height: 51px; display: flex; align-items: center; gap: 11px; }
.activity-item > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: var(--sage); background: var(--sage-soft); }
.activity-item p { margin: 0; font-size: .78rem; }
.activity-item small { color: var(--ink-soft); font-size: .65rem; }
.heading-actions { display: flex; align-items: center; gap: 10px; }
.search-field { width: min(330px, 42vw); height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.search-field svg { color: var(--ink-soft); }
.search-field input { height: auto; padding: 0; border: 0; box-shadow: none; background: transparent; }
.admin-song-list { display: flex; flex-direction: column; gap: 12px; }
.admin-song-card { padding: 15px; display: grid; grid-template-columns: auto minmax(260px,1fr) minmax(300px,.65fr); align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 4px 15px rgba(47,53,66,.035); }
.admin-song-card.pending { border-left: 4px solid var(--gold); }
.admin-song-card.rejected { opacity: .62; }
.admin-song-card.played { opacity: .58; }
.admin-song-card.played h3 { text-decoration: line-through; }
.admin-song-main { min-width: 0; }
.admin-song-controls { display: grid; grid-template-columns: minmax(115px,1fr) minmax(130px,1fr) auto; align-items: end; gap: 9px; }
.moderation-buttons { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; }
.mini-field { display: flex; flex-direction: column; gap: 4px; }
.mini-field select { height: 39px; padding: 0 9px; font-size: .75rem; }
.control-row { display: flex; gap: 6px; }
.mobile-bottom-nav { display: none; }

/* Share */
.share-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 22px; }
.qr-card { padding: 34px; display: flex; flex-direction: column; align-items: center; text-align: center; background: linear-gradient(145deg, #fff, var(--rose-soft)); }
.qr-frame { position: relative; width: 252px; height: 252px; margin-bottom: 25px; display: grid; place-items: center; border: 16px solid white; border-radius: 23px; box-shadow: var(--shadow-sm); background: white; }
#guest-qrcode img, #guest-qrcode canvas { width: 220px !important; height: 220px !important; }
.qr-heart { position: absolute; inset: 50% auto auto 50%; width: 40px; height: 40px; display: grid; place-items: center; border: 6px solid white; border-radius: 50%; color: white; background: var(--rose); transform: translate(-50%,-50%); }
.qr-card h2 { margin-bottom: 4px; font-size: 1.8rem; }
.qr-card > p:last-child { margin: 0; color: var(--ink-soft); }
.share-card { padding: 34px; }
.share-card h2 { margin: 18px 0 9px; }
.share-card > p { margin-bottom: 25px; color: var(--ink-soft); }
.copy-field { display: flex; gap: 8px; }
.copy-field input { min-width: 0; }
.share-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.security-box { margin-top: 28px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 14px; background: var(--cream); }
.security-box > div { display: flex; align-items: center; gap: 11px; }
.security-box span { display: flex; flex-direction: column; }
.security-box strong { font-size: .78rem; }
.security-box small { color: var(--ink-soft); font-size: .68rem; }
.message-preview { margin-top: 22px; padding: 28px; }
.message-preview blockquote { margin: 0 0 18px; color: var(--ink-soft); font-family: var(--serif); font-size: 1.04rem; line-height: 1.65; }

/* Settings */
.settings-card { overflow: hidden; }
.settings-section { padding: 30px; display: grid; grid-template-columns: minmax(220px,.5fr) 1fr; gap: 45px; border-bottom: 1px solid var(--line); }
.settings-section h2 { margin-bottom: 8px; font-size: 1.45rem; }
.settings-section > div:first-child p { color: var(--ink-soft); font-size: .79rem; }
.settings-controls { display: flex; flex-direction: column; gap: 12px; }
.small-number { max-width: 180px; margin-bottom: 5px; }
.toggle-row { min-height: 67px; padding: 12px 14px; display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.68); cursor: pointer; }
.toggle-row > span { flex: 1; display: flex; flex-direction: column; }
.toggle-row strong { font-size: .81rem; }
.toggle-row small { color: var(--ink-soft); font-size: .68rem; }
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-row i { position: relative; width: 43px; height: 25px; flex: 0 0 auto; border-radius: 999px; background: #c7c9cc; transition: .2s ease; }
.toggle-row i::after { content: ''; position: absolute; width: 19px; height: 19px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 2px 7px rgba(0,0,0,.15); transition: .2s ease; }
.toggle-row input:checked + i { background: var(--sage); }
.toggle-row input:checked + i::after { transform: translateX(18px); }
.settings-footer { padding: 23px 30px; display: flex; justify-content: flex-end; background: rgba(244,233,225,.45); }

/* DJ mode */
.dj-layout { min-height: 100vh; color: #eef0f2; background: #20242b; }
.dj-header { position: sticky; top: 0; z-index: 40; min-height: 72px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(32,36,43,.94); backdrop-filter: blur(18px); }
.dj-header > div { display: flex; align-items: center; gap: 15px; }
.dj-header .brand-mark { border-color: #20242b; }
.dj-header .brand small, .dj-header .brand > span:last-child small { color: #a8adb6; }
.dj-mode { padding: 5px 9px; border-radius: 8px; color: #f0d4d5; background: rgba(166,99,104,.2); font-size: .62rem; font-weight: 850; letter-spacing: .12em; }
.dj-main { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 70px; }
.dj-welcome { margin-bottom: 27px; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.dj-welcome h1 { margin-bottom: 4px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.dj-welcome > div:first-child > p:last-child { margin: 0; color: #aeb3bc; }
.dj-stats { display: flex; align-items: center; gap: 9px; }
.dj-stats span { min-height: 54px; padding: 9px 14px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; color: #b8bdc5; background: rgba(255,255,255,.04); font-size: .65rem; }
.dj-stats strong { color: white; font-size: 1rem; }
.dj-stats .danger-stat { color: #e3b3b6; border-color: rgba(166,77,82,.28); background: rgba(166,77,82,.14); }
.dj-toolbar { margin-bottom: 17px; padding: 12px; display: grid; grid-template-columns: 1fr 210px auto; gap: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: rgba(255,255,255,.04); }
.dj-search { min-height: 48px; padding: 0 14px; display: flex; align-items: center; gap: 9px; border-radius: 11px; background: rgba(0,0,0,.18); }
.dj-search svg { color: #9298a2; }
.dj-search input, .dj-toolbar select { height: 48px; color: white; border-color: rgba(255,255,255,.09); background: rgba(0,0,0,.18); }
.dj-search input { height: auto; padding: 0; border: 0; box-shadow: none; }
.dj-toolbar select option { color: var(--ink); background: white; }
.segmented { padding: 4px; display: flex; align-items: center; border-radius: 11px; background: rgba(0,0,0,.2); }
.segmented button { min-height: 39px; padding: 0 13px; border-radius: 8px; color: #aeb3bc; background: transparent; font-size: .72rem; font-weight: 750; }
.segmented button.active { color: white; background: rgba(255,255,255,.1); }
.dj-song-list { display: flex; flex-direction: column; gap: 9px; }
.dj-song-card { min-height: 88px; padding: 14px 16px; display: grid; grid-template-columns: auto auto minmax(0,1fr) minmax(120px,.22fr); align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: #292e36; }
.dj-song-card.blocked { border-color: rgba(203,102,109,.32); background: #35292d; }
.dj-song-card.played { opacity: .46; }
.dj-song-card.played h3 { text-decoration: line-through; }
.dj-play-toggle { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; color: white; background: rgba(255,255,255,.04); }
.dj-play-toggle span { width: 9px; height: 9px; border-radius: 50%; background: #737984; }
.dj-song-card.played .dj-play-toggle { color: #1f2923; border-color: #8ca294; background: #8ca294; }
.dj-song-number { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; color: #e4c2c3; background: rgba(166,99,104,.18); }
.dj-song-card.blocked .dj-song-number { color: #ffb4b9; background: rgba(166,77,82,.22); }
.dj-song-info { min-width: 0; }
.dj-song-info h3 { margin-bottom: 2px; color: white; font-size: .95rem; }
.dj-song-info .song-title-row p { color: #aeb3bc; }
.dj-song-info .icon-button { color: #aeb3bc; border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.dj-note { display: block; margin-top: 8px; color: #c8cbd0; font-size: .68rem; }
.dj-guest { padding-left: 14px; display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.08); }
.dj-guest small { color: #8f959f; font-size: .62rem; }
.dj-guest strong { color: #d9dce0; font-size: .74rem; }
.dj-layout .empty-state { color: #aeb3bc; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); }
.dj-layout .empty-state h3 { color: white; }

/* Loading, errors, toast */
.loading-screen, .center-page { min-height: 100vh; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 35%, var(--rose-soft), var(--paper) 48%); }
.loading-screen { align-content: center; gap: 20px; }
.loading-logo { margin-bottom: 8px; }
.loader-orbit { position: relative; width: 46px; height: 46px; margin: 0 auto; border: 1px solid var(--blush); border-radius: 50%; }
.loader-orbit span { position: absolute; width: 11px; height: 11px; left: 50%; top: -5px; border-radius: 50%; background: var(--rose); transform-origin: 0 28px; animation: orbit 1s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.loading-screen p { color: var(--ink-soft); font-size: .8rem; }
.message-card { width: min(500px, calc(100% - 36px)); padding: 42px; }
.message-icon { width: 66px; height: 66px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 22px; color: var(--rose); background: var(--rose-soft); }
.message-card h1 { margin-bottom: 13px; font-size: 2.4rem; }
.message-card > p:not(.eyebrow) { margin-bottom: 25px; color: var(--ink-soft); }
.toast-region { position: fixed; z-index: 100; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 9px; pointer-events: none; }
.toast { min-width: 280px; max-width: 410px; min-height: 50px; padding: 13px 15px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: rgba(255,255,255,.96); box-shadow: var(--shadow-md); opacity: 0; transform: translateY(12px); transition: .22s ease; font-size: .8rem; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success svg { color: var(--sage); }
.toast-error { color: var(--danger); border-color: rgba(166,77,82,.18); background: #fff8f8; }

/* Responsive */
@media (max-width: 1100px) {
  .landing-hero { gap: 35px; }
  .vinyl-card { padding: 31px; }
  .vinyl { width: 155px; }
  .login-visual { grid-template-columns: 1fr; gap: 20px; }
  .login-art { min-height: 220px; }
  .login-art .vinyl { width: 205px; }
  .dashboard-stats { grid-template-columns: repeat(2,1fr); }
  .admin-song-card { grid-template-columns: auto minmax(220px,1fr); }
  .admin-song-controls { grid-column: 2; grid-template-columns: 1fr 1fr auto; }
  .share-grid { grid-template-columns: .9fr 1.1fr; }
}

@media (max-width: 880px) {
  .landing-hero { min-height: auto; padding-top: 65px; padding-bottom: 80px; grid-template-columns: 1fr; text-align: center; }
  .landing-copy { margin: 0 auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { min-height: 350px; }
  .vinyl-card { width: min(520px, 92%); }
  .feature-grid { grid-template-columns: 1fr; }
  .login-layout { grid-template-columns: 1fr; }
  .login-visual { padding: 55px 35px; grid-template-columns: .6fr 1fr; }
  .login-panel { padding: 40px 22px; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .admin-topbar > .brand, .mobile-brand-button { display: inline-flex; }
  .admin-topbar { padding: 0 20px; }
  .admin-content { width: min(100% - 32px, 900px); padding-bottom: 100px; }
  .mobile-bottom-nav { position: fixed; inset: auto 0 0; z-index: 45; min-height: 69px; padding: 7px max(9px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(9px, env(safe-area-inset-left)); display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--line); background: rgba(255,253,251,.96); backdrop-filter: blur(18px); }
  .mobile-bottom-nav .admin-nav-item { min-height: 54px; padding: 5px 2px; flex-direction: column; justify-content: center; gap: 3px; text-align: center; font-size: .58rem; }
  .mobile-bottom-nav .admin-nav-item b { position: absolute; margin: -27px 0 0 24px; }
  .dashboard-columns, .share-grid { grid-template-columns: 1fr; }
  .settings-section { grid-template-columns: 1fr; gap: 20px; }
  .dj-header { padding: 0 18px; }
  .dj-header .button span { display: none; }
  .dj-welcome { align-items: flex-start; flex-direction: column; }
  .dj-toolbar { grid-template-columns: 1fr 180px; }
  .segmented { grid-column: 1 / -1; }
  .segmented button { flex: 1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { width: calc(100% - 26px); min-height: 66px; }
  .brand strong { font-size: 1.03rem; }
  .brand small { font-size: .55rem; }
  .header-actions .button svg + span { display: none; }
  .site-header .button { padding: 0 12px; }
  .landing-hero { padding: 54px 22px 65px; }
  .landing-copy h1 { font-size: 3rem; }
  .hero-lead { font-size: .96rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-row { gap: 9px 14px; }
  .hero-visual { min-height: 290px; }
  .vinyl-card { min-height: 245px; padding: 24px; gap: 21px; border-radius: 25px; }
  .vinyl { width: 120px; }
  .now-playing strong { font-size: 1.25rem; }
  .sound-wave { margin-top: 18px; }
  .floating-note { width: 48px; height: 48px; border-radius: 15px; }
  .note-one { right: 0; }
  .feature-section { padding: 65px 0 75px; }
  .site-footer .container { flex-direction: column; text-align: center; gap: 5px; }
  .guest-hero { padding: 58px 0 68px; }
  .guest-hero h1 { font-size: 3rem; }
  .guest-hero-content > p:not(.eyebrow) { font-size: .94rem; }
  .wedding-meta { justify-content: flex-start; }
  .guest-hero .wedding-meta { flex-direction: column; gap: 5px; }
  .guest-stats { grid-template-columns: 1fr; margin-top: -25px; }
  .stat-card { min-height: 73px; }
  .wish-form-card { margin: 28px 0 55px; padding: 22px; }
  .card-heading { gap: 12px; }
  .heading-icon { width: 43px; height: 43px; border-radius: 13px; }
  .card-heading h2 { font-size: 1.55rem; }
  .form-grid, .form-row { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { width: 100%; }
  .section-title { align-items: flex-start; flex-direction: column; }
  .song-card { grid-template-columns: auto minmax(0,1fr); align-items: flex-start; gap: 12px; }
  .song-cover { width: 46px; height: 46px; border-radius: 13px; }
  .vote-button { grid-column: 1 / -1; width: 100%; min-height: 44px; display: flex; align-items: center; gap: 7px; }
  .vote-button span { margin: 0; }
  .login-visual { padding: 45px 24px; grid-template-columns: 1fr; text-align: center; }
  .login-art { min-height: 165px; }
  .login-art .vinyl { width: 155px; }
  .login-float { right: calc(50% - 95px); bottom: 10px; width: 55px; height: 55px; }
  .login-card { padding: 28px 22px; }
  .admin-topbar { min-height: 64px; padding: 0 14px; }
  .admin-topbar .brand > span:last-child { display: none; }
  .admin-topbar .header-actions .button { display: none; }
  .admin-content { width: calc(100% - 24px); padding-top: 24px; }
  .dashboard-welcome, .content-heading { align-items: flex-start; flex-direction: column; }
  .dashboard-welcome .wedding-meta { justify-content: flex-start; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; gap: 9px; }
  .dashboard-stats .stat-card { min-height: 87px; padding: 14px; }
  .dashboard-stats .stat-icon { width: 36px; height: 36px; }
  .notice { align-items: flex-start; flex-wrap: wrap; }
  .notice .button { width: 100%; margin: 2px 0 0; }
  .panel-card { padding: 20px; }
  .activity-list { grid-template-columns: 1fr; }
  .heading-actions, .search-field { width: 100%; }
  .admin-song-card { padding: 13px; grid-template-columns: auto minmax(0,1fr); align-items: flex-start; }
  .admin-song-controls { grid-column: 1 / -1; grid-template-columns: 1fr 1fr auto; }
  .moderation-buttons { justify-content: stretch; }
  .moderation-buttons .button { flex: 1; }
  .qr-card, .share-card { padding: 25px 20px; }
  .qr-frame { width: 232px; height: 232px; border-width: 12px; }
  #guest-qrcode img, #guest-qrcode canvas { width: 208px !important; height: 208px !important; }
  .copy-field { flex-direction: column; }
  .share-actions .button { width: 100%; }
  .security-box { align-items: flex-start; flex-direction: column; }
  .settings-section { padding: 23px 20px; }
  .settings-footer { padding: 18px 20px; }
  .settings-footer .button { width: 100%; }
  .toast-region { right: 12px; bottom: 82px; left: 12px; }
  .toast { min-width: 0; max-width: none; width: 100%; }
  .dj-header { min-height: 65px; padding: 0 12px; }
  .dj-header .brand > span:last-child, .dj-mode { display: none; }
  .dj-header .button { width: 39px; padding: 0; }
  .dj-main { width: calc(100% - 22px); padding-top: 23px; }
  .dj-welcome h1 { font-size: 2.5rem; }
  .dj-stats { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); }
  .dj-stats span { padding: 8px; }
  .dj-toolbar { grid-template-columns: 1fr; }
  .dj-toolbar select, .segmented { grid-column: auto; }
  .dj-song-card { grid-template-columns: auto auto minmax(0,1fr); padding: 12px; }
  .dj-guest { grid-column: 3; padding: 0; border: 0; }
  .dj-song-number { width: 40px; height: 40px; }
}

@media (max-width: 430px) {
  .landing-copy h1, .guest-hero h1 { font-size: 2.55rem; }
  .vinyl-card { padding: 20px; }
  .vinyl { width: 104px; }
  .now-playing small { font-size: .55rem; }
  .now-playing strong { font-size: 1.08rem; }
  .floating-note { display: none; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .dashboard-stats .stat-card { min-height: 70px; }
  .admin-song-controls { grid-template-columns: 1fr 1fr; }
  .control-row { grid-column: 1 / -1; justify-content: flex-end; }
  .dj-stats { grid-template-columns: 1fr; }
  .dj-stats span { min-height: 44px; flex-direction: row; align-items: center; justify-content: space-between; }
}

@media print {
  body { color: #000; background: #fff; }
  .site-header, .admin-sidebar, .admin-topbar, .mobile-bottom-nav, .dj-header, .button, .icon-button, .admin-song-controls, .dj-toolbar, .toast-region, .message-preview, .security-box { display: none !important; }
  .admin-main { margin: 0; }
  .admin-content, .dj-main { width: 100%; padding: 0; }
  .card, .admin-song-card, .dj-song-card { box-shadow: none; break-inside: avoid; }
  .dj-layout { color: #000; background: #fff; }
  .dj-song-card { color: #000; border-color: #bbb; background: #fff; }
  .dj-song-info h3, .dj-guest strong { color: #000; }
  .dj-song-info .song-title-row p, .dj-guest small { color: #555; }
  .share-grid { display: block; }
  .share-card { display: none; }
  .qr-card { width: 100%; min-height: 90vh; display: flex; justify-content: center; border: 0; background: white; }
}

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