:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #422637;
  background: #fdf1eb;
  --plum: #6d3652;
  --rose: #9d4b65;
  --line: #ebc8c6;
  --paper: #fff9f3;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: radial-gradient(ellipse at top, #f9d8d5, transparent 70%), #fdf1eb; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
:focus-visible { outline: 3px solid #713754; outline-offset: 3px; }
.shell { max-width: 520px; margin: auto; padding: max(14px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom)); }
.cover, .card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: 0 5px 14px #8f415414; }
.cover img { display: block; width: 100%; height: clamp(138px, 43vw, 218px); object-fit: cover; object-position: 50% 44%; }
.cover-title { padding: 14px 18px 16px; text-align: center; background: #fff5ef; }
h1 { margin: 0; font: 700 clamp(26px, 7vw, 38px)/1.08 Georgia, serif; color: var(--plum); }
.cover-title p, .preview { margin: 6px 0 0; color: #745463; font-size: .84rem; }
.card { margin-top: 12px; padding: 15px; }
h2 { margin: 0 0 12px; font: 700 1.28rem/1.15 Georgia, serif; }
.times { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.times li { display: flex; align-items: center; gap: 5px; min-height: 44px; padding-left: 12px; border-radius: 999px; background: #f9dfe2; border: 1px solid #edbfc8; }
.times time { color: #63354d; font-weight: 750; font-variant-numeric: tabular-nums; }
.remove { width: 44px; min-height: 44px; border: 0; border-radius: 100%; background: transparent; color: var(--plum); font-size: 1.36rem; }
.empty { margin: 0; color: #745463; font-size: .9rem; }
.picker { display: grid; grid-template-columns: minmax(54px, 1fr) auto minmax(54px, 1fr) auto; gap: 7px; align-items: end; }
.picker label { display: grid; gap: 5px; color: #745463; font-size: .8rem; }
.picker select { min-height: 48px; width: 100%; text-align: center; padding: 0 3px; border: 1px solid var(--line); border-radius: 14px; font-size: 1.18rem; font-weight: 750; font-variant-numeric: tabular-nums; background: #fff1eb; }
.separator { padding-bottom: 13px; color: var(--plum); font-weight: bold; }
.add, .save { min-height: 48px; padding: 0 12px; border: 1px solid #d8a6b3; border-radius: 15px; color: #6b314e; background: #f7d4dd; font-size: .9rem; font-weight: 750; }
.add:active, .save:active { transform: translateY(1px); }
.notice { color: #7c435b; font-size: .83rem; margin: 9px 0 0; }
.notice:empty { display: none; }
.actions { padding-top: 12px; text-align: center; }
.save { width: 100%; min-height: 52px; background: #803d5a; color: #fff9f5; border-color: #713450; font-size: 1rem; box-shadow: inset 0 1px #ffffff30, 0 4px 10px #8f415424; }
@media (max-width: 340px) { .shell { padding-inline: 10px; } .card { padding: 12px; } .add { padding-inline: 8px; } }
