@font-face {
    font-family: 'Bebas';
    src: url('../fonts/BebasNeue.woff2') format('woff2');
    font-weight: 400;
    font-display: block;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit.woff2') format('woff2');
    font-weight: 100 900;
    font-display: block;
}

:root {
    --accent: #22d3ee;
    --accent-rgb: 34, 211, 238;
    --accent2: #a78bfa;
    --accent2-rgb: 167, 139, 250;
    --on-accent: #051016;
    --text: #eef2f7;
    --muted: rgba(238, 242, 247, .64);
    --faint: rgba(238, 242, 247, .38);
    --glass: rgba(9, 11, 17, .55);
    --glass-solid: rgba(12, 15, 23, .9);
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --r: 18px;
    --dim: .45;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #05060a;
    color: var(--text);
    font-family: 'Outfit', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    user-select: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.ico { display: block; flex: none; }

/* Background */

#bg { position: fixed; inset: 0; overflow: hidden; }

.bg-photo {
    position: absolute;
    inset: -3%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease;
    will-change: transform, opacity;
}

.bg-photo.show { opacity: 1; }
.bg-photo.zoom { animation: slowzoom var(--kb, 12s) linear forwards; }

@keyframes slowzoom {
    from { transform: scale(1.02) translate(0, 0); }
    to   { transform: scale(1.14) translate(var(--kx, -2%), var(--ky, -1.5%)); }
}

#bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease;
}

#bg-video.show { opacity: 1; }

.bg-dim { position: absolute; inset: 0; background: #000; opacity: var(--dim); }

#fx { position: absolute; inset: 0; pointer-events: none; }

.bg-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 5, 9, .78) 0%, rgba(4, 5, 9, .12) 36%, rgba(4, 5, 9, .12) 64%, rgba(4, 5, 9, .78) 100%),
        radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%);
}

/* Stage: a 1920x1080 canvas scaled to fit any screen */

#stage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--stage-w, 1920px);
    height: var(--stage-h, 1080px);
    transform: translate(-50%, -50%) scale(var(--scale, 1));
    transition: opacity .8s ease;
}

body.leaving #stage, body.leaving #bg { opacity: 0; transition: opacity var(--fade, .8s) ease; }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: rise .85s var(--ease) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes rise { to { opacity: 1; transform: none; } }

.hideable { transition: opacity .45s ease, transform .45s var(--ease); }

body.ui-hidden .hideable:not(.reveal) {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

/* Glass card */

.card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--r);
    backdrop-filter: blur(18px) saturate(1.25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.card::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .7), transparent);
    opacity: .75;
}

body.no-blur .card,
body.no-blur .soc,
body.no-blur .tabs,
body.no-blur .dock-btn { backdrop-filter: none; background: var(--glass-solid); }

/* Left column */

.col-left {
    position: absolute;
    left: 56px;
    top: 42px;
    width: 560px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand { display: flex; align-items: center; gap: 24px; margin-bottom: 4px; }

.logo { position: relative; width: 120px; height: 120px; flex: none; }

.logo::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent), var(--accent2), rgba(0, 0, 0, 0) 58%, var(--accent));
    animation: spin 7s linear infinite;
}

.logo::after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .35), rgba(var(--accent-rgb), 0) 70%);
    animation: breathe 4s ease-in-out infinite;
    z-index: -1;
}

.logo-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 30% 25%, #1b2233, #080a11 70%);
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.logo-inner img { width: 100%; height: 100%; object-fit: cover; }

.initials {
    font-family: 'Bebas';
    font-size: 58px;
    letter-spacing: 2px;
    padding-top: 6px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .55; } }

.name {
    margin: 0;
    font-family: 'Bebas';
    font-weight: 400;
    font-size: 92px;
    line-height: .86;
    letter-spacing: 2px;
    white-space: nowrap;
}

.name-b {
    background: linear-gradient(90deg, var(--accent), var(--accent2) 45%, var(--accent) 90%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sheen 7s linear infinite;
}

@keyframes sheen { to { background-position: -200% 0; } }

.tagline {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tagline::before {
    content: "";
    width: 36px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.socials { display: flex; gap: 10px; }

.soc {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--glass);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
    transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .3s;
}

.soc:hover, .soc.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: var(--on-accent);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(var(--accent-rgb), .35);
}

.soc:hover { transform: translateY(-4px); }

.soc .tip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, -4px);
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--glass-solid);
    border: 1px solid var(--line-2);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s var(--ease);
    z-index: 5;
}

.soc:hover .tip { opacity: 1; transform: translate(-50%, 0); }

/* Spotlight */

.spotlight { padding: 22px 24px 24px; overflow: hidden; }

.spot-head { display: flex; align-items: center; gap: 14px; }

.spot-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(var(--accent-rgb), .14);
    color: var(--accent);
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .25);
}

.spot-title {
    font-family: 'Bebas';
    font-size: 36px;
    letter-spacing: 1.5px;
    line-height: 1;
    padding-top: 4px;
    color: var(--accent);
}

.spot-text { margin: 14px 0 18px; color: var(--muted); font-size: 16px; line-height: 1.5; }

.btn {
    position: relative;
    width: 100%;
    height: 50px;
    border-radius: 13px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: var(--on-accent);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .02em;
    box-shadow: 0 12px 30px rgba(var(--accent-rgb), .3);
    transition: transform .25s var(--ease), box-shadow .25s;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(var(--accent-rgb), .45); }

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    left: -60%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    animation: sweep 4.5s ease-in-out infinite;
}

@keyframes sweep { 0%, 55% { left: -60%; } 100% { left: 140%; } }

/* Dock */

.dock { display: flex; gap: 10px; }

.dock-btn {
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
    color: var(--muted);
    font-size: 14.5px;
    font-weight: 600;
    transition: color .2s, background .25s, border-color .25s, transform .25s var(--ease);
}

.dock-btn:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-2px); }

.dock-btn.on {
    color: var(--on-accent);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-color: transparent;
}

/* Music */

.music { padding: 18px 20px; display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center; }

.cover {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a1f2c 0 22%, #0b0d13 23% 100%);
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .06), 0 12px 30px rgba(0, 0, 0, .45);
    display: grid;
    place-items: center;
    color: var(--accent);
}

.cover::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, rgba(255, 255, 255, .035) 0 1px, rgba(0, 0, 0, 0) 1px 4px);
}

.cover::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #05060a;
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .8);
}

.cover .ico { display: none; }

.cover:not(.has-art)::after {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #05060a 0 3px, rgba(0, 0, 0, 0) 3.5px), linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 0 14px rgba(var(--accent-rgb), .5);
}
.music.playing .cover { animation: spin 9s linear infinite; }

.m-meta { min-width: 0; }

.m-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.m-title {
    font-weight: 700;
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-artist { color: var(--muted); font-size: 14.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; flex: none; }

.eq i {
    width: 4px;
    height: 20%;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent2), var(--accent));
    transition: height .09s linear;
}

.eq.css i { animation: eqbounce 1s ease-in-out infinite; }
.eq.css i:nth-child(2) { animation-delay: -.3s; }
.eq.css i:nth-child(3) { animation-delay: -.6s; }
.eq.css i:nth-child(4) { animation-delay: -.15s; }
.eq.css i:nth-child(5) { animation-delay: -.45s; }

@keyframes eqbounce { 0%, 100% { height: 20%; } 50% { height: 95%; } }

.music:not(.playing) .eq i { height: 12% !important; animation: none; }

.m-seek { margin-top: 12px; display: grid; grid-template-columns: 38px 1fr 38px; gap: 10px; align-items: center; }
.m-time { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.m-time:last-child { text-align: right; }

.m-controls { margin-top: 10px; display: flex; align-items: center; gap: 12px; }

.m-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: color .2s, transform .2s var(--ease), background .2s;
}

.m-btn:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

.m-play {
    width: 44px;
    height: 44px;
    color: var(--on-accent);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 8px 22px rgba(var(--accent-rgb), .4);
}

.m-play:hover { color: var(--on-accent); transform: scale(1.07); background: linear-gradient(135deg, var(--accent), var(--accent2)); }

.m-vol { margin-left: auto; display: flex; align-items: center; gap: 8px; width: 150px; }

.m-empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 15px; }

.range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent) var(--p, 0%), rgba(255, 255, 255, .12) var(--p, 0%));
    outline: none;
    cursor: pointer;
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .25);
    transition: transform .15s;
}

.range:hover::-webkit-slider-thumb { transform: scale(1.2); }

/* Loading */

.loading { padding: 18px 22px 18px; }

.l-top { display: flex; align-items: center; justify-content: space-between; }

.chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    font-size: 14.5px;
    font-weight: 600;
    transition: opacity .3s;
}

.chip .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6);
    animation: ping 1.6s ease-out infinite;
}

@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }

.pct { font-family: 'Bebas'; font-size: 40px; letter-spacing: 1px; line-height: 1; padding-top: 4px; font-variant-numeric: tabular-nums; }
.pct small { font-size: 24px; color: var(--muted); margin-left: 1px; }

.bar {
    position: relative;
    height: 10px;
    margin-top: 14px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}

.bar-fill {
    position: relative;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    box-shadow: 0 0 18px rgba(var(--accent-rgb), .55);
}

.bar-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .22) 0 10px, rgba(255, 255, 255, 0) 10px 22px);
    background-size: 48px 100%;
    animation: stripes 1s linear infinite;
    border-radius: inherit;
}

@keyframes stripes { to { background-position: 48px 0; } }

.l-detail {
    margin-top: 9px;
    font-size: 12.5px;
    color: var(--faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 16px;
}

.l-tip {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 15px;
    min-height: 44px;
}

.l-tip .ico { color: var(--accent); }
.l-tip b { color: var(--text); font-weight: 700; }
.tip-text { transition: opacity .4s, transform .4s var(--ease); }
.tip-text.out { opacity: 0; transform: translateY(6px); }

/* Keyboard */

.keyboard-wrap {
    position: absolute;
    left: calc((var(--stage-w, 1920px) + 80px) / 2 - 354px);
    top: 540px;
    padding: 18px 18px 16px;
    transition: opacity .45s ease, transform .45s var(--ease);
}

.keyboard-wrap.off { opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; }

.kb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }

.kb-title { display: flex; align-items: center; gap: 10px; font-family: 'Bebas'; font-size: 28px; letter-spacing: 1.5px; padding-top: 3px; }
.kb-title .ico { color: var(--accent); }
.kb-count { color: var(--faint); font-size: 14px; }

.kb { display: flex; flex-direction: column; gap: 5px; }
.kb-row { display: flex; gap: 5px; }

.key {
    --w: 1;
    height: 40px;
    width: calc(40px * var(--w) + 5px * (var(--w) - 1));
    flex: none;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 600;
    color: rgba(238, 242, 247, .62);
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35);
    transition: transform .18s var(--ease), background .2s, box-shadow .2s, color .2s;
}

.key.gap { visibility: hidden; }

.key.bound {
    color: var(--on-accent);
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 1), rgba(var(--accent-rgb), .78));
    border-color: rgba(0, 0, 0, 0);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22), 0 0 14px rgba(var(--accent-rgb), .3);
    cursor: pointer;
    animation: keyglow 3.2s ease-in-out infinite;
    animation-delay: var(--kd, 0s);
}

.key.bound:hover, .key.bound.sel {
    transform: translateY(-3px) scale(1.07);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22), 0 0 26px rgba(var(--accent-rgb), .75);
    z-index: 2;
}

.key.pressed { transform: translateY(1px) scale(.96); }

@keyframes keyglow { 50% { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22), 0 0 22px rgba(var(--accent-rgb), .55); } }

.kb-caption {
    margin-top: 14px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px;
}

.cap-key {
    min-width: 34px;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--on-accent);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    transition: opacity .2s;
}

.cap-text { font-size: 15px; color: var(--muted); }
.cap-text b { color: var(--text); }
.kb-caption.idle .cap-key { opacity: .35; }

/* Right column */

.col-right {
    position: absolute;
    right: 56px;
    top: 42px;
    bottom: 42px;
    width: 480px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tabs {
    position: relative;
    align-self: flex-end;
    display: flex;
    gap: 6px;
    padding: 7px;
    border-radius: 18px;
    background: var(--glass);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.tab {
    position: relative;
    z-index: 1;
    height: 46px;
    min-width: 52px;
    padding: 0 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: var(--muted);
    font-weight: 700;
    font-size: 15.5px;
    transition: color .25s, gap .35s var(--ease);
}

.tab:hover { color: var(--text); }
.tab.on { color: var(--on-accent); gap: 10px; }

.tab .lbl { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease); }
.tab.on .lbl { max-width: 160px; }

.tab-ind {
    position: absolute;
    top: 7px;
    height: 46px;
    width: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 8px 24px rgba(var(--accent-rgb), .4);
    transition: left .45s var(--ease), width .45s var(--ease);
}

.panel { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 24px 22px 20px 24px; }

.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-right: 4px; }

.panel-title { display: flex; align-items: center; gap: 12px; font-family: 'Bebas'; font-size: 40px; letter-spacing: 1.5px; line-height: 1; padding-top: 4px; }
.panel-title .ico { color: var(--accent); }
.panel-count { color: var(--faint); font-size: 14px; font-weight: 500; }

.panel-body { flex: 1; min-height: 0; overflow-y: auto; padding-right: 10px; }

.panel-body::-webkit-scrollbar { width: 5px; }
.panel-body::-webkit-scrollbar-track { background: rgba(255, 255, 255, .04); border-radius: 5px; }
.panel-body::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb), .55); border-radius: 5px; }

.item { opacity: 0; animation: slidein .55s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes slidein { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }

.rule {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 12px;
    padding: 16px 18px 16px 14px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .05);
    transition: background .25s, border-color .25s, transform .25s var(--ease);
}

.rule:hover { background: rgba(var(--accent-rgb), .08); border-color: rgba(var(--accent-rgb), .28); transform: translateX(-4px); }

.rule .num { font-family: 'Bebas'; font-size: 34px; line-height: 1; color: var(--accent); text-align: center; padding-top: 3px; }
.rule h4, .upd h4, .feat h4 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.rule p, .upd p, .feat p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.rule b, .upd b, .feat b, .text-body b { color: var(--text); }

.staff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.staff {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .05);
    transition: background .25s, transform .25s var(--ease), border-color .25s;
}

.staff:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .06); border-color: var(--line-2); }

.avatar {
    position: relative;
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Bebas';
    font-size: 24px;
    padding-top: 3px;
    background: #111522;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 2px var(--c, var(--accent)), 0 0 18px rgba(0, 0, 0, .4);
    color: var(--c, var(--accent));
}

.avatar::after {
    content: "";
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c, var(--accent));
    box-shadow: 0 0 0 3px #0c0f17;
}

.staff-name { font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.role {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--c, var(--accent));
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px currentColor;
}

.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.shot {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    background: #0b0d13;
    border: 1px solid rgba(255, 255, 255, .06);
}

.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); display: block; }
.shot:hover img { transform: scale(1.08); }

.shot span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 12px 9px;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .75));
}

.upd { position: relative; padding: 0 0 18px 28px; }

.upd::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 10px;
    bottom: -4px;
    width: 2px;
    background: linear-gradient(180deg, rgba(var(--accent-rgb), .5), rgba(255, 255, 255, .05));
}

.upd:last-child::before { display: none; }

.upd::after {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0c0f17;
    box-shadow: 0 0 0 3px var(--accent), 0 0 14px rgba(var(--accent-rgb), .6);
}

.upd .date {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(var(--accent-rgb), .12);
}

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.feat {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .05);
    transition: transform .25s var(--ease), background .25s;
}

.feat:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .06); }
.feat .ico { color: var(--accent); margin-bottom: 10px; }

.text-body { color: var(--muted); font-size: 16px; line-height: 1.65; }
.text-body p { margin: 0 0 14px; }

.empty { color: var(--faint); font-size: 15px; padding: 10px 2px; }

/* Hint, lightbox, toast */

.hint {
    position: absolute;
    left: calc((var(--stage-w, 1920px) + 80px) / 2 - 354px);
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--faint);
    font-size: 13.5px;
}

.keycap {
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 12px;
    color: var(--text);
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .4);
}

.lightbox {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: rgba(3, 4, 8, .82);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 50;
}

.lightbox.open { opacity: 1; pointer-events: auto; }

.lb-figure { margin: 0; max-width: 1300px; transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.open .lb-figure { transform: none; }
.lb-figure img { display: block; max-width: 1300px; max-height: 760px; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-figure figcaption { margin-top: 16px; text-align: center; color: var(--muted); font-size: 17px; }

.lb-nav, .lb-close {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--line-2);
    transition: background .2s, transform .2s var(--ease);
}

.lb-nav:hover, .lb-close:hover { background: rgba(var(--accent-rgb), .9); color: var(--on-accent); transform: scale(1.06); }
.lb-close { position: absolute; top: 40px; right: 56px; }

.toast {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translate(-50%, 20px);
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--glass-solid);
    border: 1px solid var(--line-2);
    font-size: 15px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .35s var(--ease);
    z-index: 60;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }
