:root {
  color-scheme: light;
  --ink: #311d30;
  --paper: #fff7ef;
  --pink: #ef9ebb;
  --yellow: #ffdb76;
  font-family: "Hiragino Sans", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #8051a1; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.masthead { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #d6bbc4; }
.brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; text-decoration: none; font-size: 1.25rem; white-space: nowrap; }
.brand span { background: var(--pink); border-radius: 5px; padding: 1px 5px; font-size: .85rem; }
nav { display: flex; gap: clamp(12px, 4vw, 36px); font-weight: 700; font-size: .875rem; }
nav a, .hero-actions a, footer a { text-underline-offset: .3em; }
.hero { display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: clamp(24px, 5vw, 80px); padding-block: 62px 56px; }
.eyebrow { margin: 0 0 16px; color: #78405f; font-size: .875rem; font-weight: 800; letter-spacing: .13em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3.6rem, 7.4vw, 7rem); font-weight: 950; line-height: .99; letter-spacing: -.095em; }
h1 > span { color: #8b335c; white-space: nowrap; }
.bang { color: #ad4264; }
.lead { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.85; margin-bottom: 22px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-actions a { font-weight: 750; }
button { color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 3px 4px 0 var(--ink); padding: 12px 19px; font: inherit; font-weight: 800; }
button:hover { background: #ffe89d; }
button:active { transform: translate(2px, 2px); box-shadow: 1px 2px 0 var(--ink); }
.reaction { margin: 14px 0 0; color: #744965; min-height: 1.5em; }
.poster { position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: space-between; gap: 30px; min-height: 416px; padding: 22px; border: 2px solid var(--ink); border-radius: 25px; background: repeating-linear-gradient(135deg, #f4acc7 0 17px, #f7b8d1 17px 34px); box-shadow: 6px 7px 0 var(--ink); }
.poster-label { width: fit-content; margin: 0; border: 1px solid var(--ink); padding: 5px 10px; border-radius: 8px; background: var(--paper); font-size: .875rem; font-weight: 800; transform: rotate(-4deg); }
.television { width: min(88%, 380px); margin: 0 auto; display: grid; grid-template-columns: 1fr 15%; gap: 10px; align-items: center; padding: 13px; border: 3px solid var(--ink); border-radius: 26px; background: #ffce63; box-shadow: 7px 9px 0 #803f65; transform: rotate(-7deg); }
.screen { border: 3px solid var(--ink); border-radius: 22px; background: #ffeab0; overflow: hidden; }
.screen img { display: block; width: 100%; height: auto; }
.dials { display: grid; justify-items: center; gap: 6px; }
.dials i { width: min(100%, 24px); aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50%; background: #f49ab9; }
.dials b { display: block; background: var(--ink); width: 80%; height: 2px; }
.spark { position: absolute; z-index: -1; font-size: clamp(2rem, 5vw, 4.5rem); color: #7d345c; }
.spark-one { right: 7%; top: 5%; }.spark-two { left: 5%; bottom: 10%; }
.poster-bottom { display: flex; justify-content: space-between; align-items: end; gap: 12px; font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.poster-bottom span:last-child { font-size: 1.15rem; }
.poster.petted .television { animation: wiggle .38s ease-out; }
@keyframes wiggle { 35% { transform: rotate(4deg) scale(1.04); } 70% { transform: rotate(-11deg); } }
.episodes { border-top: 1px solid #d6bbc4; padding-block: 35px 50px; scroll-margin-top: 12px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 24px; margin-bottom: 22px; }
.section-head .eyebrow { margin-bottom: 6px; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.05em; }
.section-head > p { margin: 0; color: #744965; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: start; gap: 15px; }
.card { background: #fffdfa; border: 1px solid #d6bbc4; border-radius: 14px; }
.card summary { display: flex; align-items: center; gap: 14px; padding: 11px; min-height: 82px; list-style: none; }
.card summary::-webkit-details-marker { display: none; }
.card summary::after { content: '+'; margin-left: auto; padding-right: 5px; font-size: 1.5rem; }
.card[open] summary::after { content: '−'; }
.card summary:hover { background: #fbf0f4; border-radius: 14px; }
.tile { display: grid; place-items: center; flex: 0 0 58px; height: 58px; border-radius: 9px; font-size: 2rem; }
.pink { background: #ffcadc; }.yellow { background: #ffe4a1; }.lilac { background: #e4d1ff; }
.card-title { display: grid; gap: 4px; white-space: nowrap; }
.card-title small { color: #744965; font-size: .875rem; }
.card p { margin: 0; padding: 3px 14px 15px; line-height: 1.7; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #d6bbc4; padding-block: 22px 32px; }
footer p { margin: 0; }
@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; padding-block: 39px; }
  .poster { min-height: 350px; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 30px); }
  .masthead { min-height: 64px; }
  nav { gap: 10px; }
  .brand { font-size: 1.1rem; }
  .poster { min-height: 290px; padding: 15px; }
  .television { width: 92%; padding: 8px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .poster.petted .television { animation: none; } }
