:root {
  --bg: #08070d;
  --bg-2: #0d0b16;
  --panel: rgba(20, 17, 32, 0.82);
  --pink: #ff3d9a;
  --pink-2: #ff86c6;
  --purple: #b06bff;
  --cyan: #37d0ff;
  --blue: #5b8cff;
  --text: #f3eefb;
  --muted: #9c92bd;
  --ng: #ff8a8a;
  --line: rgba(176, 107, 255, 0.22);
  --radius: 16px;
  --mincho: "Shippori Mincho", serif;
  --sans: "Zen Kaku Gothic New", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  overflow-x: hidden;
  position: relative;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 22px; }

/* 背景ネオン光 */
.glow-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(700px 500px at 12% 10%, rgba(255,61,154,0.14), transparent 60%),
    radial-gradient(700px 500px at 88% 20%, rgba(55,208,255,0.12), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(176,107,255,0.16), transparent 60%);
}
/* 走査線（サイバー感） */
.scanlines {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
main, .site-header, .site-footer { position: relative; z-index: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(8,7,13,0.72); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-family: var(--mincho); font-weight: 800; font-size: 1.16rem; letter-spacing: .12em; color: #fff; }
.logo.small { font-size: 1rem; }
.mini-link { color: var(--muted); font-size: .82rem; }
.mini-link:hover { color: var(--pink-2); text-shadow: 0 0 8px var(--pink); }
.btn-follow-sm { font-size: .8rem; font-weight: 700; color: #fff; padding: 7px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--pink), var(--purple)); box-shadow: 0 0 12px rgba(255,61,154,.5); transition: transform .16s, box-shadow .16s; }
.btn-follow-sm:hover { transform: translateY(-1px); box-shadow: 0 0 20px rgba(255,61,154,.75); }

/* ネオンのちらつき */
.neon-flicker { text-shadow: 0 0 6px var(--pink), 0 0 16px rgba(255,61,154,.6), 0 0 30px rgba(176,107,255,.4); animation: flicker 4.5s infinite; }
@keyframes flicker {
  0%,18%,22%,25%,53%,57%,100% { opacity: 1; }
  20%,24%,55% { opacity: .55; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 700; font-size: .96rem; padding: 14px 30px; border-radius: 999px; transition: transform .18s, box-shadow .18s, background .18s; }
.btn:hover { transform: translateY(-2px); }
.btn-neon { background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; box-shadow: 0 0 18px rgba(255,61,154,.5), 0 0 40px rgba(176,107,255,.35); animation: pulseGlow 2.6s ease-in-out infinite; }
@keyframes pulseGlow { 0%,100%{ box-shadow: 0 0 16px rgba(255,61,154,.45), 0 0 34px rgba(176,107,255,.3);} 50%{ box-shadow: 0 0 26px rgba(255,61,154,.7), 0 0 58px rgba(176,107,255,.5);} }
.btn-ghost { border: 1px solid var(--cyan); color: var(--cyan); box-shadow: inset 0 0 0 rgba(55,208,255,0); }
.btn-ghost:hover { box-shadow: 0 0 16px rgba(55,208,255,.5); background: rgba(55,208,255,.08); }
.btn:focus-visible { outline: 2px solid var(--pink-2); outline-offset: 3px; }
.ico-note { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-3px);} }

/* 固定の背景動画（スクロールしても後ろで流れ続ける） */
.bg-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .9; }
.bg-veil { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,7,13,.5), rgba(8,7,13,.42) 45%, rgba(8,7,13,.6)); }
.smoke-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; mix-blend-mode: screen; }

/* 隠し機能：黒猫覚醒モード */
.awake-glow { position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .8s ease;
  background: radial-gradient(120% 90% at 50% 50%, transparent 42%, rgba(255,61,154,.12) 100%);
  box-shadow: inset 0 0 130px rgba(176,107,255,.4); animation: awakePulse 3s ease-in-out infinite; }
body.awake .awake-glow { opacity: 1; }
@keyframes awakePulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.18); } }
body.awake .eq span { animation-duration: 460ms !important; }
body.awake .neon-title { text-shadow: 0 0 10px #fff, 0 0 26px var(--pink), 0 0 60px var(--purple), 0 0 92px var(--cyan); }
body.awake .logo { text-shadow: 0 0 10px var(--pink), 0 0 26px var(--purple); }
.paw { position: fixed; top: 0; z-index: 6; pointer-events: none; font-size: 1.4rem; opacity: 0; filter: drop-shadow(0 0 6px var(--pink)); }
@keyframes pawFall { 0% { transform: translateY(-12vh) rotate(-10deg); opacity: 0; } 12% { opacity: .95; } 100% { transform: translateY(112vh) rotate(40deg); opacity: 0; } }
.egg-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(22px); z-index: 60; pointer-events: none;
  background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; font-weight: 800; font-size: .92rem;
  padding: 12px 24px; border-radius: 999px; box-shadow: 0 0 26px rgba(255,61,154,.65); opacity: 0; transition: opacity .4s ease, transform .4s ease; }
.egg-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* コマンド完了の瞬間：画面が大きくピカッと光る */
.egg-flash { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.95), rgba(123,232,255,.6) 32%, rgba(255,61,154,.32) 58%, transparent 76%); }
.egg-flash.go { animation: eggFlash .8s ease-out; }
@keyframes eggFlash { 0% { opacity: 0; } 6% { opacity: 1; } 100% { opacity: 0; } }

/* 光る猫の目（覚醒時） */
.cat-eye { position: absolute; width: 9%; padding-bottom: 9%; height: 0; border-radius: 50%; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .5s ease; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,221,110,.95) 0%, rgba(255,180,40,.55) 38%, rgba(255,150,30,0) 72%); }
.eye-l { left: 22.5%; top: 49%; }
.eye-r { left: 59%; top: 49%; }
body.awake .cat-eye { opacity: 1; animation: eyePulse 1.6s ease-in-out infinite; }
@keyframes eyePulse { 0%,100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.16); filter: brightness(1.3); } }

/* 隠しトラック：覚醒時にサングラスのレンズへホログラム投影（位置・サイズはJSでレンズ形状に実測フィット） */
.secret-lens { position: absolute; z-index: 6; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.92); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.secret-lens.shown { opacity: 1; transform: scale(1); pointer-events: auto; }
.secret-lens-inner { position: relative; overflow: hidden; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; padding: 11%;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 50% 40%, rgba(20,17,32,.55), rgba(10,9,16,.82) 78%);
  border: 1px solid rgba(123,232,255,.6);
  box-shadow: 0 0 18px rgba(55,208,255,.4), 0 0 34px rgba(255,61,154,.22), inset 0 0 22px rgba(55,208,255,.12); }
.secret-lens-inner::before { content: ''; position: absolute; left: -10%; right: -10%; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(123,232,255,.3), transparent); animation: lensScan 2.4s linear infinite; }
@keyframes lensScan { 0% { top: -50%; } 100% { top: 120%; } }
.secret-lens-list { position: relative; width: 100%; }
.secret-lens-list .trk { flex-direction: column; align-items: center; text-align: center; gap: 3px;
  padding: 4px 6px; background: transparent; border: none; box-shadow: none; }
.secret-lens-list .trk .trk-play { width: 24px; height: 24px; }
.secret-lens-list .trk .trk-no { display: none; }
.secret-lens-list .trk .trk-info { align-items: center; }
.secret-lens-list .trk .trk-title { font-size: .72rem; line-height: 1.25; }
.secret-lens-list .trk .trk-tags { justify-content: center; }
.secret-lens-list .trk .trk-bpm { display: none; }
.secret-lens-list .trk .trk-dl { margin-top: 1px; }

/* King / Queen ネオン手描きクラウン */
.secret-crown { width: 46px; margin-bottom: 2px; }
.secret-crown .crown-svg { width: 100%; height: auto; display: block; animation: flicker 4.5s infinite; }
.secret-crown-king { color: #ffd35c; filter: drop-shadow(0 0 3px #ffd35c) drop-shadow(0 0 9px rgba(255,61,154,.85)); }
.secret-crown-queen { width: 40px; color: #d9a7ff; filter: drop-shadow(0 0 3px #d9a7ff) drop-shadow(0 0 9px rgba(123,232,255,.85)); }
@media (max-width: 640px) {
  .secret-lens-list .trk .trk-tags { display: none; }
  .secret-lens-list .trk .trk-title { font-size: .6rem; }
  .secret-crown { width: 36px; }
  .secret-crown-queen { width: 32px; }
}

/* Hero（全幅ブリード＋上下フェードで背景動画に溶け込む） */
.hero { position: relative; padding: 0 0 40px; }
.hero-media { position: relative; width: 100%; margin: 0 auto; overflow: hidden; }
.hero-media { will-change: opacity, filter, transform; }
.hero-media img { width: 100%; height: 70vh; max-height: 640px; min-height: 380px; object-fit: cover; object-position: center 44%; display: block;
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
  mask: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%); }

/* スマホ横画面：画面の高さより背が高くならないよう、ヒーローだけ専用サイズに */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding-bottom: 18px; }
  .hero-media img { height: calc(100vh - 132px); height: calc(100dvh - 132px); min-height: 0; max-height: none; }
  .hero-title-wrap { top: 10%; }
  .eyebrow { font-size: .72rem; }
  .neon-title { font-size: clamp(1.4rem, 6vw, 2.1rem) !important; }
  .hero-sub { font-size: .8rem; }
  .eq { height: 40px; }
  .hero-actions { margin-top: 12px; gap: 8px; }
  .hero-actions .btn { padding: 9px 18px; font-size: .82rem; }
  .wa-vertical { display: none; }
  .hanko { top: 4%; left: 3%; width: 36px; height: 36px; font-size: 1.1rem; }
  .flower-mark { right: 3%; bottom: 4%; width: 34px; height: 34px; }
}

/* 煙のように現れる／消える（スクロール・両方向） */
.smoke { opacity: 0; filter: blur(16px); transform: translateY(16px) scale(.985); transition: opacity .75s ease, filter .75s ease, transform .75s ease; }
.smoke.in { opacity: 1; filter: blur(0); transform: none; }
/* 楽曲リストの煙フェード（絞り込み切替時） */
.track-list { transition: opacity .45s ease, filter .45s ease; }
.track-list.smoking { opacity: 0; filter: blur(12px); }
@media (prefers-reduced-motion: reduce) {
  .smoke, .smoke.in { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
  .track-list.smoking { opacity: 1; filter: none; }
}
.hero-title-wrap { position: absolute; top: 13%; left: 0; right: 0; text-align: center; padding: 0 20px; }
.eyebrow { color: var(--cyan); letter-spacing: .2em; font-size: .72rem; font-weight: 700; margin-bottom: 10px; text-shadow: 0 0 10px rgba(55,208,255,.6); }
.neon-title { font-family: var(--mincho); font-weight: 800; font-size: clamp(2rem, 7vw, 3.6rem); letter-spacing: .08em; color: #fff; text-shadow: 0 0 8px #fff, 0 0 20px var(--pink), 0 0 42px var(--purple); }
.hero-sub { margin-top: 8px; color: var(--pink-2); font-size: clamp(.85rem, 2.6vw, 1.05rem); font-weight: 700; text-shadow: 0 0 12px rgba(255,61,154,.5); }
/* 縦書きの和テキスト */
.wa-vertical { position: absolute; top: 14%; right: 3.5%; writing-mode: vertical-rl; font-family: var(--mincho); font-size: clamp(.8rem, 2vw, 1.05rem); letter-spacing: .34em; color: rgba(255,134,198,.85); text-shadow: 0 0 10px var(--pink); }

/* イコライザー（動く） */
.eq { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: flex; align-items: flex-end; justify-content: center; gap: 5px; padding: 0 6% 14px; }
.eq span { width: 6px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--cyan), var(--pink)); box-shadow: 0 0 8px rgba(255,61,154,.7); animation: eq 900ms ease-in-out infinite; transform-origin: bottom; }
.eq span:nth-child(odd){ background: linear-gradient(180deg, var(--pink-2), var(--purple)); }
.eq span:nth-child(1){height:30%;animation-delay:-.2s}.eq span:nth-child(2){height:60%;animation-delay:-.5s}
.eq span:nth-child(3){height:45%;animation-delay:-.1s}.eq span:nth-child(4){height:80%;animation-delay:-.7s}
.eq span:nth-child(5){height:35%;animation-delay:-.3s}.eq span:nth-child(6){height:70%;animation-delay:-.9s}
.eq span:nth-child(7){height:50%;animation-delay:-.15s}.eq span:nth-child(8){height:90%;animation-delay:-.6s}
.eq span:nth-child(9){height:40%;animation-delay:-.35s}.eq span:nth-child(10){height:65%;animation-delay:-.8s}
.eq span:nth-child(11){height:30%;animation-delay:-.25s}.eq span:nth-child(12){height:75%;animation-delay:-.55s}
.eq span:nth-child(13){height:55%;animation-delay:-.12s}.eq span:nth-child(14){height:85%;animation-delay:-.65s}
.eq span:nth-child(15){height:38%;animation-delay:-.4s}.eq span:nth-child(16){height:60%;animation-delay:-.85s}
.eq span:nth-child(17){height:48%;animation-delay:-.18s}.eq span:nth-child(18){height:78%;animation-delay:-.5s}
.eq span:nth-child(19){height:33%;animation-delay:-.3s}.eq span:nth-child(20){height:68%;animation-delay:-.75s}
@keyframes eq { 0%,100%{ transform: scaleY(.4);} 50%{ transform: scaleY(1);} }

.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* 青海波（和のネオン区切り） */
.seigaiha { height: 42px; background:
  radial-gradient(circle at 20px 42px, transparent 14px, rgba(55,208,255,.35) 15px, transparent 16px),
  radial-gradient(circle at 0 42px, transparent 14px, rgba(255,61,154,.35) 15px, transparent 16px),
  radial-gradient(circle at 40px 42px, transparent 14px, rgba(255,61,154,.35) 15px, transparent 16px);
  background-size: 40px 42px; background-repeat: repeat-x; opacity: .7; }
.seigaiha.flip { transform: scaleY(-1); }

/* Sections */
.section { padding: 68px 0; }
.section-alt { background: rgba(13, 11, 22, 0.5); }
.section-head { text-align: center; margin-bottom: 38px; }
.kicker { color: var(--cyan); letter-spacing: .24em; font-size: .72rem; font-weight: 700; text-shadow: 0 0 10px rgba(55,208,255,.5); }
.glow-h { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2rem); margin: 8px 0 10px; letter-spacing: .05em; text-shadow: 0 0 16px rgba(176,107,255,.5); }
.section-sub { color: var(--muted); font-size: .92rem; }

/* 用途タグ・バー */
.tag-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 820px; margin: 0 auto 26px; }

.genre-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; max-width: 720px; margin: -10px auto 22px; }
.genre-legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); }
.genre-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.genre-dot-wa { background: #ff4757; box-shadow: 0 0 6px rgba(255,71,87,.7); }
.genre-dot-anime { background: #b06bff; box-shadow: 0 0 6px rgba(176,107,255,.7); }
.genre-dot-cine { background: #4d7cff; box-shadow: 0 0 6px rgba(77,124,255,.7); }
.genre-dot-cm { background: #3dffa6; box-shadow: 0 0 6px rgba(61,255,166,.7); }
.genre-dot-chill { background: #37d0ff; box-shadow: 0 0 6px rgba(55,208,255,.7); }
.genre-dot-vocal { background: #ffd35c; box-shadow: 0 0 6px rgba(255,211,92,.7); }
@media (max-width: 640px) {
  .genre-legend { gap: 5px 10px; margin-top: -6px; }
  .genre-legend-item { font-size: .66rem; }
}
.chip { font-family: var(--sans); font-weight: 700; font-size: .82rem; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; cursor: pointer; transition: .15s; }
.chip:hover { color: var(--text); border-color: rgba(255,61,154,.5); }
.chip.is-active { background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; border-color: transparent; box-shadow: 0 0 14px rgba(255,61,154,.5); }
.chip.is-off { opacity: .35; cursor: not-allowed; }
.chip.is-off:hover { color: var(--muted); border-color: var(--line); }
.chip:focus-visible { outline: 2px solid var(--pink-2); outline-offset: 2px; }

/* Track list（コンパクト1曲1行） */
.track-list { display: grid; gap: 8px; max-width: 780px; margin: 0 auto; }
.trk { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .12s; backdrop-filter: blur(6px); min-width: 0; }

/* ジャンル別ネオン枠：タグから自動判定した代表ジャンルで縁の色を分ける */
.trk[class*="genre-"] { border-width: 2px; padding: 9px 13px; }
.trk.genre-wa { border-color: rgba(255,71,87,.7); box-shadow: 0 0 12px rgba(255,71,87,.2); }
.trk.genre-anime { border-color: rgba(176,107,255,.7); box-shadow: 0 0 12px rgba(176,107,255,.2); }
.trk.genre-cine { border-color: rgba(77,124,255,.7); box-shadow: 0 0 12px rgba(77,124,255,.2); }
.trk.genre-cm { border-color: rgba(61,255,166,.65); box-shadow: 0 0 12px rgba(61,255,166,.18); }
.trk.genre-chill { border-color: rgba(55,208,255,.65); box-shadow: 0 0 12px rgba(55,208,255,.18); }
.trk.genre-vocal { border-color: rgba(255,211,92,.7); box-shadow: 0 0 12px rgba(255,211,92,.2); }

.trk:hover { border-color: rgba(255,61,154,.5); box-shadow: 0 0 16px rgba(255,61,154,.18); transform: translateY(-1px); }
.trk.is-playing { border-color: var(--pink); box-shadow: 0 0 20px rgba(255,61,154,.35); }
.trk-play { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,61,154,.16); color: var(--pink-2); font-size: .68rem; letter-spacing: -1px; }
.trk.is-playing .trk-play { background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; }
.trk-no { flex: 0 0 auto; width: 24px; text-align: center; font-family: var(--mincho); color: var(--pink-2); font-size: .9rem; }
.trk-info { flex: 1 1 auto; min-width: 0; }
.trk-title { display: block; font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk-tags { display: flex; gap: 5px; margin-top: 2px; overflow: hidden; }
.trk-tags .ttag { font-size: .66rem; padding: 1px 8px; white-space: nowrap; }
.trk-bpm { flex: 0 0 auto; font-size: .74rem; color: var(--muted); }
.trk-dlwrap { flex: 0 0 auto; position: relative; display: inline-flex; }
.trk-dl { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pink); color: var(--pink-2); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: .15s; }
.trk-dl:hover { background: var(--pink); color: #fff; box-shadow: 0 0 14px rgba(255,61,154,.6); }
.trk-dlcount { position: absolute; bottom: -6px; right: -5px; min-width: 15px; height: 14px; padding: 0 3px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-family: var(--sans); font-size: .6rem; line-height: 13px; text-align: center; pointer-events: none; }

/* 狭いスマホ幅：右端のDLボタンが切れないよう詰める */
@media (max-width: 480px) {
  .trk { gap: 8px; padding: 9px 10px; }
  .trk-play { width: 26px; height: 26px; }
  .trk-no { width: 18px; font-size: .78rem; }
  .trk-title { font-size: .86rem; }
  .trk-tags { display: none; }
  .trk-bpm { display: none; }
  .trk-dl { width: 30px; height: 30px; font-size: .9rem; }
}
.trk.secret { border-color: rgba(255,61,154,.55); box-shadow: 0 0 20px rgba(255,61,154,.28); }
.trk.secret .trk-no { color: #ffd35c; }

/* 黒猫の一推し */
.oshi-section .section-head { margin-bottom: 22px; }

/* 黒猫の一推し：デジタル掲示板ふうの大型ジュークボックス表示（毎回ランダムな1曲を表示） */
.oshi-board { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 460px; margin: 0 auto; }
.oshi-nav { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--pink-2); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: .15s; }
.oshi-nav:hover { border-color: var(--pink); box-shadow: 0 0 14px rgba(255,61,154,.4); color: #fff; }

.oshi-card { position: relative; flex: 1 1 auto; min-width: 0; max-width: 360px; margin: 0 auto; border-radius: 16px; overflow: visible; background: var(--panel); backdrop-filter: blur(6px); cursor: pointer; transition: box-shadow .15s, transform .12s; }
.oshi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from 0deg, #ff3d9a, #ffb14d, #fff56b, #6bffb0, #37d0ff, #b06bff, #ff3d9a);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: oshiRainbowSpin 6s linear infinite;
  pointer-events: none;
  z-index: 2;
}
.oshi-card:hover { box-shadow: 0 0 18px rgba(255,255,255,.22); transform: translateY(-1px); }
.oshi-card.is-playing { box-shadow: 0 0 24px rgba(255,255,255,.32); }
.oshi-card.is-playing::before { animation-duration: 2.2s; }
@keyframes oshiRainbowSpin {
  to { filter: hue-rotate(360deg); }
}

/* 歌詞カード＝大型スクリーン表示 */
.oshi-lyrics-btn { display: block; position: relative; width: 100%; padding: 0; margin: 0; border: none; border-radius: 16px 16px 0 0; overflow: hidden; background: #08070d; cursor: zoom-in; }
.oshi-lyrics-btn::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 26px rgba(0,0,0,.5); pointer-events: none; }
.oshi-cover { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; background: #08070d; }
.oshi-cover-hint { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 8px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; font-size: .7rem; text-align: center; opacity: 0; transition: opacity .15s; }
.oshi-lyrics-btn:hover .oshi-cover-hint, .oshi-lyrics-btn:focus-visible .oshi-cover-hint { opacity: 1; }

/* 右下に浮かぶ回転レコード盤（クリックで再生） */
.oshi-disc { position: absolute; right: -14px; bottom: 46px; z-index: 3; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 4px 12px rgba(0,0,0,.5)); }
.oshi-disc-art { width: 100%; height: 100%; display: block; }
.oshi-card.is-playing .oshi-disc-art { animation: oshiDiscSpin 2.6s linear infinite; }
@keyframes oshiDiscSpin { to { transform: rotate(360deg); } }
.oshi-disc .trk-play { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .72rem; letter-spacing: -1px; box-shadow: 0 0 10px rgba(255,61,154,.6); }

.oshi-board-body { padding: 14px 18px 18px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.oshi-title { font-family: var(--mincho); font-weight: 700; font-size: 1.1rem; }
.oshi-sub { font-size: .78rem; color: var(--muted); font-style: italic; }
.oshi-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.oshi-dl-label { width: auto; height: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--pink); color: var(--pink-2); font-family: var(--sans); font-weight: 700; font-size: .78rem; transition: .15s; }
.oshi-dl-label:hover { background: var(--pink); color: #fff; box-shadow: 0 0 14px rgba(255,61,154,.6); }
.oshi-actions .trk-dlcount { position: static; background: none; border: none; color: var(--muted); font-family: var(--sans); font-size: .74rem; padding: 0; pointer-events: none; }

@media (max-width: 640px) {
  .oshi-board { gap: 8px; max-width: 100%; }
  .oshi-nav { width: 34px; height: 34px; font-size: 1.1rem; }
  .oshi-disc { width: 58px; height: 58px; right: -8px; bottom: 34px; }
  .oshi-disc .trk-play { width: 26px; height: 26px; font-size: .64rem; }
  .oshi-board-body { padding: 12px 14px 16px; }
  .oshi-title { font-size: .96rem; }
}

/* 歌詞カード ライトボックス（DLボタンなし、その場表示のみ） */
.lyrics-lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .2s ease; }
.lyrics-lightbox[hidden] { display: none; }
.lyrics-lightbox.show { opacity: 1; }
.lyrics-lightbox-veil { position: absolute; inset: 0; background: rgba(6,5,12,.9); backdrop-filter: blur(4px); }
.lyrics-lightbox-img { position: relative; max-width: min(560px, 92vw); max-height: 88vh; width: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); user-select: none; -webkit-user-drag: none; }
.lyrics-lightbox-close { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.4); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; z-index: 1; }
.lyrics-lightbox-close:hover { border-color: var(--pink); color: var(--pink-2); }
.more-btn { display: block; margin: 16px auto 0; background: transparent; border: 1px solid var(--line); color: var(--pink-2); font-family: var(--sans); font-weight: 700; font-size: .9rem; padding: 11px 26px; border-radius: 999px; cursor: pointer; transition: .15s; }
.more-btn:hover { border-color: var(--pink); box-shadow: 0 0 16px rgba(255,61,154,.35); }

/* 下部固定ミニプレイヤー */
.mini-player { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(24px); z-index: 55; width: min(680px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: rgba(20,17,32,.94); border: 1px solid rgba(255,61,154,.4); box-shadow: 0 12px 40px rgba(0,0,0,.55), 0 0 24px rgba(255,61,154,.22); backdrop-filter: blur(12px); opacity: 0; transition: opacity .3s ease, transform .3s ease; }
.mini-player.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.mp-title { flex: 0 0 auto; max-width: 32%; font-weight: 700; font-size: .84rem; color: var(--pink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-audio { flex: 1 1 auto; height: 36px; }
.mp-close { flex: 0 0 auto; background: none; border: none; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.mp-close:hover { color: var(--pink-2); }
@media (max-width: 560px) { .mp-title { max-width: 26%; } .trk-bpm { display: none; } }
.track-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 6px; }
.ttag { font-size: .72rem; color: var(--cyan); border: 1px solid rgba(55,208,255,.35); border-radius: 999px; padding: 2px 9px; }
.track-meta { font-size: .82rem; color: var(--pink-2); font-weight: 700; margin-bottom: 3px; }
.track-rec { font-size: .84rem; color: var(--muted); margin-bottom: 9px; }
.hashtag-cta { text-align: center; margin: 26px auto 0; max-width: 640px; font-weight: 700; color: var(--text); }
.hashtag-cta b { color: var(--pink-2); text-shadow: 0 0 10px rgba(255,61,154,.5); }
.track { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: border-color .18s, box-shadow .18s, transform .18s; backdrop-filter: blur(6px); }
.track:hover { transform: translateY(-2px); border-color: rgba(255,61,154,.55); box-shadow: 0 0 24px rgba(255,61,154,.25); }
.track-no { font-family: var(--mincho); font-size: 1.1rem; color: var(--pink-2); text-align: center; text-shadow: 0 0 10px rgba(255,61,154,.5); }
.track-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.track-title { font-weight: 700; font-size: 1.02rem; }
.track-mood { font-size: .76rem; color: var(--cyan); border: 1px solid rgba(55,208,255,.4); border-radius: 999px; padding: 2px 10px; }
.player { width: 100%; height: 34px; }
.dl { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--pink); color: var(--pink-2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: .18s; }
.dl:hover { background: var(--pink); color: #fff; box-shadow: 0 0 18px rgba(255,61,154,.7); }

.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line); border-radius: var(--radius); max-width: 560px; margin: 0 auto; background: var(--panel); }
.empty-emoji { font-size: 2.4rem; filter: drop-shadow(0 0 10px var(--pink)); }
.empty-title { font-family: var(--mincho); font-size: 1.15rem; margin-top: 12px; }
.empty-sub { color: var(--muted); font-size: .9rem; }

/* Terms */
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 0 auto; }
.term { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; backdrop-filter: blur(6px); }
.term-mark { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.term.ok .term-mark { background: rgba(55,208,255,.16); color: var(--cyan); box-shadow: 0 0 12px rgba(55,208,255,.4); }
.term.ng .term-mark { background: rgba(255,138,138,.14); color: var(--ng); }
.term h3 { font-size: 1rem; margin-bottom: 4px; }
.term p { color: var(--muted); font-size: .88rem; }
.term code { background: rgba(176,107,255,.16); color: var(--pink-2); padding: 1px 7px; border-radius: 5px; font-size: .84rem; }
.term .inline-link { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.term .inline-link:hover { color: var(--pink-2); }

/* 応援（フォロー）ブロック */
.follow-cta { max-width: 640px; margin: 30px auto 0; text-align: center; padding: 28px 24px; border-radius: var(--radius); background: rgba(176,107,255,.06); border: 1px solid var(--line); position: relative; }
.follow-copy { font-weight: 700; margin-bottom: 20px; }
.follow-copy code { background: rgba(255,61,154,.16); color: var(--pink-2); padding: 1px 8px; border-radius: 5px; font-size: .9em; }
.follow-note { font-size: .82rem; color: var(--muted); font-weight: 500; }
.follow-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ico-sns { width: 18px; height: 18px; flex: 0 0 auto; }
.ico-sns-sm { width: 14px; height: 14px; }
.btn-ig { color: #fff; background: linear-gradient(135deg, #b06bff, #ff3d9a 55%, #ffab5b); box-shadow: 0 0 16px rgba(255,61,154,.45); }
.btn-ig:hover { box-shadow: 0 0 26px rgba(255,61,154,.7); }
.sp-only { display: none; }

/* 利用規約（できること／できないこと） */
.terms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 0 auto; }
.terms-col { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.terms-col.ok { border-color: rgba(55,208,255,.35); }
.terms-col.ng { border-color: rgba(255,138,138,.3); }
.terms-col h3 { font-size: 1.02rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.tc-mark { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; flex: 0 0 auto; }
.terms-col.ok .tc-mark { background: rgba(55,208,255,.16); color: var(--cyan); }
.terms-col.ng .tc-mark { background: rgba(255,138,138,.14); color: var(--ng); }
.terms-col ul { list-style: none; display: grid; gap: 9px; }
.terms-col li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--text); }
.terms-col li::before { position: absolute; left: 0; top: 0; }
.terms-col.ok li::before { content: "○"; color: var(--cyan); font-size: .8rem; }
.terms-col.ok strong { color: var(--cyan); }
.terms-col.ng li { color: var(--muted); }
.terms-col.ng li::before { content: "×"; color: var(--ng); }
.credit-line { max-width: 820px; margin: 20px auto 0; text-align: center; color: var(--muted); font-size: .86rem; line-height: 1.9; }
.credit-line strong { color: var(--text); }
.credit-line code { background: rgba(176,107,255,.16); color: var(--pink-2); padding: 1px 7px; border-radius: 5px; }

.note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 26px; }
.note strong { color: var(--text); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner a { color: var(--muted); font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; }
.footer-inner a:hover { color: var(--pink-2); text-shadow: 0 0 8px var(--pink); }
.copyright { color: var(--muted); font-size: .8rem; }

/* 桜の花びら */
.sakura { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -6vh; background: linear-gradient(135deg, var(--pink-2), var(--pink)); border-radius: 100% 0 100% 0; box-shadow: 0 0 8px rgba(255,61,154,.6); animation-name: fall; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes fall {
  0% { transform: translate(0, -6vh) rotate(0deg); }
  50% { transform: translate(34px, 52vh) rotate(200deg); }
  100% { transform: translate(-14px, 112vh) rotate(430deg); }
}

/* 和モチーフ（竹・松） */
.wa-accent { position: absolute; pointer-events: none; z-index: 2; filter: drop-shadow(0 0 5px currentColor); }
.wa-bamboo { left: 14px; bottom: 0; height: 48%; width: auto; color: var(--cyan); opacity: .8; }
.wa-pine { right: 14px; bottom: 12px; width: 20%; height: auto; color: var(--pink-2); opacity: .8; }

/* 和の区切り（番傘＋組子格子） */
.wa-divider { display: flex; align-items: center; gap: 18px; max-width: 720px; margin: 4px auto; padding: 0 22px; }
.wa-lattice { flex: 1; height: 22px; opacity: .6;
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(55,208,255,.45) 8px 9px),
    repeating-linear-gradient(-45deg, transparent 0 8px, rgba(255,61,154,.45) 8px 9px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
  mask: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}
.wa-umbrella { width: 56px; height: 56px; flex: 0 0 auto; color: var(--pink-2); filter: drop-shadow(0 0 8px var(--pink)); animation: spin 28s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 水彩 × 書道 ===== */
.svg-defs { position: absolute; width: 0; height: 0; }

/* 和紙の質感 */
.washi { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: .045; mix-blend-mode: overlay; }

/* 水彩のにじみ */
.ink-wash { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: url(#watercolor); opacity: .5; mix-blend-mode: screen; }
.b1 { width: 44vw; height: 44vw; left: -8vw; top: 2vh; background: radial-gradient(circle at 42% 42%, rgba(255,61,154,.55), transparent 70%); }
.b2 { width: 48vw; height: 48vw; right: -12vw; top: 32vh; background: radial-gradient(circle at 50% 50%, rgba(55,208,255,.45), transparent 70%); }
.b3 { width: 52vw; height: 52vw; left: 22vw; bottom: -14vh; background: radial-gradient(circle at 50% 50%, rgba(176,107,255,.5), transparent 70%); }

/* 筆のかすれ下線 */
.brush-under { display: block; width: min(300px, 74%); height: 18px; margin: 8px auto 2px; }
.brush-under path { fill: var(--pink-2); filter: drop-shadow(0 0 7px var(--pink)); }

/* 落款スタンプ */
.hanko { position: absolute; top: 6.5%; left: 6%; z-index: 3; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; font-family: "Yuji Boku", var(--mincho); font-size: 1.6rem; color: #ff6cbb; border: 2px solid rgba(255,61,154,.85); border-radius: 8px; background: rgba(255,61,154,.07); box-shadow: 0 0 14px rgba(255,61,154,.55), inset 0 0 10px rgba(255,61,154,.3); text-shadow: 0 0 8px var(--pink); }

/* 特別な一曲：サングラス左レンズに映る「音符」の上の透明ホットスポット。
   位置・サイズはJS（layoutNoteMark）が画像のトリミングに合わせて実測配置する。 */
/* 特別な一曲（覚醒時のみ）：押し花のマーク */
.flower-mark { position: absolute; right: 6%; bottom: 8%; z-index: 6; width: 46px; height: 46px; padding: 8px;
  border: 0; border-radius: 50%; background: rgba(230,198,116,.1); color: #e6c674; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .6s ease, transform .3s ease;
  box-shadow: 0 0 10px rgba(230,198,116,.35); }
.flower-mark svg { width: 100%; height: 100%; display: block; }
body.awake .flower-mark { opacity: .85; pointer-events: auto; animation: flowerBreathe 3.2s ease-in-out infinite; }
body.awake .flower-mark:hover { opacity: 1; transform: scale(1.08); }
@keyframes flowerBreathe { 0%,100% { filter: drop-shadow(0 0 3px rgba(230,198,116,.5)); } 50% { filter: drop-shadow(0 0 9px rgba(230,198,116,.9)); } }

/* RAW VOICE：サングラス左レンズに映る「音符」の上の透明ホットスポット。
   位置・サイズはJS（layoutNoteMark）が画像のトリミングに合わせて実測配置する。 */
.note-mark { position: absolute; z-index: 6; border: 0; background: transparent; cursor: pointer; padding: 0; }
.note-mark:hover, .note-mark:focus-visible { background: rgba(255,255,255,.06); border-radius: 50%; }

/* 特別な一曲：歌詞モーダル（古紙・押し花のトーンで、他とは別世界観） */
.papa-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; }
body.papa-open { overflow: hidden; }
.papa-modal[hidden] { display: none; }
.papa-modal-veil { position: absolute; inset: 0; background: rgba(10,8,6,.72); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s ease; }
.papa-modal.show .papa-modal-veil { opacity: 1; }
.papa-card { position: relative; width: min(720px, 100%); max-height: 86vh; max-height: 86dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 40px clamp(20px, 5vw, 52px) 32px;
  background: linear-gradient(160deg, #f3e6c9, #e6d3a8 55%, #ecdcb6); color: #4a3a22; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.35);
  opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .4s ease, transform .4s ease; }
.papa-modal.show .papa-card { opacity: 1; transform: translateY(0) scale(1); }
.papa-close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(243,230,201,.92); color: #4a3a22; font-size: 1.3rem; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.4); opacity: 0; transition: opacity .35s ease; }
.papa-modal.show .papa-close { opacity: 1; }
@media (max-width: 640px) {
  .papa-modal { align-items: flex-start; padding: calc(58px + env(safe-area-inset-top, 0px)) 10px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .papa-card { max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); padding: 30px 18px 24px; }
  .papa-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
}
.papa-sprig { position: absolute; top: 18px; right: 60px; width: 44px; height: 66px; color: #8a9b6e; opacity: .8; }
.papa-kicker { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .28em; color: #9c7d3f; margin-bottom: 6px; }
.papa-title { font-family: var(--mincho); font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; color: #3a2c18; border-bottom: 1px solid rgba(74,58,34,.25); padding-bottom: 14px; margin-bottom: 18px; }
.papa-player { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.papa-play { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; border: 1px solid rgba(74,58,34,.35); background: rgba(255,255,255,.3); color: #4a3a22; font-size: 1rem; cursor: pointer; }
.papa-time { font-family: var(--sans); font-size: .8rem; color: #6b5636; }
.papa-dl { margin-left: auto; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(74,58,34,.35); color: #4a3a22; }
.papa-lyrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; font-family: var(--mincho); font-size: .92rem; line-height: 2; color: #3f311d; white-space: pre-line; }
.papa-sign { margin-top: 26px; text-align: right; font-style: italic; font-family: var(--sans); color: #7c6540; font-size: 1rem; }
@media (max-width: 640px) {
  .papa-lyrics { grid-template-columns: 1fr; }
  .papa-sprig { display: none; }
}

/* RAW VOICE：音符から開く隠しトラック用のシンプルなネオンモーダル */
.rv-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; }
.rv-modal[hidden] { display: none; }
.rv-modal-veil { position: absolute; inset: 0; background: rgba(6,5,12,.82); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s ease; }
.rv-modal.show .rv-modal-veil { opacity: 1; }
.rv-card { position: relative; width: min(420px, 100%); padding: 32px 28px; border-radius: 18px; text-align: center;
  background: var(--panel); border: 1px solid rgba(255,61,154,.4); box-shadow: 0 0 30px rgba(255,61,154,.25), 0 20px 60px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .3s ease, transform .3s ease; }
.rv-modal.show .rv-card { opacity: 1; transform: translateY(0) scale(1); }
.rv-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.06); color: var(--muted); font-size: 1.2rem; cursor: pointer; }
.rv-close:hover { color: var(--pink-2); }
.rv-kicker { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .28em; color: var(--pink-2); margin-bottom: 8px; }
.rv-title { font-family: var(--mincho); font-size: clamp(1.3rem, 4vw, 1.7rem); font-weight: 800; color: var(--text); margin-bottom: 24px; }
.rv-player { display: flex; align-items: center; justify-content: center; gap: 14px; }
.rv-play { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--pink); background: transparent; color: var(--pink-2); font-size: 1.05rem; cursor: pointer; transition: .15s; }
.rv-play:hover { background: var(--pink); color: #fff; box-shadow: 0 0 14px rgba(255,61,154,.6); }
.rv-time { font-family: var(--sans); font-size: .82rem; color: var(--muted); }
.rv-dl { width: 36px; height: 36px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--pink); color: var(--pink-2); transition: .15s; }
.rv-dl:hover { background: var(--pink); color: #fff; box-shadow: 0 0 14px rgba(255,61,154,.6); }

/* 大きな筆文字の透かし */
.section { position: relative; overflow: hidden; }
.section > .wrap { position: relative; z-index: 1; }
.brush-kanji { position: absolute; right: -3%; top: 50%; transform: translateY(-50%); font-family: "Yuji Boku", var(--mincho); font-size: clamp(220px, 42vw, 480px); line-height: 1; color: rgba(176,107,255,.07); text-shadow: 0 0 50px rgba(176,107,255,.14); pointer-events: none; z-index: 0; }


@media (max-width: 720px) {
  .terms, .terms-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .footer-inner { justify-content: center; text-align: center; }
  .eq { height: 44px; gap: 3px; }
  .wa-vertical, .wa-accent { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

/* ===== カット工房 (cut.html) ===== */
.cw-body { background: var(--bg); }
.cw-main { position: relative; z-index: 1; padding: 48px 0 80px; min-height: 70vh; }
.cw-source { max-width: 640px; margin: 28px auto 0; display: grid; gap: 12px; text-align: center; }
.cw-label { font-size: .85rem; color: var(--muted); font-weight: 700; }
.cw-select { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: #fff; font-family: var(--sans); font-size: .95rem; cursor: pointer; }
.cw-select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 14px rgba(255,61,154,.35); }
.cw-or { color: var(--muted); font-size: .8rem; }
.cw-upload { display: inline-block; padding: 12px 20px; border-radius: 999px; border: 1px dashed rgba(123,232,255,.5); color: #7be8ff; font-size: .88rem; font-weight: 700; cursor: pointer; transition: .15s; }
.cw-upload:hover { background: rgba(55,208,255,.08); box-shadow: 0 0 14px rgba(55,208,255,.3); }

.cw-editor { max-width: 860px; margin: 36px auto 0; }
.cw-nowname { text-align: center; font-family: var(--mincho); font-size: 1.05rem; color: var(--pink-2); text-shadow: 0 0 10px rgba(255,61,154,.5); margin-bottom: 14px; }
.cw-wavebox { position: relative; }
.cw-wave { display: block; width: 100%; height: 160px; border-radius: 12px; border: 1px solid var(--line); cursor: crosshair; touch-action: none; }
.cw-hint { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 6px; }
.cw-selinfo { text-align: center; font-family: var(--mincho); font-size: 1.2rem; color: #fff; margin: 14px 0 6px; letter-spacing: .06em; text-shadow: 0 0 12px rgba(176,107,255,.5); }
.cw-presets { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 18px; }
.cw-preset-label { font-size: .8rem; color: var(--muted); }
.cw-controls { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cw-btn { font-size: .92rem; }
.cw-check { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); cursor: pointer; }
.cw-check input { accent-color: var(--pink); }
.cw-status { text-align: center; margin-top: 16px; min-height: 1.4em; font-size: .9rem; color: #7be8ff; }
.cw-status.is-err { color: #ff8181; }
.cw-note { text-align: center; margin-top: 40px; }
.cw-note a { color: var(--pink-2); text-decoration: underline; }
@media (max-width: 640px) {
  .cw-wave { height: 120px; }
  .cw-controls { gap: 10px; }
}
/* カット工房：デジタル時計風の再生位置カウンター */
.cw-clock { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 2px auto 12px; width: fit-content;
  padding: 8px 26px 10px; border-radius: 12px; background: rgba(6,10,14,.92);
  border: 1px solid rgba(123,232,255,.35); box-shadow: 0 0 16px rgba(55,208,255,.2), inset 0 0 18px rgba(0,0,0,.6); }
.cw-clock-cap { font-family: "Share Tech Mono", monospace; font-size: .62rem; letter-spacing: .3em; color: rgba(123,232,255,.55); }
.cw-clock-digits { font-family: "Share Tech Mono", monospace; font-size: clamp(1.9rem, 5.5vw, 2.6rem); line-height: 1.1;
  color: #7be8ff; letter-spacing: .06em; text-shadow: 0 0 8px rgba(55,208,255,.9), 0 0 26px rgba(55,208,255,.45); }
.cw-clock.is-live { border-color: rgba(123,232,255,.7); box-shadow: 0 0 24px rgba(55,208,255,.4), inset 0 0 18px rgba(0,0,0,.6); }
.cw-clock.is-live .cw-clock-cap { color: #7be8ff; }
.cw-clock.is-live .cw-clock-digits { animation: clockGlow 1s ease-in-out infinite; }
@keyframes clockGlow { 0%,100% { text-shadow: 0 0 8px rgba(55,208,255,.9), 0 0 26px rgba(55,208,255,.45); } 50% { text-shadow: 0 0 12px rgba(55,208,255,1), 0 0 40px rgba(55,208,255,.7); } }
/* カット工房：カーソル位置の秒数ツールチップ */
.cw-tip { position: absolute; top: -30px; transform: translateX(-50%); padding: 3px 10px; border-radius: 8px;
  background: rgba(20,17,32,.95); border: 1px solid rgba(123,232,255,.5); color: #7be8ff;
  font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
  pointer-events: none; z-index: 5; box-shadow: 0 0 10px rgba(55,208,255,.3); }
/* きみがいる世界：装飾（内枠・マスキングテープ・押し花・私的な記録の一文） */
.papa-frame { position: absolute; inset: 12px; border: 1px solid rgba(74,58,34,.28); border-radius: 3px; pointer-events: none;
  box-shadow: inset 0 0 0 3px rgba(243,230,201,.55), inset 0 0 0 4px rgba(74,58,34,.14); }
.papa-tape { position: absolute; width: 92px; height: 26px; background: rgba(196,168,110,.4);
  box-shadow: 0 1px 3px rgba(74,58,34,.18); pointer-events: none;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 6px, #000 calc(100% - 6px), transparent 100%);
  mask: linear-gradient(90deg, transparent 0, #000 6px, #000 calc(100% - 6px), transparent 100%); }
.papa-tape-l { top: 4px; left: 30px; transform: rotate(-5deg); }
.papa-tape-r { top: 4px; right: 30px; transform: rotate(4deg); }
.papa-sprig-2 { top: auto; right: auto; bottom: 20px; left: 22px; transform: scaleX(-1) rotate(14deg); opacity: .55; }
.papa-note { font-family: var(--mincho); font-size: .86rem; line-height: 2; color: #5d4a2c;
  margin: 0 0 20px; padding: 12px 16px; border-left: 3px solid rgba(156,125,63,.45); background: rgba(255,255,255,.22); }
.papa-note-sub { display: inline-block; margin-top: 4px; color: #8a6f42; font-size: .8rem; }
@media (max-width: 640px) { .papa-tape { width: 64px; } .papa-sprig-2 { display: none; } }
