/* Layout: a candy-pink stage that drips down into a midnight haunted room, then climbs back to daylight.
   Each band is full-bleed; content sits in a 1120px column. The hero is kept short so the next section shows. */
:root {
  --pink: #ff1aa6;        /* channel art magenta */
  --candy: #ff7ab9;       /* logo letter pink */
  --lemon: #ffe51a;       /* logo outer outline */
  --grape: #9b1fe8;       /* logo inner outline */
  --milk: #fff6fb;        /* pink-tinted paper */
  --ink: #2a0f2e;         /* plum-black for text on light */
  --night: #160a22;       /* haunted room */
  --night-2: #241036;
  --ghost: #e9dcff;       /* text on night */
  --dim: #cdb9ea;         /* secondary text on night */
  --blood: #ff3b6b;
  --kobito-bg: #fdf3c9;   /* daylight band for the kobito section */

  --f-pop: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --f-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --f-fear: "Yuji Syuku", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --col: 1120px;
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  --pad: 72px;            /* band vertical padding */
  --drip-h: 72px;
  color-scheme: light;
}
@media (max-width: 720px) {
  :root { --pad: 44px; --drip-h: 44px; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
@media (max-width: 720px) { body { font-size: 14.5px; line-height: 1.75; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; line-height: 1.3; }
.wrap { max-width: var(--col); margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.band { position: relative; }
.band > .wrap { padding-block: var(--pad); }
.band:has(> .drip) > .wrap { padding-bottom: calc(var(--pad) + var(--drip-h)); }
.hero .wrap { padding-bottom: calc(36px + var(--drip-h)) !important; }

/* ---------- header ---------- */
/* メニューは /common/momomy-bar.css（どのページも おなじ）。 ここは トップの もじ きりかえと 電気の スイッチ */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--pink); }
.switch {
  display: flex; align-items: center; gap: 8px; cursor: pointer; flex: none;
  font-family: var(--f-pop); font-size: 12px; color: #fff;
  background: var(--ink); border: 0; border-radius: 999px; padding: 6px 12px 6px 6px;
}
/* もじ きりかえ（ボタンの かたちは /common/momomy-lang.css） */
.slang { margin-left: 12px; flex: none; }
.langseg { font-family: var(--f-pop); }
.slang + .switch { margin-left: 8px; }
.switch .knob { width: 34px; height: 20px; border-radius: 999px; background: var(--lemon); position: relative; transition: background .3s; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); transition: transform .3s; }
.switch[aria-pressed="true"] .knob { background: var(--grape); }
.switch[aria-pressed="true"] .knob::after { transform: translateX(14px); background: var(--ghost); }
.hero-tools { grid-area: tools; justify-self: end; display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.hero-tools .slang, .hero-tools .slang + .switch { margin: 0; }
@media (max-width: 720px) {
  .switch { font-size: 11px; }
}

/* ---------- hero ---------- */
.hero { background: var(--pink); color: #fff; overflow: hidden; }
.hero::before { /* polka dots */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 18%, transparent 19%);
  background-size: 38px 38px;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid; gap: 14px 40px; align-items: center;
  grid-template-columns: minmax(0, 600px) 320px;
  grid-template-areas: "logo cast" "copy cast";
  justify-content: center; column-gap: 56px;
  padding-top: 40px;
}
.top-hero .wrap { grid-template-areas: "tools tools" "logo cast" "copy cast"; padding-top: 14px; }
.hero h1 { grid-area: logo; align-self: end; }
.hero h1 img { width: min(400px, 100%); height: auto; filter: drop-shadow(0 5px 0 rgba(42,15,46,.35)); }
.hero-copy { grid-area: copy; min-width: 0; align-self: start; }
.hero .tag { font-family: var(--f-pop); font-size: 24px; color: var(--lemon); text-shadow: 2px 2px 0 var(--ink); margin: 0 0 8px; }
.hero .lead { font-size: 15.5px; max-width: 36em; margin: 0 0 22px; font-weight: 700; word-break: auto-phrase; text-wrap: pretty; }
.hero .lead .nw { white-space: nowrap; }
.hero .lead em { font-style: normal; font-family: var(--f-fear); font-size: 1.12em; color: var(--ink); background: var(--lemon); padding: 0 .25em; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.stat { background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 14px; padding: 6px 14px; box-shadow: 3px 3px 0 var(--ink); }
.stat b { font-family: var(--f-pop); font-size: 20px; font-weight: 400; font-variant-numeric: tabular-nums; color: var(--pink); display: block; line-height: 1.25; }
.stat small { font-size: 11.5px; font-weight: 700; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-pop); font-size: 15px; text-decoration: none;
  padding: 11px 20px; border-radius: 999px; border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-yt { background: #ff0033; color: #fff; }
.btn-ig { background: #fff; color: var(--ink); }
.btn-game { background: var(--grape); color: var(--lemon); }
.btn-game:hover { background: var(--ink); }

.cast-stage { grid-area: cast; position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 320px; justify-self: center; }
.cast-stage img { position: absolute; height: auto; filter: drop-shadow(4px 5px 0 rgba(42,15,46,.4)); }
.cast-stage .c-momomi { width: 60%; left: 0; top: 4%; animation: bob 2.6s ease-in-out infinite; }
.cast-stage .c-papa { width: 52%; right: 0; top: 30%; animation: bob 3s ease-in-out -.8s infinite; }
.cast-stage .c-mama { width: 46%; left: 14%; bottom: 0; animation: bob 2.8s ease-in-out -1.4s infinite; }
.cast-stage img:hover { animation: gakuburu .08s linear infinite; }
.bubble {
  position: absolute; right: 0; top: 0;
  font-family: var(--f-pop); font-size: 13px; line-height: 1.4; color: var(--ink);
  background: var(--lemon); border: 3px solid var(--ink); border-radius: 18px; padding: 4px 12px;
  transform: rotate(6deg);
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 220px; column-gap: 32px; }
}
@media (max-width: 720px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) 112px;
    grid-template-areas: "logo cast" "copy copy";
    gap: 14px 12px; padding-top: 22px;
  }
  .top-hero .wrap { grid-template-areas: "tools tools" "logo cast" "copy copy"; padding-top: 12px; }
  .hero h1 { align-self: center; }
  .hero h1 img { width: 100%; max-width: 260px; }
  .cast-stage { max-width: 112px; }
  .bubble { display: none; }
  .hero .tag { font-size: 17px; }
  .hero .lead { font-size: 13.5px; margin-bottom: 16px; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
  .stat { padding: 6px 8px; border-radius: 12px; border-width: 2px; box-shadow: 2px 2px 0 var(--ink); }
  .stat b { font-size: 16px; }
  .stat small { font-size: 10px; display: block; line-height: 1.4; }
  .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .btn-game { grid-column: 1 / -1; }
  .btn { font-size: 13px; padding: 10px 12px; gap: 6px; box-shadow: 3px 3px 0 var(--ink); }
  .btn svg { width: 18px; height: 18px; }
}

/* drip edge: the band above melts into the next band (path drawn in JS at the real pixel size) */
.drip { position: absolute; left: 0; bottom: -1px; height: var(--drip-h); width: 100%; pointer-events: none; display: block; }

/* ---------- section headings ---------- */
.eyebrow { font-family: var(--f-pop); font-size: 12px; letter-spacing: .14em; color: var(--pink); margin: 0 0 4px; }
.h2 { font-family: var(--f-pop); font-weight: 400; font-size: clamp(24px, 4vw, 38px); margin-bottom: 10px; }
.sec-lead { max-width: 38em; margin: 0 0 30px; }
@media (max-width: 720px) { .sec-lead { margin-bottom: 20px; font-size: 13.5px; } }

/* ---------- video cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.vcard {
  display: flex; flex-direction: column; text-decoration: none;
  background: #fff; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 5px 5px 0 var(--ink); transition: transform .15s, box-shadow .15s;
  min-width: 0;
}
.vcard:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 8px 8px 0 var(--pink); }
.thumb { position: relative; box-sizing: content-box; aspect-ratio: 16 / 9; background: var(--candy); overflow: hidden; border-bottom: 3px solid var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .badge {
  position: absolute; left: 8px; top: 8px;
  font-family: var(--f-pop); font-size: 11px; line-height: 1;
  padding: 5px 9px; border-radius: 999px; background: var(--lemon); color: var(--ink); border: 2px solid var(--ink);
}
.thumb .play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,0,51,.92); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: .2s;
}
.thumb .play::after { content: ""; border-left: 17px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.vcard:hover .play, .vcard:focus-visible .play { opacity: 1; transform: none; }
.vbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.vtitle { font-weight: 700; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vmeta { margin-top: auto; font-size: 12px; font-weight: 700; color: #8a5a86; font-variant-numeric: tabular-nums; display: flex; gap: 10px; }
.load-error { margin: 0; padding: 16px; border: 2px dashed currentColor; border-radius: 14px; font-weight: 700; grid-column: 1 / -1; }
.more { margin-top: 28px; display: flex; justify-content: center; }
/* phones: cards become compact rows so a list doesn't turn into a wall of big thumbnails */
@media (max-width: 600px) {
  .grid { gap: 12px; grid-template-columns: 1fr; }
  .vcard { flex-direction: row; border-width: 2px; border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
  .vcard:hover { transform: none; box-shadow: 3px 3px 0 var(--pink); }
  .vcard .thumb { width: 42%; flex: none; align-self: flex-start; border-bottom: 0; border-right: 2px solid var(--ink); }
  .vbody { padding: 8px 10px; gap: 4px; }
  .vtitle { font-size: 12.5px; line-height: 1.5; }
  .vmeta { font-size: 11px; }
  .thumb .badge { left: 5px; top: 5px; font-size: 9.5px; padding: 3px 6px; }
  .more { margin-top: 20px; }
}

/* ---------- cast ---------- */
/* 新着動画のすぐ下: 同じ色が続いて間延びしないよう、少し濃いピンクの帯にして、上から垂れるようにつなぐ */
#new > .wrap { padding-bottom: calc(var(--pad) * .6 + var(--drip-h)); }
.cast { background: #ffd9ec; }
.cast > .wrap { padding-top: calc(var(--pad) * .75); }
.cast-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cast-grid { grid-template-columns: repeat(2, 1fr); } }
.ccard {
  position: relative; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 22px;
  padding: 16px 18px 18px; text-align: center; box-shadow: 5px 5px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0;
  font: inherit; cursor: pointer; transition: background .25s, color .25s;
}
.ccard .face { position: relative; width: 100%; max-width: 160px; aspect-ratio: 1 / 1; flex: none; }
.ccard .face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .2s, transform .3s; }
.ccard .face .alt { opacity: 0; transform: scale(.8) rotate(-8deg); }
.ccard.is-scary .face:has(.alt) .main { opacity: 0; transform: scale(1.1) rotate(6deg); }
.ccard.is-scary .face .alt { opacity: 1; transform: none; animation: gakuburu .1s linear 6; }
.ccard.is-scary .face:not(:has(.alt)) .main { filter: grayscale(.6) brightness(.8) drop-shadow(0 0 10px rgba(155,31,232,.9)); animation: gakuburu .1s linear 6; }
.ccard.is-scary { background: var(--night); color: var(--ghost); box-shadow: 5px 5px 0 var(--grape); }
.ccard.is-scary .role { color: var(--lemon); }
.ccard:hover .face .main { animation: gakuburu .08s linear infinite; }
.ccard .txt { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.ccard .role { font-size: 11.5px; font-weight: 900; color: var(--pink); letter-spacing: .06em; }
.ccard .name { font-family: var(--f-pop); font-size: 22px; line-height: 1.3; }
.ccard .desc { font-size: 13.5px; line-height: 1.7; margin: 6px 0 0; }
.ccard .hint { font-size: 11px; font-weight: 700; opacity: .6; margin-top: 8px; }
.ccard .desc .dark { display: none; }
.ccard.is-scary .desc .day { display: none; }
.ccard.is-scary .desc .dark { display: inline; font-family: var(--f-fear); font-size: 15px; }
.ccard.mystery .face .main { filter: brightness(0); opacity: .85; }
@media (max-width: 720px) {
  .cast-grid { grid-template-columns: 1fr; gap: 12px; }
  .ccard { flex-direction: row; text-align: left; gap: 14px; padding: 12px 14px; border-radius: 16px; border-width: 2px; box-shadow: 3px 3px 0 var(--ink); }
  .ccard.is-scary { box-shadow: 3px 3px 0 var(--grape); }
  .ccard .face { width: 76px; }
  .ccard .txt { align-items: flex-start; }
  .ccard .name { font-size: 18px; }
  .ccard .desc { font-size: 12.5px; margin-top: 2px; }
  .ccard .hint { margin-top: 4px; }
}

/* ---------- horror room ---------- */
.horror { background: var(--night); color: var(--ghost); overflow: hidden; }
.horror .eyebrow { color: var(--lemon); }
.horror .h2 { font-family: var(--f-fear); font-weight: 400; font-size: clamp(30px, 5.4vw, 56px); letter-spacing: .04em; color: #fff; text-shadow: 0 0 18px rgba(155,31,232,.9); }
.horror .h2 .flicker { animation: flicker 4.5s linear infinite; }
.horror .wrap { position: relative; z-index: 2; }
/* hidden layer: only visible under the flashlight */
.secrets { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle 170px at var(--mx, 72%) var(--my, 140px), #000 0%, #000 45%, transparent 100%);
          mask-image: radial-gradient(circle 170px at var(--mx, 72%) var(--my, 140px), #000 0%, #000 45%, transparent 100%);
  background: radial-gradient(circle 190px at var(--mx, 72%) var(--my, 140px), rgba(255,229,26,.14), transparent 70%);
}
.secrets > * { position: absolute; }
.secrets .s-pien { width: 110px; height: auto; left: 72%; top: 60px; transform: rotate(-12deg); filter: saturate(.7) brightness(.85); }
.secrets .s-oni { width: 140px; height: auto; left: 5%; top: 52%; transform: rotate(8deg); }
.secrets .s-msg { font-family: var(--f-fear); font-size: 26px; color: var(--blood); left: 56%; top: 46%; transform: rotate(-4deg); white-space: nowrap; }
.secrets .s-msg2 { font-family: var(--f-fear); font-size: 20px; color: var(--lemon); left: 10%; top: 22%; transform: rotate(5deg); white-space: nowrap; }
.secrets .s-hand { left: 82%; top: 72%; width: 100px; height: 100px; }
@media (max-width: 720px) {
  .secrets .s-pien { width: 70px; left: 72%; top: 46%; }
  .secrets .s-oni { width: 90px; }
  .secrets .s-msg { font-size: 20px; left: 40%; }
  .secrets .s-msg2 { font-size: 16px; }
  .secrets .s-hand { width: 64px; height: 64px; }
}
.horror .sec-lead { color: var(--dim); }
.flash-hint { font-size: 12.5px; color: #a993c9; display: flex; align-items: center; gap: 8px; margin: -14px 0 24px; }
.flash-hint i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--lemon); box-shadow: 0 0 12px var(--lemon); animation: flicker 3s infinite; }
.feature {
  display: grid; grid-template-columns: 1.3fr 1fr; margin-bottom: 30px;
  border: 3px solid var(--ghost); border-radius: 22px; overflow: hidden; text-decoration: none;
  background: var(--night-2); box-shadow: 0 0 0 6px rgba(155,31,232,.25), 0 0 60px rgba(155,31,232,.35);
}
.feature .thumb { align-self: center; border-bottom: 0; border-right: 3px solid var(--ghost); background: #000; }
.feature .fbody { padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; }
.feature .fbody .k { font-family: var(--f-pop); color: var(--lemon); font-size: 12px; letter-spacing: .1em; }
.feature .fbody h3 { font-family: var(--f-fear); font-weight: 400; font-size: clamp(20px, 2.8vw, 28px); color: #fff; }
.feature .fbody p { margin: 0; color: var(--dim); font-size: 14px; }
.feature .big { font-family: var(--f-pop); font-size: 36px; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.feature .big small { font-size: 14px; color: var(--lemon); margin-left: 4px; }
@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; border-width: 2px; border-radius: 16px; margin-bottom: 20px; }
  .feature .thumb { border-right: 0; border-bottom: 2px solid var(--ghost); }
  .feature .fbody { padding: 14px 16px 16px; gap: 6px; }
  .feature .fbody p { font-size: 12.5px; }
  .feature .big { font-size: 26px; }
}
.horror .vcard { background: var(--night-2); color: var(--ghost); border-color: var(--ghost); box-shadow: 5px 5px 0 var(--grape); }
.horror .vcard:hover { box-shadow: 8px 8px 0 var(--blood); transform: translate(-3px,-3px) rotate(.6deg); }
.horror .thumb { border-color: var(--ghost); background: #000; }
.horror .vmeta { color: #a993c9; }
.horror .thumb .badge { background: var(--blood); color: #fff; border-color: #fff; }
@media (max-width: 600px) {
  .horror .vcard { box-shadow: 3px 3px 0 var(--grape); }
  .horror .vcard:hover { transform: none; box-shadow: 3px 3px 0 var(--blood); }
}

/* ---------- kobito ---------- */
.kobito { background: var(--kobito-bg); }
.kobito .eyebrow { color: #c0570f; }
.kobito .vcard:hover { box-shadow: 8px 8px 0 var(--grape); }
.kobito .thumb { background: #f5dc87; }
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; }
.k-chips span { font-size: 12px; font-weight: 900; padding: 3px 12px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); }
@media (max-width: 720px) { .k-chips { gap: 6px; margin: -6px 0 20px; } .k-chips span { font-size: 11px; padding: 2px 10px; } }

/* ---------- insta ---------- */
.insta { background: var(--candy); }
.insta .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.insta-copy { min-width: 0; }
.insta .eyebrow { color: var(--ink); }
.insta .handle { font-family: var(--f-pop); font-size: clamp(20px, 3.2vw, 30px); margin: 0 0 10px; word-break: break-all; }
.phone {
  justify-self: center; width: min(300px, 100%); background: #fff; color: inherit; text-decoration: none;
  border: 4px solid var(--ink); border-radius: 34px;
  padding: 18px 14px 22px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(3deg);
}
.phone .ph-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.phone .ph-top img { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--pink); }
.phone .ph-top b { font-size: 14px; display: block; line-height: 1.3; }
.phone .ph-top small { font-size: 11px; color: #8a5a86; }
.phone .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.phone .tiles img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; background-color: var(--milk); }
.phone .tiles .t-pink { background-color: var(--pink); }
.phone .tiles .t-lemon { background-color: var(--lemon); }
.phone .tiles .t-night { background-color: var(--night); }
@media (max-width: 720px) {
  .insta .wrap { grid-template-columns: minmax(0, 1fr) 140px; gap: 16px; align-items: start; }
  .insta .handle { font-size: 20px; word-break: normal; }
  .insta .sec-lead { margin-bottom: 16px; }
  .phone { width: 140px; padding: 10px 7px 12px; border-width: 3px; border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(2deg); margin-top: 8px; }
  .phone .ph-top { margin-bottom: 6px; gap: 5px; }
  .phone .ph-top img { width: 24px; height: 24px; border-width: 2px; }
  .phone .ph-top b { font-size: 9px; }
  .phone .ph-top small { display: none; }
  .phone .tiles { gap: 2px; }
  .phone .tiles img { border-radius: 3px; }
  .insta .btns { display: flex; }
}
@media (max-width: 420px) {
  .insta .wrap { grid-template-columns: 1fr; }
  .phone { display: none; }
}

/* ---------- play ---------- */
.play { background: var(--night); color: var(--ghost); }
.play .eyebrow { color: var(--lemon); }
.play .h2 { color: #fff; }
.play .sec-lead { color: var(--dim); }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.door {
  position: relative; border-radius: 22px; border: 3px solid var(--ghost); padding: 22px; min-height: 210px;
  display: flex; flex-direction: column; gap: 6px; overflow: hidden; min-width: 0;
}
.door.d-kids { background: var(--pink); color: #fff; border-color: #fff; }
.door.d-escape { background: #0b0612; }
.door.d-card { background: var(--lemon); color: var(--ink); border-color: var(--ink); }
/* ゲームの カードは 5まい ぜんぶ ちがう いろ（トップと あそぶページで おなじ）: 黒・黄色・ピンク・水色・紫 */
.door.d-puzzle { background: var(--lemon); color: var(--ink); border-color: var(--ink); }
.door.d-puzzle .lbl { background: var(--ink); color: var(--lemon); }
.door.d-kobito { background: var(--pink); color: #fff; border-color: #fff; }
.door.d-kobito .lbl { background: var(--lemon); color: var(--ink); }
.door.d-machigai { background: #29b6f6; color: var(--ink); border-color: var(--ink); }
.door.d-machigai .lbl { background: var(--ink); color: #fff; }
.door.d-dl { background: var(--grape); color: #fff; border-color: #fff; }
.door.d-dl .lbl { background: #fff; color: var(--grape); }
.door .lbl { font-family: var(--f-pop); font-size: 11px; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; align-self: flex-start; background: var(--ink); color: var(--lemon); }
.door.d-escape .lbl { background: var(--blood); color: #fff; }
.door h3 { font-family: var(--f-pop); font-weight: 400; font-size: 22px; }
.door.d-escape h3 { font-family: var(--f-fear); font-size: 26px; color: #fff; }
.door p { margin: 0; font-size: 14px; max-width: 17em; }
.door .soon { margin-top: auto; font-family: var(--f-pop); font-size: 13px; padding-right: 90px; }
.door .art { position: absolute; right: -8px; bottom: -12px; width: 110px; height: auto; transition: transform .3s; pointer-events: none; }
.door:hover .art { transform: rotate(-10deg) translateY(-8px); }
/* かくれんぼ: ももみは カードの はしに はんぶん かくれて、 マウスを のせると ちょっと のぞく */
.door .art.peek { right: -44px; bottom: -10px; transform: rotate(-14deg); }
.door .art.art-rikki { width: 136px; right: -14px; bottom: -22px; } /* ぜんしんの え なので すこし 大きく */
.door:hover .art.peek, .door:focus-visible .art.peek { transform: translateX(-22px) rotate(-6deg); }
.door.d-escape .keyhole { position: absolute; right: 26px; bottom: 24px; width: 40px; height: 64px; }
.door.d-escape .keyhole circle, .door.d-escape .keyhole path { transition: fill .3s; }
.door.d-escape:hover .keyhole circle, .door.d-escape:hover .keyhole path,
.door.d-escape:focus-visible .keyhole circle, .door.d-escape:focus-visible .keyhole path { fill: var(--lemon); }
a.door { text-decoration: none; color: inherit; cursor: pointer; }
a.door:focus-visible { outline: 3px solid var(--lemon); outline-offset: 4px; }
.door.d-escape .soon { color: var(--lemon); }
/* 脱出ゲームは公開中: 鍵穴から光がもれて、NOW OPEN が点滅、▶ がぴょこぴょこ動く */
.door.d-escape .lbl { animation: openPulse 1.8s ease-out infinite; }
.door.d-escape .keyhole { animation: keyGlow 3.2s ease-in-out infinite; }
.door.d-escape .keyhole circle, .door.d-escape .keyhole path { animation: keyFill 3.2s ease-in-out infinite; }
.door .nw { white-space: nowrap; }
.door.d-escape .go { display: inline-block; animation: goNudge 1s ease-in-out infinite; }
@keyframes openPulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,107,.75); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255,59,107,0); } }
@keyframes keyGlow { 0%, 55%, 100% { filter: none; } 70%, 85% { filter: drop-shadow(0 0 10px var(--lemon)) drop-shadow(0 0 22px rgba(255,229,26,.6)); } }
@keyframes keyFill { 0%, 55%, 100% { fill: #3a2350; } 70%, 85% { fill: var(--lemon); } }
@keyframes goNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.door.d-escape:hover .keyhole circle, .door.d-escape:hover .keyhole path,
.door.d-escape:focus-visible .keyhole circle, .door.d-escape:focus-visible .keyhole path { animation: none; }
.door.d-escape:hover .keyhole, .door.d-escape:focus-visible .keyhole { animation: none; filter: drop-shadow(0 0 12px var(--lemon)); }
@media (max-width: 860px) {
  .doors { grid-template-columns: 1fr; gap: 12px; }
  .door { min-height: 0; padding: 16px 18px; border-radius: 16px; border-width: 2px; }
  .door h3 { font-size: 18px; }
  .door.d-escape h3 { font-size: 21px; }
  .door p { font-size: 12.5px; }
  .door .soon { font-size: 11.5px; margin-top: 4px; }
  .door .art { width: 76px; }
  .door .art.peek { right: -30px; }
  .door .art.art-rikki { width: 96px; right: -12px; bottom: -16px; }
  .door.d-escape .keyhole { width: 30px; height: 48px; right: 22px; bottom: 18px; }
}

/* ---------- footer ---------- */
.foot { background: var(--pink); color: #fff; }
.foot .wrap { padding-block: 32px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.foot .flogo { width: 170px; height: auto; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 700; font-size: 14px; }
.foot small { width: 100%; font-size: 11.5px; opacity: .85; }

/* ---------- lights off (header switch) ---------- */
body.lights-off { background: var(--night); }
body.lights-off .hero, body.lights-off .momomy-bar, body.lights-off .foot, body.lights-off::before { background: #3a0f3d; }
body.lights-off .cast, body.lights-off .kobito { background: var(--night-2); color: var(--ghost); }
body.lights-off .insta { background: #4a1450; color: var(--ghost); }
body.lights-off .insta .eyebrow, body.lights-off .kobito .eyebrow { color: var(--lemon); }
body.lights-off .ccard, body.lights-off .vcard { background: var(--night); color: var(--ghost); border-color: var(--ghost); box-shadow: 5px 5px 0 var(--grape); }
body.lights-off .vmeta { color: #a993c9; }
body.lights-off .k-chips span { background: var(--night); color: var(--ghost); border-color: var(--ghost); }
body.lights-off .phone { background: var(--night); color: var(--ghost); border-color: var(--ghost); }
body.lights-off .cast-stage img, body.lights-off .hero h1 img { filter: brightness(.6) saturate(.6) drop-shadow(0 0 14px rgba(155,31,232,.8)); }
body.lights-off .hero::before { background-image: radial-gradient(rgba(233,220,255,.08) 18%, transparent 19%); }
.lamp { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle 220px at var(--lx, 50%) var(--ly, 40%), transparent 0%, transparent 55%, rgba(8,3,14,.72) 100%); }
body.lights-off .lamp { opacity: 1; }

/* ---------- motion ---------- */
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-8px) rotate(1.5deg); } }
@keyframes gakuburu { 0% { translate: 0 0; } 25% { translate: -2px 1px; } 50% { translate: 2px -1px; } 75% { translate: -1px -2px; } 100% { translate: 1px 2px; } }
@keyframes flicker { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
body.lights-off #new .drip path { fill: var(--night-2); }

/* ---------- top page: hero buttons and links to pages not out yet ---------- */
/* 本番で まだ ださない ページ（/family/ など）への ボタンは、 src/worker.js が href を けすので かくす */
.top-hero .btns a.btn:not([href]), .band .more a.btn:not([href]) { display: none; }
@media (max-width: 720px) {
  .top-hero .btn-game { grid-column: auto; }
  .top-hero .btns:not(:has(.btn-game[href])) .btn-yt { grid-column: 1 / -1; }
}
/* 電気を けしたとき: したの バンドの いろに あわせて たれる */
body.lights-off .hero .drip path, body.lights-off #kobito .drip path { fill: var(--night); }
body.lights-off #horror .drip path { fill: var(--night-2); }
body.lights-off #play .drip path { fill: #4a1450; }
body.lights-off #insta .drip path { fill: #3a0f3d; }

/* ---------- game cards: 6まい めの いろ（みどり）と、 うしろに うすく ゲームの がめん ---------- */
.door.d-quest { background: #2fbf71; color: var(--ink); border-color: var(--ink); }
.door.d-quest .lbl { background: var(--ink); color: #fff; }
/* ゲームの がめんの うえに カードの いろを かさねる（もじの ある ひだりは こく、 みぎは うすく） */
/* --door-k: いろの こさ。 マウスを のせる（キーボードで えらぶ）と うすくなって、 うしろの がめんが よく見える */
@property --door-k { syntax: "<number>"; inherits: false; initial-value: 1; }
.door.d-escape, .door.d-puzzle, .door.d-kobito, .door.d-machigai, .door.d-quest, .door.d-dl { background-size: cover; background-position: center; --door-k: 1; transition: --door-k .35s ease; }
a.door:hover, a.door:focus-visible { --door-k: .65; }
@media (max-width: 860px) { .door.is-soon:hover, .door.is-soon:focus-visible { --door-k: 1; } } /* スマホの 小さい 準備中カードは もじを よみやすく */
.door.d-escape { background-image: linear-gradient(90deg, rgba(11,6,18,calc(.9 * var(--door-k))) 40%, rgba(11,6,18,calc(.72 * var(--door-k)))), url(/images/doors/escape.jpg); }
.door.d-puzzle { background-image: linear-gradient(90deg, rgba(255,229,26,calc(.93 * var(--door-k))) 40%, rgba(255,229,26,calc(.76 * var(--door-k)))), url(/images/doors/sokoban.jpg); }
.door.d-kobito { background-image: linear-gradient(90deg, rgba(255,26,166,calc(.92 * var(--door-k))) 40%, rgba(255,26,166,calc(.74 * var(--door-k)))), url(/images/doors/findit.jpg); }
.door.d-machigai { background-image: linear-gradient(90deg, rgba(41,182,246,calc(.93 * var(--door-k))) 40%, rgba(41,182,246,calc(.76 * var(--door-k)))), url(/images/doors/machigai.jpg); }
.door.d-quest { background-image: linear-gradient(90deg, rgba(47,191,113,calc(.93 * var(--door-k))) 40%, rgba(47,191,113,calc(.76 * var(--door-k)))), url(/images/doors/quest.jpg); }
.door.d-dl { background-image: linear-gradient(90deg, rgba(155,31,232,calc(.92 * var(--door-k))) 40%, rgba(155,31,232,calc(.74 * var(--door-k)))), url(/images/doors/download.jpg); }
/* こびとさがしの どうがは 8ほん: PCは 4×2、 タブレットは 2れつ、 スマホは 1れつ */
#kobitoGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { #kobitoGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { #kobitoGrid { grid-template-columns: 1fr; } }
/* 準備中の カード（src/worker.js が is-soon を つける）は、 あそべる カードの あと（したの だん）に ならべる */
.doors .door.is-soon { order: 1; }
/* 準備中の ページへの ボタンは、 worker が href を はずすので かくす（どの ページでも） */
a.btn:not([href]) { display: none; }
/* ホラーの 目玉カードの 見出しは、 ことばの とちゅうで おらない（スペースの ところで おる） */
.feature .fbody h3 { word-break: keep-all; overflow-wrap: anywhere; }

/* 「もっと見る」の なかまの ボタンは ぜんぶ おなじ: しろ に こい むらさきの ふちと かげ（よるの 帯では かげを ぶどういろに） */
.btn-more { background: #fff; color: var(--ink); }
.btn-more:hover { background: var(--lemon); }
.horror .btn-more, .play .btn-more { box-shadow: 4px 4px 0 var(--grape); }
.horror .btn-more:hover, .play .btn-more:hover { box-shadow: 6px 6px 0 var(--grape); }
.more-phone { display: none; }
@media (max-width: 720px) {
  .more-phone { display: flex; }
  .more-phone + .more { margin-top: 12px; }
  .grid.lim-3:not(.show-all) > :nth-child(n+4), .grid.lim-4:not(.show-all) > :nth-child(n+5) { display: none; }
}
/* 準備中の カード: PCは すこし しずかに、 スマホは 小さく 2れつ（なまえと COMING SOON だけ） */
.doors .door.is-soon { filter: saturate(.7); }
@media (max-width: 860px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors .door:not(.is-soon) { grid-column: 1 / -1; }
  .door.is-soon { padding: 12px 14px; gap: 6px; }
  .door.is-soon p, .door.is-soon .art, .door.is-soon .soon, .door.is-soon .keyhole { display: none; }
  .door.is-soon h3 { font-size: 15px; }
  .door.is-soon .lbl { font-size: 10px; padding: 2px 8px; }
}
/* ゲームの カードの なまえは ゲームごとの フォント（だっしゅつ＝ゆうれい筆、 クエスト＝ドット、 パズル＝つみき、 こびと＝マジック、 まちがい＝ふでポップ） */
.door.d-quest h3 { font-family: "DotGothic16", var(--f-pop); font-size: 24px; -webkit-text-stroke: .6px currentColor; } /* ドットの もじは ほそいので すこし 大きく ふとく */
@media (max-width: 860px) { .door.d-quest h3 { font-size: 20px; } .door.d-quest.is-soon h3 { font-size: 16px; } }
.door.d-puzzle h3 { font-family: "Rampart One", var(--f-pop); }
.door.d-kobito h3 { font-family: "Yusei Magic", var(--f-pop); }
.door.d-machigai h3 { font-family: "Potta One", var(--f-pop); }
