/* Bento by Moonlight: the night market. Lacquer, gold rims, candy buttons and plum outlines, like the game. */

.bento {
  --night: #0a0e22;
  --night-2: #170d26;
  --plum: #3b1640;
  --lacquer-top: #6a2a5c;
  --lacquer-deep: #24102c;
  --outline: #3a1530;
  --outline-deep: #220c1e;
  --gold: #ffd98a;
  --gold-light: #fff0c2;
  --gold-deep: #eba53a;
  --pink: #ff8fb6;
  --pink-light: #ffc6da;
  --pink-deep: #e5578c;
  --pink-lip: #b33a6a;
  --cream: #fff4de;
  --soft: #f3dfe9;
  background: var(--night);
  color: var(--cream);
  font: 500 18px/1.6 "Nunito", system-ui, sans-serif;
  overflow-x: hidden;
}

/* Outlined lettering, the way the game letters its signs. */
.title, .hero-tag, .served-title, .guest b, .chapter b, .feat h3, .season h3, .daily h3, .candy, .bar-home {
  font-family: "Fredoka", system-ui, sans-serif;
}
.title {
  font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.02; letter-spacing: -.01em; color: #fff;
  text-shadow: 0 3px 0 var(--outline), 0 -3px 0 var(--outline), 3px 0 0 var(--outline), -3px 0 0 var(--outline), 2px 2px 0 var(--outline), -2px 2px 0 var(--outline), 2px -2px 0 var(--outline), -2px -2px 0 var(--outline), 0 7px 0 var(--outline-deep);
}
.title.center { text-align: center; }
.gold { background: linear-gradient(var(--gold-light), var(--gold) 50%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 3px 0 var(--outline)) drop-shadow(0 -2px 0 var(--outline)) drop-shadow(2px 0 0 var(--outline)) drop-shadow(-2px 0 0 var(--outline)) drop-shadow(0 4px 0 var(--outline-deep)); }
.pink { background: linear-gradient(#fff, var(--pink-light) 45%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 3px 0 var(--outline)) drop-shadow(0 -2px 0 var(--outline)) drop-shadow(2px 0 0 var(--outline)) drop-shadow(-2px 0 0 var(--outline)) drop-shadow(0 4px 0 var(--outline-deep)); }
.kicker { font: 800 13px/1 "Nunito", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.lede { color: var(--soft); font-size: 1.12rem; max-width: 34rem; margin-top: 1.2rem; }

/* Lacquer panel: deep plum, a warm sheen at the top, a thin gold rim inside, and the plum outline. */
.lacquer {
  position: relative; border-radius: 30px; background: linear-gradient(180deg, var(--lacquer-top), var(--plum) 38%, var(--lacquer-deep));
  border: 2.5px solid var(--outline); box-shadow: 0 0 0 1.5px rgba(255, 217, 138, .55) inset, 0 6px 0 var(--outline-deep), 0 30px 50px -30px #000;
}
.lacquer::before { content: ""; position: absolute; inset: 3px 3px auto; height: 40%; border-radius: 26px 26px 50% 50% / 26px 26px 18px 18px; background: linear-gradient(rgba(255, 255, 255, .14), transparent); pointer-events: none; }

/* Candy button, like the game's: glossy face, darker lip, plum outline. */
.candy {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-size: 1.15rem; color: #fff; letter-spacing: .01em;
  background: linear-gradient(var(--pink-light), var(--pink) 45%, var(--pink-deep)); border: 2.5px solid var(--outline);
  box-shadow: 0 1.5px 0 rgba(255, 255, 255, .6) inset, 0 5px 0 var(--pink-lip), 0 5px 0 2.5px var(--outline), 0 14px 22px -12px #000;
  text-shadow: 0 2px 0 var(--outline), 0 -1.5px 0 var(--outline), 1.5px 0 0 var(--outline), -1.5px 0 0 var(--outline);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s;
}
.candy:hover { transform: translateY(-2px); }
.candy:active { transform: translateY(4px); box-shadow: 0 1.5px 0 rgba(255, 255, 255, .6) inset, 0 1px 0 var(--pink-lip), 0 1px 0 2.5px var(--outline); }
.candy.small { padding: .55rem 1.1rem; font-size: .95rem; }

.store-candy { --bg: linear-gradient(var(--pink-light), var(--pink) 45%, var(--pink-deep)); background: var(--bg); color: #fff; border: 2.5px solid var(--outline); border-radius: 20px; padding: .8rem 1.4rem .8rem 1.1rem; box-shadow: 0 1.5px 0 rgba(255, 255, 255, .6) inset, 0 5px 0 var(--pink-lip), 0 5px 0 2.5px var(--outline), 0 16px 26px -14px #000; text-shadow: 0 2px 0 var(--outline), 0 -1px 0 var(--outline), 1px 0 0 var(--outline), -1px 0 0 var(--outline); }
.store-candy strong { font-family: "Fredoka", sans-serif; font-size: 21px; }
.store-candy small { font-family: "Nunito", sans-serif; font-weight: 800; opacity: 1; }
.store-candy svg { filter: drop-shadow(0 2px 0 var(--outline)); }

/* ---------- Top bar ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; padding: 1rem clamp(1rem, 4vw, 2.6rem); transition: background .35s, padding .35s; }
.bar.solid { background: rgba(10, 14, 34, .86); padding-block: .6rem; box-shadow: 0 1px 0 rgba(255, 217, 138, .18); }
.bar a { text-decoration: none; }
.bar-home { font-weight: 600; font-size: 1.1rem; display: inline-flex; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(36, 16, 44, .7); border: 1.5px solid rgba(255, 217, 138, .45); }
.bar-nav { display: flex; gap: clamp(.4rem, 2vw, 1.4rem); font-weight: 800; font-size: 15px; }
.bar-nav a { padding: .4rem .6rem; border-radius: 999px; transition: background .2s, color .2s; }
.bar-nav a:hover { background: rgba(255, 143, 182, .18); color: var(--pink-light); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: 6rem 1.2rem 5rem; }
.hero-sky { position: absolute; inset: 0; z-index: -2; }
.hero-sky img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 10%; transform: translateY(calc(var(--scroll-y, 0px) * .25)) scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(10, 14, 34, .55), rgba(10, 14, 34, .05) 30%, rgba(10, 14, 34, .25) 62%, var(--night) 98%); }
.hero-inner { display: grid; justify-items: center; text-align: center; gap: .6rem; max-width: 760px; }
.hero-logo img { width: min(640px, 86vw); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); animation: logo-in 1.2s cubic-bezier(.2, .9, .25, 1.2) both; }
@keyframes logo-in { from { opacity: 0; transform: translateY(-30px) scale(.9); } }
.hero-mascot { width: clamp(180px, 26vw, 280px); margin-top: -.5rem; animation: mascot-in 1s .35s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes mascot-in { from { opacity: 0; transform: translateY(40px) scale(.8); } }
.hero-mascot { position: relative; }
.mascot-say {
  position: absolute; left: 70%; top: 2%; padding: .5rem .9rem; border-radius: 18px 18px 18px 4px; white-space: nowrap; pointer-events: none;
  background: #fff4de; color: var(--outline); font: 600 1rem/1.2 "Fredoka", sans-serif; border: 2.5px solid var(--outline); box-shadow: 0 4px 0 var(--outline-deep);
  opacity: 0; transform: scale(.5) rotate(-6deg); transform-origin: 0 100%;
}
.mascot-say.show { animation: say 2.4s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes say { 0% { opacity: 0; transform: scale(.5) rotate(-6deg); } 14% { opacity: 1; transform: scale(1) rotate(-3deg); } 80% { opacity: 1; transform: scale(1) rotate(-3deg); } 100% { opacity: 0; transform: scale(.9) translateY(-8px); } }
.chapter-rail { cursor: grab; }
.chapter-rail.dragging { cursor: grabbing; }
.chapter-rail.dragging .chapter { pointer-events: none; }
.chapter img { -webkit-user-drag: none; user-select: none; }
.mascot { width: 100%; transform-origin: 50% 100%; animation: breathe 3.4s ease-in-out infinite; cursor: pointer; }
.mascot.hop { animation: hop .7s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes breathe { 50% { transform: scale(1.025, .985); } }
@keyframes hop { 0% { transform: scale(1.1, .85); } 35% { transform: translateY(-48px) scale(.94, 1.08); } 70% { transform: scale(1.08, .9); } 100% { transform: none; } }
.hero-tag { font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.3; color: #fff; max-width: 32rem; text-shadow: 0 2px 0 var(--outline), 0 -2px 0 var(--outline), 2px 0 0 var(--outline), -2px 0 0 var(--outline), 0 4px 0 var(--outline-deep); animation: rise-in 1s .6s both; }
.hero-cta { display: grid; justify-items: center; gap: 1rem; margin-top: 1rem; animation: rise-in 1s .8s both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.hero-facts li { padding: .35rem .8rem; border-radius: 999px; background: rgba(36, 16, 44, .72); border: 1px solid rgba(255, 217, 138, .4); font-weight: 800; font-size: 14px; }
.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; width: 30px; height: 48px; margin-left: -15px; border: 2.5px solid rgba(255, 244, 222, .7); border-radius: 999px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 5px; height: 9px; margin-left: -2.5px; border-radius: 3px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

.petals i, .fireflies i { position: absolute; pointer-events: none; z-index: -1; }
.petals i { top: -20px; width: 12px; height: 9px; background: #ffb6cd; border-radius: 12px 0 12px 0; opacity: .85; animation: petal 12s linear infinite; }
.petals i:nth-child(1) { left: 6%; animation-delay: 0s; } .petals i:nth-child(2) { left: 18%; animation-delay: -4s; animation-duration: 14s; }
.petals i:nth-child(3) { left: 32%; animation-delay: -8s; } .petals i:nth-child(4) { left: 47%; animation-delay: -2s; animation-duration: 15s; }
.petals i:nth-child(5) { left: 61%; animation-delay: -6s; } .petals i:nth-child(6) { left: 74%; animation-delay: -10s; animation-duration: 13s; }
.petals i:nth-child(7) { left: 86%; animation-delay: -3s; } .petals i:nth-child(8) { left: 94%; animation-delay: -7s; animation-duration: 16s; }
.petals i:nth-child(9) { left: 40%; animation-delay: -11s; } .petals i:nth-child(10) { left: 80%; animation-delay: -1s; animation-duration: 11s; }
@keyframes petal { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-60px, 50vh) rotate(260deg); } 100% { transform: translate(30px, 105vh) rotate(520deg); } }
.fireflies i { width: 6px; height: 6px; border-radius: 50%; background: #fff3b0; box-shadow: 0 0 10px 3px rgba(255, 230, 140, .7); animation: firefly 7s ease-in-out infinite; opacity: 0; }
.fireflies i:nth-child(1) { left: 10%; top: 62%; } .fireflies i:nth-child(2) { left: 20%; top: 78%; animation-delay: -2s; }
.fireflies i:nth-child(3) { left: 82%; top: 70%; animation-delay: -4s; } .fireflies i:nth-child(4) { left: 90%; top: 55%; animation-delay: -1s; }
.fireflies i:nth-child(5) { left: 70%; top: 85%; animation-delay: -5s; } .fireflies i:nth-child(6) { left: 30%; top: 66%; animation-delay: -3s; }
.fireflies i:nth-child(7) { left: 55%; top: 90%; animation-delay: -6s; } .fireflies i:nth-child(8) { left: 5%; top: 48%; animation-delay: -2.5s; }
.fireflies i:nth-child(9) { left: 95%; top: 82%; animation-delay: -4.5s; } .fireflies i:nth-child(10) { left: 40%; top: 80%; animation-delay: -1.5s; }
.fireflies i:nth-child(11) { left: 64%; top: 60%; animation-delay: -3.5s; } .fireflies i:nth-child(12) { left: 14%; top: 88%; animation-delay: -5.5s; }
@keyframes firefly { 0%, 100% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 1; } 50% { transform: translate(18px, -26px); } 70% { opacity: .8; } }

/* ---------- Try it ---------- */
.play { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1200px; margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 5vw, 3rem); }
.wish-card { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding: .9rem 1.2rem .9rem .9rem; border-radius: 26px; background: linear-gradient(var(--lacquer-top), var(--plum)); border: 2.5px solid var(--outline); box-shadow: 0 0 0 1.5px rgba(255, 217, 138, .5) inset, 0 5px 0 var(--outline-deep); max-width: 30rem; }
.wish-face { width: 70px; height: 70px; border-radius: 50%; background: #bd7d83; border: 3px solid var(--gold-light); box-shadow: 0 0 0 2.5px var(--outline); object-fit: cover; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.wish-card.granted .wish-face { transform: rotate(-8deg) scale(1.08); }
.wish-name { font: 600 1.15rem/1.2 "Fredoka", sans-serif; }
.wish-line { display: flex; align-items: center; gap: .5rem; color: var(--soft); font-size: 15px; margin-top: .2rem; }
.wish-dot { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 244, 222, .5); flex: none; transition: all .3s; }
.wish-card.granted .wish-dot { background: var(--gold); border-color: var(--outline); box-shadow: 0 0 12px var(--gold); }
.wish-card.granted .wish-line b { color: var(--gold); }

.tray-wrap { position: relative; display: grid; gap: 1.2rem; justify-items: center; }
.tray {
  --cell: clamp(62px, 9vw, 92px);
  position: relative; padding: calc(var(--cell) * .2); border-radius: calc(var(--cell) * .38);
  background: linear-gradient(#e8cd9b, #d3ae76); border: 3px solid #7a5530;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .35) inset, 0 8px 0 #5c3d21, 0 40px 60px -30px #000;
  touch-action: none; user-select: none;
}
.tray::before { /* wood grain */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .25;
  background: repeating-linear-gradient(92deg, transparent 0 9px, rgba(122, 85, 48, .35) 9px 10px, transparent 10px 23px);
}
.tray-grid { position: relative; display: grid; grid-template-columns: repeat(4, var(--cell)); grid-template-rows: repeat(4, var(--cell)); }
.cell { margin: calc(var(--cell) * .05); border-radius: calc(var(--cell) * .24); background: linear-gradient(#faf1dd, #ebd8b5); box-shadow: 0 2px 4px rgba(90, 60, 30, .25) inset; transition: background .2s; }
.cell.ok { background: #d9f5df; box-shadow: 0 0 0 3px #8fe3b0 inset; }
.cell.bad { background: #ffd6d2; box-shadow: 0 0 0 3px #ff8c86 inset; }
.tray-pieces, .tray-ghost { position: absolute; inset: calc(var(--cell) * .2); pointer-events: none; }
.tray-pieces .placed-piece { pointer-events: auto; }
.piece-cell { position: absolute; width: var(--cell); height: var(--cell); display: grid; place-items: center; }
.piece-body {
  position: absolute; border-radius: calc(var(--cell) * .26); border: 2.5px solid var(--outline);
  background: linear-gradient(color-mix(in srgb, var(--tint) 55%, #fff), var(--tint) 55%, color-mix(in srgb, var(--tint) 75%, #7a3f66));
  box-shadow: 0 0 0 calc(var(--cell) * .06) rgba(255, 255, 255, .45) inset, 0 5px 0 rgba(5, 7, 26, .25);
  cursor: pointer; transition: transform .2s;
}
.piece-body:hover { transform: translateY(-2px); }
.piece-body img { position: absolute; width: calc(var(--cell) * .72); height: calc(var(--cell) * .72); pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .2)); }
.piece-body.base { cursor: default; }
.piece-body.base img { width: calc(var(--cell) * 1.4); height: calc(var(--cell) * 1.4); }
.piece-body.land { animation: land .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes land { 0% { transform: scale(1.12); } 60% { transform: scale(.96); } }
.tray.shake { animation: shake .4s; }
@keyframes shake { 20% { transform: translateX(-10px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.puff { position: absolute; width: calc(var(--cell) * 1.6); height: calc(var(--cell) * 1.6); margin: calc(var(--cell) * -.3); border-radius: 50%; pointer-events: none; background: radial-gradient(rgba(255, 244, 200, .9), transparent 60%); animation: puff .6s ease-out forwards; }
@keyframes puff { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

.shelf { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; min-height: 96px; max-width: 520px; }
.shelf-tile {
  position: relative; width: 82px; height: 92px; display: grid; justify-items: center; align-content: center; gap: 4px; border-radius: 22px;
  background: linear-gradient(var(--lacquer-top), var(--plum)); border: 2.5px solid var(--outline); box-shadow: 0 0 0 1.5px rgba(255, 217, 138, .45) inset, 0 4px 0 var(--outline-deep);
  cursor: grab; touch-action: none; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), opacity .25s;
}
.shelf-tile:hover { transform: translateY(-3px); }
.shelf-tile.selected { background: linear-gradient(var(--pink-light), var(--pink) 50%, var(--pink-deep)); transform: translateY(-5px) scale(1.05); }
.shelf-tile.used { opacity: .3; pointer-events: none; transform: scale(.9); }
.shelf-tile img { width: 44px; height: 44px; pointer-events: none; }
.shelf-tile .shape { display: grid; gap: 2px; pointer-events: none; }
.shelf-tile .shape i { width: 8px; height: 8px; border-radius: 2px; background: var(--tint); box-shadow: 0 0 0 1px var(--outline); }
.tile-turn { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: var(--gold); color: var(--outline); border: 2px solid var(--outline); opacity: 0; transform: scale(.4); transition: all .25s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.shelf-tile.selected .tile-turn { opacity: 1; transform: none; }
.drag-float { position: fixed; z-index: 60; pointer-events: none; display: grid; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .45)); transform: scale(1.06); }
.drag-float i { width: var(--cell); height: var(--cell); }
.drag-float i.on { border-radius: calc(var(--cell) * .26); border: 2.5px solid var(--outline); background: linear-gradient(color-mix(in srgb, var(--tint) 55%, #fff), var(--tint)); display: grid; place-items: center; }
.drag-float i.on img { width: 70%; }
.tray-bar { display: flex; align-items: center; gap: 1rem; }
.tray-count { font: 600 1rem/1 "Fredoka", sans-serif; color: var(--soft); font-variant-numeric: tabular-nums; }

.served { position: absolute; inset: -1rem; z-index: 5; display: grid; place-content: center; justify-items: center; gap: .8rem; border-radius: 34px; background: rgba(10, 14, 34, .82); text-align: center; animation: served-in .6s cubic-bezier(.2, .9, .3, 1.3); }
.served[hidden] { display: none; }
@keyframes served-in { from { opacity: 0; transform: scale(.85); } }
.served-title { font-weight: 700; font-size: 2.6rem; line-height: 1; text-shadow: 0 3px 0 var(--outline), 0 -3px 0 var(--outline), 3px 0 0 var(--outline), -3px 0 0 var(--outline), 0 6px 0 var(--outline-deep); }
.served-stars { display: flex; align-items: flex-end; gap: .4rem; }
.served-stars img { width: 64px; height: 64px; opacity: .25; filter: grayscale(1); }
.served-stars img:nth-child(2) { width: 80px; height: 80px; margin-bottom: 10px; }
.served-stars img.lit { opacity: 1; filter: none; animation: star-drop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes star-drop { from { transform: translateY(-60px) rotate(-120deg) scale(1.6); opacity: 0; } }
.served-line { font: 600 1.2rem/1.2 "Fredoka", sans-serif; color: var(--gold); }

/* ---------- Features ---------- */
.features { max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 5vw, 3rem); }
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; margin-top: 3.5rem; }
.feat { padding: 2rem; overflow: hidden; }
.feat h3 { font-weight: 600; font-size: 1.5rem; color: var(--gold); margin: 1.2rem 0 .4rem; position: relative; }
.feat p { color: var(--soft); position: relative; }
.feat-shot { width: 64%; margin: -2rem auto 0; border-radius: 0 0 26px 26px; border: 2.5px solid var(--outline); border-top: 0; aspect-ratio: 700 / 760; object-fit: cover; object-position: 50% 42%; }
.feat-art { position: relative; min-height: 180px; display: flex; align-items: center; justify-content: center; }
.twist-art { flex-wrap: wrap; gap: .6rem; align-content: center; }
.twist { padding: .5rem 1rem; border-radius: 999px; background: rgba(106, 32, 80, .9); border: 2px solid var(--pink); color: var(--pink-light); font: 600 1rem/1 "Fredoka", sans-serif; transform: rotate(var(--r, -2deg)); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.twist:nth-child(2) { --r: 3deg; } .twist:nth-child(3) { --r: -4deg; } .twist:nth-child(4) { --r: 2deg; }
.feat:hover .twist { transform: rotate(0) scale(1.05); }
.gold-chip { background: rgba(106, 67, 16, .95); border-color: var(--gold); color: var(--gold); }
.lantern-art { gap: .5rem; }
.lantern-art img { width: 22%; transition: transform .4s, filter .4s; filter: brightness(.7); }
.lantern-art img:nth-child(1) { filter: grayscale(.6) brightness(.6); }
.feat:hover .lantern-art img { filter: none; transform: translateY(-6px); }
.feat:hover .lantern-art img:nth-child(2) { transition-delay: .1s; } .feat:hover .lantern-art img:nth-child(3) { transition-delay: .2s; } .feat:hover .lantern-art img:nth-child(4) { transition-delay: .3s; }
.chest-art img { width: 170px; animation: chest 3s ease-in-out infinite; }
@keyframes chest { 50% { transform: translateY(-8px) rotate(-3deg); } }

/* ---------- Guests ---------- */
.guests { max-width: 1240px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 3rem); }
.guests-head { margin-bottom: 3rem; }
.guest-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.guest { display: grid; justify-items: center; text-align: center; gap: .15rem; padding: 1.2rem .8rem 1.4rem; border-radius: 28px; background: linear-gradient(var(--lacquer-top), var(--plum) 45%, var(--lacquer-deep)); border: 2.5px solid var(--outline); box-shadow: 0 0 0 1.5px rgba(255, 217, 138, .4) inset, 0 5px 0 var(--outline-deep); cursor: pointer; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); outline-offset: 4px; }
.guest:hover, .guest:focus-visible, .guest.on { transform: translateY(-8px) rotate(-1.5deg); }
.guest:nth-child(even):hover, .guest:nth-child(even).on { transform: translateY(-8px) rotate(1.5deg); }
.guest-pic { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--tint); border: 3px solid var(--gold-light); box-shadow: 0 0 0 2.5px var(--outline); margin-bottom: .7rem; }
.guest-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.guest-pic .happy { opacity: 0; transform: scale(1.08); }
.guest:hover .happy, .guest:focus-visible .happy, .guest.on .happy { opacity: 1; transform: none; }
.guest b { font-weight: 600; font-size: 1.3rem; color: var(--gold); }
.guest small { font-size: 13px; color: var(--soft); font-weight: 700; }
.guest q { font-size: 14px; line-height: 1.35; color: var(--cream); margin-top: .5rem; opacity: .85; }

/* ---------- Chapters ---------- */
.chapters { padding: clamp(3rem, 7vw, 6rem) 0; }
.chapters-head { max-width: 1240px; margin: 0 auto 2.6rem; padding: 0 clamp(1.2rem, 5vw, 3rem); }
.chapter-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 80vw); gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem clamp(1.2rem, 5vw, 3rem) 2rem; scroll-padding-inline: clamp(1.2rem, 5vw, 3rem); scrollbar-width: none; }
.chapter-rail::-webkit-scrollbar { display: none; }
.chapter { scroll-snap-align: start; border-radius: 28px; overflow: hidden; background: var(--lacquer-deep); border: 2.5px solid var(--outline); box-shadow: 0 0 0 1.5px rgba(255, 217, 138, .45) inset, 0 6px 0 var(--outline-deep); transition: transform .4s; }
.chapter:hover { transform: translateY(-6px); }
.chapter img { aspect-ratio: 900 / 525; width: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.chapter:hover img { transform: scale(1.06); }
.chapter figcaption { padding: 1.1rem 1.4rem 1.4rem; display: grid; gap: .15rem; }
.jp { font-size: 1.5rem; font-weight: 800; color: var(--gold); font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif; }
.chapter b { font-weight: 600; font-size: 1.35rem; }
.chapter small { color: var(--soft); font-size: 15px; }
.rail-buttons { display: flex; gap: .7rem; justify-content: center; }
.rail-btn { width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem; color: var(--gold); background: linear-gradient(var(--lacquer-top), var(--lacquer-deep)); border: 2.5px solid var(--outline); box-shadow: 0 0 0 1.5px rgba(255, 217, 138, .55) inset, 0 4px 0 var(--outline-deep); transition: transform .25s; }
.rail-btn:hover { transform: translateY(-2px); }

/* ---------- Seasons ---------- */
.seasons { max-width: 1200px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 3rem); }
.season-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; margin-top: 3.5rem; }
.season { border-radius: 30px; overflow: hidden; background: linear-gradient(var(--plum), var(--lacquer-deep)); border: 2.5px solid var(--outline); box-shadow: 0 0 0 1.5px rgba(255, 217, 138, .5) inset, 0 6px 0 var(--outline-deep), 0 30px 50px -30px #000; }
.season img { width: 100%; aspect-ratio: 1000 / 417; object-fit: cover; }
.season-body { padding: 1.5rem 1.7rem 1.9rem; }
.season h3 { font-weight: 600; font-size: 1.6rem; line-height: 1.15; margin-bottom: .5rem; }
.season p:not(.kicker) { color: var(--soft); }
.daily { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.6rem; padding: 1.4rem 2rem; }
.daily img { width: 92px; animation: chest 3.4s ease-in-out infinite; position: relative; }
.daily h3 { font-weight: 600; font-size: 1.4rem; color: var(--gold); position: relative; }
.daily p { color: var(--soft); position: relative; }

/* ---------- Phones ---------- */
.phones { padding: clamp(2rem, 6vw, 5rem) clamp(1.2rem, 5vw, 3rem); overflow: hidden; }
.phone-row { display: flex; justify-content: center; align-items: flex-start; gap: clamp(1rem, 3vw, 2.6rem); }
.phone { width: min(300px, 30vw); padding: 10px; border-radius: 46px; background: #1b1424; box-shadow: 0 0 0 2px #3b2a46, 0 40px 60px -30px #000, 0 0 60px -10px rgba(255, 143, 182, .25); }
.phone img { border-radius: 36px; width: 100%; }
.phone-lift { margin-top: -2.5rem; }
.phone:nth-child(1) { transform: rotate(-4deg) translateY(2rem); }
.phone:nth-child(3) { transform: rotate(4deg) translateY(2rem); }

/* ---------- Stall ---------- */
.stall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 1200px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 3rem); }
.outfits { display: flex; gap: .4rem; margin-top: 2rem; }
.outfits li { width: 25%; animation: bob-s 3s ease-in-out infinite; }
.outfits li:nth-child(2) { animation-delay: -.7s; } .outfits li:nth-child(3) { animation-delay: -1.4s; } .outfits li:nth-child(4) { animation-delay: -2.1s; }
@keyframes bob-s { 50% { transform: translateY(-8px); } }
.sets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.sets img { border-radius: 24px; border: 2.5px solid var(--outline); box-shadow: 0 0 0 1.5px rgba(255, 217, 138, .45) inset, 0 6px 0 var(--outline-deep); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.sets img:nth-child(odd) { transform: rotate(-2deg); } .sets img:nth-child(even) { transform: rotate(2deg) translateY(1.5rem); }
.sets img:hover { transform: scale(1.05) rotate(0); z-index: 1; }

/* ---------- Finale ---------- */
.finale { position: relative; overflow: hidden; isolation: isolate; padding: clamp(6rem, 14vw, 12rem) 1.2rem; display: grid; place-items: center; text-align: center; }
.finale-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.finale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--night), rgba(10, 14, 34, .35) 40%, rgba(10, 14, 34, .5) 80%, var(--night)); }
.finale-inner { display: grid; justify-items: center; gap: 1.6rem; }
.finale-icon { width: 120px; border-radius: 28px; box-shadow: 0 0 0 3px var(--outline), 0 20px 40px -10px #000; animation: chest 4s ease-in-out infinite; }
.fine { font-size: 14px; color: var(--soft); max-width: 26rem; }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding: 2rem clamp(1.2rem, 5vw, 3rem) 3rem; border-top: 1px solid rgba(255, 217, 138, .2); font-size: 15px; color: var(--soft); }
.foot a { text-decoration: none; }
.foot nav { display: flex; gap: 1.4rem; }
.foot nav a:hover, .foot-brand:hover { color: var(--gold); }
.foot-brand b { font-family: "Fraunces", serif; font-weight: 600; color: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .play, .stall { grid-template-columns: minmax(0, 1fr); }
  .guest-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phone { width: 31vw; }
}
@media (max-width: 680px) {
  .bento { font-size: 17px; }
  .bar-nav a:not(:last-child) { display: none; }
  .feat-grid, .season-grid { grid-template-columns: minmax(0, 1fr); }
  .guest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone-row { gap: .6rem; }
  .phone { padding: 6px; border-radius: 26px; }
  .phone img { border-radius: 21px; }
  .tray { --cell: 18.5vw; }
  .play { padding-inline: 1rem; }
  .shelf { gap: .45rem; }
  .shelf-tile { width: 58px; height: 72px; border-radius: 18px; }
  .shelf-tile img { width: 34px; height: 34px; }
  .served-title { font-size: 2rem; }
  .daily { flex-direction: column; text-align: center; }
}
