:root {
  --paper: #f3efe6; --red: #d8261b; --red-d: #8f120c; --yellow: #ffe23a; --osd: #eef4ff; --black: #050506; --plastic: #17171a;
  --mincho: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --logo: 'Dela Gothic One', 'Arial Black', sans-serif;
  --osdf: 'VT323', ui-monospace, monospace;
  --sans: 'Zen Kaku Gothic New', system-ui, -apple-system, sans-serif;
  --ital: 'Cormorant Garamond', Georgia, serif;
  color-scheme: dark;
}
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; }
body { color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
.app { position: fixed; inset: 0; background: #000; overflow: hidden; user-select: none; -webkit-user-select: none; }
#gl, #still { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#still { display: none; }
.screen { position: absolute; inset: 0; border: 0; background: transparent; padding: 0; opacity: 0; z-index: 2; }
.app.is-work .screen { pointer-events: none; }
.app.is-loading .home, .app.is-loading .remote { opacity: 0; }
.loading { position: absolute; left: 4vw; top: 4vh; font: 400 clamp(22px, 2.6vw, 40px) var(--osdf); color: var(--osd); opacity: 0; transition: opacity .3s; z-index: 30; text-shadow: 2px 2px 0 #000; }
.app.is-loading .loading { opacity: 1; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* ------------------------------------------------------------------ the logo: heavy gothic, a red underlay, katakana on a red tab */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: .9; font-size: 10vw; pointer-events: none; }
.logo-kana { font: 900 .2em var(--mincho); letter-spacing: .32em; padding: .28em .5em .22em .82em; color: #fff; background: var(--red);
  margin-bottom: .32em; box-shadow: .04em .05em 0 #120707; transform: skewX(-8deg); }
.logo-en { display: flex; gap: .26em; font-family: var(--logo); font-weight: 400; color: #fff; letter-spacing: .01em; transform: skewX(-8deg);
  -webkit-text-stroke: .05em #160909; paint-order: stroke fill;
  text-shadow: .045em .055em 0 var(--red), .085em .1em 0 var(--red), .1em .125em 0 #160909, 0 0 .4em rgba(0, 0, 0, .35); }

/* ------------------------------------------------------------------ home: the box art */
.home { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: max(4.5vh, env(safe-area-inset-top)) 16px max(6vh, env(safe-area-inset-bottom)); pointer-events: none; transition: opacity .5s; }
.app:not(.is-home) .home { opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.home-logo .logo { font-size: clamp(44px, 8.4vw, 150px); filter: drop-shadow(0 .06em .12em rgba(0, 0, 0, .55)); animation: slam .9s cubic-bezier(.2, 1.4, .4, 1) both .25s; }
@keyframes slam { from { transform: scale(1.7); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; } }
/* wide screens: the box's black title band across the top, the art below it */
.app:not(.narrow) .home { flex-direction: row; justify-content: space-between; align-items: center; height: 17vh; padding: 0 max(3.5vw, 24px); box-sizing: border-box; }
.app:not(.narrow) .home::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); }
.app:not(.narrow) .home-logo .logo { font-size: clamp(30px, 4.6vw, 96px); align-items: flex-start; }
.app:not(.narrow) .home-go { flex-wrap: nowrap; }
.app.is-home:not(.narrow) .clock { top: auto; bottom: max(3vh, 12px); }
.home-go { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; pointer-events: auto; animation: rise .7s both .9s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.osd-btn { display: inline-flex; align-items: center; gap: .45em; font: 400 clamp(22px, 2.1vw, 34px) var(--osdf); letter-spacing: .06em; color: var(--osd);
  background: rgba(6, 8, 14, .72); border: 2px solid rgba(238, 244, 255, .85); padding: .18em .8em .12em; border-radius: 3px;
  text-shadow: 0 0 6px rgba(160, 200, 255, .5); box-shadow: 0 6px 20px rgba(0, 0, 0, .4); transition: background .15s, transform .15s; }
.osd-btn:hover, .osd-btn:focus-visible { background: var(--osd); color: #06080e; text-shadow: none; outline: none; }
.osd-btn:active { transform: translateY(1px); }
.osd-btn.big { font-size: clamp(30px, 3vw, 48px); border-color: #fff; }
.tri { width: 0; height: 0; border-left: .62em solid currentColor; border-top: .38em solid transparent; border-bottom: .38em solid transparent; }
.ej { display: inline-block; width: .8em; height: .62em; position: relative; }
.ej::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .4em; background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ej::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .12em; background: currentColor; }
.clock { position: absolute; right: max(3vw, 14px); top: max(3vh, 12px); z-index: 12; font: 400 clamp(22px, 2.4vw, 38px) var(--osdf); color: var(--osd);
  text-shadow: 2px 2px 0 #000, 0 0 8px rgba(150, 190, 255, .6); letter-spacing: .05em; pointer-events: none; transition: opacity .4s; }
.app.is-on:not(.is-paused):not(.is-awake) .clock { opacity: 0; }
.app.is-work .clock, .app.is-box .clock, .app.is-about .clock { opacity: 0; }

/* ------------------------------------------------------------------ the deck's on-screen display */
.osd { position: absolute; left: max(3vw, 14px); top: max(3vh, 12px); z-index: 12; font: 400 clamp(24px, 2.8vw, 44px) var(--osdf); color: var(--osd);
  text-shadow: 2px 2px 0 #000, 0 0 8px rgba(150, 190, 255, .6); letter-spacing: .06em; opacity: 0; transition: opacity .2s; pointer-events: none; }
.osd.on { opacity: 1; }
.app.is-work .osd { opacity: 0; }

/* ------------------------------------------------------------------ cards on black: title, intertitle, next */
.card { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; opacity: 0; pointer-events: none; }
.card.on { opacity: 1; }
.tc, .it, .nx { background: transparent; }
.tc-in { padding: 0 max(8vw, 22px); width: 100%; box-sizing: border-box; }
.tc-ep { display: flex; align-items: baseline; gap: .8em; font: 900 clamp(15px, 1.7vw, 28px) var(--mincho); letter-spacing: .14em; color: var(--paper); margin-bottom: 2.4vh; }
.tc-jp { font-size: 1.5em; letter-spacing: .1em; }
.tc-title { margin: 0; font: 900 120px/1 var(--mincho); color: var(--paper); transform: scaleX(.84); transform-origin: 0 50%; letter-spacing: -.012em; }
.tc-title span { display: block; white-space: nowrap; }
.tc-rule { width: min(34vw, 420px); height: 3px; background: var(--red); margin: 3.2vh 0 2vh; }
.tc-client { font: 700 clamp(13px, 1.4vw, 22px) var(--mincho); letter-spacing: .34em; color: rgba(243, 239, 230, .8); }
.card.tc.on .tc-in { animation: tcin 3.8s linear both; }
@keyframes tcin { 0% { opacity: 0; } 4% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; } }
.card.it { justify-content: center; }
.it-in { font: 900 clamp(21px, 2.9vw, 46px)/1.42 var(--mincho); max-width: min(26em, 84vw); padding: 0 max(7vw, 22px); }
.it-in p { margin: 0; font: inherit; color: var(--paper); letter-spacing: .02em; text-wrap: pretty; }
.card.it { transition: opacity .25s; }
.nx-in { padding: 0 max(8vw, 22px); }
.nx-in span { display: block; font: 900 clamp(15px, 1.6vw, 26px) var(--mincho); letter-spacing: .3em; color: var(--red); margin-bottom: 1.6vh; }
.nx-in b { display: block; font: 900 clamp(38px, 8vw, 150px)/1 var(--mincho); transform: scaleX(.84); transform-origin: 0 50%; }
.card.nx.on .nx-in { animation: nxin .25s both; }
@keyframes nxin { from { opacity: 0; transform: translateX(-3vw); } }

/* ------------------------------------------------------------------ the eyecatch */
.eyelogo { position: absolute; inset: 0; z-index: 4; display: flex; pointer-events: none; opacity: 0; padding: 6vh 6vw; }
.eyelogo.on { opacity: 1; }
.eyelogo .logo { font-size: clamp(38px, 7vw, 130px); filter: drop-shadow(0 .05em .1em rgba(0, 0, 0, .4)); }
.eyelogo.on .logo { animation: slam .55s cubic-bezier(.2, 1.4, .4, 1) both .05s; }
.eyelogo.v0 { align-items: flex-start; justify-content: flex-start; }
.eyelogo.v1 { align-items: flex-end; justify-content: flex-end; }
.eyelogo.v2 { align-items: flex-end; justify-content: center; }

/* ------------------------------------------------------------------ the opening's type */
.op { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.op-type { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 900 15vw/1 var(--mincho); color: var(--paper); transform: scaleX(.86); }
.op-type.kana { font-size: 11vw; letter-spacing: .04em; }
.app.narrow .op-type { font-size: 19vw; }
.op-sil { position: absolute; display: flex; flex-direction: column; gap: .5em; color: var(--paper); animation: slide .35s cubic-bezier(.2, .9, .3, 1) both; }
.op-sil b { font: 900 clamp(30px, 5.6vw, 100px)/.95 var(--mincho); transform: scaleX(.86); transform-origin: 0 50%; white-space: nowrap; }
.op-sil i { font: 700 normal clamp(11px, 1.1vw, 18px) var(--mincho); letter-spacing: .4em; opacity: .9; }
.op-sil.l0 { left: 6vw; bottom: 8vh; }
.op-sil.l1 { right: 3vw; top: 50%; width: 38vw; translate: 0 -50%; }
.op-sil.l2 { left: 6vw; bottom: 9vh; }
.op-sil.l3 { right: 6vw; bottom: 8vh; align-items: flex-end; } .op-sil.l3 b { transform-origin: 100% 50%; }
@media (max-aspect-ratio: 9/10) { .op-sil.l1 { right: auto; left: 6vw; top: auto; bottom: 10vh; width: auto; translate: none; } .op-sil b { font-size: 9.5vw; } }
@keyframes slide { from { opacity: 0; transform: translateX(6vw); } }
.op-credit, .op-cast { position: absolute; display: flex; flex-direction: column; color: #fff; text-shadow: 0 0 10px rgba(0, 0, 0, .7), 0 1px 2px rgba(0, 0, 0, .9); }
.op-credit { left: max(5vw, 18px); bottom: max(7vh, 70px); gap: .3em; animation: fadein .3s both; }
.op-credit::before, .op-cast::before { content: ""; position: absolute; inset: -60px -90px -50px -90px; z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }
.op-credit i { font: 700 normal clamp(10px, .95vw, 15px) var(--mincho); letter-spacing: .38em; }
.op-credit b { font: 900 clamp(18px, 2.2vw, 36px) var(--mincho); letter-spacing: .08em; }
@keyframes fadein { from { opacity: 0; } }
.op-cast { right: max(5vw, 18px); bottom: max(9vh, 80px); align-items: flex-end; gap: .1em; animation: castin 1.2s cubic-bezier(.2, .8, .3, 1) both; }
.op-cast b { font: 900 clamp(30px, 5.4vw, 96px)/1 var(--mincho); transform: scaleX(.86); transform-origin: 100% 50%; white-space: nowrap; }
.op-cast b + b { font-size: clamp(20px, 3vw, 54px); }
.op-cast i { font: 700 normal clamp(10px, 1vw, 16px) var(--mincho); letter-spacing: .4em; margin-top: .9em; color: var(--red); background: rgba(0, 0, 0, .55); padding: .35em .7em; text-shadow: none; }
@keyframes castin { from { opacity: 0; transform: translateX(4vw); } }
.op.finale { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7vh; box-sizing: border-box; }
.app.narrow .op.finale { align-items: flex-start; padding: 9vh 0 0; }
.app:not(.narrow) .op.finale { align-items: center; justify-content: flex-start; height: 17vh; padding: 0 max(3.5vw, 24px); }
.app:not(.narrow) .op.finale .op-logo { font-size: clamp(30px, 4.6vw, 96px); align-items: flex-start; }
.op-logo { font-size: clamp(48px, 9vw, 160px); filter: drop-shadow(0 .06em .14em rgba(0, 0, 0, .5)); animation: slam .7s cubic-bezier(.2, 1.4, .4, 1) both; }

/* the tube warming up */
.crt { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; }
.crt.on { animation: crt .7s ease-out both; }
.crt::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #fff; box-shadow: 0 0 30px 6px rgba(200, 220, 255, .8); transform: translateY(-50%) scaleX(0); }
.crt.on::before { animation: crtl .7s ease-out both; }
@keyframes crt { 0% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes crtl { 0% { transform: translateY(-50%) scaleX(0); } 35% { transform: translateY(-50%) scaleX(1); height: 2px; } 70% { height: 60vh; opacity: .6; } 100% { height: 100vh; opacity: 0; } }

/* ------------------------------------------------------------------ the ending */
.roll { position: absolute; top: 0; bottom: 0; right: 0; width: min(46vw, 620px); z-index: 4; overflow: hidden; pointer-events: none; opacity: 0;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.roll.on { opacity: 1; transition: opacity .8s; }
.roll-in { display: flex; flex-direction: column; align-items: center; gap: 4.2vh; padding: 0 20px; will-change: transform; }
.st { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35em; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.st i { font: 700 normal clamp(10px, .9vw, 14px) var(--mincho); letter-spacing: .38em; color: rgba(255, 255, 255, .75); }
.st b { font: 700 clamp(16px, 1.6vw, 26px)/1.3 var(--mincho); letter-spacing: .08em; }
.st-ep b { font-size: clamp(22px, 2.4vw, 40px); font-weight: 900; }
.roll-logo { font-size: clamp(30px, 4vw, 64px); margin-top: 10vh; }
@media (max-aspect-ratio: 9/10) { .roll { width: 100%; } }
.endcard { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; padding: 0 8vw; }
.endcard.on { opacity: 1; transition: opacity .5s .2s; }
.endcard p { margin: 0; font: italic 600 clamp(22px, 3.4vw, 58px)/1.25 var(--ital); letter-spacing: .07em; color: var(--paper); text-align: center; text-wrap: balance; }
.endcard .dots { letter-spacing: .25em; }

/* ------------------------------------------------------------------ the preview */
.badge { position: absolute; left: max(4vw, 16px); top: max(4vh, 14px); z-index: 5; display: flex; flex-direction: column; gap: .3em; opacity: 0; pointer-events: none; }
.badge.on { opacity: 1; animation: badgein .4s cubic-bezier(.2, 1.3, .4, 1) both; }
.badge-jp { font: 900 clamp(26px, 3.4vw, 58px)/1 var(--mincho); color: #fff; background: var(--red); padding: .16em .4em .2em; letter-spacing: .06em; box-shadow: .06em .07em 0 #000; }
.badge-en { font: 900 clamp(11px, 1.05vw, 17px) var(--mincho); letter-spacing: .42em; color: #fff; text-shadow: 0 1px 4px #000; }
@keyframes badgein { from { opacity: 0; transform: translateX(-5vw) skewX(-12deg); } }
.sub { position: absolute; left: 50%; bottom: max(10vh, 92px); translate: -50% 0; z-index: 6; width: min(86vw, 980px); text-align: center; pointer-events: none;
  font: 700 clamp(18px, 2.3vw, 36px)/1.3 Arial, 'Helvetica Neue', Helvetica, sans-serif; color: var(--yellow); opacity: 0;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 2px 0 0 #000, -2px 0 0 #000, 0 3px 6px rgba(0, 0, 0, .6); }
.sub.on { opacity: 1; }

.vhs { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 5px); }
.vhs.on { opacity: 1; animation: roll .25s linear infinite; }
@keyframes roll { to { background-position: 0 10px; } }

/* ------------------------------------------------------------------ the remote */
.remote { position: absolute; left: 50%; bottom: max(2.2vh, env(safe-area-inset-bottom), 10px); translate: -50% 0; z-index: 20; display: flex; gap: 6px; align-items: center;
  padding: 7px; border-radius: 14px; background: linear-gradient(#2a2a2f, #141417); box-shadow: 0 10px 30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -2px 0 rgba(0, 0, 0, .5);
  transition: opacity .35s, transform .35s; }
.app.is-home .remote, .app.is-box .remote, .app.is-about .remote { opacity: 0; pointer-events: none; }
.app.is-on:not(.is-awake):not(.is-paused):not(.is-work) .remote { opacity: 0; transform: translateY(14px); }
.remote button { height: 44px; min-width: 48px; padding: 0 12px; border: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: linear-gradient(#45454c, #2c2c31); color: #e8e8ee; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 0 #0a0a0c; font: 400 20px var(--osdf); letter-spacing: .06em; }
.remote button:hover, .remote button:focus-visible { background: linear-gradient(#5a5a62, #393940); outline: none; }
.remote button:focus-visible { box-shadow: 0 0 0 2px var(--osd); }
.remote button:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.remote [data-k=play] { background: linear-gradient(#e2372b, #a8180f); min-width: 62px; }
.remote [data-k=work] { color: #fff; }
.remote b { font-weight: 400; }
.i-play { width: 0; height: 0; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 3px; }
.app:not(.is-paused) .i-play { width: 13px; height: 16px; border: 0; margin: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; box-sizing: border-box; }
.i-prev, .i-next { position: relative; width: 22px; height: 14px; }
.i-prev::before, .i-prev::after, .i-next::before, .i-next::after { content: ""; position: absolute; top: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.i-next::before { left: 0; border-left: 11px solid currentColor; } .i-next::after { left: 11px; border-left: 11px solid currentColor; }
.i-prev::before { right: 0; border-right: 11px solid currentColor; } .i-prev::after { right: 11px; border-right: 11px solid currentColor; }
.i-snd { width: 18px; height: 16px; background: currentColor; clip-path: polygon(0 32%, 30% 32%, 62% 0, 62% 100%, 30% 68%, 0 68%); position: relative; }
.app.is-muted .i-snd { opacity: .45; }
@media (max-width: 560px) {
  .remote { gap: 4px; padding: 5px; }
  .remote button { height: 42px; min-width: 42px; padding: 0 8px; font-size: 17px; }
  .remote [data-k=box] b { display: none; }
}

/* ------------------------------------------------------------------ the work */
.work { position: absolute; inset: 0; z-index: 8; background: rgba(4, 4, 6, .8); }
.work.in { animation: workin .45s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes workin { from { opacity: 0; transform: translateY(3vh); } }
.work-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; outline: none; user-select: text; -webkit-user-select: text; }
.work-in { max-width: 1180px; margin: 0 auto; padding: max(7vh, 58px) 22px 150px; box-sizing: border-box; }
.wk-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; margin-bottom: 30px; }
.wk-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 20px 50px rgba(0, 0, 0, .6); }
.wk-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wk-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px); pointer-events: none; }
.wk-ep { font: 900 clamp(13px, 1.2vw, 18px) var(--mincho); letter-spacing: .2em; color: var(--paper); margin-bottom: 14px; }
.wk-ep .jp { color: #fff; background: var(--red); padding: .12em .45em; margin-right: .5em; letter-spacing: .08em; }
.wk-title { margin: 0; font: 900 clamp(38px, 5.2vw, 84px)/.98 var(--mincho); color: var(--paper); transform: scaleX(.86); transform-origin: 0 50%; letter-spacing: -.01em; text-wrap: balance; }
.wk-client { font: 700 13px var(--mincho); letter-spacing: .36em; margin: 16px 0 18px; color: rgba(243, 239, 230, .78); display: flex; align-items: center; gap: 14px; }
.wk-client::before { content: ""; width: 44px; height: 3px; background: var(--red); }
.wk-desc { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; margin: 0; color: rgba(243, 239, 230, .92); max-width: 36em; }
.wk-body { margin-top: 10px; }
.cs-sec { margin-top: 44px; }
.cs-h { font: 900 15px var(--mincho); letter-spacing: .26em; text-transform: uppercase; margin: 0 0 8px; color: var(--paper); display: flex; align-items: center; gap: 12px; }
.cs-h::before { content: ""; width: 6px; height: 22px; background: var(--red); }
.cs-p { font-size: 15.5px; line-height: 1.6; margin: 0 0 16px; color: rgba(243, 239, 230, .8); max-width: 44em; }
.cs-films { display: grid; gap: 26px 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.cs-films:has(.cs-film:only-child) { grid-template-columns: 1fr; }
.wk-body .cs-sec:first-child .cs-film:first-child:not(.is-tall) { grid-column: 1 / -1; }
.cs-films:has(.is-tall) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.cs-film { margin: 0; }
.cs-film.is-tall { max-width: 300px; }
.cs-frame { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.cs-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-glyph { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--red); box-shadow: 0 4px 18px rgba(0, 0, 0, .5); transition: transform .15s; }
.cs-glyph::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 19px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.cs-frame:hover .cs-glyph, .cs-frame:focus-visible .cs-glyph { transform: scale(1.08); }
.cs-frame:focus-visible { outline: 2px solid var(--osd); outline-offset: 3px; }
.cs-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 10px; }
.cs-cap b { font: 700 15px var(--mincho); letter-spacing: .04em; }
.cs-dur { font: 400 18px var(--osdf); color: rgba(238, 244, 255, .7); letter-spacing: .05em; }
.cs-imgs { display: grid; gap: 16px; margin-top: 16px; }
.cs-row-2, .cs-row-match, .cs-split { grid-template-columns: 1fr 1fr; }
.cs-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.cs-img { margin: 0; }
.cs-img img { width: 100%; height: auto; display: block; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.cs-audio { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; max-width: 760px; }
.cs-track { display: grid; grid-template-columns: 40px 34px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 10px; padding: 10px 14px;
  background: linear-gradient(#1c1c20, #141417); border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.cs-ap { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--red); position: relative; padding: 0; }
.cs-ap::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.cs-track.is-on .cs-ap::after { left: 13px; top: 13px; width: 4px; height: 14px; border: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; box-sizing: content-box; }
.cs-ap:focus-visible { outline: 2px solid var(--osd); outline-offset: 2px; }
.cs-n { font: 400 20px var(--osdf); color: rgba(238, 244, 255, .6); }
.cs-at { font: 700 15px var(--mincho); letter-spacing: .03em; }
.cs-bar { grid-column: 2 / 4; height: 3px; background: rgba(255, 255, 255, .1); margin-top: 6px; }
.cs-bar i { display: block; height: 100%; width: 0; background: var(--red); }
.wk-staff { margin-top: 64px; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px 20px; }
.wk-staff h3 { grid-column: 1 / -1; margin: 0; font: 900 15px var(--mincho); letter-spacing: .4em; color: var(--paper); }
.wk-staff .st { align-items: flex-start; text-align: left; text-shadow: none; }
.wk-staff .st b { font-size: 17px; }
.wk-nav { margin-top: 64px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.wk-nav button { border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); border-radius: 6px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; text-align: left; transition: background .15s; }
.wk-nav button:hover, .wk-nav button:focus-visible { background: rgba(255, 255, 255, .12); outline: none; }
.wk-nav span { font: 400 19px var(--osdf); letter-spacing: .06em; color: rgba(238, 244, 255, .75); }
.wk-nav b { font: 900 clamp(16px, 1.6vw, 24px) var(--mincho); }
.wk-next { text-align: right !important; align-items: flex-end; }
.wk-box { flex-direction: row !important; align-items: center; justify-content: center; font: 400 22px var(--osdf) !important; letter-spacing: .08em; }
@media (max-width: 820px) {
  .wk-head { grid-template-columns: 1fr; gap: 22px; }
  .work-in { padding-top: 16px; }
  .cs-row-3 { grid-template-columns: 1fr 1fr; }
  .wk-nav { grid-template-columns: 1fr 1fr; } .wk-box { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 480px) { .cs-row-2, .cs-row-match, .cs-split { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ the box set */
.box, .about { position: absolute; inset: 0; z-index: 24; background: #060608; }
.box.in { animation: workin .4s cubic-bezier(.2, .8, .3, 1) both; }
.box-scroll, .about-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.box-in { max-width: 1440px; margin: 0 auto; padding: 0 22px 80px; box-sizing: border-box; }
.box-head { position: relative; margin: 0 -22px 36px; height: clamp(230px, 40vh, 420px); overflow: hidden; }
.box-art { position: absolute; inset: 0; background-size: cover; background-position: 50% 42%; }
.box-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6, 6, 8, .15), rgba(6, 6, 8, .2) 50%, #060608); }
.box-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 max(4vw, 22px) 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.box-logo .logo { font-size: clamp(34px, 5vw, 80px); align-items: flex-start; filter: drop-shadow(0 .05em .12em rgba(0, 0, 0, .6)); }
.box-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.box-acts .osd-btn { font-size: clamp(20px, 1.7vw, 28px); }
.tapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 236px), 1fr)); gap: 30px 24px; }
.tape { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; transition: transform .2s cubic-bezier(.2, .9, .3, 1); }
.tape:hover, .tape:focus-visible { transform: translateY(-6px) rotate(-.6deg); outline: none; }
.tape:focus-visible .tape-body { box-shadow: 0 0 0 3px var(--osd), 0 18px 30px rgba(0, 0, 0, .6); }
.tape-body { position: relative; display: block; aspect-ratio: 1.62; border-radius: 7px; padding: 5.5% 5% 0; box-sizing: border-box;
  background: linear-gradient(170deg, #2b2b30, #121214 60%, #0b0b0d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -3px 6px rgba(0, 0, 0, .7), 0 14px 26px rgba(0, 0, 0, .55); }
.tape-body::before { content: ""; position: absolute; left: 2.5%; right: 2.5%; top: 2.5%; bottom: 2.5%; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .05); pointer-events: none; }
.tape-label { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 2px; overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, .5); }
.tape-art { display: block; aspect-ratio: 3 / 1; background-repeat: no-repeat; }
.tape-strip { display: flex; align-items: center; gap: 7px; padding: 5px 7px; background: var(--paper); color: #111; height: 2.6em; box-sizing: border-box; font-size: 12.5px; }
.tape-n { font: 900 12px/1 var(--mincho); background: var(--red); color: #fff; padding: 4px 6px 3px; letter-spacing: .02em; flex: none; }
.tape-t { font: 900 1em/1.08 var(--mincho); flex: 1; letter-spacing: .02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tape-win { position: absolute; left: 26%; right: 26%; bottom: 5.5%; height: 17%; border-radius: 3px; background: linear-gradient(#0d0d0f, #1e1e22); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .08);
  display: flex; justify-content: space-between; align-items: center; padding: 0 9%; }
.tape-win i { width: 32%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #ddd 0 16%, #3a2a1c 17% 46%, #24180f 47% 70%, transparent 71%); }
.tape:hover .tape-win i, .tape:focus-visible .tape-win i { animation: spin 1.2s linear infinite; background: conic-gradient(from 0deg, #3a2a1c, #24180f, #3a2a1c, #24180f, #3a2a1c); -webkit-mask: radial-gradient(circle, transparent 0 15%, #000 16% 70%, transparent 71%); mask: radial-gradient(circle, transparent 0 15%, #000 16% 70%, transparent 71%); }
@keyframes spin { to { transform: rotate(-360deg); } }
.tape.out { animation: insert .42s cubic-bezier(.5, 0, .9, .4) both; }
@keyframes insert { to { transform: translateY(40vh) scale(.6); opacity: 0; } }
.close { position: absolute; right: max(16px, 2vw); top: max(14px, 2vh); z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(238, 244, 255, .8);
  background: rgba(6, 8, 14, .8); color: var(--osd); font-size: 24px; display: grid; place-items: center; }
.close:hover, .close:focus-visible { background: var(--osd); color: #000; outline: none; }

/* ------------------------------------------------------------------ liner notes */
.about { background-size: cover; background-position: 50% 50%; }
.about::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(5, 6, 10, .55), rgba(5, 6, 10, .88)); }
.about-in { position: relative; max-width: 760px; margin: 0 auto; padding: max(9vh, 70px) 22px 90px; display: flex; flex-direction: column; align-items: center; }
.about-logo { font-size: clamp(40px, 7vw, 96px); margin-bottom: 40px; }
.ab-card { width: 100%; background: rgba(6, 6, 8, .78); border: 1px solid rgba(255, 255, 255, .14); padding: 34px clamp(20px, 4vw, 44px); box-sizing: border-box; user-select: text; -webkit-user-select: text; }
.ab-k { font: 900 12px var(--mincho); letter-spacing: .4em; color: var(--red); margin: 0 0 10px; }
.ab-card h2 { margin: 0; font: 900 clamp(30px, 4vw, 54px)/1 var(--mincho); transform: scaleX(.88); transform-origin: 0 50%; }
.ab-title { font: 700 15px var(--mincho); letter-spacing: .12em; margin: 12px 0 18px; color: rgba(243, 239, 230, .85); }
.ab-bio { font-size: 17px; line-height: 1.6; margin: 0 0 18px; }
.ab-contact { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 30px; font: 400 21px var(--osdf); letter-spacing: .04em; }
.ab-contact a { color: var(--osd); text-decoration: none; border-bottom: 1px solid rgba(238, 244, 255, .4); }
.ab-contact a:hover, .ab-contact a:focus-visible { border-color: var(--osd); outline: none; }
.ab-xp { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ab-xp li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); padding-bottom: 8px; }
.ab-xp b { font: 700 15px var(--mincho); } .ab-xp i { font: 400 normal 15px var(--sans); opacity: .75; }

.no-gl #gl { image-rendering: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .card.tc.on .tc-in, .crt.on, .crt.on::before { animation: none !important; }
}

.app.is-snap .osd, .app.is-snap .remote, .app.is-snap .clock { display: none; }

/* narrow screens: the name stacks */
.app.narrow .logo-en { flex-direction: column; align-items: center; gap: 0; line-height: .92; }
.app.narrow .home { padding-top: max(10vh, env(safe-area-inset-top)); }
.app.narrow .home-logo .logo { font-size: 12.5vw; }
.app.narrow .eyelogo .logo { font-size: 11vw; }
.app.narrow .op-logo { font-size: 12.5vw; }
.app.narrow .roll-logo { font-size: 12vw; }
.app.narrow .about-logo { font-size: 11vw; }
.app.narrow .box-logo .logo { font-size: 8.5vw; }
.app.narrow .box-logo .logo-en { align-items: flex-start; }
@media (max-width: 560px) {
  .tapes { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .tape-strip { font-size: 10.5px; padding: 4px 5px; gap: 5px; }
  .tape-n { font-size: 10px; padding: 3px 4px 2px; }
}

.tape-ncop .tape-n { background: #111; }
.tape-ncop .tape-t { letter-spacing: .3em; }

/* a film that never reported its end: wake the remote and pulse skip-ahead */
.app.is-overrun .remote { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
.app.is-overrun .remote [data-k=next] { animation: overrun 1.2s ease-in-out infinite; }
@keyframes overrun { 50% { box-shadow: 0 0 0 3px var(--osd), 0 0 18px var(--osd); } }
@media (prefers-reduced-motion: reduce) { .app.is-overrun .remote [data-k=next] { animation: none; box-shadow: 0 0 0 3px var(--osd); } }
