/* ── Daily Domina Mood Widget ────────────────────────────────────────────────── */

.mood-widget {
  margin: 0.75rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.15);
  background: var(--bg-surface);
}

.mood-widget-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
}

.mood-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 1.6rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.mood-text {
  flex: 1;
  min-width: 0;
}

.mood-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.15rem;
}

.mood-message {
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--accent);
}

.mood-intensity {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.mood-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.25);
}

.mood-pip.active {
  background: var(--accent);
}

/* Living Dynamic mood border accents */
.mood-widget[data-mood="radiant"]    { border-color: rgba(245, 200, 66, 0.45); box-shadow: 0 0 12px rgba(245,200,66,0.15); }
.mood-widget[data-mood="pleased"]    { border-color: rgba(201, 168, 76, 0.35); }
.mood-widget[data-mood="watchful"]   { border-color: rgba(150, 150, 150, 0.2); }
.mood-widget[data-mood="displeased"] { border-color: rgba(192, 112, 48, 0.3); }
.mood-widget[data-mood="withdrawn"]  { border-color: rgba(100, 100, 100, 0.15); opacity: 0.8; }

.mood-widget[data-mood="withdrawn"]  .mood-message { color: var(--text-secondary); font-style: italic; }

/* Bond row inside the mood widget */
.mood-bond-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 1rem 0.65rem;
}

.mood-bond-label {
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.mood-bond-phase {
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ── Morning Offering Widget ─────────────────────────────────────────────────── */

.offering-widget {
  margin: 0.75rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: var(--bg-surface);
}

.offering-header {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1rem 0.75rem;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.14), rgba(201, 168, 76, 0.06));
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.offering-eye {
  font-size: 1rem;
  opacity: 0.8;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.offering-header-text {
  flex: 1;
}

.offering-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.2rem;
}

.offering-command {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--accent);
  line-height: 1.45;
}

.offering-body {
  padding: 0.75rem 1rem 0.9rem;
}

.offering-prompt {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-primary, #e8e6e0);
  margin-bottom: 0.9rem;
}

.offering-textarea {
  width: 100%;
  min-height: 80px;
  background: var(--bg-subtle, rgba(255,255,255,0.05));
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  color: var(--text-primary, #e8e6e0);
  font-size: 0.88rem;
  padding: 0.65rem 0.75rem;
  resize: vertical;
  box-sizing: border-box;
  font-family: inherit;
  margin-bottom: 0.75rem;
}

.offering-textarea:focus {
  outline: none;
  border-color: rgba(201, 168, 76, 0.5);
}

.offering-photo-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.offering-photo-label {
  font-size: 0.78rem;
  opacity: 0.6;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.offering-photo-label input {
  display: none;
}

.offering-photo-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(201,168,76,0.3);
  display: none;
}

.offering-gate-ack {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.75rem 0 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  cursor: pointer;
}
.offering-gate-ack input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent, #c9a84c);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.offering-submit-btn {
  width: 100%;
  padding: 0.7rem;
  background: var(--accent, #c9a84c);
  color: #0f0e0d;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.offering-submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.offering-submit-btn:hover:not(:disabled) {
  opacity: 0.88;
}

/* Guidance hints */
.offering-hints-row {
  margin-bottom: 0.75rem;
}

.offering-hints-toggle {
  background: none;
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--accent, #c9a84c);
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.offering-hints-toggle:hover {
  opacity: 1;
}

.offering-hints {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.offering-hints-penalty {
  font-size: 0.75rem;
  color: var(--text-muted, rgba(255,255,255,0.45));
  margin-bottom: 0.25rem;
}

.offering-hint-chip {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--text-primary, #e8e0d0);
  font-size: 0.82rem;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  font-style: italic;
}

.offering-hint-chip:hover {
  background: rgba(201, 168, 76, 0.16);
}

/* Completed state */
.offering-done {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(143,188,143,0.12), rgba(143,188,143,0.05));
}

.offering-done-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.offering-done-text {
  font-size: 0.83rem;
  color: #8fbc8f;
  font-style: italic;
}

/* Missed/expired state */
.offering-widget--missed {
  opacity: 0.7;
}

.offering-missed {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(180,60,60,0.08), rgba(180,60,60,0.03));
}

.offering-missed-icon {
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--text-muted, #666);
}

.offering-missed-text {
  font-size: 0.83rem;
  color: var(--text-muted, #888);
  font-style: italic;
}

/* Consequence hint banner */
.offering-consequence-hint {
  font-size: 0.78rem;
  color: var(--accent, #c9a84c);
  opacity: 0.82;
  margin-bottom: 0.75rem;
  padding: 0.4rem 0.65rem;
  border-left: 2px solid rgba(201,168,76,0.45);
  background: rgba(201,168,76,0.06);
  border-radius: 0 4px 4px 0;
  line-height: 1.4;
}

/* Rating slider row */
.offering-rating-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.offering-rating-row input[type="range"] {
  flex: 1;
  accent-color: var(--accent, #c9a84c);
  height: 4px;
}
.offering-rating-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent, #c9a84c);
  min-width: 1.5ch;
  text-align: center;
}
.offering-rating-label {
  font-size: 0.8rem;
  color: var(--text-muted, #888);
}

/* Forced-choice buttons */
.offering-choice-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.offering-choice-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.28);
  color: var(--text-primary, #e8e6e0);
  border-radius: 6px;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.offering-choice-btn:hover {
  background: rgba(201,168,76,0.14);
}
.offering-choice-btn.selected {
  background: rgba(201,168,76,0.22);
  border-color: rgba(201,168,76,0.6);
  color: var(--accent, #c9a84c);
}

/* Confession — compact textarea */
.offering-textarea--confession {
  min-height: 44px;
  max-height: 120px;
}

/* ── Evening Confession Widget ──────────────────────────────────────────────── */

.confession-widget {
  margin: 0.75rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(150, 130, 200, 0.25);
  background: var(--bg-surface);
}

.confession-header {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1rem 0.75rem;
  background: linear-gradient(135deg, rgba(150, 130, 200, 0.12), rgba(150, 130, 200, 0.04));
  border-bottom: 1px solid rgba(150, 130, 200, 0.15);
}

.confession-eye {
  font-size: 1rem;
  opacity: 0.7;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.confession-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.2rem;
}

.confession-command {
  font-size: 0.88rem;
  font-style: italic;
  color: #b8a0e8;
  line-height: 1.45;
}

.confession-body {
  padding: 0.75rem 1rem 0.9rem;
}

.confession-prompt {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-primary, #e8e6e0);
  margin-bottom: 0.9rem;
}

.confession-textarea {
  width: 100%;
  min-height: 100px;
  background: var(--bg-subtle, rgba(255,255,255,0.05));
  border: 1px solid rgba(150, 130, 200, 0.2);
  border-radius: 8px;
  color: var(--text-primary, #e8e6e0);
  font-size: 0.88rem;
  padding: 0.65rem 0.75rem;
  resize: vertical;
  box-sizing: border-box;
  font-family: inherit;
  margin-bottom: 0.75rem;
}

.confession-textarea:focus {
  outline: none;
  border-color: rgba(150, 130, 200, 0.5);
}

.confession-submit-btn {
  width: 100%;
  padding: 0.7rem;
  background: rgba(150, 130, 200, 0.8);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.confession-submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.confession-submit-btn:hover:not(:disabled) {
  opacity: 0.9;
}

/* Reaction state */
.confession-reaction {
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, rgba(150, 130, 200, 0.1), rgba(150, 130, 200, 0.04));
  border-top: 1px solid rgba(150, 130, 200, 0.15);
}

.confession-reaction-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 0.3rem;
}

.confession-reaction-text {
  font-size: 0.87rem;
  font-style: italic;
  color: #b8a0e8;
  line-height: 1.5;
}

/* Morning offering reaction */
.offering-reaction {
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.03));
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.offering-reaction-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 0.3rem;
}

.offering-reaction-text {
  font-size: 0.87rem;
  font-style: italic;
  color: var(--accent, #c9a84c);
  line-height: 1.5;
}

/* Continue button — shared by offering + confession */
.ritual-continue-btn {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-style: normal;
  color: var(--accent, #c9a84c);
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s;
}

.ritual-continue-btn:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.6);
}

.confession-done-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(143, 188, 143, 0.08);
  border-top: 1px solid rgba(143, 188, 143, 0.15);
}

.confession-done-note span {
  font-size: 0.8rem;
  color: #8fbc8f;
  font-style: italic;
}

/* ── Devotion Choice Tier Styles ────────────────────────────────────────────── */

/* Tier badges */
.dc-tier-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.3rem;
}

.dc-tier-serve    { background: rgba(201,168,76,0.12);  color: var(--accent); }
.dc-tier-prove    { background: rgba(196,149,106,0.15); color: #c4956a; }
.dc-tier-dare     { background: rgba(204,102,102,0.15); color: #cc6666; }
.dc-tier-mystery  { background: rgba(180,160,220,0.2);  color: #b8a0e8; }

/* Choice button layout */
.dc-choice-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dc-choice-btn:last-child { border-bottom: none; }

.dc-choice-btn:hover,
.dc-choice-btn:active { background: rgba(255,255,255,0.04); }

.dc-choice-left  { flex: 1; min-width: 0; }
.dc-choice-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

/* Tier-specific left border */
.dc-choice-tier-serve  { border-left: 3px solid rgba(201,168,76,0.3); }
.dc-choice-tier-prove  { border-left: 3px solid rgba(196,149,106,0.4); }
.dc-choice-tier-dare   { border-left: 3px solid rgba(204,102,102,0.5); }

/* Override the default dc-choice-btn border-bottom for non-dare last */
.dc-choice-mystery { border-left: 3px solid rgba(180,160,220,0.35); }
.dc-choice-mystery-4th {
  border-top: 1px solid rgba(180,160,220,0.12);
  background: rgba(180,160,220,0.04);
}

.dc-choice-title  { font-size: 0.87rem; font-weight: 600; color: var(--text-primary, #e8e6e0); margin-bottom: 0.15rem; }
.dc-choice-tagline { font-size: 0.77rem; opacity: 0.55; }

.dc-dare-risk {
  font-size: 0.72rem;
  color: #cc6666;
  margin-top: 0.25rem;
  opacity: 0.8;
}

.dc-os-reward {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.dc-os-mystery { color: #b8a0e8; }
.dc-choice-arrow { font-size: 1rem; opacity: 0.4; }

/* Dare countdown */
.dc-dare-countdown {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #cc6666;
  font-weight: 600;
}

/* Dare failed state */
.dc-dare-failed {
  padding: 1.1rem 1rem;
  text-align: center;
}

.dc-dare-failed-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.dc-dare-failed-icon  { font-size: 1rem; color: #cc6666; }
.dc-dare-failed-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #cc6666; }

.dc-dare-failed-msg {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.75;
  margin-bottom: 0.9rem;
}

.dc-dare-failed-btn {
  background: rgba(204,102,102,0.15);
  color: #cc6666;
  border: 1px solid rgba(204,102,102,0.3);
  border-radius: 8px;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.dc-dare-failed-btn:hover { background: rgba(204,102,102,0.25); }

/* Mystery hint text */
.dc-mystery-hint-text {
  font-size: 0.82rem;
  font-style: italic;
  color: #b8a0e8;
  margin-top: 0.2rem;
}

/* ── Locked state overlay for command center ────────────────────────────────── */

.cc-locked {
  text-align: center;
  padding: 2rem 1.5rem;
  opacity: 0.6;
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--accent);
}

/* Morning offering countdown */
.offering-countdown {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-muted, rgba(255,255,255,0.4));
  margin-bottom: 0.4rem;
  min-height: 1.1rem;
}

.offering-countdown--urgent {
  color: #d4903a;
}

.offering-countdown--expired {
  color: var(--accent, #c9a84c);
  font-style: italic;
}

/* Position hold offering */
.offering-position-hold {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.offering-position-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.offering-position-timer {
  font-size: 1.6rem;
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-weight: 700;
  color: var(--accent, #c9a84c);
  min-width: 3rem;
  text-align: center;
}

.offering-position-btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent, #c9a84c);
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.offering-position-btn:hover:not(:disabled) {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.65);
}

.offering-position-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.offering-position-input {
  display: none;
}
