/* =========================================================
   Momoka (27) — Pink & Tender Mobile-First Personal Site
   ========================================================= */

:root {
  --bg-top: #fff5f9;
  --bg-mid: #ffeaf3;
  --bg-bot: #fff8fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --pink-100: #ffe4ef;
  --pink-200: #ffc6de;
  --pink-400: #ff7eb3;
  --pink-500: #ff5c9d;
  --pink-600: #e84387;
  --sky-accent: #8dd6ff;
  --line-green: #06c755;
  --line-green-dark: #05a948;
  --text-main: #4a313e;
  --text-sub: #7e5d6e;
  --text-muted: #a68595;
  --border-soft: rgba(255, 148, 194, 0.32);
  --shadow-pink: 0 12px 30px rgba(255, 118, 173, 0.16);
  --shadow-card: 0 8px 22px rgba(214, 118, 160, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 189, 220, 0.45), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(168, 224, 255, 0.35), transparent 40%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bot) 100%);
  overflow-x: clip;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font-family: inherit;
  color: inherit;
}

/* Floating Sakura Petals */
.petals-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.petal {
  position: absolute;
  top: -10vh;
  width: 14px;
  height: 10px;
  background: linear-gradient(135deg, #ffd1e6, #ff96c2);
  border-radius: 150% 0 150% 0;
  opacity: 0.55;
  animation: petalFall linear infinite;
}

@keyframes petalFall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.6;
  }
  88% {
    opacity: 0.5;
  }
  100% {
    transform: translate3d(var(--drift, 40px), 110vh, 0) rotate(320deg);
    opacity: 0;
  }
}

/* Mobile-First Centered Container */
.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 16px calc(96px + env(safe-area-inset-bottom));
}

/* Top Bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-card);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff62a3;
  box-shadow: 0 0 0 4px rgba(255, 98, 163, 0.22);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.75;
  }
}

.heart-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  backdrop-filter: blur(12px);
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--pink-600);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.18s ease;
}

.heart-badge:active {
  transform: scale(0.92);
}

.heart-icon {
  font-size: 1rem;
  line-height: 1;
}

/* HERO CARD */
.hero-card {
  background: var(--surface-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid rgba(255, 198, 222, 0.7);
  box-shadow: var(--shadow-pink);
}

.hero-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  background: #ffe6f0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.6s ease;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 240, 247, 0.05) 0%,
    rgba(74, 49, 62, 0) 48%,
    rgba(74, 41, 58, 0.74) 100%
  );
}

.hero-floating-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-overlay-text {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
}

.hero-kicker {
  margin: 0 0 2px;
  font-family: "Quicksand", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.hero-name {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-shadow: 0 2px 12px rgba(74, 34, 54, 0.45);
}

.hero-name-en {
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.88;
}

.hero-tagline {
  margin: 6px 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.96;
}

.hero-body {
  padding: 20px 18px 22px;
}

.hero-bio {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--text-main);
  text-align: center;
}

.hero-bio strong {
  color: var(--pink-600);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--pink-100);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255, 163, 204, 0.45);
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-actions .btn {
  padding: 10px 10px;
  font-size: 0.84rem;
  white-space: nowrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.96);
}

.btn-pink {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 92, 157, 0.32);
}

.btn-soft {
  background: var(--pink-100);
  color: var(--pink-600);
  border: 1px solid rgba(255, 126, 179, 0.35);
}

.btn-line {
  background: linear-gradient(135deg, #06d15a, var(--line-green));
  color: #fff;
  box-shadow: 0 10px 22px rgba(6, 199, 85, 0.32);
}

.btn-line-lg {
  width: 100%;
  min-height: 54px;
  font-size: 1rem;
  animation: gentlePulse 2.8s infinite;
}

@keyframes gentlePulse {
  0%, 100% {
    box-shadow: 0 10px 22px rgba(6, 199, 85, 0.32);
  }
  50% {
    box-shadow: 0 12px 28px rgba(6, 199, 85, 0.5);
  }
}

.line-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* SECTIONS */
.section {
  margin-top: 32px;
}

.section-head {
  text-align: center;
  margin-bottom: 16px;
}

.section-label {
  display: inline-block;
  font-family: "Quicksand", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--pink-500);
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  margin-bottom: 6px;
}

.section-title {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-main);
}

.section-sub {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--text-sub);
}

/* ALBUM / POLAROID GRID */
.album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.polaroid {
  min-width: 0;
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  padding: 8px 8px 10px;
  border: 1px solid rgba(255, 198, 222, 0.65);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.polaroid-wide {
  grid-column: span 2;
}

.polaroid-img-wrap {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #ffe9f2;
  cursor: pointer;
}

.polaroid-wide .polaroid-img-wrap {
  aspect-ratio: 16 / 10;
}

.polaroid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.35s ease;
}

.polaroid-img-wrap:hover img {
  transform: scale(1.03);
}

.photo-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 92, 157, 0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(255, 92, 157, 0.35);
}

.polaroid-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 4px 0;
}

.polaroid-caption {
  margin: 0;
  min-width: 0;
  flex: 1;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 148, 194, 0.45);
  background: #fff5f9;
  color: var(--pink-500);
  font-family: "Quicksand", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.like-btn.liked {
  background: var(--pink-500);
  border-color: var(--pink-500);
  color: #fff;
  transform: scale(1.06);
}

/* SECRET Q&A CARDS */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qa-card {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 198, 222, 0.7);
  background: var(--surface);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.qa-card[aria-expanded="true"] {
  background: #fff;
  border-color: var(--pink-400);
}

.qa-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qa-emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.qa-q {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.qa-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink-100);
  color: var(--pink-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.22s ease;
}

.qa-card[aria-expanded="true"] .qa-arrow {
  transform: rotate(45deg);
  background: var(--pink-500);
  color: #fff;
}

.qa-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.qa-card[aria-expanded="true"] .qa-answer {
  grid-template-rows: 1fr;
}

.qa-answer p {
  overflow: hidden;
  margin: 0;
  padding-top: 0;
  font-size: 0.86rem;
  color: var(--text-sub);
  transition: padding-top 0.25s ease;
}

.qa-card[aria-expanded="true"] .qa-answer p {
  padding-top: 10px;
}

/* RULES / FILTER SECTION */
.rules-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.tab-btn {
  min-height: 40px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: #fff;
  box-shadow: 0 5px 14px rgba(255, 92, 157, 0.28);
}

.rule-card {
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1.5px solid rgba(255, 198, 222, 0.7);
  box-shadow: var(--shadow-card);
}

.rule-lead {
  margin: 0 0 14px;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  color: var(--pink-600);
}

.rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rule-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffe3eb;
  color: #e0467a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.rule-mark.ok {
  background: #ffe8f3;
  color: var(--pink-500);
}

.rule-list strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
}

.rule-list p {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* INTERACTIVE QUIZ */
.quiz-box,
.quiz-result {
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  border: 1.5px solid rgba(255, 198, 222, 0.75);
  box-shadow: var(--shadow-pink);
  text-align: center;
}

.quiz-progress {
  width: 100%;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--pink-100);
  overflow: hidden;
  margin-bottom: 12px;
}

.quiz-progress-bar {
  height: 100%;
  width: 33.3%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--pink-400), var(--sky-accent));
  transition: width 0.3s ease;
}

.quiz-step {
  margin: 0 0 6px;
  font-family: "Quicksand", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink-500);
}

.quiz-question {
  margin: 0 0 16px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-opt-btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 178, 212, 0.65);
  background: #fff7fa;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: transform 0.14s ease, background 0.18s ease, border-color 0.18s ease;
}

.quiz-opt-btn:hover,
.quiz-opt-btn:active {
  background: var(--pink-100);
  border-color: var(--pink-400);
  transform: translateY(-1px);
}

.result-badge {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 8px;
}

.result-title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pink-600);
}

.result-desc {
  margin: 0 0 18px;
  font-size: 0.86rem;
  color: var(--text-sub);
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* FINAL LINE CTA CARD */
.line-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fff4f8 100%);
  border-radius: var(--radius-xl);
  padding: 24px 18px 22px;
  border: 2px dashed rgba(255, 148, 194, 0.65);
  box-shadow: var(--shadow-pink);
  text-align: center;
}

.line-photo-frame {
  width: 108px;
  height: 108px;
  margin: 0 auto 14px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--pink-400), var(--sky-accent));
  box-shadow: 0 8px 20px rgba(255, 126, 179, 0.28);
}

.line-photo-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  border: 3px solid #fff;
}

.line-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink-600);
  margin-bottom: 6px;
}

.line-title {
  margin: 0 0 10px;
  font-size: 1.38rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
}

.line-desc {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--text-sub);
}

.line-desc strong {
  color: var(--pink-600);
}

.line-id-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border-soft);
}

.line-id-label {
  font-family: "Quicksand", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}

.line-id-code {
  font-family: "Quicksand", monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.copy-btn {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--pink-100);
  color: var(--pink-600);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-btn:active {
  transform: scale(0.95);
}

.line-note {
  margin: 12px 0 0;
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* FOOTER */
.site-footer {
  text-align: center;
  margin-top: 26px;
  font-family: "Quicksand", sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* STICKY MOBILE BOTTOM BAR */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.sticky-bar.is-hidden {
  transform: translateY(120%);
  opacity: 0;
}

.sticky-inner {
  pointer-events: auto;
  max-width: 452px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 180, 214, 0.75);
  box-shadow: 0 10px 28px rgba(214, 92, 146, 0.22);
}

.sticky-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink-200);
}

.sticky-name {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
}

.sticky-sub {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-sub);
}

.sticky-cta {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--line-green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(45, 24, 36, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  max-width: 92vw;
  max-height: 84dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 74dvh;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.lightbox-caption {
  margin: 0;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav.prev {
  left: 10px;
}

.lightbox-nav.next {
  right: 10px;
}

/* FLOATING HEART BURST */
.float-heart {
  position: fixed;
  z-index: 90;
  pointer-events: none;
  font-size: 1.35rem;
  animation: floatUp 0.9s ease-out forwards;
}

@keyframes floatUp {
  0% {
    transform: translate(-50%, 0) scale(0.7);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -68px) scale(1.35);
    opacity: 0;
  }
}

/* TOAST */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(82px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px);
  z-index: 120;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(74, 49, 62, 0.92);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SMALL PHONES (iPhone SE / 320px-360px) */
@media (max-width: 360px) {
  .app-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-name {
    font-size: 1.72rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .polaroid-caption {
    font-size: 0.72rem;
  }

  .tab-btn {
    font-size: 0.76rem;
  }
}

/* DESKTOP VIEW: Elegant pink mobile showcase frame */
@media (min-width: 600px) {
  body {
    padding-top: 12px;
  }
}
