:root {
  font-family: Pretendard, "Noto Sans KR", system-ui, sans-serif;
  color: #1f2430;
  background: #ece9e2;
  --ink: #1f2430;
  --muted: #6a6e78;
  --line: #e9e5dc;
  --danger: #b3261e;
  --focus: #2f6feb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.phone {
  width: min(100%, 430px);
  min-height: 100dvh;
  background: #faf9f6;
  /* 하단 고정 내비게이션 높이 + 안전 영역만큼 여백 확보 */
  padding: 0 clamp(12px, 3.5vw, 18px)
    calc(clamp(14px, 4vw, 24px) + 50px + env(safe-area-inset-bottom));
  word-break: keep-all;
}

header {
  padding: clamp(10px, 2.5vw, 16px) 4px 12px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 800;
}

h1 {
  font-size: clamp(19px, 5.5vw, 24px);
  line-height: 1.35;
  margin: 2px 0 8px;
}

header p,
footer,
.field-hint,
.range-note,
.section-copy {
  color: var(--muted);
  line-height: 1.65;
}

.section-copy {
  margin: -6px 0 16px;
  font-size: 13px;
}

.live-status {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.live-status:empty {
  display: none;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: clamp(16px, 5vw, 24px);
  padding: clamp(12px, 3.5vw, 18px);
}
.card[hidden] {
  display: none;
}
.card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.account-card {
  margin-bottom: 12px;
}

.account-availability,
.account-notice,
.account-identity {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

.account-availability {
  color: var(--muted);
}

.account-availability:empty {
  display: none;
}

.account-notice {
  color: #2f6b45;
  font-weight: 700;
}

.account-notice:empty {
  display: none;
}

.account-identity strong {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.sync-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sync-actions button {
  min-height: 52px;
}

h2 {
  margin-top: 0;
  font-size: clamp(18px, 5vw, 22px);
}

.field {
  margin: 14px 0;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8d4cb;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: inherit;
}

textarea {
  min-height: 96px;
  line-height: 1.55;
  resize: vertical;
}

input:disabled {
  background: #f0eee9;
  color: var(--muted);
  cursor: not-allowed;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 2px 0;
  font-weight: 600;
  cursor: pointer;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
fieldset:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"],
fieldset[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fdf6f5;
}

.field-error {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--danger);
}
.field-error:empty {
  display: none;
}

.field-hint {
  margin: 6px 0 0;
  font-size: 12px;
}

button {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  padding: 15px;
  background: #272d3b;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
button:hover {
  background: #1b2130;
}
button:disabled {
  opacity: 0.58;
  cursor: wait;
}
button.secondary {
  background: #eeece6;
  color: #353945;
}
button.secondary:hover {
  background: #e4e1d9;
}
button.danger {
  background: #a52a23;
}
button.danger:hover {
  background: #862019;
}

.text-button {
  width: auto;
  display: block;
  margin: 14px auto 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button:hover {
  background: #f2efe9;
  color: var(--ink);
}
.danger-text {
  color: var(--danger);
}

.delete-confirmation {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e5bbb7;
  border-radius: 14px;
  background: #fdf6f5;
}
.delete-confirmation[hidden] {
  display: none;
}
.delete-confirmation p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.button-row button {
  margin-top: 12px;
}

#guest-start {
  margin-top: 8px;
}

.pill {
  display: inline-block;
  margin: 0 0 12px;
  border-radius: 999px;
  background: #f3ede1;
  color: #675a43;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

.range-note {
  margin: 0 0 8px;
  font-size: 12px;
}

.fortune-week-wrap {
  margin: 16px 0 12px;
}
.fortune-week-wrap h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.fortune-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.week-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0 0;
}

.week-mini-day {
  flex: 1 1 36px;
  min-width: 36px;
  width: auto;
  margin: 0;
  padding: 7px 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft-bg);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.week-mini-day:hover {
  background: var(--button-secondary-hover-bg);
}

.week-mini-day.is-today {
  border-color: var(--ink);
  font-weight: 800;
}

.fortune-day {
  min-height: 44px;
  margin: 0;
  padding: 8px 2px;
  border: 1px solid #d8d4cb;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}
.fortune-day[aria-pressed="true"] {
  background: #272d3b;
  color: #fff;
}
@media (max-width: 390px) {
  .fortune-week {
    gap: 2px;
  }
  .fortune-day {
    font-size: 11px;
  }
}

.score {
  display: grid;
  justify-items: center;
  padding: clamp(16px, 5vw, 24px);
  margin: 16px 0;
  border-radius: 20px;
  background: #f5f3ee;
}
.score strong {
  font-size: clamp(40px, 14vw, 58px);
  line-height: 1;
}
.score span {
  margin-top: 8px;
  color: var(--muted);
}

.summary {
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.grid li {
  padding: 14px 16px;
  border: 1px solid #ece9e1;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.record-note {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #2f6b45;
}
.record-note:empty {
  display: none;
}

.journal-card {
  margin-top: 12px;
}

.retention-copy,
.journal-notice {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.6;
}

.retention-copy {
  margin: 0 0 16px;
  padding: 12px;
  border-radius: 12px;
  background: #f5f3ee;
  color: var(--muted);
}

.journal-notice {
  margin: 0 0 12px;
  color: #2f6b45;
  font-weight: 700;
}

.journal-notice:empty {
  display: none;
}

.journal-panel[hidden],
#journal-form[hidden],
#journal-unlocked[hidden],
.journal-sync[hidden] {
  display: none;
}

.journal-consent {
  align-items: flex-start;
  min-height: 44px;
}

.score-field {
  min-width: 0;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.score-field legend {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.score-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.score-options label {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 9px 5px;
  border: 1px solid #d8d4cb;
  border-radius: 12px;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
}

.score-options input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  accent-color: var(--ink);
}

#journal-unlocked,
.journal-sync {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

#journal-unlocked h3,
.journal-sync h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.journal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journal-list:empty::before {
  content: "아직 저장된 기록이 없습니다.";
  display: block;
  padding: 16px;
  border: 1px dashed #d8d4cb;
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.journal-list-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fdfcf9;
}

.journal-list-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.journal-item-note {
  overflow-wrap: anywhere;
  color: var(--ink) !important;
}

.journal-item-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.journal-item-actions button {
  min-height: 44px;
  margin: 0;
  padding: 10px;
}

.weekly-summary {
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: #f5f3ee;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin: 0;
  font-size: 13px;
}

.summary-grid dt {
  color: var(--muted);
}

.summary-grid dd {
  margin: 0;
  font-weight: 800;
}

.journal-local-actions,
.journal-sync-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.journal-local-actions button,
.journal-sync-grid button {
  min-height: 48px;
}

.journal-local-actions .text-button {
  width: 100%;
  padding: 10px;
}

@media (max-width: 430px) {
  html {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 360px) {
  .score-options,
  .journal-local-actions,
  .journal-sync-grid,
  .sync-actions,
  .button-row {
    grid-template-columns: 1fr;
  }
}

.time-slots {
  margin: 12px 0 0;
  padding: 10px 12px;
  background: var(--soft-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.time-slots h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
}

.time-slots p {
  font-size: 13px;
  line-height: 1.6;
  margin: 2px 0;
}

.time-slots-good {
  color: var(--ink);
}

.time-slots-caution {
  color: var(--muted);
}

.monthly-card {
  margin-top: 12px;
}

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

.monthly-head h3 {
  font-size: 15px;
  margin: 0;
}

.monthly-average {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.monthly-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 6px 0 10px;
}

.monthly-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.monthly-cat {
  font-size: 12px;
  padding: 3px 8px;
  background: var(--soft-bg);
  border-radius: 999px;
}

.monthly-days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.monthly-days h4 {
  font-size: 12px;
  margin: 0 0 4px;
  color: var(--muted);
}

.monthly-day-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.7;
}

/* 이번 달 달력 그리드 */
.monthly-calendar {
  margin: 8px 0 10px;
}

.monthly-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.monthly-cal-weekdays span {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  padding: 2px 0;
}

.monthly-cal-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.monthly-cal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 44px;
  padding: 4px 2px;
  border-radius: 8px;
  background: var(--soft-bg);
}

.monthly-cal-cell.is-gap {
  background: transparent;
}

/* 길일·유의일은 색뿐 아니라 하단 텍스트 목록으로도 전달된다 (색-only 의미 금지). */
.monthly-cal-cell.good {
  background: #e6efe3;
  color: var(--ink);
}

.monthly-cal-cell.bad {
  background: #f6e5e2;
  color: var(--ink);
}

.monthly-cal-day {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.monthly-cal-score {
  font-size: 10px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.monthly-cal-cell.good .monthly-cal-score {
  color: #2f6b45;
}

.monthly-cal-cell.bad .monthly-cal-score {
  color: #b3261e;
}

@media (prefers-color-scheme: dark) {
  .monthly-cal-cell.good {
    background: #26332a;
  }

  .monthly-cal-cell.bad {
    background: #3a2724;
  }

  .monthly-cal-cell.good .monthly-cal-score {
    color: #7cc493;
  }

  .monthly-cal-cell.bad .monthly-cal-score {
    color: #ff8a80;
  }
}

.result-subhead {
  font-size: 15px;
  margin: 20px 0 0;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.pillar-cell {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
  display: grid;
  gap: 6px;
}

.pillar-cell .pillar-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}

.pillar-cell > strong {
  font-size: 16px;
}

.pillar-char {
  border-radius: 8px;
  padding: 6px 2px;
  display: grid;
  gap: 1px;
  border: 1px solid transparent;
}

.pillar-char strong {
  font-size: 20px;
  line-height: 1.2;
}

.pillar-hangul {
  font-size: 11px;
  font-weight: 700;
}

.pillar-ten-god {
  font-size: 10px;
  color: var(--muted);
}

.element-wood {
  background: #eef5ee;
  border-color: #cfe0cf;
  color: #2f6b45;
}
.element-fire {
  background: #faf0ec;
  border-color: #ecd3c8;
  color: #a33f2c;
}
.element-earth {
  background: #f8f3e6;
  border-color: #e8dcb8;
  color: #7d6220;
}
.element-metal {
  background: #f1f2f4;
  border-color: #dcdfe4;
  color: #4c5561;
}
.element-water {
  background: #edf1f7;
  border-color: #d3dcea;
  color: #2e4a75;
}

.element-summary {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.element-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.element-name {
  flex: 0 0 84px;
  font-size: 12px;
  font-weight: 700;
}

.element-track {
  flex: 1;
  height: 10px;
  border-radius: 5px;
  background: #f0ede5;
  overflow: hidden;
}

.element-bar {
  display: block;
  height: 100%;
  border-radius: 5px;
  min-width: 4px;
}

.element-fill-wood {
  background: #4c8a5b;
}
.element-fill-fire {
  background: #c05a40;
}
.element-fill-earth {
  background: #bd9b4a;
}
.element-fill-metal {
  background: #939aa5;
}
.element-fill-water {
  background: #52719e;
}

.element-count {
  flex: 0 0 16px;
  text-align: right;
  font-weight: 700;
}

.element-reading {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.element-reading p {
  margin: 6px 0 0;
}

.result-evidence {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 13px;
}

.result-evidence summary {
  cursor: pointer;
  font-weight: 800;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.result-evidence p {
  margin: 8px 0 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.fortune-card {
  background: #fbf7ee;
  border: 1px solid #eadfc6;
  border-radius: 16px;
  padding: 16px;
  margin-top: 14px;
}

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

.fortune-head h3 {
  margin: 0;
  font-size: 16px;
}

.fortune-date {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.fortune-score-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}

.fortune-overall {
  font-size: 30px;
  line-height: 1;
}

.fortune-ganji {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.fortune-text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.fortune-categories {
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed #e0d4b8;
  display: grid;
  gap: 10px;
}

.fortune-cat-head {
  font-size: 12px;
  font-weight: 700;
}

.fortune-stars {
  color: #c8891a;
  letter-spacing: 1px;
}

.fortune-categories p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.fortune-lucky {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 0 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #eadfc6;
  border-radius: 10px;
}

.fortune-lucky dt {
  font-size: 10px;
  color: var(--muted);
}

.fortune-lucky dd {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.daymaster-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-top: 14px;
}

.daymaster-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.daymaster-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.daymaster-emoji {
  font-size: 40px;
  line-height: 1;
}

.daymaster-main h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
}

.daymaster-stem {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.daymaster-keywords {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #2f6b45;
}

.daymaster-summary {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.personality-card {
  margin-top: 4px;
}

.personality-block {
  margin-top: 14px;
}

.personality-block h4 {
  margin: 0;
  font-size: 13px;
}

.personality-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
}

.personality-text {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
}

.engine-note {
  margin: 16px 0 0;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

.engine-note:empty {
  display: none;
}

footer {
  font-size: 11px;
  text-align: center;
  padding: 20px 10px 0;
}

.privacy-note {
  margin-top: 14px;
  text-align: left;
}

.privacy-note h2 {
  font-size: 11px;
}

.privacy-note ul {
  margin: 6px 0 0;
  padding-left: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    transition: opacity 0.18s ease;
  }
}

/*-------------------------------------------------------------------------
 * D7 — dark mode (appended, additive only).
 *
 * Every rule below resolves to the SAME color its original rule already
 * painted in light mode, so the existing light appearance is unchanged.
 * New palette custom properties keep the light values as defaults, and the
 * @media (prefers-color-scheme: dark) block overrides them for users that
 * prefer dark. No existing rule was restructured or reformatted.
 *-------------------------------------------------------------------------*/

:root {
  color-scheme: light dark;

  /* page surface */
  --page-bg: #ece9e2;
  --surface-bg: #faf9f6;

  /* cards / panels */
  --card-bg: #ffffff;
  --soft-bg: #f5f3ee;
  --journal-item-bg: #fdfcf9;

  /* form controls */
  --input-bg: #ffffff;
  --input-line: #d8d4cb;
  --input-disabled-bg: #f0eee9;

  /* buttons */
  --button-bg: #272d3b;
  --button-hover-bg: #1b2130;
  --button-ink: #ffffff;
  --button-secondary-bg: #eeece6;
  --button-secondary-hover-bg: #e4e1d9;
  --button-secondary-ink: #353945;
  --button-danger-bg: #a52a23;
  --button-danger-hover-bg: #862019;
  --hover-bg: #f2efe9;

  /* supporting surfaces / accents */
  --danger-soft-bg: #fdf6f5;
  --danger-soft-line: #e5bbb7;
  --accent-ink: #2f6b45;
  --fortune-bg: #fbf7ee;
  --fortune-line: #eadfc6;
  --fortune-rule: #e0d4b8;
  --pill-bg: #f3ede1;
  --pill-ink: #675a43;
  --track-bg: #f0ede5;
  --grid-line: #ece9e1;

  background: var(--page-bg);
  color: var(--ink);
}

body {
  background: var(--page-bg);
}

.phone {
  background: var(--surface-bg);
}

.card,
.fortune-day,
.fortune-lucky {
  background: var(--card-bg);
}

.score,
.weekly-summary,
.retention-copy {
  background: var(--soft-bg);
}

.journal-list-item {
  background: var(--journal-item-bg);
}

input,
select,
textarea {
  background: var(--input-bg);
  border-color: var(--input-line);
}

input:disabled {
  background: var(--input-disabled-bg);
}

button {
  background: var(--button-bg);
  color: var(--button-ink);
}
button:hover {
  background: var(--button-hover-bg);
}
button.secondary {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-ink);
}
button.secondary:hover {
  background: var(--button-secondary-hover-bg);
}
button.danger {
  background: var(--button-danger-bg);
}
button.danger:hover {
  background: var(--button-danger-hover-bg);
}

.text-button:hover {
  background: var(--hover-bg);
}

.delete-confirmation {
  background: var(--danger-soft-bg);
  border-color: var(--danger-soft-line);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"],
fieldset[aria-invalid="true"] {
  background: var(--danger-soft-bg);
}

.account-notice,
.journal-notice,
.record-note,
.daymaster-keywords {
  color: var(--accent-ink);
}

.fortune-card {
  background: var(--fortune-bg);
  border-color: var(--fortune-line);
}
.fortune-categories {
  border-top-color: var(--fortune-rule);
}

.pill {
  background: var(--pill-bg);
  color: var(--pill-ink);
}

.element-track {
  background: var(--track-bg);
}

.grid li {
  border-color: var(--grid-line);
}

.journal-list:empty::before {
  border-color: var(--input-line);
}

.counsel-output {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.counsel-title {
  color: var(--accent-ink);
  margin: 0 0 10px;
}

.counsel-paragraphs p {
  margin: 0 0 10px;
  line-height: 1.7;
}

.counsel-paragraphs p:last-child {
  margin-bottom: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8e6e0;
    --muted: #9a9da6;
    --line: #363a3f;
    --danger: #ff8a80;
    --focus: #8ab4ff;

    --page-bg: #12141a;
    --surface-bg: #1a1d24;

    --card-bg: #21252e;
    --soft-bg: #1c2028;
    --journal-item-bg: #242933;

    --input-bg: #1a1d24;
    --input-line: #3a3f4a;
    --input-disabled-bg: #2a2e38;

    --button-bg: #3d4557;
    --button-hover-bg: #48516a;
    --button-ink: #f4f3ef;
    --button-secondary-bg: #2c3039;
    --button-secondary-hover-bg: #363b46;
    --button-secondary-ink: #d9dbe0;
    --button-danger-bg: #7a2c26;
    --button-danger-hover-bg: #65221d;
    --hover-bg: #2a2e38;

    --danger-soft-bg: #2b1f1f;
    --danger-soft-line: #5c3a37;
    --accent-ink: #7cc493;
    --fortune-bg: #262119;
    --fortune-line: #4a4030;
    --fortune-rule: #453c2c;
    --pill-bg: #332d22;
    --pill-ink: #d8c9a8;
    --track-bg: #2a2e38;
    --grid-line: #33373f;
  }

  #guest-start {
    background: var(--button-secondary-bg);
    color: var(--button-secondary-ink);
  }

  .week-mini-day {
    background: var(--soft-bg);
    border-color: var(--line);
    color: var(--ink);
  }

  .week-mini-day.is-today {
    background: var(--button-secondary-hover-bg);
  }

  .gunghap-score {
    color: var(--accent-ink);
  }

  .gunghap-gauge-track {
    background: var(--track-bg);
  }

  .gunghap-section,
  .gunghap-band,
  .gunghap-sub-score-track {
    background: var(--soft-bg);
    border-color: var(--line);
  }

  .home-gunghap-card {
    background: var(--card-bg);
  }
}

/* 상단 페이지 내비게이션 (운세 / 상담 / 기록) */
.page-nav {
  position: sticky;
  bottom: 8px;
  z-index: 30;
  display: flex;
  gap: 4px;
  margin: 14px 0 0;
  padding: 3px;
  background: var(--soft-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.page-nav a {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 8px 0;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.page-nav a:hover {
  background: var(--hover-bg);
  color: var(--ink);
}

.page-nav a[aria-current="page"] {
  background: var(--card-bg);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(31, 36, 48, 0.12);
}

.page-nav a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

/* 공유 링크 패널 · 공유받은 사주 결과 */
.share-link-panel {
  margin-top: 10px;
  padding: 12px;
  background: var(--soft-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.share-link-panel label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--muted);
}

.share-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.share-link-row input {
  min-width: 0;
  font-size: 13px;
}

.share-view-card {
  border-color: var(--fortune-line);
  background: var(--fortune-bg);
}

.share-view-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: keep-all;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pill-ink);
}

/* 홈 기능 바로가기 카드 */
.feature-grid {
  display: grid;
  gap: 10px;
  margin: 0 4px 14px;
}

.feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease;
}

.feature-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 36, 48, 0.1);
}

.feature-emoji {
  grid-row: 1 / 3;
  font-size: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--soft-bg);
  border-radius: 12px;
}

.feature-card strong {
  font-size: 15px;
}

.feature-card span:last-child {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* 홈 — 한 화면 컴팩트 */
body.home-page {
  padding: 0;
}

.phone.home {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 14px calc(8px + 50px + env(safe-area-inset-bottom));
}

.phone.home header {
  padding: 8px 4px 6px;
}

.phone.home header h1 {
  font-size: 19px;
  line-height: 1.35;
  margin: 2px 0 0;
}

.phone.home .eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
}

.phone.home .page-nav {
  margin: 8px 0 0;
}

.phone.home .fortune-summary-card {
  padding: 10px 14px;
}

.phone.home .fortune-summary-card h2 {
  font-size: 15px;
  margin-bottom: 3px;
}

.phone.home .fortune-summary-body {
  font-size: 13px;
  margin: 0 0 6px;
}

.phone.home .fortune-summary-card .secondary {
  width: 100%;
}

.phone.home .mood-card {
  padding: 8px 12px 10px;
}

.phone.home .mood-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.phone.home .mood-head h2 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.phone.home .mood-streak {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.phone.home .mood-options {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin: 6px 0 0;
}

.phone.home .mood-option {
  flex: 1;
  max-width: 46px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
}

.phone.home .mood-option:active {
  transform: scale(0.92);
}

.phone.home .mood-option[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--soft-bg);
}

.phone.home .mood-week {
  display: flex;
  justify-content: space-between;
  margin: 8px 2px 0;
}

.phone.home .mood-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.phone.home .mood-dot[data-score="5"] {
  background: #4caf7d;
}
.phone.home .mood-dot[data-score="4"] {
  background: #8fd0a8;
}
.phone.home .mood-dot[data-score="3"] {
  background: #d9c27a;
}
.phone.home .mood-dot[data-score="2"] {
  background: #d99a7a;
}
.phone.home .mood-dot[data-score="1"] {
  background: #c96f6f;
}

.phone.home .mood-dot[data-today="true"] {
  box-shadow:
    0 0 0 2px var(--surface-bg),
    0 0 0 4px var(--ink);
}

.phone.home .feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 8px;
}

.phone.home .feature-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  padding: 10px 6px;
}

.phone.home .feature-emoji {
  width: 38px;
  height: 38px;
  font-size: 19px;
  grid-row: auto;
}

.phone.home .feature-card strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 13px;
}

/* 계정 접이식 토글 */
.account-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 2px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.account-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 8px;
}

.account-caret {
  color: var(--muted);
  transition: transform 0.15s ease;
}

.account-toggle[aria-expanded="true"] .account-caret {
  transform: rotate(180deg);
}

/* 홈 푸터 소형 */
.phone.home footer {
  margin-top: auto;
  padding-top: 6px;
  padding-bottom: 2px;
}

.phone.home footer > p {
  font-size: 12px;
  color: var(--muted);
}

.phone.home .privacy-note {
  display: none;
}

/*-------------------------------------------------------------------------
 * T7 — 콘텐츠 6종 카드 (운로그 콘텐츠 확장, additive only).
 * 기존 .card/.field-hint/.text-button 토큰만 재사용, 375px 컴팩트 유지.
 *-------------------------------------------------------------------------*/

.phone.home .home-content-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}

.phone.home .home-content-cards .card {
  padding: 10px 14px;
}

.home-content-cards h2 {
  font-size: 15px;
  margin: 0 0 4px;
}

/* 오늘의 미션 */
.mission-body {
  font-size: 14px;
  font-weight: 700;
  margin: 2px 0;
  line-height: 1.55;
}

.mission-candidates {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mission-candidate {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  background: var(--soft-bg);
  border-radius: 10px;
  font-size: 13px;
}

.mission-candidate strong {
  font-size: 13px;
  line-height: 1.5;
}

.mission-candidate span {
  color: var(--muted);
  line-height: 1.55;
}

.mission-candidate[data-selected="true"] {
  outline: 1px solid var(--ink);
  outline-offset: -1px;
}

/* 오늘 운세 적중도 */
.accuracy-score {
  font-size: 26px;
  font-weight: 800;
  margin: 2px 0 0;
  line-height: 1.2;
}

.accuracy-label {
  margin: 0 0 8px;
  font-size: 13px;
}

.accuracy-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.accuracy-groups h3 {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 4px;
}

.accuracy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3px;
  font-size: 13px;
}

.accuracy-empty {
  color: var(--muted);
}

/* D-데이 이벤트 운세 */
.event-fortune-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 4px;
}

.event-fortune-button {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.event-fortune-button:hover {
  background: var(--button-secondary-hover-bg);
}

.event-fortune-button[aria-pressed="true"] {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.event-fortune-guide {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 0;
}

.event-fortune-output {
  font-size: 13px;
}

.event-fortune-output h3 {
  font-size: 14px;
  margin: 8px 0 4px;
  line-height: 1.5;
}

.event-fortune-output h4 {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 3px;
}

.event-fortune-output p {
  margin: 0 0 6px;
  line-height: 1.6;
}

.event-fortune-output ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
}

.event-fortune-saved {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  line-height: 1.6;
}

.event-fortune-pill {
  background: var(--soft-bg);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* 관계 온도 */
.relationship-temperature {
  font-size: 26px;
  font-weight: 800;
  margin: 2px 0 0;
  line-height: 1.2;
}

.relationship-label {
  font-size: 13px;
  margin: 0 0 4px;
}

.relationship-text {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 6px;
}

/* 이번 달 회고 */
.monthly-retrospective-heading {
  display: block;
  font-size: 14px;
  margin: 2px 0 4px;
  line-height: 1.5;
}

.monthly-retrospective-output p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
}

/* 이번 달 기분 달력 */
.mood-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin: 8px 0 0;
}

.mood-month-cell {
  min-width: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--ink);
  background: var(--soft-bg);
  border-radius: 6px;
}

.mood-month-blank {
  min-width: 0;
  aspect-ratio: 1;
}

.mood-month-cell[data-score="5"] {
  background: #4caf7d;
  color: #fff;
}

.mood-month-cell[data-score="4"] {
  background: #8fd0a8;
}

.mood-month-cell[data-score="3"] {
  background: #d9c27a;
}

.mood-month-cell[data-score="2"] {
  background: #d99a7a;
}

.mood-month-cell[data-score="1"] {
  background: #c96f6f;
  color: #fff;
}

.mood-month-cell[data-today="true"] {
  box-shadow:
    0 0 0 2px var(--surface-bg),
    0 0 0 4px var(--ink);
}

/*-------------------------------------------------------------------------
 * T9 — 미션 완료 / 연간 감정 지도 / 공유 / 기록 열기 CTA / 상담 추천 질문
 * 기존 토큰(.card/.secondary/.text-button/.field-hint)만 재사용, additive only.
 *-------------------------------------------------------------------------*/

.mission-actions,
.mood-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mission-actions button,
.mood-actions button {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 999px;
}

button#mission-complete.is-complete {
  background: var(--soft-bg);
  color: var(--ink);
}

.mission-body.mission-complete {
  text-decoration: line-through;
  color: var(--muted);
}

.share-status {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.year-calendar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 10px 0 0;
}

.year-calendar-month {
  display: grid;
  gap: 2px;
  padding: 6px 4px;
  background: var(--soft-bg);
  border-radius: 8px;
  text-align: center;
}

.year-calendar-month strong {
  font-size: 12px;
  line-height: 1.3;
}

.year-calendar-month span {
  color: var(--muted);
  font-size: 11px;
}

.unlock-cta {
  margin-top: 10px;
  background: var(--button-secondary-bg);
  color: var(--button-secondary-ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.unlock-cta:hover {
  background: var(--button-secondary-hover-bg);
}

.counsel-suggest {
  display: grid;
  gap: 6px;
  margin: 10px 0;
}

.counsel-suggest[hidden] {
  display: none;
}

.counsel-suggest > strong {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.counsel-suggest-chip {
  text-align: left;
  background: var(--button-secondary-bg);
  color: var(--button-secondary-ink);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.counsel-suggest-chip:hover {
  background: var(--button-secondary-hover-bg);
}

button.event-fortune-pill {
  background: var(--soft-bg);
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  cursor: pointer;
}

button.event-fortune-pill:hover {
  background: var(--button-secondary-hover-bg);
}

/* 궁합 결과 */
.gunghap-card,
.gunghap-result,
.gunghap-sections,
.gunghap-section {
  min-width: 0;
}

.gunghap-result {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.gunghap-result[hidden] {
  display: none;
}

.gunghap-score {
  margin: 2px 0 10px;
  color: var(--accent-ink);
  font-size: clamp(34px, 10vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.gunghap-gauge-track {
  width: 100%;
  height: 12px;
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--track-bg);
}

.gunghap-gauge {
  width: 0;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: var(--accent-ink);
  transition: width 0.2s ease;
}

.gunghap-pillars {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.gunghap-sections {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.gunghap-section {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft-bg);
  overflow-wrap: anywhere;
}

.gunghap-section h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
}

.gunghap-section p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.gunghap-band {
  min-width: 0;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft-bg);
  overflow-wrap: anywhere;
}

.gunghap-band-label {
  display: block;
  color: var(--accent-ink);
  font-size: 16px;
  line-height: 1.45;
}

.gunghap-band-desc {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.gunghap-sub-scores {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin-top: 14px;
}

.gunghap-sub-score {
  min-width: 0;
}

.gunghap-sub-score-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.gunghap-sub-score-head span,
.gunghap-sub-score-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.gunghap-sub-score-head strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.gunghap-sub-score-track {
  width: 100%;
  height: 8px;
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--track-bg);
}

.gunghap-sub-score-bar {
  width: 0;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: var(--accent-ink);
  transition: width 0.2s ease;
}

.gunghap-perspectives {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 16px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
}

.gunghap-perspectives li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.6;
}

.gunghap-perspectives strong {
  color: var(--accent-ink);
  white-space: nowrap;
}

.gunghap-perspectives p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.gunghap-partner-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin-top: 16px;
}

.gunghap-partner-actions button {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px 8px;
  font-size: 13px;
}

.gunghap-partner-actions button[hidden] {
  display: none;
}

.home-gunghap-card {
  min-width: 0;
  cursor: pointer;
}

.home-gunghap-card h2 {
  margin: 0 0 2px;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.home-gunghap-score {
  margin: 2px 0 0;
  color: var(--accent-ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.home-gunghap-band {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.home-gunghap-text {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.home-gunghap-link {
  display: inline-block;
  max-width: 100%;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

@media (max-width: 360px) {
  .gunghap-partner-actions {
    grid-template-columns: 1fr;
  }
}

/*-------------------------------------------------------------------------
 * 리텐션 훅 — 미션 완료 후 '내일 이어가기' 예고 + 회고 알림 구독 제안.
 * 기존 토큰(.card/.secondary/.text-button/.share-status)만 재사용, additive only.
 *-------------------------------------------------------------------------*/

.mission-follow-up {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--soft-bg);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.push-prompt-body {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.push-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.push-prompt-actions button {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 999px;
}

@media (max-width: 360px) {
  .push-prompt-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
