:root {
  --paper: #f4f0e8;
  --paper-deep: #eae5dc;
  --white: #fffefd;
  --ink: #5e5953;
  --ink-strong: #403d3a;
  --muted: #999288;
  --line: #b4aea4;
  --gold: #8d7650;
  --red: #c92d35;
  --blue: #304395;
  --teal: #176e70;
  --amber: #bf7211;
  --shadow: 0 20px 70px rgba(70, 62, 52, .12);
}

* { box-sizing: border-box; }

html { background: #eceae5; color: var(--ink); }

body {
  margin: 0;
  min-width: 0;
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(circle at 50% -10%, #fff 0, #eceae5 54%, #e5e1da 100%);
}

button { font: inherit; }

.app-shell {
  min-height: 100dvh;
  display: grid;
  place-items: start center;
}

.app-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 430px);
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.view {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: max(28px, env(safe-area-inset-top)) 24px 32px;
}

.view--monthly { background: var(--white); padding-inline: 14px; }

.loading,
.error {
  align-self: center;
  margin: 30vh 20px;
  color: var(--gold);
  font-family: Georgia, "Yu Mincho", serif;
  letter-spacing: .08em;
  text-align: center;
}

.error { display: grid; gap: 10px; color: var(--ink); }

.today-header {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  margin-top: 42px;
}

.today-date { text-align: center; color: var(--ink-strong); }
.today-date span { font-family: Georgia, "Yu Mincho", serif; font-size: clamp(28px, 8vw, 38px); letter-spacing: .04em; white-space: nowrap; }
.today-date b { display: block; margin-top: 5px; font-size: 13px; font-weight: 500; letter-spacing: .18em; }

.day-arrow {
  border: 0;
  padding: 10px 0;
  color: #918a80;
  background: transparent;
  font-size: 13px;
  white-space: nowrap;
}
.day-arrow:first-child { text-align: left; }
.day-arrow:last-child { text-align: right; }
.day-arrow:disabled { opacity: .22; }

.moon-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  margin: 38px 18px 54px;
}

.moon-track__line {
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: #cbc5bb;
}

.moon-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; }
.moon {
  display: block;
  width: 38px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  transform: none;
}
.moon--mirrored { transform: scaleX(-1); }

.today-caret {
  position: absolute;
  z-index: 2;
  top: 37px;
  left: calc(10% + (var(--moon-position) * 80%));
  display: grid;
  justify-items: center;
  color: var(--ink-strong);
  font-size: 8px;
  line-height: 1;
  transform: translateX(-50%);
}
.today-caret b { margin-top: 3px; font-size: 10px; font-weight: 500; letter-spacing: .04em; }

.daily-content {
  margin: 22px 0 0;
}
.celestial-event {
  width: max-content;
  max-width: 100%;
  margin: -18px auto 28px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--red) 24%, transparent);
  border-radius: 999px;
  color: var(--red);
  background: rgba(255,255,255,.42);
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 13px;
}

.word-card {
  min-height: 144px;
  padding: 25px 25px 23px;
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 9px 34px rgba(94, 82, 68, .05);
}
.eyebrow { color: #8d867d; font-family: Georgia, serif; font-size: 14px; }
.word-card p {
  margin: 18px 0 0;
  color: #5b5651;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 21px;
  line-height: 1.65;
  letter-spacing: .02em;
}

.daily-guidance { margin: 46px 16px 0; display: grid; gap: 32px; }
.guidance-row { display: grid; gap: 10px; }
.guidance-meta { display: flex; align-items: center; gap: 14px; min-height: 27px; }
.guidance-meta time { color: #7e776e; font-family: Georgia, serif; font-size: 14px; }
.guidance-row p {
  margin: 0;
  color: #67615b;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 22px;
  line-height: 1.48;
  letter-spacing: .035em;
}
.empty-copy { color: var(--muted); text-align: center; }

.marks { display: inline-flex; align-items: center; gap: 7px; min-height: 24px; }
.marks--compact { gap: 3px; min-height: 14px; vertical-align: middle; }
.mark { display: inline-block; flex: 0 0 auto; width: 19px; height: 19px; }
.marks--compact .mark { width: 11px; height: 11px; }
.mark--love { position: relative; width: 22px; color: #d54a67; }
.mark--love::before { content: "♥"; display: block; font-size: 23px; line-height: 19px; text-shadow: 0 1px 1px #fff; }
.marks--compact .mark--love::before { font-size: 13px; line-height: 10px; }
.mark--business { border-radius: 4px; background: radial-gradient(circle at 30% 25%, #58a2a0, #177173 58%, #0a3e40); box-shadow: inset -2px -2px 4px rgba(0,0,0,.2); }
.mark--travel { width: 17px; height: 17px; transform: rotate(45deg); border-radius: 4px; background: radial-gradient(circle at 28% 24%, #eca13a, #c77710 55%, #8e5005); box-shadow: inset -2px -2px 3px rgba(0,0,0,.18); }
.marks--compact .mark--travel { width: 10px; height: 10px; border-radius: 2px; }
.mark--focus { border-radius: 50%; background: radial-gradient(circle at 30% 25%, #5b65b8, #303a8c 62%, #20285f); }

.brand { position: relative; width: 80px; height: 82px; color: var(--gold); font-family: Georgia, serif; font-weight: 700; line-height: .68; }
.brand span { position: absolute; left: 0; }
.brand__iro { top: 0; font-size: 25px; }
.brand__uni { top: 25px; font-size: 31px; }
.brand__verse { top: 49px; font-size: 26px; }
.brand .brand__orbit { top: -1px; left: 45px; width: 30px; height: 30px; border: 5px double currentColor; border-radius: 50%; }

.month-title { display: grid; grid-template-columns: 90px 1fr 52px; align-items: end; padding: 8px 4px 18px; }
.month-title__date { display: flex; align-items: baseline; justify-content: center; gap: 5px; color: var(--gold); font-family: Georgia, serif; }
.month-title__date small { font-size: 12px; }
.month-title__date span { font-size: 42px; letter-spacing: -.06em; }
.month-title__date b { font-size: 25px; font-weight: 400; }
.print-button { border: 1px solid #d2cdc5; border-radius: 50%; width: 48px; height: 48px; color: #8f887d; background: #fff; font-size: 9px; letter-spacing: .08em; }

.weekdays,
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.weekdays { margin-bottom: 3px; }
.weekdays span { color: #4d4843; font-family: Georgia, serif; font-size: 9px; font-weight: 700; text-align: center; }
.weekdays span:first-child { color: var(--red); }
.weekdays span:last-child { color: var(--blue); }

.calendar-grid { border-top: 1px solid #dbd7d0; border-left: 1px solid #e1ded8; }
.calendar-cell {
  position: relative;
  min-width: 0;
  min-height: clamp(78px, 20vw, 91px);
  overflow: hidden;
  padding: 6px 4px 5px;
  border: 0;
  border-right: 1px solid #e1ded8;
  border-bottom: 1px solid #e1ded8;
  color: #625c55;
  background: rgba(255,255,255,.74);
  text-align: left;
}
.calendar-cell:active { background: #f2eee7; }
.calendar-cell.is-outside { color: #bab4ac; background: #f5f4f1; }
.calendar-cell.is-sunday .calendar-cell__day { color: var(--red); }
.calendar-cell.is-saturday .calendar-cell__day { color: var(--blue); }
.calendar-cell__top { position: relative; display: flex; align-items: start; min-height: 24px; }
.calendar-cell__day { margin-left: auto; color: var(--gold); font-family: Georgia, serif; font-size: 16px; line-height: 1; }
.calendar-cell__marks { display: flex; align-items: center; min-width: 0; min-height: 12px; }
.boundary { color: #8d8880; font-size: 12px; }
.calendar-moon { position: absolute; top: 13px; right: 0; width: 32px; height: 32px; border-radius: 50%; opacity: .88; }
.calendar-moon--new { background: radial-gradient(circle at 35% 30%, #aaa49b 0, #716b64 70%, #4c4743); }
.calendar-moon--full { background: radial-gradient(circle at 34% 31%, #fff 0, #e8eaf3 54%, #bfc5da); }
.calendar-event { position: relative; z-index: 1; margin: 0 0 2px; color: var(--red); font-family: Georgia, "Yu Mincho", serif; font-size: 8px; line-height: 1.2; white-space: nowrap; }
.calendar-advice { overflow: hidden; color: #77716a; font-size: 7px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.calendar-advice b { font-weight: 500; }
.is-outside .calendar-cell__marks,
.is-outside .calendar-event,
.is-outside .calendar-advice,
.is-outside .calendar-moon { display: none; }

.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; padding: 18px 3px 4px; color: #7e776e; font-size: 8px; }
.legend > span { display: inline-flex; align-items: center; gap: 3px; }
.legend p { flex-basis: 100%; margin: 4px 0 0; text-align: center; line-height: 1.5; }

.bottom-nav {
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(82px + env(safe-area-inset-bottom));
  padding: 12px 28px env(safe-area-inset-bottom);
  border-top: 1px solid rgba(173, 167, 157, .55);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}
.bottom-nav button { display: grid; justify-items: center; gap: 5px; border: 0; color: #aaa49c; background: transparent; font-size: 9px; }
.bottom-nav button.is-active { color: #756b5d; }
.nav-icon { display: block; width: 24px; height: 24px; }
.nav-icon--moon { position: relative; border-radius: 50%; background: currentColor; }
.nav-icon--moon::after { content: ""; position: absolute; top: -3px; left: 9px; width: 23px; height: 23px; border-radius: 50%; background: var(--paper); }
.nav-icon--calendar { position: relative; border: 1.5px solid currentColor; border-radius: 4px; }
.nav-icon--calendar::before { content: ""; position: absolute; left: -1px; right: -1px; top: 6px; border-top: 1.5px solid currentColor; }

.print-sheet { display: none; }

@media (min-width: 700px) {
  .app-shell { padding: 34px 0; }
  .app-frame { height: min(844px, calc(100vh - 68px)); min-height: 0; border-radius: 30px; }
  .view { min-height: 0; max-height: none; }
}

@media print {
  @page { size: A4 landscape; margin: 10mm; }
  html, body { background: #fff !important; }
  .app-shell { display: none !important; }
  .print-sheet {
    display: block;
    width: 277mm;
    height: 190mm;
    padding: 4mm 7mm 3mm;
    color: #655c50;
    background: #fff;
  }
  .print-header { display: flex; align-items: end; gap: 9mm; height: 24mm; }
  .print-header .brand { transform: scale(.9); transform-origin: left bottom; }
  .print-month { display: flex; align-items: baseline; gap: 2mm; color: var(--gold); font-family: Georgia, serif; }
  .print-month small { font-size: 9pt; }
  .print-month span { font-size: 31pt; }
  .print-month b { font-size: 18pt; font-weight: 400; }
  .print-weekdays, .print-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
  .print-weekdays span { padding: 0 2mm 1mm; color: #333; font: 700 7pt Georgia, serif; }
  .print-weekdays span:first-child { color: var(--red); }
  .print-weekdays span:last-child { color: var(--blue); }
  .print-cell { position: relative; min-height: 24mm; padding: 2mm; border-top: .35mm solid #9d9993; overflow: hidden; }
  .print-cell.is-outside { opacity: .3; }
  .print-cell.is-outside > :not(.print-cell__top) { display: none; }
  .print-cell__top { display: flex; align-items: center; min-height: 5mm; }
  .print-cell__top b { margin-left: auto; font: 13pt Georgia, serif; color: var(--gold); }
  .print-cell strong { display: block; margin: 0 0 1mm; color: var(--red); font: 9pt Georgia, "Yu Mincho", serif; }
  .print-cell p { margin: .4mm 0; font-size: 6.7pt; line-height: 1.35; white-space: nowrap; }
  .print-cell time { font-weight: 700; }
  .print-legend { text-align: right; font-size: 6.5pt; }
}

/* Figma is the design source of truth for the two mobile screens below. */
body { background: #f7f6f3; }

.app-shell {
  min-height: 100dvh;
  padding: 20px 0;
  place-items: start center;
}

.app-frame {
  display: block;
  width: 390px;
  max-width: 100%;
  height: 844px;
  min-height: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: none;
}

.view {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.view--today {
  padding: 1px 48px 0;
  background: #f4f0e8;
}

.today-header {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: baseline;
  margin-top: 86px;
}

.today-date { color: #4b4743; }
.today-date span {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", serif;
  white-space: nowrap;
}
.today-date strong { font-size: 31px; font-weight: 400; line-height: 1; }
.today-date i { margin: 0 1px; font-size: 20px; font-style: normal; font-weight: 400; line-height: 1; }
.today-date em { margin-left: 4px; font-size: 20px; font-style: normal; font-weight: 400; line-height: 1; }

.day-arrow { padding: 0; color: #918a80; font-size: 11px; line-height: 1; }
.day-arrow:disabled { opacity: .2; }

.moon-track {
  grid-template-columns: repeat(5, 1fr);
  margin: 28px 0 0;
  height: 49px;
}
.moon-track__line { top: 12px; left: 10%; right: 10%; }
.moon-step { gap: 6px; }
.moon {
  width: 24px;
  height: 24px;
  transform: none;
}
.moon--mirrored { transform: scaleX(-1); }
.today-caret { top: 29px; font-size: 7px; }
.today-caret b {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 400;
  white-space: nowrap;
}
.today-caret b img { display: block; width: 7px; height: 9px; object-fit: contain; }

.celestial-event {
  display: grid;
  justify-items: start;
  gap: 3px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #67615b;
  background: transparent;
  font-family: "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", serif;
  font-size: 21.6px;
  line-height: 1.3;
  letter-spacing: .02em;
  text-align: left;
}
.celestial-event__silence {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.celestial-event__silence-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: -3px;
  font-size: 18px;
  line-height: 1.55;
}
.celestial-event__moon {
  display: inline-flex;
  align-items: center;
  gap: .25em;
  line-height: 1;
}
.celestial-event__moon-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}
.celestial-event__moon-mark--new {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}
.celestial-event__time {
  font-size: 100%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.celestial-event__seasonal { font-size: 100%; line-height: 1.3; }

.daily-guidance {
  display: grid;
  gap: 34px;
  margin: 0;
}
.has-celestial-event .daily-guidance { margin-top: 26px; }
.guidance-row { gap: 8px; }
.guidance-meta { display: grid; justify-items: start; gap: 7px; min-height: 0; }
.guidance-meta time { font-size: 13px; }
.guidance-row p {
  font-family: "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", serif;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: .02em;
}
.guidance-meta .marks { gap: 8px; }
.guidance-meta .mark { width: 19px; height: 19px; }
.guidance-meta .mark--love { width: 21px; }
.guidance-meta .mark--love::before { font-size: 22px; }

.screen-switch {
  position: absolute;
  left: 47px;
  right: 47px;
  bottom: 219px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 46px;
  padding: 0;
  border: 1px solid #aaa398;
  border-radius: 10px;
  color: #81796e;
  background: transparent;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .05em;
}
.screen-switch__label { display: inline-flex; align-items: baseline; }
.screen-switch__to {
  font: inherit;
  line-height: 1;
  letter-spacing: 0;
}

.universe-logo {
  position: absolute;
  left: 50%;
  bottom: 52px;
  width: 75px;
  height: 68px;
  transform: translateX(-50%);
  object-fit: contain;
}

.view--monthly {
  padding: 1px 43px 0;
  background: #eae5dc;
}

.month-title {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  height: 142px;
  padding: 0;
}
.month-arrow {
  border: 0;
  color: #9c9489;
  background: transparent;
  font-size: 17px;
}
.month-arrow:disabled { opacity: .65; }
.month-title__date {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  color: #8c7c66;
  font-family: Didot, "Bodoni 72", "Bodoni Moda", Georgia, serif;
  line-height: 1;
}
.month-title__date small {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
}
.month-title__date span { font-size: 63px; font-weight: 400; letter-spacing: -.1em; }
.month-title__date b { font-size: 63px; font-weight: 400; letter-spacing: -.1em; }
.month-title__asset { display: block; width: 110px; height: 61px; justify-self: center; object-fit: contain; }

.weekdays,
.calendar-grid { grid-template-columns: repeat(7, 1fr); }
.weekdays { margin: 0 0 8px; }
.weekdays span { font-size: 7px; }

.calendar-grid {
  grid-template-rows: repeat(6, 76px);
  gap: 0 6px;
  border: 0;
}
.calendar-cell,
.calendar-cell.is-outside {
  position: relative;
  min-height: 0;
  height: 76px;
  overflow: visible;
  padding: 0;
  border: 0;
  color: #75634b;
  background: transparent;
  text-align: center;
}
.calendar-cell--placeholder { cursor: default; }
.calendar-cell:active { background: transparent; }
.calendar-cell__date {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  display: grid;
  justify-items: center;
  align-items: start;
  pointer-events: none;
}
.calendar-cell__day {
  position: relative;
  z-index: 2;
  grid-area: 1 / 1;
  top: 0;
  left: auto;
  right: auto;
  width: 100%;
  height: 24px;
  margin: 0;
  color: #806c50;
  font-family: "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", serif;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}
.calendar-cell.is-sunday .calendar-cell__day,
.calendar-cell.is-saturday .calendar-cell__day { color: #806c50; }
.calendar-cell__marks {
  position: absolute;
  z-index: 3;
  top: 27px;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1px;
  white-space: nowrap;
  min-height: 12px;
  margin: 0;
}
.calendar-cell .marks--compact { flex: 0 0 auto; flex-wrap: nowrap; gap: 2px; white-space: nowrap; }
.calendar-cell .marks--compact .mark { width: 8px; height: 8px; }
.calendar-cell .marks--compact .mark--love::before { font-size: 11px; line-height: 8px; }
.calendar-cell .marks--compact .mark--travel { width: 7px; height: 7px; }
.calendar-moon {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  top: -5px;
  left: auto;
  right: auto;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 0;
  transform: none;
  justify-self: center;
  object-fit: contain;
  opacity: 1;
  background: none;
}
.calendar-moon--new { top: -2px; width: 29px; height: 29px; background: none; }
.calendar-moon--full { width: 34px; height: 34px; background: none; }
.calendar-silence {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  top: -4px;
  left: auto;
  width: 36px;
  height: 36px;
  transform: none;
  justify-self: center;
  object-fit: contain;
}
.calendar-events {
  position: absolute;
  z-index: 4;
  top: 42px;
  left: -12px;
  right: -12px;
  display: grid;
  gap: 1px;
}
.calendar-event {
  margin: 0;
  color: #d3262f;
  font-family: "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", serif;
  font-size: 7px;
  line-height: 1.15;
  text-align: center;
}
.calendar-advice { display: none; }

.legend {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 190px;
  display: block;
  height: 74px;
  padding: 0;
  color: #867e73;
  font-size: 8.5px;
}
.legend__help {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-size: 8.5px;
}
.legend__row {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.legend__row--marks { top: 32px; }
.legend__row--moon { top: 55px; }
.legend__row > span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.legend-moon {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: none;
}
.legend-silence {
  display: inline-block;
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.calendar-cell.is-selected::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -9px;
  left: 50%;
  width: 46px;
  height: 66px;
  border: 2px solid rgba(126, 121, 113, .72);
  border-radius: 24px;
  background: rgba(158, 153, 145, .13);
  transform: translateX(-50%);
  pointer-events: none;
}
.view--monthly .universe-logo { bottom: 48px; }
.universe-logo-link {
  position: absolute;
  left: 50%;
  bottom: 48px;
  width: 75px;
  height: 68px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
  cursor: pointer;
}
.universe-logo-link img { display: block; width: 75px; height: 68px; object-fit: contain; }

.view--info {
  overflow-y: auto;
  padding: 0 47px 64px;
  color: #81796e;
  background: #eae5dc;
  scrollbar-width: thin;
  scrollbar-color: rgba(129, 121, 110, .28) transparent;
}
.info-hero { min-height: 500px; text-align: center; }
.info-logo-link {
  display: block;
  width: 75px;
  height: 68px;
  margin: 55px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.info-logo-link img { display: block; width: 75px; height: 68px; object-fit: contain; }
.info-hero h1 {
  margin: 54px 0 0;
  font-family: "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .05em;
}
.info-links { display: grid; gap: 9px; margin-top: 36px; }
.info-links a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #aaa398;
  border-radius: 10px;
  color: #81796e;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
}
.privacy-policy {
  margin: 0;
  padding: 18px 16px 24px;
  border: 1px solid #aaa398;
  border-radius: 10px;
  color: #81796e;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 9px;
  line-height: 1.55;
  letter-spacing: .01em;
}
.privacy-policy h2 {
  margin: 0 0 22px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .03em;
}
.privacy-policy h3 {
  margin: 16px 0 4px;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
}
.privacy-policy p { margin: 0 0 6px; }
.privacy-policy a { color: inherit; text-underline-offset: 2px; }
.privacy-policy > p:nth-of-type(1) { margin-bottom: 20px; }
.privacy-policy ul { margin: 0; padding-left: 14px; list-style: "・"; }
.privacy-policy footer { margin-top: 28px; }

.word-card,
.bottom-nav,
.print-sheet { display: none !important; }

@media (max-width: 430px) {
  .app-shell { padding: 0; }
  .app-frame { width: 100%; height: 100dvh; }
  .view--today {
    overflow-y: auto;
    padding-inline: 40px;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
    overscroll-behavior-y: contain;
  }
  .view--today .screen-switch {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 14px);
    margin: 84px auto 0;
  }
  .view--today .universe-logo {
    position: relative;
    left: auto;
    bottom: auto;
    display: block;
    margin: 28px auto 0;
    transform: none;
  }
  .view--monthly {
    overflow-y: auto;
    padding-inline: 34px;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
    overscroll-behavior-y: contain;
  }
  .view--monthly .calendar-grid {
    grid-template-rows: repeat(6, 70px);
  }
  .view--monthly .calendar-cell,
  .view--monthly .calendar-cell.is-outside {
    height: 70px;
  }
  .view--monthly .legend {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 3px;
  }
  .view--monthly .universe-logo-link {
    position: relative;
    left: auto;
    bottom: auto;
    display: block;
    margin: 46px auto 18px;
    transform: none;
  }
  .view--info { padding-inline: 40px; }
}
