/* 오늘의 복 한 알 + 내 복항아리 (js/daily.js): the home section and the yard's panel. Tokens only. */
.daily-slot { display: grid; gap: 12px; justify-items: center; width: 100%; max-width: 520px; }
/* The card: a small tag, one clear sentence, then two labelled lines with hairlines between. */
.daily-card {
  width: 100%;
  padding: 18px 20px 14px;
  border-radius: 20px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.daily-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.daily-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  color: var(--color-ink);
  font-size: 13px;
  font-weight: var(--weight-title);
}
.daily-tags span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-amber); }
.daily-line {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: var(--weight-title);
  line-height: 1.42;
  letter-spacing: var(--tracking-title);
  word-break: keep-all;
  text-wrap: balance;
}
.daily-meta { margin: 14px 0 0; border-top: 1px solid var(--color-line); }
.daily-meta dt { margin-top: 10px; color: var(--color-ink-soft); font-size: 12.5px; font-weight: var(--weight-title); }
.daily-meta dd {
  margin: 2px 0 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  word-break: keep-all;
}
.daily-basis { margin: 10px 0 0; color: var(--color-ink-soft); font-size: 12px; }
.daily-hint, .daily-ask, .daily-cal { margin: 0; color: var(--color-ink-soft); font-size: 14px; word-break: keep-all; }
.daily-ask { color: var(--color-ink); font-size: 15px; }
.daily-form { display: grid; gap: 10px; justify-items: center; width: 100%; }
.daily-inputs { display: flex; gap: 8px; justify-content: center; }
.daily-in {
  height: 48px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-ink);
  font: inherit;
  font-size: 18px;
  text-align: center;
}
.daily-in-y { width: 92px; }
.daily-in-m, .daily-in-d { width: 64px; }
.daily-in:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 1px; }
.daily-err { margin: 0; color: var(--color-ink); font-size: 14px; }
.daily-link {
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--color-ink-soft);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: pointer;
}
/* Small things to do under the card: all the same quiet pill, no underlines, no dots between. */
.daily-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0; }
.daily-chip, .sheet button.daily-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.daily-chip:hover, .sheet button.daily-chip:hover { border-color: var(--color-ink-soft); }
.daily-chip:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
.sheet .daily-actions { flex-wrap: wrap; justify-content: center; }
.daily-actions { justify-content: center; }
/* The jar: its picture, how many days are in it, and a thin bar that fills. */
.daily-jarbox { display: grid; justify-items: center; gap: 8px; }
.daily-jar { width: clamp(96px, 24svh, 230px); height: auto; overflow: visible; }
.daily-jar-body { fill: var(--color-surface); }
.daily-jar-fill { fill: var(--color-amber); }
.daily-jar.is-gold .daily-jar-fill { fill: var(--color-amber-deep); }
.daily-jar-line { fill: none; stroke: var(--color-amber-deep); stroke-width: 2; stroke-linejoin: round; }
.daily-jarinfo { display: grid; gap: 7px; justify-items: center; width: 100%; max-width: 240px; }
.daily-jarcap { margin: 0; color: var(--color-ink); font-size: 15px; font-weight: var(--weight-title); }
.daily-gold { color: var(--color-ink-soft); font-weight: var(--weight-body); }
.daily-prog { width: 100%; height: 6px; border-radius: var(--radius-pill); background: var(--color-line); overflow: hidden; }
.daily-prog i { display: block; min-width: 6px; height: 100%; border-radius: inherit; background: var(--color-amber-deep); }
.daily-full { margin: 0; color: var(--color-ink); font-weight: var(--weight-title); }
.daily-month { width: 100%; padding: 12px 16px; border: 1px dashed var(--color-line); border-radius: 14px; text-align: left; }
.daily-month-title, .daily-days-label { margin: 0; color: var(--color-ink); font-weight: var(--weight-title); }
.daily-days-label { margin-top: 8px; font-size: 14px; }
.daily-days { margin: 4px 0 0; padding-left: 18px; color: var(--color-ink); font-size: 14px; }
/* Home: side by side on wide screens; once the card is open the jar steps back a little. */
@media (min-width: 900px) {
  .daily { flex-direction: row; gap: 72px; }
  .daily .copy { max-width: 560px; }
}
.daily.is-open .daily-jar { width: clamp(80px, 18svh, 180px); }
/* The yard's panel is small: the card sits flat on it, and the jar becomes one tidy row. */
.sheet .daily-card { padding: 14px 16px 12px; box-shadow: none; border: 1px solid var(--color-line); border-radius: 16px; }
.sheet .daily-line { font-size: 19px; }
.sheet .daily-jarbox {
  grid-template-columns: 44px 1fr;
  align-items: center;
  justify-items: stretch;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: var(--color-surface);
}
.sheet .daily-jar { width: 44px; }
.sheet .daily-jarinfo { justify-items: stretch; max-width: none; }
.sheet .daily-links { justify-content: flex-start; margin-top: 10px; }
@media (max-width: 599px) {
  .daily .daily-jar { width: clamp(80px, 16svh, 150px); }
  .daily.is-open .daily-jar { width: 64px; }
  .daily.is-open .daily-jarbox { grid-template-columns: auto 1fr; align-items: center; }
  .daily .daily-card { padding: 16px 16px 12px; }
  .daily .daily-line { font-size: 19px; }
  .sheet .daily-line { font-size: 17px; }
  .sheet .daily-meta dd { font-size: 15px; }
}

/* daily-font:start */
/* Generated by scripts/fonts.js: letters only 오늘의 복 shows. */
@font-face {
  font-family: "Danji Sans";
  src: url("/fonts/DanjiSans-daily.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+AC12,U+AC16,U+AD70,U+AE09,U+AFC0,U+B059,U+B0BC,U+B0C9,U+B109,U+B2A5,U+B2E6,U+B454,U+B4DD,U+B4E3,U+B6AB,U+B79C,U+B7F0,U+B7FF,U+B86D,U+B958,U+B9BF,U+B9D9,U+B9E1,U+BAAB,U+BC00,U+BC16,U+BC8C,U+BC97,U+BCCD,U+C19F,U+C219,U+C2B7,U+C2F9,U+C3D9,U+C42C,U+C465,U+C553,U+C5BB,U+C637,U+C717,U+C785,U+C7C1,U+C811,U+C990,U+C9CA,U+CABC,U+CB49,U+CC0D,U+CC2C,U+CC3C,U+CCAD,U+CD9C,U+CE35,U+CE6D,U+CE98,U+D0A8,U+D0AC,U+D0C1,U+D138,U+D280,U+D2F4,U+D3F0,U+D614,U+D61C,U+D669,U+D6D1,U+D734;
}
/* daily-font:end */
