/* cyber.css - loaded AFTER style.css. Turns the violet glass look into an animated "cyber" one:
 * ASCII storm backdrop (storm.js), short boot screen (boot.js), sharper corners, corner brackets,
 * mono labels, scanlines and glow. Delete the <link>, storm.js and boot.js to go back. */
:root {
  --cy: #a78bfa;                 /* accent for glow + storm */
  --cy2: #7c3aed;
  --cy-line: rgba(255, 255, 255, 0.13);
  --cy-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --storm-accent: #a78bfa;
  --radius: 6px;
}

/* ── backdrop: storm replaces the star sky ── */
html { background: #030206; }
body { background: transparent; }
#storm { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
#sky, .particles { display: none !important; }
.aurora { opacity: 0.55; }
body::before {                                           /* violet corner glow + fine grid + vignette */
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(139, 92, 246, 0.14), transparent 70%),
    radial-gradient(600px 400px at 100% 100%, rgba(109, 40, 217, 0.12), transparent 70%),
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(ellipse at 50% 38%, transparent 40%, rgba(0,0,0,0.7) 100%) !important;
}
body::after {                                            /* faint scanlines over everything, never blocks clicks */
  content: ''; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
}

/* ── top bar ── */
.topnav { border-radius: 8px !important; border-color: rgba(167, 139, 250, 0.32); }
.topnav::after {                                         /* light running along the bottom edge */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--cy) 50%, transparent 100%); background-size: 40% 100%; background-repeat: no-repeat;
  animation: cy-run 4.5s linear infinite;
}
@keyframes cy-run { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.topnav * { border-radius: 5px; }
.tn-link, .tn-links .act-btn, .tn-ddbtn { font-family: var(--cy-mono); letter-spacing: 0.1em; font-size: 10.5px; }
.tn-link.active, .tn-links .act-btn.active { box-shadow: inset 0 -2px 0 var(--cy), 0 0 18px -8px var(--cy); }
.tn-brand { font-family: var(--cy-mono); }
.tn-brand:hover { animation: cy-glitch 0.45s steps(2) 1; }
.tn-right .search, .titles-info-toggle, .tn-acct .acct-btn { border-radius: 5px !important; }
.tn-right .search { font-family: var(--cy-mono); letter-spacing: 0.14em; }
.tn-right .search:focus { border-color: var(--cy); box-shadow: 0 0 0 1px var(--cy), 0 0 22px -6px var(--cy); }
.tn-menu { border-radius: 8px !important; }
@keyframes cy-glitch {
  0% { text-shadow: 3px 0 #ff2bd6, -3px 0 #22e0ff; transform: translate(0); }
  25% { text-shadow: -3px 0 #ff2bd6, 3px 0 #22e0ff; transform: translate(-2px, 1px); }
  50% { text-shadow: 2px 1px #ff2bd6, -2px -1px #22e0ff; transform: translate(2px, -1px); }
  100% { text-shadow: none; transform: translate(0); }
}

/* ── corner brackets (shared): any panel gets two L-shaped corners that light up on hover ── */
.hm-card, .act-card, .tier-col, .pod, .hm-champ, .hm-mode-tile, .lr-card, .sf-card { position: relative; }
.hm-card::before, .act-card::before, .pod::before, .hm-mode-tile::before, .hm-champ::before,
.hm-card::after,  .act-card::after,  .pod::after,  .hm-mode-tile::after,  .hm-champ::after {
  content: ''; position: absolute; width: 12px; height: 12px; pointer-events: none; border: 0 solid var(--cy); opacity: .45; transition: opacity .2s, width .2s, height .2s; z-index: 2;
}
.hm-card::before, .act-card::before, .pod::before, .hm-mode-tile::before, .hm-champ::before { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; }
.hm-card::after,  .act-card::after,  .pod::after,  .hm-mode-tile::after,  .hm-champ::after  { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }
.hm-card:hover::before, .act-card:hover::before, .pod:hover::before, .hm-mode-tile:hover::before, .hm-champ:hover::before,
.hm-card:hover::after,  .act-card:hover::after,  .pod:hover::after,  .hm-mode-tile:hover::after,  .hm-champ:hover::after { opacity: 1; width: 18px; height: 18px; }
.hm-card, .act-card, .tier-col, .pod, .hm-champ, .hm-mode-tile, .hm-hero { border-radius: var(--radius) !important; }
.sf-card.hv-bunny::before, .sf-card.hv-bunny::after { display: none; }

/* ── hero (home) ── */
.hm-hero { border-color: rgba(167, 139, 250, 0.3); overflow: hidden; }
.hm-hero::before {                                       /* sweeping scan band */
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(167,139,250,0.07), transparent); animation: cy-sweep 6s linear infinite;
}
@keyframes cy-sweep { from { transform: translateY(-100px); } to { transform: translateY(520px); } }
.hm-badge { font-family: var(--cy-mono); border-radius: 3px !important; letter-spacing: .18em; }
.hm-title { font-family: 'Inter', sans-serif; }
.hm-title span { position: relative; }
.hm-title:hover span { animation: cy-glitch 0.5s steps(2) 1; }
.hm-sub, .hm-stat span, .hm-sec-title p, .home-kicker { font-family: var(--cy-mono); }
.hm-btn { border-radius: 4px !important; font-family: var(--cy-mono); letter-spacing: .14em; position: relative; }
.hm-btn.primary { box-shadow: 0 0 26px -6px var(--cy2), inset 0 0 0 1px rgba(255,255,255,.12); }
.hm-btn:hover { box-shadow: 0 0 22px -6px var(--cy); }

/* ── section headers: terminal prefix ── */
.hm-sec-head { border-left-color: var(--cy); }
.hm-sec-title h2, .section-title, .act-head h3 { font-family: var(--cy-mono); letter-spacing: .16em; }
.hm-sec-title h2::before { content: '// '; color: var(--cy); }
.section-title::before { content: '> '; color: var(--cy); }
.hm-chip, .rank-badge, .rx-tag, .act-pill, .chip, .hm-mode, .hm-region { font-family: var(--cy-mono); }
.hm-chip, .chip { border-radius: 4px !important; }
.fsel, .dd-btn { border-radius: 5px !important; } .dd-cap, .fsel span { font-family: var(--cy-mono); }
.dd-menu { border-radius: 8px !important; }

/* ── leaderboard rows ── */
@media (min-width: 761px) {
  .board .row { border-radius: 6px; }
  .board .row .rank-ribbon { border-radius: 6px 0 0 6px; }
  .board .row .rank { font-family: var(--cy-mono); font-style: normal; letter-spacing: -0.06em; }
  .board .row .rchip { border-radius: 4px; font-family: var(--cy-mono); }
  .board .row:hover { border-color: var(--cy); box-shadow: -10px 0 30px -14px var(--cy), 0 8px 26px rgba(0, 0, 0, 0.5); }
}
.row::before, .row::after {                              /* brackets on rows (rows already clip, so sit just inside) */
  content: ''; position: absolute; width: 10px; height: 10px; pointer-events: none; opacity: 0; transition: opacity .18s; border: 0 solid #fff; z-index: 3;
}
.row::before { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.row::after { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; border-color: var(--cy); }
.row:hover::before, .row:hover::after { opacity: 1; }
.row:hover .name { text-shadow: 0 0 14px var(--cy); }
.row.hv-bunny::before, .row.hv-bunny::after { display: none; }
.board .row { animation: cy-in .5s cubic-bezier(.2,.8,.2,1) both; }
.board .row:nth-child(1) { animation-delay: .02s; } .board .row:nth-child(2) { animation-delay: .05s; } .board .row:nth-child(3) { animation-delay: .08s; }
.board .row:nth-child(4) { animation-delay: .11s; } .board .row:nth-child(5) { animation-delay: .14s; } .board .row:nth-child(n+6) { animation-delay: .17s; }
@keyframes cy-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
/* top-3 rows keep their own breathing animation, so only fade in */
.board .row.top-1, .board .row.top-2, .board .row.top-3 { animation: top-breathe 4.2s ease-in-out infinite; }

/* ── podium / tier columns / modal ── */
.pod-name, .hm-champ-name { letter-spacing: .02em; }
.tier-col-head { font-family: var(--cy-mono); }
.modal { border-radius: 10px !important; }
.modal-overlay { background: rgba(2, 1, 6, 0.88); }
.mtab, .modal-namemc, .modal-copy, .bio-link { border-radius: 4px !important; font-family: var(--cy-mono); }
.downloads-toggle { border-radius: 6px !important; }
.mode-arrow { border-radius: 6px !important; }
.mode-title-text h1, .act-title h1 { font-family: 'Inter', sans-serif; }
.mode-title-text span, .act-title span { font-family: var(--cy-mono); }

/* ── progress bar + footer ── */
.progress { background: linear-gradient(90deg, var(--cy2), var(--cy), #fff); box-shadow: 0 0 14px var(--cy); height: 2px; }
.site-footer { font-family: var(--cy-mono); letter-spacing: .12em; text-transform: uppercase; font-size: 10px; }

/* ── boot screen (boot.js) ── */
#cy-boot { position: fixed; inset: 0; z-index: 99999; background: #030206; display: grid; place-items: center; cursor: pointer;
  transition: opacity .45s ease, clip-path .6s cubic-bezier(.7,0,.2,1); clip-path: inset(0 0 0 0); overflow: hidden; }
#cy-boot canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#cy-boot.out { opacity: 0; clip-path: inset(50% 0 50% 0); pointer-events: none; }
#cy-boot .box { position: relative; width: min(440px, 84vw); font-family: var(--cy-mono); color: #cfcfe0; }
#cy-boot .big { white-space: nowrap; font: 900 clamp(30px, 7.4vw, 54px)/1 'Inter', sans-serif; letter-spacing: -0.03em; color: #fff; margin-bottom: 18px; position: relative; }
#cy-boot .big::after { content: attr(data-t); position: absolute; left: 0; top: 0; color: var(--cy); clip-path: inset(0 0 100% 0); animation: cy-scan 1.1s steps(8) infinite; }
@keyframes cy-scan { 0% { clip-path: inset(0 0 100% 0); transform: translateX(0); } 40% { clip-path: inset(30% 0 40% 0); transform: translateX(4px); } 100% { clip-path: inset(100% 0 0 0); transform: translateX(0); } }
#cy-boot .lines { min-height: 70px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8d8da6; line-height: 1.9; }
#cy-boot .lines b { color: var(--cy); font-weight: 500; }
#cy-boot .bar { margin-top: 14px; height: 7px; border: 1px solid rgba(255,255,255,.34); position: relative; }
#cy-boot .bar i { position: absolute; inset: 1px; width: 0; background: repeating-linear-gradient(90deg, var(--cy) 0 6px, transparent 6px 8px); box-shadow: 0 0 14px var(--cy); transition: width .1s linear; }
@media (prefers-reduced-motion: reduce) {
  .board .row, .topnav::after, .hm-hero::before { animation: none !important; }
  #cy-boot { display: none; }
}

/* keep text readable where the storm passes behind panels */
#storm { opacity: .85; }
.hm-hero { background-color: rgba(3, 2, 6, 0.78); }
.hm-card, .act-card, .hm-champ, .hm-mode-tile, .tier-col { background-color: rgba(3, 2, 6, 0.6); }

/* ═══════════ v2: the PVPInsight-style layer ═══════════ */

/* scroll reveal (uses `translate`, so it never fights the hover transforms) */
.cy-rv { opacity: 0; translate: 0 22px; transition: opacity .8s cubic-bezier(.2,.7,.1,1) var(--cy-d, 0ms), translate .8s cubic-bezier(.2,.7,.1,1) var(--cy-d, 0ms), transform .18s ease, border-color .18s, box-shadow .18s; }
.cy-rv.cy-in { opacity: 1; translate: 0 0; }
.board .row.cy-rv { animation: none; }
.board .row.top-1.cy-rv, .board .row.top-2.cy-rv, .board .row.top-3.cy-rv { animation: top-breathe 4.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .cy-rv { opacity: 1; translate: none; transition: none; } }

/* full-width top bar on desktop, like a product site header */
@media (min-width: 1181px) {
  .topnav { top: 0; left: 0; transform: none; width: 100%; border-radius: 0 !important; border-width: 0 0 1px; padding: 0 28px; height: 60px; background: rgba(4, 3, 8, 0.96); box-shadow: none; }
  body.has-nav { padding-top: 84px; }
  .acct-menu { top: 64px !important; right: 20px !important; }
}

/* section headers: numbered like 01 / 02 ... */
.board.home { counter-reset: cysec; }
.board.home .hm-sec-head { counter-increment: cysec; }
.hm-sec-title h2::before { content: counter(cysec, decimal-leading-zero) ' / '; color: var(--cy); }
.hm-sec-title h2 { font-size: 26px; letter-spacing: .06em; }

/* big display type */
.display, .hm-title, .act-title h1, .mode-title-text h1 { text-transform: uppercase; letter-spacing: -0.06em; line-height: .86; }
.hm-title { font-size: clamp(3.4rem, 10.5vw, 9.4rem); text-align: left; margin: 20px 0 22px; text-shadow: none; }
.hm-title span { display: block; background: none; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); color: transparent; }
.hm-title:hover span { -webkit-text-stroke-color: var(--cy); }

/* hero: left aligned, corner marks, grid, telemetry bar */
.hm-hero.cy-hero { text-align: left; padding: 54px 44px 168px; min-height: 620px; overflow: hidden;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    radial-gradient(ellipse at 70% 40%, rgba(139,92,246,.2), transparent 62%);
  background-size: 48px 48px, 48px 48px, 100% 100%; background-color: rgba(3,2,6,.74);
  -webkit-mask-image: none; }
.hm-hero.cy-hero::after {
  content: ''; position: absolute; inset: 14px; pointer-events: none; z-index: 1; --c: rgba(255,255,255,.4);
  background:
    linear-gradient(var(--c), var(--c)) top left / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px 26px no-repeat;
}
.cy-hero > * { position: relative; z-index: 2; }
.cy-hero .hm-badge { display: inline-flex; align-items: center; gap: 12px; border: 0 !important; background: none !important; padding: 0; color: rgba(255,255,255,.6); }
.cy-hero .hm-badge::before { content: ''; width: 40px; height: 1px; background: rgba(255,255,255,.5); }
.cy-hero .hm-lead { margin: 0 0 6px; max-width: 640px; text-align: left; font-size: clamp(17px, 2vw, 22px); }
.cy-hero .hm-sub { margin: 0 0 28px; text-align: left; }
.cy-hero .hm-cta { justify-content: flex-start; }
.cy-hero .hm-stats { display: none; }
.hm-btn { display: inline-flex; align-items: center; gap: 22px; justify-content: space-between; border-radius: 2px !important; }

/* telemetry bar */
.cy-tele { position: absolute !important; left: 0; right: 0; bottom: 0; z-index: 3 !important; border-top: 1px solid rgba(255,255,255,.12); background: rgba(3,2,7,.78); }
.cy-tele-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 14px 44px 12px; flex-wrap: wrap; }
.cy-tele-stats { display: flex; gap: 14px 44px; margin: 0; flex-wrap: wrap; }
.cy-tele-stats > div { min-width: 0; }
.cy-tele-stats dd { margin: 4px 0 0; }
.cy-label { font-family: var(--cy-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cy-label b { color: #fff; font-weight: 500; }
.cy-val { font-family: var(--cy-mono); font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.cy-tele-right { text-align: right; line-height: 1.7; }
.cy-ticker { overflow: hidden; border-top: 1px solid rgba(255,255,255,.1); padding: 8px 0; }
.cy-ticker-track { display: flex; width: max-content; font-family: var(--cy-mono); font-size: 10px; letter-spacing: .18em; color: rgba(255,255,255,.4); white-space: nowrap; animation: cy-marquee 46s linear infinite; }
.cy-ticker-track span { padding-right: 40px; }
@keyframes cy-marquee { to { transform: translateX(-50%); } }
.cy-hero:hover .cy-ticker-track { animation-play-state: paused; }

/* event stream (wide screens) */
.cy-stream { position: absolute !important; right: 44px; top: 54px; width: 250px; z-index: 3 !important; padding: 12px 14px; border: 1px solid rgba(255,255,255,.16); background: rgba(8,6,16,.85); }
.cy-stream ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; }
.cy-stream li { display: flex; justify-content: space-between; gap: 10px; font-family: var(--cy-mono); font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.28); transition: color .3s; }
.cy-stream li.on { color: #fff; }
.cy-stream li span:last-child { text-transform: uppercase; }
@media (max-width: 1100px) { .cy-stream { display: none; } }
@media (max-width: 700px) { .hm-hero.cy-hero { padding: 40px 20px 190px; min-height: 0; } .cy-tele-top { padding: 12px 20px; } .cy-tele-right { display: none; } }
@media (prefers-reduced-motion: reduce) { .cy-ticker-track { animation: none; } }

/* ═══════════ v3: champions, podium, panels ═══════════ */

/* dropdown must be able to leave the bar */
.topnav { overflow: visible; }
.tn-menu { background: rgba(6, 4, 12, 0.96) !important; border: 1px solid rgba(167, 139, 250, 0.32) !important; border-radius: 4px !important; box-shadow: 0 24px 60px rgba(0, 0, 0, .7), 0 0 40px -12px var(--cy); z-index: 200; }
.tn-item { border-radius: 2px !important; font-family: var(--cy-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tn-item:hover, .tn-item.active { background: rgba(167, 139, 250, .16); box-shadow: inset 2px 0 0 var(--cy); }

/* ── champion cards (home) + podium (leaderboard) share one look ── */
.hm-podium { gap: 28px; align-items: flex-end; margin-bottom: 56px; }
.hm-champ, .pod {
  --pc: 203, 213, 225; --rx: 0deg; --ry: 0deg; --ty: 0px;
  position: relative; overflow: visible; border-radius: 3px !important; isolation: isolate;
  border: 1px solid rgba(var(--pc), .34);
  background: linear-gradient(180deg, rgba(12, 9, 24, .84), rgba(3, 2, 6, .94) 70%);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty)); transform-style: flat;
  transition: transform .22s ease-out, border-color .25s, box-shadow .35s;
}
.hm-champ.place-1, .pod-1 { --pc: 250, 204, 21; }
.hm-champ.place-3, .pod-3 { --pc: 217, 119, 6; }
.hm-champ { width: 282px; padding: 22px 18px 20px; }
.hm-champ.place-1 { width: 312px; padding-top: 26px; margin-bottom: 34px; box-shadow: 0 0 80px -30px rgba(var(--pc), .55); background: linear-gradient(180deg, rgba(34, 26, 6, .7), rgba(3, 2, 6, .94) 72%); }
.hm-champ:hover, .pod:hover { --ty: -8px; border-color: rgba(var(--pc), .85); box-shadow: 0 26px 60px -24px rgba(var(--pc), .6), 0 0 0 1px rgba(var(--pc), .25); }
.hm-champ::before, .hm-champ::after, .pod::before, .pod::after { border-color: rgb(var(--pc)); opacity: .8; z-index: 4; }
.hm-champ > *, .pod > * { position: relative; z-index: 1; }
.hm-champ > .cy-num, .pod > .cy-num { position: absolute; z-index: 0; }
.hm-champ > .cy-beam, .pod > .cy-beam, .hm-champ > .cy-glare, .pod > .cy-glare, .hm-champ > .cy-sparks, .pod > .cy-sparks { position: absolute; }

/* entrance: cards rise from below, the champion lands last */
.hm-champ.cy-rv { translate: 0 90px; transition: opacity .9s ease var(--cy-d, 0ms), translate 1s cubic-bezier(.16,.84,.24,1) var(--cy-d, 0ms), transform .22s ease-out, border-color .25s, box-shadow .35s; }
.hm-champ.cy-rv.cy-in { translate: 0 0; }
.hm-champ.place-1.cy-rv { --cy-d: 380ms !important; translate: 0 -70px; }
.hm-champ.place-1.cy-rv.cy-in { translate: 0 0; }
.pod.cy-rv { translate: 0 60px; }

/* huge outlined number behind the model */
.cy-num { top: 34px; left: 50%; translate: -50% 0; font: 900 168px/1 'Inter', sans-serif; letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--pc), .3); pointer-events: none; user-select: none; transition: -webkit-text-stroke-color .3s, translate .5s; white-space: nowrap; }
.hm-champ.place-1 .cy-num { font-size: 210px; top: 30px; -webkit-text-stroke-color: rgba(var(--pc), .38); }
.hm-champ:hover .cy-num, .pod:hover .cy-num { -webkit-text-stroke-color: rgba(var(--pc), .8); translate: -50% -6px; }
.pod .cy-num { font-size: 130px; top: 8px; }
.pod-1 .cy-num { font-size: 160px; }

/* light cone from above */
.cy-beam { inset: 0; pointer-events: none; z-index: 0; opacity: .85;
  background: conic-gradient(from 180deg at 50% -6%, transparent 158deg, rgba(var(--pc), .2) 180deg, transparent 202deg);
  animation: cy-beam 5s ease-in-out infinite; }
.place-1 .cy-beam, .pod-1 .cy-beam { background: conic-gradient(from 180deg at 50% -6%, transparent 150deg, rgba(var(--pc), .34) 180deg, transparent 210deg); }
@keyframes cy-beam { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.cy-glare { inset: 0; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .25s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .1), transparent 62%); }
.hm-champ:hover .cy-glare, .pod:hover .cy-glare { opacity: 1; }

/* rising ASCII sparks, like the storm */
.cy-sparks { left: 0; right: 0; bottom: 0; height: 100%; pointer-events: none; overflow: hidden; z-index: 1; }
.cy-spk { position: absolute; bottom: 22%; left: var(--x); font: 700 11px var(--cy-mono); color: rgba(var(--pc), .9); opacity: 0; animation: cy-rise var(--t, 3s) linear var(--d, 0s) infinite; text-shadow: 0 0 8px rgba(var(--pc), .8); }
@keyframes cy-rise { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translate(var(--s, 0), -200px); opacity: 0; } }

/* player frame: lock-on brackets, scan line, tag */
.hm-frame { height: 262px; margin: 6px auto 10px; }
.place-1 .hm-frame { height: 300px; }
.hm-frame::before, .hm-frame::after { display: none; }
.hm-skin { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .7)) drop-shadow(0 0 22px rgba(var(--pc), .22)); transition: filter .3s, transform .4s; }
.hm-champ:hover .hm-skin { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .7)) drop-shadow(0 0 30px rgba(var(--pc), .55)); }
.hm-pedestal { filter: hue-rotate(0deg); }
.cy-lock { position: absolute; inset: 4px 14px; pointer-events: none; z-index: 3; opacity: 0; transform: scale(1.4); transition: transform .8s cubic-bezier(.2,.9,.2,1) .5s, opacity .5s ease .5s; }
.cy-in .cy-lock { opacity: 1; transform: scale(1); }
.hm-champ:hover .cy-lock { transform: scale(.97); transition-delay: 0s; }
.cy-lock i { position: absolute; width: 22px; height: 22px; border: 0 solid rgb(var(--pc)); filter: drop-shadow(0 0 5px rgba(var(--pc), .8)); }
.cy-lock i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; } .cy-lock i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.cy-lock i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; } .cy-lock i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.cy-scan { position: absolute; left: 10%; right: 10%; top: 0; height: 2px; z-index: 3; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(var(--pc), .95), transparent); box-shadow: 0 0 18px rgba(var(--pc), .7); opacity: 0; animation: cy-scanv 4.6s ease-in-out calc(var(--k, 1) * .9s) infinite; }
@keyframes cy-scanv { 0% { top: 2%; opacity: 0; } 12% { opacity: 1; } 55% { top: 96%; opacity: 1; } 68%, 100% { top: 96%; opacity: 0; } }
.cy-tag { position: absolute; left: 14px; top: -16px; right: 14px; z-index: 3; display: flex; justify-content: space-between; font: 500 9px var(--cy-mono); letter-spacing: .22em; color: rgba(var(--pc), .95); pointer-events: none; }
.cy-tag b { font-weight: 500; animation: cy-blink 1.4s steps(2) infinite; color: #fff; }
@keyframes cy-blink { 50% { opacity: .25; } }
.hm-hint { font-family: var(--cy-mono); letter-spacing: .14em; }

/* labels + name */
.hm-place { border-radius: 2px !important; font-family: var(--cy-mono); letter-spacing: .24em; background: rgba(var(--pc), .1); color: rgb(var(--pc)); border-color: rgba(var(--pc), .55); }
.hm-champ-name { font: 900 27px/1.05 'Inter', sans-serif; text-transform: uppercase; letter-spacing: -.03em; margin-top: 4px; }
.hm-champ.place-1 .hm-champ-name { font-size: 32px; }
.hm-champ:hover .hm-champ-name { animation: cy-glitch .45s steps(2) 1; }
.hm-champ-sub, .hm-champ-pts { display: none; }
.cy-dos { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-top: 14px; border: 1px solid rgba(255, 255, 255, .13); background: rgba(0, 0, 0, .4); text-align: left; }
.cy-dos > div { padding: 8px 10px 7px; border-right: 1px solid rgba(255, 255, 255, .1); min-width: 0; }
.cy-dos > div:last-child { border-right: 0; }
.cy-dos i { display: block; font: normal 500 8.5px var(--cy-mono); letter-spacing: .24em; color: rgba(255, 255, 255, .45); margin-bottom: 4px; }
.cy-dos b { display: block; font: 700 15px var(--cy-mono); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cy-dos .cy-tier { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.cy-dos .cy-pts { color: rgb(var(--pc)); text-shadow: 0 0 14px rgba(var(--pc), .5); }
.cy-bar { height: 3px; margin-top: 10px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.cy-bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: rgb(var(--pc)); box-shadow: 0 0 12px rgb(var(--pc)); transition: width 1.5s cubic-bezier(.2, .8, .2, 1) .7s; }
.cy-in .cy-bar span, .hm-champ.cy-in ~ .x .cy-bar span { width: var(--w); }

/* leaderboard podium */
.podium { gap: 18px; align-items: flex-end; margin-bottom: 18px; }
.pod { padding: 18px 12px 16px; max-width: 280px; }
.pod-1 { padding-top: 28px; padding-bottom: 22px; background: linear-gradient(180deg, rgba(34, 26, 6, .7), rgba(3, 2, 6, .94) 72%); box-shadow: 0 0 70px -30px rgba(var(--pc), .55); }
.pod-rank { font: 700 11px var(--cy-mono); letter-spacing: .24em; font-style: normal; top: 10px; left: 12px; color: rgb(var(--pc)) !important; z-index: 2; }
.pod-img { width: 108px; height: 108px; margin-bottom: 10px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .7)) drop-shadow(0 0 18px rgba(var(--pc), .3)); transition: transform .35s; }
.pod-1 .pod-img { width: 140px; height: 140px; }
.pod:hover .pod-img { transform: translateY(-4px) scale(1.05); }
.pod-name { font: 900 19px 'Inter', sans-serif; text-transform: uppercase; letter-spacing: -.02em; }
.pod-1 .pod-name { font-size: 23px; }
.pod-pts { font: 500 11px var(--cy-mono); letter-spacing: .16em; opacity: .75; }
.pod-best { border-radius: 2px !important; font-family: var(--cy-mono); letter-spacing: .12em; }
.pod .cy-sparks { display: none; }
.pod-1 .cy-sparks { display: block; }
@media (max-width: 900px) { .hm-champ, .hm-champ.place-1 { width: min(340px, 100%); } .hm-champ.cy-rv, .hm-champ.place-1.cy-rv { translate: 0 40px; } }
@media (prefers-reduced-motion: reduce) { .cy-beam, .cy-scan, .cy-spk, .cy-tag b { animation: none !important; } .cy-lock { opacity: 1; transform: none; } .cy-bar span { width: var(--w); transition: none; } }

/* ── activity page ── */
.act-title { text-align: left; position: relative; padding: 4px 0 20px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.act-title h1 { text-align: left; font-size: clamp(3.2rem, 9vw, 7.4rem); margin: 0; }
.act-title span { display: block; margin-top: 12px; letter-spacing: .24em; font-size: 11px; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.act-title::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 140px; height: 2px; background: var(--cy); box-shadow: 0 0 16px var(--cy); }
.act-card { background: linear-gradient(180deg, rgba(12, 9, 24, .74), rgba(3, 2, 6, .86)); border-color: rgba(255, 255, 255, .14); }
.act-card::before { z-index: 3; }
.act-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .09); position: relative; }
.act-head h3 { display: flex; align-items: center; gap: 10px; font-size: 11px !important; letter-spacing: .26em !important; text-transform: uppercase; }
.act-head h3::before { content: ''; width: 7px; height: 7px; background: var(--cy); box-shadow: 0 0 12px var(--cy); flex: none; }
.act-head::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 38%; height: 1px; background: linear-gradient(90deg, var(--cy), transparent); background-size: 100% 100%; animation: cy-headrun 5s linear infinite; }
@keyframes cy-headrun { 0% { left: -40%; } 100% { left: 100%; } }
.act-item { position: relative; transition: background .18s; }
.act-item::before { content: ''; position: absolute; left: -18px; top: 8px; bottom: 8px; width: 2px; background: var(--cy); opacity: 0; transition: opacity .18s; box-shadow: 0 0 10px var(--cy); }
.act-item:hover { background: linear-gradient(90deg, rgba(167, 139, 250, .13), transparent 75%); }
.act-item:hover::before { opacity: 1; }
.act-main b, .act-who { letter-spacing: -.01em; }
.act-sub, .act-time, .act-label, .act-live { font-family: var(--cy-mono); }
.act-label { letter-spacing: .22em; font-size: 10px; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.act-pill { border-radius: 2px !important; letter-spacing: .14em; }
.act-live { letter-spacing: .24em; font-size: 10px; color: #5cff8f; }
.act-toggle button, .act-toggle span, .act-more, .act-edit-btn, .act-edit-save { border-radius: 2px !important; font-family: var(--cy-mono); letter-spacing: .14em; }
.act-tier { border-radius: 2px !important; }

/* ── staff page ── */
.sf-kicker { font-family: var(--cy-mono); letter-spacing: .34em !important; }
.sf-title { font-size: clamp(3.6rem, 10.5vw, 8.8rem) !important; letter-spacing: -.06em !important; line-height: .86 !important; text-transform: uppercase; text-shadow: none !important; margin: 14px 0 18px !important; }
.sf-sub { font-family: var(--cy-mono); letter-spacing: .06em; font-size: 12px; }
.sf-chip, .sf-mode { border-radius: 2px !important; font-family: var(--cy-mono); letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; }
.sf-thead, .sf-card, .sf-av, .sf-node { border-radius: 3px !important; }
.sf-tname { letter-spacing: .18em; }
.sf-tcount, .sf-role, .sf-since, .sf-tag, .sf-tblurb { font-family: var(--cy-mono); }
.sf-role { letter-spacing: .16em; }
.sf-card { transition: box-shadow .25s, border-color .25s; }
.sf-card:hover { box-shadow: 0 18px 44px -20px rgba(var(--rgb, 167, 139, 250), .55), 0 0 0 1px rgba(var(--rgb, 167, 139, 250), .4); }

/* ── tournaments / mode pages / empty states ── */
.lr-card { border-radius: 4px !important; }
.mode-head, .mode-title { border-radius: 4px; }
.tier-col { background: linear-gradient(180deg, rgba(12, 9, 24, .7), rgba(3, 2, 6, .82)); border-color: rgba(255, 255, 255, .13); }
.tier-col-head { letter-spacing: .2em; text-transform: uppercase; }
.msg { font-family: var(--cy-mono); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; opacity: .6; }
.pod.cy-rv.cy-in { translate: 0 0; }
.pod > .pod-rank { position: absolute; }
.sf-title { word-spacing: .14em; }
.mode-title-text span { display: block; margin-top: 12px; }
.hm-skin[data-cy-done] { width: 150px; height: 150px; max-width: none; }

/* ═══════════ v5: champions stage ═══════════ */
.hm-champs.cy-has-stage .hm-podium { display: none; }
.cy-stage { --pc: 250, 204, 21; --p: .5; position: relative; margin: 0 0 48px; }
.cy-st-pin { position: relative; height: 610px; overflow: hidden; perspective: 1300px; isolation: isolate;
  border: 1px solid rgba(var(--pc), .32); border-radius: 3px; transition: border-color .6s, clip-path 1.1s cubic-bezier(.7, 0, .2, 1);
  clip-path: inset(0 50% 0 50%);
  background:
    radial-gradient(ellipse at 50% 80%, rgba(var(--pc), .22), transparent 58%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    rgba(3, 2, 7, .84); }
.cy-stage.on .cy-st-pin { clip-path: inset(0 0 0 0); }
.cy-st-pin::before { content: ''; position: absolute; inset: 12px; pointer-events: none; z-index: 6; --c: rgba(255,255,255,.35);
  background: linear-gradient(var(--c), var(--c)) top left / 24px 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px 24px no-repeat, linear-gradient(var(--c), var(--c)) top right / 24px 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px 24px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 24px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px 24px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 24px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px 24px no-repeat; }
.cy-st-rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 24%, transparent 32%, transparent 68%, #000 76%, #000 100%); mask-image: linear-gradient(90deg, #000 0, #000 24%, transparent 32%, transparent 68%, #000 76%, #000 100%); }
.cy-st-num { position: absolute; left: 50%; top: 3%; translate: -50% 0; z-index: 0; font: 900 clamp(240px, 33vw, 440px)/.8 'Inter', sans-serif; letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 2px rgba(var(--pc), .22); pointer-events: none; user-select: none;
  transform: translateY(calc((var(--p) - .5) * -90px)) scale(calc(1 + var(--p) * .05)); transition: -webkit-text-stroke-color .6s; white-space: nowrap; }
.cy-st-beam { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: conic-gradient(from 180deg at 50% -8%, transparent 152deg, rgba(var(--pc), .28) 180deg, transparent 208deg); animation: cy-beam 5s ease-in-out infinite; }
.cy-st-floor { position: absolute; left: 50%; bottom: 58px; width: min(720px, 90%); height: 210px; translate: -50% 0; transform: rotateX(74deg); z-index: 1; pointer-events: none; }
.cy-st-floor i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(var(--pc), .55); box-shadow: 0 0 40px -6px rgba(var(--pc), .5), inset 0 0 40px -10px rgba(var(--pc), .5); }
.cy-st-floor i:nth-child(2) { inset: 13%; border: 1px dashed rgba(var(--pc), .6); box-shadow: none; animation: cy-spin 22s linear infinite; }
.cy-st-floor i:nth-child(3) { inset: 30%; border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; animation: cy-spin 14s linear infinite reverse; }
@keyframes cy-spin { to { transform: rotate(360deg); } }
.cy-st-model { position: absolute; left: 50%; bottom: 104px; translate: -50% 0; width: 380px; height: 440px; z-index: 3; cursor: grab; touch-action: pan-y; display: flex; align-items: flex-end; justify-content: center; }
.cy-st-model:active { cursor: grabbing; }
.cy-st-flat { max-height: 96%; max-width: 70%; image-rendering: pixelated; object-fit: contain; transition: opacity .5s; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .7)) drop-shadow(0 0 40px rgba(var(--pc), .3)); user-select: none; -webkit-user-drag: none; }
.cy-st-3d { position: absolute; inset: 0; width: 100% !important; height: 100% !important; transition: opacity .5s; filter: drop-shadow(0 0 36px rgba(var(--pc), .3)); }
.cy-st-sweep { position: absolute; left: -10%; right: -10%; bottom: 0; height: 2px; opacity: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgb(var(--pc)), transparent); box-shadow: 0 0 22px rgb(var(--pc)); }
.cy-stage.on .cy-st-model { animation: cy-wipe 1.3s .45s cubic-bezier(.3, .7, .2, 1) both; }
.cy-stage.on .cy-st-sweep { animation: cy-sweepup 1.3s .45s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes cy-wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(-20% -20% -20% -20%); } }
@keyframes cy-sweepup { 0% { bottom: 0; opacity: 1; } 90% { opacity: 1; } 100% { bottom: 100%; opacity: 0; } }
.cy-st-lock { position: absolute; left: 50%; top: 8%; bottom: 17%; width: min(310px, 44%); translate: -50% 0; z-index: 4; pointer-events: none; opacity: 0; }
.cy-stage.on .cy-st-lock { animation: cy-lockin .9s 1.1s cubic-bezier(.2, .9, .2, 1) both; }
.swap .cy-st-lock { animation: cy-lockin .8s cubic-bezier(.2, .9, .2, 1) both !important; }
.cy-st-lock i { position: absolute; width: 28px; height: 28px; border: 0 solid rgb(var(--pc)); filter: drop-shadow(0 0 6px rgba(var(--pc), .8)); }
.cy-st-lock i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; } .cy-st-lock i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.cy-st-lock i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; } .cy-st-lock i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
@keyframes cy-lockin { from { scale: 1.4; opacity: 0; } to { scale: 1; opacity: 1; } }
.cy-stage .cy-sparks { position: absolute; inset: 0; z-index: 2; }
.cy-stage .cy-spk { bottom: 22%; }

/* side panels */
.cy-st-left, .cy-st-right { position: absolute; z-index: 5; top: 86px; opacity: 0; }
.cy-stage.on .cy-st-left, .cy-stage.on .cy-st-right { animation: cy-swapin .9s .7s cubic-bezier(.2, .8, .2, 1) both; }
.cy-st-left { left: 34px; width: 30%; } .cy-st-right { right: 34px; width: 25%; min-width: 210px; }
.cy-st-kick, .cy-st-lbl { font: 500 10px var(--cy-mono); letter-spacing: .26em; color: rgba(var(--pc), .95); text-transform: uppercase; }
.cy-st-name { margin: 8px 0 6px; width: 100%; font: 900 clamp(2.6rem, 5vw, 4.6rem)/.9 'Inter', sans-serif; letter-spacing: -.055em; text-transform: uppercase; white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.cy-st-reg { font: 500 12px var(--cy-mono); letter-spacing: .16em; color: rgba(255, 255, 255, .6); }
.cy-st-dos { margin: 18px 0 0; border: 1px solid rgba(255, 255, 255, .13); background: rgba(0, 0, 0, .4); }
.cy-st-dos > div { display: flex; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, .09); font-family: var(--cy-mono); }
.cy-st-dos > div:last-child { border-bottom: 0; }
.cy-st-dos dt { font-size: 9.5px; letter-spacing: .24em; color: rgba(255, 255, 255, .45); } .cy-st-dos dd { margin: 0; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cy-st-pts { font: 900 clamp(3rem, 5.6vw, 5.2rem)/.9 'Inter', sans-serif; letter-spacing: -.06em; color: rgb(var(--pc)); text-shadow: 0 0 34px rgba(var(--pc), .45); font-variant-numeric: tabular-nums; margin: 4px 0 10px; }
.cy-st-right .cy-bar span { transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.cy-st-ll { margin: 18px 0 8px; color: rgba(255, 255, 255, .5); }
.cy-st-load { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cy-ld { display: grid; grid-template-columns: 18px auto 1fr; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid rgba(255, 255, 255, .13); background: rgba(0, 0, 0, .4); min-width: 0; animation: cy-ldin .5s calc(var(--k) * 70ms) both; }
.cy-ld img { width: 18px; height: 18px; filter: grayscale(1) brightness(1.7); }
.cy-ld b { font: 800 12px var(--cy-mono); color: rgb(var(--pc)); } .cy-ld span { font: 500 9px var(--cy-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes cy-ldin { from { opacity: 0; translate: 8px 0; } to { opacity: 1; translate: 0 0; } }
.no-load .cy-st-ll, .no-load .cy-st-load { display: none; }
.cy-st-view { margin-top: 14px; font: 700 11px var(--cy-mono); letter-spacing: .16em; color: #fff; background: rgba(var(--pc), .12); border: 1px solid rgba(var(--pc), .6); border-radius: 2px; padding: 11px 16px; cursor: pointer; transition: background .2s, box-shadow .2s; }
.cy-st-view:hover { background: rgba(var(--pc), .3); box-shadow: 0 0 24px -6px rgba(var(--pc), .8); }
.swap .cy-st-left > *, .swap .cy-st-right > * { animation: cy-swapin .7s cubic-bezier(.2, .8, .2, 1) both; }
.swap .cy-st-left > :nth-child(2), .swap .cy-st-right > :nth-child(2) { animation-delay: .06s; } .swap .cy-st-left > :nth-child(3), .swap .cy-st-right > :nth-child(3) { animation-delay: .12s; }
.swap .cy-st-name { animation: cy-swapin .7s .06s cubic-bezier(.2, .8, .2, 1) both, cy-glitch .5s steps(2) 1 .3s; }
@keyframes cy-swapin { 0% { opacity: 0; translate: 0 16px; } 40% { opacity: 0; } 100% { opacity: 1; translate: 0 0; } }
.cy-st-top { position: absolute; left: 28px; right: 28px; top: 22px; z-index: 5; display: flex; justify-content: space-between; font: 500 10px var(--cy-mono); letter-spacing: .22em; color: rgba(255, 255, 255, .55); text-transform: uppercase; }
.cy-st-deg::before { content: '●'; color: #5cff8f; margin-right: 8px; animation: cy-blink 1.4s steps(2) infinite; }

/* footer: terminal log, picker */
.cy-st-foot { position: absolute; left: 28px; right: 28px; bottom: 20px; z-index: 7; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; pointer-events: none; }
.cy-st-foot > * { pointer-events: auto; }
.cy-st-log { width: 30%; min-height: 54px; font: 500 10.5px/1.7 var(--cy-mono); letter-spacing: .1em; color: rgba(var(--pc), .95); white-space: pre; overflow: hidden; text-shadow: 0 0 10px rgba(var(--pc), .5); }
.cy-st-fr { width: 30%; }
.cy-st-pick { display: flex; gap: 6px; padding: 5px; background: rgba(6, 4, 12, .8); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.cy-ar { width: 32px; font: 700 20px var(--cy-mono); color: rgba(255, 255, 255, .6); background: transparent; border: 0; cursor: pointer; border-radius: 2px; } .cy-ar:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.cy-pk { position: relative; display: flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; font: inherit; color: rgba(255, 255, 255, .6); background: transparent; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: color .2s, background .2s, border-color .2s; overflow: hidden; }
.cy-pk img { width: 28px; height: 28px; image-rendering: pixelated; }
.cy-pk b { font: 700 11px var(--cy-mono); color: rgb(var(--pc)); } .cy-pk span { font: 700 12px 'Inter', sans-serif; text-transform: uppercase; letter-spacing: -.01em; }
.cy-pk:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.cy-pk.on { color: #fff; background: rgba(var(--pc), .14); border-color: rgba(var(--pc), .6); }
.cy-pk.on::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; background: rgb(var(--pc)); animation: cy-prog 7s linear forwards; }
@keyframes cy-prog { from { width: 0; } to { width: 100%; } }

@media (max-width: 1000px) { .cy-st-log, .cy-st-fr { display: none; } .cy-st-foot { justify-content: center; } .cy-st-left { width: 28%; } .cy-st-load { grid-template-columns: 1fr; } }
@media (max-width: 800px) {
  .cy-st-pin { height: auto; padding: 56px 18px 84px; display: flex; flex-direction: column; align-items: center; clip-path: none; }
  .cy-st-num { font-size: 250px; top: 30px; }
  .cy-st-model { position: relative; left: auto; bottom: auto; translate: none; width: min(330px, 100%); height: 380px; order: 1; }
  .cy-st-floor { bottom: auto; top: 330px; } .cy-st-lock { display: none; } .cy-st-rain { display: none; }
  .cy-st-left, .cy-st-right { position: relative; left: auto; right: auto; top: auto; width: 100%; min-width: 0; text-align: center; order: 2; margin-top: 10px; opacity: 1; animation: none !important; }
  .cy-st-right { order: 3; } .cy-st-dos { text-align: left; } .cy-st-load { grid-template-columns: 1fr 1fr; }
  .cy-st-pick { max-width: calc(100% - 24px); overflow-x: auto; } .cy-pk span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cy-st-beam, .cy-st-floor i, .cy-spk, .cy-st-deg::before { animation: none !important; } .swap * { animation: none !important; } .cy-st-pin { clip-path: none; } .cy-st-left, .cy-st-right, .cy-st-lock { opacity: 1; } }

/* ═══════════ v6: build/unbuild, inspector, poses, clickable rows ═══════════ */
#cy-build { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
#cy-probe { position: fixed; left: 0; top: 0; z-index: 35; pointer-events: none; opacity: 0; border: 1px dashed rgba(167, 139, 250, .75); transition: opacity .15s, width .12s, height .12s; will-change: transform; }
#cy-probe.on { opacity: 1; }
#cy-probe span { position: absolute; left: -1px; bottom: 100%; margin-bottom: 3px; padding: 2px 7px; white-space: nowrap; font: 500 9px var(--cy-mono); letter-spacing: .14em; color: #06060a; background: var(--cy); }
#cy-probe i { position: absolute; width: 7px; height: 7px; background: #fff; }
#cy-probe i:nth-of-type(1) { left: -4px; top: -4px; } #cy-probe i:nth-of-type(2) { right: -4px; top: -4px; } #cy-probe i:nth-of-type(3) { left: -4px; bottom: -4px; } #cy-probe i:nth-of-type(4) { right: -4px; bottom: -4px; }
.tcol-row, .hm-row, .act-item { cursor: pointer; transition: background .15s; }
.tcol-row:hover, .hm-row:hover { background: linear-gradient(90deg, rgba(167, 139, 250, .14), transparent 80%); }
.cy-st-poses { margin-top: 16px; }
.cy-st-poses .cy-st-ll { margin: 0 0 8px; }
.cy-pc { display: flex; flex-wrap: wrap; gap: 5px; }
.cy-pchip { font: 600 9.5px var(--cy-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .15); border-radius: 2px; padding: 5px 8px; cursor: pointer; transition: all .15s; }
.cy-pchip:hover { color: #fff; border-color: rgba(var(--pc), .6); }
.cy-pchip.on { color: #06060a; background: rgb(var(--pc)); border-color: rgb(var(--pc)); box-shadow: 0 0 16px -4px rgba(var(--pc), .8); }
.cy-pa { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.cy-pa-b { font: 700 9.5px var(--cy-mono); letter-spacing: .12em; color: rgb(var(--pc)); background: transparent; border: 1px dashed rgba(var(--pc), .6); border-radius: 2px; padding: 6px 9px; cursor: pointer; }
.cy-pa-b:hover { background: rgba(var(--pc), .15); }
@media (max-width: 800px) { .cy-pc, .cy-pa { justify-content: center; } }

/* ═══════════ v7: swarm builder status bar, pose lab ═══════════ */
#cy-status { position: fixed; left: 14px; bottom: 14px; z-index: 36; display: flex; align-items: center; gap: 10px; padding: 7px 12px; font: 500 10px var(--cy-mono); letter-spacing: .14em; color: rgba(255, 255, 255, .85); background: rgba(8, 6, 16, .88); border: 1px solid rgba(167, 139, 250, .35); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none; max-width: calc(100vw - 28px); }
#cy-status.on { opacity: 1; transform: none; }
#cy-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--cy); box-shadow: 0 0 10px var(--cy); animation: cy-blink 1s steps(2) infinite; flex: none; }
#cy-status span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #cy-status b { color: var(--cy); font-weight: 700; }
.cy-lab { position: absolute; right: 34px; top: 76px; width: 25%; min-width: 230px; z-index: 8; padding: 12px 12px 10px; background: rgba(6, 4, 12, .9); border: 1px solid rgba(var(--pc), .45); backdrop-filter: blur(8px); display: none; }
.lab-open .cy-lab { display: block; animation: cy-swapin .5s both; }
.lab-open .cy-st-right { display: none; }
.cy-lr { display: grid; grid-template-columns: 78px 1fr 34px; align-items: center; gap: 8px; margin-top: 7px; font: 500 9px var(--cy-mono); letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
.cy-lr em { font-style: normal; text-align: right; color: rgb(var(--pc)); font-variant-numeric: tabular-nums; }
.cy-lr input { width: 100%; accent-color: rgb(var(--pc)); height: 14px; }
.cy-edit { border-style: dashed !important; }
@media (max-width: 800px) { .cy-lab { position: relative; right: auto; top: auto; width: 100%; order: 3; margin-top: 10px; } }

/* v8: staff "set for everyone" */
.cy-pa-b.cy-all { background: rgba(var(--pc), .18); border-style: solid; }
.cy-pa-b[disabled] { opacity: .5; cursor: wait; }
.cy-pmsg { flex-basis: 100%; font: 600 9.5px var(--cy-mono); letter-spacing: .08em; color: rgb(var(--pc)); min-height: 12px; }
.cy-pmsg.bad { color: #ff5d6c; }
.cy-pa { flex-wrap: wrap; }

/* v9: gamemodes & tiers hub */
.cy-hub { position: fixed; inset: 0; z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(2, 1, 6, .86); backdrop-filter: blur(6px); animation: cy-fade .2s ease both; }
.cy-hub.out { animation: cy-fadeo .2s ease both; }
@keyframes cy-fade { from { opacity: 0 } } @keyframes cy-fadeo { to { opacity: 0 } }
.cy-hub-card { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 0 26px 24px; background: linear-gradient(180deg, rgba(20, 12, 40, .96), rgba(8, 6, 14, .98)); border: 1px solid rgba(var(--cy-rgb, 139, 92, 246), .5); border-radius: 10px; box-shadow: 0 0 60px rgba(139, 92, 246, .22); animation: cy-hubin .35s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes cy-hubin { from { opacity: 0; transform: translateY(18px) scale(.97); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.cy-hub-top { display: flex; align-items: center; gap: 14px; margin: 0 -26px; padding: 12px 26px; border-bottom: 1px dashed rgba(255, 255, 255, .18); font: 700 11px var(--cy-mono); letter-spacing: .2em; color: #b99bff; }
.cy-hub-top i { margin-left: auto; font-style: normal; opacity: .45; font-weight: 500; }
.cy-hub-x { background: none; border: 0; color: #fff; cursor: pointer; font-size: 15px; opacity: .7; } .cy-hub-x:hover { opacity: 1; }
.cy-hub-h { margin: 22px 0 12px; font: 700 11px var(--cy-mono); letter-spacing: .26em; color: rgba(255, 255, 255, .55); }
.cy-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.cy-hub-mode { position: relative; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto auto; column-gap: 12px; align-items: center; text-align: left; padding: 14px; color: #fff; cursor: pointer; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; font: inherit; overflow: hidden; animation: cy-hubi .4s ease both; animation-delay: calc(var(--i, 0) * 45ms + .15s); transition: transform .2s, border-color .2s, background .2s; }
@keyframes cy-hubi { from { opacity: 0; transform: translateY(10px); } }
.cy-hub-mode:hover { transform: translateY(-3px); border-color: #b48cff; background: rgba(139, 92, 246, .14); }
.cy-hub-mode img { grid-row: 1 / 4; width: 34px; height: 34px; filter: grayscale(1) brightness(1.6); transition: filter .2s; } .cy-hub-mode:hover img { filter: none; }
.cy-hm-t { font-weight: 800; font-size: 14px; letter-spacing: .04em; }
.cy-hm-n { font: 600 9.5px var(--cy-mono); letter-spacing: .14em; color: #b99bff; }
.cy-hm-b { font: 500 9.5px var(--cy-mono); letter-spacing: .08em; opacity: .55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cy-hub-lad { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.cy-lad { text-align: center; padding: 9px 2px; border: 1px solid rgba(var(--tc), .55); border-radius: 4px; background: rgba(var(--tc), .1); }
.cy-lad b { display: block; font-size: 13px; color: rgb(var(--tc)); } .cy-lad span { font: 500 8.5px var(--cy-mono); opacity: .6; letter-spacing: .08em; }
.cy-lad.t1 { --tc: var(--t1); } .cy-lad.t2 { --tc: var(--t2); } .cy-lad.t3 { --tc: var(--t3); } .cy-lad.t4 { --tc: var(--t4); } .cy-lad.t5 { --tc: var(--t5); }
.cy-hub-note { margin: 12px 0 0; font-size: 12px; opacity: .55; }
@media (max-width: 700px) { .cy-hub-lad { grid-template-columns: repeat(5, 1fr); } }

/* v9: crown */
.tw-crown { position: relative; color: #ffcf4a; filter: drop-shadow(0 0 7px rgba(255, 200, 60, .75)); }
.tw-crown svg { width: 17px; height: 17px; }
.tw-crown::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 207, 74, .35), transparent 65%); animation: cy-crownp 2.4s ease-in-out infinite; z-index: -1; }
@keyframes cy-crownp { 50% { transform: scale(1.35); opacity: .4; } }

/* v9: profile dossier */
.modal.cy-prof { width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 32px); display: grid; grid-template-columns: 270px 1fr; grid-template-rows: auto 1fr; align-items: stretch; padding: 0; gap: 0; overflow: hidden auto; background: linear-gradient(160deg, rgba(22, 13, 44, .97), rgba(7, 6, 12, .98)) !important; border: 1px solid rgba(var(--rrgb, 139, 92, 246), .55) !important; }
.cy-prof > .modal-close { z-index: 6; top: 7px; right: 12px; }
.cy-ph { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; padding: 10px 44px 10px 18px; font: 700 10px var(--cy-mono); letter-spacing: .22em; color: #b99bff; border-bottom: 1px dashed rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .25); }
.cy-ph span:nth-child(2) { opacity: .5; font-weight: 500; } .cy-ph-r { margin-left: auto; color: #6fe3a0; } .is-restricted .cy-ph-r { color: #ff5d6c; }
.cy-prof > .cy-hd, .cy-prof > .cy-prank { grid-column: 1; grid-row: 2; }
.cy-prof .cy-hd { align-self: center; justify-self: center; width: 210px; height: 270px; margin: 0; object-fit: contain; z-index: 2; position: relative; }
.cy-prof .cy-hd.flat { width: 120px; height: 106px; }
.cy-prank { align-self: start; justify-self: center; margin-top: 16px; font: 900 120px/1 'Inter', sans-serif; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--rrgb, 180, 140, 255), .35); pointer-events: none; z-index: 1; }
.cy-prof > .cy-hd ~ .modal-info { grid-column: 2; grid-row: 2; }
.cy-prof::after { content: ''; position: absolute; left: 0; bottom: 0; width: 270px; height: 120px; background: radial-gradient(ellipse 60% 22% at 50% 78%, rgba(var(--rrgb, 139, 92, 246), .55), transparent 70%); pointer-events: none; z-index: 1; }
.cy-prof .modal-info { align-items: flex-start; text-align: left; padding: 22px 28px 22px 10px; z-index: 3; }
.cy-prof .modal-name-line { justify-content: flex-start; }
.cy-prof .modal-name { font-size: 34px; font-weight: 900; letter-spacing: -.01em; line-height: 1; }
.cy-prof .modal-meta { font: 600 11px var(--cy-mono); letter-spacing: .14em; opacity: .65; margin: 6px 0 12px; }
.cy-ribbon { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; margin: 8px 0 4px; color: #1a1200; background: linear-gradient(100deg, #ffe58a, #ffc83a 55%, #e79a14); clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%); box-shadow: 0 0 22px rgba(255, 200, 60, .35); position: relative; overflow: hidden; }
.cy-ribbon b { font: 800 10.5px var(--cy-mono); letter-spacing: .18em; }
.cy-ribbon span { font: 600 9px var(--cy-mono); letter-spacing: .12em; opacity: .7; padding-left: 8px; border-left: 1px solid rgba(0, 0, 0, .35); }
.cy-ribbon::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40px; left: -60px; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); animation: cy-rshine 3.4s ease-in-out infinite; }
@keyframes cy-rshine { 0%, 55% { left: -60px } 100% { left: 120% } }
.cy-prof .modal-stats { width: 100%; gap: 10px; margin: 10px 0 14px; }
.cy-prof .mstat { padding: 12px 6px; border: 1px solid rgba(255, 255, 255, .14); border-top: 2px solid rgba(var(--rrgb, 139, 92, 246), .9); background: rgba(255, 255, 255, .04); border-radius: 4px; }
.cy-prof .mstat b { font-size: 24px; font-weight: 900; } .cy-prof .mstat span { font: 600 8.5px var(--cy-mono); letter-spacing: .2em; }
.cy-prof .modal-tabs { width: 100%; }
.cy-vt { display: flex; gap: 0; margin: 8px 0 8px auto; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 3px; }
.cy-vt button { background: none; border: 0; color: #fff; opacity: .5; font: 700 9px var(--cy-mono); letter-spacing: .16em; padding: 5px 10px; cursor: pointer; } .cy-vt button.on { opacity: 1; background: rgba(var(--rrgb, 139, 92, 246), .35); }
.cy-prof .modal-tiers { justify-content: flex-start; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-height: 240px; padding-right: 2px; }
.cy-prof .modal-tiers.list { grid-template-columns: 1fr; gap: 5px; }
.cy-prof .modal-tiers .pill { width: auto !important; height: auto !important; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; align-items: center; padding: 0; border-radius: 6px; overflow: hidden; background: rgba(var(--tc, 139, 92, 246), .1); border: 1px solid rgba(var(--tc, 139, 92, 246), .5); text-align: left; transition: transform .15s; }
.cy-prof .modal-tiers .pill:hover { transform: translateY(-2px); }
.cy-prof .modal-tiers .pill-key { grid-row: 1 / 3; align-self: stretch; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .35); }
.cy-prof .modal-tiers .pill-icon { width: 20px; height: 20px; }
.cy-prof .modal-tiers .pill-tier { grid-column: 2; background: none; padding: 7px 10px 0; font-size: 16px; font-weight: 900; color: rgb(var(--tc, 255, 255, 255)); justify-self: start; }
.cy-pn { grid-column: 2; padding: 0 10px; font: 700 10px var(--cy-mono); letter-spacing: .06em; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cy-pp { grid-column: 2; padding: 0 10px 7px; font: 500 9px var(--cy-mono); opacity: .5; letter-spacing: .1em; }
.cy-prof .modal-tiers.list .pill { grid-template-columns: 34px 54px 1fr auto; grid-template-rows: auto; }
.cy-prof .modal-tiers.list .pill-key { grid-row: auto; padding: 6px 0; } .cy-prof .modal-tiers.list .pill-tier, .cy-prof .modal-tiers.list .cy-pn, .cy-prof .modal-tiers.list .cy-pp { grid-column: auto; padding: 6px 8px; }
.cy-acts { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.cy-acts .modal-copy, .cy-acts .modal-namemc { margin: 0; cursor: pointer; }
.cy-prof .modal-info > * { animation: cy-pin .45s cubic-bezier(.2, .9, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms + .12s); }
@keyframes cy-pin { from { opacity: 0; transform: translateX(16px); } }
.cy-prof .cy-hd { animation: cy-hdin .6s cubic-bezier(.2, .9, .2, 1) both .1s; }
@keyframes cy-hdin { from { opacity: 0; transform: translateY(24px) scale(.9); } }
@media (max-width: 760px) {
  .modal.cy-prof { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .cy-prof > .cy-hd, .cy-prof > .cy-prank { grid-column: 1; grid-row: 2; }
  .cy-prof > .cy-hd ~ .modal-info { grid-column: 1; grid-row: 3; padding: 6px 18px 20px; }
  .cy-prof .cy-hd { width: 150px; height: 190px; margin: 10px auto 0; } .cy-prank { font-size: 90px; margin-top: 8px; }
  .cy-prof::after { width: 100%; } .cy-prof .modal-tiers { grid-template-columns: repeat(2, 1fr); } .cy-prof .modal-name { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .cy-prof .modal-info > *, .cy-prof .cy-hd, .cy-hub-mode, .cy-hub-card, .cy-ribbon::after, .tw-crown::after { animation: none !important; } }
.cy-prof .modal-sync { top: auto !important; bottom: 12px !important; right: 14px !important; left: auto !important; }
.cy-prof .modal-status { align-self: flex-start; margin: 4px 0 6px; }
.cy-hub-mode { display: flex !important; flex-direction: column; align-items: flex-start; gap: 5px; padding: 16px 14px; }
.cy-hub-mode img { position: absolute; top: 12px; right: 12px; grid-row: auto; }
.cy-hm-b { max-width: 100%; }
/* v9b: tier cards must never be squeezed by the flex column */
.cy-prof .modal-info > * { flex-shrink: 0; }
.cy-prof .modal-tiers { flex: none; grid-auto-rows: min-content; max-height: min(300px, 38vh); overflow-y: auto; }
.cy-prof .modal-tiers .pill { min-height: 50px; align-content: center; }
.cy-prof .modal-tiers.list .pill { min-height: 34px; }
.cy-prof .modal-tiers .pill-tier { line-height: 1.1; }

/* v10: last-restricted case file */
.lr-card.cy-case { position: relative; overflow: hidden; padding: 0 0 18px !important; border: 1px solid rgba(255, 84, 104, .5) !important; border-radius: 6px !important; background: linear-gradient(180deg, rgba(40, 8, 16, .75), rgba(10, 6, 12, .9)) !important; box-shadow: 0 0 40px rgba(255, 60, 90, .12), inset 0 0 60px rgba(255, 60, 90, .05) !important; text-align: left; }
.cy-case::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 84, 104, .035) 14px 28px); }
.cy-case-top { position: relative; z-index: 2; display: flex; justify-content: space-between; padding: 10px 16px; font: 700 10px var(--cy-mono); letter-spacing: .22em; color: #ff8393; border-bottom: 1px dashed rgba(255, 84, 104, .35); background: rgba(0, 0, 0, .3); }
.cy-case-s { color: #ff5d6c; animation: cy-blink 1.4s steps(2) infinite; } @keyframes cy-blink { 50% { opacity: .35; } }
.cy-case-stamp { position: absolute; z-index: 0; left: 50%; top: 82px; translate: -50% 0; rotate: -12deg; font: 900 44px/1 'Inter', sans-serif; letter-spacing: .06em; color: transparent; -webkit-text-stroke: 2px rgba(255, 84, 104, .22); border: 3px solid rgba(255, 84, 104, .2); padding: 4px 14px; white-space: nowrap; pointer-events: none; animation: cy-stamp .6s cubic-bezier(.2, 1.4, .4, 1) .3s both; }
@keyframes cy-stamp { from { opacity: 0; scale: 2.2; } }
.cy-case .hm-frame { position: relative; z-index: 1; height: 270px !important; margin: 4px auto 0; background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255, 60, 90, .28), transparent 70%) !important; }
.cy-case .hm-frame::before { content: '' !important; position: absolute; inset: auto; left: 50%; top: 4%; width: 2px; height: 80%; translate: -50% 0; border: 0 !important; background: linear-gradient(180deg, transparent, rgba(255, 84, 104, .6), transparent); opacity: .5; animation: cy-scanh 3.2s ease-in-out infinite alternate; }
@keyframes cy-scanh { from { left: 28%; } to { left: 72%; } }
.cy-case .hm-skin, .cy-case .hm-3d { filter: drop-shadow(0 0 22px rgba(255, 70, 100, .35)) saturate(.85) brightness(.95); }
.cy-case .hm-pedestal { border-color: rgba(255, 84, 104, .8) !important; }
.cy-case .lr-name { position: relative; z-index: 2; text-align: center; margin: 4px 0 10px; font: 900 28px 'Inter', sans-serif; letter-spacing: -.01em; }
.cy-case-rows { position: relative; z-index: 2; margin: 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 84, 104, .25); border: 1px solid rgba(255, 84, 104, .25); border-radius: 4px; overflow: hidden; }
.cy-case-rows > div { padding: 9px 12px; background: rgba(12, 6, 12, .92); min-width: 0; }
.cy-case-rows > div:nth-child(2) { grid-column: 1 / -1; order: 5; }
.cy-case-rows dt { font: 600 8.5px var(--cy-mono); letter-spacing: .22em; color: #ff8393; opacity: .8; margin-bottom: 3px; }
.cy-case-rows dd { margin: 0; font-size: 13.5px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .cy-case-s, .cy-case-stamp, .cy-case .hm-frame::before { animation: none !important; } }
.cy-case-rows { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 420px) { .cy-case-rows { grid-template-columns: 1fr 1fr; } }

/* v10: swap performance */
.cy-st-pick, .cy-lab { backdrop-filter: none !important; background: rgba(6, 4, 12, .94); }
.cy-st-model { will-change: transform; contain: layout; }
.cy-st-left, .cy-st-right { contain: layout style; }

/* v11: site-wide performance - no live blur filters, no always-on full-screen overlay */
.topnav, .cy-stream, .cy-st-pick, .modal, .modal-overlay { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
body::after { display: none !important; }
.aurora i { filter: none !important; will-change: auto; animation: none !important; }
.aurora .a1 { background: radial-gradient(ellipse at center, rgba(109, 40, 217, .5), transparent 68%) !important; }
.aurora .a2 { background: radial-gradient(ellipse at center, rgba(139, 92, 246, .34), transparent 68%) !important; }
.aurora .a3 { background: radial-gradient(ellipse at center, rgba(76, 29, 149, .55), transparent 68%) !important; }
.cy-hub { backdrop-filter: none; background: rgba(2, 1, 6, .92); }

.cy-case .hm-frame .hm-3d { margin-bottom: -14px; }
.cy-case .hm-frame { height: 300px !important; }
.cy-case-stamp { top: 96px; }

/* v12: rank number tucked in the corner (it was fighting the model's head), tighter on short windows */
.cy-prank { align-self: start !important; justify-self: start !important; margin: 12px 0 0 18px !important; font-size: 64px !important; -webkit-text-stroke: 1.2px rgba(var(--rrgb, 180, 140, 255), .4) !important; z-index: 0 !important; }
.cy-prof > .cy-hd { margin-top: 26px; }
@media (max-height: 640px) {
  .modal.cy-prof { grid-template-columns: 230px 1fr; }
  .cy-prof .cy-hd { width: 150px; height: 190px; margin-top: 30px; }
  .cy-prank { font-size: 46px !important; }
  .cy-prof .modal-info { padding-top: 14px; }
  .cy-prof .modal-name { font-size: 28px; }
  .cy-prof::after { width: 230px; }
}

/* v13: custom profile options */
.cy-banner { grid-column: 1 / -1; position: relative; height: 92px; overflow: hidden; border-bottom: 1px solid rgba(var(--rrgb, 139, 92, 246), .5); background: #0b0814; --a: rgb(var(--rrgb, 167, 139, 250)); }
.cy-banner i { position: absolute; inset: 0; }
.cy-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 6, 14, .85)); }
.has-banner > .cy-hd, .has-banner > .cy-prank, .has-banner > .cy-hd ~ .modal-info { grid-row: 3; }
.has-banner .cy-prof-dummy { display: none; }
.bn-aurora i:nth-child(1) { background: radial-gradient(ellipse 60% 120% at 20% 100%, var(--a), transparent 70%), radial-gradient(ellipse 50% 100% at 80% 100%, rgba(80, 200, 255, .6), transparent 70%); animation: bn-drift 7s ease-in-out infinite alternate; filter: none; }
.bn-aurora i:nth-child(2) { background: radial-gradient(ellipse 40% 80% at 55% 110%, rgba(255, 120, 220, .5), transparent 70%); animation: bn-drift 9s ease-in-out infinite alternate-reverse; }
@keyframes bn-drift { to { transform: translateX(14%) scaleX(1.15); } }
.bn-grid i:nth-child(1) { background: linear-gradient(transparent 94%, var(--a) 94%) 0 0 / 100% 14px, linear-gradient(90deg, transparent 94%, var(--a) 94%) 0 0 / 28px 100%; opacity: .45; transform: perspective(220px) rotateX(55deg) scale(1.8) translateY(8%); animation: bn-grid 2.2s linear infinite; }
@keyframes bn-grid { to { background-position: 0 14px, 28px 0; } }
.bn-sunset i:nth-child(1) { background: linear-gradient(180deg, #2a0a4a, #b8286b 55%, #ff9a3c); } .bn-sunset i:nth-child(2) { background: repeating-linear-gradient(180deg, transparent 0 8px, rgba(8, 6, 14, .55) 8px 10px); top: 45%; animation: bn-drift 12s linear infinite alternate; }
.bn-waves i:nth-child(1) { background: repeating-radial-gradient(ellipse 120% 60% at 30% 140%, transparent 0 14px, rgba(var(--rrgb, 139, 92, 246), .5) 15px 17px); animation: bn-drift 8s ease-in-out infinite alternate; }
.bn-waves i:nth-child(2) { background: repeating-radial-gradient(ellipse 120% 60% at 75% 150%, transparent 0 18px, rgba(100, 200, 255, .35) 19px 21px); animation: bn-drift 11s ease-in-out infinite alternate-reverse; }
.bn-circuit i:nth-child(1) { background: linear-gradient(90deg, var(--a) 1px, transparent 1px) 0 0 / 38px 100%, linear-gradient(var(--a) 1px, transparent 1px) 0 0 / 100% 23px; opacity: .22; } .bn-circuit i:nth-child(2) { background: radial-gradient(circle at 20% 50%, var(--a) 0 3px, transparent 4px), radial-gradient(circle at 62% 30%, var(--a) 0 3px, transparent 4px), radial-gradient(circle at 85% 70%, var(--a) 0 3px, transparent 4px); animation: bn-blink 2.4s steps(2) infinite; }
@keyframes bn-blink { 50% { opacity: .35; } }
.bn-stars i:nth-child(1) { background: radial-gradient(1.5px 1.5px at 12% 30%, #fff, transparent), radial-gradient(1px 1px at 40% 70%, #fff, transparent), radial-gradient(2px 2px at 66% 25%, var(--a), transparent), radial-gradient(1px 1px at 85% 60%, #fff, transparent), radial-gradient(1.5px 1.5px at 30% 85%, #fff, transparent); animation: bn-tw 3s ease-in-out infinite alternate; } .bn-stars i:nth-child(2) { background: radial-gradient(ellipse at 50% 120%, rgba(var(--rrgb, 139, 92, 246), .45), transparent 65%); }
@keyframes bn-tw { to { opacity: .45; } }
.bn-flames i:nth-child(1) { background: radial-gradient(ellipse 30% 90% at 15% 110%, #ff6a1a, transparent 70%), radial-gradient(ellipse 28% 80% at 45% 115%, #ffb02e, transparent 70%), radial-gradient(ellipse 30% 95% at 75% 110%, #ff3d1a, transparent 70%); animation: bn-flick .9s ease-in-out infinite alternate; transform-origin: bottom; }
.bn-flames i:nth-child(2) { background: linear-gradient(180deg, transparent, rgba(255, 90, 20, .25)); }
@keyframes bn-flick { to { transform: scaleY(1.18) skewX(3deg); opacity: .85; } }
.bn-glitch i:nth-child(1) { background: repeating-linear-gradient(90deg, rgba(var(--rrgb, 139, 92, 246), .55) 0 12px, transparent 12px 30px, rgba(80, 220, 255, .4) 30px 36px, transparent 36px 70px); animation: bn-gl 1.6s steps(6) infinite; }
.bn-glitch i:nth-child(2) { background: repeating-linear-gradient(180deg, transparent 0 5px, rgba(0, 0, 0, .35) 5px 6px); }
@keyframes bn-gl { 0% { clip-path: inset(10% 0 60% 0); transform: translateX(-6px); } 33% { clip-path: inset(55% 0 12% 0); transform: translateX(8px); } 66% { clip-path: inset(30% 0 35% 0); transform: translateX(-3px); } 100% { clip-path: inset(0); transform: none; } }
.bn-petals i:nth-child(1) { background: radial-gradient(ellipse 5px 8px at 14% 25%, #ffc2de, transparent), radial-gradient(ellipse 4px 7px at 38% 62%, #ff9fc8, transparent), radial-gradient(ellipse 5px 8px at 61% 30%, #ffd0e8, transparent), radial-gradient(ellipse 4px 7px at 82% 70%, #ffb0d4, transparent), linear-gradient(120deg, #3a1230, #8b2a62); animation: bn-petal 6s linear infinite; background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%; }
@keyframes bn-petal { to { background-position: 0 40px, 0 50px, 0 36px, 0 46px, 0 0; } }
.bn-petals i:nth-child(2) { background: radial-gradient(ellipse at 30% 120%, rgba(255, 143, 207, .45), transparent 65%); }
.bn-mesh i:nth-child(1) { background: radial-gradient(circle at 15% 20%, var(--a), transparent 45%), radial-gradient(circle at 80% 30%, rgba(80, 200, 255, .7), transparent 45%), radial-gradient(circle at 55% 100%, rgba(255, 90, 170, .6), transparent 50%); animation: bn-drift 10s ease-in-out infinite alternate; }
.bn-matrix i:nth-child(1) { background: repeating-linear-gradient(90deg, rgba(60, 255, 140, .5) 0 2px, transparent 2px 14px); mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); animation: bn-rain 1.6s linear infinite; background-size: 100% 200%; }
@keyframes bn-rain { to { background-position: 0 100%; } }
.cy-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.cy-badge { --bc: #fff; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 6px; border: 1px solid color-mix(in srgb, var(--bc) 60%, transparent); border-radius: 3px; background: color-mix(in srgb, var(--bc) 14%, transparent); font: 700 9.5px var(--cy-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bc); animation: cy-pin .4s ease both; animation-delay: calc(var(--i, 0) * 70ms + .4s); }
.cy-badge b { font-size: 12px; line-height: 1; filter: drop-shadow(0 0 4px var(--bc)); }
.cy-ptitle { margin: 6px 0 0; font: 800 11px var(--cy-mono); letter-spacing: .24em; text-transform: uppercase; color: rgb(var(--rrgb, 180, 140, 255)); }
.cy-ptitle::before { content: '// '; opacity: .6; }
.acct-bdg { width: auto !important; height: auto !important; border-radius: 4px !important; padding: 5px 10px !important; background: #1a1326; border: 1px solid rgba(255, 255, 255, .2) !important; font-size: 11px !important; }
.acct-bdg.on { background: #6d3df0; border-color: #fff !important; }

/* layouts */
.modal.cy-prof.lay-compact { grid-template-columns: 1fr; width: min(560px, calc(100vw - 32px)); }
.lay-compact > .cy-hd, .lay-compact > .cy-prank, .lay-compact > .cy-hd ~ .modal-info { grid-column: 1; }
.lay-compact > .cy-hd { grid-row: 2; width: 110px !important; height: 140px !important; justify-self: start; margin: 14px 0 0 22px; }
.lay-compact > .cy-prank { grid-row: 2; justify-self: end !important; margin: 10px 22px 0 0 !important; font-size: 54px !important; }
.lay-compact > .cy-hd ~ .modal-info { grid-row: 3; padding: 6px 22px 20px; }
.lay-compact .modal-tiers { grid-template-columns: repeat(2, 1fr) !important; }
.lay-compact::after { display: none; }
.modal.cy-prof.lay-showcase { grid-template-columns: 1fr; width: min(720px, calc(100vw - 32px)); }
.lay-showcase > .cy-hd, .lay-showcase > .cy-prank, .lay-showcase > .cy-hd ~ .modal-info { grid-column: 1; }
.lay-showcase > .cy-hd { grid-row: 2; width: 250px !important; height: 330px !important; margin-top: 18px; }
.lay-showcase > .cy-prank { grid-row: 2; justify-self: center !important; align-self: center; margin: 0 !important; font-size: 200px !important; opacity: .5; }
.lay-showcase > .cy-hd ~ .modal-info { grid-row: 3; align-items: center; text-align: center; padding: 0 28px 24px; }
.lay-showcase .modal-name-line, .lay-showcase .cy-badges { justify-content: center; }
.lay-showcase .modal-tiers { grid-template-columns: repeat(4, 1fr) !important; } .lay-showcase::after { width: 100%; }
.lay-showcase.has-banner > .cy-hd { margin-top: -60px; }
@media (max-width: 760px) { .modal.cy-prof.lay-compact, .modal.cy-prof.lay-showcase { width: calc(100vw - 20px); } .lay-showcase .modal-tiers { grid-template-columns: repeat(2, 1fr) !important; } .lay-showcase > .cy-prank { font-size: 110px !important; } }

/* opening effects (default = rise, handled above) */
.in-none .modal-info > *, .in-none .cy-hd { animation: none !important; }
.cy-prof.in-flash { animation: in-flash .7s ease-out both; } @keyframes in-flash { 0% { filter: brightness(4) saturate(0); } 100% { filter: none; } }
.cy-prof.in-scan { animation: in-scan .8s cubic-bezier(.6, 0, .2, 1) both; } @keyframes in-scan { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.cy-prof.in-glitch { animation: in-glitch .7s steps(1) both; }
@keyframes in-glitch { 0% { transform: translateX(-10px) skewX(6deg); clip-path: inset(30% 0 40% 0); } 15% { transform: translateX(12px); clip-path: inset(0 0 55% 0); } 30% { transform: translateX(-6px) skewX(-4deg); clip-path: inset(45% 0 0 0); } 50% { transform: translateX(5px); clip-path: inset(10% 0 10% 0); filter: hue-rotate(60deg); } 75% { transform: none; clip-path: inset(0); filter: hue-rotate(-40deg); } 100% { transform: none; clip-path: inset(0); filter: none; } }
@media (prefers-reduced-motion: reduce) { .cy-prof[class*='in-'], .cy-banner i, .cy-badge { animation: none !important; } }
.modal.cy-prof.has-banner { grid-template-rows: auto auto 1fr; }
.modal.cy-prof.has-banner > .cy-banner { grid-row: 2; }
.modal.cy-prof.has-banner > .cy-hd, .modal.cy-prof.has-banner > .cy-prank, .modal.cy-prof.has-banner > .cy-hd ~ .modal-info { grid-row: 3; }
.modal.cy-prof.has-banner.lay-compact, .modal.cy-prof.has-banner.lay-showcase { grid-template-rows: auto auto auto auto; }
.modal.cy-prof.has-banner.lay-compact > .cy-hd, .modal.cy-prof.has-banner.lay-compact > .cy-prank, .modal.cy-prof.has-banner.lay-showcase > .cy-hd, .modal.cy-prof.has-banner.lay-showcase > .cy-prank { grid-row: 3; }
.modal.cy-prof.has-banner.lay-compact > .cy-hd ~ .modal-info, .modal.cy-prof.has-banner.lay-showcase > .cy-hd ~ .modal-info { grid-row: 4; }

.modal-overlay:has(.cy-prof) { padding: 70px 14px 16px; box-sizing: border-box; }
.modal.cy-prof { max-height: calc(100vh - 92px) !important; }
.cy-banner { background: linear-gradient(90deg, rgba(var(--rrgb, 139, 92, 246), .28), rgba(80, 200, 255, .16)); }
.cy-prof .role-banner.cy-rb { position: static !important; transform: none !important; margin: 0 0 8px; align-self: flex-start; width: auto; }
.lay-showcase .modal-status { align-self: center; }
.lay-showcase .cy-rb, .lay-showcase .cy-ribbon { align-self: center !important; }

/* v14: decorated heads (bunny ears, avatar frames): size the picture inside the wrapper so the ears sit exactly on the head */
.modal.cy-prof > .cy-hd.bun-wrap, .modal.cy-prof > .cy-hd.head-frame, .modal.cy-prof > .cy-hd.rx-wrap { --hs: 190px; width: max-content !important; height: auto !important; margin: calc(var(--hs) * .38) auto 0 !important; display: block; }
.modal.cy-prof > .cy-hd.head-frame { display: flex; margin-top: 24px !important; }
.cy-prof .cy-hd.bun-wrap > .modal-head, .cy-prof .cy-hd.head-frame > .modal-head, .cy-prof .cy-hd.rx-wrap > .modal-head { width: var(--hs); height: var(--hs); margin: 0; display: block; }
.cy-prof .bun-wrap .bun-ears { width: calc(var(--hs) * .88); top: calc(var(--hs) * -.41); }
.modal.cy-prof.lay-compact > .cy-hd.bun-wrap, .modal.cy-prof.lay-compact > .cy-hd.head-frame { --hs: 112px; margin-left: 40px !important; margin-right: auto !important; }
.modal.cy-prof.lay-showcase > .cy-hd.bun-wrap, .modal.cy-prof.lay-showcase > .cy-hd.head-frame { --hs: 240px; }
@media (max-height: 640px) { .modal.cy-prof > .cy-hd.bun-wrap, .modal.cy-prof > .cy-hd.head-frame { --hs: 140px; } }
@media (max-width: 760px) { .modal.cy-prof > .cy-hd.bun-wrap, .modal.cy-prof > .cy-hd.head-frame { --hs: 140px; } }

/* v14: owner-made banners */
.bn-custom i:nth-child(1) { background: linear-gradient(110deg, var(--c1, #6d28d9), var(--c2, #0ea5e9)); }
.bn-custom[style*='--img'] i:nth-child(1) { background: var(--img) center / cover no-repeat, linear-gradient(110deg, var(--c1), var(--c2)); }
.bn-custom i:nth-child(2) { background: radial-gradient(ellipse at 30% 120%, var(--c2, #0ea5e9), transparent 65%); opacity: .5; }
.ba-drift i:nth-child(1) { animation: bn-pan 9s ease-in-out infinite alternate; transform-origin: center; scale: 1.2; }
@keyframes bn-pan { to { transform: translateX(-6%); } }
.ba-pulse i:nth-child(2) { animation: bn-pulse 2.6s ease-in-out infinite; }
@keyframes bn-pulse { 50% { opacity: .15; } }
.ba-shine i:nth-child(2) { background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); opacity: 1; animation: bn-shine 3.6s ease-in-out infinite; }
@keyframes bn-shine { from { transform: translateX(-80%); } to { transform: translateX(80%); } }
.cust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cust-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 6px; margin: 4px 0; }
.cust-item .cy-banner { flex: 1; height: 34px; border: 0; border-radius: 4px; } .cust-item .cy-banner::after { display: none; }
@media (prefers-reduced-motion: reduce) { .ba-drift i, .ba-pulse i, .ba-shine i { animation: none !important; } }

/* v15: stat tile styles, model aura, floating particles */
.ti-glass .mstat, .ti-glass [class*='stat-tile'] { background: rgba(255,255,255,.06) !important; backdrop-filter: none; border-color: rgba(255,255,255,.22) !important; }
.ti-outline .mstat, .ti-outline [class*='stat-tile'] { background: transparent !important; border: 1px solid rgba(var(--rrgb, 167,139,250), .7) !important; }
.ti-neon .mstat, .ti-neon [class*='stat-tile'] { border-color: rgb(var(--rrgb, 167,139,250)) !important; box-shadow: 0 0 14px rgba(var(--rrgb, 167,139,250), .5), inset 0 0 12px rgba(var(--rrgb, 167,139,250), .2) !important; }
.ti-solid .mstat, .ti-solid [class*='stat-tile'] { background: rgba(var(--rrgb, 167,139,250), .22) !important; }
.ti-hidden .mstat, .ti-hidden [class*='stat-tile'] { display: none !important; }
.au-halo > .cy-hd { filter: drop-shadow(0 0 22px rgb(var(--rrgb, 167,139,250))) drop-shadow(0 0 48px rgba(var(--rrgb, 167,139,250), .7)); }
.au-pulse > .cy-hd { animation: au-pulse 2.4s ease-in-out infinite; }
@keyframes au-pulse { 50% { filter: drop-shadow(0 0 34px rgba(var(--rrgb, 167,139,250), .95)); } 0%, 100% { filter: drop-shadow(0 0 8px rgba(var(--rrgb, 167,139,250), .4)); } }
.au-spotlight > .cy-hd { background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(var(--rrgb, 167,139,250), .38), transparent 70%); }
.au-ring > .cy-hd { border-radius: 50%; box-shadow: 0 0 0 2px rgba(var(--rrgb, 167,139,250), .6), 0 0 30px rgba(var(--rrgb, 167,139,250), .4); }
.au-rays > .cy-hd { background: repeating-conic-gradient(from 0deg at 50% 60%, rgba(var(--rrgb, 167,139,250), .22) 0 6deg, transparent 6deg 18deg); -webkit-mask: radial-gradient(circle at 50% 60%, #000 20%, transparent 72%); mask: radial-gradient(circle at 50% 60%, #000 20%, transparent 72%); }
.cy-amb { position: absolute; z-index: 0 !important; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; border-radius: inherit; }
.cy-amb span { position: absolute; left: var(--x); top: -12px; width: calc(5px * var(--s)); height: calc(5px * var(--s)); border-radius: 50%; background: rgba(var(--rrgb, 167,139,250), .8); font-size: calc(14px * var(--s)); line-height: 1; color: rgba(var(--rrgb, 167,139,250), .85); opacity: 0; animation: amb-fall var(--d) linear var(--w) infinite; }
.cy-amb span:not(:empty) { background: none; width: auto; height: auto; }
.am-snow span { background: #fff; box-shadow: 0 0 6px #fff; }
.am-embers span, .am-sparks span { top: auto; bottom: -12px; background: #ffa24a; box-shadow: 0 0 8px #ff7a1a; animation-name: amb-rise; }
.am-sparks span { background: #ffe27a; width: 3px; height: 3px; }
.am-bubbles span { top: auto; bottom: -14px; background: transparent; border: 1.5px solid rgba(160, 220, 255, .75); width: calc(11px * var(--s)); height: calc(11px * var(--s)); animation-name: amb-rise; }
.am-hearts span, .am-stars span { animation-name: amb-rise; top: auto; bottom: -16px; }
.am-leaves span { animation-name: amb-fall; color: #7bd88f; }
@keyframes amb-fall { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(24px, 105vh) rotate(200deg); opacity: 0; } }
@keyframes amb-rise { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .9; } 100% { transform: translate(-18px, -105vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cy-amb span, .au-pulse > .cy-hd { animation: none !important; } }

#cy-ann { position: fixed; top: 0; left: 0; right: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 40px; font: 600 12px/1.3 var(--mono, monospace); letter-spacing: .08em; color: #fff; background: linear-gradient(90deg, color-mix(in srgb, var(--ac) 70%, #000), color-mix(in srgb, var(--ac) 35%, #000)); border-bottom: 1px solid var(--ac); box-shadow: 0 2px 16px color-mix(in srgb, var(--ac) 50%, transparent); }
#cy-ann button { position: absolute; right: 10px; background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; opacity: .8; }
body:has(#cy-ann) { padding-top: 30px; }

/* v16: shaped panels clip their edges, so keep the dossier content inside a safe inset (header strip, rank number, close button, footer) */
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round) { padding: 26px 30px 34px !important; box-sizing: border-box; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round) > .cy-prank { margin-left: 6px; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round) > .modal-close { top: 34px !important; right: 40px !important; }
.modal.cy-prof.shape-hexagon, .modal.cy-prof.shape-arrow, .modal.cy-prof.shape-pixel { padding-left: 44px !important; padding-right: 44px !important; }
.modal.cy-prof.shape-shatter, .modal.cy-prof.shape-torn, .modal.cy-prof.shape-zigzag, .modal.cy-prof.shape-scallop, .modal.cy-prof.shape-stamp, .modal.cy-prof.shape-battlement { padding: 38px 42px 46px !important; }
/* jagged / edge-cut shapes: pull the header strip, banner and rank number inside the cut edges */
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round) > .cy-ph { padding-left: 38px; padding-right: 54px; margin-top: 10px; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round) > .cy-banner { margin: 0 24px; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round) > .cy-prank { margin-left: 34px; margin-top: 14px; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-shatter > .cy-ph, .modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-torn > .cy-ph { padding-left: 56px; padding-right: 64px; margin-top: 18px; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-shatter > .cy-prank, .modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-torn > .cy-prank { margin-left: 52px; margin-top: 24px; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-shatter > .cy-banner, .modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-torn > .cy-banner { margin: 0 44px; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-shatter > .cy-ph, .modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-torn > .cy-ph { padding-left: 92px; padding-right: 92px; margin-top: 34px; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-shatter > .cy-prank, .modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-torn > .cy-prank { margin-left: 92px; margin-top: 30px; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-shatter > .cy-banner, .modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-torn > .cy-banner { margin: 0 60px; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round) > .cy-prank { margin: 22px 0 0 64px !important; }
.modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-shatter > .cy-prank, .modal.cy-prof[class*="shape-"]:not(.shape-rect):not(.shape-round).shape-torn > .cy-prank { margin: 30px 0 0 110px !important; }

/* v17: overall looks. Applied as .lk-<name> on the profile card (and the editor preview) */
.modal[class*="lk-"] { --lk: var(--rrgb, 167, 139, 250); }
.modal.lk-frost { background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04)) !important; backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255,255,255,.4) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 20px 60px rgba(0,0,0,.5) !important; }
.modal.lk-holo { background: linear-gradient(125deg, #1b0f3a, #0b2f45 30%, #3a1246 55%, #0b3a30 80%, #1b0f3a) 0 0 / 300% 300% !important; animation: lk-slide 9s linear infinite; border: 1px solid rgba(255,255,255,.5) !important; }
.modal.lk-holo::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 6; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.14) 45%, rgba(120,255,240,.14) 52%, rgba(255,130,255,.14) 58%, transparent 70%) 0 0 / 250% 100%; animation: lk-sheen 5s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes lk-slide { to { background-position: 300% 300%; } } @keyframes lk-sheen { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.modal.lk-metal { background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, rgba(0,0,0,.08) 1px 3px), linear-gradient(160deg, #3b3f47, #1d2026 45%, #2f343c 70%, #15181d) !important; border: 2px solid #8b929e !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 18px 50px rgba(0,0,0,.6) !important; }
.modal.lk-blueprint { background: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px) 0 0 / 24px 24px, #0b2a5b !important; border: 2px dashed rgba(255,255,255,.7) !important; }
.modal.lk-crt { background: radial-gradient(ellipse at center, #0a1f12, #030a06 80%) !important; border: 2px solid #3cff8a !important; box-shadow: 0 0 30px rgba(60,255,138,.35), inset 0 0 40px rgba(60,255,138,.12) !important; text-shadow: 0 0 6px rgba(60,255,138,.55); }
.modal.lk-crt::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 6; border-radius: inherit; background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px); animation: lk-flick 4s steps(2) infinite; }
@keyframes lk-flick { 0%, 96% { opacity: 1; } 97% { opacity: .75; } 100% { opacity: 1; } }
.modal.lk-vapor { background: linear-gradient(180deg, #2a0f4a 0%, #6a1b7a 45%, #ff5fa8 78%, #ffb86b 100%) !important; border: 2px solid #ff71ce !important; box-shadow: 0 0 34px rgba(255,113,206,.45), 0 0 80px rgba(1,205,254,.2) !important; }
.modal.lk-parchment { background: radial-gradient(ellipse at 30% 20%, #4a3a24, #2a2013 75%) !important; border: 3px double #c9a45c !important; box-shadow: inset 0 0 60px rgba(0,0,0,.5), 0 14px 40px rgba(0,0,0,.6) !important; font-family: Georgia, 'Times New Roman', serif; }
.modal.lk-neonsign { background: #07040f !important; border: 3px solid rgb(var(--lk)) !important; box-shadow: 0 0 8px rgb(var(--lk)), 0 0 26px rgba(var(--lk), .8), 0 0 70px rgba(var(--lk), .4), inset 0 0 22px rgba(var(--lk), .35) !important; animation: lk-neon 3.8s infinite; }
@keyframes lk-neon { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: .82; } }
.modal.lk-carbon { background: linear-gradient(135deg, #111 25%, transparent 25%) -6px 0 / 12px 12px, linear-gradient(225deg, #111 25%, transparent 25%) -6px 0 / 12px 12px, linear-gradient(315deg, #111 25%, transparent 25%) 0 0 / 12px 12px, linear-gradient(45deg, #111 25%, #1c1c1f 25%) 0 0 / 12px 12px !important; border: 1px solid rgba(var(--lk), .7) !important; box-shadow: 0 0 24px rgba(var(--lk), .3) !important; }
.modal.lk-auroraglass { background: radial-gradient(ellipse 70% 50% at 20% 10%, rgba(60,255,190,.35), transparent 60%), radial-gradient(ellipse 60% 50% at 85% 25%, rgba(150,90,255,.4), transparent 60%), radial-gradient(ellipse 80% 60% at 50% 100%, rgba(40,150,255,.3), transparent 60%), #0a0c1c !important; background-size: 140% 140% !important; animation: lk-aur 12s ease-in-out infinite alternate; border: 1px solid rgba(180,255,240,.45) !important; }
@keyframes lk-aur { to { background-position: 40% 30%; } }
.modal.lk-terminal { background: #000 !important; border: 1px solid #27d17a !important; font-family: 'JetBrains Mono', ui-monospace, monospace; color: #8bff9d; box-shadow: 0 0 0 3px #000, 0 0 0 4px rgba(39,209,122,.5) !important; }
.modal.lk-royal { background: radial-gradient(ellipse at 50% 0%, #3a2a0a, #120a24 60%, #0a0614) !important; border: 2px solid transparent !important; background-clip: padding-box; box-shadow: 0 0 0 2px #e8c35a, 0 0 0 5px rgba(232,195,90,.25), 0 0 50px rgba(232,195,90,.25) !important; }
.modal.lk-glitchy { background: #0a0612 !important; border: 1px solid rgb(var(--lk)) !important; box-shadow: 3px 0 rgba(255,0,80,.55), -3px 0 rgba(0,220,255,.55) !important; animation: lk-gl 3.2s infinite; }
@keyframes lk-gl { 0%, 90%, 100% { transform: none; } 92% { transform: translate(-3px, 1px); } 94% { transform: translate(3px, -1px); } 96% { transform: translate(-1px, 0); } }
.modal.lk-ember { background: radial-gradient(ellipse 90% 40% at 50% 110%, rgba(255,110,20,.55), transparent 70%), linear-gradient(180deg, #1a0a06, #2a0f08) !important; border: 2px solid #ff7a2a !important; box-shadow: 0 0 36px rgba(255,100,20,.4) !important; animation: lk-emb 2.2s ease-in-out infinite alternate; }
@keyframes lk-emb { to { box-shadow: 0 0 56px rgba(255,130,30,.6); } }
.modal.lk-ice { background: linear-gradient(160deg, rgba(190,235,255,.22), rgba(60,120,190,.18) 50%, rgba(20,40,80,.55)), #081423 !important; border: 2px solid #bfeaff !important; box-shadow: inset 0 0 40px rgba(180,230,255,.25), 0 0 34px rgba(150,215,255,.35) !important; }
@media (prefers-reduced-motion: reduce) { .modal[class*="lk-"], .modal[class*="lk-"]::after { animation: none !important; } }

/* v19: passive panel motion */
@property --ma { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.cy-mo { position: absolute; inset: 0; pointer-events: none; z-index: 7; border-radius: inherit; overflow: hidden; }
.mo-chase, .mo-spin { padding: 2px; background: conic-gradient(from var(--ma), transparent 0 70%, rgba(var(--rrgb, 167,139,250), .15) 80%, rgb(var(--rrgb, 167,139,250)) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: mo-ang 3.4s linear infinite; filter: drop-shadow(0 0 6px rgb(var(--rrgb, 167,139,250))); overflow: visible; }
.mo-spin { padding: 3px; background: conic-gradient(from var(--ma), #ff4d6d, #ffd24d, #4dff9a, #4dd2ff, #b04dff, #ff4d6d); animation-duration: 5s; }
@keyframes mo-ang { to { --ma: 360deg; } }
.mo-marching { inset: 8px; background: repeating-linear-gradient(90deg, rgb(var(--rrgb, 167,139,250)) 0 10px, transparent 10px 20px) 0 0 / 100% 2px no-repeat, repeating-linear-gradient(90deg, rgb(var(--rrgb, 167,139,250)) 0 10px, transparent 10px 20px) 0 100% / 100% 2px no-repeat, repeating-linear-gradient(0deg, rgb(var(--rrgb, 167,139,250)) 0 10px, transparent 10px 20px) 0 0 / 2px 100% no-repeat, repeating-linear-gradient(0deg, rgb(var(--rrgb, 167,139,250)) 0 10px, transparent 10px 20px) 100% 0 / 2px 100% no-repeat; opacity: .75; animation: mo-march 1.4s linear infinite; }
@keyframes mo-march { to { background-position: 40px 0, -40px 100%, 0 -40px, 100% 40px; } }
.mo-scanbeam { background: linear-gradient(180deg, transparent, rgba(var(--rrgb, 167,139,250), .38) 50%, transparent) 0 -120px / 100% 120px no-repeat; animation: mo-scan 3.6s ease-in-out infinite; border-bottom: 0; }
.mo-scanbeam::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; top: 0; background: rgba(var(--rrgb, 167,139,250), .8); box-shadow: 0 0 12px rgb(var(--rrgb, 167,139,250)); animation: mo-scanl 3.6s ease-in-out infinite; }
@keyframes mo-scan { to { background-position: 0 calc(100% + 120px); } }
@keyframes mo-scanl { from { top: -2px; } to { top: calc(100% + 2px); } }
.mo-ripple span { position: absolute; left: 50%; top: 45%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 2px solid rgba(var(--rrgb, 167,139,250), .7); opacity: 0; animation: mo-rip 4.8s ease-out infinite; }
@keyframes mo-rip { 0% { transform: scale(.2); opacity: .8; } 100% { transform: scale(14); opacity: 0; } }
.mo-shards span { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); background: linear-gradient(135deg, rgba(var(--rrgb, 167,139,250), .8), rgba(255,255,255,.3)); clip-path: var(--clip); transform: rotate(var(--r)); animation: mo-drift var(--d) ease-in-out infinite alternate; filter: drop-shadow(0 0 4px rgba(var(--rrgb, 167,139,250), .6)); }
@keyframes mo-drift { to { transform: translate(var(--dx), var(--dy)) rotate(calc(var(--r) + 70deg)); } }
.mo-glitchslice span { position: absolute; left: 0; right: 0; background: linear-gradient(90deg, rgba(255,0,80,.28), rgba(0,220,255,.28)); mix-blend-mode: screen; opacity: 0; animation: mo-gls 3.2s steps(1) infinite; }
@keyframes mo-gls { 0%, 84% { opacity: 0; transform: none; } 86% { opacity: 1; transform: translateX(-14px); } 90% { opacity: 1; transform: translateX(18px); } 94% { opacity: 1; transform: translateX(-6px); } 96%, 100% { opacity: 0; } }
