:root {
  --ink: #5e3e4d;
  --berry: #874c68;
  --rose: #e786a8;
  --rose-dark: #bf5e83;
  --paper: #fff9eb;
  --paper-deep: #f4e5ce;
  --sky: #c8eef5;
  --blue: #83c9dc;
  --line: #e4c6b7;
  --shadow: 5px 8px 0 rgba(116, 71, 87, .12), 0 20px 55px rgba(116, 71, 87, .13);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Trebuchet MS", "Avenir Next", ui-rounded, system-ui, sans-serif;
  background-color: #f4dfd1;
  background-image:
    radial-gradient(ellipse at 16% 20%, rgba(255,255,255,.54) 0 2px, transparent 3px),
    radial-gradient(ellipse at 75% 63%, rgba(187,130,105,.13) 0 1px, transparent 2px),
    repeating-linear-gradient(2deg, transparent 0 8px, rgba(160,104,94,.025) 9px 10px),
    linear-gradient(135deg, #f9e6d5, #f2d5d3 56%, #e3d6e8);
  background-size: 31px 29px, 23px 27px, auto, auto;
  padding: 18px 14px 50px;
}

button { font: inherit; }
button:focus-visible, .day:focus-visible, .placed-sticker:focus-visible { outline: 3px solid #80405e; outline-offset: 3px; }

.sparkles::before, .sparkles::after { position: fixed; z-index: -1; color: rgba(255,255,255,.72); font-size: clamp(28px,5vw,54px); content: "✿  ♡  ✧"; text-shadow: 1px 2px 0 rgba(142,94,97,.13); }
.sparkles::before { top: 4%; left: 3%; transform: rotate(-9deg); }
.sparkles::after { right: 3%; bottom: 4%; transform: rotate(7deg); }
.page-shell { width: min(1120px,100%); margin: 0 auto; }

.hero { min-height: 245px; position: relative; display: grid; place-items: center; text-align: center; }
.hero-copy { z-index: 2; padding: 15px 225px 22px; transform: rotate(-1deg); }
.kicker { display: inline-block; margin: 0 0 10px; padding: 6px 12px; border: 1px solid #e9b5a4; border-radius: 5px 10px 4px 9px; color: #9d5872; background: #fff7e5; text-transform: uppercase; letter-spacing: .12em; font-size: .65rem; font-weight: 900; transform: rotate(1deg); box-shadow: 2px 3px 0 rgba(133,77,88,.1); }
.kicker span { color: var(--rose-dark); }
h1 { margin: 0; color: #704157; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem,6vw,4.65rem); line-height: .9; letter-spacing: -.055em; font-weight: 700; text-shadow: 2px 3px 0 #fff7e7; }
h1 em { display: inline-block; padding: 0 8px 3px; color: #cf6d91; font-style: italic; font-weight: 500; transform: rotate(1.5deg); }
.tagline { display: inline-block; margin: 14px 0 0; padding: 7px 14px; border-radius: 5px 8px 4px 9px; color: #566c70; background: #d9f1ee; font-size: .74rem; font-weight: 900; transform: rotate(1deg); box-shadow: 2px 3px 0 rgba(67,117,119,.14); }
.hero-friend { position: absolute; z-index: 3; object-fit: contain; pointer-events: none; }
.hero-friend.girl { left: -7px; bottom: -34px; width: 230px; height: 302px; object-position: center bottom; filter: drop-shadow(3px 7px 0 rgba(119,76,89,.15)); }
.hero-friend.cinnamoroll { right: -8px; bottom: -11px; width: 245px; height: 240px; filter: drop-shadow(4px 7px 0 rgba(78,141,160,.16)); transform: rotate(3deg); }

.calendar-card { position: relative; z-index: 4; padding: clamp(14px,3vw,30px); border: 2px solid #fff9e9; border-radius: 2px 5px 1px 4px; background-color: var(--paper); background-image: radial-gradient(rgba(187,137,107,.11) .7px, transparent .8px); background-size: 8px 8px; box-shadow: var(--shadow); }
.calendar-card::before { position: absolute; inset: 7px; border: 1px dashed rgba(193,112,131,.43); border-radius: 1px 4px 2px 3px; pointer-events: none; content: ""; transform: rotate(-.15deg); }
.bow { position: absolute; z-index: 6; top: -20px; display: grid; place-items: center; width: 48px; height: 43px; border: 2px solid white; border-radius: 50% 42% 47% 45%; color: #b95d80; background: #f4b5c3; font-size: 1.7rem; line-height: 1; box-shadow: 2px 4px 0 rgba(116,71,87,.15); }
.bow-left { left: 8%; transform: rotate(-13deg); }.bow-right { right: 8%; background: #c8e9e8; color: #588c93; transform: rotate(11deg); }

.calendar-toolbar { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 17px; }
.nav-group { display: flex; align-items: center; gap: 8px; }.nav-group.right { justify-content: flex-end; }
.round-button, .pill-button { border: 1px solid rgba(130,78,95,.15); color: var(--berry); background: #fffdf5; box-shadow: 2px 3px 0 rgba(111,69,84,.13); font-weight: 900; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.round-button:hover, .pill-button:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 3px 5px 0 rgba(111,69,84,.16); }
.round-button { width: 42px; height: 42px; border-radius: 2px 4px 1px 3px; font-size: 1.5rem; }
.pill-button { padding: 9px 14px; border-radius: 2px 4px 1px 3px; }.today-button { background: #f8d7dc; transform: rotate(-2deg); }
.month-heading { display: flex; align-items: center; justify-content: center; gap: 12px; color: #bc6a84; }.month-heading h2 { margin: 0; color: #75435b; font-family: Georgia, serif; font-size: clamp(1.5rem,4vw,2.3rem); font-weight: 600; text-align: center; transform: rotate(-1deg); }

.sticker-pouch { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; padding: 11px 13px; border: 2px dashed #dca6a0; border-radius: 2px 4px 1px 3px; background: #f9e0df; transform: rotate(-.25deg); }
.pouch-label { display: flex; align-items: center; gap: 10px; min-width: 220px; }.pouch-label strong, .pouch-label small { display: block; }.pouch-label strong { font-family: Georgia, serif; font-size: 1rem; }.pouch-label small { margin-top: 2px; color: #8e6970; font-size: .67rem; }
.mini-heart { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border: 2px solid #fffdf5; border-radius: 44% 56% 48% 52%; color: #fff; background: #de8aa0; box-shadow: 2px 3px 0 rgba(122,73,91,.13); transform: rotate(-7deg); }
.sticker-options { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.sticker-choice { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding: 5px; border: 1px dashed rgba(131,84,93,.38); border-radius: 2px 4px 1px 3px; color: var(--ink); background: transparent; box-shadow: none; cursor: grab; touch-action: none; user-select: none; }
.sticker-choice:nth-child(1) { transform: rotate(-2deg); }.sticker-choice:nth-child(2) { transform: rotate(1.7deg); }.sticker-choice:nth-child(3) { transform: rotate(-1deg); }.sticker-choice.selected { transform: rotate(0) scale(1.05); background: rgba(255,255,255,.3); box-shadow: 0 0 0 2px #db7b99; }
.gold-choice { background: #fff1b9; }.silver-choice { background: #e8eef0; }.rain-choice { background: #dcecf2; }
.sample { display: grid; place-items: center; width: 43px; height: 43px; font-size: 1.65rem; line-height: 1; filter: drop-shadow(2px 3px 1px rgba(66,55,55,.2)); }.sample svg { display: block; width: 100%; height: 100%; overflow: visible; }.gold-star, .silver-star, .rain-cloud { color: transparent; }

.calendar-wrap { position: relative; z-index: 2; overflow: hidden; border: 2px solid #d7b7a7; border-radius: 1px; background: #fffdf6; box-shadow: 3px 4px 0 rgba(121,79,82,.12); transform: rotate(.12deg); }
.weekdays, .days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }.weekdays div { padding: 11px 4px; border-right: 1px solid rgba(198,146,139,.35); color: #755166; background: #f5d9d3; text-align: center; text-transform: uppercase; letter-spacing: .08em; font-size: .67rem; font-weight: 900; }.weekdays div:nth-child(even) { background: #d8eeea; }.weekdays div:last-child { border-right: 0; }
.day { position: relative; min-height: 112px; padding: 8px; border: 0; border-top: 1px solid rgba(198,146,139,.38); border-right: 1px solid rgba(198,146,139,.38); border-radius: 0; color: var(--ink); background: rgba(255,253,246,.94); box-shadow: none; text-align: left; cursor: pointer; }.day:nth-child(7n) { border-right: 0; }.day:hover { background: #fff3e9; }.day.outside { color: #bb9a9b; background: #f5eee5; }.day.drag-over { background: #e2f4f2; box-shadow: inset 0 0 0 3px #8cbfc2; }.date { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 42% 54% 47% 51%; font-size: .78rem; font-weight: 900; }.today .date { color: white; background: #cf7890; box-shadow: 2px 3px 0 rgba(130,68,91,.18); transform: rotate(-7deg); }
.days { position: relative; isolation: isolate; }.day { min-height: 112px; }.sticker-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.placed-sticker { position: absolute; display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; cursor: grab; pointer-events: auto; touch-action: none; transform: translate(-50%,-50%) rotate(var(--turn)); filter: drop-shadow(2px 4px 2px rgba(66,55,55,.22)); }
.placed-sticker svg { display: block; width: 100%; height: 100%; overflow: visible; }.placed-sticker:hover { z-index: 3; filter: drop-shadow(3px 6px 3px rgba(66,55,55,.25)); }.placed-sticker.being-dragged { opacity: .28; }
.placed-sticker.just-placed { animation: sticker-drop .52s cubic-bezier(.18,.82,.3,1.3) both; }
.sticker-ghost { position: fixed; z-index: 1000; width: 58px; height: 58px; pointer-events: none; transform: translate(-50%,-50%) rotate(-7deg) scale(1.08); filter: drop-shadow(3px 6px 3px rgba(66,55,55,.25)); opacity: .88; }
.sticker-ghost svg { width: 100%; height: 100%; overflow: visible; }
@keyframes sticker-drop { 0% { opacity: .25; transform: translate(-50%,-65%) scale(.24) rotate(calc(var(--turn) - 18deg)); } 58% { opacity: 1; transform: translate(-50%,-50%) scale(1.23) rotate(calc(var(--turn) + 6deg)); } 78% { transform: translate(-50%,-50%) scale(.92) rotate(calc(var(--turn) - 2deg)); } 100% { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(var(--turn)); } }
.calendar-footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 15px; }.calendar-footer p { margin: 0; color: #8a6870; font-size: .75rem; }.clear-button { flex: 0 0 auto; color: #89536b; background: #e1f0eb; font-size: .73rem; transform: rotate(1deg); }

@media (max-width: 800px) { .hero { min-height: 205px; }.hero-copy { padding-inline: 130px; }.hero-friend.girl { left: -35px; width: 185px; height: 245px; }.hero-friend.cinnamoroll { right: -25px; width: 185px; height: 180px; }.sticker-pouch { align-items: flex-start; }.pouch-label small { display: none; } }
@media (max-width: 620px) {
  body { padding: 10px 7px 30px; }.hero { min-height: 185px; overflow: hidden; border-radius: 19px; }.hero-copy { padding: 18px 64px 15px; }.kicker { font-size: .5rem; letter-spacing: .08em; } h1 { font-size: clamp(2rem,11vw,3.25rem); }.tagline { font-size: .6rem; padding: 6px 9px; }.hero-friend.girl { left: -55px; bottom: -27px; width: 145px; height: 195px; }.hero-friend.cinnamoroll { right: -44px; bottom: -8px; width: 143px; height: 143px; }
  .calendar-card { padding: 12px 9px 15px; border-radius: 1px 4px 2px 3px; }.calendar-card::before { border-radius: 0; }.bow { top: -16px; width: 38px; height: 36px; font-size: 1.35rem; }.calendar-toolbar { grid-template-columns: auto 1fr auto; }.today-button { display: none; }.month-heading { gap: 6px; }.month-heading h2 { font-size: 1.4rem; }.sticker-pouch { display: block; padding: 9px; }.pouch-label { min-width: 0; justify-content: center; margin-bottom: 9px; }.sticker-options { justify-content: center; }.sticker-choice { width: 50px; height: 50px; }.sample { width: 42px; height: 42px; }.day { min-height: 76px; padding: 4px; }.date { width: 22px; height: 22px; font-size: .66rem; }.placed-sticker, .sticker-ghost { width: 42px; height: 42px; }.weekdays div { padding: 9px 1px; font-size: .54rem; letter-spacing: 0; }.calendar-footer { align-items: flex-start; }.calendar-footer p { font-size: .62rem; }
}
