/* Free Advent With Friends — Kitchen-Wall Paper Advent Calendar Theme */
:root {
  --bg: #FBF7F1;
  --surface: #FFFFFF;
  --surface-soft: #F3ECE1;
  --ink: #2A211C;
  --muted: #6C5D53;
  --line: rgba(42, 33, 28, 0.14);
  --line-strong: rgba(42, 33, 28, 0.26);
  --accent: #8C2F26;
  --accent-hover: #72231B;
  --accent-soft: rgba(140, 47, 38, 0.08);
  --pine: #1F5C4A;
  --pine-soft: rgba(31, 92, 74, 0.10);
  --err: #A1261E;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--surface-soft);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 100;
  font-size: var(--fs-sm);
  text-decoration: none;
}
.skip:focus { left: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--accent); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  border: 1px dashed rgba(251, 247, 241, 0.45);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); }

/* Typography */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px;
}
h1 { font-size: clamp(34px, 4.5vw, 48px); font-weight: 700; }
h2 { font-size: clamp(24px, 3vw, 31px); }
h3 { font-size: 19px; margin-top: 24px; margin-bottom: 8px; }
p { margin: 0 0 14px; }

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.lede {
  font-size: var(--fs-lg);
  color: var(--muted);
  line-height: 1.6;
  max-width: 56ch;
}

/* Hero & Builder Card */
.hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: start;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.hero-points li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.builder-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 28px rgba(42, 33, 28, 0.06);
}
.builder-card h2 {
  font-size: 24px;
  margin-bottom: 6px;
}
.card-note {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: 20px;
}

/* Forms & Buttons */
.builder, [data-gf-comment-form] {
  display: grid;
  gap: 16px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
label {
  display: grid;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
}
input[type="text"],
input[type="date"],
textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
input[type="text"]:focus,
input[type="date"]:focus,
textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.55;
}
.hint {
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--muted);
}
.counter {
  margin: -4px 0 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted);
}
.counter.full { color: var(--pine); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--bg);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--surface-soft);
  border-color: var(--ink);
  color: var(--ink);
}
.btn-small {
  padding: 8px 14px;
  font-size: var(--fs-sm);
}

.form-msg {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--pine);
  min-height: 1.2em;
}
.form-msg.err { color: var(--err); }

/* Builder Result Box */
.result {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--pine-soft);
  border: 1px solid rgba(31, 92, 74, 0.28);
}
.result[hidden] { display: none; }
.result-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pine);
  margin-bottom: 6px;
}
.result output {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--fs-xs);
  word-break: break-all;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
  color: var(--ink);
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

/* Sections */
.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  margin-bottom: 30px;
}
.section-note {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: 20px;
}

/* 3-Step Paper Cards */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.step {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: none; }
.step-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  line-height: 1;
}
.step h3 { margin-top: 0; font-size: 19px; }
.step p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 0; }

/* Split Editorial Layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 44px;
  align-items: start;
}
.split-head p {
  color: var(--muted);
  font-size: 15px;
}
.split-body > h3:first-child { margin-top: 0; }
.split-body p { color: var(--ink); }

.prompt-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.prompt-list li {
  background: var(--surface);
  padding: 14px 16px;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.prompt-list li strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 3px;
}

/* FAQ Accordion */
.faq h2 { margin-bottom: 22px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 12px 0 2px;
  color: var(--muted);
  max-width: 68ch;
  font-size: 15px;
}

/* Engage Bar (Likes & Share) */
.engage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.count {
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* Comments */
.comments-block {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
[data-gf-comment-form] {
  max-width: 600px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 28px;
}
[data-gf-comment-form] textarea { min-height: 96px; }
[data-gf-comments] {
  max-width: 680px;
  display: grid;
  gap: 14px;
}
.comment {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.comment-reply {
  margin-top: 10px;
  margin-left: 20px;
  background: var(--bg);
}
.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: 6px;
}
.comment-head strong { color: var(--ink); font-size: var(--fs-sm); }
[data-gf-c-owner] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
}
[data-gf-c-owner]:empty, [data-gf-c-owner][hidden] { display: none; }
.comment-actions { margin: 8px 0 0; }
.comment-actions button {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
}
.comment-actions button:hover { text-decoration: underline; }

/* 24-Door Advent Calendar Viewer (/c) */
.cal {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 28px rgba(42, 33, 28, 0.05);
}
.cal-head {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cal-head[hidden] { display: none; }
.cal-meta {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.doors-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.door {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  position: relative;
  user-select: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}
.door::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(42, 33, 28, 0.14);
  border-radius: 3px;
  pointer-events: none;
}
.door.is-open {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  cursor: pointer;
}
.door.is-open::after { border-color: rgba(251, 247, 241, 0.35); }
.door.is-open:hover,
.door.is-open:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(140, 47, 38, 0.22);
  outline: none;
}
.door.is-seen {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--bg);
}
.door.is-locked {
  background: var(--surface-soft);
  color: rgba(42, 33, 28, 0.34);
  border-color: var(--line);
  cursor: default;
}
.door-readout {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.readout-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}
.door-readout p:last-child {
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}

/* Legal Pages */
.legal-page {
  padding: 56px 0 64px;
}
.legal-page .wrap {
  max-width: 720px;
}
.legal-page h2 {
  font-size: 22px;
  margin-top: 32px;
}
.legal-page ul, .legal-page ol {
  padding-left: 20px;
  margin: 0 0 16px;
}
.legal-page li { margin-bottom: 6px; }

/* Footer */
.site-footer {
  background: var(--surface-soft);
  padding: 44px 0 28px;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(0, 0.8fr));
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}
.footer-note { max-width: 38ch; margin-bottom: 0; }
.footer-h {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 10px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  color: var(--muted);
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent); }
.footer-base {
  padding-top: 20px;
  font-size: var(--fs-xs);
}
.footer-base p { margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .split,
  .steps,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .step:last-child { border-bottom: none; }
  .prompt-list { grid-template-columns: 1fr; }
}

/* 微调：手机上标题不抢、表单主按钮撑满、4列日历纸格 */
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 36px 0 34px; }
  .section, .comments-block { padding: 40px 0; }
  .builder-card, .cal { padding: 20px; }
  .field-row { grid-template-columns: 1fr; }
  .doors-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .door { font-size: 20px; }
  h1 { font-size: 31px; }
  .hero .btn, .builder-card .btn { width: 100%; }
  .result-actions .btn { width: auto; flex: 1 1 auto; }
  .hero-points li { font-size: var(--fs-xs); }
}


/* === Phase 1 + 2 Interactive Upgrades === */
.field-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

/* 3-Door Hero Demo */
.hero-demo {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  max-width: 440px;
}
.demo-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.demo-doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.demo-door {
  height: 54px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.demo-door.is-open {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.demo-door.is-open.is-active {
  background: var(--pine);
  border-color: var(--pine);
  box-shadow: 0 0 0 3px var(--pine-soft);
}
.demo-door.is-locked {
  background: var(--surface-soft);
  color: rgba(42, 33, 28, 0.35);
  border-color: var(--line);
  cursor: default;
}
.demo-readout {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.demo-text {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink);
  margin: 0;
}

/* Theme Picker & Template Chips */
.theme-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.theme-opt {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.theme-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.theme-opt span {
  display: inline-block;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted);
  transition: all 0.14s ease;
}
.theme-opt input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.tpl-bar {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.tpl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.builder-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--accent-hover); }

.door-preview {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px dashed var(--line-strong);
}
.door-preview[hidden] { display: none; }
.preview-text { font-family: var(--font-serif); font-size: 17px; margin: 0 0 8px; }
.preview-ans { font-size: var(--fs-xs); color: var(--pine); margin: 0; font-weight: 600; }
.poll-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.poll-pill {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.mine-box {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.mine-box[hidden] { display: none; }
.mine-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.mine-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: var(--fs-sm);
}

/* Viewer Header, Active Door & Pop Animation */
.cal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cal-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.door.is-active {
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink);
  transform: translateY(-2px);
}
@keyframes doorPop {
  from { opacity: 0.35; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.door-readout.is-pop {
  animation: doorPop 0.22s ease;
}
.readout-main {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
}

/* Scratch / Tap-to-Reveal Card */
.reveal-card {
  margin-top: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}
.reveal-card:hover { background: rgba(140, 47, 38, 0.14); }
.reveal-card.is-revealed {
  border-style: solid;
  border-color: var(--pine);
  background: var(--pine-soft);
  color: var(--pine);
  font-family: var(--font-serif);
  font-size: 18px;
  cursor: default;
}

/* Live Friend Poll */
.poll-box {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.poll-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.poll-btn:hover { border-color: var(--accent); }
.poll-btn.is-picked { border-color: var(--pine); }
.poll-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--pine-soft);
  transition: width 0.28s ease;
  pointer-events: none;
}
.poll-label, .poll-stat { position: relative; z-index: 1; }
.poll-stat { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }

/* Media Link Card (Spotify / YouTube) */
.media-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  color: #FFFFFF;
}
.media-spotify { background: #1DB954; }
.media-spotify:hover { background: #179A45; color: #FFFFFF; }
.media-youtube { background: #CC181E; }
.media-youtube:hover { background: #A81217; color: #FFFFFF; }

/* Door Reactions & Group Reply */
.door-engage {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.door-engage[hidden] { display: none; }
.react-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.react-btn {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-xs);
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.12s ease, background-color 0.12s ease;
}
.react-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.react-btn.is-picked {
  border-color: var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
}

.cal-own {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.cal-own[hidden] { display: none; }

/* Calendar Skins */
.cal.theme-pine-felt {
  background: #173C31;
  border-color: #2A5E4E;
  color: #FBF7F1;
}
.cal.theme-pine-felt .cal-head { border-bottom-color: rgba(251, 247, 241, 0.18); }
.cal.theme-pine-felt .cal-meta { color: #FBF7F1; }
.cal.theme-pine-felt .btn-ghost {
  color: #FBF7F1;
  border-color: rgba(251, 247, 241, 0.35);
}
.cal.theme-pine-felt .btn-ghost:hover {
  background: rgba(251, 247, 241, 0.12);
  color: #FBF7F1;
}
.cal.theme-pine-felt .door.is-open {
  background: #C99A49;
  border-color: #C99A49;
  color: #173C31;
}
.cal.theme-pine-felt .door.is-seen {
  background: #2B6B57;
  border-color: #468C76;
  color: #FBF7F1;
}
.cal.theme-pine-felt .door.is-locked {
  background: rgba(251, 247, 241, 0.08);
  border-color: rgba(251, 247, 241, 0.15);
  color: rgba(251, 247, 241, 0.36);
}
.cal.theme-pine-felt .door-readout {
  background: #FBF7F1;
  color: #2A211C;
  border-left-color: #C99A49;
}

.cal.theme-polaroid-cream {
  background: #FFFFFF;
  border: 1px solid rgba(42, 33, 28, 0.16);
  box-shadow: 0 18px 40px rgba(42, 33, 28, 0.10);
  padding: 32px 28px 44px;
}
.cal.theme-polaroid-cream .door {
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(42, 33, 28, 0.08);
}
.cal.theme-polaroid-cream .door.is-open {
  background: #2A211C;
  border-color: #2A211C;
  color: #FBF7F1;
}
.cal.theme-polaroid-cream .door.is-seen {
  background: #8C2F26;
  border-color: #8C2F26;
}
