.daily { scroll-margin-top: 20px; }
.daily .section-head { align-items: center; }
.daily h2 { margin-top: 0; }
.daily-sign { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .88rem; }
.daily-sign select, .form-row select {
  min-height: 42px; padding: .48rem .72rem; border: 1px solid #cbb0ff64; border-radius: 9px; color: var(--ink);
  background: #23182f; font: inherit;
}
.daily-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.daily-nav button {
  color: var(--violet); border: 1px solid var(--line); border-radius: 999px; background: #1c1427;
  padding: .55rem 1rem; min-height: 42px; font-size: .88rem;
}
.daily-nav button[aria-pressed=true] { color: #211025; background: #f1c0dc; border-color: #ffe0ef; font-weight: 650; }
.daily-panel {
  border: 1px solid #c09deb57; border-radius: 21px; padding: clamp(1.05rem,3.5vw,2.5rem);
  background: radial-gradient(ellipse at 95% 0%,#41285288,transparent 58%),linear-gradient(116deg,#1c142a,#100e1e);
}
.daily-panel[data-view=bottle] { background: radial-gradient(ellipse at 80% 20%,#25395599,transparent 65%),#121120; }
.daily-heading, .daily-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.daily-heading h3 { font-size: clamp(1.6rem,3.5vw,2.4rem); margin-bottom: .3rem; }
.daily-heading p { max-width: 44em; }
.daily-heading .actions { flex-shrink: 0; }
.daily-stack, .mood-journal { display: grid; gap: .6rem; }
.daily-stack:not(:empty), .daily-history { margin-top: 1rem; }
.daily-row, .mood-person {
  padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: #151020ab; overflow-wrap: anywhere;
}
.daily-copy { min-width: 0; }
.daily-copy p,.mood-person p { color: var(--muted); white-space: pre-wrap; font-size: .94rem; }
.daily-actions { display: flex; gap: .45rem; flex-wrap: wrap; flex-shrink: 0; }
.daily-panel button:disabled { cursor: default; }
.daily-meta { color: #dcb5d6; font-size: .85rem; }
.mood-columns { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: clamp(1rem,3vw,2rem); margin-top: 1.1rem; }
.mood-month { padding: .8rem; background: #110e1fc4; border: 1px solid var(--line); border-radius: 14px; }
.month-nav { display: flex; align-items: center; justify-content: space-between; gap: .3rem; }
.month-nav .button { min-height: 36px; }
.mood-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; margin-top: .65rem; }
.weekday { text-align: center; color: var(--muted); padding-block: .2rem; font-size: .83rem; }
.mood-day { position: relative; min-height: 43px; padding: .2rem .1rem .45rem; border: 1px solid transparent; border-radius: 8px; background: #e3c5ff09; font-size: .95rem; }
.mood-day[aria-pressed=true] { color: #fff3fb; background: #623450; border-color: #f8bed5b3; }
.mood-day:disabled { opacity: .4; }
.mood-dots { position: absolute; inset: auto 0 5px; display: flex; justify-content: center; gap: 3px; }
.mood-dots i { width: 5px; height: 5px; border-radius: 50%; }
.fish-dot { background: #ffaecd; }
.lover-dot { background: #acbbff; }
.mood-journal { align-content: start; }
.mood-person { display: grid; gap: .25rem; }
.wish-progress { width: 100%; accent-color: #eab8eb; height: 8px; margin-top: 1rem; }
.wish-done .daily-copy strong { text-decoration: line-through; color: var(--muted); }
.bottle-water,.date-ticket { display: grid; justify-items: center; gap: .7rem; margin-top: 1rem; padding: 1.35rem; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.bottle-water {
  background: radial-gradient(ellipse at 48% 120%,#48658472,transparent 66%),linear-gradient(160deg,#21233c,#151426 60%);
}
.bottle-glass { display: grid; place-items: center; color: #f0cfff; width: 42px; height: 66px; border: 1px solid #c0d8fb; border-radius: 12px 12px 18px 18px; background: linear-gradient(105deg,#aacce540,#accfff10 55%,#b797d64f); transform: rotate(12deg); box-shadow: 0 0 22px #bc96e944; font-size: 1.4rem; }
.bottle-glass::before { content: ""; position: absolute; width: 17px; height: 8px; top: -7px; border-radius: 3px; background: #caa8ab; }
.date-ticket { background: linear-gradient(100deg,#341c36,#23152e); border-style: dashed; }
.date-ticket small { color: var(--pink); }
.date-ticket strong { font: 600 clamp(1.2rem,3vw,1.7rem)/1.5 var(--serif); overflow-wrap: anywhere; }
.daily-history summary { color: var(--violet); cursor: pointer; padding: .4rem 0; }
.daily-history article { margin-top: .4rem; }
.occasion-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); margin-top: 1rem; gap: .65rem; }
.occasion-card { display: grid; align-content: start; justify-items: start; gap: .45rem; background: #21142d; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; overflow-wrap: anywhere; }
.occasion-card strong { color: #f9cbdf; font: 600 clamp(1.45rem,3.4vw,2.25rem)/1.3 var(--serif); }
@media (max-width: 660px) {
  .daily .section-head,.daily-heading,.daily-row { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .daily-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .22rem; }
  .daily-nav button { padding: .44rem .1rem; font-size: .85rem; }
  .mood-columns { grid-template-columns: 1fr; }
  .mood-journal { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mood-journal > strong { grid-column: 1/-1; }
  .month-nav strong { font-size: .9rem; }
  .daily-actions { max-width: 100%; }
  .mood-month { padding: .45rem; }
}
@media (max-width: 350px) {
  .daily-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
