:root {
  --pumpkin: #ff7a1a;
  --paper: #fcfbf8;
  --ink: #030301;
  --eye: #d0e156;
  --gray: #8b8a84;
  --dot: "DotGothic16", monospace;
  --wide: "Montserrat", sans-serif;
  --jp: "Zen Kaku Gothic New", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; overflow-x: clip; scrollbar-gutter: stable; background: var(--paper); }
main { overflow-x: clip; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--jp);
  line-height: 1.9;
  overflow-x: clip;
  cursor: none;
}
a { color: inherit; text-decoration: none; cursor: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: none; }
::selection { background: var(--eye); color: var(--ink); }

.label { font-family: var(--dot); font-size: 13px; color: var(--eye); letter-spacing: .05em; }

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--pad);
  mix-blend-mode: difference; color: #fff;
}
.header__logo { font-family: var(--wide); font-weight: 400; letter-spacing: .5em; font-size: 16px; text-transform: uppercase; }
.header__nav { display: flex; gap: 32px; font-family: var(--wide); font-size: 12px; font-weight: 600; letter-spacing: .15em; }
.header__nav a:hover { font-style: italic; }
.lights { display: flex; align-items: center; gap: 8px; font-family: var(--dot); font-size: 13px; }
.lights__dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: transform .4s var(--spring); }
.lights:hover .lights__dot { transform: scale(1.6); }

.hero { background: var(--paper); padding-top: 40px; }
.hero__cat { position: relative; max-width: 2048px; margin: 0 auto; }
.hero__cat img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.hero__eyes { position: absolute; inset: 0; width: 100%; height: 100%; }
.pupil { fill: var(--ink); transition: rx .35s var(--spring); }
.lid { fill: var(--ink); transform-box: fill-box; transform-origin: top; transform: scaleY(0); transition: transform .09s ease-in; }
.is-blink .lid { transform: scaleY(1); }
.hero__nya {
  position: absolute; left: 50%; top: 32%; pointer-events: none;
  font-family: var(--dot); color: var(--ink); font-size: clamp(16px, 2vw, 28px);
}
.hero__nya span { position: absolute; white-space: nowrap; animation: nyaPop 1.1s var(--ease) forwards; }
@keyframes nyaPop {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(.6); }
  25% { opacity: 1; transform: translate(-50%, -10px) scale(1.1) rotate(var(--rot)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), -80px) rotate(var(--rot)); }
}

.ledge { background: var(--ink); position: relative; margin-top: -2px; }

.ticker { background: var(--eye); color: var(--ink); overflow: hidden; transform: rotate(-1.5deg) scale(1.05); margin: 40px 0 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker span { font-family: var(--wide); font-weight: 800; font-size: clamp(18px, 2.4vw, 32px); letter-spacing: .08em; padding: 10px 0; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

.intro { position: relative; padding: clamp(100px, 14vw, 180px) var(--pad); }
.orbit { position: relative; width: min(100%, 980px, calc(100svh - 40px)); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__ring { transform-origin: 500px 500px; animation: orbitSpin 60s linear infinite; }
.orbit__ring--2 { animation-duration: 75s; animation-direction: reverse; }
.orbit__ring--3 { animation-duration: 90s; }
.orbit__text { font-size: 44px; font-weight: 700; fill: var(--paper); letter-spacing: .08em; }
.orbit__ring--2 .orbit__text { fill: var(--eye); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.intro__title {
  position: relative; text-align: center;
  font-weight: 900; font-size: calc(min(100vw - 2 * var(--pad), 980px, 100svh - 40px) * .068); line-height: 1.15; letter-spacing: -.04em;
}
.wobble .ch { display: inline-block; transition: transform .5s var(--spring), color .2s; }
.wobble .ch:hover { transform: translateY(-.18em) rotate(-8deg); color: var(--eye); transition-duration: .15s; }
.intro__small { font-family: var(--wide); font-size: 11px; letter-spacing: .2em; color: var(--gray); text-transform: uppercase; }

@keyframes spinSlow { to { transform: rotate(360deg); } }

.sec-head { margin-bottom: 56px; }
.sec-title {
  font-family: var(--wide); font-weight: 800;
  font-size: clamp(48px, 9vw, 140px); line-height: 1; letter-spacing: -.02em;
  margin-top: 8px;
}
.sec-note { margin-top: 16px; font-size: 14px; color: #bdbcb6; }
.dot { font-family: var(--dot); color: var(--eye); font-size: 12px; }

.lives { padding: 80px var(--pad) 160px; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--paper); color: var(--ink); padding: 16px 16px 20px;
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--r));
  transition: transform .5s var(--spring), box-shadow .3s;
  box-shadow: 0 0 0 rgba(208,225,86,0);
  touch-action: none; user-select: none;
}
.card:hover { transform: translate(var(--tx, 0), var(--ty, 0)) rotate(0deg) scale(1.03); box-shadow: 10px 10px 0 var(--eye); z-index: 5; }
.card.is-drag { transition: none; z-index: 10; box-shadow: 16px 16px 0 var(--eye); }
.card__life { font-family: var(--dot); font-size: 12px; }
.card__thumb {
  aspect-ratio: 4 / 3; background: var(--c); display: grid; place-items: center; overflow: hidden;
}
.card__thumb span {
  font-family: var(--wide); font-weight: 800; font-size: clamp(22px, 2.6vw, 40px); line-height: .95; text-align: center;
  transition: transform .6s var(--spring);
}
.card:hover .card__thumb span { transform: scale(1.15) rotate(-6deg); }
.card__name { font-weight: 700; font-size: 17px; }
.card__meta { font-size: 12px; color: var(--gray); }
.card--sleep { background: #1c1c19; color: #55544f; min-height: 260px; justify-content: space-between; }
.card--sleep:hover { box-shadow: 10px 10px 0 #33332e; }
.zzz { font-family: var(--dot); font-size: 40px; align-self: center; animation: zzz 3s ease-in-out infinite; }
@keyframes zzz { 50% { transform: translateY(-10px); opacity: .4; } }
.card--you { background: var(--eye); justify-content: space-between; min-height: 260px; }
.card--you .card__name { font-size: 28px; line-height: 1.3; font-weight: 900; }
.card__cta { font-family: var(--dot); font-size: 14px; text-decoration: underline; }

.whoami { padding: 80px var(--pad) 160px; }
.idcard {
  position: relative; max-width: 880px; margin: 0 auto; padding-bottom: 96px !important;
  background: var(--paper); color: var(--ink); padding: 24px;
  transform: rotate(-1.2deg);
  background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(0,0,0,.05) 27px 28px);
}
.idcard__top { display: flex; justify-content: space-between; font-family: var(--dot); font-size: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 24px; }
.idcard__body { display: grid; grid-template-columns: 180px 1fr; gap: 32px; }
.idcard__photo { background: var(--eye); aspect-ratio: 3 / 4; display: grid; place-items: end center; overflow: hidden; }
.idcard__photo svg { width: 100%; }
.idcard__list div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #bbb; font-size: 14px; }
.idcard__list dt { font-family: var(--dot); color: #6d6c66; }
.idcard { --ink-red: #d64545; }
.idcard__stamp {
  position: absolute; right: 26px; bottom: 16px; width: 86px; height: 86px; color: var(--ink-red);
  transform: rotate(14deg); opacity: .85; pointer-events: none;
}
.idcard__stamp svg { width: 100%; height: 100%; display: block; fill: var(--ink-red); }
.idcard__stamp .idcard__pad { fill: none; stroke: var(--ink-red); stroke-width: 4.5; }
.idcard__stamp span { position: absolute; left: 0; right: 0; top: 55%; text-align: center; font-weight: 900; font-size: 25px; line-height: 1; }

.can { --cat: clamp(150px, 19vw, 260px); height: 300svh; padding: 0 var(--pad); }
.can__stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; padding-top: 80px; }
.can__talk { position: relative; flex: 1; }
.can__cat { position: absolute; left: 50%; top: 56%; width: var(--cat); transform: translate(-50%, -50%); fill: var(--paper); }
.can__eyes ellipse { fill: var(--eye); }
.can__eyes .can__pupil { fill: var(--ink); }
.can__eyes { transform-box: fill-box; transform-origin: center; animation: canBlink 5s infinite; }
@keyframes canBlink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.can__bubbles { position: absolute; inset: 0; pointer-events: none; }
.can__bubble {
  position: absolute; display: block; width: min(340px, 36vw); padding: 18px 24px;
  background: var(--paper); color: var(--ink); border-radius: 22px;
  opacity: 0; transform: scale(.6); pointer-events: none;
  transition: opacity .3s, transform .55s var(--spring), background .3s;
}
.can__bubble.is-on { opacity: 1; transform: none; pointer-events: auto; }
.can__bubble:nth-child(1) { left: 50%; bottom: calc(44% + var(--cat) * .5 + 28px); translate: -50% 0; transform-origin: 50% 100%; }
.can__bubble:nth-child(2) { left: calc(50% + var(--cat) * .5 + 32px); top: calc(56% - var(--cat) * .25); transform-origin: 0 50%; }
.can__bubble:nth-child(3) { right: calc(50% + var(--cat) * .5 + 32px); top: calc(56% + var(--cat) * .02); transform-origin: 100% 50%; }
.can__bubble::before { content: ""; position: absolute; border: 10px solid transparent; transition: border-color .3s; }
.can__bubble:nth-child(1)::before { left: 50%; bottom: -24px; margin-left: -10px; border-top: 16px solid var(--paper); }
.can__bubble:nth-child(2)::before { left: -24px; top: 28px; border-right: 16px solid var(--paper); }
.can__bubble:nth-child(3)::before { right: -24px; top: 28px; border-left: 16px solid var(--paper); }
.can__bubble h3 { font-size: clamp(17px, 1.6vw, 22px); font-weight: 900; }
.can__bubble p { margin-top: 4px; font-size: 14px; line-height: 1.7; opacity: .7; }
@media (hover: hover) {
  .can__bubble:hover { background: var(--eye); }
  .can__bubble:nth-child(1):hover::before { border-top-color: var(--eye); }
  .can__bubble:nth-child(2):hover::before { border-right-color: var(--eye); }
  .can__bubble:nth-child(3):hover::before { border-left-color: var(--eye); }
}

.nya { padding: 120px var(--pad) 200px; text-align: center; }
.nya__big { display: inline-flex; flex-direction: column; margin-top: 24px; font-weight: 900; font-size: clamp(56px, 12vw, 190px); line-height: 1.02; letter-spacing: -.05em; }
.nya__line { display: block; transition: transform .6s var(--spring), color .2s; }
.nya__big:hover .nya__line:first-child { transform: translateX(-4%) rotate(-3deg); color: var(--eye); }
.nya__big:hover .nya__line:last-child { transform: translateX(4%) rotate(2deg); }
.nya__mail { font-family: var(--dot); font-size: 18px; color: var(--eye); margin-top: 32px; }
.nya__note { font-size: 13px; color: var(--gray); margin-top: 8px; }

.footer {
  position: relative; margin-top: 140px; display: flex; justify-content: space-between; align-items: flex-end;
  padding: 32px var(--pad); border-top: 1px solid #33332e; font-family: var(--wide); font-size: 12px; color: var(--gray);
  overflow: hidden;
}
.footer__sns { display: flex; gap: 24px; }
.footer__sns a:hover { color: var(--eye); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none;
  width: 26px; height: 18px; margin: -9px 0 0 -13px;
  background: var(--eye); border-radius: 50% / 50%;
  display: grid; place-items: center;
  transition: width .3s var(--spring), height .3s var(--spring), margin .3s var(--spring);
  box-shadow: 0 0 0 2px var(--ink);
}
.cursor span { width: 3px; height: 16px; background: var(--ink); border-radius: 50%; transition: width .3s var(--spring), height .3s var(--spring); }
.cursor.is-hover { width: 44px; height: 30px; margin: -15px 0 0 -22px; }
.cursor.is-hover span { width: 20px; height: 24px; }
.paw {
  position: fixed; z-index: 150; pointer-events: none; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  animation: pawFade 1.4s ease-out forwards;
}
@keyframes pawFade { from { opacity: .9; } to { opacity: 0; transform: scale(.7); } }

.night {
  position: fixed; inset: 0; z-index: 120; pointer-events: none;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), transparent 0 calc(150px * var(--k, 1)), rgba(0,0,0,.55) calc(250px * var(--k, 1)), rgba(0,0,0,.96) calc(340px * var(--k, 1)));
  opacity: 0; transition: opacity .8s var(--ease);
}
.is-night .night { opacity: 1; }
.night__eyes { position: absolute; display: flex; gap: 14px; animation: nightBlink 3.2s ease-in-out forwards; }
.night__eyes i { width: 18px; height: 11px; border-radius: 50%; background: var(--eye); box-shadow: 0 0 16px var(--eye); }
@keyframes nightBlink {
  0% { opacity: 0; } 15% { opacity: 1; } 40% { transform: scaleY(1); } 44% { transform: scaleY(.1); } 48% { transform: scaleY(1); }
  85% { opacity: 1; } 100% { opacity: 0; }
}

.reveal { opacity: 0; transform: translateY(40px) rotate(1deg); transition: opacity 1s var(--ease), transform 1s var(--spring); }
.reveal.is-in { opacity: 1; transform: none; }

@media (hover: none) {
  body, a, button { cursor: auto; }
  .cursor { display: none; }
}
@media (max-width: 800px) {
  .header__nav { display: none; }
  .board { grid-template-columns: 1fr 1fr; }
  .idcard__body { grid-template-columns: 1fr; }
  .idcard__photo { max-width: 160px; }
  .can { --cat: 104px; }
  .can__stage { padding-top: 64px; }
  .can__talk { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
  .can__bubbles { display: contents; }
  .can__cat { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; order: 2; }
  .can__bubble, .can__bubble:nth-child(n) { position: relative; inset: auto; translate: none; width: min(82%, 340px); padding: 14px 18px; }
  .can__bubble:nth-child(1) { order: 1; align-self: center; }
  .can__bubble:nth-child(2) { order: 3; align-self: flex-end; transform-origin: 50% 0; }
  .can__bubble:nth-child(3) { order: 4; align-self: flex-start; transform-origin: 50% 0; }
  .can__bubble:nth-child(2)::before { left: 32px; top: -24px; border: 10px solid transparent; border-bottom: 16px solid var(--paper); }
  .can__bubble:nth-child(3)::before { display: none; }
  .can__bubble h3 { font-size: 16px; }
  .can__bubble p { font-size: 13px; line-height: 1.6; }
}
@media (max-width: 480px) {
  .board { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.is-sleep .lid { transform: scaleY(1); transition: transform 1.2s ease-in-out; }
.is-purr .lid { transform: scaleY(.55); transition: transform .4s ease; }
.is-purr img, .is-purr .hero__eyes { animation: purr .08s linear infinite; }
@keyframes purr { 50% { transform: translate(.6px, -.4px); } }
.hero__cat::after {
  content: "z z z"; position: absolute; left: 60%; top: 30%;
  font-family: var(--dot); color: var(--ink); font-size: clamp(14px, 1.8vw, 26px);
  opacity: 0; pointer-events: none;
}
.is-sleep.hero__cat::after { animation: sleepZ 2.4s ease-in-out infinite; }
@keyframes sleepZ { 0% { opacity: 0; transform: translate(0, 10px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(30px, -30px) rotate(-10deg); } }
.hero__nya .is-angry { color: #d64545; font-size: 1.8em; font-weight: 900; font-family: var(--jp); }
.hero__cat { background: linear-gradient(transparent 80%, var(--ink) 80%); }
.is-angry img, .is-angry .hero__eyes { animation: shake .4s linear 3; }
@keyframes shake { 25% { transform: translate(-6px, 2px); } 50% { transform: translate(5px, -3px); } 75% { transform: translate(-3px, -2px); } }
.pet-count, .hero__tip {
  position: absolute; font-family: var(--dot); color: var(--ink); font-size: 12px; pointer-events: none;
}
.pet-count { right: var(--pad); top: 12%; }
.pet-count b { font-size: 22px; font-weight: 400; color: var(--ink); margin-left: 4px; }
.hero__tip { left: var(--pad); top: 12%; color: var(--gray); }

.yarn {
  position: fixed; top: 0; left: 0; z-index: 90; width: 60px; height: 60px;
  touch-action: none; user-select: none; will-change: transform;
}
.yarn svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 0 rgba(0,0,0,.4)); }
.yarn.is-held svg { transform: scale(1.12); }
.yarn__hint {
  position: absolute; right: 64px; top: 16px; white-space: nowrap;
  font-family: var(--dot); font-size: 12px; color: var(--ink); background: var(--eye);
  padding: 2px 8px; animation: hintBob 1.4s ease-in-out infinite;
}
@keyframes hintBob { 50% { transform: translateX(-6px); } }


@media (max-width: 800px) {
  .hero__tip { display: none; }
}

@media (hover: none), (max-width: 800px) { .yarn__hint { display: none; } }

.heart { fill: #e8577e; opacity: 0; transition: opacity .4s; }
.is-love .heart { opacity: 1; }
.is-love .pupil { opacity: 0; }
.pet-goal { color: var(--gray); }
.pawrain {
  position: fixed; top: -40px; z-index: 180; width: 28px; height: 28px; pointer-events: none;
  animation: rain linear forwards;
}
.pawrain svg { width: 100%; height: 100%; }
@keyframes rain { to { transform: translateY(calc(100vh + 80px)) rotate(var(--spin)); } }
.reward {
  position: fixed; inset: 0; z-index: 170; display: grid; place-items: center;
  background: rgba(3,3,1,.6); opacity: 0; pointer-events: none; transition: opacity .5s;
}
.reward.is-open { opacity: 1; pointer-events: auto; }
.reward__card {
  background: var(--eye); color: var(--ink); padding: 40px; max-width: 440px; margin: 16px;
  transform: rotate(-3deg) scale(.8); transition: transform .6s var(--spring); text-align: center;
}
.reward.is-open .reward__card { transform: rotate(-3deg) scale(1); }
.reward .label { color: var(--ink); }
.reward__big { font-weight: 900; font-size: clamp(34px, 6vw, 52px); line-height: 1.15; margin: 12px 0 16px; }
.reward__text { font-size: 14px; }
.reward__close { margin-top: 24px; font-family: var(--dot); background: var(--ink); color: var(--eye); padding: 8px 20px; }

.header__tools { display: flex; align-items: center; gap: 20px; }
.crown { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.is-king .crown { opacity: 1; transform: rotate(-8deg); }
.is-crowning .crown { animation: crownDrop 1.2s var(--spring) both; }
@keyframes crownDrop {
  0% { opacity: 0; transform: translateY(-400px) rotate(40deg); }
  60% { opacity: 1; transform: translateY(0) rotate(-14deg); }
  100% { opacity: 1; transform: rotate(-8deg); }
}
.reward__text small { display: block; margin-top: 12px; font-family: var(--dot); font-size: 12px; opacity: .7; }

.lang { display: flex; align-items: center; gap: 2px; font-family: var(--dot); font-size: 12px; }
.lang button { padding: 2px 7px; border-radius: 99px; opacity: .55; transition: opacity .2s, background .2s; }
.lang button:hover { opacity: 1; }
.lang button[aria-pressed="true"] { opacity: 1; background: #fff; color: #000; }
.lang button[hidden] { display: none; }
.lang [data-lang="neko"] { border: 1px dashed currentColor; margin-left: 4px; }
.lang [data-lang="neko"][aria-pressed="true"] { border-style: solid; }
@media (max-width: 800px) {
  .header { padding: 14px 16px; }
  .header__logo { letter-spacing: .3em; font-size: 13px; }
  .header__tools { gap: 10px; }
  .lang button { padding: 2px 5px; font-size: 11px; }
  .lights__label { display: none; }
  .hero { padding-top: 64px; }
  .pet-count { top: -20px; right: 16px; font-size: 11px; }
  .pet-count b { font-size: 16px; }
}

.beams { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 160; pointer-events: none; overflow: visible; }
.beam line { animation: beamShoot .12s linear forwards, beamFade .55s ease-in .15s forwards; }
@keyframes beamShoot { to { stroke-dashoffset: 0; } }
@keyframes beamFade { to { opacity: 0; } }
.is-beam .pupil, .is-beam .heart { fill: #fff; }
.is-beam .hero__eyes { filter: drop-shadow(0 0 12px #d0e156); }
.is-beam.is-blink .hero__eyes, .is-beam.is-sleep .hero__eyes, .is-beam.is-purr .hero__eyes { filter: none; }
.boom {
  position: absolute; z-index: 161; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 20%, #d0e156 45%, rgba(208,225,86,0) 70%);
  pointer-events: none; animation: boom .5s ease-out forwards;
}
@keyframes boom { to { transform: scale(7); opacity: 0; } }
.scorch {
  position: absolute; z-index: 5; width: 46px; height: 46px; margin: -23px 0 0 -23px; pointer-events: none;
  background: radial-gradient(circle, rgba(60,40,10,.85) 0 30%, rgba(208,225,86,.35) 45%, transparent 70%);
  border-radius: 45% 55% 50% 50%; animation: scorch 4s ease-in forwards;
}
@keyframes scorch { 0%, 60% { opacity: 1; } 100% { opacity: 0; } }

.shard { position: absolute; z-index: 158; pointer-events: none; white-space: pre; will-change: transform, opacity; }

.card--demo { cursor: none; }
.card--demo .card__life span { color: var(--gray); }
.card__demo {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: var(--dot); font-size: 11px; background: var(--ink); color: var(--eye); padding: 1px 8px;
}
.card__thumb { position: relative; }
.thumb__word { position: relative; z-index: 1; text-align: center; }
.thumb--band { background: #111 repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 2px, transparent 2px 4px); }
.thumb--band .thumb__word { color: #f3f0e8; font-family: var(--wide); font-weight: 800; letter-spacing: .12em; text-shadow: 3px 0 #d63a3a; }
.thumb--band::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: #e8e4d8; right: 10%; top: 12%; box-shadow: -14px 6px 0 #111 inset; opacity: .9; }
.thumb--vocalo { background: linear-gradient(135deg, #1b0b3a, #3b1c7a 55%, #ff4fa3); }
.thumb--vocalo .thumb__word { font-family: var(--dot) !important; font-weight: 400 !important; color: #5ff3ff; text-shadow: 0 0 12px #5ff3ff, 3px 3px 0 #ff4fa3; }
.thumb--vocalo::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(95,243,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(95,243,255,.25) 1px, transparent 1px); background-size: 16px 16px; }
.thumb--ssw { background: #f6efe2; }
.thumb--ssw .thumb__word { font-family: Georgia, "Times New Roman", serif !important; font-style: italic; font-weight: 400 !important; color: #3b5c80; }
.thumb--ssw::before { content: ""; position: absolute; left: 12%; right: 12%; top: 22%; bottom: 22%; border: 1px solid #b9c7d6; }
.thumb--dj { background: #050505; }
.thumb--dj::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle, #1a1a1a 0 3px, #050505 3px 6px); box-shadow: 0 0 0 2px #333; animation: spinSlow 6s linear infinite; }
.thumb--dj::after { content: ""; position: absolute; width: 26%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#ff5f5f, #ffd36b, #5fffa0, #5fb8ff, #c65fff, #ff5f5f); }
.thumb--dj .thumb__word { z-index: 2; color: #fff; font-size: clamp(16px, 1.8vw, 26px) !important; mix-blend-mode: difference; }
.thumb--idol { background: repeating-linear-gradient(45deg, #ffd6ea 0 14px, #fff0f7 14px 28px); }
.thumb--idol .thumb__word { color: #ff4f9a; font-family: var(--wide); font-weight: 800; -webkit-text-stroke: 1px #fff; text-shadow: 3px 3px 0 #fff, 5px 5px 0 #ffb3d4; }
.thumb--idol::after { content: "★ ☆ ★"; position: absolute; bottom: 10%; font-size: 14px; color: #ffcc33; letter-spacing: .3em; }
.thumb--illust { background: #fbfaf6; }
.thumb--illust::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; left: 8%; top: 10%; border-radius: 48% 52% 60% 40% / 55% 40% 60% 45%; background: #2b3b8f; opacity: .85; filter: blur(1px); }
.thumb--illust::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; right: 10%; bottom: 12%; border-radius: 60% 40% 45% 55%; background: #e86a4a; opacity: .8; }
.thumb--illust .thumb__word { color: #111; font-family: Georgia, serif !important; font-weight: 400 !important; font-style: italic; }
.thumb--vtuber { background: radial-gradient(circle at 30% 30%, #b98cff, #4b2a9c 60%, #1c0f45); }
.thumb--vtuber::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#fff 1px, transparent 1.5px); background-size: 22px 22px; opacity: .6; }
.thumb--vtuber .thumb__word { color: #fff; font-family: var(--wide); font-weight: 800; text-shadow: 0 0 14px #e3c8ff; }
.thumb--jazz { background: #0e1a33; }
.thumb--jazz .thumb__word { color: #d9b464; font-family: Georgia, serif !important; font-weight: 400 !important; font-style: italic; letter-spacing: .04em; }
.thumb--jazz::before { content: ""; position: absolute; inset: 10%; border: 1px solid #d9b464; opacity: .6; }
.thumb--label { background: var(--eye); }
.thumb--label .thumb__word { font-size: clamp(80px, 9vw, 140px) !important; font-family: var(--wide); font-weight: 800; color: var(--ink); }
.thumb--label::after { content: "NINE LIVES RECORDS"; position: absolute; bottom: 8%; font-family: var(--dot); font-size: 11px; letter-spacing: .2em; color: var(--ink); }

.works { padding: 80px var(--pad) 160px; }
.works__list { list-style: none; border-top: 1px solid #33332e; }
.works__list a {
  display: grid; grid-template-columns: 90px 1fr 1fr 40px; gap: 24px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid #33332e;
  transition: padding .5s var(--spring), color .3s, background .3s;
}
.works__list a:hover { padding-left: 24px; padding-right: 24px; background: var(--paper); color: var(--ink); }
.works__year { font-family: var(--dot); font-size: 13px; color: var(--eye); }
.works__list a:hover .works__year { color: var(--ink); }
.works__name { font-size: clamp(22px, 3vw, 40px); font-weight: 700; letter-spacing: -.01em; }
.works__role { font-size: 13px; color: var(--gray); }
.works__arrow { font-size: 22px; justify-self: end; transition: transform .4s var(--spring); }
.works__list a:hover .works__arrow { transform: translateX(8px) rotate(-20deg); }
.works__next a { color: var(--eye); }
.works__next a:hover { background: var(--eye); }
@media (max-width: 800px) {
  .works__list a { grid-template-columns: 56px 1fr 24px; gap: 4px 12px; }
  .works__role { grid-column: 2; grid-row: 2; }
  .works__arrow { grid-column: 3; grid-row: 1; }
}

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 175; transform: translate(-50%, 20px);
  background: var(--eye); color: var(--ink); font-family: var(--dot); font-size: 14px; padding: 10px 18px;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .5s var(--spring); white-space: nowrap;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); }
.case { display: flex; flex-direction: column; gap: 24px; }
.case:nth-child(even) { margin-top: 80px; }
.case__shot { display: block; perspective: 1200px; }
.mock {
  display: block; background: #1c1c19; border: 1px solid #33332e; border-radius: 10px; overflow: hidden;
  transform: rotateX(6deg) rotateY(-6deg); transform-origin: center;
  transition: transform .8s var(--spring), box-shadow .5s;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.case:nth-child(even) .mock { transform: rotateX(6deg) rotateY(6deg); }
.case__shot:hover .mock { transform: none; box-shadow: 14px 14px 0 var(--c); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #2a2a26; }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #55544f; }
.mock__bar i:nth-child(1) { background: #ff6159; } .mock__bar i:nth-child(2) { background: #ffbd2e; } .mock__bar i:nth-child(3) { background: #28c941; }
.mock__url { margin-left: 10px; flex: 1; font-family: var(--dot); font-size: 11px; color: #9a9994; background: #1c1c19; border-radius: 4px; padding: 1px 10px; }
.mock__screen { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--paper); }
.mock__screen--video { aspect-ratio: 1894 / 945; background: #000; }
.mock__screen--demo { aspect-ratio: 16 / 9; }
.mock__video, .mock__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mock__poster { transition: opacity .4s; }
.mock__screen--video.is-playing .mock__poster { opacity: 0; }
.case__shot.is-tap .mock { transform: none; box-shadow: 14px 14px 0 var(--c); }
.mock__video:fullscreen { object-fit: contain; background: #000; }

.case__meta { display: flex; gap: 16px; font-family: var(--dot); font-size: 12px; color: var(--eye); }
.case__meta span + span { color: var(--gray); }
.case__title { font-size: clamp(24px, 2.8vw, 38px); font-weight: 900; line-height: 1.2; margin-top: -8px; }
.case__desc { font-size: 14px; color: #cfcec8; max-width: 34em; }
.case__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.case__tags li { font-family: var(--wide); font-size: 11px; letter-spacing: .08em; border: 1px solid #55544f; border-radius: 99px; padding: 2px 12px; color: #bdbcb6; }
.case__link { align-self: flex-start; font-family: var(--dot); font-size: 14px; color: var(--eye); border-bottom: 1px solid currentColor; transition: letter-spacing .4s var(--spring); }
.case__link:hover { letter-spacing: .08em; }

@media (max-width: 800px) {
  .cases { grid-template-columns: 1fr; }
  .case:nth-child(even) { margin-top: 0; }
}

.card { -webkit-user-drag: none; user-select: none; }

.site {
  --bg: #fff; --fg: #111; --ac: #d0e156;
  display: block; border: 1px solid #d9d6cf; border-radius: 8px; overflow: hidden; background: #2a2a26;
}
.site__bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; }
.site__bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff6159; }
.site__bar i:nth-child(2) { background: #ffbd2e; } .site__bar i:nth-child(3) { background: #28c941; }
.site__url { margin-left: 8px; flex: 1; font-family: var(--dot); font-size: 10px; color: #9a9994; background: #1c1c19; border-radius: 4px; padding: 0 8px; }
.site__view { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.site__page {
  position: absolute; inset: 0 0 auto 0; display: flex; flex-direction: column; gap: 12px;
  background: var(--bg); color: var(--fg); padding-bottom: 0;
  transition: transform 2.8s cubic-bezier(.45,.05,.35,1);
}
.card--demo:hover .site__page { transform: translateY(calc(-100% + var(--vh, 200px))); }
.card.is-drag .site__page { transition: none; }
.site__nav { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: 10px; }
.site__nav b { font-family: var(--wide); font-weight: 800; letter-spacing: .06em; font-size: 11px; }
.site__nav span { font-family: var(--wide); letter-spacing: .1em; opacity: .7; font-size: 9px; }
.site__hero { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 10; margin: 0 12px; border-radius: 4px; }
.site .thumb__word { font-family: var(--wide); font-weight: 800; font-size: clamp(18px, 2.2vw, 34px); line-height: .95; text-align: center; transition: transform .6s var(--spring); }
.card--demo:hover .thumb__word { transform: scale(1.08) rotate(-4deg); }
.site__label { font-family: var(--wide); font-weight: 800; font-size: 11px; letter-spacing: .15em; padding: 6px 12px 0; color: var(--fg); }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 12px; }
.site__cards i { aspect-ratio: 1; border-radius: 3px; background: var(--ac); }
.site__cards i:nth-child(2) { background: color-mix(in srgb, var(--ac) 50%, var(--bg)); }
.site__cards i:nth-child(3) { background: color-mix(in srgb, var(--fg) 20%, var(--bg)); }
.site__lines { display: flex; flex-direction: column; gap: 8px; padding: 0 12px; }
.site__lines i { height: 5px; border-radius: 99px; background: color-mix(in srgb, var(--fg) 30%, var(--bg)); }
.site__lines i:nth-child(2) { width: 80%; } .site__lines i:nth-child(3) { width: 55%; }
.site__foot { margin-top: 10px; padding: 14px 12px; font-family: var(--wide); font-size: 9px; letter-spacing: .1em; background: var(--fg); color: var(--bg); }

.site--band   { --bg: #111;    --fg: #eee;    --ac: #d63a3a; }
.site--vocalo { --bg: #140a2e; --fg: #5ff3ff; --ac: #ff4fa3; }
.site--ssw    { --bg: #f6efe2; --fg: #3b5c80; --ac: #b9c7d6; }
.site--dj     { --bg: #050505; --fg: #ffffff; --ac: #c65fff; }
.site--idol   { --bg: #fff0f7; --fg: #ff4f9a; --ac: #ffcc33; }
.site--illust { --bg: #fbfaf6; --fg: #111;    --ac: #2b3b8f; }
.site--vtuber { --bg: #1c0f45; --fg: #ffffff; --ac: #b98cff; }
.site--jazz   { --bg: #0e1a33; --fg: #d9b464; --ac: #2a3d66; }
.site--label  { --bg: #d0e156; --fg: #030301; --ac: #030301; }
.site--vocalo .site__nav b, .site--vocalo .site__label { font-family: var(--dot); font-weight: 400; }
.site--ssw .site__nav b, .site--ssw .site__label, .site--illust .site__nav b, .site--illust .site__label,
.site--jazz .site__nav b, .site--jazz .site__label { font-family: Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: .02em; }
.site--idol .site__cards i { border-radius: 50%; }
.site--dj .site__cards i { border-radius: 50%; background: repeating-radial-gradient(circle, #222 0 2px, #050505 2px 4px); box-shadow: 0 0 0 1px #333; }
.site--label .site__hero { background: #030301; }
.site--label .site__hero .thumb__word { color: var(--eye); }
.site--label .site__hero::after { color: var(--eye); }

.desk {
  position: relative; height: 1040px; margin-top: 16px;
  border: 2px solid #33332e; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(208,225,86,.08), transparent 40%),
    radial-gradient(rgba(252,251,248,.09) 1px, transparent 1.5px) 0 0 / 18px 18px,
    #0b0b09;
}
.desk__wall {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-6deg);
  font-family: var(--wide); font-weight: 800; font-size: clamp(120px, 20vw, 300px); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(208,225,86,.18); white-space: nowrap; pointer-events: none; user-select: none;
}
.win {
  position: absolute; left: var(--wl); top: var(--wt); width: 31%;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 6px; overflow: hidden;
  box-shadow: 6px 6px 0 var(--wa), 0 24px 40px -20px rgba(0,0,0,.9);
  transition: transform .35s var(--spring), opacity .3s, box-shadow .3s;
  touch-action: none;
}
.win.is-front { box-shadow: 10px 10px 0 var(--wa), 0 30px 50px -20px rgba(0,0,0,.9); }
.win.is-drag { transition: none; transform: rotate(-1.5deg) scale(1.02); }
.win.is-closed { opacity: 0; transform: scale(.6) translateY(80px); pointer-events: none; }
.win.is-pop { animation: winPop .45s var(--spring); }
@keyframes winPop { from { transform: scale(.7); opacity: 0; } }
.win__bar {
  display: flex; align-items: center; gap: 8px; padding: 5px 6px 5px 10px;
  background: var(--wa); border-bottom: 2px solid var(--ink); cursor: none; user-select: none;
}
.win__icon { width: 12px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 2px var(--eye); }
.win__title { flex: 1; font-family: var(--dot); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__demo { font-family: var(--dot); font-size: 10px; background: var(--ink); color: var(--eye); padding: 0 6px; }
.win__btn {
  width: 20px; height: 18px; display: grid; place-items: center; line-height: 1;
  font-family: var(--dot); font-size: 12px; color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 3px;
}
.win__btn:hover { background: var(--ink); color: var(--paper); }
.win .site { border: 0; border-radius: 0; }
.win:hover .site__page { transform: translateY(calc(-100% + var(--vh, 200px))); }
.win.is-drag .site__page { transition: none; }
.win:hover .thumb__word { transform: scale(1.08) rotate(-4deg); }
.win__status {
  display: flex; justify-content: space-between; gap: 12px; padding: 4px 10px;
  border-top: 2px solid var(--ink); font-family: var(--dot); font-size: 11px; background: var(--paper);
}
.win__status > span:last-child { color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.task {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 10px; padding: 6px 10px;
  background: var(--paper); color: var(--ink); border-top: 2px solid var(--ink);
  font-family: var(--dot); font-size: 12px;
}
.task__start { background: var(--eye); border: 2px solid var(--ink); padding: 0 10px; border-radius: 3px; }
.task__tabs { display: flex; gap: 6px; flex: 1; overflow-x: auto; }
.task__tab {
  display: flex; align-items: center; gap: 6px; padding: 1px 10px;
  border: 2px solid var(--ink); border-radius: 3px; background: var(--paper); color: var(--ink); font-size: 12px;
  transition: transform .3s var(--spring);
}
.task__tab i { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); border: 1px solid var(--ink); }
.task__tab.is-closed { opacity: .45; border-style: dashed; }
.task__tab:hover { transform: translateY(-3px); }
.task__clock { padding: 0 6px; }

@media (max-width: 800px) {
  .desk { height: auto; padding: 16px 12px 64px; display: flex; flex-direction: column; gap: 22px; }
  .desk__wall { display: none; }
  .win { position: relative; left: auto; top: auto; width: 100%; }
  .win.is-closed { display: none; }
}
.win__status > span:first-child { white-space: nowrap; }

.win__demo--open { background: var(--eye); color: var(--ink); }
.win.is-ready .site { cursor: none; }
.win.is-ready .win__status > span:first-child::after { content: "  ● OPEN"; color: #1a9b3c; }

.win__open {
  flex: 0 0 auto; margin-left: auto; padding: 0 10px; background: var(--ink); color: var(--eye);
  font-family: var(--dot); font-size: 12px; border-radius: 3px; animation: openPulse 1.6s ease-in-out infinite;
}
.win__open:hover { background: var(--eye); color: var(--ink); }
@keyframes openPulse { 50% { box-shadow: 0 0 0 4px rgba(208,225,86,.35); } }
.win.is-ready .win__status > span:nth-child(2) { display: none; }

.demo-now {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px;
  padding: 10px 18px; border: 2px solid var(--eye); border-radius: 99px;
  font-family: var(--dot); font-size: 13px; color: var(--eye);
  transition: background .2s, color .2s;
}
.demo-now b { font-weight: 400; color: var(--paper); }
.demo-now:hover { background: var(--eye); color: var(--ink); }
.demo-now:hover b { color: var(--ink); }
.demo-now__dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc6a; box-shadow: 0 0 8px #3ddc6a; animation: blinkDot 1.2s steps(1) infinite; }
@keyframes blinkDot { 50% { opacity: .2; } }

.viewer {
  position: fixed; inset: 0; z-index: 195; display: grid; place-items: center;
  background: rgba(3,3,1,.72); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.viewer.is-open { opacity: 1; pointer-events: auto; }
.viewer__win {
  width: min(1200px, 94vw); height: 88vh; display: flex; flex-direction: column;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; overflow: hidden;
  box-shadow: 12px 12px 0 #d63a3a; transform: scale(.85) translateY(40px); transition: transform .5s var(--spring);
}
.viewer.is-open .viewer__win { transform: none; }
.viewer__bar { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 12px; background: #d63a3a; color: var(--ink); border-bottom: 2px solid var(--ink); }
.viewer__title { flex: 1; font-family: var(--dot); font-size: 13px; }
.viewer__tab { font-family: var(--dot); font-size: 12px; background: var(--ink); color: var(--eye); padding: 1px 10px; border-radius: 3px; }
.viewer__frame { flex: 1; width: 100%; border: 0; background: #0b0b0c; }
.is-viewing .cursor { opacity: 0; }
.is-viewing .viewer, .is-viewing .viewer a, .is-viewing .viewer button { cursor: auto; }

.site__view--live { background: #0b0b0c; }
.site__live {
  position: absolute; top: 0; left: 0; width: 1440px; height: 1080px; border: 0;
  transform-origin: 0 0; transform: scale(var(--ls, .3)); pointer-events: none;
}

.progress { position: fixed; left: 0; top: 0; z-index: 70; height: 2px; width: 100%; background: var(--eye); transform-origin: 0 0; transform: scaleX(0); pointer-events: none; }
.sec-title { will-change: transform; }

.eyeO { position: relative; display: inline-block; color: transparent; transition: color .12s; }
.eyeO::before, .eyeO i { content: ""; position: absolute; left: var(--ex, 50%); top: var(--ey, 50%); border-radius: 50%; pointer-events: none; }
.eyeO::before {
  width: var(--ew, .76em); height: var(--eh, .74em); background: var(--eye);
  box-shadow: 0 0 .18em rgba(208,225,86,.35);
  transform: translate(-50%, -50%) scaleY(var(--lid, 1));
  transition: transform .12s ease-in, opacity .12s;
}
.eyeO i {
  width: .1em; height: .62em; background: var(--ink); z-index: 1;
  transform: translate(calc(-50% + var(--px, 0) * 1.6em), calc(-50% + var(--py, 0) * 1em)) scaleY(var(--lid, 1));
  transition: width .3s var(--spring), transform .45s cubic-bezier(.3,.7,.3,1), opacity .12s;
}
.eyeO.is-blink { --lid: .05; }
.eyeO.is-blink::before { box-shadow: none; }
.eyeO.is-blink i { opacity: 0; }
.eyeO.is-o { --lid: .05; color: inherit; }
.eyeO.is-o::before, .eyeO.is-o i { opacity: 0; }

.scr { display: inline-block; text-align: left; overflow: visible; vertical-align: top; white-space: nowrap; }

.burger { width: 40px; height: 40px; display: grid; place-items: center; position: relative; z-index: 2; }
.burger svg { width: 40px; height: 40px; overflow: visible; }
.burger path, .burger circle { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--spring), opacity .25s; transform-box: view-box; }
.burger .burger__line { transform-box: fill-box; transform-origin: center; }
.burger:hover .burger:hover .burger:hover
.burger__ring { transition: transform .5s var(--spring); transform-box: fill-box; transform-origin: center; }
.burger:hover .burger__line--2 { transform: scaleX(.7); }
.is-menu .burger__line--1 { transform: translateY(7px) rotate(45deg) scaleX(.85); }
.is-menu .burger__line--2 { opacity: 0; transform: scaleX(0); }
.is-menu .burger__line--3 { transform: translateY(-7px) rotate(-45deg) scaleX(.85); }
.is-menu .is-menu .is-menu
.header__nav, .header .lang, .lights { transition: opacity .3s; }
.is-menu .header__nav, .is-menu .header .lang, .is-menu .lights { transition-duration: .08s; }
.is-menu .header__nav, .is-menu .header .lang, .is-menu .lights { opacity: 0; pointer-events: none; }

.catmenu {
  position: fixed; inset: 0; z-index: 58; background: #000; color: var(--paper);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 4vw;
  padding: 110px var(--pad) 70px;
  clip-path: circle(0 at var(--ox, 95%) var(--oy, 40px)); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
  overscroll-behavior: contain;
}
.catmenu.is-open { clip-path: circle(150vmax at var(--ox, 95%) var(--oy, 40px)); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }

.catmenu__face { align-self: center; }
.catmenu__face svg { width: 100%; max-width: 520px; display: block; margin: 0 auto; overflow: visible; }
.cm-eye__white { fill: var(--eye); transition: fill .3s; }
.cm-eye__pupil { fill: var(--ink); transition: rx .35s var(--spring), ry .35s var(--spring); }
.catmenu.is-hover .cm-eye__pupil { rx: 22px; ry: 46px; }
.cm-eye__blink { transform-box: fill-box; transform-origin: center; }
.catmenu__eyes { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.catmenu__face, .catmenu__nav, .catmenu__lang, .catmenu__foot { position: relative; z-index: 1; }
.catmenu__foot { position: absolute; }
.catmenu__face { cursor: none; }
.catmenu.is-open .catmenu__face { animation: cmFace .9s var(--spring) .15s both; }
@keyframes cmFace { from { opacity: 0; transform: translateY(30px) scale(.9); } }

.catmenu__nav { display: flex; flex-direction: column; }
.catmenu__nav a {
  position: relative; display: flex; align-items: baseline; gap: 18px;
  padding: 10px 0 10px 0; border-bottom: 1px solid rgba(252,251,248,.14);
  font-family: var(--wide); font-weight: 900; font-size: clamp(38px, 6.4vw, 92px); line-height: 1.05; letter-spacing: -.02em;
  opacity: 0; transform: translateY(40px);
  transition: color .25s, padding-left .45s var(--spring);
}
.catmenu.is-open .catmenu__nav a { opacity: 1; transform: none; transition: opacity .5s, transform .7s var(--spring), color .25s, padding-left .45s var(--spring); }
.catmenu.is-open .catmenu__nav a:nth-child(1) { transition-delay: .18s, .18s, 0s, 0s; }
.catmenu.is-open .catmenu__nav a:nth-child(2) { transition-delay: .25s, .25s, 0s, 0s; }
.catmenu.is-open .catmenu__nav a:nth-child(3) { transition-delay: .32s, .32s, 0s, 0s; }
.catmenu.is-open .catmenu__nav a:nth-child(4) { transition-delay: .39s, .39s, 0s, 0s; }
.catmenu__nav small { font-family: var(--dot); font-size: 13px; font-weight: 400; color: var(--eye); letter-spacing: .05em; }
.catmenu__nav em { font-family: var(--dot); font-style: normal; font-weight: 400; font-size: 12px; letter-spacing: .08em; color: var(--gray); margin-left: auto; align-self: center; }
.catmenu__nav a:hover { color: var(--eye); padding-left: 56px; }
.catmenu__paw { position: absolute; left: 0; top: 50%; width: 40px; height: 40px; margin-top: -20px; opacity: 0; transform: rotate(-30deg) scale(.4); transition: opacity .2s, transform .4s var(--spring); }
.catmenu__paw svg { width: 100%; height: 100%; display: block; }
.catmenu__nav a:hover .catmenu__paw { opacity: 1; transform: rotate(-12deg) scale(1); }

.catmenu__foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 24px; display: flex; justify-content: space-between; font-family: var(--dot); font-size: 12px; color: var(--gray); }

.catmenu__x { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; margin-left: 18px; color: var(--paper); font-family: var(--dot); font-size: 15px; letter-spacing: .05em; transition: color .2s; opacity: 0; transform: translateY(20px); }
.catmenu.is-open .catmenu__x { opacity: 1; transform: none; transition: opacity .5s .46s, transform .7s var(--spring) .46s, color .2s; }
.catmenu__side { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.catmenu__side .catmenu__nav { align-self: stretch; }
.catmenu__x svg { width: 24px; height: auto; fill: currentColor; fill-rule: evenodd; }
.catmenu__x:hover { color: var(--eye); }
.catmenu__lang { display: none; }
@media (max-width: 800px) {
  .header .lang { display: none; }
  .catmenu__lang { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
  .catmenu__lang button { padding: 4px 10px; }
  .catmenu__foot span:last-child { display: none; }
  .catmenu { grid-template-columns: 1fr; align-content: center; gap: 36px; padding: 90px 24px 70px; }
  .catmenu__face svg { max-width: 220px; }
  .catmenu__nav a { font-size: clamp(34px, 11vw, 56px); gap: 12px; }
  .catmenu__nav em { display: none; }
  .catmenu__nav a:hover { padding-left: 44px; }
  .catmenu__paw { width: 32px; height: 32px; margin-top: -16px; }
}
@media (prefers-reduced-motion: reduce) {
  .catmenu, .catmenu.is-open, .catmenu__nav a { transition: none !important; animation: none !important; }
}

.nya { padding-bottom: 120px; }
.belly { --cw: clamp(330px, 50vw, 720px); position: relative; background: var(--paper); line-height: 0; overflow: hidden; height: calc(var(--cw) * 288 / 310 + 60px); }
.belly__svg { display: block; width: calc(var(--cw) * 1.05); height: auto; margin: -1px auto 0; overflow: visible; }

.belly__cat { fill: var(--ink); fill-rule: evenodd; }
.belly__pads { fill: var(--eye); pointer-events: none; }

.belly .belly__navel-x { fill: var(--paper); fill-rule: evenodd; }

.copy { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px var(--pad) 24px; background: var(--paper); }
.copy__c { grid-column: 2; color: #6d6c66; font-family: var(--wide); font-size: 12px; letter-spacing: .08em; text-align: center; }
.copy__top {
  grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px 14px 14px; border: 2.5px solid var(--ink); border-radius: 999px;
  background: var(--eye); color: var(--ink); font-family: var(--wide); font-weight: 900; font-size: 19px; letter-spacing: .12em;
  box-shadow: 5px 5px 0 var(--ink); transition: transform .25s var(--spring), box-shadow .25s var(--spring);
  position: relative; top: -14px;
}
.copy__top i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--eye); font-style: normal; font-size: 19px; animation: topBob 1.6s ease-in-out infinite; }
.copy__top:hover { transform: translate(-2px, -3px); box-shadow: 7px 8px 0 var(--ink); }
.copy__top:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
@keyframes topBob { 50% { transform: translateY(-3px); } }
@media (max-width: 600px) {
  .copy { grid-template-columns: 1fr; padding: 12px 16px 18px; }
  .copy__top { grid-column: 1; grid-row: 1; justify-self: end; font-size: 15px; padding: 10px 18px 10px 10px; top: -10px; }
  .copy__c { grid-column: 1; grid-row: 2; font-size: 10px; }
  .copy__top i { width: 28px; height: 28px; font-size: 15px; }
  .catmenu__x { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) { .copy__top i { animation: none; } }

@media (prefers-reduced-motion: reduce) {
  .belly__leg, .belly__tail, .belly__body { animation: none; }
}

.night-only { display: none; color: #3d6bff; font-weight: 700; margin-left: .9em; }
.is-night .night-only { display: inline; }
.photo-night { display: none; }
.idcard__photo { transition: background .4s; }
.is-night .idcard__photo { background: #6f6d66; }
.is-night .idcard__photo svg:not(.photo-night) { display: none; }
.is-night .idcard__photo .photo-night { display: block; }

.haunt { position: fixed; inset: 0; z-index: 121; pointer-events: none; opacity: 0; transition: opacity 1s;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.014) 0 1px, transparent 1px 4px); mix-blend-mode: screen; }
.is-night .haunt { opacity: 1; }
.haunt__band { position: fixed; z-index: 122; pointer-events: none; left: 0; right: 0; backdrop-filter: invert(.8) hue-rotate(160deg) contrast(1.2); -webkit-backdrop-filter: invert(.8) hue-rotate(160deg) contrast(1.2); mix-blend-mode: normal; }
.is-glitch main { animation: hauntShift .32s steps(2) 1; }
@keyframes hauntShift { 0% { transform: translate(-7px, 0) skewX(-1deg); filter: drop-shadow(3px 0 0 rgba(255,0,60,.6)) drop-shadow(-3px 0 0 rgba(0,200,255,.6)); } 100% { transform: translate(5px, 1px); filter: none; } }
.haunt-moji { font-family: var(--dot) !important; }
.haunt-err {
  position: fixed; z-index: 190; left: 24px; bottom: 24px; width: min(340px, calc(100vw - 48px));
  background: #0c0c0b; color: #d9d7cf; border: 1px solid #55544e; font-family: var(--dot); font-size: 12px; line-height: 1.7;
  box-shadow: 6px 6px 0 rgba(0,0,0,.6); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; pointer-events: none;
}
.haunt-err.is-on { opacity: 1; transform: none; }
.haunt-err b { display: block; background: #2a2a27; color: #ff5c5c; padding: 4px 10px; font-weight: 400; letter-spacing: .08em; }
.haunt-err p { padding: 8px 10px 10px; }
@media (prefers-reduced-motion: reduce) { .haunt { display: none; } }

.haunt-err { left: auto; bottom: auto; }
.haunt-whisper { position: fixed; z-index: 119; pointer-events: none; font-family: var(--jp); font-weight: 900; font-size: clamp(80px, 16vw, 260px); line-height: 1; color: #fff; opacity: 0; white-space: nowrap; animation: whisper 2.6s ease-in-out forwards; }
@keyframes whisper { 30%, 60% { opacity: .1; } 100% { opacity: 0; transform: scale(1.06); } }
.haunt-log { position: fixed; z-index: 123; right: 18px; bottom: 18px; width: min(320px, 70vw); font-family: var(--dot); font-size: 11px; line-height: 1.6; color: #9a998f; pointer-events: none; opacity: 0; transition: opacity .6s; text-align: left; }
.is-night .haunt-log { opacity: .85; }
.haunt-log p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.haunt-log p:last-child { color: #ff5c5c; }
.is-night .sec-title, .is-night .intro__title, .is-night .nya__big { text-shadow: 3px 0 rgba(255, 40, 70, .55), -3px 0 rgba(0, 200, 255, .5); animation: hauntJit 1.6s steps(1) infinite; }
@keyframes hauntJit { 0%, 86%, 100% { translate: 0 0; } 88% { translate: -3px 1px; } 92% { translate: 2px -1px; } }
@media (prefers-reduced-motion: reduce) { .haunt-log, .haunt-whisper { display: none; } .is-night .sec-title, .is-night .intro__title, .is-night .nya__big { animation: none; } }

.fake-bsod { position: fixed; inset: 0; z-index: 250; background: #1a5fb4; color: #fff; display: grid; place-items: center; cursor: none; font-family: "Segoe UI", var(--jp), sans-serif; }
.fake-bsod__in { width: min(760px, 86vw); line-height: 1.6; font-size: clamp(15px, 1.7vw, 21px); }
.fake-bsod__face { font-size: clamp(56px, 9vw, 120px); line-height: 1; margin-bottom: 28px; }
.fake-bsod__pct { margin-top: 22px; }
.fake-bsod__small { margin-top: 28px; font-size: .72em; opacity: .9; }
.fake-bsod__note { margin-top: 22px; font-size: .62em; opacity: .6; }
.haunt-err p { word-break: break-all; }

html.is-intro, html.is-intro body, html.is-intro-lock, html.is-intro-lock body { overflow: hidden; }
.splash { position: fixed; inset: 0; z-index: 400; background: var(--paper); transition: background-color 1.1s cubic-bezier(.4, 0, .2, 1); }
.splash.is-leaving { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .splash.is-leaving { background-color: rgba(252, 251, 248, 0); } }
.splash__stage { position: absolute; display: flex; flex-direction: column; align-items: center; }
html.is-intro .hero__cat { z-index: 401; clip-path: inset(24.5% 28.8% 16.6% 28.8%); }
html.is-intro .hero__cat img, html.is-intro .hero__eyes { transform: translateY(46%); }
html.is-intro.is-rise .hero__cat img, html.is-intro.is-rise .hero__eyes { transform: none; transition: transform 1s cubic-bezier(.2, 1.3, .4, 1); }
html.is-intro .hero__cat .pet-count, html.is-intro .hero__cat .hero__tip, html.is-intro .hero__cat .hero__nya { opacity: 0; }
.hero__cat.is-unveil { z-index: 401; clip-path: inset(12px -40px -40px -40px); }
.hero__cat .pet-count, .hero__cat .hero__tip { transition: opacity .7s; }
.hero__cat.is-unveil img, .hero__cat.is-unveil .hero__eyes { transform: none; }
.splash__bar { position: relative; width: 100%; height: 4px; background: #e2e0d9; }
.splash__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); }
.splash__bar i::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--eye); box-shadow: 0 0 0 2px var(--ink); }
.splash__pct { align-self: flex-end; margin-top: 10px; font-family: var(--dot); font-size: 12px; color: #6d6c66; letter-spacing: .08em; }
.splash__note { margin-top: 26px; width: min(34em, 88vw); text-align: center; font-size: 12px; line-height: 1.9; color: #6d6c66; }
.splash__bar, .splash__pct, .splash__note { transition: opacity .45s; }
.splash.is-done .splash__bar, .splash.is-done .splash__pct, .splash.is-done .splash__note { opacity: 0; }
.splash__note--ai { margin-top: 6px; opacity: .8; }
@media (prefers-reduced-motion: reduce) { html.is-intro .hero__cat img, html.is-intro .hero__eyes { transform: none; } }

.belly__talk {
  position: absolute; z-index: 2; left: calc(50% + var(--cw) * .33); top: 66%;
  max-width: calc(50% - var(--cw) * .33 - 16px); padding: 20px 26px; border: 3px solid var(--ink); border-radius: 24px; background: #fff; color: var(--ink);
  font-family: var(--jp); font-weight: 700; font-size: clamp(15px, 1.55vw, 23px); line-height: 1.65; box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(3deg);
}
.belly__talk::before { content: ""; position: absolute; left: 34px; top: -26px; border: 11px solid transparent; border-bottom: 17px solid var(--ink); }
.belly__talk::after { content: ""; position: absolute; left: 38px; top: -16px; border: 7px solid transparent; border-bottom: 12px solid #fff; }
@media (max-width: 800px) {
  .belly { height: calc(var(--cw) * 288 / 310 + 112px); }
  .belly__talk { left: 50%; top: auto; bottom: 22px; max-width: calc(100% - 32px); width: max-content; translate: -50% 0; font-size: 14px; padding: 13px 16px; border-radius: 16px; transform: rotate(-2deg); bottom: 12px; }
  .belly__talk::before { left: auto; right: 34px; top: -22px; border: 9px solid transparent; border-bottom: 14px solid var(--ink); }
  .belly__talk::after { left: auto; right: 37px; top: -14px; border: 6px solid transparent; border-bottom: 10px solid #fff; }
}
.splash__floor { position: fixed; left: 0; width: 100%; background: #030301; transform-origin: 0 0; display: none; will-change: transform; }
.splash__floor.is-on { display: block; }
.splash__stage { padding-top: 10px; }

.is-night .catmenu__nav a span { text-shadow: 3px 0 rgba(255, 40, 70, .6), -3px 0 rgba(0, 200, 255, .55); animation: hauntJit 1.3s steps(1) infinite; display: inline-block; }
.is-night .catmenu__nav a:nth-child(2n) span { animation-delay: -.6s; }
.is-night .cm-eye__white { fill: #eeede6; }
.is-night .cm-eye__pupil { rx: 3px; ry: 3px; }
.is-night .catmenu.is-hover .cm-eye__pupil { rx: 2px; ry: 2px; }
.is-night .catmenu__eyes .night__eyes i { background: #ff3b3b; box-shadow: 0 0 16px #ff3b3b; }
.is-night .catmenu.is-open .catmenu__nav a { transition: opacity .05s steps(1), transform .05s steps(1), color .25s; }

@media (max-width: 600px) {
  .hero { padding-top: 88px; }
  .hero__cat { width: 175%; max-width: none; margin-left: -37.5%; touch-action: pan-y; }
  .hero__tip { display: block; left: calc(21.43% + 16px); top: -12px; max-width: 52vw; font-size: 8.5px; line-height: 1.5; letter-spacing: .02em; }
  .pet-count { right: calc(21.43% + 16px); top: -10px; font-size: 11px; }
  .hero__nya { font-size: 18px; }
  .lights__label { display: inline; font-size: 11px; }
  .lights { padding: 8px 2px; }
  .burger { width: 44px; height: 44px; }
  .whoami, .can, .works { padding-top: 56px; padding-bottom: 88px; }
  .nya { padding-top: 72px; padding-bottom: 96px; }
  .sec-head { margin-bottom: 36px; }
}
.is-menu .haunt-log { opacity: 0 !important; }

@media (max-width: 600px) {
  .idcard { padding: 14px 14px 58px !important; background-image: repeating-linear-gradient(0deg, transparent 0 21px, rgba(0,0,0,.05) 21px 22px); }
  .idcard__top { font-size: 11px; padding-bottom: 8px; margin-bottom: 12px; }
  .idcard__body { display: block; }
  .idcard__body::after { content: ""; display: block; clear: both; }
  .idcard__photo { float: left; width: 76px; max-width: none; margin: 2px 12px 6px 0; }
  .idcard__list div { grid-template-columns: 5em 1fr; gap: 8px; padding: 6px 0; font-size: 12px; line-height: 1.6; }
  .idcard__list dt { font-size: 10.5px; line-height: 1.9; }
  .idcard__list dd { min-width: 0; }
  .idcard__list .night-only { margin-left: .5em; }
  .idcard__stamp { width: 58px; height: 58px; right: 14px; bottom: 8px; }
  .idcard__stamp span { font-size: 17px; }
}

.case__shot.is-play .mock { transform: none; box-shadow: 14px 14px 0 var(--c); }
.header { transition: opacity .9s ease; }
html.is-intro .header { opacity: 0; }

.pet-reset {
  position: absolute; right: 0; bottom: 100%; margin-bottom: 6px; pointer-events: auto;
  font-family: var(--dot); font-size: 11px; letter-spacing: .06em; line-height: 1;
  padding: 5px 10px; border: 1px solid currentColor; border-radius: 99px; background: transparent; color: var(--gray);
  transition: background .2s, color .2s;
}
.pet-reset:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pet-reset.is-armed { background: #e8577e; color: #fff; border-color: #e8577e; }
@media (max-width: 600px) { .pet-reset { font-size: 10px; padding: 4px 9px; margin-bottom: 5px; } }

.visits {
  position: fixed; inset: 0; z-index: 175; display: grid; place-items: center;
  background: rgba(3,3,1,.55); opacity: 0; pointer-events: none; transition: opacity .35s;
}
.visits.is-open { opacity: 1; pointer-events: auto; }
.visits__card {
  background: var(--ink); color: var(--paper); border: 2px solid var(--eye); padding: 36px 44px; margin: 16px; text-align: center;
  box-shadow: 10px 10px 0 var(--eye); transform: rotate(2deg) scale(.85); transition: transform .5s var(--spring);
}
.visits.is-open .visits__card { transform: rotate(2deg) scale(1); }
.visits__label { font-family: var(--dot); font-size: 13px; color: var(--eye); }
.visits__num { font-family: var(--dot); font-size: clamp(56px, 9vw, 96px); line-height: 1.1; margin: 10px 0 8px; color: var(--eye); font-variant-numeric: tabular-nums; }
.visits__text { font-size: 14px; }
.visits__hint { margin-top: 18px; font-family: var(--dot); font-size: 11px; color: var(--gray); }
.header { pointer-events: none; }
.header > * { pointer-events: auto; }

.lights-glow {
  position: fixed; z-index: 126; display: none; align-items: center; gap: 8px; margin: 0; padding: 0;
  font-family: var(--dot); font-size: 13px; color: #f4ffb0; background: none; border: 0;
  text-shadow: 0 0 6px rgba(208,225,86,.9), 0 0 16px rgba(208,225,86,.6);
}
.lights-glow i { width: 10px; height: 10px; border-radius: 50%; background: #f4ffb0; box-shadow: 0 0 8px 2px #d0e156, 0 0 22px 6px rgba(208,225,86,.55); animation: glowPulse 2.4s ease-in-out infinite; }
@keyframes glowPulse { 50% { box-shadow: 0 0 5px 1px #d0e156, 0 0 14px 3px rgba(208,225,86,.35); } }
.is-night .lights-glow { display: flex; }
.is-menu .lights-glow { display: none; }
@media (max-width: 600px) { .lights-glow { font-size: 11px; } }
@media (max-width: 800px) and (min-width: 601px) { .lights-glow span { display: none; } }
.is-night .lights { opacity: 0; }

@media (min-width: 601px) and (max-width: 800px) {
  .pet-count { top: 22px; right: 16px; }
  .hero__tip { display: block; left: 16px; top: 30px; font-size: 10px; }
}
@media (min-width: 801px) {
  .pet-count, .hero__tip { top: max(12%, 58px); }
}

.case__credit { display: block; margin: .8em 0 .4em; font-family: var(--dot); font-size: 12px; line-height: 1.8; color: var(--gray); }
.case__credit a { color: var(--eye); border-bottom: 1px solid currentColor; }

.mock__logo { width: 18px; height: 18px; display: block; flex: none; }
.mock__spark { fill: #e6e5df; }

.case--zzz .mock { filter: grayscale(1); }
.case--zzz .mock__bar i { background: #5a5955 !important; }
.case--zzz .mock__url { color: #6f6e69; }
.case--zzz .case__shot { cursor: default; }
.case--zzz .case__title { color: #8a8983; }
.case--zzz .case__meta span:first-child { color: #8a8983; }
.sleepz { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(90% 80% at 50% 45%, #3a3935, #242320); overflow: hidden; }
.sleepz__eyes { display: flex; gap: 18%; width: 46%; justify-content: center; translate: 0 12%; }
.sleepz__eyes i { width: 34%; aspect-ratio: 3 / 1; border-bottom: 4px solid #8a8983; border-radius: 0 0 50% 50% / 0 0 100% 100%; animation: sleepzBreath 4.2s ease-in-out infinite; }
.sleepz__z { position: absolute; right: 22%; top: 18%; font-family: var(--wide); font-weight: 800; color: #9c9b95; }
.sleepz__z b { position: absolute; opacity: 0; animation: sleepzFloat 4.2s ease-in infinite; }
.sleepz__z b:nth-child(1) { font-size: clamp(22px, 2.6vw, 38px); animation-delay: 0s; }
.sleepz__z b:nth-child(2) { font-size: clamp(16px, 1.9vw, 28px); animation-delay: 1.4s; }
.sleepz__z b:nth-child(3) { font-size: clamp(12px, 1.4vw, 20px); animation-delay: 2.8s; }
@keyframes sleepzFloat { 0% { opacity: 0; transform: translate(0, 30px) rotate(-8deg); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(34px, -40px) rotate(10deg); } }
@keyframes sleepzBreath { 50% { transform: translateY(3px) scaleX(.94); } }
.case__sleep { font-family: var(--dot); font-size: 14px; color: #6f6e69; }
.case--zzz .case__shot:hover .mock, .case--zzz .case__shot.is-play .mock { box-shadow: 14px 14px 0 #3a3935; }
@media (prefers-reduced-motion: reduce) { .sleepz__z b, .sleepz__eyes i { animation: none; opacity: .7; } }

.pawtrail { position: fixed; top: 0; right: 22px; width: 0; height: 100%; z-index: 55; pointer-events: none; mix-blend-mode: difference; color: #fff; }
.pawtrail__p { position: absolute; left: var(--x); width: 24px; height: 24px; margin-left: -12px; opacity: 0; transform: rotate(var(--r)) scale(1.7); transition: opacity .25s, transform .3s; }
.pawtrail__p svg { width: 100%; height: 100%; display: block; }
.pawtrail__p.is-on { opacity: .7; transform: rotate(var(--r)) scale(1); transition: opacity .15s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
html.is-intro .pawtrail, .is-menu .pawtrail { opacity: 0; }
.pawtrail { transition: opacity .3s; }
@media (max-width: 600px) { .pawtrail { right: 10px; } .pawtrail__p { width: 16px; height: 16px; margin-left: -8px; } }
@media (prefers-reduced-motion: reduce) { .pawtrail__p, .pawtrail__p.is-on { transition: none; } }

.pawtrail__p { padding: 0; border: 0; background: none; color: inherit; pointer-events: none; }
.pawtrail__p.is-on { pointer-events: auto; cursor: pointer; }
.pawtrail__p::before { content: ""; position: absolute; inset: -8px; }
@media (hover: hover) { .pawtrail__p.is-on:hover { opacity: 1; transform: rotate(var(--r)) scale(1.35); } }
.pawtrail__p.is-on:focus-visible { opacity: 1; transform: rotate(var(--r)) scale(1.35); outline: none; }
.pawtrail__p:focus { outline: none; }
.pawtrail__p.is-tap { animation: pawTapBack .45s ease-out; }
@keyframes pawTapBack { 0% { transform: rotate(var(--r)) scale(1); } 35% { transform: rotate(var(--r)) scale(1.5); opacity: 1; } 100% { transform: rotate(var(--r)) scale(1); } }
.pawtrail__p::after {
  content: attr(data-label); position: absolute; left: calc(100% + 10px); top: 50%; margin-top: -.6em; line-height: 1.2; transform: rotate(calc(var(--r) * -1)); transform-origin: 50% 50%;
  font-family: var(--dot); font-size: 11px; letter-spacing: .08em; white-space: nowrap; color: #fff; opacity: 0; transition: opacity .2s; pointer-events: none;
}
.pawtrail__p.is-on:hover::after { opacity: 1; }
@media (hover: none) { .pawtrail__p::after { display: none; } .pawtrail__p::before { inset: -10px; } }

.contact { position: fixed; inset: 0; z-index: 190; display: grid; place-items: start center; padding: 20px 16px; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(3,3,1,.7); opacity: 0; pointer-events: none; transition: opacity .35s; }
.contact.is-open { opacity: 1; pointer-events: auto; }
html.is-contact, html.is-contact body { overflow: hidden; }
.contact__card { position: relative; margin: auto 0; width: min(100%, 520px); background: var(--paper); color: var(--ink); padding: 36px 32px 28px; box-shadow: 12px 12px 0 var(--eye);
  transform: rotate(-1.2deg) translateY(16px) scale(.96); transition: transform .5s var(--spring); display: grid; gap: 14px; }
.contact.is-open .contact__card { transform: rotate(-1.2deg); }
.contact__x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; font-size: 26px; line-height: 1; background: none; border: 0; color: var(--ink); cursor: none; }
.contact__label { font-family: var(--dot); font-size: 12px; letter-spacing: .1em; color: var(--gray); }
.contact__title { font-size: clamp(26px, 5vw, 36px); font-weight: 900; line-height: 1.2; }
.contact__lead { font-size: 14px; color: #55544f; }
.contact__field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.contact__field input, .contact__field textarea { width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 0; padding: 10px 12px; outline: none; }
.contact__field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.contact__field input:focus, .contact__field textarea:focus { box-shadow: 4px 4px 0 var(--eye); }
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__status { min-height: 1.4em; font-size: 13px; line-height: 1.6; }
.contact__status[data-type="err"] { color: #d64545; }
.contact__status[data-type="ok"] { color: var(--ink); font-weight: 700; }
.contact__send { justify-self: start; font-family: var(--dot); font-size: 15px; background: var(--ink); color: var(--eye); border: 0; padding: 12px 22px; cursor: none; transition: transform .2s; }
.contact__send:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--eye); }
.contact__send:disabled { opacity: .5; cursor: wait; }
.contact.is-done .contact__field, .contact.is-done .contact__send { display: none; }
.contact__alt { font-family: var(--dot); font-size: 11px; color: var(--gray); word-break: break-all; }
.nya__mail a { color: inherit; border-bottom: 1px solid currentColor; }
@media (max-width: 600px) { .contact__card { padding: 26px 18px 20px; gap: 10px; box-shadow: 8px 8px 0 var(--eye); } .contact__field textarea { min-height: 96px; } .contact__lead { font-size: 13px; } }
.contact input, .contact textarea { cursor: text; }
.contact__alt a { color: var(--ink); border-bottom: 1px solid currentColor; }
@media (hover: none) {
  .contact__card, .contact.is-open .contact__card { transform: none; transition: none; }
  .contact { transition: opacity .2s; }
  .contact__field input:focus, .contact__field textarea:focus { box-shadow: none; border-color: var(--ink); outline: 3px solid var(--eye); outline-offset: 0; }
}
@media (hover: none) { .contact { -webkit-overflow-scrolling: touch; height: 100%; } }

.mock__cat { display: block; flex: none; width: 30px; height: 18px; }
.mock__cat svg { width: 100%; height: 100%; display: block; overflow: visible; }
.mock__cat .mc-head { fill: #6f6e69; transform-origin: 50% 100%; animation: mcBreath 3.6s ease-in-out infinite; }
.mock__cat .mc-shut { fill: none; stroke: #2a2a26; stroke-width: 1.4; stroke-linecap: round; }
.mock__cat .mc-open { opacity: 0; }
.mock__cat .mc-open ellipse { fill: #d0e156; }
.mock__cat .mc-open rect { fill: #0a0a08; }
.case__shot:hover .mock__cat .mc-shut, .case__shot.is-play .mock__cat .mc-shut { opacity: 0; }
.case__shot:hover .mock__cat .mc-open, .case__shot.is-play .mock__cat .mc-open { opacity: 1; }
.case__shot:hover .mock__cat .mc-head, .case__shot.is-play .mock__cat .mc-head { fill: #0a0a08; animation: none; }
@keyframes mcBreath { 50% { transform: scaleY(.93); } }
@media (prefers-reduced-motion: reduce) { .mock__cat .mc-head { animation: none; } }

@media (max-width: 600px) { .cases > .case:nth-child(n + 3) { display: none; } }

.idcard__stamp .idcard__pad { fill: var(--ink-red); stroke: none; }

.hat, .pumpkins, .bats { display: none; }
.is-halloween .hat, .is-halloween .pumpkins { display: block; }
.is-halloween .is-king .witch { display: none; }
.pumpkins { pointer-events: none; }
.hat { pointer-events: none; }
.is-halloween .bats { display: block; position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bat { position: absolute; left: -80px; width: 56px; fill: var(--ink); animation: batFly 9s linear infinite; }
.bat path { transform-origin: 50% 50%; animation: batFlap .28s ease-in-out infinite alternate; }
.bat:nth-child(1) { top: 12%; }
.bat:nth-child(2) { top: 26%; width: 40px; animation-duration: 12s; animation-delay: -5s; }
.bat:nth-child(3) { top: 6%; width: 32px; animation-duration: 15s; animation-delay: -9s; }
@keyframes batFly {
  0% { transform: translate(0, 0); }
  25% { transform: translate(28vw, 30px); }
  50% { transform: translate(55vw, -20px); }
  75% { transform: translate(82vw, 24px); }
  100% { transform: translate(calc(100vw + 160px), 0); }
}
@keyframes batFlap { from { transform: scaleY(1); } to { transform: scaleY(.45); } }
.is-halloween .ticker { background: var(--pumpkin); }
.is-halloween .splash__bar i::after { background: var(--pumpkin); }
.is-halloween .paw g { fill: var(--pumpkin); }
@media (prefers-reduced-motion: reduce) { .bat, .bat path { animation: none; } .bat { display: none; } }
.spider, .hw-deco { display: none; }
.is-halloween .idcard { --ink-red: var(--pumpkin); }
.is-halloween .spider { display: block; position: absolute; left: 46%; top: 0; width: 26px; padding-top: 14px; transform-origin: 50% 0; animation: spiderDrop 4s ease-in-out infinite; pointer-events: none; z-index: 2; }
.spider::before { content: ""; position: absolute; left: 50%; top: 0; width: 1.5px; height: calc(100% - 22px); margin-left: -.75px; background: var(--ink); }
.spider svg { display: block; width: 100%; }
@keyframes spiderDrop { 0%, 100% { padding-top: 10px; rotate: 4deg; } 50% { padding-top: 30px; rotate: -4deg; } }
.is-halloween .hw-deco { display: block; position: absolute; inset: 0; pointer-events: none; }
.bucket { position: absolute; left: 8%; bottom: 10px; width: clamp(64px, 8vw, 110px); }
.candy { position: absolute; width: clamp(30px, 3.4vw, 46px); }
.bats--end .bat:nth-child(1) { top: 40%; }
.bats--end .bat:nth-child(2) { top: 62%; }
.bats--end .bat:nth-child(3) { top: 24%; }
@media (max-width: 800px) {
  .bucket, .candy { display: none; }
}
@media (prefers-reduced-motion: reduce) { .spider, .orbit__ring { animation: none; } }
.is-spooky .pupil { rx: 3px !important; }
.is-spooky img, .is-spooky .hero__eyes { animation: spookyShake .07s linear infinite; }
.can__cat.is-spooky { animation: spookyShake .07s linear infinite; }
.can__cat.is-spooky .can__pupil { rx: 1px; }
@keyframes spookyShake { 0% { translate: 0 0; } 25% { translate: 2px -1px; } 50% { translate: -2px 1px; } 75% { translate: 1px 2px; } 100% { translate: 0 0; } }
