/* Tumbler — light, feminine, cream + rose. Matches The Fast Track Girl. */
:root {
  --bg: #FFF5EE;
  --bg-2: #FFF0F3;
  --card: #ffffff;
  --card-soft: #FFF0F3;
  --ink: #2B2B2B;
  --muted: #6B6B6B;
  --faint: #9A7A84;
  --line: #F3D7DF;
  --rose: #E8638B;
  --rose-hot: #f75c8a;
  --rose-soft: #FFE3EA;
  --rose-mid: #FFD6E8;
  --ok: #5AA97A;
  --warn: #E8638B;
  --bad: #C94B6A;
  --radius: 22px;
  --serif: "Playfair Display", "Iowan Old Style", Palatino, serif;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  padding:
    env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 480px at 50% -12%, #FFE3EA 0%, transparent 62%),
    linear-gradient(180deg, #FFF0F3 0%, var(--bg) 42%);
}

a { color: var(--rose); text-decoration: none; }

.wrap {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 28px 20px 88px;
}

.hero { padding: 22px 2px 6px; }

.mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 2.45rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.tag {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 400;
}

.rule {
  height: 1px;
  border: 0;
  margin: 22px 0 24px;
  background: linear-gradient(90deg, var(--rose), transparent 78%);
  opacity: 0.55;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  margin-bottom: 14px;
  box-shadow: 0 8px 28px rgba(232, 99, 139, 0.06);
}

.callout {
  background: linear-gradient(180deg, #FFF0F3 0%, #ffffff 100%);
  border-color: #FFD6E8;
}

.callout h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.lede { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

.callout ol {
  margin: 14px 0 4px 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}
.callout li { margin: 7px 0; }
.callout strong { color: var(--ink); font-weight: 600; }

.share-icon {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  color: var(--rose);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
  color: var(--muted);
  font-size: 0.94rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose-mid);
  flex: none;
}
.dot.on { background: var(--ok); box-shadow: 0 0 0 4px rgba(90, 169, 122, 0.18); }
.dot.off { background: var(--bad); box-shadow: 0 0 0 4px rgba(201, 75, 106, 0.12); }
.dot.warn { background: var(--rose); box-shadow: 0 0 0 4px rgba(232, 99, 139, 0.16); }

button, .btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--rose);
  color: #ffffff;
  font: 600 1rem var(--sans);
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: center;
}
button:hover, .btn:hover { background: var(--rose-hot); }
button:active, .btn:active { transform: scale(0.985); }
button[disabled] { opacity: 0.45; cursor: default; transform: none; }

h2.section {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 28px 4px 12px;
}

.drop-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  margin-bottom: 10px;
  color: inherit;
  box-shadow: 0 6px 20px rgba(232, 99, 139, 0.05);
}

.thumb, .drop-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--rose-soft);
}

.thumb.ph {
  display: grid;
  place-items: center;
  color: var(--rose);
  font-size: 1.4rem;
}

.brand-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
}

.drop-row h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 3px 0 4px;
  line-height: 1.25;
  color: var(--ink);
}

.meta { color: var(--muted); font-size: 0.8rem; }

.empty {
  color: var(--muted);
  padding: 28px 8px;
  text-align: center;
  line-height: 1.5;
}

.hero-img {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--rose-soft);
  border-bottom: 1px solid var(--line);
}

.drop-page .wrap { padding-top: 16px; }

.back {
  color: var(--muted);
  font-size: 0.88rem;
  display: inline-flex;
  margin-bottom: 16px;
}
.back:hover { color: var(--rose); }

.drop-title {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
  color: var(--ink);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 22px;
}

.fact {
  padding: 12px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.fact.span { grid-column: 1 / -1; }

.fact dt {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
  font-weight: 600;
}
.fact dd { font-size: 0.95rem; word-break: break-word; color: var(--ink); }

.note {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

[hidden] { display: none !important; }
