[hidden] { display: none !important; }
@font-face { font-family: Nunito; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/nunito-regular.ttf') format('truetype'); }
@font-face { font-family: Nunito; font-style: normal; font-weight: 600 700; font-display: swap; src: url('./fonts/nunito-semibold.ttf') format('truetype'); }
#inside { position: fixed; inset: 0; overflow-y: auto; background: #fff1f5; color: #57434b; font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
#inside * { box-sizing: border-box; }
#inside button, #inside a { font: inherit; cursor: pointer; }
#inside button:focus-visible, #inside a:focus-visible { outline: 2px solid #ac5c69; outline-offset: 4px; }
.home-view { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.choices { display: flex; flex-direction: column; width: min(100%, 280px); gap: 16px; }
.choice { min-width: 140px; padding: 22px 28px; border: 1px solid #dfd3cd; border-radius: 14px; color: inherit; }
.pink { background: #f4e6e3; }
.green { background: #e9ede1; }
#navigation { max-width: 740px; margin: auto; display: flex; justify-content: space-between; padding: 18px 24px; }
#navigation a, #navigation button { background: none; border: 0; color: #877c74; text-decoration: none; padding: 8px; }
.navigation-start { display: flex; align-items: center; gap: 8px; }
#navigation #restart { font-size: 20px; }
#diary { max-width: 800px; margin: auto; padding: 18px 24px 48px; }
.timeline { position: relative; }
@media (hover: hover) and (pointer: fine) {
  .entry:hover .date-tile { transform: scale(1.28); color: #ac5c69; }
  .entry:has(+ .entry:hover) .date-tile, .entry:hover + .entry .date-tile { transform: scale(1.1); }
  .entry:hover .notes { transform: translateX(4px) scale(1.015); box-shadow: 0 10px 28px #70574414; border-color: #dcc7bf; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline .entry .date-tile, .timeline .entry .notes { transition: none; transform: none; }
}
.entry { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: start; margin: 0 0 24px; }
.entry-date { padding-top: 22px; }
.date-tile { display: flex; flex-direction: column; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; transform-origin: center; transition: transform 220ms cubic-bezier(.2,.8,.3,1.2); }
.date-day { font-size: 14px; font-weight: 600; color: #705b54; }
.date-year { font-size: 10px; color: #93837a; }
.notes { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 24px; border: 1px solid #e7ded5; border-radius: 18px; background: #fffdfa; box-shadow: 0 4px 0 #eee6de70, 0 8px 24px #70574405; }
.notes::before { content: ''; position: absolute; top: 24px; left: -6px; width: 10px; height: 10px; background: #fffdfa; border-left: 1px solid #e7ded5; border-bottom: 1px solid #e7ded5; transform: rotate(45deg); }
.notes { transform-origin: left center; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.notes { background: #fffafc; border-color: #eedce3; box-shadow: 0 4px 0 #f2dfe750, 0 8px 24px #97576f06; }
.notes::before { background: #fffafc; border-color: #eedce3; }
.note { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.note + .note { padding-top: 18px; border-top: 1px dashed #e6dcd4; }
.note-author { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 11px; background: #f5e1e5; color: #985c70; font-size: 12px; font-weight: 650; }
.note-t .note-author { background: #e7eddd; color: #697a50; }
.note p { font-size: 16px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; color: #57434b; }
#original-site, #g-site, #gabcha-site { display: block; border: 0; width: 100%; height: calc(100svh - 76px); min-height: 580px; }
@media (max-width: 480px) {
  .choices { gap: 12px; }
  .choice { min-width: 0; padding: 18px 22px; }
  #diary { padding: 8px 16px 30px; }
  .entry { grid-template-columns: 45px minmax(0, 1fr); gap: 10px; }
  .date-day { font-size: 12px; }
  .notes { padding: 20px 16px; border-radius: 14px; }
  .notes::before { display: none; }
  .note { gap: 10px; }
}
