/* 立椅子かんな 公式サイト。配色はアイコンから: 青緑・青・紫・マゼンタ・黄 */
:root {
  --bg: #07040f;
  --ink: #f4f0ff;
  --mute: #a99fc9;
  --line: rgba(255, 255, 255, .13);
  --glass: rgba(12, 7, 28, .62);
  --teal: #19e3b4;
  --blue: #3a6bff;
  --pur: #8b3cf0;
  --mag: #ff3d9e;
  --yel: #ffe14a;
  --grad: linear-gradient(100deg, var(--teal), var(--blue) 40%, var(--pur) 70%, var(--mag));
  --f-disp: "Dela Gothic One", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --f-latin: "Unbounded", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--mag); color: #fff; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow > .panel, .wrap.narrow > .prose, .wrap.narrow > .note { max-width: 860px; }

/* ---------- 背景まわり ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; display: block; background: var(--bg); }
.veil {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(7, 4, 15, .45), rgba(7, 4, 15, .12) 38%, rgba(7, 4, 15, .5));
}
.no-gl body {
  background: radial-gradient(60vmax 50vmax at 15% 10%, #1a8f86 0, transparent 60%),
    radial-gradient(60vmax 50vmax at 90% 30%, #6a22c8 0, transparent 60%),
    radial-gradient(50vmax 50vmax at 40% 100%, #b21f6e 0, transparent 60%), var(--bg);
  background-attachment: fixed;
}
.no-gl #gl { display: none; }
.flash { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(0deg, var(--mag) 0 6px, var(--teal) 6px 12px, transparent 12px 40px); mix-blend-mode: screen; }
.leaving .flash { animation: flash .42s steps(7) forwards; }
@keyframes flash { 0% { opacity: 0; } 20% { opacity: .55; } 50% { opacity: .15; transform: translateX(14px); } 80% { opacity: .5; } 100% { opacity: .9; } }

/* ---------- ヘッダー ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: calc(var(--bar-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
/* ヘッダーの背景(ぼかし)は、疑似要素に置く。.bar 自体に backdrop-filter を付けると、中の全画面メニュー(position: fixed)の基準が、ヘッダーの高さになってしまう */
.bar::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.bar.solid::before { background: rgba(8, 4, 20, .6); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-disp); font-size: 17px; letter-spacing: .02em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(25, 227, 180, .7), 0 0 18px rgba(255, 61, 158, .55); }
.menu { display: flex; gap: clamp(14px, 2.4vw, 34px); font-family: var(--f-latin); font-weight: 600; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.menu a { position: relative; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.menu a:hover::after { transform: scaleX(1); }
.burger { display: none; }
.back { font-family: var(--f-latin); font-weight: 600; letter-spacing: .06em; font-size: 12px; display: inline-flex; gap: 10px; align-items: center; }
.back i { font-style: normal; transition: transform .25s; }
.back:hover i { transform: translateX(-6px); }

/* ---------- ヒーロー ---------- */
.hero-view { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--bar-h) + 24px) 0 40px; }
.hero-in { width: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(6px, 1.6vh, 14px); font-family: var(--f-latin); font-weight: 600; font-size: 11px; letter-spacing: .19em; color: var(--teal); }
.eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--mag); box-shadow: 0 0 12px var(--mag); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }

.glitch { position: relative; margin: 0; font-family: var(--f-disp); font-weight: 400; line-height: 1.02; letter-spacing: -.01em;
  text-shadow: 2px 0 rgba(255, 61, 158, .55), -2px 0 rgba(25, 227, 180, .55); }
.hero-view .glitch { font-size: clamp(52px, min(10.5vw, 18vh), 168px); }
.hero-view .glitch span { display: block; position: relative; white-space: nowrap; }
.hero-view .glitch .l2 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 22px rgba(139, 60, 240, .55)); }
.glitch[data-text]::before, .glitch[data-text]::after,
.glitch [data-text]::before, .glitch [data-text]::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; opacity: 0;
  -webkit-text-fill-color: currentColor; background: none; text-shadow: none; filter: none;
}
.glitch[data-text]::before, .glitch [data-text]::before { color: var(--teal); }
.glitch[data-text]::after, .glitch [data-text]::after { color: var(--mag); }
.glitch.zap[data-text]::before, .glitch.zap [data-text]::before { opacity: 1; animation: gl1 .42s steps(1) both; }
.glitch.zap[data-text]::after, .glitch.zap [data-text]::after { opacity: 1; animation: gl2 .42s steps(1) both; }
.glitch.zap { animation: jolt .42s steps(1); }
@keyframes gl1 { 0% { clip-path: inset(10% 0 70% 0); transform: translate(-5px, 0); } 20% { clip-path: inset(62% 0 8% 0); transform: translate(6px, 0); } 40% { clip-path: inset(28% 0 42% 0); transform: translate(-4px, 1px); } 60% { clip-path: inset(76% 0 4% 0); transform: translate(5px, 0); } 80% { clip-path: inset(4% 0 82% 0); transform: translate(-6px, 0); } 100% { clip-path: inset(40% 0 40% 0); transform: translate(0); } }
@keyframes gl2 { 0% { clip-path: inset(70% 0 10% 0); transform: translate(6px, 0); } 25% { clip-path: inset(8% 0 72% 0); transform: translate(-6px, 0); } 50% { clip-path: inset(50% 0 25% 0); transform: translate(5px, -1px); } 75% { clip-path: inset(20% 0 60% 0); transform: translate(-4px, 0); } 100% { clip-path: inset(85% 0 2% 0); transform: translate(0); } }
@keyframes jolt { 0% { transform: translateX(0); } 25% { transform: translateX(-4px) skewX(-3deg); } 50% { transform: translateX(5px) skewX(2deg); } 75% { transform: translateX(-2px); } 100% { transform: none; } }

.romaji { margin: clamp(8px, 2vh, 18px) 0 0; font-family: var(--f-latin); font-weight: 600; letter-spacing: .30em; font-size: clamp(11px, 1.35vw, 15px); color: var(--ink); opacity: .85; text-transform: uppercase; }
.tag { margin: 14px 0 0; color: var(--mute); }

/* 最新曲(大きめ) */
.latest {
  margin-top: clamp(18px, 4.5vh, 44px); display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); width: min(100%, 620px);
  padding: clamp(10px, 1.8vh, 16px) clamp(16px, 2vw, 30px) clamp(10px, 1.8vh, 16px) clamp(10px, 1.8vh, 16px);
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px)); transition: background .3s, transform .3s;
}
.latest:hover { background: rgba(255, 61, 158, .22); transform: translateX(8px); }
.latest .lc { position: relative; flex: none; width: clamp(92px, 19vh, 176px); aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.latest .lc img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.latest:hover .lc img { transform: scale(1.08); }
.latest .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .22); transition: background .3s; }
.latest .play::before { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; filter: drop-shadow(0 0 10px var(--mag)); transition: transform .3s; }
.latest:hover .play { background: rgba(255, 61, 158, .25); }
.latest:hover .play::before { transform: scale(1.25); }
.latest .lt { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.latest small { font-family: var(--f-latin); font-weight: 600; letter-spacing: .22em; font-size: clamp(9px, 1.4vh, 11px); color: var(--yel); text-transform: uppercase; margin-bottom: 6px; }
.latest b { font-family: var(--f-disp); font-weight: 400; font-size: clamp(22px, 4.4vh, 42px); line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.latest em { font-style: normal; font-size: clamp(13px, 2vh, 17px); color: var(--ink); opacity: .8; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.latest time { font-family: var(--f-latin); font-weight: 600; letter-spacing: .07em; font-size: 11px; color: var(--mute); margin-top: 6px; }
.latest .go { font-style: normal; font-size: clamp(24px, 3.4vh, 34px); color: var(--teal); transition: transform .3s; }
.latest:hover .go { transform: translateX(8px); }

/* Works へのリンク(LATEST SONG の下) */
.to-works { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(14px, 2.6vh, 24px); padding: 8px 2px; font-family: var(--f-latin); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); border-bottom: 1px solid currentColor; align-self: flex-start; }
.to-works i { font-style: normal; font-size: 20px; letter-spacing: 0; transition: transform .3s; }
.to-works:hover { color: #fff; }
.to-works:hover i { transform: translateX(8px); }

/* アイコンの額縁と RGB ずれ */
.hero-art, .w-cover { position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .12s linear; will-change: transform; }
.hero-art { justify-self: center; width: min(100%, 520px); filter: drop-shadow(0 0 40px rgba(139, 60, 240, .55)); }
.hero-art .rgb { clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.hero-art::before, .hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.hero-art::before { border: 2px solid var(--teal); transform: translate(14px, 14px); opacity: .8; z-index: -1; }
.hero-art::after { border: 2px solid var(--mag); transform: translate(-14px, -12px); opacity: .6; z-index: -1; }

.rgb { position: relative; display: block; aspect-ratio: 1 / 1; background: #000; isolation: isolate; overflow: hidden; }
.rgb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rgb .base { opacity: 0; }
.rgb .ch { mix-blend-mode: screen; will-change: transform; }
.rgb .r { filter: url(#ch-r); transform: translate(calc(var(--sx, 0px) * -1), calc(var(--sy, 0px) * -1)); }
.rgb .g { filter: url(#ch-g); }
.rgb .b { filter: url(#ch-b); transform: translate(var(--sx, 0px), var(--sy, 0px)); }


/* ---------- セクション ---------- */
.sec { position: relative; padding: clamp(60px, 10vw, 120px) 0; }
.st { display: flex; align-items: baseline; gap: 16px; margin: 0 0 28px; font-family: var(--f-disp); font-weight: 400; font-size: clamp(38px, 7vw, 84px); line-height: 1.05; letter-spacing: .01em; }
.st .sn { font-family: var(--f-latin); font-weight: 600; font-size: 12px; letter-spacing: .12em; color: var(--teal); align-self: flex-start; padding-top: .9em; }
.st .count { font-family: var(--f-latin); font-weight: 600; font-size: 14px; color: var(--mag); letter-spacing: .06em; align-self: flex-start; padding-top: .8em; }
.st::after { content: ""; flex: 1; align-self: center; height: 2px; margin-left: 12px; background: linear-gradient(90deg, rgba(255, 255, 255, .5), transparent); }
.note { color: var(--mute); margin: 0 0 22px; font-size: 14px; }
.more { margin: 26px 0 0; }
.more a, .prose a { color: var(--teal); border-bottom: 1px solid currentColor; }
.empty { color: var(--mute); text-align: center; padding: 40px 0; }

.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-bottom: 34px; }
.search { flex: 1 1 220px; max-width: 340px; padding: 11px 18px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; outline: none; font-family: var(--f-latin); letter-spacing: .02em; transition: border-color .25s, box-shadow .25s; }
.search::placeholder { color: var(--mute); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.search:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25, 227, 180, .2), 0 0 24px rgba(25, 227, 180, .3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--f-latin); font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s, background .25s, border-color .25s; }
.chip:hover { transform: translateY(-2px); border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #07040f; }

/* ---------- Works: ジャケ壁(隙間のないタイルの壁) ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 22px; }
.wall-view { padding: 0 !important; }
.wall-bar { position: relative; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 12px var(--gutter);
  background: linear-gradient(rgba(7, 4, 15, .82), rgba(7, 4, 15, .55)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.wall-bar .wt { margin: 0; display: flex; align-items: baseline; gap: 10px; font-family: var(--f-disp); font-weight: 400; font-size: clamp(26px, 3.6vw, 40px); line-height: 1; }
.wall-bar .count { font-family: var(--f-latin); font-weight: 600; font-size: 12px; color: var(--mag); letter-spacing: .06em; }
.wall-bar .search { flex: 0 1 240px; padding: 8px 16px; }
.wall-bar .chips { margin-left: auto; }
.js .home .wall-view { padding-top: var(--bar-h) !important; }

.wall { --cols: 8; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-rows: calc((100vw - 8px) / var(--cols)); grid-auto-flow: dense; gap: 2px; padding: 2px 0 0; }
.tile { position: relative; display: block; overflow: hidden; background: #0b0618; color: #fff; isolation: isolate; }
.tile.sz-s { grid-column: span 1; grid-row: span 1; }
.tile.sz-w { grid-column: span 2; grid-row: span 1; }
.tile.sz-xl { grid-column: span 2; grid-row: span 2; }
.tile > img, .tile > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.tile:hover > img { transform: scale(1.12); filter: saturate(1.35) contrast(1.08); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: linear-gradient(0deg, rgba(7, 4, 15, .92) 0%, rgba(7, 4, 15, .55) 38%, transparent 70%), linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile .tm { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; transform: translateY(40%); opacity: 0; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.tile:hover .tm, .tile:focus-visible .tm { transform: none; opacity: 1; }
.tile .tl { display: flex; align-items: center; gap: 8px; font-family: var(--f-latin); font-weight: 600; font-size: 9px; letter-spacing: .06em; color: rgba(255, 255, 255, .8); }
.tp { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 10px; padding: 1px 8px; border-radius: 999px; border: 1px solid currentColor; color: var(--teal); }
.tile[data-type="music"] .tp { color: var(--mag); }
.tile[data-type="trailer"] .tp { color: var(--yel); }
.tile[data-type="project"] .tp { color: #ff9a5c; }
.tile.soon .tp { color: var(--yel); animation: blink 1.2s steps(2) infinite; }
.tile .tt { font-weight: 700; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile.sz-xl .tt { font-size: clamp(18px, 2vw, 28px); }
.tile .sb { font-size: 12px; color: rgba(255, 255, 255, .75); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ph { display: grid; place-items: center; background: linear-gradient(135deg, hsl(var(--h), 70%, 38%), hsl(calc(var(--h) + 60), 70%, 22%)); font-family: var(--f-disp); font-size: 40px; }
/* 年の見出しも、壁の1枚のタイル */
.ytile { grid-column: span 2; grid-row: span 1; display: grid; place-items: center; background: rgba(7, 4, 15, .55); border: 1px solid var(--line); }
.ytile b { font-family: var(--f-disp); font-weight: 400; font-size: clamp(34px, 5vw, 64px); line-height: 1; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); color: transparent; }
/* ホバーした作品と関連のある作品が、光ってつながる */
.wall.focus .tile:not(.rel):not(:hover), .wall.focus .ytile { opacity: .25; filter: saturate(.4); transition: opacity .3s, filter .3s; }
.wall { position: relative; }
.wall-links { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; overflow: visible; }
.wall-links path { fill: none; stroke: #7dfbe0; stroke-width: 2; stroke-dasharray: var(--len, 600px); stroke-dashoffset: var(--len, 600px); animation: draw .55s ease-out forwards; animation-delay: calc(var(--k, 0) * 45ms);
  filter: drop-shadow(0 0 5px #19e3b4) drop-shadow(0 0 12px rgba(255, 61, 158, .7)); }
.wall-links circle { fill: #fff; filter: drop-shadow(0 0 6px #19e3b4); animation: nodeIn .4s both; animation-delay: calc(var(--k, 0) * 45ms + .3s); }
.wall-links circle.o { fill: var(--mag); animation: none; }
.tile.rel { outline: 2px solid var(--teal); outline-offset: -2px; box-shadow: inset 0 0 40px rgba(25, 227, 180, .5); z-index: 3; }
.tile.rel::after { opacity: 1; background: linear-gradient(0deg, rgba(7, 4, 15, .8) 0%, transparent 55%); }
.tile.rel .tm { transform: none; opacity: 1; }
@media (max-width: 1400px) { .wall { --cols: 7; } }
@media (max-width: 1150px) { .wall { --cols: 6; } }
@media (max-width: 900px) { .wall { --cols: 5; } }
@media (max-width: 680px) {
  .wall { --cols: 4; }
  .wall-bar { padding: 8px 12px; gap: 8px 12px; }
  .wall-bar .wt { font-size: 24px; }
  .wall-bar .search { flex: 1 1 120px; padding: 6px 14px; }
  .wall-bar .chips { margin-left: 0; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .wall-bar .chip { flex: none; padding: 6px 14px; font-size: 12px; }
}
@media (max-width: 480px) { .wall { --cols: 3; } }
/* タッチ画面は、ホバーがないので、題名を常に出す */
@media (hover: none) {
  .tile::after { opacity: 1; background: linear-gradient(0deg, rgba(7, 4, 15, .85) 0%, transparent 55%); }
  .tile .tm { transform: none; opacity: 1; padding: 6px 8px 8px; }
  .tile .tl { display: none; }
  .tile .tt { font-size: 12px; }
  .tile .sb { display: none; }
}

/* ---------- Shop ---------- */
.item {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 16px;
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .18s ease-out, border-color .3s, box-shadow .3s, opacity .7s, filter .7s, translate .7s;
  transition-delay: 0s, 0s, 0s, calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms);
  overflow: hidden;
}
.item::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .2), transparent 60%); }
.item:hover { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 14px 50px rgba(139, 60, 240, .45); }
.item:hover::before { opacity: 1; }
.item .im { display: block; aspect-ratio: 1; background: #000; overflow: hidden; }
.item .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.item:hover .im img { transform: scale(1.06); }
.item .nm { padding: 6px 4px 0; font-weight: 700; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .pr { padding: 0 4px; font-family: var(--f-latin); font-weight: 600; color: var(--yel); letter-spacing: .04em; }

/* ---------- Contact ---------- */
.panel { padding: clamp(18px, 4vw, 40px); border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px)); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; transition: opacity .45s, filter .45s, transform .45s; }
.fields.out { opacity: 0; filter: blur(8px); transform: translateY(-14px); }
.f { display: flex; flex-direction: column; gap: 8px; }
.f.wide, .actions, .status, .fine { grid-column: 1 / -1; }
.f span { font-family: var(--f-latin); font-weight: 600; font-size: 10px; letter-spacing: .10em; color: var(--teal); }
.f span small { font-weight: 500; color: var(--mute); letter-spacing: .06em; }
.f input, .f select, .f textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-bottom: 2px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .3); border-radius: 2px; outline: none; transition: border-color .25s, box-shadow .25s, background .25s; }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.f select option { background: #120a26; color: var(--ink); }
.f textarea { resize: vertical; min-height: 140px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--teal); border-bottom-color: var(--mag); background: rgba(0, 0, 0, .5); box-shadow: 0 0 24px rgba(25, 227, 180, .25); }
.hp { position: absolute; left: -9999px; opacity: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.send, .draft, .again, .btn { cursor: pointer; font-family: var(--f-latin); font-weight: 600; letter-spacing: .06em; }
.send { position: relative; padding: 14px 34px; border: 0; background: var(--grad); color: #07040f; font-size: 15px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); transition: filter .25s, transform .25s; }
.send:hover { filter: saturate(1.4) brightness(1.1); transform: translateX(4px); }
.send:disabled { opacity: .5; cursor: wait; }
.draft, .again { padding: 12px 22px; border: 1px solid var(--line); background: transparent; border-radius: 999px; font-size: 13px; transition: border-color .25s, background .25s; }
.draft:hover, .again:hover { border-color: var(--teal); background: rgba(25, 227, 180, .12); }
.status { margin: 0; font-size: 14px; color: var(--teal); }
.status.err { color: var(--mag); }
.fine { margin: 0; color: var(--mute); font-size: 12.5px; }
.thanks { text-align: center; padding: 30px 0; }
.thanks .big { font-size: clamp(40px, 8vw, 84px); margin-bottom: 10px; }
.thanks .done { margin: 0 0 24px; color: var(--mute); }

/* ---------- Links ---------- */
.lk-stage { position: relative; }
.lk-cv { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* 粒子の文字(WebGL)が使えるときは、リンクの文字は透明にして、粒子の上に重ねる(押せる・キーボードで選べる状態は、そのまま) */
.lk-on { height: clamp(480px, calc(100vh - var(--bar-h) - 190px), 840px); }
.lk-on .lk-cv { display: block; }
.lk-on .big-links { position: absolute; inset: 0; border: 0; }
.lk-on .big-link { position: absolute; left: 0; right: 0; padding: 0; border: 0; color: transparent; font-size: 0; }
.lk-on .big-link::before { display: none; }
.lk-on .big-link .bl-name, .lk-on .big-link .bl-go { opacity: 0; }
.lk-discs { height: auto; }
.lk-discs .big-link { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 0 0 6px; font-size: clamp(17px, 2.1vw, 26px); font-family: var(--f-disp); color: #fff; text-shadow: 0 2px 12px #000, 0 0 18px rgba(0, 0, 0, .8); text-align: center; line-height: 1.1; }
.lk-discs .big-link .bl-name { opacity: 1; }
.lk-discs .big-link .bl-go { opacity: .7; font-size: .7em; transition: transform .3s; }
.lk-discs .big-link:hover .bl-go { transform: translate(3px, -3px); }
.lk-on .big-link:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }

.big-links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.big-link { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(14px, 2.6vw, 26px) 6px; border-bottom: 1px solid var(--line); font-family: var(--f-disp); font-size: clamp(26px, 5.4vw, 60px); line-height: 1.1; overflow: hidden; transition: padding .3s, color .3s; }
.big-link::before { content: ""; position: absolute; inset: 0; background: var(--grad); transform: translateX(-101%); transition: transform .45s cubic-bezier(.7, 0, .2, 1); z-index: -1; }
.big-link:hover { padding-left: 24px; color: #07040f; }
.big-link:hover::before { transform: none; }
.bl-go { font-family: var(--f-latin); transition: transform .3s; }
.big-link:hover .bl-go { transform: translate(6px, -6px) rotate(8deg); }

.foot { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--mute); font-family: var(--f-latin); font-size: 11px; letter-spacing: .06em; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.foot p { margin: 0; }
.foot a:hover { color: var(--teal); }

/* ---------- スクロールで現れる ---------- */
.js .rv { opacity: 0; translate: 0 28px; filter: blur(8px); transition: opacity .7s, translate .7s cubic-bezier(.2, .8, .2, 1), filter .7s; transition-delay: calc(var(--i, 0) * 45ms); }
.js .rv.in { opacity: 1; translate: none; filter: none; }
.js .item.rv { transition: transform .18s ease-out, border-color .3s, box-shadow .3s, opacity .7s, filter .7s, translate .7s cubic-bezier(.2, .8, .2, 1); transition-delay: 0s, 0s, 0s, calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms); }
.work-page.ready main { animation: enter .7s steps(14) both; }
@keyframes enter { 0% { opacity: 0; transform: translateX(14px) skewX(-6deg); filter: hue-rotate(-50deg) saturate(2); } 35% { opacity: 1; transform: translateX(-8px) skewX(3deg); } 70% { transform: translateX(3px); filter: none; } 100% { transform: none; } }
.leaving main, .leaving .bar { animation: leave .42s steps(6) forwards; }
@keyframes leave { 0% { transform: none; filter: none; } 30% { transform: translateX(-10px) skewX(5deg); filter: hue-rotate(50deg) saturate(2.2); } 60% { transform: translateX(14px) skewX(-7deg); clip-path: inset(0 0 40% 0); } 100% { opacity: 0; transform: scaleY(.02); } }

/* ---------- 作品のページ ---------- */
.work { padding: calc(var(--bar-h) + 40px) var(--gutter) 40px; }
.w-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-bottom: 48px; }
.w-cover { filter: drop-shadow(0 0 40px rgba(139, 60, 240, .5)); }
.w-cover .rgb { aspect-ratio: 16 / 9; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.w-cover.sq .rgb { aspect-ratio: 1 / 1; }
.w-cover .ph { position: relative; aspect-ratio: 16 / 9; font-size: 90px; }
.w-cover::before, .w-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.w-cover::before { border: 2px solid var(--teal); transform: translate(12px, 12px); opacity: .8; }
.w-cover::after { border: 2px solid var(--mag); transform: translate(-12px, -10px); opacity: .55; }
.meta { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-family: var(--f-latin); font-weight: 600; letter-spacing: .07em; color: var(--mute); }
.badge { padding: 3px 14px; border-radius: 999px; border: 1px solid var(--teal); color: var(--teal); font-size: 12px; text-transform: uppercase; }
.soon-note { margin: -4px 0 14px; color: var(--yel); font-family: var(--f-latin); }
.work h1.glitch { font-size: clamp(30px, 5.4vw, 68px); line-height: 1.12; overflow-wrap: anywhere; }
.sub { margin: 12px 0 0; color: var(--mute); font-size: 15px; }
.lead { margin: 16px 0 0; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; transition: transform .2s, border-color .25s, background .25s, color .25s; }
.btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--teal)); box-shadow: 0 0 10px var(--c, var(--teal)); }
.btn i { font-style: normal; opacity: .7; }
.btn:hover { transform: translateY(-3px); border-color: var(--c, var(--teal)); background: rgba(255, 255, 255, .08); }
.btn[data-svc="spotify"] { --c: #1ed760; }
.btn[data-svc="apple"] { --c: #fa5a78; }
.btn[data-svc="youtube"] { --c: #ff3b3b; }
.btn[data-svc="booth"] { --c: #fc4d50; }
.btn[data-svc="niconico"] { --c: #cfd3da; }
.btn[data-svc="soundcloud"] { --c: #ff7700; }
.btn[data-svc="bandcamp"] { --c: #629aa9; }
.big-link[data-svc] { }
.rel-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.rel-label { font-family: var(--f-latin); font-weight: 600; font-size: 9px; letter-spacing: .18em; color: var(--mute); text-transform: uppercase; margin-right: 4px; }
.rel-tag { display: inline-flex; align-items: baseline; gap: 8px; padding: 4px 14px; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, .25); transition: border-color .25s, background .25s; }
.rel-tag small { font-family: var(--f-latin); font-weight: 600; font-size: 9px; letter-spacing: .07em; color: var(--mag); text-transform: uppercase; }
.rel-tag:hover { border-color: var(--teal); background: rgba(25, 227, 180, .12); }

.embeds { display: grid; gap: 18px; margin: 0 0 40px; }
.embeds.two { grid-template-columns: 1fr 1fr; }
.embed { border: 1px solid var(--line); background: #000; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.embed.video { aspect-ratio: 16 / 9; }
.embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.embed.audio iframe { color-scheme: normal; }
.tracks, .related, .booth, .xfd { margin-bottom: 48px; }
.tracks h2, .related h2, .booth h2, .xfd h2 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(24px, 3.6vw, 40px); margin: 0 0 16px; }
.tracks ol { margin: 0; padding: 0; list-style: none; counter-reset: t; columns: 2 300px; column-gap: 32px; }
.tracks li { counter-increment: t; padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.tracks li::before { content: counter(t, decimal-leading-zero); font-family: var(--f-latin); font-weight: 600; color: var(--teal); margin-right: 16px; font-size: 11px; letter-spacing: .06em; }
.body { max-width: 760px; margin-bottom: 40px; }
.lines { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 14px 8px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.line:hover { background: rgba(255, 255, 255, .06); padding-left: 18px; }
.line time, .line .p { font-family: var(--f-latin); font-weight: 600; color: var(--mute); font-size: 11px; letter-spacing: .05em; }
.line .p { color: var(--yel); }
.line .t { font-weight: 700; }
.line .k { font-family: var(--f-latin); font-weight: 600; font-size: 9px; letter-spacing: .08em; color: var(--teal); text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 40px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.prose p { margin: 0 0 1.2em; }

/* ---------- 単ページ(JavaScript が使えるときのトップページ) ---------- */
.js .home { overflow: hidden; height: 100%; }
.js .home .stage { position: fixed; inset: 0; overflow: hidden; }
.js .home .view { position: absolute; inset: 0; display: none; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent;
  padding: calc(var(--bar-h) + 28px) 0 64px; min-height: 0; }
.js .home .view.on { display: block; }
.js .home .view.hero-view.on { display: flex; padding-bottom: 24px; }
.js .home .hero-view .hero-in { flex: 1; align-content: center; padding-bottom: 12px; }
.js .home .view.sec { padding: calc(var(--bar-h) + 28px) 0 64px; }
.js .home .work { padding: 0 var(--gutter); }
.js .home .bar::before { background: rgba(8, 4, 20, .5); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: var(--line); }
.js .home .foot { display: none; }
.js .home .view::-webkit-scrollbar { width: 8px; }
.js .home .view::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 4px; }
.work-view .back { display: inline-flex; margin-bottom: 22px; }

/* 作品の詳細: ジャケットをぼかした背景 */
.work-view::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(78vh, 720px); pointer-events: none; z-index: 0;
  background: var(--cv) center / cover; filter: blur(46px) saturate(1.5) brightness(.55); opacity: .8; transform: scale(1.2);
  -webkit-mask-image: linear-gradient(#000 25%, transparent); mask-image: linear-gradient(#000 25%, transparent); }
.work-view > .work { position: relative; z-index: 1; }

/* ビューの切り替え: 押した場所から広がる光の輪 */
.wipe-ring { position: fixed; z-index: 80; pointer-events: none; border-radius: 50%; mix-blend-mode: screen; will-change: transform;
  background: radial-gradient(circle closest-side, transparent 88%, rgba(25, 227, 180, .95) 94%, rgba(255, 61, 158, 1) 98%, transparent 100%);
  filter: drop-shadow(0 0 22px rgba(255, 61, 158, .85)); }
/* ディゾルブの層(ドットが見えるよう、拡大してもぼかさない) */
#dz { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 85; pointer-events: none; image-rendering: pixelated; display: none; }
/* 新しいビューの中身が、順番にせり上がる */
@keyframes rise { from { opacity: 0; transform: translateY(46px) skewY(3deg) scale(.97); filter: blur(10px); } }
.view.enter .st, .view.enter .tools, .view.enter .note, .view.enter .panel, .view.enter .big-link, .view.enter .hero-text > *, .view.enter .hero-art,
.view.enter .back, .view.enter .w-head > *, .view.enter .prose, .view.enter .year, .view.enter .chips, .view.enter .embeds, .view.enter .tracks {
  animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.16s + var(--k, 0) * 70ms); }
.view.enter .tile, .view.enter .ytile, .view.enter .item { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.2s + var(--i, 0) * 28ms); }
.view.enter .hero-text > :nth-child(2), .view.enter .w-head > :nth-child(2), .view.enter .big-link:nth-child(2) { --k: 1; }
.view.enter .hero-text > :nth-child(3), .view.enter .big-link:nth-child(3) { --k: 2; }
.view.enter .hero-text > :nth-child(4), .view.enter .big-link:nth-child(4) { --k: 3; }
.view.enter .hero-text > :nth-child(5), .view.enter .big-link:nth-child(5) { --k: 4; }
.view.enter .hero-art { --k: 2; }
.view.enter .tools { --k: 1; }

/* ---------- 関連作品の星座 ---------- */
.rel-jump { display: inline-block; margin-top: 18px; font-family: var(--f-latin); font-weight: 600; font-size: 10px; letter-spacing: .08em; color: var(--teal); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.const { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 620px; margin: 6px 0 28px; border: 1px solid var(--line); background: radial-gradient(60% 60% at 50% 50%, rgba(139, 60, 240, .22), transparent), var(--glass);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
.cl { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cl line { stroke: rgba(25, 227, 180, .75); stroke-width: 1.5; stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw .9s ease forwards; animation-delay: calc(var(--k, 0) * 70ms + .25s); filter: drop-shadow(0 0 4px rgba(25, 227, 180, .9)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; --c: var(--teal); animation: nodeIn .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--k, 0) * 70ms + .1s); }
@keyframes nodeIn { from { opacity: 0; scale: .3; } }
.node.t-music { --c: var(--mag); }
.node.t-trailer { --c: var(--yel); }
.node.t-project { --c: #ff9a5c; }
.nimg { position: relative; display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid var(--c); background: #000; box-shadow: 0 0 18px var(--c); transition: transform .3s; }
.nimg img { width: 100%; height: 100%; object-fit: cover; }
.nimg .ph { position: absolute; inset: 0; font-size: 22px; }
.node.center { left: 50%; top: 50%; z-index: 2; animation-delay: 0s; }
.node.center .nimg { width: 104px; height: 104px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 34px var(--c), 0 0 60px rgba(139, 60, 240, .5); } }
.node .nl { font-size: 11px; line-height: 1.3; max-width: 112px; text-shadow: 0 1px 6px #000, 0 0 12px #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.node.center .nl { font-size: 13px; font-weight: 700; max-width: 150px; }
a.node:hover { z-index: 3; }
a.node:hover .nimg { transform: scale(1.25); }

/* LINKS: 広い画面では左右2列(左の列から順に並ぶ。SNS・動画サイトが左、Fanbox・配信サイトが右になる) */
@media (min-width: 760px) {
  .big-links { display: grid; grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 4), auto); column-gap: clamp(28px, 5vw, 80px); border-top: 0; border-bottom: 1px solid var(--line); }
  .big-links .big-link { border-top: 1px solid var(--line); border-bottom: 0; font-size: clamp(24px, 3.5vw, 50px); }
}

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 860px) {
  :root { --bar-h: 58px; }
  .burger { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 60; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer; font-family: var(--f-latin); font-weight: 600; font-size: 10px; letter-spacing: .12em; }
  .burger i { width: 14px; height: 2px; background: var(--ink); box-shadow: 0 5px 0 var(--ink); transform: translateY(-3px); transition: transform .3s, box-shadow .3s; }
  .menu-open .burger i { box-shadow: none; transform: rotate(45deg); }
  .menu-open .burger i::after { content: ""; display: block; width: 14px; height: 2px; background: var(--ink); transform: rotate(-90deg); }
  .menu { position: fixed; inset: 0; z-index: 55; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 0 var(--gutter);
    background: rgba(7, 4, 15, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); font-family: var(--f-disp); font-weight: 400; font-size: clamp(36px, 11vw, 60px); letter-spacing: .02em; text-transform: none;
    opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); transition: opacity .3s, clip-path .5s cubic-bezier(.7, 0, .2, 1); }
  .menu-open .menu { opacity: 1; pointer-events: auto; clip-path: inset(0); }
  .menu-open { overflow: hidden; }
  .hero-view { padding-top: calc(var(--bar-h) + 10px); padding-bottom: 0; }
  /* 名前の隣にアイコン、その下に LATEST SONG */
  .hero-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title art" "roman art" "latest latest" "works works"; column-gap: 14px; row-gap: 0; align-items: center; }
  .hero-text { display: contents; }
  .hero-text > .glitch { grid-area: title; align-self: end; }
  .hero-text > .romaji { grid-area: roman; align-self: start; }
  .hero-text > .tag { grid-area: roman; }
  .hero-text > .latest { grid-area: latest; width: 100%; margin-top: 22px; }
  .hero-text > .to-works { grid-area: works; justify-self: start; }
  .hero-art { grid-area: art; order: 0; width: clamp(96px, 31vw, 190px); justify-self: end; margin: 0 8px 0 0; }
  .hero-view .glitch { font-size: clamp(44px, min(15.5vw, 11vh), 120px); }
  .romaji { letter-spacing: .2em; font-size: 10px; }
  .latest .lc { width: clamp(84px, 24vw, 120px); }
  .latest b { font-size: clamp(20px, 6vw, 28px); }
  .w-head { grid-template-columns: 1fr; }
  .embeds.two { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .line { grid-template-columns: 1fr auto; }
  .line time { grid-column: 1 / -1; }
  .ticker { margin-bottom: 40px; }
  .st::after { display: none; }
}
@media (max-width: 520px) {
  .const { aspect-ratio: 1 / 1.2; }
  .nimg { width: 46px; height: 46px; }
  .node.center .nimg { width: 76px; height: 76px; }
  .node .nl { font-size: 10px; max-width: 78px; }
  .grid, .shop-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .item { padding: 6px 6px 12px; }
  .item .nm { font-size: 14px; }
  .latest b { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; translate: none; filter: none; }
  .glitch { text-shadow: none; }
}
