:root {
  color-scheme: light;
  --page-bg: #f4efe4;
  --page-bg-deep: #efe5d2;
  --page-ink: #111111;
  --muted: #6c6a67;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --chip-bg: #f1f1f0;
  --chip-ink: #3c3a37;
  --accent: #f6c748;
  --accent-deep: #efb11e;
  --danger: #ff7d6f;
  --success: #8ed59a;
  --shadow-lg: 0 30px 90px rgba(36, 28, 12, 0.18);
  --shadow-md: 0 14px 36px rgba(19, 17, 10, 0.1);
  --shadow-sm: 0 8px 18px rgba(0, 0, 0, 0.06);
  --ring: rgba(246, 199, 72, 0.42);
  --device-width: min(100vw - 28px, 428px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 220, 123, 0.35), transparent 34%),
    linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-deep) 100%);
  color: var(--page-ink);
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

.background-glow {
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.65;
}

.background-glow--left {
  top: -12rem;
  left: -16rem;
  background:
    radial-gradient(circle, rgba(255, 214, 96, 0.82) 0%, rgba(255, 214, 96, 0) 68%);
}

.background-glow--right {
  right: -14rem;
  bottom: -14rem;
  background:
    radial-gradient(circle, rgba(241, 167, 122, 0.4) 0%, rgba(241, 167, 122, 0) 66%);
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 14px;
}

.vault-screen {
  width: min(100%, 460px);
  padding: 0;
}

.vault-screen__panel {
  position: relative;
  overflow: hidden;
  padding: 34px 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 245, 236, 0.98)),
    #ffffff;
  box-shadow: var(--shadow-lg);
}

.vault-screen__panel::before {
  content: "";
  position: absolute;
  inset: -28% auto auto -20%;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 214, 96, 0.28), rgba(255, 214, 96, 0));
  pointer-events: none;
}

.vault-screen__panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -22% auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(241, 167, 122, 0.2), rgba(241, 167, 122, 0));
  pointer-events: none;
}

.vault-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  margin: 0 auto 26px;
}

.vault-mark__ring {
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 242, 224, 0.94));
  box-shadow:
    inset 0 0 0 16px rgba(246, 199, 72, 0.18),
    inset 0 0 0 1px rgba(233, 187, 58, 0.18),
    0 24px 50px rgba(35, 27, 10, 0.12);
}

.vault-mark__ring--inner {
  width: 116px;
  height: 116px;
  box-shadow:
    inset 0 0 0 12px rgba(246, 199, 72, 0.24),
    inset 0 0 0 1px rgba(233, 187, 58, 0.16);
}

.vault-mark__lock {
  position: relative;
  width: 46px;
  height: 54px;
}

.vault-mark__shackle {
  position: absolute;
  top: -18px;
  left: 8px;
  width: 30px;
  height: 24px;
  border: 6px solid #1f3b77;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.vault-mark__body {
  position: absolute;
  inset: 10px 0 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #2c4c94, #1e3567);
  box-shadow: 0 12px 18px rgba(15, 28, 55, 0.2);
}

.vault-mark__keyhole {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 10px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(219, 229, 247, 0.96));
}

.vault-mark__keyhole::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.vault-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.vault-copy__eyebrow {
  margin: 0;
  color: #936300;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vault-copy__title {
  margin: 10px 0 6px;
  color: rgba(17, 17, 17, 0.92);
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.vault-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.vault-form__label {
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vault-form__field-row {
  display: grid;
  gap: 12px;
}

.vault-form__input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(28, 47, 89, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  color: var(--page-ink);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.vault-form__input::placeholder {
  color: rgba(17, 17, 17, 0.34);
}

.vault-form__input:focus {
  outline: 0;
  border-color: rgba(36, 81, 175, 0.35);
  box-shadow:
    0 0 0 4px rgba(36, 81, 175, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.vault-form__button {
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #2b4d95, #1f386e);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 14px 24px rgba(27, 49, 95, 0.2);
}

.vault-form__status {
  min-height: 1.2em;
  margin: 0;
  color: #b03827;
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 160ms ease;
}

.vault-form__status.is-visible {
  opacity: 1;
}

.swipe-stage {
  width: var(--device-width);
}

.swipe-stage__frame {
  position: relative;
  width: 100%;
}

.swipe-stage__frame.is-animating-connect .swipe-stage__halo,
.swipe-stage__frame.is-animating-pass .swipe-stage__halo {
  animation: halo-pulse 280ms ease-out;
}

.swipe-stage__frame.is-contact-entering .contact-shell {
  animation: contact-card-enter 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.swipe-stage__frame.is-pass-entering .pass-shell {
  animation: pass-card-enter 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.swipe-stage__halo {
  position: absolute;
  inset: 28px -10px -10px;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(255, 214, 96, 0.3), rgba(255, 214, 96, 0.06)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.3));
  transform: scale(0.98);
  filter: blur(14px);
}

.swipe-badge {
  position: absolute;
  top: 30px;
  z-index: 3;
  padding: 10px 18px;
  border: 2px solid currentColor;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  opacity: 0;
  transform: rotate(-10deg) scale(0.94);
  transition: opacity 180ms ease, transform 180ms ease;
  text-transform: uppercase;
}

.swipe-badge--left {
  left: 22px;
  color: var(--danger);
}

.swipe-badge--right {
  right: 22px;
  color: #2f9d63;
  transform: rotate(10deg) scale(0.94);
}

.swipe-hint {
  position: absolute;
  left: 50%;
  top: 88px;
  z-index: 4;
  width: min(258px, calc(100% - 44px));
  padding: 13px 16px 14px;
  border: 1px solid rgba(255, 219, 102, 0.95);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 226, 132, 0.97), rgba(246, 199, 72, 0.94));
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 42px rgba(104, 74, 6, 0.24),
    0 10px 18px rgba(154, 111, 9, 0.2),
    inset 0 1px 0 rgba(255, 246, 206, 0.78);
  text-align: center;
  pointer-events: none;
  opacity: 1;
  transform: translateX(-50%);
  animation: swipe-hint-enter 340ms cubic-bezier(0.16, 1, 0.3, 1);
}

.swipe-hint.is-dismissing {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px) scale(0.98);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.swipe-hint__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.swipe-hint__copy {
  min-width: 0;
}

.swipe-hint__arrow {
  color: rgba(71, 52, 3, 0.66);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.swipe-hint__arrow--left {
  margin-left: 2px;
}

.swipe-hint__arrow--right {
  margin-right: 2px;
}

.swipe-hint__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.swipe-hint__arrow path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.swipe-hint__title,
.swipe-hint__text {
  margin: 0;
}

.swipe-hint__title {
  color: #2f2200;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.swipe-hint__text {
  margin-top: 3px;
  color: rgba(58, 42, 3, 0.78);
  font-size: 0.86rem;
  line-height: 1.35;
}

.profile-shell {
  --drag-x: 0px;
  --drag-y: 0px;
  --card-opacity: 1;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: min(92svh, 900px);
  max-height: 900px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 248, 242, 0.98)),
    var(--surface-strong);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  opacity: var(--card-opacity);
  transform:
    translate3d(var(--drag-x), var(--drag-y), 0)
    rotate(calc(var(--drag-x) * 0.04deg));
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.24, 1),
    opacity 220ms ease;
  will-change: transform;
}

.profile-shell.is-dragging {
  transition: none;
  cursor: grabbing;
}

@media (hover: hover) {
  .profile-shell {
    cursor: grab;
  }
}

.profile-topbar {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.profile-topbar {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  min-height: calc(72px + env(safe-area-inset-top, 0px));
  padding: calc(8px + env(safe-area-inset-top, 0px)) 6px 6px;
}

.profile-topbar__title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.topbar-link {
  justify-self: end;
  margin-right: 10px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
}

.icon-button__close {
  position: relative;
  width: 18px;
  height: 18px;
}

.icon-button__close::before,
.icon-button__close::after {
  content: "";
  position: absolute;
  inset: 8px -1px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.icon-button__close::before {
  transform: rotate(45deg);
}

.icon-button__close::after {
  transform: rotate(-45deg);
}

.profile-scroll {
  overflow-y: auto;
  padding: 0 14px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.18) transparent;
  touch-action: pan-y;
}

.profile-scroll::-webkit-scrollbar {
  width: 8px;
}

.profile-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.15);
}

.profile-stack {
  display: grid;
  gap: 16px;
  padding: 0 0 18px;
}

.card,
.photo-card {
  background: var(--surface-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.hero-card {
  position: relative;
  min-height: clamp(420px, 66vh, 560px);
  margin-top: 6px;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.08) 62%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}

.photo-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  touch-action: pan-y;
}

.photo-card--hero {
  aspect-ratio: 3 / 4.95;
}

.photo-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--photo-position, 50% 50%);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.hero-card__meta {
  position: absolute;
  inset: auto 18px 16px;
  z-index: 1;
  color: #ffffff;
}

.hero-card__name {
  margin: 0;
  font-size: clamp(1.85rem, 5.8vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-card__details {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.hero-card__detail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
}

.hero-card__detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.hero-card__detail-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-card__detail-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.card {
  padding: 20px;
}

.card__title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.card__eyebrow {
  margin: 0 0 8px;
  color: var(--page-ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.card__copy {
  margin: 0;
  color: var(--page-ink);
  font-size: 1rem;
  line-height: 1.5;
}

.meta-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 600;
}

.meta-row__icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(246, 199, 72, 0.18);
  color: #8b5d00;
  font-size: 0.88rem;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 9px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.chip__icon {
  font-size: 0.9rem;
}

.card--about .chip {
  background: #f2f1ef;
}

.card--spotify {
  padding-bottom: 18px;
}

.artist-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
}

.location-card__place {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  font-weight: 700;
}

.location-card__pin {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(246, 199, 72, 0.2);
  color: #8b5d00;
  font-size: 0.95rem;
}

.location-card__pill {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.artist-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px 0 0;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
  overflow: hidden;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.artist-pill:hover {
  background: #ebebe9;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.08);
  transform: translateY(-1px);
}

.artist-pill__avatar {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 999px;
  object-fit: cover;
  background: #dcd9d2;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.artist-pill__avatar--fallback {
  display: grid;
  place-items: center;
}

.contact-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 242, 233, 0.98)),
    var(--surface-strong);
}

.contact-shell .profile-topbar {
  z-index: 3;
}

.confetti-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.confetti-piece {
  position: absolute;
  top: -12%;
  left: var(--x);
  width: var(--piece-width);
  height: var(--piece-height);
  border-radius: var(--piece-radius);
  background: var(--piece-color);
  opacity: 0;
  transform: translate3d(0, -18px, 0) rotate(0deg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: confetti-fall var(--duration) cubic-bezier(0.2, 0.8, 0.24, 1) var(--delay) forwards;
}

.contact-scroll {
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 3;
}

.contact-panel {
  display: grid;
  align-content: start;
  width: 100%;
  min-height: 100%;
  padding: 18px 4px 30px;
}

.contact-panel__eyebrow {
  margin: 0;
  color: #936300;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel__title {
  margin: 12px 0 10px;
  font-size: clamp(1.9rem, 5.5vw, 2.25rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.contact-panel__text {
  margin: 0 0 28px;
  max-width: 28ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.contact-methods {
  display: grid;
  gap: 14px;
}

.contact-method {
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(32, 42, 62, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 241, 0.96));
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.contact-method__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(43, 77, 149, 0.1), rgba(31, 56, 110, 0.14));
  color: #27498d;
}

.contact-method__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.contact-method__icon-fill {
  fill: currentColor;
  stroke: none;
}

.contact-method__label {
  color: rgba(17, 17, 17, 0.5);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-method__value {
  font-size: clamp(1.12rem, 3.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-method__meta {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.date-idea-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(32, 42, 62, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 234, 0.98));
  box-shadow: var(--shadow-sm);
}

.date-idea-panel__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(43, 77, 149, 0.1), rgba(31, 56, 110, 0.14));
  color: #27498d;
}

.date-idea-panel__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.date-idea-panel__icon-fill {
  fill: currentColor;
  stroke: none;
}

.date-idea-panel__button {
  justify-self: start;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(180deg, #2b4d95, #1f386e);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(27, 49, 95, 0.18);
}

.date-idea-output {
  min-height: 0;
}

.date-idea-output__result {
  display: grid;
  gap: 8px;
}

.date-idea-output__result.is-empty {
  gap: 0;
}

.date-idea-output__eyebrow {
  margin: 0;
  color: rgba(17, 17, 17, 0.48);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.date-idea-output__title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.date-idea-output__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.date-idea-output__link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin-top: 2px;
  color: #2449a0;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.date-idea-output__empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.pass-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(251, 241, 239, 0.98)),
    var(--surface-strong);
}

.pass-scroll {
  display: flex;
  align-items: stretch;
}

.pass-panel {
  display: grid;
  align-content: center;
  width: 100%;
  min-height: 100%;
  padding: 24px 4px 30px;
}

.pass-panel__eyebrow {
  margin: 0;
  color: #b25542;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pass-panel__title {
  margin: 12px 0 10px;
  font-size: clamp(1.95rem, 5.8vw, 2.35rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.pass-panel__text {
  margin: 0 0 22px;
  max-width: 26ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.pass-panel__progress {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 10px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(178, 85, 66, 0.13);
}

.pass-panel__progress-bar {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(214, 120, 101, 0.95), rgba(178, 85, 66, 0.95));
  transform-origin: left center;
  animation: pass-countdown 10s linear forwards;
}

.pass-panel__button {
  justify-self: start;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #222222, #141414);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

@keyframes halo-pulse {
  0% {
    transform: scale(0.98);
    opacity: 1;
  }

  55% {
    transform: scale(1.015);
    opacity: 0.95;
  }

  100% {
    transform: scale(0.98);
    opacity: 1;
  }
}

@keyframes swipe-hint-enter {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%);
  }
}

@keyframes contact-card-enter {
  0% {
    opacity: 0;
    transform: translate3d(42px, 0, 0) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -18px, 0) rotate(0deg) scale(0.92);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 720px, 0) rotate(var(--rot)) scale(1);
  }
}

@keyframes pass-card-enter {
  0% {
    opacity: 0;
    transform: translate3d(-42px, 0, 0) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes pass-countdown {
  0% {
    transform: scaleX(1);
  }

  100% {
    transform: scaleX(0);
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding: 0;
  }

  .vault-screen {
    width: 100%;
    padding: 14px;
  }

  .vault-screen__panel {
    padding: 30px 22px 24px;
    border-radius: 28px;
  }

  .vault-mark {
    width: 150px;
    height: 150px;
  }

  .vault-mark__ring {
    width: 150px;
    height: 150px;
  }

  .vault-mark__ring--inner {
    width: 104px;
    height: 104px;
  }

  .vault-copy__title {
    font-size: 1.1rem;
  }

  .vault-form__field-row {
    gap: 10px;
  }

  .swipe-stage {
    width: 100vw;
  }

  .swipe-stage__frame {
    padding: 0;
  }

  .swipe-stage__halo {
    inset: 18px 8px 0;
    border-radius: 30px;
  }

  .profile-shell {
    height: 100svh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .topbar-link {
    margin-right: 8px;
    font-size: 0.88rem;
  }

  .contact-panel {
    padding: 16px 2px 24px;
  }

  .contact-panel__title {
    font-size: 1.75rem;
  }

  .contact-panel__text {
    margin-bottom: 24px;
    font-size: 0.94rem;
  }

  .date-idea-panel {
    margin-top: 16px;
    padding: 16px 18px 18px;
  }

  .date-idea-output__title {
    font-size: 0.98rem;
  }

  .date-idea-output__text,
  .date-idea-output__empty {
    font-size: 0.88rem;
  }

  .pass-panel {
    padding: 16px 2px 24px;
  }

  .pass-panel__title {
    font-size: 1.8rem;
  }

  .pass-panel__text {
    font-size: 0.94rem;
  }

  .swipe-badge {
    top: 18px;
  }
}
