:root {
  color-scheme: light;
  --bg: #fdf8f5;
  --text: #4d2c19;
  --cta: #e68a6e;
  --cta-hover: #dc7f63;
  --accent: #bf6145;
  --gold: #d4af37;
  --economy: #68b790;
  --family: #c18ca3;
  --intimacy: #f6a98e;
  --line: rgba(77, 44, 25, 0.12);
  --shadow: 0 4px 12px rgba(77, 44, 25, 0.05);
  --shadow-strong: 0 18px 48px rgba(77, 44, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(230, 138, 110, 0.16), transparent 24%),
    radial-gradient(circle at left center, rgba(104, 183, 144, 0.1), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body,
p,
span,
label,
button,
select,
input {
  line-height: 1.5;
}

.page-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}

.landing-shell { max-width: 1160px; margin: 0 auto; padding: 24px 20px 64px; }
.landing-nav, .landing-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.landing-nav { padding-bottom: 50px; }
.landing-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 48px; align-items: center; padding: 36px 0 88px; }
.landing-hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); margin-bottom: 22px; max-width: 760px; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.landing-hero-card { padding: 32px; background: linear-gradient(145deg, rgba(246,169,142,.26), var(--bg)); }
.landing-hero-card h2 { font-size: 1.8rem; }
.landing-section { padding: 56px 0; }
.landing-section > h2 { font-size: clamp(2rem, 4vw, 3rem); }
.landing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.landing-feature { padding: 24px; border-radius: 20px; background: var(--bg); box-shadow: var(--shadow); }
.landing-feature span { color: var(--accent); font-size: 1.8rem; }.landing-feature h3 { margin: 12px 0 8px; font-size: 1.4rem; }.landing-feature p { color: rgba(77,44,25,.72); }
.landing-callout { margin-top: 24px; padding: 32px; background: linear-gradient(120deg, rgba(104,183,144,.17), rgba(253,248,245,.98)); }
@media (max-width: 760px) { .landing-hero, .landing-grid { grid-template-columns: 1fr; } .landing-hero { padding-top: 10px; gap: 26px; } .landing-callout { align-items: flex-start; flex-direction: column; } }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 24px;
}

.brand-mark span {
  position: absolute;
  top: 0;
  width: 21px;
  height: 21px;
  border: 1.6px solid var(--text);
  border-radius: 50%;
}

.brand-mark span:first-child {
  left: 0;
}

.brand-mark span:last-child {
  right: 0;
}

.brand-text {
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: 2rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  font-size: 0.98rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav-install-button { border: 0; border-radius: 50px; background: var(--cta); color: var(--text); padding: 7px 14px; cursor: pointer; font: inherit; }
.nav-install-button:hover { background: var(--cta-hover); }

.main-nav a.is-active::after,
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(191, 97, 69, 0.28);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.topbar.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.topbar.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.card,
.card-soft,
.wheel-card,
.result-card,
.mini-update,
.resource-card,
.prompt-item {
  border-radius: 20px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.card,
.card-soft {
  padding: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
  box-shadow: var(--shadow-strong);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.hero-copy,
.section-copy,
.detail-intro,
.message {
  color: rgba(77, 44, 25, 0.82);
}

.hero-aside,
.mini-progress {
  height: 100%;
}

.mini-progress {
  display: grid;
  gap: 18px;
  background: linear-gradient(180deg, rgba(230, 138, 110, 0.1), rgba(191, 97, 69, 0.03));
}

.mini-progress-header,
.section-heading,
.wheel-card-header,
.panel-header,
.result-header,
.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.mini-progress-header h2,
.section-heading h2,
.detail-card h2,
.results-card h2,
.resources-card h2 {
  margin-bottom: 0;
  font-size: 1.6rem;
}

.mini-progress-count,
.status-pill,
.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.mini-progress-count {
  background: rgba(77, 44, 25, 0.08);
}

.dashboard-grid,
.content-grid {
  display: grid;
  gap: 24px;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  align-items: start;
}

.catalog-layout,
.catalog-grid,
.conversations-layout,
.conversation-deck-grid {
  display: grid;
  gap: 24px;
}

.catalog-layout {
  margin-top: 24px;
}

.conversations-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  margin-top: 24px;
}

.catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.conversation-deck-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-card,
.conversation-deck-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(77, 44, 25, 0.06);
}

.conversation-deck-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.conversation-deck-card:hover,
.conversation-deck-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-strong);
}

.conversation-deck-card.is-selected {
  border-color: rgba(191, 97, 69, 0.22);
  box-shadow: 0 18px 40px rgba(230, 138, 110, 0.14);
}

.catalog-card-content,
.catalog-card-actions,
.catalog-section,
.catalog-hero,
.conversations-hero,
.conversation-summary,
.conversation-decks-card,
.conversation-questions-card,
.conversation-questions-content {
  display: grid;
  gap: 14px;
}

.conversations-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.8fr);
  align-items: stretch;
  margin-bottom: 24px;
  box-shadow: var(--shadow-strong);
}

.conversation-summary {
  height: 100%;
  background: linear-gradient(180deg, rgba(193, 140, 163, 0.1), rgba(104, 183, 144, 0.04));
}

.conversation-decks-card,
.conversation-questions-card {
  box-shadow: var(--shadow-strong);
}

.conversation-deck-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.conversation-deck-header h3,
.conversation-empty-state h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.conversation-deck-meta {
  color: rgba(77, 44, 25, 0.68);
  font-size: 0.87rem;
  margin-bottom: 0;
}

.conversation-empty-state {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px dashed rgba(77, 44, 25, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.36);
}

.conversation-toggle-group,
.conversation-order-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.conversation-toggle.is-active {
  background: rgba(230, 138, 110, 0.22);
}

.conversation-order-card,
.conversation-order-item {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(77, 44, 25, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.44);
}

.conversation-order-list {
  display: grid;
  gap: 12px;
}

.conversation-order-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.conversation-order-copy {
  display: grid;
  gap: 4px;
}

.conversation-order-button {
  min-width: 72px;
}

.conversation-order-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.catalog-card-actions .primary-button {
  width: auto;
  min-width: 160px;
}

.dashboard-main,
.dashboard-sidebar,
.wheel-section,
.results-list,
.stack-list {
  display: grid;
  gap: 24px;
}

.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-sidebar {
  align-content: start;
}

.compact {
  margin-bottom: 0;
}

.wheel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.wheel-card {
  overflow: hidden;
  border: 1px solid rgba(77, 44, 25, 0.05);
}

.wheel-card-inner {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(240px, 300px);
  gap: 18px 24px;
  padding: 22px;
  align-items: center;
}

.wheel-card-header {
  grid-column: 1 / -1;
  align-items: start;
}

.wheel-card-header > div {
  max-width: 56ch;
}

.wheel-card-header h3 {
  margin-bottom: 6px;
  font-size: 1.6rem;
}

.wheel-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wheel-title-row h3 {
  margin: 0;
}

.wheel-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
}

.wheel-title-row + .wheel-card-copy {
  margin-top: 10px;
}

.wheel-card-copy,
.wheel-meta,
.detail-intro,
.resource-copy,
.mini-update-copy,
.prompt-copy {
  font-size: 0.95rem;
}

.wheel-chart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 220px;
}

.wheel-chart svg {
  width: 100%;
  max-width: 260px;
  height: auto;
  overflow: visible;
}

.wheel-status {
  display: grid;
  gap: 10px;
  align-self: stretch;
}

.progress-track {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(77, 44, 25, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
}

.status-pill,
.status-chip {
  color: var(--text);
  background: rgba(77, 44, 25, 0.08);
}

.status-chip.ready,
.status-pill.ready {
  background: rgba(104, 183, 144, 0.2);
}

.status-chip.waiting,
.status-pill.waiting {
  background: rgba(193, 140, 163, 0.2);
}

.status-chip.empty,
.status-pill.empty {
  background: rgba(246, 169, 142, 0.18);
}

.wheel-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: flex-end;
}

.wheel-actions .primary-button {
  width: auto;
  min-width: 180px;
}

.primary-button {
  width: 100%;
  border: 0;
  border-radius: 50px;
  padding: 14px 20px;
  color: var(--bg);
  background: var(--cta);
  cursor: pointer;
  transition: background-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--cta-hover);
  box-shadow: 0 10px 22px rgba(230, 138, 110, 0.24);
}

.primary-button:active {
  transform: translateY(1px);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 12px 18px;
  color: var(--text);
  background: rgba(77, 44, 25, 0.08);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: rgba(77, 44, 25, 0.14);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field-label,
.score-label {
  font-weight: 600;
}

select,
input[type="text"],
input[type="number"],
input[type="date"],
input[type="email"],
input[type="password"] {
  width: 100%;
  border: 1px solid rgba(77, 44, 25, 0.14);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(253, 248, 245, 0.98);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

select:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
.comment-input:focus {
  outline: none;
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(230, 138, 110, 0.16);
}

.scores-form {
  display: grid;
  gap: 18px;
}

.score-row {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(77, 44, 25, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.44);
}

.score-row-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.score-value {
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: 1.1rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--cta);
}

.message {
  min-height: 24px;
  margin: 12px 0 0;
}

.result-card,
.mini-update,
.resource-card,
.prompt-item {
  padding: 18px;
  border: 1px solid rgba(77, 44, 25, 0.08);
}

.result-card h3,
.resource-card h3,
.mini-update h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.result-row,
.partner-progress-row {
  display: grid;
  gap: 8px;
}

.result-row + .result-row,
.partner-progress-row + .partner-progress-row {
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid rgba(77, 44, 25, 0.08);
}

.result-line,
.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.result-label,
.result-value,
.progress-label,
.progress-value {
  font-size: 0.95rem;
}

.result-value,
.progress-value,
.score-value {
  font-weight: 700;
}

.mini-update-meta,
.resource-tag,
.prompt-tag,
.wheel-meta {
  color: rgba(77, 44, 25, 0.68);
  font-size: 0.87rem;
}

.prompt-item {
  display: grid;
  gap: 8px;
}

.resource-card {
  background: linear-gradient(180deg, rgba(193, 140, 163, 0.12), rgba(230, 138, 110, 0.06));
}

.detail-back-row {
  margin-bottom: 18px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
}

.back-link::before {
  content: "←";
}

.detail-page-hero,
.shared-result-card,
.detail-response-card,
.detail-visual-card,
.detail-form-card {
  box-shadow: var(--shadow-strong);
}

.detail-page-hero,
.detail-page-layout,
.detail-response-grid,
.detail-summary {
  display: grid;
  gap: 24px;
}

.detail-page-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 24px;
}

.detail-page-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin-bottom: 24px;
}

.detail-chart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 360px;
}

.detail-chart svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  overflow: visible;
}

.detail-summary {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.chart-legend {
  display: grid;
  gap: 12px;
}

.legend-item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid rgba(77, 44, 25, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
}

.legend-swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  margin-top: 3px;
}

.legend-copy {
  display: grid;
  gap: 4px;
}

.legend-title {
  font-size: 0.98rem;
}

.legend-description {
  margin-bottom: 0;
  color: rgba(77, 44, 25, 0.76);
  font-size: 0.92rem;
}

.detail-response-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.detail-response-title {
  margin-bottom: 16px;
}

.detail-response-empty,
.comment-readonly {
  color: rgba(77, 44, 25, 0.72);
}

.comment-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.comment-heading {
  margin-bottom: 0;
  font-weight: 600;
}

.comment-input {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(77, 44, 25, 0.14);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(253, 248, 245, 0.98);
  min-height: 120px;
}

.detail-card,
.results-card,
.resources-card,
.updates-card,
.prompts-card {
  box-shadow: var(--shadow-strong);
}

.footer-note {
  color: rgba(77, 44, 25, 0.72);
}

@media (max-width: 1180px) {
  .dashboard-grid,
  .hero,
  .content-grid,
  .conversations-layout,
  .conversations-hero,
  .detail-page-layout,
  .detail-response-grid {
    grid-template-columns: 1fr;
  }

  .wheel-card-inner {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  }

  .wheel-status,
  .wheel-actions {
    grid-column: 1 / -1;
  }

  .wheel-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 18px 14px 40px;
  }

  .controls,
  .wheel-grid,
  .catalog-grid,
  .conversation-deck-grid {
    grid-template-columns: 1fr;
  }

  .wheel-card,
  .wheel-card-inner,
  .catalog-card,
  .dashboard-main,
  .dashboard-sidebar {
    min-width: 0;
  }

  .wheel-card-inner {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 12px 0 18px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .topbar .main-nav,
  .topbar .topbar-account {
    display: none;
    width: 100%;
  }

  .topbar.is-open .main-nav,
  .topbar.is-open .topbar-account {
    display: flex;
  }

  .topbar .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    order: 3;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 8px;
    border-radius: 12px;
  }
  .nav-install-button { width: 100%; text-align: left; padding: 12px 8px; background: transparent; color: var(--text); border-radius: 12px; }

  .main-nav a.is-active {
    background: rgba(230, 138, 110, 0.12);
  }

  .main-nav a.is-active::after,
  .main-nav a:hover::after,
  .main-nav a:focus-visible::after {
    display: none;
  }

  .topbar-account {
    order: 4;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .topbar-account .secondary-button {
    width: 100%;
    text-align: center;
  }

  /* The bell lives inside the expanded mobile menu. Anchor its panel to the
     viewport, not the 44px-wide bell wrapper, so it cannot slide off-screen. */
  .notifications-panel {
    position: fixed;
    top: max(96px, calc(env(safe-area-inset-top) + 72px));
    right: 14px;
    left: 14px;
    width: auto;
    max-height: calc(100dvh - 110px);
  }

  .controls {
    display: grid;
  }

  .hero,
  .card,
  .card-soft,
  .conversations-hero,
  .detail-page-hero,
  .wheel-card-inner,
  .result-card,
  .mini-update,
  .resource-card,
  .prompt-item {
    padding: 18px;
  }

  .wheel-chart {
    min-height: 240px;
  }

  .mini-progress-header,
  .section-heading,
  .wheel-card-header,
  .conversation-deck-header,
  .conversation-order-item,
  .detail-page-hero,
  .result-header,
  .progress-row,
  .score-row-top {
    flex-direction: column;
  }

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

  .detail-chart {
    min-height: 280px;
  }

  .wheel-actions,
  .wheel-actions .primary-button {
    width: 100%;
  }
}

/* --- Authentication gate --------------------------------------------- */
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.auth-card {
  width: min(440px, 100%);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-card .brand {
  margin-bottom: 4px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  background: rgba(77, 44, 25, 0.05);
  border-radius: 50px;
  padding: 5px;
}

.auth-forgot { border: 0; background: transparent; color: var(--accent); padding: 4px 0; cursor: pointer; text-align: left; }

.auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 50px;
  padding: 10px 16px;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}

.auth-tab.is-active {
  background: var(--bg);
  box-shadow: var(--shadow);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  cursor: pointer;
  font-size: 0.92rem;
}

.auth-form .auth-remember input {
  width: 18px;
  height: 18px;
  accent-color: var(--cta);
}

.auth-remember-help {
  margin: -8px 0 0 27px;
  color: rgba(77, 44, 25, 0.68);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* --- Topbar account -------------------------------------------------- */
.topbar-account {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-couple {
  font-weight: 600;
  color: var(--accent);
}

.notifications-menu { position: relative; }
.notification-button,
.notification-close,
.notification-dismiss {
  border: 0;
  cursor: pointer;
  color: var(--text);
}
.notification-button {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 10px;
  border-radius: 50px;
  background: rgba(230, 138, 110, 0.14);
}
.notification-button:hover,
.notification-button:focus-visible { background: rgba(230, 138, 110, 0.24); box-shadow: var(--shadow); }
.notification-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notification-badge {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 50px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.notifications-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  width: min(390px, calc(100vw - 28px));
  max-height: min(560px, calc(100vh - 96px));
  overflow: auto;
  padding: 18px;
  border-radius: 20px;
  background: var(--bg);
  box-shadow: var(--shadow-strong);
}
.notifications-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.notifications-header .eyebrow { margin-bottom: 3px; }
.notifications-header h2 { margin: 0; font-size: 1.4rem; }
.notification-close { width: 34px; height: 34px; border-radius: 50px; background: rgba(230, 138, 110, 0.14); font-size: 1.5rem; line-height: 1; }
.push-notification-setting { margin-bottom: 14px; }
.push-notification-copy { margin: 0 0 10px; color: rgba(77, 44, 25, 0.72); font-size: 0.84rem; }
.push-notification-setting .primary-button { width: 100%; }
.notifications-list { display: grid; gap: 9px; }
.notification-empty { margin: 8px 0; color: rgba(77, 44, 25, 0.68); font-size: 0.9rem; }
.notification-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 13px; border-radius: 16px; background: rgba(77, 44, 25, 0.04); }
.notification-item.is-unread { background: rgba(230, 138, 110, 0.14); }
.notification-content { min-width: 0; cursor: pointer; }
.notification-content strong,
.notification-content p { display: block; }
.notification-content strong { margin-bottom: 3px; font-size: 0.9rem; }
.notification-content p { margin: 0; color: rgba(77, 44, 25, 0.75); font-size: 0.82rem; line-height: 1.42; }
.notification-time { margin-top: 7px !important; color: rgba(77, 44, 25, 0.55) !important; font-size: 0.72rem !important; }
.notification-dismiss { align-self: start; width: 28px; height: 28px; border-radius: 50px; background: rgba(77, 44, 25, 0.07); font-size: 1.1rem; line-height: 1; }
.notification-dismiss:hover,
.notification-dismiss:focus-visible,
.notification-close:hover,
.notification-close:focus-visible { background: rgba(230, 138, 110, 0.28); }

/* --- Link banner & reminders ----------------------------------------- */
.link-banner,
.reminder-card {
  margin-bottom: 20px;
}

.link-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(230, 138, 110, 0.12), rgba(253, 248, 245, 0.98));
}

.link-banner-code {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-banner-code strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--accent);
}

/* --- Profile & invite ------------------------------------------------ */
.profile-layout,
.plans-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.invite-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.invite-code {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  letter-spacing: 6px;
  color: var(--accent);
}

.profile-join-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-join-row input {
  flex: 1;
  min-width: 160px;
}

/* --- Round controls, history ----------------------------------------- */
.detail-round-card {
  margin-top: 20px;
}

.detail-round-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.history-table {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-x: auto;
}

.history-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.4fr) repeat(var(--cols, 1), 76px);
  gap: 4px;
  align-items: center;
  min-width: 100%;
}

.history-head .history-cell {
  font-weight: 700;
  color: var(--accent);
}

.history-cell {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(77, 44, 25, 0.03);
  text-align: center;
}

.history-cell.history-dim {
  text-align: left;
  background: transparent;
  font-weight: 600;
}

.history-cell.trend-up {
  background: rgba(104, 183, 144, 0.22);
}

.history-cell.trend-down {
  background: rgba(191, 97, 69, 0.16);
}

/* --- Action plans ---------------------------------------------------- */
.plan-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}

.plan-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: var(--bg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-card.is-done {
  opacity: 0.7;
}

.plan-card.is-done h3 {
  text-decoration: line-through;
}

.plan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.plan-detail {
  color: rgba(77, 44, 25, 0.8);
}

.plan-meta {
  font-size: 13px;
  color: var(--accent);
}

.plan-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.plan-delete {
  color: var(--accent);
}

@media (max-width: 760px) {
  .profile-layout,
  .plans-layout,
  .detail-round-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    flex-wrap: wrap;
  }
}

/* --- Conversation game player ---------------------------------------- */
.conversation-play-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.conversation-play-row .primary-button {
  align-self: flex-start;
}

.conversation-player {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.conversation-player-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.conversation-player-count {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.conversation-card-face {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 220px;
  padding: 32px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(230, 138, 110, 0.12), rgba(253, 248, 245, 0.98));
  box-shadow: var(--shadow);
}

.conversation-card-question {
  margin: 0;
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.3;
  color: var(--text);
}

.conversation-player-nav {
  display: flex;
  gap: 12px;
}

.conversation-player-nav .primary-button,
.conversation-player-nav .secondary-button {
  flex: 1;
  text-align: center;
}

.conversation-player-footer {
  display: flex;
  justify-content: center;
}

/* --- Din tur badge --------------------------------------------------- */
.wheel-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.status-chip.your-turn {
  background: var(--cta);
  color: #fff;
  font-weight: 600;
}

/* --- Differences card ------------------------------------------------ */
.differences-card {
  margin-top: 16px;
  background: linear-gradient(180deg, rgba(230, 138, 110, 0.1), rgba(253, 248, 245, 0.98));
}

.difference-item {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.difference-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.difference-label {
  font-size: 1.05rem;
}

.difference-gap {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.difference-scores {
  margin: 4px 0 6px;
  color: rgba(77, 44, 25, 0.7);
  font-size: 0.9rem;
}

.difference-opener {
  margin: 0;
  font-style: italic;
  color: var(--text);
}

/* --- Account danger zone --------------------------------------------- */
.account-danger {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.account-danger .secondary-button {
  align-self: flex-start;
}

/* --- Trend chart ----------------------------------------------------- */
.trend-chart {
  margin-bottom: 18px;
}

.trend-chart svg {
  width: 100%;
  height: auto;
  max-width: 460px;
  display: block;
  margin: 0 auto;
}

.trend-caption {
  margin: 8px 0 0;
  text-align: center;
  font-style: italic;
  color: rgba(77, 44, 25, 0.78);
}

/* --- "Du svarer som" (erstatter partner-dropdown) -------------------- */
.answering-as {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(230, 138, 110, 0.1);
  font-weight: 600;
  color: var(--accent);
}

/* --- Dimension-beskrivelse under hvert spørgsmål --------------------- */
.score-description {
  margin: -2px 0 8px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(77, 44, 25, 0.62);
}

/* --- Katalog-kort: kompakt status-pille + ombrydning af lange titler -- */
.catalog-card-content h3 {
  overflow-wrap: anywhere;
}

.catalog-card-content .wheel-icon {
  width: 56px;
  height: 56px;
}

.catalog-chip {
  justify-self: start;
  white-space: nowrap;
  min-height: 30px;
  padding: 6px 14px;
  font-size: 0.82rem;
}

/* --- Spil-hub -------------------------------------------------------- */
.games-hero,
.dice-hero {
  margin-bottom: 24px;
  box-shadow: var(--shadow-strong);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.naughty-toggle-card {
  display: grid;
  gap: 14px;
}

/* --- Frække terning -------------------------------------------------- */
.dice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.dice-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.dice-die {
  text-align: left;
  cursor: pointer;
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.dice-die:hover {
  transform: translateY(-1px);
}

.dice-die.is-selected {
  border-color: rgba(191, 97, 69, 0.4);
  background: linear-gradient(180deg, rgba(193, 140, 163, 0.16), rgba(253, 248, 245, 0.98));
  box-shadow: 0 10px 26px rgba(193, 140, 163, 0.16);
}

.dice-die-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.dice-die-emoji {
  font-size: 1.2rem;
}

.dice-die-name {
  font-size: 1.05rem;
}

.dice-die-faces {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(77, 44, 25, 0.6);
}

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

.dice-result-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(230, 138, 110, 0.1), rgba(253, 248, 245, 0.98));
  box-shadow: var(--shadow);
}

.dice-result-emoji {
  font-size: 1.4rem;
  text-align: center;
}

.dice-result-name {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dice-result-face {
  font-family: "Playfair Display", "Lora", Georgia, serif;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  text-align: right;
}

@media (max-width: 760px) {
  .dice-layout {
    grid-template-columns: 1fr;
  }
  .dice-picker {
    grid-template-columns: 1fr;
  }
}

/* --- Truth or Dare --------------------------------------------------- */
.td-rules-card { margin-bottom: 24px; display: grid; gap: 12px; }
.td-rule-row { display: grid; grid-template-columns: 16px auto 1fr; align-items: center; gap: 10px; }
.td-rule-label { font-weight: 700; }
.td-rule-desc { color: rgba(77, 44, 25, 0.7); font-size: 0.9rem; }
.td-consent { font-style: italic; }

.td-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.td-color-emoji { font-size: 1.05rem; }
.td-green .td-dot, .td-dot.td-green { background: #5aa87f; }
.td-yellow .td-dot, .td-dot.td-yellow { background: #d7a53f; }
.td-red .td-dot, .td-dot.td-red { background: #c24a3f; }

.td-colors { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.td-color-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); font-weight: 600;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.td-color-chip:hover { transform: translateY(-1px); }
.td-color-chip.is-selected.td-green { border-color: #5aa87f; background: rgba(90, 168, 127, 0.16); }
.td-color-chip.is-selected.td-yellow { border-color: #d7a53f; background: rgba(215, 165, 63, 0.16); }
.td-color-chip.is-selected.td-red { border-color: #c24a3f; background: rgba(194, 74, 63, 0.16); }
.td-color-chip:not(.is-selected) { opacity: 0.6; }

.td-draw-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.td-draw-buttons .primary-button { flex: 1; min-width: 120px; }

.td-card-display { min-height: 180px; display: grid; }
.td-card {
  display: flex; flex-direction: column; gap: 14px; justify-content: center;
  text-align: center; padding: 28px 24px; border-radius: 22px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.td-card.td-green { background: linear-gradient(180deg, rgba(90, 168, 127, 0.16), rgba(253, 248, 245, 0.98)); }
.td-card.td-yellow { background: linear-gradient(180deg, rgba(215, 165, 63, 0.16), rgba(253, 248, 245, 0.98)); }
.td-card.td-red { background: linear-gradient(180deg, rgba(194, 74, 63, 0.16), rgba(253, 248, 245, 0.98)); }
.td-card-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.td-card-text { margin: 0; font-family: "Playfair Display", "Lora", Georgia, serif; font-style: italic; font-size: clamp(1.15rem, 3vw, 1.6rem); line-height: 1.4; }

/* --- Tidsbomben ------------------------------------------------------ */
.td-black .td-dot, .td-dot.td-black { background: #3a2a30; }
.td-color-chip.is-selected.td-black { border-color: #3a2a30; background: rgba(58, 42, 48, 0.14); }
.td-color-chip:disabled { opacity: 0.4; cursor: not-allowed; }

.bomb-black-unlock { flex-direction: row; align-items: center; gap: 10px; margin: 4px 0 14px; }
.bomb-black-unlock input { width: 18px; height: 18px; }

.bomb-card-area { min-height: 200px; display: grid; }
.bomb-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.bomb-card.td-yellow { background: linear-gradient(180deg, rgba(215, 165, 63, 0.16), rgba(253, 248, 245, 0.98)); }
.bomb-card.td-green { background: linear-gradient(180deg, rgba(104, 183, 144, 0.16), rgba(253, 248, 245, 0.98)); }
.bomb-card.td-red { background: linear-gradient(180deg, rgba(194, 74, 63, 0.16), rgba(253, 248, 245, 0.98)); }
.bomb-card.td-black { background: linear-gradient(180deg, rgba(58, 42, 48, 0.18), rgba(253, 248, 245, 0.98)); }
.bomb-card.is-exploded { animation: bomb-flash 0.5s ease; border-color: var(--accent); }

@keyframes bomb-flash { 0%, 100% { box-shadow: var(--shadow); } 40% { box-shadow: 0 0 0 4px rgba(232, 68, 90, 0.35); } }

.bomb-status {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; font-weight: 600;
  background: rgba(77, 44, 25, 0.06);
}
.bomb-status.is-ticking { animation: bomb-pulse 1s ease-in-out infinite; }
.bomb-status-icon { font-size: 1.3rem; }
@keyframes bomb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

.bomb-card-tag { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.bomb-card-title { margin: 0; font-size: 1.5rem; }
.bomb-card-body { display: flex; flex-direction: column; gap: 6px; }
.bomb-card-line { margin: 0; color: rgba(77, 44, 25, 0.85); }
.bomb-card-bullet { margin: 0 0 0 8px; color: rgba(77, 44, 25, 0.85); }

.bomb-card-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.bomb-stop-button { background: #c0453c; box-shadow: 0 4px 18px rgba(192, 69, 60, 0.4); font-size: 1.05rem; padding: 14px 32px; }
.bomb-stop-button:hover { background: #a93b33; }

/* --- Tidsbomben: strukturerede kortfelter ---------------------------- */
.bomb-card-meta {
  display: flex; flex-wrap: wrap; gap: 8px 10px;
  padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.bomb-meta-item { display: flex; flex-direction: column; gap: 2px; min-width: 90px; }
.bomb-meta-label { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.bomb-meta-value { font-weight: 600; }

.bomb-stage {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px; border-radius: 14px; background: rgba(191, 97, 69, 0.1);
}
.bomb-stage-label { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.bomb-stage-text { font-family: "Playfair Display", "Lora", Georgia, serif; font-size: 1.25rem; }

.bomb-explosion { display: flex; flex-direction: column; gap: 2px; }
.bomb-explosion-label { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* --- Tidsbomben: luft mellem opsætning og knap ----------------------- */
#bomb-view .controls { margin-bottom: 18px; }
#bomb-draw-button { margin-top: 4px; }

.bomb-sequence-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(100%, 440px);
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(77, 44, 25, 0.04);
}
.bomb-sequence-info { display: flex; align-items: flex-start; gap: 10px; }
.bomb-sequence-info > div { display: grid; gap: 2px; }
.bomb-sequence-label { color: var(--text); }
.bomb-sequence-description { color: rgba(77, 44, 25, 0.7); font-size: 0.76rem; line-height: 1.35; }
.bomb-quantity { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.bomb-quantity-button { width: 34px; min-width: 34px; height: 34px; padding: 0; border: 0; background: #E68A6E; color: #FDF8F5; font-size: 1.15rem; line-height: 1; }
.bomb-quantity-button:hover, .bomb-quantity-button:focus-visible { background: #E68A6E; box-shadow: 0 4px 12px rgba(77, 44, 25, 0.05); }
.bomb-quantity-input { width: 46px; height: 34px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; text-align: center; }
@media (max-width: 460px) {
  .bomb-sequence-row { align-items: flex-start; }
  .bomb-quantity { margin-top: 2px; }
}

/* --- Gavekort --------------------------------------------------------- */
.calendar-hero { margin-bottom: 24px; }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr); gap: 24px; }
.ritual-item { padding: 16px; border-radius: 18px; background: rgba(104, 183, 144, 0.12); box-shadow: var(--shadow); }
.ritual-item h3 { margin-bottom: 6px; }
.ritual-item .secondary-button { margin-top: 8px; }

.gift-cards-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.gift-cards-layout,
.gift-cards-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.gift-card-list {
  display: grid;
  gap: 14px;
}

.gift-punch-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(193, 140, 163, 0.12);
  cursor: pointer;
}

.gift-punch-toggle input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--cta);
}

.gift-punch-toggle strong,
.gift-punch-toggle small {
  display: block;
}

.gift-punch-toggle small {
  margin-top: 2px;
  color: rgba(77, 44, 25, 0.7);
}

.gift-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(246, 169, 142, 0.18), rgba(253, 248, 245, 0.98) 68%);
  box-shadow: var(--shadow);
}

.gift-card.is-used {
  background: rgba(77, 44, 25, 0.035);
  opacity: 0.8;
}

.gift-card-header,
.gift-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gift-card-header {
  margin-bottom: 14px;
}

.gift-status {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gift-status.active {
  background: rgba(230, 138, 110, 0.2);
  color: var(--accent);
}

.gift-status.used {
  background: rgba(77, 44, 25, 0.09);
  color: rgba(77, 44, 25, 0.72);
}

.gift-card-from,
.gift-card-progress,
.gift-card-note {
  color: rgba(77, 44, 25, 0.68);
  font-size: 0.85rem;
}

.gift-card-from { text-align: right; }
.gift-card-description { margin: 0 0 10px; font-family: "Playfair Display", "Lora", Georgia, serif; font-size: 1.25rem; line-height: 1.35; }
.gift-card-progress { margin: 0 0 16px; }
.gift-card-note { margin: 0; }

.gift-card-actions {
  align-items: flex-start;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .gift-cards-hero,
  .calendar-layout,
  .gift-cards-layout,
  .gift-cards-columns {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* --- Tidsbomben: hold skærmen tændt-toggle --------------------------- */
.bomb-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 16px;
  cursor: pointer;
  color: rgba(77, 44, 25, 0.85);
}
.bomb-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--cta);
  flex-shrink: 0;
}
