/*
Theme Name: Vesperbell Binary
Description: Binary Star – both artists in the center, each orbited by her own works; duo works orbit both. Shares all settings with Vesperbell Dial and AnimeUnique (external links, widgets, Hydro shortlinks).
Version: 2.2.0
Author: Saguya
Text Domain: vesperbell
Requires PHP: 8.1
*/

/* ---------- Base ---------- */
:root {
	--vb-bg: #07070b;
	--vb-ink: #ecebf2;
	--vb-muted: #a3a3b2;
	--vb-line: rgba(255, 255, 255, .14);
	--vb-duo: #ecebf2;
	--vb-font: 'Teko', 'Noto Sans JP', system-ui, sans-serif;
	--vb-text: 'Noto Sans JP', system-ui, sans-serif;
	--vb-disp: 'Orbitron', 'Noto Sans JP', sans-serif;
	--vb-mono: 'Orbitron', 'Noto Sans JP', sans-serif;
	--vb-dial: min(84vmin, 860px);
	--vb-ease: cubic-bezier(.2, .8, .2, 1);
	--vb-spring: cubic-bezier(.35, 1.55, .5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--vb-bg); color: var(--vb-ink); font-family: var(--vb-font); }
body.vb-dial-page { overflow: hidden; height: 100%; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button { font: inherit; }
::selection { background: var(--vb-kasuka); color: #07070b; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Shared bits ---------- */
.vb-brand { position: absolute; top: 28px; left: 32px; z-index: 30; font-family: var(--vb-disp); font-weight: 900; font-size: 18px; letter-spacing: -.01em; text-decoration: none; color: #fff; }
.vb-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--vb-ink); color: #07070b; text-decoration: none; font-family: var(--vb-mono); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border: none; cursor: pointer; transition: transform .2s var(--vb-ease); }
.vb-btn:hover { transform: scale(1.06); color: #07070b; }
.vb-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; cursor: pointer; font-family: var(--vb-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s; }
.vb-btn-ghost:hover, .vb-btn-ghost.is-done { background: #fff; color: #07070b; }
.vb-round { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .35); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, transform .3s var(--vb-ease); }
.vb-round:hover { background: #fff; color: #07070b; }
.vb-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; font-family: var(--vb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.vb-tags span, .vb-tags time { padding: 5px 10px; }
.vb-tag-member { background: var(--vb-tone, var(--vb-duo)); color: var(--vb-tone-ink, #07070b); }
.vb-tag-type, .vb-tag-date { border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
.vb-tag-type:empty { display: none; }

/* member tone, set on any element via data-member */
[data-member="yomi"] { --vb-tone: var(--vb-yomi); --vb-tone-ink: #fff; --vb-stage: #060a1e; }
[data-member="kasuka"] { --vb-tone: var(--vb-kasuka); --vb-tone-ink: #07070b; --vb-stage: #141107; }
[data-member="duo"] { --vb-tone: var(--vb-duo); --vb-tone-ink: #07070b; --vb-stage: #0b0b12; }

/* ---------- Shared shapes (single, 404) ---------- */
.vb-track { position: absolute; inset: 8.5%; border-radius: 50%; border: 1px solid var(--vb-line); pointer-events: none; }
.vb-hand { position: absolute; left: 50%; bottom: 50%; width: 6px; margin-left: -3px; height: calc(var(--vb-dial) * .36); border-radius: 3px; transform-origin: 50% 100%; transition: transform 1.1s var(--vb-spring); pointer-events: none; }
.vb-hand::after { content: ''; position: absolute; top: -10px; left: -7px; width: 20px; height: 20px; border-radius: 50%; background: inherit; }
.vb-hand-yomi { background: var(--vb-yomi); transform: rotate(-118deg); }
.vb-hand-kasuka { background: var(--vb-kasuka); height: calc(var(--vb-dial) * .3); transform: rotate(118deg); }
@keyframes vb-spin { to { transform: rotate(360deg); } }
@keyframes vb-swap { from { opacity: 0; transform: translateY(12px); } }
@keyframes vb-ding { 15% { transform: scale(1.07); } 35% { transform: scale(.97); } 60% { transform: scale(1.02); } }

/* ---------- Stage ---------- */
.vb-stage { position: relative; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; user-select: none; background: #07070b; --s: 1; }
.vb-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 4px); z-index: 1; }

/* each artist owns her half of the sky */
.vb-half { position: absolute; top: 0; bottom: 0; width: 50%; opacity: .25; transition: opacity 1s ease; pointer-events: none; }
.vb-half-yomi { left: 0; background: #060a1e; }
.vb-half-kasuka { right: 0; background: #141107; }
.vb-stage[data-lead~="yomi"] .vb-half-yomi, .vb-stage[data-lead~="kasuka"] .vb-half-kasuka { opacity: 1; }

.vb-ghost { position: absolute; top: 50%; writing-mode: vertical-rl; font-family: var(--vb-text); font-weight: 900; font-size: min(62vh, 560px); line-height: 1; color: transparent; pointer-events: none; opacity: .15; transition: opacity 1s ease, transform 1.4s var(--vb-ease); }
.vb-ghost-yomi { left: -30px; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--vb-yomi) 60%, transparent); transform: translate(-80px, -50%); }
.vb-ghost-kasuka { right: -50px; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--vb-kasuka) 55%, transparent); transform: translate(80px, -50%); }
.vb-stage[data-lead~="yomi"] .vb-ghost-yomi, .vb-stage[data-lead~="kasuka"] .vb-ghost-kasuka { opacity: .55; transform: translate(0, -50%); }

.vb-brand img { max-height: 36px; width: auto; display: block; }
.vb-hint { position: absolute; top: 60px; left: 32px; z-index: 30; margin: 0; font-family: var(--vb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8a8a99; }
.vb-context { position: absolute; top: 84px; left: 32px; z-index: 30; margin: 0; max-width: 24ch; font-size: 30px; font-weight: 500; text-transform: uppercase; line-height: 1; color: #fff; }

/* group channels: icon row, top right */
.vb-edges { position: absolute; top: 18px; right: 24px; z-index: 30; margin: 0; padding: 0; list-style: none; display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; max-width: 40vw; }
.vb-edge-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 8px; color: #b4b4c2; text-decoration: none; font-family: var(--vb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; transition: color .2s, transform .3s var(--vb-ease); }
.vb-icon { display: block; flex: none; }
.vb-edge-link:hover { color: #fff; transform: translateY(-2px); }

/* names on the outer edges */
.vb-side { position: absolute; top: 50%; z-index: 20; display: flex; align-items: center; gap: 18px; transition: opacity .6s; color: var(--vb-tone); }
.vb-side-yomi { left: 16px; transform: translateY(-50%); flex-direction: row; }
.vb-side-kasuka { right: 16px; transform: translateY(-50%); flex-direction: row-reverse; }
.vb-side-name { writing-mode: vertical-rl; font-family: var(--vb-disp); font-weight: 900; font-size: clamp(40px, 6.5vh, 64px); letter-spacing: .06em; line-height: 1; text-transform: uppercase; }
.vb-side-yomi .vb-side-name { transform: rotate(180deg); }
.vb-side-tagline { writing-mode: vertical-rl; font-size: 18px; color: var(--vb-muted); max-height: 40vh; }
.vb-side-yomi .vb-side-tagline { transform: rotate(180deg); }
.vb-side-socials { display: flex; flex-direction: column; gap: 8px; }
.vb-stage[data-focus="yomi"] .vb-side-kasuka, .vb-stage[data-focus="kasuka"] .vb-side-yomi { opacity: .25; }
.vb-social { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; font-size: 15px; transition: background .2s; }
.vb-social:hover { background: currentColor; }
.vb-social:hover .vb-icon { color: #07070b; }

/* ---------- Scaled design canvas ---------- */
.vb-viewport { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.vb-canvas { position: absolute; left: 50%; top: 50%; width: 1440px; height: 900px; transform: translate(-50%, -50%) scale(var(--s)); pointer-events: none; }
.vb-canvas > * { pointer-events: auto; }

/* a system = portrait + her ring of works */
.vb-sys { position: absolute; top: 100px; width: 620px; height: 620px; outline: none; transition: transform 1s var(--vb-ease), opacity .8s ease, filter .8s ease; }
.vb-sys-yomi { left: 100px; color: var(--vb-yomi); }
.vb-sys-kasuka { left: 720px; color: var(--vb-kasuka); }
.vb-sys:focus-visible .vb-ring-line { border-color: #fff; }
.vb-stage[data-hover="yomi"] .vb-sys-yomi, .vb-stage[data-hover="kasuka"] .vb-sys-kasuka { transform: scale(1.04); }
.vb-stage[data-hover="yomi"] .vb-sys-kasuka, .vb-stage[data-hover="kasuka"] .vb-sys-yomi { transform: scale(.97); }
.vb-stage[data-focus="yomi"] .vb-sys-yomi { transform: translate(170px, 24px) scale(1.16); }
.vb-stage[data-focus="kasuka"] .vb-sys-kasuka { transform: translate(-170px, 24px) scale(1.16); }
.vb-stage[data-focus] .vb-bell { opacity: 0; pointer-events: none; }
.vb-bell { transition: opacity .6s; }
.vb-stage[data-focus="yomi"] .vb-sys-kasuka { transform: translate(150px, -150px) scale(.55); opacity: .55; }
.vb-stage[data-focus="kasuka"] .vb-sys-yomi { transform: translate(-150px, -150px) scale(.55); opacity: .55; }

.vb-ring-line { position: absolute; inset: 80px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); pointer-events: none; }
.vb-ring-dash { position: absolute; inset: 150px; border-radius: 50%; border: 1.5px dashed currentColor; opacity: .45; animation: vb-spin 40s linear infinite; pointer-events: none; }
.vb-ring-dash-in { inset: 132px; opacity: .2; animation-direction: reverse; animation-duration: 60s; }
.vb-sys-kasuka .vb-ring-dash { animation-direction: reverse; }
.vb-sys-kasuka .vb-ring-dash-in { animation-direction: normal; }

/* portrait: the artist in the center of her ring */
.vb-portrait { position: absolute; left: 160px; top: 160px; width: 300px; height: 300px; padding: 0; border: none; background: none; color: inherit; cursor: pointer; border-radius: 50%; transition: transform .6s var(--vb-spring); }
.vb-portrait:hover { transform: scale(1.04); }
.vb-portrait-disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; border: 4px solid currentColor; background: color-mix(in srgb, currentColor 16%, #07070b); display: flex; align-items: center; justify-content: center; animation: vb-breath 4.5s ease-in-out infinite; }
.vb-sys-kasuka .vb-portrait-disc { animation-delay: -2.2s; }
@keyframes vb-breath { 50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, .05), 0 0 90px currentColor; } }
.vb-portrait-glyph { font-family: var(--vb-text); font-weight: 900; font-size: 120px; line-height: 1; }
.vb-vis-avatar .vb-portrait-img { width: 100%; height: 100%; object-fit: cover; }
/* character art: inside the disc, and its upper half again on top so it breaks out of the ring */
.vb-vis-art .vb-portrait-img, .vb-portrait-pop { position: absolute; left: 0; bottom: 0; width: 100%; height: 135%; max-width: none; object-fit: cover; object-position: top center; }
.vb-portrait-pop { clip-path: inset(-60% -30% 50% -30%); pointer-events: none; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .55)); }
.vb-portrait[aria-pressed="true"] .vb-portrait-disc { box-shadow: 0 0 0 8px color-mix(in srgb, currentColor 35%, transparent); }

/* works on the ring */
.vb-orbit { position: absolute; left: 310px; top: 310px; width: 0; height: 0; }
.vb-node { position: absolute; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; padding: 0; border-radius: 50%; border: 3px solid var(--vb-tone); background: #15151e; overflow: hidden; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: width .45s var(--vb-spring), height .45s var(--vb-spring), margin .45s var(--vb-spring), box-shadow .4s, opacity .4s, scale .4s; }
.vb-node[data-member="duo"] { border-color: var(--vb-yomi) var(--vb-kasuka) var(--vb-kasuka) var(--vb-yomi); }
.vb-node img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; filter: saturate(.8); }
.vb-node-glyph { font-family: var(--vb-text); font-weight: 900; font-size: 24px; color: rgba(255, 255, 255, .85); pointer-events: none; }
.vb-node:hover { box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.vb-node.is-sel { width: 88px; height: 88px; margin: -44px 0 0 -44px; box-shadow: 0 0 0 2px #fff, 0 0 30px rgba(255, 255, 255, .35); z-index: 2; }
.vb-node.is-sel .vb-node-glyph { font-size: 34px; }
.vb-node.is-sel img { filter: none; }
.vb-node.is-in { animation: vb-node-in .7s var(--vb-ease) both; }
@keyframes vb-node-in { from { opacity: 0; scale: .3; } }
.vb-orbit.is-leaving .vb-node { opacity: 0; scale: .4; }
/* the newest works of each artist: a green, softly pulsing ring */
.vb-node.is-fresh { outline: 3px solid var(--vb-fresh, #39d98a); outline-offset: 4px; animation: vb-fresh 2.4s ease-in-out infinite; }
.vb-node.is-fresh.is-in { animation: vb-node-in .7s var(--vb-ease) both, vb-fresh 2.4s ease-in-out .7s infinite; }
@keyframes vb-fresh { 50% { outline-offset: 8px; outline-color: color-mix(in srgb, var(--vb-fresh, #39d98a) 45%, transparent); } }
.vb-tag-fresh { background: var(--vb-fresh, #39d98a); color: #07070b; }

.vb-step { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(7, 7, 11, .6); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: background .2s, color .2s; }
.vb-step:hover { background: #fff; color: #07070b; }
.vb-sys-yomi .vb-step-prev { left: 518px; top: 186px; }
.vb-sys-yomi .vb-step-next { left: 518px; top: 390px; }
.vb-sys-kasuka .vb-step-prev { left: 58px; top: 186px; }
.vb-sys-kasuka .vb-step-next { left: 58px; top: 390px; }

.vb-pager { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; font-family: var(--vb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.vb-pager-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: 999px; border: none; background: transparent; color: #c9c9d4; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; transition: background .2s, color .2s; }
.vb-pager-btn:hover { background: #fff; color: #07070b; }
.vb-pager-btn[disabled] { opacity: .2; pointer-events: none; }
.vb-pager-label { color: #8a8a99; }

/* the bell between them */
.vb-bell { position: absolute; left: 720px; top: 410px; width: 0; height: 0; }
.vb-bell-core { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; background: #07070b; border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.vb-bell-core:hover { background: #fff; color: #07070b; }
.vb-bell-core.is-struck { animation: vb-ding .9s cubic-bezier(.3, 0, .2, 1); }
.vb-bell-wave { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; opacity: 0; pointer-events: none; }
.vb-stage.is-together .vb-bell-wave { animation: vb-bwave 2.2s cubic-bezier(.2, .7, .3, 1) infinite; }
.vb-stage.is-together .vb-bell-wave:nth-child(2) { animation-delay: .35s; }
.vb-stage.is-together .vb-bell-wave:nth-child(3) { animation-delay: .7s; }
@keyframes vb-bwave { 0% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(14); } }

/* ---------- Now-playing panel ---------- */
.vb-panel { position: absolute; left: 50%; bottom: 24px; z-index: 25; width: 600px; transform: translateX(-50%) scale(var(--s)); transform-origin: 50% 100%; display: flex; gap: 20px; align-items: center; padding: 16px; background: rgba(7, 7, 11, .82); backdrop-filter: blur(10px); border: 1px solid var(--vb-line); border-top: 3px solid var(--vb-tone); border-radius: 4px; }
.vb-panel-thumb { position: relative; width: 210px; height: 118px; flex: none; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, var(--vb-tone) 14%, #15151e); display: flex; align-items: center; justify-content: center; }
.vb-panel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vb-panel-glyph { font-family: var(--vb-text); font-weight: 900; font-size: 64px; color: rgba(255, 255, 255, .14); }
.vb-panel-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.vb-panel-body.is-swap { animation: vb-swap .5s var(--vb-ease); }
.vb-panel .vb-tags { justify-content: flex-start; }
.vb-tag-together { color: #fff; }
.vb-tag-together::before { content: '◆ '; }
.vb-panel-title { margin: 0; font-size: 26px; line-height: 1.05; font-weight: 500; text-transform: uppercase; color: #fff; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vb-panel-actions { display: flex; gap: 8px; align-items: center; }
.vb-panel [hidden] { display: none !important; }
.vb-panel-date { margin-left: 6px; font-family: var(--vb-mono); font-size: 10px; letter-spacing: .14em; color: #8a8a99; }

/* fallback list: visible without JS, hidden once the rings are built */
.vb-fallback { position: relative; z-index: 15; max-width: 720px; margin: 140px auto 0; padding: 0 24px; line-height: 1.8; }
.vb-js .vb-fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
html:not(.vb-js) .vb-viewport, html:not(.vb-js) .vb-panel { display: none; }

/* ---------- Tall layout (phones, portrait screens): stars stacked ---------- */
.vb-stage.is-tall { height: auto; min-height: 100vh; overflow: hidden; padding-bottom: 30px; display: flex; flex-direction: column; }
.is-tall .vb-hint { order: 1; }
.is-tall .vb-context { order: 2; }
.is-tall .vb-edges { order: 3; }
.is-tall .vb-side-yomi { order: 4; }
.is-tall .vb-viewport { order: 5; }
.is-tall .vb-side-kasuka { order: 6; }
.is-tall .vb-pager { font-size: 18px; top: -40px; }
.is-tall .vb-pager-btn { min-height: 64px; padding: 0 16px; }
.is-tall .vb-step { width: 76px; height: 76px; font-size: 28px; }
.is-tall .vb-node { width: 80px; height: 80px; margin: -40px 0 0 -40px; }
.is-tall .vb-node.is-sel { width: 112px; height: 112px; margin: -56px 0 0 -56px; }
.is-tall .vb-node-glyph { font-size: 30px; }
.is-tall .vb-bell-core { left: -40px; top: -40px; width: 80px; height: 80px; }
.is-tall .vb-bell-core svg { width: 32px; height: 32px; }
body.vb-dial-page.vb-tall-on { overflow: auto; height: auto; }
.is-tall .vb-viewport { position: relative; inset: auto; height: calc(1500px * var(--s)); }
.is-tall .vb-canvas { width: 760px; height: 1500px; top: 0; transform: translateX(-50%) scale(var(--s)); transform-origin: 50% 0; }
.is-tall .vb-sys { left: 70px; }
.is-tall .vb-sys-yomi { top: 60px; }
.is-tall .vb-sys-kasuka { top: 820px; }
.is-tall .vb-bell { left: 380px; top: 750px; }
.is-tall .vb-sys-yomi .vb-step-prev { left: 140px; top: 502px; }
.is-tall .vb-sys-yomi .vb-step-next { left: 404px; top: 502px; }
.is-tall .vb-sys-kasuka .vb-step-prev { left: 140px; top: 42px; }
.is-tall .vb-sys-kasuka .vb-step-next { left: 404px; top: 42px; }
.is-tall .vb-sys-kasuka .vb-pager { top: auto; bottom: -40px; }
.is-tall[data-focus] .vb-sys { transform: none; opacity: 1; }
.is-tall .vb-half { width: 100%; height: 50%; }
.is-tall .vb-half-yomi { top: 0; bottom: auto; }
.is-tall .vb-half-kasuka { top: auto; bottom: 0; }
.is-tall .vb-ghost { font-size: 60vw; }
.is-tall .vb-side { position: relative; top: auto; left: auto; right: auto; transform: none; flex-direction: row; justify-content: center; padding: 10px 16px 0; }
.is-tall .vb-side-kasuka { flex-direction: row; }
.is-tall .vb-side-name { writing-mode: horizontal-tb; transform: none !important; font-size: 30px; }
.is-tall .vb-side-kasuka { padding: 20px 16px 0; }
.is-tall .vb-side-tagline { display: none; }
.is-tall .vb-side-socials { flex-direction: row; }
.is-tall .vb-hint { position: relative; top: auto; left: auto; padding: 74px 16px 0; text-align: center; }
.is-tall .vb-context { position: relative; top: auto; left: auto; padding: 8px 16px 0; text-align: center; max-width: none; font-size: 24px; }
.is-tall .vb-edges { position: relative; top: auto; right: auto; max-width: none; justify-content: center; padding: 18px 12px 0; }
.is-tall .vb-panel { position: fixed; left: 8px; right: 8px; bottom: 8px; width: auto; transform: none; gap: 12px; padding: 10px; }
.is-tall .vb-panel-thumb { width: 104px; height: 58px; }
.is-tall .vb-panel-title { font-size: 19px; }
.is-tall .vb-panel .vb-btn { min-height: 38px; padding: 0 12px; }
.is-tall .vb-panel .vb-btn-ghost { min-height: 38px; min-width: 38px; }

/* ---------- Footer ---------- */
.vb-footer { position: relative; z-index: 20; padding: 28px 24px; text-align: center; border-top: 1px solid var(--vb-line); background: #07070b; }
.vb-footer p { margin: 0; font-family: var(--vb-mono); font-size: 10px; letter-spacing: .1em; line-height: 1.8; color: #8a8a99; }
/* full-screen stage: the line sits in the free bottom-left corner */
body.vb-dial-page .vb-footer { position: fixed; left: 32px; bottom: 22px; padding: 0; border: 0; background: none; text-align: left; max-width: max(200px, calc(50vw - 300px * var(--vb-s, 1) - 64px)); }
body.vb-dial-page.vb-tall-on .vb-footer { position: static; max-width: none; padding: 20px 16px 140px; text-align: center; border-top: 1px solid var(--vb-line); background: #07070b; }

/* ---------- Toolbar + overlays ---------- */
.vb-toolbar { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; gap: 8px; }
.vb-tool { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--vb-line); background: rgba(7, 7, 11, .6); backdrop-filter: blur(8px); color: #d4d4de; cursor: pointer; font-family: var(--vb-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s; }
.vb-tool:hover { background: #fff; color: #07070b; }

.vb-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(5, 5, 8, .96); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 14vh 24px 40px; overflow-y: auto; opacity: 0; transition: opacity .3s; }
.vb-overlay.is-open { opacity: 1; }
.vb-overlay[hidden] { display: none; }
.vb-close { position: absolute; top: 24px; right: 24px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer; font-family: var(--vb-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.vb-close:hover { background: #fff; color: #07070b; }
.vb-search-form { width: min(860px, 100%); display: flex; gap: 12px; align-items: center; border-bottom: 2px solid #fff; }
.vb-search-form input { flex: 1; min-width: 0; background: transparent; border: none; color: #fff; font-family: var(--vb-disp); font-weight: 900; font-size: clamp(24px, 5vw, 52px); padding: 12px 0; outline: none; }
.vb-search-submit { min-height: 44px; padding: 0 18px; border-radius: 999px; border: none; background: #fff; color: #07070b; font-family: var(--vb-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.vb-search-results { width: min(860px, 100%); list-style: none; margin: 24px 0 0; padding: 0; }
.vb-search-results li { border-bottom: 1px solid var(--vb-line); opacity: 0; animation: vb-swap .4s var(--vb-ease) forwards; }
.vb-search-results a { display: flex; align-items: center; gap: 16px; padding: 14px 4px; text-decoration: none; color: #fff; transition: padding .2s; }
.vb-search-results a:hover { padding-left: 14px; }
.vb-sr-thumb { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--vb-tone); background: #15151e; }
.vb-sr-title { flex: 1; font-size: 24px; font-weight: 500; text-transform: uppercase; line-height: 1; }
.vb-sr-date { font-family: var(--vb-mono); font-size: 11px; color: #8a8a99; }
.vb-sr-empty { padding: 20px 4px; font-family: var(--vb-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8a8a99; }

.vb-drawer-inner { width: min(1100px, 100%); display: flex; flex-wrap: wrap; gap: 40px; }
.vb-drawer-col { flex: 1 1 260px; font-family: var(--vb-text); line-height: 1.7; color: #cfcfd8; }
.vb-drawer-title { margin: 0 0 10px; font-family: var(--vb-disp); font-size: 18px; color: #fff; }

.vb-pulse { position: fixed; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid #fff; pointer-events: none; z-index: 200; animation: vb-pulse .6s ease-out forwards; }
@keyframes vb-pulse { to { transform: scale(10); opacity: 0; } }

/* ---------- Intro ---------- */
.vb-intro { position: fixed; inset: 0; z-index: 120; background: #050507; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer; }
.vb-intro[hidden] { display: none; }
.vb-intro.is-out { animation: vb-intro-out .7s ease forwards; }
@keyframes vb-intro-out { to { opacity: 0; visibility: hidden; } }
.vb-intro-orb { position: absolute; width: 110px; height: 110px; border-radius: 50%; top: calc(50% - 55px); left: calc(50% - 55px); }
.vb-intro-orb-yomi { background: var(--vb-yomi); animation: vb-orb-y 1.15s cubic-bezier(.75, 0, .2, 1) forwards; }
.vb-intro-orb-kasuka { background: var(--vb-kasuka); mix-blend-mode: screen; animation: vb-orb-k 1.15s cubic-bezier(.75, 0, .2, 1) forwards; }
@keyframes vb-orb-y { from { transform: translateX(-60vw) scale(.4); } to { transform: translateX(-28px) scale(1); } }
@keyframes vb-orb-k { from { transform: translateX(60vw) scale(.4); } to { transform: translateX(28px) scale(1); } }
.vb-intro-wave { position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 2px solid #fff; top: calc(50% - 70px); left: calc(50% - 70px); opacity: 0; animation: vb-intro-wave 1.4s cubic-bezier(.2, .7, .3, 1) 1.05s forwards; }
.vb-intro-wave.w2 { animation-delay: 1.3s; }
@keyframes vb-intro-wave { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(8); } }
.vb-intro-word { position: absolute; bottom: 18vh; display: flex; gap: .1em; font-family: var(--vb-disp); font-weight: 900; font-size: clamp(28px, 5vw, 48px); color: #fff; }
.vb-intro-word span { opacity: 0; transform: translateY(30px); animation: vb-letter .5s var(--vb-ease) forwards; }
@keyframes vb-letter { to { opacity: 1; transform: none; } }
.vb-intro-hint { position: absolute; bottom: 8vh; font-family: var(--vb-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8a8a99; }

/* ---------- Single / page ---------- */
.vb-single { position: relative; min-height: 100vh; background: var(--vb-stage); padding: 110px 24px 80px; }
.vb-back { position: absolute; top: 28px; right: 32px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--vb-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #c9c9d4; text-decoration: none; }
.vb-back:hover { color: #fff; }
.vb-face { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 5vw, 64px); }
.vb-face-dial { --vb-dial: min(64vmin, 520px); position: relative; width: var(--vb-dial); height: var(--vb-dial); }
.vb-face-dial .vb-track { inset: 0; }
.vb-face-dial .vb-hand { z-index: 3; animation: vb-face-hands 1.4s var(--vb-spring) .2s both; }
[data-member="yomi"] .vb-face-dial .vb-hand-yomi, [data-member="duo"] .vb-face-dial .vb-hand-yomi { transform: rotate(0deg); }
[data-member="kasuka"] .vb-face-dial .vb-hand-kasuka, [data-member="duo"] .vb-face-dial .vb-hand-kasuka { transform: rotate(0deg); }
@keyframes vb-face-hands { from { transform: rotate(-200deg); } }
.vb-face-core { position: absolute; inset: 12%; border-radius: 50%; overflow: hidden; border: 3px solid var(--vb-tone); background: #15151e; box-shadow: 0 0 80px color-mix(in srgb, var(--vb-tone) 25%, transparent); animation: vb-ding 1s cubic-bezier(.3, 0, .2, 1) .9s; }
.vb-face-core .vb-face-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vb-single-head { max-width: 860px; margin: 40px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.vb-single-title { margin: 0; font-family: var(--vb-disp); font-size: clamp(26px, 4vw, 48px); line-height: 1.1; font-weight: 900; text-transform: uppercase; text-shadow: 2px 2px 0 var(--vb-tone); word-break: break-word; color: #fff; }
.vb-single-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center; }
.vb-muted { font-family: var(--vb-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a99; }
.vb-content { max-width: 760px; margin: 56px auto 0; font-family: var(--vb-text); font-size: 17px; line-height: 1.85; color: #d6d6e0; }
.vb-content a { color: var(--vb-tone); }
.vb-content iframe { max-width: 100%; }
.vb-single-nav { max-width: 860px; margin: 72px auto 0; display: flex; gap: 16px; flex-wrap: wrap; }
.vb-single-nav a { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--vb-line); border-radius: 4px; text-decoration: none; color: #fff; transition: background .2s, color .2s; }
.vb-single-nav a:hover { background: #fff; color: #07070b; }
.vb-single-nav .vb-nav-next { text-align: right; }
.vb-nav-lbl { font-family: var(--vb-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.vb-page .vb-single-head { margin-top: 20px; }

/* ---------- 404 ---------- */
.vb-404 { position: relative; min-height: 100vh; background: var(--vb-stage); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; }
.vb-404-bell { --vb-dial: min(50vmin, 360px); position: relative; width: var(--vb-dial); height: var(--vb-dial); }
.vb-404-bell .vb-track { inset: 0; border-style: dashed; animation: vb-spin 40s linear infinite; }
.vb-404-bell .vb-hand-yomi { transform: rotate(-150deg); }
.vb-404-bell .vb-hand-kasuka { transform: rotate(150deg); }
.vb-404-title { margin: 0; font-family: var(--vb-disp); font-weight: 900; font-size: clamp(64px, 14vw, 140px); line-height: 1; color: #fff; }
.vb-404-text { margin: 0; font-size: 26px; color: var(--vb-muted); }

/* ---------- Small screens (shared) ---------- */
@media (max-width: 760px) {
	.vb-toolbar { top: 16px; left: auto; right: 16px; transform: none; }
	.vb-tool span { display: none; }
	.vb-face { gap: 8px; }
	.vb-face .vb-round { position: absolute; top: calc(110px + min(64vmin, 520px) + 12px); }
	.vb-face-prev { left: 24px; }
	.vb-face-next { right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.vb-intro { display: none !important; }
}
