/* Garticverse. Brand: mint G on plum, lavender fold. */
:root {
  --bg: #0d051f;
  --plum: #230f46;
  --plum-2: #2c1558;
  --indigo: #3a2c86;
  --lav: #d6c3fa;
  --lilac: #e7d0ff;
  --paper: #fbf6ff;
  --mint: #74f8d0;
  --mint-2: #00e3a8;
  --ink: #201255;
  --ink-soft: #5d4f91;
  --text: #f5efff;
  --muted: #ad9fd0;
  --line: rgba(214, 195, 250, 0.16);
  --live: #ff4d6d;
  --twitch: #9146ff;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
/* what is hidden stays hidden, whatever its own display is */
[hidden] { display: none !important; }
/* the first Tab: past the menus */
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: var(--mint); color: #10062a; font-weight: 700; font-size: 15px; transition: top 0.15s; }
.skip:focus { top: 14px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1320px, 100% - 48px); margin-inline: auto; }
.i { width: 18px; height: 18px; flex: none; }

/* state switches (driven by body classes) */
body:not(.is-live) .show-live { display: none !important; }
body.is-live .hide-live { display: none !important; }
body:not(.is-in) .show-in { display: none !important; }
body.is-in .show-out { display: none !important; }
body:not(.is-own) .show-own { display: none !important; }

h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(44px, 5.2vw, 76px); line-height: 0.92; }
.eyebrow {
  font: 700 11.5px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 16px;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-mint { background: var(--mint); color: #10062a; box-shadow: 0 8px 28px rgba(116, 248, 208, 0.25); }
.btn-mint:hover { background: #9dfbe0; box-shadow: 0 12px 34px rgba(116, 248, 208, 0.38); }
.btn-ghost { border: 1.5px solid rgba(214, 195, 250, 0.32); color: var(--text); }
.btn-ghost:hover { border-color: var(--lav); background: rgba(214, 195, 250, 0.08); }
.btn-twitch { background: var(--twitch); color: #fff; height: 44px; padding: 0 18px; font-size: 14px; }
.btn-twitch:hover { background: #a364ff; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--mint-2); }
.btn-ink:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--mint-2); }
.btn-red { background: var(--live); color: #fff; box-shadow: 0 8px 28px rgba(255, 77, 109, 0.3); }
.btn-red:hover { background: #ff6c86; }

/* avatar: corner logo or initials in the corner's colour */
.av {
  --s: 40px;
  width: var(--s); height: var(--s); flex: none;
  display: grid; place-items: center; overflow: hidden;
  border-radius: 50%;
  background: color-mix(in oklab, var(--c, var(--lav)) 34%, #160a30);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--c, var(--lav)) 72%, white);
}
.av img { width: 100%; height: 100%; object-fit: cover; }
.av b { font: 400 calc(var(--s) * 0.44) / 1 var(--display); color: #fff; letter-spacing: 0.02em; }

/* ═══ HEADER ═══ */
.top { position: relative; z-index: 30; }
.top-in { display: flex; align-items: center; gap: 36px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 9px; }
.brand span { font: 400 24px/1 var(--display); color: #fff; letter-spacing: 0.02em; padding-top: 2px; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: #d9cdf3; transition: background 0.15s, color 0.15s; }
.nav a:hover { background: rgba(214, 195, 250, 0.1); color: #fff; }
.nav .nav-fc { color: #ff8da1; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.top-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; font-size: 15px; color: #d9cdf3; }
.top-link:hover { color: #fff; }
.top-link .i { width: 15px; height: 15px; opacity: 0.6; }
.pill-sched { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px; border: 1.5px solid rgba(116, 248, 208, 0.4); background: rgba(116, 248, 208, 0.08); color: var(--mint); font-weight: 600; font-size: 14px; }
.pill-sched i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.top-admin { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--c, var(--mint)) 45%, transparent); color: var(--c, var(--mint)); font-weight: 600; font-size: 14px; }
.top-admin:hover { background: color-mix(in oklab, var(--c, var(--mint)) 12%, transparent); }
.top-admin .i { width: 15px; height: 15px; }
@media (max-width: 820px) { .top-admin { width: 38px; padding: 0; justify-content: center; font-size: 0; gap: 0; } }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); color: var(--lav); }
.icon-btn:hover { border-color: var(--lav); }
.icon-btn b { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--live); color: #fff; font: 700 10.5px/18px var(--mono); }
.me-chip { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 12px 0 5px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; }
.me-chip:hover { border-color: var(--lav); }
.me-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.me-chip .i { width: 15px; height: 15px; opacity: 0.6; }

/* ═══ HERO ═══ */
.hero { position: relative; z-index: 3; margin-top: -80px; padding: 80px 0 0; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow-a { width: 620px; height: 620px; left: -220px; top: 180px; background: rgba(116, 248, 208, 0.13); }
.glow-b { width: 820px; height: 820px; right: -160px; top: -260px; background: rgba(140, 82, 255, 0.34); }
.hero-in { position: relative; display: flex; align-items: center; justify-content: center; min-height: 760px; padding: 50px 0 64px; pointer-events: none; }
.hero-copy { width: min(640px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: auto; }
.hero .eyebrow { display: flex; align-items: center; margin-bottom: 26px; }
.hero .eyebrow .show-live { display: inline-flex; align-items: center; gap: 11px; color: #ff9aac; }
.ping { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--live); }
.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live); animation: ping 1.6s ease-out infinite; }
@keyframes ping { to { transform: scale(3.4); opacity: 0; } }

h1 { font-size: clamp(64px, 8vw, 122px); line-height: 0.86; color: #fff; }
h1 span { display: block; }
h1 em { position: relative; font-style: normal; color: var(--mint); display: inline-block; }
h1 em svg { position: absolute; left: -2%; bottom: -0.1em; width: 104%; height: 0.2em; overflow: visible; }
h1 em path { fill: none; stroke: var(--mint); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: scribble 1s 0.5s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
@keyframes scribble { to { stroke-dashoffset: 0; } }
.lede { margin-top: 30px; max-width: 540px; font-size: 19px; line-height: 1.55; color: #d6cbee; }
.lede b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

/* signed in: a line about your own drawings */
.hero-me { display: flex; align-items: center; gap: 13px; width: 100%; max-width: 640px; text-align: left; margin-top: 30px; padding: 10px 16px 10px 10px; border-radius: 18px; border: 1.5px solid rgba(116, 248, 208, 0.45); background: rgba(116, 248, 208, 0.08); font-size: 15px; line-height: 1.4; color: #d6cbee; transition: background 0.18s, border-color 0.18s; }
.hero-me:hover { background: rgba(116, 248, 208, 0.15); border-color: var(--mint); }
.hero-me img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--mint); }
.hero-me b { color: #fff; font-weight: 600; }
.hero-me .i { margin-left: auto; color: var(--mint); }
body.is-in .finder { margin-top: 22px; }
/* finder */
.finder { position: relative; margin-top: 32px; width: 100%; max-width: 640px; text-align: left; }
.finder label { text-align: center; }
.finder-try { justify-content: center; }
.finder label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 15px; color: #fff; }
.finder-box { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 16px 0 20px; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 0 rgba(116, 248, 208, 0), 0 18px 50px rgba(8, 2, 24, 0.5); transition: box-shadow 0.2s; }
.finder-box:focus-within { box-shadow: 0 0 0 4px rgba(116, 248, 208, 0.75), 0 18px 50px rgba(8, 2, 24, 0.5); }
.finder-box .i { width: 22px; height: 22px; color: var(--ink-soft); }
.finder-box .i-tw { color: var(--twitch); }
.finder-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 500 17px var(--body); color: var(--ink); }
.finder-box input::placeholder { color: #8c80b6; }
.finder-box kbd { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid #cfc1ee; font: 700 13px var(--mono); color: var(--ink-soft); }
.finder-list { position: absolute; left: 0; right: 0; top: calc(100% - 44px); z-index: 20; padding: 8px; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 70px rgba(8, 2, 24, 0.7); }
/* results: corners and artists, two side by side; hovered or picked, a result fills with
   its colour (corners mint, artists their rank's colour, --tint) */
.finder-list { display: grid; align-content: start; gap: 4px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cfc1ee transparent; }
.finder-list[hidden] { display: none; }
.finder-list.f-many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.finder-list li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border-radius: 13px; cursor: pointer; transition: background 0.12s; }
.finder-list li[aria-selected="true"] { background: color-mix(in oklab, var(--tint, #d6c3fa) 36%, var(--paper)); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--tint, #d6c3fa) 70%, var(--ink)); }
.finder-list .av { --s: 42px; flex: none; }
/* an artist's picture (or a coloured initial), with their rank emblem on its edge */
.finder-list .f-pic { position: relative; flex: none; width: 42px; height: 42px; }
.finder-list .f-pic > img:first-child, .finder-list .f-pic > b { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #3a2c86; box-shadow: 0 0 0 2px color-mix(in oklab, var(--tint) 75%, var(--ink)); }
.finder-list .f-pic > b { background: hsl(var(--hue) 55% 62%); font: 700 18px/1 var(--body); color: #160a30; }
.finder-list .f-rk { position: absolute; right: -6px; bottom: -5px; width: 22px; height: 22px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(32, 18, 85, 0.45)); }
.finder-list .f-id { min-width: 0; }
.finder-list .f-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; font-weight: 700; font-size: 15.5px; line-height: 1.25; overflow-wrap: anywhere; }
.finder-list .f-name mark { background: color-mix(in oklab, var(--tint, var(--mint)) 55%, white); color: inherit; border-radius: 4px; padding: 0 1px; }
.finder-list .f-tag { padding: 2px 7px 1px; border-radius: 6px; background: color-mix(in oklab, var(--tint) 45%, var(--paper)); font: 700 9.5px/1.3 var(--mono); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.finder-list li[aria-selected="true"] .f-tag { background: var(--paper); }
.finder-list .f-meta { margin-top: 2px; font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.finder-list .nsfw-chip { margin-left: 0; color: #a3123a; background: rgba(255, 77, 109, 0.14); border-color: rgba(200, 30, 70, 0.45); }
.finder-list .f-none { grid-column: 1 / -1; cursor: default; color: var(--ink-soft); font-size: 15px; }
.finder-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.finder-try button { padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 13.5px; color: #dccff5; transition: border-color 0.15s, color 0.15s; }
.finder-try button:hover { border-color: var(--mint); color: var(--mint); }

/* stats */
.stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 46px; }
.stats dt { order: 2; font: 700 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.stats dd { font: 400 46px/0.9 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.stats div { display: flex; flex-direction: column; }

/* the walls of drawings: one each side, leaning in like a corridor */
.wall {
  position: absolute; top: -140px; bottom: -140px; width: min(35vw, 580px);
  --fade: linear-gradient(180deg, transparent 20%, #000 36%, #000 74%, transparent 90%);
}
.wall-l { left: -110px; -webkit-mask-image: linear-gradient(270deg, transparent 3%, #000 34%), var(--fade); mask-image: linear-gradient(270deg, transparent 3%, #000 34%), var(--fade); }
.wall-r { right: -110px; -webkit-mask-image: linear-gradient(90deg, transparent 3%, #000 34%), var(--fade); mask-image: linear-gradient(90deg, transparent 3%, #000 34%), var(--fade); }
.wall-l, .wall-r { -webkit-mask-composite: source-in; mask-composite: intersect; }
.wall-tilt { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; height: 100%; }
.wall-l .wall-tilt { transform: perspective(1500px) rotateY(25deg) rotateX(5deg) rotateZ(-3deg); transform-origin: 85% 50%; }
.wall-r .wall-tilt { transform: perspective(1500px) rotateY(-25deg) rotateX(5deg) rotateZ(3deg); transform-origin: 15% 50%; }
.wall-col { min-width: 0; }
.wall-track { display: flex; flex-direction: column; animation: drift 90s linear infinite; }
.wall-col:nth-child(2) .wall-track { animation-duration: 110s; animation-direction: reverse; }
.wall-r .wall-col:nth-child(1) .wall-track { animation-duration: 76s; animation-direction: reverse; }
.wall-r .wall-col:nth-child(2) .wall-track { animation-duration: 98s; animation-direction: normal; }
.wall:hover .wall-track { animation-play-state: paused; }

/* a note in pen, pointing at the walls */
.scrawl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; font: 700 27px/1 "Caveat", cursive; color: var(--lav); rotate: -1.5deg; }
.scrawl-arrow { width: 62px; height: 36px; flex: none; fill: none; stroke: var(--mint); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; translate: 0 -12px; }
.scrawl-arrow.flip { scale: -1 1; }
@keyframes drift { to { transform: translateY(-50%); } }
.tile {
  display: block; width: 100%; margin-bottom: 22px; padding: 7px 7px 0; text-align: left;
  border-radius: 16px; background: var(--paper); color: var(--ink);
  box-shadow: 0 18px 44px rgba(6, 1, 20, 0.55);
  transition: transform 0.25s, box-shadow 0.25s;
}
.tile:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 0 0 3px var(--mint), 0 26px 60px rgba(6, 1, 20, 0.7); }
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #fff; }
.tile-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; padding: 8px 4px 9px; font-weight: 600; font-size: 12.5px; line-height: 1.25; }
.tile-cap i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: color-mix(in oklab, var(--c) 78%, white); box-shadow: 0 0 0 1.5px var(--ink); }
.tile-cap span { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.tile-cap small { margin-left: auto; padding-left: 8px; font: 500 10.5px var(--mono); color: var(--ink-soft); white-space: nowrap; }

/* ═══ LIVE ═══ */
.live { position: relative; z-index: 2; }
.live-bar {
  display: flex; align-items: center; gap: 22px; padding: 14px 16px 14px 14px;
  border-radius: 26px; border: 1.5px solid rgba(255, 77, 109, 0.55);
  background: linear-gradient(100deg, #3a0c22, #2a0d3c 60%, #241047);
  box-shadow: 0 20px 60px rgba(255, 77, 109, 0.16), 0 0 0 6px rgba(13, 5, 31, 0.9);
}
.live-tag { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px; border-radius: 16px; background: var(--live); color: #fff; font: 400 22px/1 var(--display); letter-spacing: 0.04em; flex: none; }
.live-tag .ping, .live-tag .ping::after { background: #fff; }
.live-who { display: flex; align-items: center; gap: 13px; min-width: 0; }
.live-who .av { --s: 48px; }
.live-who h3 { font: 400 26px/1 var(--display); letter-spacing: 0.02em; color: #fff; }
.live-who p { font-size: 14px; color: #f3b9c5; margin-top: 3px; }
.live-who p b { color: #fff; }
.live-thumbs { display: flex; gap: 8px; margin-left: auto; }
.live-thumbs button { width: 92px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14); transition: transform 0.18s, box-shadow 0.18s; }
.live-thumbs button:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--mint); }
.live-thumbs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.live-cta { display: flex; gap: 10px; flex: none; }

/* ═══ SECTION HEADS ═══ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.sec-note { max-width: 400px; font-size: 16px; color: var(--muted); padding-bottom: 6px; }
.sec-more { display: flex; justify-content: center; margin-top: 48px; }

/* ═══ THE VERSE ═══ */
.verse { padding: 120px 0 130px; }
.verse-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.verse-left { position: sticky; top: 28px; }


/* rail: every corner, most recently played first */
/* the list of corners */
.clist { border-radius: 28px; border: 1.5px solid var(--line); background: rgba(58, 44, 134, 0.2); overflow: hidden; }
.clist-head { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1.5px solid var(--line); background: rgba(13, 5, 31, 0.35); }
.clist-find { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); transition: border-color 0.15s; }
.clist-find:focus-within { border-color: var(--mint); }
.clist-find .i { width: 17px; height: 17px; }
.clist-find input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 500 15px var(--body); color: #fff; }
.clist-find input::placeholder { color: var(--muted); }
.clist-find input::-webkit-search-cancel-button { filter: invert(1) opacity(0.6); }
.seg { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; border: 1.5px solid var(--line); }
.seg button { height: 34px; padding: 0 13px; border-radius: 999px; font-weight: 500; font-size: 13.5px; color: var(--muted); white-space: nowrap; transition: color 0.15s, background 0.15s; }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: var(--lav); color: var(--ink); font-weight: 600; }
.clist-rows.has-more { -webkit-mask-image: linear-gradient(#000 calc(100% - 46px), rgba(0, 0, 0, 0.12)); mask-image: linear-gradient(#000 calc(100% - 46px), rgba(0, 0, 0, 0.12)); }
.clist-rows { display: grid; gap: 2px; max-height: clamp(360px, calc(100vh - 126px), 860px); overflow-y: auto; padding: 8px; scrollbar-width: thin; scrollbar-color: rgba(214, 195, 250, 0.3) transparent; }
.crow { display: grid; min-height: 58px; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; width: 100%; padding: 5px 16px 5px 9px; border-radius: 16px; border: 1.5px solid transparent; text-align: left; transition: background 0.15s, border-color 0.15s; }
.crow:hover { background: rgba(214, 195, 250, 0.08); }
.crow[aria-pressed="true"] { background: rgba(116, 248, 208, 0.1); border-color: rgba(116, 248, 208, 0.6); }
.crow .av { --s: 40px; }
/* the corner the visitor picked: the next click goes in, and the row says so */
.crow-go { display: none; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 15px; border-radius: 999px; background: var(--mint); font-weight: 700; font-size: 14px; color: #10062a; }
.crow-go .i { width: 16px; height: 16px; }
.crow.picked .crow-go { display: inline-flex; }
.crow.picked .crow-n { display: none; }
.crow-id { min-width: 0; }
.crow-id b { display: block; font-weight: 600; font-size: 16px; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.crow-id small { display: flex; align-items: center; gap: 7px; margin-top: 2px; font-size: 13px; color: var(--muted); }
.crow-live { padding: 2px 7px 1px; border-radius: 6px; background: var(--live); color: #fff; font: 400 12.5px/1.2 var(--display); font-style: normal; letter-spacing: 0.06em; }
.crow-n { text-align: right; }
.crow-n b { display: block; font: 400 24px/1 var(--display); color: #fff; }
.crow-n small { display: block; margin-top: 2px; font: 700 10px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.crow[aria-pressed="true"] .crow-n b { color: var(--mint); }
.clist-none { padding: 26px 20px 30px; text-align: center; color: var(--muted); }
/* phones and tablets get the corners as a strip of chips instead */
.rail { display: none; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.rail-lab { width: 100%; font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.chip { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 5px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 14px; color: #e0d5f6; transition: border-color 0.15s, background 0.15s; }
.chip .av { --s: 30px; }
.chip small { font: 500 11px var(--mono); color: var(--muted); }
.chip:hover { border-color: var(--lav); }
.chip[aria-pressed="true"] { border-color: var(--mint); background: rgba(116, 248, 208, 0.1); color: #fff; }
.chip .dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
body:not(.is-live) .chip .dot-live { display: none; }

/* world panel */
.world { position: relative; border-radius: 30px; border: 1.5px solid var(--line); background: linear-gradient(180deg, rgba(58, 44, 134, 0.42), rgba(35, 15, 70, 0.6)); overflow: hidden; box-shadow: 0 40px 100px rgba(4, 0, 16, 0.6); }
.world-bar { position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--mint); transform-origin: left; transform: scaleX(0); z-index: 3; }
.world.touring .world-bar { animation: tour 7s linear forwards; }
@keyframes tour { to { transform: scaleX(1); } }
.world-top { position: relative; display: flex; align-items: flex-end; gap: 16px; min-height: 150px; padding: 22px 24px; isolation: isolate; background: linear-gradient(120deg, color-mix(in oklab, var(--c) 55%, #1a0c38), #1a0c38 80%); }
.world-top > img.world-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.world-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 8, 46, 0.1), rgba(20, 8, 46, 0.86)); }
.world-top .av { --s: 72px; box-shadow: 0 0 0 3px color-mix(in oklab, var(--c) 70%, white), 0 8px 26px rgba(0, 0, 0, 0.45); }
.world-name { min-width: 0; flex: 1; }
.world-name h3 { font: 400 42px/0.95 var(--display); letter-spacing: 0.015em; color: #fff; text-shadow: 0 2px 18px rgba(10, 2, 30, 0.7); overflow-wrap: anywhere; }
.world-name p { margin-top: 5px; font-size: 14.5px; color: #e9defc; text-shadow: 0 1px 10px rgba(10, 2, 30, 0.8); }
.world-when { align-self: flex-start; margin-left: auto; flex: none; padding: 6px 11px; border-radius: 999px; background: rgba(13, 5, 31, 0.72); font: 700 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--lav); }
.world-when.is-live { display: inline-flex; align-items: center; gap: 8px; background: var(--live); color: #fff; }
.world-when.is-live .ping, .world-when.is-live .ping::after { background: #fff; width: 7px; height: 7px; }
.world-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1.5px solid var(--line); }
.world-stats div { padding: 16px 24px; }
.world-stats div + div { border-left: 1.5px solid var(--line); }
.world-stats dd { font: 400 34px/0.95 var(--display); color: color-mix(in oklab, var(--c) 45%, white); }
.world-stats dt { margin-top: 5px; font: 700 10.5px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.world-body { padding: 22px 24px 24px; }
.world-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font: 700 10.5px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }
.world-main { display: block; width: 100%; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px rgba(214, 195, 250, 0.2); transition: box-shadow 0.2s; }
.world-main:hover { box-shadow: 0 0 0 3px var(--mint); }
.world-main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.world-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 11px; font-size: 14px; color: var(--muted); }
.world-cap b { font-weight: 600; font-size: 16px; color: #fff; overflow-wrap: anywhere; }
.world-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 13px; }
.world-thumbs button { border-radius: 9px; overflow: hidden; background: #fff; opacity: 0.62; box-shadow: 0 0 0 2px transparent; transition: opacity 0.15s, box-shadow 0.15s; }
.world-thumbs button:hover { opacity: 1; }
.world-thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2.5px var(--mint); }
.world-thumbs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.world-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 24px; }
.world-top3 li { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; font-size: 14.5px; }
.world-top3 li + li { border-top: 1px solid var(--line); }
.world-top3 i { font: 700 11px var(--mono); font-style: normal; color: var(--muted); width: 16px; }
.world-top3 span { font-weight: 500; overflow-wrap: anywhere; min-width: 0; flex: 1; }
.world-top3 small { font: 500 12px var(--mono); color: var(--muted); }
.world-links { display: flex; flex-direction: column; gap: 6px; }
.world-links button { display: flex; align-items: center; gap: 10px; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1.5px solid var(--line); text-align: left; font-weight: 500; font-size: 14px; transition: border-color 0.15s; }
.world-links button:hover { border-color: var(--mint); }
.world-links .av { --s: 28px; }
.world-links small { margin-left: auto; font: 500 11.5px var(--mono); color: var(--mint); white-space: nowrap; }
.world-empty { padding: 34px 0 30px; text-align: center; color: var(--muted); }
.world-empty b { display: block; font: 400 30px var(--display); color: #fff; letter-spacing: 0.02em; }
/* the way in: a full-width mint bar right under the banner */
.world-go { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 20px; background: var(--mint); color: #10062a; font: 600 15px/1 var(--body); letter-spacing: 0.07em; text-transform: uppercase; transition: background 0.2s, box-shadow 0.25s; }
.world-go .i { transition: transform 0.15s; }
/* hovered, it brightens a little and gives off a soft glow */
.world-go:hover, .world-go:focus-visible { background: #8ffad9; box-shadow: 0 0 16px rgba(116, 248, 208, 0.3), 0 0 34px 2px rgba(116, 248, 208, 0.12); }
.world-go:hover .i { transform: translateX(4px); }
.world-go:focus-visible { outline: 3px solid #10062a; outline-offset: -7px; border-radius: 0; }

/* ═══ SHEETS (paper sections) ═══ */
.sheet { margin: 0 14px; padding: 104px 0 110px; border-radius: 56px; background: var(--paper); color: var(--ink); }
.sheet-lilac { background: #ecdfff; }
.sheet .eyebrow { color: #7a4ff0; }
.sheet .sec-note { color: var(--ink-soft); }

/* fresh streams */
.fresh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.st { display: flex; flex-direction: column; border-radius: 22px; border: 2px solid var(--ink); background: #fff; box-shadow: 5px 5px 0 var(--ink); transition: transform 0.18s, box-shadow 0.18s; }
.st:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.st-big { grid-column: span 2; grid-row: span 2; }
.st-cover { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 19px 19px 0 0; overflow: hidden; background: #fff; border-bottom: 2px solid var(--ink); cursor: zoom-in; }
.st-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.st-cover img.on { opacity: 1; }
.st-bars { position: absolute; left: 10px; right: 10px; top: 9px; display: flex; gap: 4px; }
.st-bars i { flex: 1; height: 4px; border-radius: 2px; background: rgba(32, 18, 85, 0.22); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7); }
.st-bars i.on { background: var(--ink); }
.st-body { display: flex; flex-direction: column; gap: 9px; padding: 15px 17px 17px; flex: 1; }
.st-who { display: flex; align-items: center; gap: 10px; }
.st-who .av { --s: 34px; box-shadow: 0 0 0 2px var(--ink); }
.st-who h3 { font: 400 24px/1 var(--display); letter-spacing: 0.02em; overflow-wrap: anywhere; min-width: 0; padding-top: 2px; }
.st-when { margin-left: auto; flex: none; padding: 4px 9px; border-radius: 999px; border: 1.5px solid var(--ink); font: 700 10px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.st-when.today { background: var(--mint); }
.st-meta { font-size: 14px; color: var(--ink-soft); }
.st-meta b { color: var(--ink); font-weight: 700; }
.st-names { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); overflow-wrap: anywhere; }
.st-names b { font-weight: 600; color: var(--ink); }
/* the big card is as tall as two rows of small ones: its picture takes the extra height */
.st-big .st-cover { flex: 1 0 auto; }
.st-big .st-body { padding: 22px 24px 24px; gap: 13px; flex: none; }
.st-big .st-who .av { --s: 46px; }
.st-big .st-who h3 { font-size: 38px; }
.st-big .st-meta { font-size: 16px; }
.st-big .st-names { font-size: 15px; }
.st-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: auto; padding-top: 6px; }
.st-strip button { border-radius: 9px; overflow: hidden; border: 2px solid var(--ink); opacity: 0.55; transition: opacity 0.15s, transform 0.15s; }
.st-strip button:hover, .st-strip button.on { opacity: 1; }
.st-strip button.on { box-shadow: 3px 3px 0 var(--mint-2); transform: translate(-1px, -1px); }
.st-strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ═══ LUCKY DIP ═══ */
.dip { position: relative; padding: 130px 0; overflow: hidden; isolation: isolate; }
.dip .glow { z-index: -1; }
.glow-c { width: 760px; height: 760px; left: 8%; top: 50%; transform: translateY(-50%); background: rgba(140, 82, 255, 0.26); }
.dip-in { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.dip-stage { position: relative; }
.dip-stack i { position: absolute; inset: 0; border-radius: 26px; background: var(--lilac); }
.dip-stack i:nth-child(1) { transform: rotate(-4deg) translate(-10px, 8px); background: #b79cf2; }
.dip-stack i:nth-child(2) { transform: rotate(2.6deg) translate(8px, 6px); background: #d9c6fb; }
.dip-card { position: relative; display: block; width: 100%; padding: 12px; border-radius: 26px; background: var(--paper); box-shadow: 0 34px 90px rgba(4, 0, 16, 0.65); cursor: zoom-in; transform-origin: 50% 120%; }
.dip-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; border-radius: 16px; }
.dip-card.out { animation: dipout 0.34s cubic-bezier(0.5, 0, 0.9, 0.4) forwards; }
.dip-card.in { animation: dipin 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15); }
@keyframes dipout { to { transform: translate(-46%, 6%) rotate(-16deg); opacity: 0; } }
@keyframes dipin { from { transform: translate(18%, 8%) rotate(9deg) scale(0.94); opacity: 0; } }
.dip-lede { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 400px; }
.dip-meta { margin-top: 30px; padding-top: 26px; border-top: 1.5px solid var(--line); min-height: 148px; }
.dip-meta small { display: block; font: 700 10.5px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.dip-meta .dip-artist { font: 700 36px/1.1 var(--body); letter-spacing: -0.01em; color: #fff; margin-top: 8px; overflow-wrap: anywhere; }
.dip-where { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; color: #dccff5; flex-wrap: wrap; }
.dip-where .av { --s: 32px; }
.dip-where b { font-weight: 600; color: #fff; }
.dip-where span { color: var(--muted); }
.dip-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
#dip-go .i { transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
#dip-go:active .i { transform: rotate(180deg); }

/* ═══ PASSPORTS ═══ */
.pass-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pp { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: 22px; border: 2px solid var(--ink); background: #fff; box-shadow: 5px 5px 0 var(--ink); transition: transform 0.18s, box-shadow 0.18s; }
.pp:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.pp-head { display: flex; align-items: center; gap: 12px; }
.pp-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); flex: none; background: var(--lilac); }
.pp-head h3 { font-weight: 700; font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.pp-head p { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.pp-no { position: absolute; top: 14px; right: 16px; font: 700 10.5px var(--mono); letter-spacing: 0.1em; color: #a595d6; }
.pp-stamps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px 5px; padding: 12px 10px; border-radius: 14px; background: #f4ecff; border: 1.5px dashed #b9a6e6; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed #c5b5ea; }
.stamp.on { border: 0; rotate: var(--r); }
.stamp.on .av { --s: 100%; aspect-ratio: 1; height: auto; box-shadow: 0 0 0 2px var(--ink); }
.pp-mix { display: flex; gap: 3px; height: 12px; margin-top: auto; }
.pp-mix i { flex: 1 1 0; min-width: 5px; border-radius: 4px; background: color-mix(in oklab, var(--c) 82%, white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pp-legend { display: flex; flex-wrap: wrap; gap: 3px 14px; font-size: 12.5px; color: var(--ink-soft); }
.pp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pp-legend i { width: 9px; height: 9px; border-radius: 3px; background: color-mix(in oklab, var(--c) 82%, white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pp-legend b { color: var(--ink); font-weight: 700; }
.pp-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: auto; }
.pp-art button { border-radius: 9px; overflow: hidden; border: 2px solid var(--ink); cursor: zoom-in; transition: transform 0.15s; }
.pp-art button:hover { transform: translateY(-2px); }
.pp-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.pp-me { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.2fr); gap: 34px; align-items: center; margin-bottom: 28px; padding: 28px 30px; border-radius: 26px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--mint-2); }
.pp-me .eyebrow { color: var(--mint); margin-bottom: 14px; }
.pp-me-id { display: flex; align-items: center; gap: 16px; }
.pp-me-id img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--mint); flex: none; }
.pp-me-id h3 { font: 400 40px/0.95 var(--display); letter-spacing: 0.02em; overflow-wrap: anywhere; }
.pp-me-id p { font-size: 15px; color: #cfc2ee; margin-top: 6px; }
.pp-me-id p b { color: #fff; }
.pp-me .pp-stamps { background: rgba(255, 255, 255, 0.06); border-color: rgba(214, 195, 250, 0.4); }
.pp-me .stamp { border-color: rgba(214, 195, 250, 0.35); }
.pp-me .stamp.on .av { box-shadow: 0 0 0 2px var(--mint); }
.pp-me-count { font-size: 14px; color: #cfc2ee; margin-bottom: 10px; }
.pp-me-count b { font: 400 26px/1 var(--display); color: var(--mint); letter-spacing: 0.02em; margin-right: 6px; }
.pp-me .pp-art button { border-color: rgba(255, 255, 255, 0.85); }
.pp-me-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--mint); }
.pp-me-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.pp-join { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 28px; padding: 22px 26px; border-radius: 22px; border: 2px dashed #a48fe0; }
.pp-join h3 { font: 400 30px/1 var(--display); letter-spacing: 0.02em; }
.pp-join p { margin-top: 5px; font-size: 15px; color: var(--ink-soft); }

/* ═══ FIGHT CLUB ═══ */
.fc { position: relative; padding: 130px 0 120px; overflow: hidden; isolation: isolate; background: #0b0508; }
.fc-rays { position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 1100px; height: 1100px; background: repeating-conic-gradient(from 0deg, rgba(255, 77, 109, 0.09) 0 5deg, transparent 5deg 12deg); -webkit-mask-image: radial-gradient(circle, #000 0, transparent 68%); mask-image: radial-gradient(circle, #000 0, transparent 68%); }
.fc-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: center; }
.fc .eyebrow { color: #ff7d93; }
.fc h2 { font-size: clamp(64px, 8vw, 118px); line-height: 0.86; }
.fc-lede { margin-top: 24px; max-width: 440px; font-size: 18px; color: #d8c9d0; }
.fc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* the cast: small, under the copy */
.fc-starring { margin-top: 46px; }
.fc-starring > p { font: 700 10.5px var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: #a8939b; margin-bottom: 13px; }
.fc-cast { display: flex; flex-wrap: wrap; gap: 11px; }
.fc-face { width: 52px; border: 2px solid #000; background: #f4efe6; box-shadow: 0 0 0 2px #f4efe6; transition: transform 0.2s; }
.fc-face:hover { transform: translateY(-4px); }
.fc-face img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.fc-castlink { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 15px; color: #ff8da1; }
.fc-castlink:hover { color: #fff; }
/* the chapters: the newest one large, the rest beside it */
.fc-chapters { display: grid; grid-template-columns: minmax(0, 2.06fr) minmax(0, 1fr) minmax(0, 1fr); gap: 26px 24px; }
.fc-chapters li { display: flex; min-width: 0; }
.fc-chapters li.is-new { grid-row: span 2; }
.fc-ch { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; border: 2px solid #000; background: #0b0508; box-shadow: 0 0 0 3px #f4efe6, 8px 8px 0 3px #000; rotate: var(--r); transition: rotate 0.25s, transform 0.25s, box-shadow 0.25s; }
.fc-ch:hover { rotate: 0deg; transform: translateY(-6px); box-shadow: 0 0 0 3px #f4efe6, 8px 8px 0 3px var(--live); }
.fc-ch img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; background: #f4efe6; }
.is-new .fc-ch img { flex: 1 1 0; height: 0; min-height: 0; aspect-ratio: auto; }
.fc-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 9px 11px 8px; border-top: 2px solid #000; }
.fc-cap b { font: 400 21px/1 var(--display); letter-spacing: 0.04em; color: #fff; white-space: nowrap; }
.fc-cap small { font: 500 10.5px var(--mono); color: #a8939b; white-space: nowrap; }
.is-new .fc-cap { padding: 14px 16px 12px; }
.is-new .fc-cap b { font-size: 38px; }
.is-new .fc-cap small { font-size: 12px; color: #ff8da1; }
.fc-ch .new { position: absolute; top: -13px; right: -12px; padding: 5px 12px 3px; background: var(--live); color: #fff; font: 400 22px/1.1 var(--display); letter-spacing: 0.06em; rotate: 6deg; box-shadow: 3px 3px 0 #000; z-index: 1; }

/* ═══ FRIENDS ═══ */
.friends { padding: 70px 0 76px; border-top: 1.5px solid var(--line); }
.friends-in { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.friends .eyebrow { margin: 0; color: var(--muted); }
.friends-row { display: flex; gap: 16px; flex-wrap: wrap; }
.portal { position: relative; display: flex; align-items: center; gap: 18px; width: 290px; height: 76px; padding: 0 20px 0 24px; border-radius: 18px; overflow: hidden; isolation: isolate; transition: transform 0.2s, box-shadow 0.2s; }
.portal:hover { transform: translateY(-3px); }
.portal-txt { display: flex; flex-direction: column; min-width: 0; }
.portal b { font: 400 27px/1 var(--display); letter-spacing: 0.03em; }
.portal small { font: 700 10px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; margin-top: 4px; opacity: 0.75; }
.portal .i { margin-left: auto; opacity: 0.8; }
.portal-sv { border: 1.5px solid rgba(196, 150, 255, 0.7); background: linear-gradient(145deg, rgba(168, 85, 247, 0.42), #0e0220 58%, rgba(76, 29, 149, 0.5)); color: #f0e2ff; box-shadow: 0 0 34px rgba(168, 85, 247, 0.28); }
.portal-horns { position: absolute; inset: -8px 0 auto 0; width: 100%; height: 92px; z-index: -1; opacity: 0.55; }
.portal-horns path { fill: #7c3aed; stroke: #d8b4fe; stroke-width: 2; }
.portal-nb { border: 1.5px solid #ff2f91; color: #ffe6a3; box-shadow: inset 0 -5px 0 #ff2f91, 0 0 34px rgba(255, 47, 145, 0.2);
  background: radial-gradient(circle at 12% 24%, #050301 0 7px, transparent 8px), radial-gradient(circle at 84% 70%, #050301 0 9px, transparent 10px), radial-gradient(circle at 60% 16%, #050301 0 5px, transparent 6px), radial-gradient(circle at 38% 80%, #050301 0 6px, transparent 7px), linear-gradient(145deg, rgba(230, 168, 23, 0.72), #160e02 74%); }

/* ═══ FOOTER ═══ */
.foot { padding: 56px 0 96px; border-top: 1.5px solid var(--line); background: #0a0418; }
.foot-in { display: grid; grid-template-columns: 1fr auto auto; gap: 90px; }
.foot .brand span { font-size: 20px; }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.foot-stats { font: 500 12px var(--mono) !important; letter-spacing: 0.04em; }
.foot nav { display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: #d9cdf3; }
.foot nav a:hover { color: var(--mint); }
.foot h3 { font: 700 11px var(--mono); letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* ═══ LIGHTBOX ═══ */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 90px minmax(0, 1fr) 90px; align-items: center; background: rgba(8, 2, 22, 0.93); backdrop-filter: blur(10px); }
.lb[hidden] { display: none; }
.lb-fig { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 30px 0; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 16px; background: #fff; box-shadow: 0 0 0 8px var(--paper), 0 40px 120px #000; }
.lb-fig figcaption { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px 14px; font-size: 15px; color: var(--muted); text-align: center; }
.lb-fig figcaption b { font: 700 22px/1.1 var(--body); color: #fff; overflow-wrap: anywhere; }
.lb-fig figcaption .av { --s: 28px; }
.lb-fig figcaption em { font-style: normal; color: #e0d5f6; font-weight: 500; }
.lb-nav, .lb-x { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(214, 195, 250, 0.35); color: #fff; justify-self: center; transition: background 0.15s, border-color 0.15s; }
.lb-nav:hover, .lb-x:hover { background: rgba(214, 195, 250, 0.14); border-color: var(--lav); }
.lb-x { position: absolute; top: 22px; right: 22px; }
.lb-nav .i, .lb-x .i { width: 22px; height: 22px; }

/* ═══ MOCK CONTROLS ═══ */

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--rd, 0s); }
.rv.seen { opacity: 1; transform: none; }

/* ═══ PROFILE ═══ */
.nav a.on { background: rgba(214, 195, 250, 0.14); color: #fff; }
.prof-hero { position: relative; margin-top: -80px; padding: 110px 0 30px; overflow: hidden; isolation: isolate; }
.prof-hero .glow { z-index: -1; }
.prof-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font-weight: 500; font-size: 15px; color: #d9cdf3; }
.prof-back:hover { color: #fff; }
.prof-card { border-radius: 30px; border: 1.5px solid var(--line); background: linear-gradient(180deg, rgba(58, 44, 134, 0.5), rgba(35, 15, 70, 0.66)); box-shadow: 0 40px 100px rgba(4, 0, 16, 0.6); overflow: hidden; }
.pc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 36px; align-items: center; padding: 36px; }
.pc-av img, .pc-av span { display: grid; place-items: center; width: 176px; height: 176px; border-radius: 50%; object-fit: cover; background: var(--plum-2); box-shadow: 0 0 0 4px var(--mint), 0 0 0 10px rgba(116, 248, 208, 0.14), 0 20px 50px rgba(4, 0, 16, 0.6); }
.pc-av span { font: 400 96px/1 var(--display); color: var(--lav); }
.pc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); font: 700 10.500px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--lav); }
.tag .i { width: 14px; height: 14px; }
.tag-mint { border-color: rgba(116, 248, 208, 0.5); background: rgba(116, 248, 208, 0.1); color: var(--mint); }
.tag-gold { border-color: rgba(255, 211, 92, 0.55); background: rgba(255, 211, 92, 0.1); color: #ffd35c; }
h1.pc-name { margin-top: 14px; font: 700 clamp(36px, 4.600vw, 62px) / 1.05 var(--body); letter-spacing: -0.02em; text-transform: none; color: #fff; overflow-wrap: anywhere; }
.pc-tw { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 500; font-size: 15px; color: #c9a8ff; }
.pc-tw:hover { color: #fff; }
.pc-rank { margin-top: 22px; max-width: 520px; }
.pc-rank-top { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 8px; font-size: 13.500px; color: var(--muted); }
.pc-rank-top b { color: #fff; font-weight: 600; }
.pc-bar { height: 12px; border-radius: 6px; background: rgba(214, 195, 250, 0.14); overflow: hidden; }
.pc-bar i { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: 6px; background: linear-gradient(90deg, var(--mint-2), var(--mint)); box-shadow: 0 0 18px rgba(116, 248, 208, 0.6); }
.pc-nums { display: flex; gap: 0; }
.pc-nums div { padding: 4px 26px; text-align: center; }
.pc-nums div + div { border-left: 1.500px solid var(--line); }
.pc-nums dd { font: 400 54px/0.900 var(--display); color: #fff; }
.pc-nums dt { margin-top: 8px; font: 700 10.500px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pc-cta { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px 36px 24px; border-top: 1.500px solid var(--line); background: rgba(13, 5, 31, 0.35); }
.pc-cta .sp { flex: 1; }
.pc-cta .btn-twitch { height: 48px; padding: 0 22px; font-size: 15px; }
.prof-sec { padding: 78px 0; }
.prof-sec[hidden] { display: none; }
/* drawings first: showcase, then every drawing, then passport and badges at the bottom */
.prof-show { padding-bottom: 0; }
.prof-pass { padding-top: 60px; padding-bottom: 130px; }
.showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.show-cell { position: relative; min-width: 0; rotate: var(--r); transition: rotate 0.2s; }
.show-cell:hover { rotate: 0deg; }
.show-tile { width: 100%; margin: 0; padding: 10px 10px 0; border-radius: 20px; }
.show-tile img { border-radius: 12px; }
.show-unpin { position: absolute; top: 18px; right: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px; border-radius: 999px; border: 1.5px solid rgba(214, 195, 250, 0.3); background: rgba(13, 5, 31, 0.8); font-weight: 600; font-size: 13px; color: #fff; transition: border-color 0.15s, background 0.15s; }
.show-unpin:hover { border-color: #ff8fa3; background: rgba(60, 10, 30, 0.85); }
.show-unpin .i { width: 14px; height: 14px; }
/* a free place in your own showcase */
/* (short while nothing is pinned, so the drawings stay near the top; as tall as a pinned one beside it) */
.show-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; align-self: stretch; min-height: 150px; padding: 18px; border-radius: 20px; border: 2px dashed rgba(214, 195, 250, 0.3); background: rgba(58, 44, 134, 0.12); text-align: center; transition: border-color 0.15s, background 0.15s; }
.show-empty .i { width: 30px; height: 30px; margin-bottom: 4px; color: var(--mint); }
.show-empty b { font-weight: 600; font-size: 16px; color: #fff; }
.show-empty small { max-width: 220px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.show-empty:hover { border-color: var(--mint); background: rgba(116, 248, 208, 0.06); }
.show-tile .tile-cap { font-size: 14px; padding: 11px 5px 12px; }
.filter { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-bottom: 6px; }
.chip-all { padding-left: 14px; }
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.gal-tile { margin: 0; }
.gal-tile[hidden] { display: none; }
.gal-note { margin-top: 26px; font-size: 14.500px; color: var(--muted); }

/* profile: everything stays dark, only the drawings themselves are white */
.prof .tile { background: #1b0e3a; color: #ece2ff; box-shadow: 0 0 0 1.5px var(--line), 0 18px 44px rgba(6, 1, 20, 0.5); }
.prof .tile:hover { box-shadow: 0 0 0 3px var(--mint), 0 26px 60px rgba(6, 1, 20, 0.7); }
.prof .tile-cap small { color: var(--muted); }
.prof .tile-cap i { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.55); }

/* passport stamps */
.pass-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.pass-side .sec-note { padding-bottom: 0; }
.pass-share { height: 42px; padding: 0 18px 0 16px; }
.pass-share[hidden] { display: none; }
/* sharing the passport: the picture, then Share / Save / Copy */
.psh { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(8, 2, 22, 0.86); backdrop-filter: blur(8px); }
.psh-card { position: relative; width: min(680px, 100%); max-height: calc(100dvh - 40px); overflow: auto; padding: 26px; border-radius: 26px; border: 1.5px solid var(--line); background: linear-gradient(180deg, #24124a, #150a2f); box-shadow: 0 40px 100px rgba(4, 0, 16, 0.7); }
.psh-card h2 { margin: 4px 50px 18px 0; font: 400 42px/1 var(--display); letter-spacing: 0.01em; color: #fff; overflow-wrap: anywhere; }
.psh-x { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--lav); }
.psh-x:hover { border-color: var(--lav); color: #fff; }
.psh-pic { display: grid; place-items: center; min-height: 240px; border-radius: 16px; overflow: hidden; background: rgba(13, 5, 31, 0.6); font-size: 14px; color: var(--muted); text-align: center; }
.psh-pic.is-busy span { animation: psh-wait 1.2s ease-in-out infinite; }
@keyframes psh-wait { 50% { opacity: 0.4; } }
.psh-pic img { display: block; width: 100%; height: auto; }
.psh-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.psh-btns .btn { flex: 1 1 auto; }
.psh-btns .btn[hidden] { display: none; }
.psh-btns .btn:disabled { opacity: 0.45; cursor: default; }
.pass-big { display: grid; grid-template-columns: repeat(auto-fill, minmax(182px, 1fr)); gap: 22px 14px; padding: 30px 24px; border-radius: 26px; border: 1.5px dashed rgba(214, 195, 250, 0.3); background: rgba(58, 44, 134, 0.2); }
/* passport stamps: rubber stamps in the corner's ink that level up and turn over */
/* (a cell is as tall as the stamp; a turned-over one lifts above its neighbours and may hang over the next row) */
.stp { --ink: color-mix(in oklab, var(--c) 70%, white); position: relative; height: 222px; perspective: 900px; }
.stp.flipped { z-index: 5; }
.stp-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.stp.flipped .stp-in { transform: rotateY(180deg); }
.stp-face, .stp-back { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.stp-face, .stp.off { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.stp-face { border-radius: 18px; cursor: pointer; }
.stp-face:focus-visible { outline-offset: 0; }
.stp-art { position: relative; display: block; width: 172px; aspect-ratio: 1; flex: none; rotate: var(--r, 0deg); transition: rotate 0.25s, transform 0.25s; }
.stp-face:hover .stp-art { rotate: 0deg; transform: scale(1.05); }
.stp-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stp-ink circle { fill: none; stroke: var(--ink); }
.stp-r1 { stroke-width: 3.200; }
.stp-r2 { stroke-width: 1.100; }
.stp-r3 { stroke-width: 1.600; }
.stp-ink text { fill: var(--ink); font-family: var(--mono); font-weight: 700; letter-spacing: 0.12em; }
.stp-ink .stp-b { letter-spacing: 0.1em; }
.stp-dot { fill: var(--ink); }
.stp-logo { position: absolute; left: 50%; top: 50%; width: 45%; aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: color-mix(in oklab, var(--c) 34%, #160a30); }
.stp-logo img { width: 100%; height: 100%; object-fit: cover; }
.stp-logo b { font: 400 22px/1 var(--display); color: #fff; }
.stp-meta { display: flex; align-items: baseline; gap: 7px; }
.stp-meta b { font: 400 24px/1 var(--display); color: #fff; }
.stp-meta small { font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
/* levels: Silver (10+) adds a second ring and stars, Gold (50+) is foil, Holo (100+) shimmers */
.lv-silver { --ink: #dfe5f2; }
.lv-gold .stp-ink circle { stroke: url(#gv-gold); }
.lv-gold .stp-ink text, .lv-gold .stp-dot { fill: url(#gv-gold); }
.lv-gold { --ink: #ffd35c; }
.lv-gold .stp-art { filter: drop-shadow(0 0 12px rgba(255, 211, 92, 0.28)); }
.lv-holo { --ink: #f4ecff; }
.lv-holo .stp-ink text, .lv-holo .stp-dot { fill: url(#gv-holo); }
.lv-holo .stp-r1 { stroke: none; }
.lv-holo .stp-art::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: conic-gradient(from 0deg, #74f8d0, #b48cff, #ff9bd2, #ffd35c, #74f8d0); -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px)); mask: radial-gradient(circle closest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px)); animation: spin 9s linear infinite; }
.lv-holo .stp-art { filter: drop-shadow(0 0 14px rgba(180, 140, 255, 0.35)); }
.lv-holo .stp-meta small { background: linear-gradient(90deg, #74f8d0, #b48cff, #ff9bd2, #ffd35c); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* a corner not stamped yet: a faint pressed outline */
.stp.off { --ink: rgba(214, 195, 250, 0.22); }
.stp.off .stp-r1 { stroke-width: 1.600; stroke-dasharray: 3 4; }
.stp.off .stp-r3 { stroke-dasharray: 2 3; }
.stp.off .stp-logo { opacity: 0.16; filter: grayscale(1); }
.stp.off .stp-meta small { color: #7566a3; font-weight: 500; letter-spacing: 0.08em; text-transform: none; font-size: 11px; }
/* the back */
.stp-back { bottom: auto; min-height: 100%; transform: rotateY(180deg); display: flex; flex-direction: column; gap: 7px; padding: 13px 13px 12px; border-radius: 18px; border: 1.5px solid color-mix(in oklab, var(--ink) 45%, transparent); background: linear-gradient(180deg, #26134d, #160a31); box-shadow: 0 16px 40px rgba(4, 0, 16, 0.5); text-align: left; }
.stp-bhead { display: flex; align-items: center; gap: 6px; }
.stp-bhead b { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.stp-x { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--muted); }
.stp-x:hover { color: #fff; background: rgba(214, 195, 250, 0.1); }
.stp-x .i { width: 14px; height: 14px; }
.stp-tier { font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.stp-bar { display: block; height: 6px; border-radius: 3px; background: rgba(214, 195, 250, 0.14); overflow: hidden; }
.stp-bar i { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: 3px; background: var(--ink); }
.lv-gold .stp-bar i { background: linear-gradient(90deg, #fff4c9, #ffd35c, #c8902b); }
.lv-holo .stp-bar i { background: linear-gradient(90deg, #74f8d0, #b48cff, #ff9bd2, #ffd35c); }
.stp-next { font-size: 12px; color: var(--muted); }
.stp-dates { display: grid; gap: 5px; margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
.stp-dates div { display: flex; justify-content: space-between; gap: 8px; }
.stp-dates dt { font: 700 10.500px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.stp-dates dd { font-weight: 600; font-size: 12.500px; color: #fff; text-align: right; }
.stp-go { display: flex; gap: 6px; margin-top: auto; padding-top: 4px; }
.stp-go > * { flex: 1; display: grid; place-items: center; height: 30px; border-radius: 999px; border: 1.5px solid rgba(214, 195, 250, 0.3); font-weight: 600; font-size: 12.500px; color: #fff; transition: border-color 0.15s, background 0.15s; }
.stp-go > *:hover { border-color: var(--mint); background: rgba(116, 248, 208, 0.08); }

/* badges: each one gives the artist something to wear */
.badge-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin: 70px 0 28px; scroll-margin-top: 30px; }
.badge-head div { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.badge-head h3 { font: 400 clamp(38px, 4.2vw, 58px) / 0.95 var(--display); letter-spacing: 0.01em; color: #fff; }
.badge-head span { font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); }
.badge-head p { max-width: 400px; font-size: 16px; color: var(--muted); }
/* the row of medals */
.bmeds { display: flex; align-items: center; gap: 24px; }
.bmed-row { display: flex; flex-wrap: wrap; gap: 16px; }
.bmed { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; }
.bmed-disc { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--bc) 78%, white); background: radial-gradient(circle at 50% 30%, color-mix(in oklab, var(--bc) 30%, #1d0e40), color-mix(in oklab, var(--bc) 10%, #12072a) 75%); color: var(--bc); box-shadow: 0 8px 22px color-mix(in oklab, var(--bc) 20%, transparent); transition: transform 0.18s, box-shadow 0.18s; }
.bmed-disc .i { width: 26px; height: 26px; }
.bmed:hover .bmed-disc, .bmed:focus-visible .bmed-disc { transform: translateY(-3px); box-shadow: 0 12px 28px color-mix(in oklab, var(--bc) 36%, transparent); }
.bmed:focus-visible { outline-offset: 5px; border-radius: 50%; }
.bmed.locked .bmed-disc { border: 1.5px dashed rgba(214, 195, 250, 0.3); background: rgba(13, 5, 31, 0.35); color: #8e80b8; box-shadow: none; }
.bmed.locked .bmed-disc .i { width: 21px; height: 21px; }
.bmed.locked:hover .bmed-disc { border-color: rgba(214, 195, 250, 0.55); color: var(--lav); }
/* how close a locked badge is: a ring in its colour, filling clockwise */
.bmed-prog { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); rotate: -90deg; pointer-events: none; transition: transform 0.18s; }
.bmed-prog circle { fill: none; stroke: var(--bc); stroke-width: 1.7; stroke-linecap: round; opacity: 0.9; }
.bmed:hover .bmed-prog, .bmed:focus-visible .bmed-prog { transform: translateX(-3px); }
/* the one being worn */
.bmed-worn { position: absolute; right: -3px; bottom: -3px; display: none; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: #10062a; box-shadow: 0 0 0 3px var(--bg); }
.bmed-worn .i { width: 13px; height: 13px; }
.bmed.worn .bmed-worn { display: grid; }
/* hovering a medal: what it is, what it takes, what it gives */
.bmed-tip { position: absolute; bottom: calc(100% + 14px); left: 50%; z-index: 30; width: 230px; padding: 12px 14px 13px; border-radius: 14px; border: 1.5px solid rgba(214, 195, 250, 0.22); background: #1c0e3c; box-shadow: 0 18px 44px rgba(4, 0, 16, 0.65); text-align: left; translate: -50% 0; display: none; pointer-events: none; }
.bmed-tip::after { content: ""; position: absolute; top: 100%; left: var(--tip-x, 50%); width: 11px; height: 11px; translate: -50% -5px; rotate: 45deg; background: #1c0e3c; border-right: 1.5px solid rgba(214, 195, 250, 0.22); border-bottom: 1.5px solid rgba(214, 195, 250, 0.22); }
.bmed:first-child .bmed-tip { left: -6px; translate: 0 0; --tip-x: 38px; }
/* (not there at all until hovered, so it never widens the page) */
.bmed:hover .bmed-tip, .bmed:focus-visible .bmed-tip { display: block; animation: tip-in 0.15s ease-out; }
@keyframes tip-in { from { opacity: 0; transform: translateY(6px); } }
.bmed-tip b { display: block; font-weight: 700; font-size: 15px; color: #fff; }
.bmed-tip small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.bmed-tip em { display: block; margin-top: 9px; font: 700 10.5px var(--mono); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bc); }
.bmed.locked .bmed-tip em { color: var(--lav); }
.bmed-rw { display: block; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.bmed-rw b { display: inline; margin-left: 3px; font-weight: 600; font-size: 13px; color: #fff; }
@media (hover: none) { .bmed-tip { display: none; } }
.bmed-more { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 20px; border-radius: 999px; border: 1.5px solid rgba(214, 195, 250, 0.32); background: rgba(13, 5, 31, 0.5); font-weight: 600; font-size: 14px; color: var(--text); transition: border-color 0.15s, background 0.15s; }
.bmed-more:hover { border-color: var(--lav); background: rgba(214, 195, 250, 0.08); }
.bmed-more .i { width: 16px; height: 16px; transition: rotate 0.2s; }
.bmed-more[aria-expanded="true"] .i { rotate: 180deg; }
/* "Show more": every badge as a full card, with Wear it */
.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.badges[hidden] { display: none; }
.badge { scroll-margin: 24px; }
.badge.flash { animation: bflash 1.5s ease-out; }
@keyframes bflash { 0%, 25% { box-shadow: 0 0 0 2px var(--bc), 0 0 46px color-mix(in oklab, var(--bc) 40%, transparent); } }
.badge { display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: 22px; border: 1.5px solid var(--line); background: linear-gradient(180deg, rgba(58, 44, 134, 0.4), rgba(35, 15, 70, 0.55)); transition: border-color 0.2s, box-shadow 0.2s; }
.badge-top { display: flex; align-items: center; gap: 13px; }
.badge .disc { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; border: 1.5px solid var(--bc); background: color-mix(in oklab, var(--bc) 16%, transparent); color: var(--bc); }
.badge .disc .i { width: 25px; height: 25px; }
.badge-top b { display: block; font-weight: 700; font-size: 17px; color: #fff; }
.badge-top small { font-size: 13.5px; color: var(--muted); }
.badge-reward { display: flex; align-items: center; gap: 13px; padding: 12px 13px; border-radius: 15px; border: 1px solid var(--line); background: rgba(13, 5, 31, 0.45); }
.badge-reward span { display: block; font: 700 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bc); }
.badge-reward b { display: block; margin-top: 3px; font-weight: 600; font-size: 15px; color: #fff; overflow-wrap: anywhere; }
.badge-reward small { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.badge-foot { display: flex; align-items: center; gap: 12px; min-height: 38px; margin-top: auto; }
.wear { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(214, 195, 250, 0.32); font-weight: 600; font-size: 14px; color: var(--text); transition: border-color 0.15s, background 0.15s; }
.wear .i { width: 16px; height: 16px; display: none; }
.wear:hover { border-color: var(--mint); }
.wear[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: #10062a; }
.wear[aria-pressed="true"] .i { display: block; }
.badge-state { font: 700 10.5px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.badge.worn { border-color: rgba(116, 248, 208, 0.55); box-shadow: 0 0 0 1px rgba(116, 248, 208, 0.3), 0 18px 50px rgba(116, 248, 208, 0.07); }
.badge.worn .badge-state { color: var(--mint); }
.badge.locked { background: none; border-style: dashed; }
.badge.locked .disc { border-style: dashed; border-color: rgba(214, 195, 250, 0.3); background: none; color: #8e80b8; }
.badge.locked .badge-top b { color: #b6a8dc; }
.badge.locked .badge-reward { opacity: 0.8; }
.badge.locked .badge-reward span { color: var(--muted); }
.badge-prog { flex: 1; height: 8px; border-radius: 4px; background: rgba(214, 195, 250, 0.14); overflow: hidden; }
.badge-prog i { display: block; height: 100%; width: calc(var(--v) * 1%); min-width: 6px; border-radius: 4px; background: var(--bc); }
.badge-left { font: 500 11.5px var(--mono); color: var(--muted); white-space: nowrap; }

/* a small picture of each reward */
.rw { flex: none; display: grid; place-items: center; width: 44px; height: 44px; font-style: normal; }
.rw-frame { border-radius: 50%; background: #2a1757; }
.rw-mint { box-shadow: inset 0 0 0 4px var(--mint); }
.rw-gold { box-shadow: inset 0 0 0 4px #ffd35c, 0 0 14px rgba(255, 211, 92, 0.4); }
.rw-orbit { background: conic-gradient(from 0deg, var(--mint), #b48cff, #ff9bd2, #ffd35c, var(--mint)); -webkit-mask: radial-gradient(circle, transparent 16px, #000 17px); mask: radial-gradient(circle, transparent 16px, #000 17px); animation: spin 6s linear infinite; }
.rw-card { border-radius: 11px; box-shadow: inset 0 0 0 1.5px var(--line); background: radial-gradient(circle at 25% 30%, #fff 0 1.5px, transparent 2px), radial-gradient(circle at 70% 24%, var(--mint) 0 2px, transparent 2.5px), radial-gradient(circle at 54% 70%, #fff 0 1.5px, transparent 2px), radial-gradient(circle at 82% 62%, var(--lav) 0 1.5px, transparent 2px), linear-gradient(140deg, #3a2c86, #170a35); }
.rw-name { font: 700 21px var(--body); color: #fff; }
.rw-home { color: color-mix(in oklab, var(--home, #a78bfa) 55%, white); }
.rw-holo, .prof-card[data-name="holo"] #pc-name { background: linear-gradient(90deg, #74f8d0, #b48cff, #ff9bd2, #ffd35c, #74f8d0); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo 6s linear infinite; }
.rw-title { width: 44px; height: 24px; border-radius: 999px; border: 1.5px solid rgba(214, 195, 250, 0.5); font: 700 11px var(--mono); letter-spacing: 0.06em; color: var(--lav); }
.rw-flair { color: #ffd35c; }
.rw-flair .i { width: 28px; height: 28px; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes holo { to { background-position: 300% 0; } }

/* what is worn, on the card itself */
.pc-av { position: relative; }
.pc-ring { display: none; position: absolute; inset: -13px; border-radius: 50%; background: conic-gradient(from 0deg, var(--mint), #b48cff, #ff9bd2, #ffd35c, var(--mint)); -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 6px), #000 calc(100% - 5px)); mask: radial-gradient(circle closest-side, transparent calc(100% - 6px), #000 calc(100% - 5px)); animation: spin 9s linear infinite; }
.prof-card[data-frame="none"] .pc-av img, .prof-card[data-frame="none"] .pc-av span { box-shadow: 0 0 0 4px rgba(214, 195, 250, 0.3), 0 20px 50px rgba(4, 0, 16, 0.6); }
.prof-card[data-frame="gold"] .pc-av img, .prof-card[data-frame="gold"] .pc-av span { box-shadow: 0 0 0 4px #ffd35c, 0 0 0 10px rgba(255, 211, 92, 0.15), 0 0 46px rgba(255, 211, 92, 0.32), 0 20px 50px rgba(4, 0, 16, 0.6); }
.prof-card[data-frame="orbit"] .pc-ring { display: block; }
.prof-card[data-frame="orbit"] .pc-av img, .prof-card[data-frame="orbit"] .pc-av span { box-shadow: 0 0 40px rgba(180, 140, 255, 0.35), 0 20px 50px rgba(4, 0, 16, 0.6); }
.prof-card[data-card="stars"] .pc { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 260'%3E%3Cpath fill='none' stroke='%23d6c3fa' stroke-opacity='.4' stroke-width='1.2' d='M352 46 410 20 468 52 520 18 574 40'/%3E%3Cg fill='%2374f8d0'%3E%3Ccircle cx='352' cy='46' r='3'/%3E%3Ccircle cx='410' cy='20' r='4'/%3E%3Ccircle cx='468' cy='52' r='3'/%3E%3Ccircle cx='520' cy='18' r='4.5'/%3E%3Ccircle cx='574' cy='40' r='3'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.6'%3E%3Ccircle cx='40' cy='30' r='1.4'/%3E%3Ccircle cx='120' cy='236' r='1.3'/%3E%3Ccircle cx='210' cy='14' r='1.2'/%3E%3Ccircle cx='296' cy='228' r='1.5'/%3E%3Ccircle cx='330' cy='120' r='1.2'/%3E%3Ccircle cx='392' cy='240' r='1.4'/%3E%3Ccircle cx='470' cy='222' r='1.2'/%3E%3Ccircle cx='548' cy='236' r='1.5'/%3E%3Ccircle cx='590' cy='110' r='1.3'/%3E%3Ccircle cx='20' cy='150' r='1.2'/%3E%3Ccircle cx='260' cy='250' r='1.2'/%3E%3C/g%3E%3Cg fill='%23d6c3fa' fill-opacity='.8'%3E%3Ccircle cx='80' cy='250' r='2'/%3E%3Ccircle cx='300' cy='22' r='2'/%3E%3Ccircle cx='586' cy='214' r='2'/%3E%3C/g%3E%3C/svg%3E") right top / 640px auto no-repeat; }
.prof-card[data-name="home"] #pc-name { color: color-mix(in oklab, var(--home, #a78bfa) 55%, white); }
.tag-title { border-color: rgba(214, 195, 250, 0.55); background: rgba(214, 195, 250, 0.12); color: #fff; }
.tag[hidden], .pc-flair[hidden] { display: none; }
h1.pc-name span { display: inline; }
h1.pc-name .pc-flair { display: inline-grid; place-items: center; margin-left: 0.28em; color: #ffd35c; vertical-align: -0.04em; }
h1.pc-name .pc-flair[hidden] { display: none; }
.pc-flair .i { width: 0.62em; height: 0.62em; }
.pc-wear { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 8px; margin: 0 4px; }
.pc-wear span { font: 700 10.5px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.pc-wear b { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(214, 195, 250, 0.09); font-weight: 500; font-size: 13px; color: #e9defc; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1180px) {
  .top-link { display: none; }
  .pc { grid-template-columns: auto minmax(0, 1fr); }
  .pc-nums { grid-column: 1 / -1; justify-content: center; }
  .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { width: min(520px, 52%); }
  .wall { width: 33vw; }
  .wall-l { left: -130px; }
  .wall-r { right: -130px; }
  .wall-tilt { gap: 16px; }
  .tile { margin-bottom: 16px; }
  .scrawl { font-size: 23px; }
  .verse-grid { grid-template-columns: minmax(0, 1fr); }
  .verse-left { position: static; min-width: 0; }
  .clist { display: none; }
  .rail { display: flex; margin-top: 0; }
  .world { max-width: 640px; margin-inline: auto; width: 100%; }
  .fresh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pass-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-me { grid-template-columns: 1fr 1fr; }
  .pp-me > :last-child { grid-column: 1 / -1; }
  .live-thumbs { display: none; }
  .live-cta { margin-left: auto; }
  .dip-in, .fc-in { grid-template-columns: 1fr; gap: 54px; }
  .dip-stage { max-width: 760px; }
  .fc-chapters { max-width: 760px; }
}
@media (max-width: 900px) {
  .wrap { width: min(1320px, 100% - 32px); }
  .top-in { flex-wrap: wrap; height: auto; padding: 14px 0 10px; gap: 10px 16px; }
  .nav { order: 3; width: calc(100% + 32px); margin: 0 -16px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 8px 12px; }
  .btn-twitch span { display: none; }
  .btn-twitch { width: 44px; padding: 0; }
  .me-chip span, .pill-sched { display: none; }
  .me-chip { padding: 0 6px 0 5px; }
  .hero { margin-top: -118px; padding-top: 118px; display: flex; flex-direction: column; overflow: hidden; }
  .hero-bg { position: static; order: 2; overflow: hidden; }
  .hero-in { min-height: 0; padding: 34px 0 30px; }
  .hero-copy { width: 100%; }
  .lede { font-size: 17px; margin-top: 24px; }
  .finder-box kbd { display: none; }
  .finder-list.f-many { grid-template-columns: minmax(0, 1fr); }
  .stats { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 20px 44px; margin-top: 34px; }
  .stats dd { font-size: 38px; }
  .wall-l, .scrawl-arrow { display: none; }
  .scrawl { margin-top: 26px; font-size: 24px; }
  .wall { position: relative; inset: auto; right: auto; left: auto; width: auto; height: 330px; margin: 0 -10px 0;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent); -webkit-mask-composite: source-over; mask-composite: add; overflow: hidden; }
  .wall-r .wall-tilt { transform: rotate(-3deg) scale(1.06); gap: 12px; }
  .tile { margin-bottom: 12px; padding: 4px 4px 0; border-radius: 11px; }
  .tile img { border-radius: 8px; }
  .tile-cap { font-size: 10.5px; padding: 5px 3px 6px; }
  .tile-cap small { display: none; }
  .live { margin-top: 6px; }
  .live-bar { flex-wrap: wrap; gap: 14px; padding: 14px; border-radius: 22px; }
  .live-tag { height: 44px; font-size: 19px; padding: 0 14px; }
  .live-cta { width: 100%; }
  .live-cta .btn { flex: 1; padding: 0 12px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 30px; }
  .pass-side { align-items: flex-start; }
  .psh-card { padding: 20px 16px; }
  .psh-card h2 { font-size: 34px; }
  .prof-hero { margin-top: -118px; padding: 136px 0 20px; }
  .pc { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 24px; padding: 28px 18px 24px; }
  .pc-av img, .pc-av span { width: 132px; height: 132px; }
  .pc-tags { justify-content: center; }
  .pc-rank { width: 100%; }
  .pc-rank-top { flex-direction: column; align-items: center; gap: 2px; }
  .pc-nums div { padding: 4px 18px; }
  .pc-nums dd { font-size: 40px; }
  .pc-cta { padding: 16px 18px 20px; }
  .pc-wear { flex: 1 1 100%; justify-content: center; order: 5; margin-top: 4px; }
  .badge-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 50px; }
  .prof-card[data-card="stars"] .pc { background-position: center top; background-size: 560px auto; }
  .pc-cta .btn { flex: 1 1 100%; }
  .pc-cta .btn-twitch { width: auto; }
  .pc-cta .btn-twitch span { display: inline; }
  .prof-sec { padding: 60px 0 70px; }
  .showcase { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .show-empty { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 4px 12px; min-height: 0; padding: 16px 18px; text-align: left; }
  .show-empty .i { margin: 0; width: 26px; height: 26px; }
  .show-empty small { flex-basis: 100%; max-width: none; padding-left: 38px; }
  .show-unpin { top: 13px; right: 13px; }
  .pin-btn { top: 9px; right: 9px; height: 30px; padding: 0 10px 0 8px; font-size: 12.5px; }
  .show-tile, .gal-tile { padding: 7px 7px 0; border-radius: 16px; }
  .show-tile .tile-cap, .gal-tile .tile-cap { font-size: 12.500px; padding: 8px 4px 9px; }
  .gal-tile .tile-cap small, .show-tile .tile-cap small { display: inline; }
  .pass-big { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 20px 10px; gap: 16px 7px; }
  .stp { height: 158px; }
  .stp-art { width: 94px; }
  .stp-meta { flex-direction: column; align-items: center; gap: 3px; }
  .stp-meta b { font-size: 21px; }
  .stp-back { gap: 5px; padding: 10px 9px 9px; }
  .stp-bhead b { font-size: 13px; }
  .stp-x { width: 22px; height: 22px; }
  .stp-tier { font-size: 8.500px; letter-spacing: 0.1em; }
  .stp-next { font-size: 10.500px; line-height: 1.3; }
  .stp-dates { padding-top: 6px; gap: 4px; }
  .stp-dates div { flex-direction: column; gap: 0; }
  .stp-dates dd { text-align: left; font-size: 11.500px; }
  .stp-go { flex-direction: column; gap: 4px; }
  .stp-go > * { height: 26px; font-size: 11.500px; }
  .badges { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
  .bmeds { flex-direction: column; align-items: stretch; gap: 20px; }
  .bmed-row { gap: 12px; }
  .bmed { width: 56px; height: 56px; }
  .bmed-disc .i { width: 23px; height: 23px; }
  .bmed-more { margin-left: 0; justify-content: center; }
  .badge-head { margin-top: 40px; }
  .filter { justify-content: flex-start; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .verse { padding: 84px 0 90px; }
  .rail { margin: 0 -16px 0; padding: 0 16px 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail-lab { display: none; }
  .chip { flex: none; }
  .world-top { min-height: 128px; padding: 18px; }
  .world-top .av { --s: 58px; }
  .world-name h3 { font-size: 34px; }
  .world-stats div { padding: 13px 16px; }
  .world-stats dd { font-size: 28px; }
  .world-body { padding: 18px; }
  .world-cols { grid-template-columns: 1fr; gap: 20px; }
  .world-go { height: 50px; font-size: 14px; }
  .sheet { margin: 0 6px; padding: 70px 0 76px; border-radius: 34px; }
  .fresh-grid, .pass-grid { grid-template-columns: 1fr; gap: 20px; }
  .st-big { grid-column: auto; grid-row: auto; }
  .st-big .st-who h3 { font-size: 30px; }
  .st-big .st-body { padding: 17px; }
  .dip { padding: 84px 0; }
  .dip-meta .dip-artist { font-size: 30px; }
  .dip-cta .btn { flex: 1 1 100%; }
  .pp-me { grid-template-columns: 1fr; padding: 22px 20px; gap: 22px; }
  .pp-me > :last-child { grid-column: auto; }
  .pp-me-id h3 { font-size: 32px; }
  .pp-join { flex-direction: column; align-items: flex-start; }
  .fc { padding: 84px 0; }
  .fc-cta .btn { flex: 1 1 100%; }
  .fc-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; padding-right: 8px; }
  .fc-chapters li.is-new { grid-column: span 2; grid-row: auto; }
  .is-new .fc-ch img { flex: none; height: auto; aspect-ratio: 4 / 5; }
  .fc-face { width: 46px; }
  .portal-horns { width: 290px; left: 50%; right: auto; translate: -50% 0; }
  .friends-in { gap: 20px; }
  .portal { width: 100%; }
  .friends-row { width: 100%; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1 / -1; }
  .lb { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 0 12px 20px; }
  .lb-fig { grid-column: 1 / -1; padding: 60px 0 10px; }
  .lb-fig img { box-shadow: 0 0 0 5px var(--paper), 0 30px 80px #000; }
  .lb-prev { grid-row: 2; justify-self: end; margin-right: 8px; }
  .lb-next { grid-row: 2; justify-self: start; margin-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  h1 em path { stroke-dashoffset: 0; }
  .rv { opacity: 1; transform: none; }
}

/* ═══ CORNER PAGE (the default one every corner gets) ═══ */
.ktop .brand span { display: none; }
.kcrumb { display: flex; align-items: center; gap: 12px; min-width: 0; }
.kcrumb > i { width: 1.5px; height: 26px; flex: none; background: rgba(214, 195, 250, 0.35); rotate: 18deg; }
.kme { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font: 400 24px/1 var(--display); letter-spacing: 0.02em; color: #fff; }
.kme .av { --s: 34px; }
.kme span { padding-top: 2px; white-space: nowrap; }
.khero { position: relative; margin-top: -80px; padding-top: 80px; isolation: isolate; }
.khero-bg { position: absolute; inset: 0 0 auto; height: 410px; z-index: -1; overflow: hidden; background: radial-gradient(900px 420px at 80% 0, color-mix(in oklab, var(--c) 46%, transparent), transparent 70%), linear-gradient(115deg, color-mix(in oklab, var(--c) 34%, #1a0c38), #150a2e 70%); }
.khero-bg img { width: 100%; height: 100%; object-fit: cover; }
.khero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 5, 31, 0.78) 0, rgba(13, 5, 31, 0.3) 36%, rgba(13, 5, 31, 0.78) 76%, var(--bg)); }
.khead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 30px; align-items: end; padding-top: 150px; }
.kav { --s: 156px; box-shadow: 0 0 0 4px color-mix(in oklab, var(--c) 72%, white), 0 0 0 11px rgba(13, 5, 31, 0.7), 0 20px 50px rgba(4, 0, 16, 0.6); }
.kchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.kchip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(13, 5, 31, 0.74); font: 700 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.kchip-quiet { color: var(--lav); }
.kchip.is-live { background: var(--live); }
.kchip.is-live .ping, .kchip.is-live .ping::after { background: #fff; width: 7px; height: 7px; }
h1.kname { font-size: clamp(56px, 6.4vw, 96px); line-height: 0.9; overflow-wrap: anywhere; text-shadow: 0 2px 24px rgba(10, 2, 30, 0.7); }
.ktag { margin-top: 12px; max-width: 640px; font-size: 18px; color: #e9defc; }
.kcta { display: flex; gap: 12px; padding-bottom: 6px; }
.kcta .btn-twitch { height: 48px; padding: 0 22px; font-size: 15px; }
.kstats { display: flex; margin-top: 36px; border-radius: 22px; border: 1.5px solid var(--line); background: rgba(58, 44, 134, 0.22); }
.kstats div { flex: 1; padding: 18px 26px; }
.kstats div + div { border-left: 1.5px solid var(--line); }
.kstats dd { font: 400 44px/0.95 var(--display); color: color-mix(in oklab, var(--c) 45%, white); }
.kstats dt { margin-top: 6px; font: 700 10.5px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.kempty { margin-top: 70px; margin-bottom: 20px; padding: 60px 20px; border-radius: 26px; border: 1.5px dashed var(--line); text-align: center; font-size: 18px; color: var(--muted); }
.ksec { padding: 88px 0 0; }
.ksec[hidden], .kempty[hidden] { display: none; }
.kothers-sec { padding-bottom: 110px; }
.ksec .sec-head { margin-bottom: 30px; }
.ksec .sec-note b { color: #fff; font-weight: 600; }
.kh2 { font-size: clamp(40px, 4.6vw, 68px); overflow-wrap: anywhere; }
/* latest stream: one big drawing, four beside it */
.kmosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kmosaic .tile { position: relative; margin: 0; }
.kmosaic .tile:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; padding: 10px 10px 0; border-radius: 20px; }
.kmosaic .tile:first-child img { flex: 1 1 0; height: 0; min-height: 0; aspect-ratio: auto; border-radius: 12px; }
.kmosaic .tile:first-child .tile-cap { font-size: 15px; padding: 12px 5px 13px; }
.kmore { position: absolute; inset: 7px 7px auto; aspect-ratio: 16 / 9; display: grid; place-content: center; text-align: center; border-radius: 10px; background: rgba(13, 5, 31, 0.8); font: 400 42px/1 var(--display); color: #fff; }
.kmore small { margin-top: 6px; font: 600 12.5px var(--body); color: var(--mint); }
/* streams beside top artists */
.kcols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.khd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.khd h2 { font-size: clamp(38px, 4vw, 54px); }
.khd > span { font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); }
.klink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--mint); white-space: nowrap; }
.klink:hover { text-decoration: underline; text-underline-offset: 4px; }
.kstreams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kst { display: flex; flex-direction: column; text-align: left; border-radius: 20px; border: 1.5px solid var(--line); background: rgba(58, 44, 134, 0.22); overflow: hidden; transition: border-color 0.15s, transform 0.15s; }
.kst:hover { border-color: var(--mint); transform: translateY(-3px); }
.kst-cover { position: relative; display: block; }
.kst-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #fff; }
.kst-n { position: absolute; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(13, 5, 31, 0.84); font: 700 11px/1 var(--mono); color: #fff; }
.kst-body { display: block; padding: 13px 16px 15px; }
.kst-body b { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.25; color: #fff; overflow-wrap: anywhere; }
.kst-body small { font-size: 13px; color: var(--muted); }
.kst-all { align-items: center; justify-content: center; min-height: 130px; border-style: dashed; background: none; }
.kst-all span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--mint); }
.kboard { display: grid; gap: 6px; }
.kboard a { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 16px 11px 12px; border-radius: 16px; border: 1.5px solid var(--line); transition: border-color 0.15s; }
.kboard a::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); z-index: -1; background: color-mix(in oklab, var(--c) 24%, transparent); }
.kboard a:hover { border-color: var(--mint); }
.kboard i { font: 700 12px var(--mono); font-style: normal; text-align: center; color: var(--muted); }
.kboard li:nth-child(-n + 3) i { color: var(--mint); }
.kboard span { min-width: 0; font-weight: 600; font-size: 15.5px; color: #fff; overflow-wrap: anywhere; }
.kboard b { font: 400 22px/1 var(--display); color: #fff; }
.kboard-all { margin-top: 18px; }
/* gallery */
.kgal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.kfind { flex: 0 1 320px; height: 48px; }
.kmore-row { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 36px; }
.kmore-row .gal-note { margin: 0; }
.kothers { display: flex; flex-wrap: wrap; gap: 8px; }
.kothers .chip:hover { border-color: var(--mint); }

@media (max-width: 1180px) {
  .khead { grid-template-columns: auto minmax(0, 1fr); }
  .kcta { grid-column: 1 / -1; }
  .kcols { grid-template-columns: minmax(0, 1fr); gap: 70px; }
}
@media (max-width: 900px) {
  .kme { font-size: 21px; }
  .kme .av { --s: 30px; }
  .khero { margin-top: -118px; padding-top: 118px; }
  .khero-bg { height: 330px; }
  .khead { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 70px; }
  .kav { --s: 104px; }
  h1.kname { font-size: clamp(44px, 14vw, 64px); }
  .ktag { font-size: 16px; }
  .kcta { flex-wrap: wrap; }
  .kcta .btn { flex: 1 1 100%; }
  .kcta .btn-twitch { width: auto; }
  .kcta .btn-twitch span { display: inline; }
  .kstats { margin-top: 26px; }
  .kstats div { padding: 14px 14px; }
  .kstats dd { font-size: 30px; }
  .kstats dt { font-size: 9.5px; letter-spacing: 0.1em; }
  .ksec { padding-top: 62px; }
  .kothers-sec { padding-bottom: 80px; }
  .kmosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .kmosaic .tile:first-child { grid-row: auto; display: block; padding: 7px 7px 0; border-radius: 16px; }
  .kmosaic .tile:first-child img { height: auto; aspect-ratio: 16 / 9; border-radius: 10px; }
  .kmosaic .tile:first-child .tile-cap { font-size: 13px; padding: 9px 4px 10px; }
  .kmosaic .tile-cap small, .corner .gal-tile .tile-cap small { display: inline; }
  .kmore { font-size: 30px; }
  .kmore small { font-size: 11px; }
  .kstreams { gap: 12px; }
  .kst-body { padding: 10px 12px 12px; }
  .kst-body b { font-size: 15px; }
  .kst-n { font-size: 10px; right: 7px; bottom: 7px; }
  .kgal-head { margin-bottom: 20px; }
  .kfind { flex: 1 1 100%; }
  .corner .gal-tile { padding: 5px 5px 0; border-radius: 13px; }
}

/* ═══ CORNER: what the owner can customise ═══ */
.corner { display: flex; flex-direction: column; --hl: color-mix(in oklab, var(--c) 58%, white); --hl2: color-mix(in oklab, var(--c2, var(--c)) 58%, white); }
.corner > .kothers-sec { order: 90; }
.corner > .kempty { order: 5; }
.corner .eyebrow, .corner .klink, .corner .khd > span, .corner .kmore small, .corner .kst-all span, .corner .kboard li:nth-child(-n + 3) i { color: var(--hl); }
[data-page][hidden], #ktwitch[hidden], .ktag[hidden], .knote[hidden], #col-streams[hidden], #artists[hidden] { display: none !important; }
/* colours: second colour and panel colour */
.corner .kstats dd { color: var(--hl2); }
.corner .kboard a::before { background: linear-gradient(90deg, color-mix(in oklab, var(--c) 26%, transparent), color-mix(in oklab, var(--c2, var(--c)) 30%, transparent)); }
.corner .tile { background: var(--kp, #1b0e3a); }
.corner :is(.kstats, .kst:not(.kst-all), .kboard a) { background-color: var(--kp2, rgba(58, 44, 134, 0.22)); }
.khero-bg { background: radial-gradient(900px 420px at 80% 0, color-mix(in oklab, var(--c2, var(--c)) 46%, transparent), transparent 70%), linear-gradient(115deg, color-mix(in oklab, var(--c) 34%, #1a0c38), #150a2e 70%); -webkit-mask-image: linear-gradient(#000 58%, transparent); mask-image: linear-gradient(#000 58%, transparent); }
.khero-bg img { filter: blur(var(--kbb, 0px)); scale: 1.05; }
.khero-bg::after { background: linear-gradient(180deg, rgba(13, 5, 31, calc(var(--kbd, 0.3) + 0.45)) 0, rgba(13, 5, 31, var(--kbd, 0.3)) 38%, rgba(13, 5, 31, calc(var(--kbd, 0.3) + 0.4)) 100%); }
/* identity */
.ksocial { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ksocial:empty { display: none; }
.ksoc { padding: 6px 13px; border-radius: 999px; border: 1.5px solid rgba(214, 195, 250, 0.32); background: rgba(13, 5, 31, 0.5); font-weight: 600; font-size: 13.5px; color: #fff; transition: border-color 0.15s; }
.ksoc:hover { border-color: var(--hl); }
.knote { display: flex; align-items: flex-start; gap: 16px; margin-top: 18px; padding: 18px 22px; border-radius: 22px; border: 1.5px solid color-mix(in oklab, var(--c) 45%, transparent); background: color-mix(in oklab, var(--c) 10%, transparent); }
.knote .av { --s: 46px; }
.knote small { font: 700 10.5px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--hl); }
.knote p { margin-top: 5px; font-size: 17px; line-height: 1.5; color: #f1e9ff; white-space: pre-line; overflow-wrap: anywhere; }
.kcols.one { grid-template-columns: minmax(0, 1fr); }
.kcols.one .kstreams { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kcols.one .kboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* page background: image, pattern, ambient effect (three layers behind everything) */
.kbgimg, .kbgdim, .kpattern, .kfx { position: fixed; inset: 0; pointer-events: none; }
.kbgimg { inset: -30px; z-index: -4; display: none; background: center / cover no-repeat; filter: blur(var(--kgb, 0px)); }
.kbgdim { z-index: -3; display: none; background: var(--bg); opacity: var(--kgd, 0.6); }
body[data-kbgimg] :is(.kbgimg, .kbgdim) { display: block; }
.kpattern { z-index: -2; }
body[data-kpattern="dots"] .kpattern { background: radial-gradient(rgba(255, 255, 255, 0.13) 1.5px, transparent 2px) 0 0 / 26px 26px; }
body[data-kpattern="grid"] .kpattern { background: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 46px 46px, linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 46px 46px; }
body[data-kpattern="stripes"] .kpattern { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 16px); }
body[data-kpattern="stars"] .kpattern { background: radial-gradient(#fff 1px, transparent 1.6px) 20px 30px / 230px 230px, radial-gradient(rgba(255, 255, 255, 0.7) 1.2px, transparent 1.8px) 130px 90px / 310px 310px, radial-gradient(rgba(214, 195, 250, 0.9) 1.6px, transparent 2.2px) 70px 170px / 410px 410px, radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1.5px) 180px 200px / 170px 170px; }
.kfx { z-index: -1; overflow: hidden; }
.kfx i { position: absolute; left: calc(var(--x) * 1%); width: calc(5px * var(--s)); height: calc(5px * var(--s)); border-radius: 50%; }
body[data-kfx="snow"] .kfx i { top: calc(var(--y) * 1%); background: #fff; opacity: 0.7; animation: kfall var(--t) linear var(--dl) infinite; }
body[data-kfx="particles"] .kfx i { top: calc(var(--y) * 1%); background: color-mix(in oklab, var(--kfxc, #a78bfa) 70%, white); opacity: 0.65; animation: krise var(--t) linear var(--dl) infinite; }
body[data-kfx="fireflies"] .kfx i { top: calc(var(--y) * 1%); background: #ffe98a; box-shadow: 0 0 10px 3px rgba(255, 233, 138, 0.55); animation: kfly var(--t) ease-in-out var(--dl) infinite alternate; }
@keyframes kfall { from { transform: translate(0, -110vh); } to { transform: translate(40px, 110vh); } }
@keyframes krise { from { transform: translate(0, 110vh); } to { transform: translate(-30px, -110vh); } }
@keyframes kfly { 0% { transform: translate(0, 0); opacity: 0.1; } 50% { opacity: 0.9; } 100% { transform: translate(70px, -50px); opacity: 0.2; } }
/* title lettering: the eight fonts corners can already choose from */
body[data-kfont] { --kf: var(--display); --kft: uppercase; --kfs: 1; --kfl: 0.9; --kfsp: 0.01em; }
body[data-kfont="bangers"] { --kf: "Bangers", Impact, sans-serif; --kfs: 0.95; --kfl: 0.95; --kfsp: 0.03em; }
body[data-kfont="righteous"] { --kf: "Righteous", sans-serif; --kft: none; --kfs: 0.8; --kfl: 1; --kfsp: 0; }
body[data-kfont="oswald"] { --kf: "Oswald", sans-serif; --kfs: 0.86; --kfl: 1; --kfsp: 0; }
body[data-kfont="pressstart"] { --kf: "Press Start 2P", monospace; --kfs: 0.44; --kfl: 1.3; --kfsp: -0.02em; }
body[data-kfont="pacifico"] { --kf: "Pacifico", cursive; --kft: none; --kfs: 0.78; --kfl: 1.15; --kfsp: 0; }
body[data-kfont="marker"] { --kf: "Permanent Marker", cursive; --kft: none; --kfs: 0.8; --kfl: 1.05; --kfsp: 0; }
body[data-kfont="creepster"] { --kf: "Creepster", cursive; --kft: none; --kfs: 0.98; --kfl: 1; --kfsp: 0.02em; }
body[data-kfont] :is(h1.kname, .corner h2, .kme) { font-family: var(--kf); font-weight: 400; text-transform: var(--kft); letter-spacing: var(--kfsp); }
body[data-kfont] h1.kname { font-size: calc(clamp(56px, 6.4vw, 96px) * var(--kfs)); line-height: var(--kfl); }
body[data-kfont] .corner h2 { font-size: calc(clamp(38px, 4.2vw, 60px) * var(--kfs)); line-height: calc(var(--kfl) + 0.05); }
body[data-kfont] .kme { font-size: calc(24px * var(--kfs)); }
/* shape */
body[data-kradius="sharp"] .corner :is(.tile, .tile img, .kst, .kstats, .kboard a, .btn, .kchip, .chip, .kmore, .knote, .clist-find, .kempty, .ksoc) { border-radius: 5px; }
body[data-kradius="extra"] .corner :is(.tile, .kst, .knote) { border-radius: 30px; }
body[data-kradius="extra"] .corner .tile img, body[data-kradius="extra"] .corner .kmore { border-radius: 22px; }
body[data-kradius="extra"] .corner .kstats { border-radius: 34px; }
body[data-kradius="extra"] .corner .kboard a { border-radius: 26px; }
body[data-klogo="rounded"] :is(.kav, .kme .av, .knote .av) { border-radius: 24%; }
body[data-klogo="square"] :is(.kav, .kme .av, .knote .av) { border-radius: 5px; }
body[data-kbanner="small"] .khero-bg { height: 300px; }
body[data-kbanner="small"] .khead { padding-top: 50px; }
body[data-kbanner="large"] .khero-bg { height: 530px; }
body[data-kbanner="large"] .khead { padding-top: 260px; }
body[data-kbar="glass"] .ktop, body[data-kbar="solid"] .ktop { position: sticky; top: 0; }
body[data-kbar="glass"] .ktop { background: rgba(13, 5, 31, 0.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
body[data-kbar="solid"] .ktop { background: var(--bg); border-bottom: 1px solid var(--line); }
/* the panel */
.ked { position: fixed; top: 0; right: 0; bottom: 0; width: 392px; z-index: 85; display: flex; flex-direction: column; background: #150a2e; border-left: 1.5px solid var(--line); box-shadow: -30px 0 80px rgba(4, 0, 16, 0.5); }
.ked[hidden] { display: none; }
body.editing { padding-right: 392px; }
/* while the panel is open the page is narrower, so it borrows the tablet arrangement */
body.editing .top-link { display: none; }
body.editing .top-in { gap: 22px; }
body.editing .khead { grid-template-columns: auto minmax(0, 1fr); }
body.editing .kcta { grid-column: 1 / -1; }
.ked-top { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px 22px; }
.ked-top h2 { flex: 1; font: 400 30px/1 var(--display); }
.ked-saved { font: 700 10.5px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--mint); opacity: 0; transition: opacity 0.2s; }
.ked-saved.on { opacity: 1; }
.ked-x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); color: #fff; }
.ked-x:hover { border-color: var(--lav); }
.ked-tabs { display: flex; gap: 2px; padding: 0 16px; border-bottom: 1.5px solid var(--line); }
.ked-tabs button { flex: 1; padding: 10px 2px 11px; border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; font-weight: 600; font-size: 14px; color: var(--muted); }
.ked-tabs button:hover { color: #fff; }
.ked-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: var(--mint); }
.ked-body { flex: 1; overflow-y: auto; padding: 0 22px 20px; scrollbar-width: thin; scrollbar-color: rgba(214, 195, 250, 0.3) transparent; }
.ked-pane[hidden] { display: none; }
.ked-sec { padding: 20px 0; border-bottom: 1px solid var(--line); }
.ked-sec h3 { margin-bottom: 12px; font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lav); }
.ked-sec .hint { margin: -4px 0 12px; font-size: 13.5px; color: var(--muted); }
.ked-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: 12px; font-size: 14.5px; color: #e0d5f6; }
.ked-sec h3 + .ked-row { margin-top: 0; }
.ked-seg button { height: 32px; padding: 0 10px; font-size: 13px; }
.ked-row input[type="color"], .ked-color input { width: 34px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; }
.ked-colorrow { display: inline-flex; align-items: center; gap: 8px; }
.ked-off { height: 30px; padding: 0 11px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 12.5px; color: var(--muted); }
.ked-off:hover { color: #fff; border-color: var(--lav); }
.ked-off[aria-pressed="true"] { background: var(--lav); border-color: var(--lav); color: var(--ink); font-weight: 600; }
.ked-looks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ked-look { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--lb); text-align: left; font-weight: 600; font-size: 14px; color: #fff; }
.ked-look i { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--la); }
.ked-look:hover, .ked-fonts button:hover { border-color: var(--lav); }
.ked-look[aria-pressed="true"], .ked-fonts button[aria-pressed="true"] { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint); }
.ked-sw { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 4px; }
.ked-sw button { width: 30px; height: 30px; border-radius: 50%; background: var(--v); }
.ked-sw button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px #150a2e, 0 0 0 5px #fff; }
.ked-color { display: inline-flex; align-items: center; gap: 8px; margin-left: 2px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.ked-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ked-fonts button { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 62px; padding: 8px 12px; border-radius: 13px; border: 1.5px solid var(--line); text-align: left; color: #fff; overflow: hidden; }
.ked-fonts b { font-size: 21px; line-height: 1.15; font-weight: 400; white-space: nowrap; }
.ked-fonts small { font-size: 11.5px; color: var(--muted); }
.kf-bebas b { font-family: var(--display); text-transform: uppercase; font-size: 23px; }
.kf-bangers b { font-family: "Bangers", Impact, sans-serif; text-transform: uppercase; letter-spacing: 0.03em; }
.kf-righteous b { font-family: "Righteous", sans-serif; font-size: 18px; }
.kf-oswald b { font-family: "Oswald", sans-serif; font-weight: 500; text-transform: uppercase; font-size: 19px; }
.kf-pressstart b { font-family: "Press Start 2P", monospace; text-transform: uppercase; font-size: 10px; line-height: 2.2; }
.kf-pacifico b { font-family: "Pacifico", cursive; font-size: 18px; }
.kf-marker b { font-family: "Permanent Marker", cursive; font-size: 18px; }
.kf-creepster b { font-family: "Creepster", cursive; font-size: 22px; }
.ked-field { display: block; }
.ked-field + .ked-field { margin-top: 13px; }
.ked-field span { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.ked-field input, .ked-field textarea { width: 100%; padding: 10px 13px; border-radius: 12px; border: 1.5px solid var(--line); background: rgba(13, 5, 31, 0.5); font: 500 15px var(--body); color: #fff; outline: 0; resize: vertical; }
.ked-field input:focus, .ked-field textarea:focus { border-color: var(--mint); }
.ked-range { display: block; margin-top: 14px; }
.ked-range span { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 13.5px; color: #e0d5f6; }
.ked-range b { font: 500 12px var(--mono); color: var(--muted); }
.ked-range input { width: 100%; accent-color: var(--mint); }
.ked-up { display: flex; align-items: center; gap: 14px; }
.ked-thumb { width: 78px; height: 56px; flex: none; border-radius: 10px; border: 1.5px dashed rgba(214, 195, 250, 0.35); background: rgba(13, 5, 31, 0.5) center / cover no-repeat; }
.ked-up b { display: block; font-weight: 600; font-size: 15px; color: #fff; }
.ked-up small { display: block; font-size: 12.5px; color: var(--muted); }
.ked-upbtns { display: flex; gap: 8px; margin-top: 8px; }
.ked-upbtn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--lav); color: var(--ink); font-weight: 600; font-size: 12.5px; cursor: pointer; }
.ked-upbtn:hover { background: #fff; }
.ked-list { display: grid; gap: 6px; }
.ked-item { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px 6px 8px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 14.5px; color: #fff; }
.ked-item.sub { margin-left: 26px; padding-left: 14px; }
.ked-item > span { flex: 1; min-width: 0; padding-left: 4px; }
.ked-item small { font-size: 12.5px; color: var(--muted); }
.ked-item small.blk { display: block; margin: 3px 0 2px; line-height: 1.4; }
.ked-move { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--line); color: var(--lav); }
.ked-move .i { width: 14px; height: 14px; }
.ked-move.down .i { rotate: 180deg; }
.ked-move:disabled { opacity: 0.3; cursor: default; }
.ked-move:not(:disabled):hover { border-color: var(--lav); }
.ksw { position: relative; width: 40px; height: 24px; flex: none; align-self: flex-start; margin-top: 4px; border-radius: 12px; background: rgba(214, 195, 250, 0.22); transition: background 0.15s; }
.ksw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: translate 0.15s; }
.ksw[aria-checked="true"] { background: var(--mint); }
.ksw[aria-checked="true"]::after { translate: 16px 0; }
.ked-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.ked-picks button { border-radius: 8px; overflow: hidden; background: #fff; opacity: 0.7; transition: opacity 0.15s; }
.ked-picks button:hover { opacity: 1; }
.ked-picks img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ked-picks button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--mint); }
.ked-admin { padding-top: 18px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.ked-admin a { color: var(--lav); text-decoration: underline; text-underline-offset: 3px; }
.ked-foot { display: flex; gap: 10px; padding: 14px 22px; border-top: 1.5px solid var(--line); }
.ked-foot .btn { flex: 1; height: 44px; }
@media (max-width: 1180px) {
  .kcols.one .kstreams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ked { top: auto; left: 0; width: auto; height: 64vh; border-left: 0; border-top: 1.5px solid var(--line); border-radius: 22px 22px 0 0; box-shadow: 0 -30px 80px rgba(4, 0, 16, 0.6); }
  body.editing { padding-right: 0; padding-bottom: 64vh; }
  body.editing .khead { grid-template-columns: minmax(0, 1fr); }
  .ked-top { padding: 10px 12px 8px 18px; }
  .ked-top h2 { font-size: 26px; }
  .ked-tabs { padding: 0 10px; }
  .ked-body { padding: 0 18px 16px; }
  .ked-foot { padding: 10px 18px; }
  .kcols.one .kboard { grid-template-columns: minmax(0, 1fr); }
  .knote { padding: 14px 16px; gap: 12px; }
  .knote p { font-size: 15.5px; }
  body[data-kfont] h1.kname { font-size: calc(clamp(44px, 14vw, 64px) * var(--kfs)); }
  body[data-kfont] .corner h2 { font-size: calc(clamp(36px, 10vw, 46px) * var(--kfs)); }
  body[data-kfont] .kme { font-size: calc(21px * var(--kfs)); }
  body[data-kbanner="large"] .khero-bg { height: 420px; }
  body[data-kbanner="large"] .khead { padding-top: 150px; }
  body[data-kbanner="small"] .khead { padding-top: 30px; }
}

/* ═══ STREAMS PAGE ═══ */
.streams .khero-bg { height: 330px; }
.streams .prof-back { margin: 30px 0 26px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(13, 5, 31, 0.74); color: #fff; }
.streams .prof-back:hover { background: rgba(13, 5, 31, 0.92); }
.streams .khero-bg::after { background: linear-gradient(180deg, rgba(13, 5, 31, calc(var(--kbd, 0.3) + 0.5)) 0, rgba(13, 5, 31, calc(var(--kbd, 0.3) + 0.38)) 100%); }
.streams .khero .eyebrow { color: #fff; }
.streams .khero .eyebrow { margin-bottom: 12px; }
.streams .kstats { margin-top: 30px; }
.streams .kstats dt b { color: #fff; font-weight: 700; }
/* every stream as one bar */
.stl-wrap { margin-top: 18px; padding: 22px 24px 16px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--kp2, rgba(58, 44, 134, 0.22)); }
.stl { display: flex; align-items: stretch; gap: 16px; height: 128px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(214, 195, 250, 0.3) transparent; }
.stl-m { display: flex; flex-direction: column; flex: var(--n) 1 0; min-width: calc(var(--n) * 10px); }
.stl-bars { flex: 1; display: flex; align-items: flex-end; gap: 4px; min-height: 0; }
.stl-bars button { flex: 1; min-width: 6px; max-width: 30px; height: calc(var(--h) * 1%); border-radius: 5px 5px 2px 2px; background: color-mix(in oklab, var(--c) 52%, transparent); transition: background 0.15s; }
.stl-bars button:hover, .stl-bars button.on { background: var(--hl); }
.stl-m small { margin-top: 9px; padding-top: 8px; border-top: 1.5px solid var(--line); font: 700 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.stl-key { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
/* the list */
.slist-sec { padding-top: 56px; padding-bottom: 120px; }
.sctl { display: flex; align-items: center; justify-content: space-between; gap: 14px 18px; flex-wrap: wrap; }
.sctl .kfind { flex: 0 1 400px; }
.s-count { margin: 18px 0 -8px; }
.s-count[hidden], #s-partial[hidden] { display: none; }
.smonth { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 46px 0 20px; }
.smonth h3 { font: 400 36px/1 var(--display); letter-spacing: 0.01em; color: #fff; }
body[data-kfont] .smonth h3 { font-family: var(--kf); text-transform: var(--kft); letter-spacing: var(--kfsp); font-size: calc(36px * var(--kfs)); }
.smonth span { font: 700 11px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--hl); }
.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sgrid.flat { margin-top: 30px; }
.scard { scroll-margin: 120px; }
.scard.flash { animation: sflash 1.6s ease-out; }
@keyframes sflash { 0%, 55% { box-shadow: 0 0 0 4px var(--hl); } 100% { box-shadow: 0 0 0 4px transparent; } }
.snum { position: absolute; left: 10px; top: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(13, 5, 31, 0.84); font: 700 11px/1 var(--mono); color: #fff; }
.snum.latest { background: var(--hl); color: #10062a; }
.scard .kst-body small { display: block; margin-top: 2px; }
.scard .swho { color: color-mix(in oklab, var(--muted) 80%, white); overflow-wrap: anywhere; }
.scover-none { display: grid; place-items: center; aspect-ratio: 16 / 9; background: rgba(13, 5, 31, 0.5); font-size: 13px; color: var(--muted); }
body[data-kradius="sharp"] .corner :is(.stl-wrap, .snum, .stl-bars button) { border-radius: 5px; }
body[data-kradius="extra"] .corner .stl-wrap { border-radius: 30px; }
#s-none { margin-top: 30px; }
@media (max-width: 1180px) {
  .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .streams .khero-bg { height: 300px; }
  .streams .prof-back { margin: 22px 0 20px; }
  .streams .kstats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; }
  .streams .kstats div:nth-child(odd) { border-left: 0; }
  .streams .kstats div:nth-child(n + 3) { border-top: 1.5px solid var(--line); }
  .stl-wrap { padding: 16px 14px 12px; }
  .stl { height: 96px; gap: 10px; }
  .stl-bars { gap: 2px; }
  .stl-m { min-width: 0; }
  .stl-bars button { min-width: 2px; border-radius: 3px 3px 1px 1px; }
  .slist-sec { padding-top: 40px; padding-bottom: 90px; }
  .sctl .kfind { flex: 1 1 100%; }
  .sctl .seg { width: 100%; }
  .sctl .seg button { flex: 1; padding: 0 6px; }
  .smonth { margin: 36px 0 16px; gap: 6px 14px; }
  .smonth h3 { font-size: 30px; }
  body[data-kfont] .smonth h3 { font-size: calc(30px * var(--kfs)); }
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .snum { left: 7px; top: 7px; padding: 5px 8px; font-size: 10px; }
}

/* ═══ ONE STREAM ═══ */
.klatest { color: inherit; text-decoration: none; }
.klatest:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: var(--hl); }
.st-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.st-step { display: flex; gap: 8px; margin: 30px 0 26px; }
.st-step a, .st-step span { display: inline-flex; align-items: center; gap: 8px; max-width: 260px; padding: 8px 14px; border-radius: 999px; background: rgba(13, 5, 31, 0.74); font-weight: 500; font-size: 14px; color: #fff; white-space: nowrap; }
.st-step a:hover { background: rgba(13, 5, 31, 0.92); }
.st-step span { opacity: 0.4; }
.st-step b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.st-step small { font: 700 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stream h1.kname { overflow-wrap: anywhere; }
.stream .eyebrow .kchip { margin-left: 8px; vertical-align: 1px; }
/* (scoped to .stream: the main page's stream cards use .st-who and .st-body too) */
.stream .st-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.stream .st-who > span { margin-right: 4px; font: 700 10.5px var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.stream .st-who .chip { height: 36px; padding: 0 12px 0 4px; }
.stream .st-who .chip:hover { border-color: var(--hl); }
.pav { --s: 28px; width: var(--s); height: var(--s); flex: none; display: grid; place-items: center; border-radius: 50%; background: hsl(var(--hue) 55% 62%); color: #160a30; font: 700 calc(var(--s) * 0.46) / 1 var(--body); }
.st-whomore { height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px dashed var(--line); font-weight: 500; font-size: 13.5px; color: var(--lav); }
.st-whomore:hover { border-color: var(--lav); color: #fff; }
.stream .st-body { padding-top: 48px; padding-bottom: 120px; }
.st-note { margin-bottom: 26px; padding: 14px 18px; border-radius: 16px; border: 1.5px dashed var(--line); font-size: 14.5px; color: var(--muted); }
.st-note a { color: var(--hl); text-decoration: underline; text-underline-offset: 3px; }
.st-note[hidden], #st-more-row[hidden], #st-none[hidden] { display: none; }
/* games: a bar that stays under the top while you scroll */
.gnav { position: sticky; top: 0; z-index: 20; display: flex; gap: 8px; margin: 26px -6px 0; padding: 10px 6px; overflow-x: auto; scrollbar-width: none; background: linear-gradient(var(--bg) 70%, transparent); }
.gnav::-webkit-scrollbar { display: none; }
.gnav:empty { display: none; }
body[data-kbar="glass"] .gnav, body[data-kbar="solid"] .gnav { top: 80px; }
.gnav a { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 500; font-size: 14px; color: #e0d5f6; white-space: nowrap; transition: border-color 0.15s, background 0.15s; }
.gnav a b { font: 700 11px var(--mono); color: var(--muted); }
.gnav a:hover { border-color: var(--lav); }
.gnav a.on { border-color: var(--hl); background: color-mix(in oklab, var(--c) 18%, var(--bg)); color: #fff; }
.gnav a.on b { color: var(--hl); }
.game { margin-top: 44px; scroll-margin-top: 70px; }
.game[hidden] { display: none; }
.game-head { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1.5px solid var(--line); }
.game-head .gnum { font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--hl); }
.game-head h2 { font-size: clamp(36px, 4vw, 54px); line-height: 0.95; }
.game-head h2 .gmode-none { color: var(--muted); }
.game-head .gmeta { margin-left: auto; font-size: 14px; color: var(--muted); }
.gedit { display: inline-grid; place-items: center; width: 34px; height: 34px; align-self: center; border-radius: 50%; border: 1.5px solid var(--line); color: var(--lav); }
.gedit:hover { border-color: var(--lav); color: #fff; }
.gform { display: flex; align-items: center; gap: 8px; align-self: center; }
.gform input { width: 240px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--mint); background: rgba(13, 5, 31, 0.6); font: 600 18px var(--body); color: #fff; outline: 0; }
.gform .btn { height: 44px; padding: 0 16px; }
/* one album: who started it, then its pages in order */
.albs { display: grid; gap: 14px; }
.alb { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--kp2, rgba(58, 44, 134, 0.18)); }
.alb[hidden] { display: none; }
.alb-who { display: flex; flex-direction: column; gap: 10px; padding-left: 6px; }
.alb-who .pav { --s: 42px; }
.alb-who b { font-weight: 600; font-size: 16px; line-height: 1.25; color: #fff; overflow-wrap: anywhere; }
.alb-who small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.strip { display: flex; align-items: center; gap: 6px; margin: 0; padding: 2px 2px 4px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(214, 195, 250, 0.3) transparent; }
.strip li { display: flex; align-items: center; gap: 6px; flex: 1 1 0; min-width: 200px; max-width: 320px; scroll-snap-align: start; }
.strip li + li::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.strip .tile { position: relative; flex: 1; min-width: 0; margin: 0; }
.stream .tile .step { position: absolute; left: 13px; top: 13px; min-width: 24px; height: 24px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; background: rgba(13, 5, 31, 0.84); font: 700 11px/1 var(--mono); color: #fff; }
.stream .tile.hit { box-shadow: 0 0 0 3px var(--hl), 0 18px 44px rgba(6, 1, 20, 0.5); }
.stream .dim .tile:not(.hit) { opacity: 0.32; }
.game-more { display: flex; justify-content: center; margin-top: 18px; }
.ggrid, .allgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ggrid .tile, .allgrid .tile { position: relative; margin: 0; }
.allgrid .tile-cap small { overflow: hidden; text-overflow: ellipsis; }
/* the viewer */
.sv { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: rgba(9, 4, 22, 0.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.sv[hidden] { display: none; }
.sv-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px 0 26px; }
.sv-where { flex: 1; min-width: 0; font: 700 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lav); overflow-wrap: anywhere; }
.sv-where b { color: #fff; }
.sv-stage { flex: 1; min-height: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr) 76px; align-items: center; }
.sv-fig { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 0; padding: 16px 0; }
.sv-fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; background: #fff; box-shadow: 0 0 0 8px var(--paper), 0 30px 90px #000; }
.sv-fig img.turn { animation: svturn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes svturn { from { opacity: 0; transform: translateX(24px) rotate(1deg); } }
.sv-nav, .sv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; min-width: 46px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(214, 195, 250, 0.32); font-weight: 600; font-size: 14px; color: #fff; justify-self: center; transition: background 0.15s, border-color 0.15s; }
.sv-nav { width: 54px; height: 54px; padding: 0; }
.sv-nav:hover, .sv-btn:hover { background: rgba(214, 195, 250, 0.12); border-color: var(--lav); }
.sv-nav:disabled { opacity: 0.25; cursor: default; background: none; }
.sv-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 26px 20px; }
.sv-by { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sv-by .pav { --s: 40px; }
.sv-by b { display: block; font-weight: 700; font-size: 19px; color: #fff; overflow-wrap: anywhere; }
.sv-by a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.sv-by small { font-size: 13px; color: var(--muted); }
.sv-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.sv-like .i-on, .sv-like[aria-pressed="true"] .i-off { display: none; }
.sv-like[aria-pressed="true"] .i-on { display: block; }
.sv-like[aria-pressed="true"] { color: #ff8da1; border-color: #ff8da1; }
@media (max-width: 1180px) {
  .ggrid, .allgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .alb { grid-template-columns: 170px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .st-step { margin: 0 0 20px; width: 100%; }
  .st-top .prof-back { margin-bottom: 12px; }
  .st-step a, .st-step span { flex: 1; min-width: 0; max-width: none; justify-content: center; font-size: 13px; padding: 8px 10px; }
  .st-step small { display: none; }
  .stream .st-who .chip { height: 32px; font-size: 13px; }
  .stream .st-who .pav { --s: 24px; }
  .gnav { margin-top: 18px; }
  .game { margin-top: 34px; }
  .game-head h2 { font-size: 34px; }
  .game-head .gmeta { margin-left: 0; width: 100%; }
  .alb { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 18px; }
  .alb-who { flex-direction: row; align-items: center; padding-left: 2px; }
  .alb-who > div { flex: 1; min-width: 0; }
  .alb-who .pav { --s: 34px; }
  .alb-who b { font-size: 15px; }
  .strip li { flex: 0 0 74%; min-width: 0; max-width: none; }
  .ggrid, .allgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stream .tile .step { left: 9px; top: 9px; }
  .gform input { width: 100%; }
  .gform { width: 100%; }
  .sv-top { padding: 10px 10px 0 16px; }
  .sv-stage { grid-template-columns: minmax(0, 1fr); padding: 0 10px; }
  .sv-stage .sv-nav { display: none; }
  .sv-fig img { box-shadow: 0 0 0 5px var(--paper), 0 20px 60px #000; border-radius: 10px; }
  .sv-bar { gap: 12px; padding: 10px 14px 16px; }
  .sv-acts { grid-column: 1 / -1; justify-content: stretch; }
  .sv-acts > * { flex: 1; padding: 0 10px; }
  .sv-by b { font-size: 16px; }
}

/* ═══ ARTISTS TAB ═══ */
.artists .khero-bg { height: 300px; }
.a-top-sec { padding-top: 64px; }
.a-top-sec[hidden] { display: none; }
.podium-big { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.pod { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 290px; padding: 20px; border-radius: 26px; border: 1.5px solid var(--line); overflow: hidden; background: linear-gradient(150deg, color-mix(in oklab, var(--c) 30%, #1a0c38), #150a2e); transition: border-color 0.15s, transform 0.15s; }
.pod:hover { border-color: var(--hl); transform: translateY(-3px); }
.pod:first-child { min-height: 340px; }
.pod > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pod::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 5, 31, 0.05) 20%, rgba(13, 5, 31, 0.92) 78%); }
.pod-rank { position: absolute; top: 16px; left: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 400 24px/1 var(--display); color: #10062a; background: var(--hl); box-shadow: 0 0 0 4px rgba(13, 5, 31, 0.7); }
.pod:nth-child(2) .pod-rank { background: #d9d6ea; }
.pod:nth-child(3) .pod-rank { background: #f0a36b; }
.pod-who { display: flex; align-items: center; gap: 12px; }
.pod-who .apic { --s: 52px; }
.pod b { display: block; font-weight: 700; font-size: 20px; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.pod small { font-size: 14px; color: #e9defc; }
.pod small b { display: inline; font-size: inherit; color: var(--hl); }
.a-runners { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-top: 14px; }
.a-runners a { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 14.5px; color: #fff; }
.a-runners a:hover { border-color: var(--hl); }
.a-runners i { width: 22px; font: 700 11px var(--mono); font-style: normal; text-align: center; color: var(--muted); }
.a-runners span:not(.apic) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.a-runners .apic { --s: 32px; }
.a-runners small { font: 400 18px/1 var(--display); color: var(--hl); }
.apic { --s: 40px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; object-fit: cover; background: var(--plum-2); }
span.apic { display: grid; place-items: center; background: hsl(var(--hue) 55% 62%); color: #160a30; font: 700 calc(var(--s) * 0.44) / 1 var(--body); }
body[data-klogo="square"] .apic, body[data-klogo="rounded"] .apic { border-radius: 30%; }
.a-all { padding-top: 76px; padding-bottom: 120px; }
.a-all .sctl { margin-bottom: 8px; }
/* most drawings: ranked rows */
.arows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin-top: 26px; }
.arow { display: grid; grid-template-columns: 34px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 74px; padding: 10px 14px 10px 8px; border-radius: 18px; border: 1.5px solid transparent; transition: background 0.15s, border-color 0.15s; }
.arow:hover { background: rgba(214, 195, 250, 0.06); border-color: var(--line); }
.arow > i { font: 700 12px var(--mono); font-style: normal; text-align: right; color: var(--muted); }
.arow .apic { --s: 46px; }
.arow-id { min-width: 0; }
.arow-id b { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; color: #fff; overflow-wrap: anywhere; }
.arow-id small { display: flex; align-items: center; gap: 10px; margin-top: 5px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.arow-id small i { display: block; flex: 1; max-width: 160px; height: 5px; border-radius: 3px; background: rgba(214, 195, 250, 0.12); overflow: hidden; }
.arow-id small i::after { content: ""; display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: 3px; background: var(--hl); }
.arow-art { display: flex; gap: 5px; }
.arow-art img { width: 76px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; background: #fff; }
.arow mark, .achip mark { background: color-mix(in oklab, var(--c) 45%, transparent); color: #fff; border-radius: 3px; }
/* A to Z: an index of names */
.letters { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: 4px; margin: 18px -6px 0; padding: 10px 6px; background: linear-gradient(var(--bg) 75%, transparent); }
.letters[hidden] { display: none; }
body[data-kbar="glass"] .letters, body[data-kbar="solid"] .letters { top: 80px; }
.letters a, .letters span { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 10px; font: 700 13px var(--mono); color: #fff; }
.letters a:hover { background: color-mix(in oklab, var(--c) 25%, transparent); color: var(--hl); }
.letters span { color: rgba(214, 195, 250, 0.25); }
.aletter { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 14px; scroll-margin-top: 70px; }
.aletter h3 { font: 400 40px/1 var(--display); color: #fff; }
body[data-kfont] .aletter h3 { font-family: var(--kf); font-size: calc(40px * var(--kfs)); }
.aletter span { font: 700 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--hl); }
.achips { display: flex; flex-wrap: wrap; gap: 8px; }
.achip { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 4px 14px 4px 4px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 14.5px; color: #fff; transition: border-color 0.15s; }
.achip:hover { border-color: var(--hl); }
.achip .apic { --s: 32px; }
.achip span { overflow-wrap: anywhere; }
.achip small { font: 700 11.5px var(--mono); color: var(--muted); }
@media (max-width: 1180px) {
  .arow-art img:nth-child(n + 2) { display: none; }
}
@media (max-width: 900px) {
  .artists .khero-bg { height: 280px; }
  .a-top-sec { padding-top: 44px; }
  .podium-big { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pod, .pod:first-child { min-height: 180px; padding: 16px; border-radius: 20px; }
  .artists .khd { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pod-rank { width: 38px; height: 38px; font-size: 21px; }
  .a-runners { grid-template-columns: minmax(0, 1fr); }
  .a-all { padding-top: 56px; }
  .arows { grid-template-columns: minmax(0, 1fr); margin-top: 18px; gap: 4px; }
  .arow { grid-template-columns: 26px auto minmax(0, 1fr); padding: 8px 6px; min-height: 64px; }
  .arow .apic { --s: 40px; }
  .arow-art { display: none; }
  .letters { gap: 2px; }
  .letters a, .letters span { min-width: 28px; height: 30px; font-size: 12px; }
  .aletter h3 { font-size: 34px; }
}

/* ── account, notifications, saving (shared by every page, gv-account.js) ── */
.gv-pop { position: fixed; z-index: 120; width: min(320px, calc(100vw - 24px)); padding: 8px; border-radius: 18px; border: 1.5px solid var(--line); background: color-mix(in oklab, var(--plum) 94%, black); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.gv-pop[hidden] { display: none; }
.gv-pop-who { display: flex; align-items: center; gap: 11px; padding: 8px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.gv-pop-who img, .gv-pop-who .gv-pop-in { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.gv-pop-in { display: grid; place-items: center; background: var(--indigo); font: 700 16px var(--body); }
.gv-pop-who b { display: block; font-weight: 600; }
.gv-pop-who small { color: var(--muted); font-size: 12.5px; }
.gv-pop a, .gv-pop button.gv-pop-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 11px; font-size: 14.5px; text-align: left; }
.gv-pop a:hover, .gv-pop button.gv-pop-row:hover { background: rgba(214, 195, 250, 0.08); }
.gv-pop .i { width: 17px; height: 17px; color: var(--lav); }
.gv-pop-lab { padding: 10px 10px 4px; color: var(--muted); font: 600 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.gv-bell-list { max-height: min(420px, 60vh); overflow: auto; }
.gv-bell-list a { align-items: flex-start; }
.gv-bell-list a.unread::before { content: ""; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--mint); flex: none; }
.gv-bell-list a:not(.unread)::before { content: ""; width: 7px; flex: none; }
.gv-bell-list b { display: block; font-weight: 600; font-size: 14px; }
.gv-bell-list small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.gv-bell-empty { padding: 18px 12px; color: var(--muted); font-size: 14px; text-align: center; }
.gv-toast { position: fixed; left: 50%; bottom: 22px; z-index: 130; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 18px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5); transition: opacity 0.2s, transform 0.2s; max-width: calc(100vw - 32px); text-align: center; }
.gv-toast.on { opacity: 1; transform: translate(-50%, 0); }
.gv-toast.bad { background: #ffd3db; color: #5a0016; }
.gv-broke { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 140; display: grid; gap: 8px; justify-items: center; padding: 26px 28px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--plum); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.gv-broke span { color: var(--muted); }
.gv-broke button { margin-top: 6px; padding: 10px 18px; border-radius: 999px; background: var(--mint); color: #062a20; font-weight: 700; }
.gv-more { display: flex; justify-content: center; margin-top: 22px; }
.gv-more[hidden] { display: none; }
.gv-busy { opacity: 0.6; pointer-events: none; }
.hero-me .pp-me-in, .pp-me-id .pp-me-in { display: grid; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; font: 700 18px var(--body); flex: none; }
.hero-me .pp-me-in { width: 44px; height: 44px; box-shadow: 0 0 0 2px var(--mint); }
.pp-me-id .pp-me-in { width: 76px; height: 76px; font-size: 28px; box-shadow: 0 0 0 3px var(--mint); }
.live-who h3 small { font: 500 14px var(--body); letter-spacing: 0; color: var(--muted); }
.ked-saved.bad { color: #ff9aac; }

/* profile: pins on your own drawings, the signed-out card */
.gal-cell { position: relative; min-width: 0; }
.gal-cell .gal-tile { width: 100%; }
/* your own drawings: Pin (to the showcase), always in view */
.pin-btn { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px; border-radius: 999px; background: rgba(13, 5, 31, 0.8); border: 1.5px solid rgba(214, 195, 250, 0.32); font-weight: 600; font-size: 13px; color: #fff; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.pin-btn:hover { border-color: var(--mint); }
.pin-btn.on { background: var(--mint); border-color: var(--mint); color: #062a20; }
.pin-btn .i { width: 15px; height: 15px; }
.gal.pin-hint .pin-btn:not(.on) { animation: pin-hint 0.9s ease-in-out 3; }
@keyframes pin-hint { 50% { border-color: var(--mint); box-shadow: 0 0 0 5px rgba(116, 248, 208, 0.3); } }
.pc-out { display: block; }
.pc-outp { margin: 12px 0 18px; color: var(--muted); max-width: 46ch; }
.pc-out .btn-twitch span { display: inline; }

/* ── ranks: emblems on profiles and lists, and the /ranks page ── */
.rk-mark { display: inline-block; width: 22px; height: 22px; margin-left: 7px; vertical-align: -4px; object-fit: contain; }
.pc-rank { position: relative; padding-left: 92px; min-height: 84px; }
.pc-emblem { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 80px; height: 80px; display: grid; place-items: center; border-radius: 18px; transition: transform 0.15s; }
.pc-emblem:hover { transform: translateY(-50%) scale(1.06); }
.pc-emblem img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45)); }
.pc-rank-name { color: var(--rk, #fff) !important; }
@media (max-width: 720px) {
  .pc-rank { padding-left: 0; padding-top: 92px; }
  .pc-emblem { left: 50%; top: 0; transform: translateX(-50%); }
  .pc-emblem:hover { transform: translateX(-50%) scale(1.06); }
}
.rk-hero { position: relative; margin-top: -80px; padding: 140px 0 40px; overflow: hidden; isolation: isolate; text-align: center; }
.rk-hero .glow { z-index: -1; }
.rk-hero .eyebrow { justify-content: center; display: flex; color: var(--mint); }
.rk-hero h1 { margin: 18px 0 14px; font: 400 clamp(52px, 9vw, 104px)/0.92 var(--display); letter-spacing: 0.01em; }
.rk-hero h1 em { font-style: normal; color: var(--mint); }
.rk-lede { max-width: 620px; margin: 0 auto; font-size: 18px; color: #d9cdf3; }
.rk-strip { display: flex; justify-content: center; align-items: flex-end; gap: clamp(6px, 2vw, 22px); margin: 40px auto 0; max-width: 900px; }
.rk-strip a { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; gap: 6px; color: var(--muted); font: 700 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.rk-strip img { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: contain; transition: transform 0.15s; }
.rk-strip a:hover img { transform: translateY(-4px); }
.rk-strip a.on { color: var(--rk); }
.rk-you { margin: 36px auto 0; max-width: 760px; display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 22px; border: 1.5px solid color-mix(in oklab, var(--rk) 45%, transparent); background: color-mix(in oklab, var(--rk) 10%, var(--plum)); text-align: left; }
.rk-you img { width: 74px; height: 74px; object-fit: contain; flex: none; }
.rk-you-txt { flex: 1; min-width: 0; }
.rk-you b { color: var(--rk); }
.rk-you p { color: #e9e0fb; }
.rk-you small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.rk-you .pc-bar { margin-top: 10px; }
.rk-you .pc-bar i { background: var(--rk); box-shadow: 0 0 18px color-mix(in oklab, var(--rk) 60%, transparent); }
.rk-list { display: grid; gap: 16px; }
.rk-card { --rk: #fff; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 22px 30px 22px 22px; border-radius: 24px; border: 1.5px solid var(--line); background: linear-gradient(110deg, color-mix(in oklab, var(--rk) 12%, transparent), transparent 55%), rgba(35, 15, 70, 0.55); scroll-margin-top: 100px; }
.rk-card.on { border-color: color-mix(in oklab, var(--rk) 70%, transparent); box-shadow: 0 0 0 1px color-mix(in oklab, var(--rk) 40%, transparent), 0 20px 50px rgba(0, 0, 0, 0.35); }
.rk-card img { width: 150px; height: 130px; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45)); }
.rk-step { font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.rk-card h2 { margin: 4px 0 6px; font: 400 44px/1 var(--display); letter-spacing: 0.02em; color: var(--rk); }
.rk-card p { color: #e2d8f6; max-width: 52ch; }
.rk-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rk-tags span { padding: 5px 11px; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--rk) 40%, transparent); color: var(--rk); font: 700 11px var(--mono); letter-spacing: 0.06em; }
.rk-tags span.you { background: var(--rk); color: #12081f; border-color: var(--rk); }
.rk-need { text-align: right; }
.rk-need b { display: block; font: 400 54px/0.9 var(--display); color: #fff; }
.rk-need small { color: var(--muted); font-size: 13px; }
.rk-how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rk-how li { padding: 22px 24px; border-radius: 20px; border: 1.5px solid var(--line); background: rgba(35, 15, 70, 0.45); }
.rk-how b { display: block; margin-bottom: 6px; font-size: 17px; }
.rk-how p { color: var(--muted); font-size: 15px; }
.rk-how a { color: var(--mint); }
@media (max-width: 760px) {
  .rk-card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .rk-card img { width: 96px; height: 90px; }
  .rk-card h2 { font-size: 34px; }
  .rk-need { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; text-align: left; padding-top: 4px; border-top: 1px solid var(--line); }
  .rk-need b { display: inline; font-size: 34px; }
  .rk-how { grid-template-columns: minmax(0, 1fr); }
  .rk-strip span { display: none; }
  .rk-you { flex-direction: column; text-align: center; }
}

/* ── every artist (/artists) ── */
.people { --hl: var(--mint); --c: #a78bfa; }
.p-hero { padding-bottom: 10px; }
.p-stats { justify-content: center; margin: 34px auto 0; max-width: 820px; }
.p-you { --rk: var(--mint); display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 26px auto 0; padding: 12px 14px 12px 12px; border-radius: 20px; border: 1.5px solid color-mix(in oklab, var(--rk) 45%, transparent); background: color-mix(in oklab, var(--rk) 9%, var(--plum)); text-align: left; }
.p-you[hidden] { display: none; }
.p-you .apic { --s: 48px; }
.p-you-txt { flex: 1; min-width: 0; }
.p-you-txt b { display: block; font-weight: 700; }
.p-you-txt small { color: var(--muted); font-size: 13.5px; }
.p-you-rk { width: 44px; height: 44px; object-fit: contain; }
.p-rklink { font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); }
.p-ranks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.p-ranks .chip { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; color: #e9e0fb; }
.p-ranks .chip img { width: 24px; height: 24px; object-fit: contain; }
.p-ranks .chip small { font: 700 11px var(--mono); color: var(--muted); }
.p-ranks .chip[aria-pressed="true"] { border-color: var(--rk, var(--mint)); background: color-mix(in oklab, var(--rk, var(--mint)) 14%, transparent); color: #fff; }
.p-ranks .p-rk { color: var(--rk); }
.p-sel { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 16px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); font-size: 13.5px; }
.p-sel select { height: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: 500 14.5px var(--body); max-width: 180px; }
.p-sel select option { background: var(--plum); }
.p-ctl { margin-bottom: 4px; }
.p-where { display: flex; align-items: center; }
.p-where .av { width: 28px; height: 28px; margin-left: -7px; border: 2px solid var(--bg); }
.p-where .av:first-child { margin-left: 0; }
.p-where small { margin-left: 6px; font: 700 11px var(--mono); color: var(--muted); }
.arow.is-me { border-color: color-mix(in oklab, var(--mint) 55%, transparent); background: rgba(116, 248, 208, 0.06); }
.rk-tags a { padding: 5px 11px; border-radius: 999px; border: 1.5px solid color-mix(in oklab, var(--rk) 40%, transparent); color: var(--rk); font: 700 11px var(--mono); letter-spacing: 0.06em; }
.rk-tags a:hover { background: color-mix(in oklab, var(--rk) 16%, transparent); }
@media (max-width: 760px) {
  .p-sel { width: 100%; justify-content: space-between; }
  .p-sel select { max-width: none; flex: 1; text-align: right; }
  .p-where .av:nth-child(n + 3), .p-where small { display: none; }
  .p-you { flex-wrap: wrap; }
  .p-you .btn { width: 100%; justify-content: center; }
}

/* the drawing viewer leads with who drew it */
.lb-by { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 999px; transition: background 0.15s; }
a.lb-by:hover { background: rgba(214, 195, 250, 0.1); }
a.lb-by:hover b { text-decoration: underline; text-underline-offset: 4px; }
.lb-by-pic { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; background: var(--plum-2); box-shadow: 0 0 0 2px rgba(214, 195, 250, 0.35); }
span.lb-by-pic { display: grid; place-items: center; background: hsl(var(--hue) 55% 62%); color: #160a30; font: 700 18px/1 var(--body); }
span.lb-by-none { background: var(--plum-2); color: var(--muted); }
.lb-fig figcaption .lb-by b { font: 700 22px/1.1 var(--body); color: #fff; }
.sv-by img.pav { object-fit: cover; }
@media (max-width: 760px) {
  .lb-by-pic { width: 34px; height: 34px; }
  .lb-fig figcaption .lb-by b { font-size: 18px; }
}
/* the viewer's picture-frame rule is for the drawing, not the artist's face */
.lb-fig figcaption img.lb-by-pic { max-height: none; border-radius: 50%; background: var(--plum-2); box-shadow: 0 0 0 2px rgba(214, 195, 250, 0.35); }

/* ── NSFW (src/lib/nsfw.ts, gv-live.js) ──────────────────────────
   An NSFW drawing's picture ends in "#nsfw": blurred until the visitor says yes */
html:not(.gv-nsfw-ok) img[src$="#nsfw"] { filter: blur(18px) saturate(0.55) brightness(0.7); clip-path: inset(0 round 8px); }
html:not(.gv-nsfw-ok) .lb-fig img[src$="#nsfw"] { clip-path: inset(0 round 16px); filter: blur(34px) saturate(0.55) brightness(0.7); }
.nsfw-tag { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; container-type: size; }
.nsfw-tag > span {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px; border-radius: 999px;
  background: rgba(13, 5, 31, 0.78); border: 1px solid rgba(255, 98, 118, 0.55); color: #ffd3da;
  font: 700 11px/1 var(--mono); letter-spacing: 0.14em; box-shadow: 0 6px 18px rgba(6, 1, 20, 0.45);
}
.nsfw-tag svg { width: 15px; height: 15px; flex: none; }
@container (max-width: 96px) { .nsfw-tag > span { padding: 5px; } .nsfw-tag b { display: none; } }
html.gv-nsfw-ok .nsfw-tag { display: none; }
/* beside a corner's name */
.nsfw-chip { display: inline-block; margin-left: 7px; padding: 2px 6px; border-radius: 5px; vertical-align: 0.15em; font: 700 9.5px/1.2 var(--mono); letter-spacing: 0.12em; color: #ffd3da; background: rgba(255, 77, 109, 0.16); border: 1px solid rgba(255, 98, 118, 0.5); }
/* the question, and the warning a whole NSFW page opens with */
body.nsfw-asking { overflow: hidden; }
.nsfw-ask { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 20px; background: rgba(8, 2, 22, 0.74); backdrop-filter: blur(8px); animation: nsfw-in 0.18s ease-out; }
.nsfw-ask.is-gate { background: rgba(8, 2, 22, 0.88); backdrop-filter: blur(26px) saturate(0.6); animation: none; }
@keyframes nsfw-in { from { opacity: 0; } }
.nsfw-card {
  width: min(480px, 100%); padding: 30px 28px 24px; border-radius: 24px; text-align: center;
  background: linear-gradient(180deg, #2c1558, #1b0c3a); border: 1px solid rgba(255, 98, 118, 0.35);
  box-shadow: 0 0 0 6px rgba(255, 77, 109, 0.06), 0 40px 120px rgba(0, 0, 0, 0.6);
}
.nsfw-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; color: #ff8a9c; background: rgba(255, 77, 109, 0.12); border: 1.5px solid rgba(255, 98, 118, 0.5); }
.nsfw-icon svg { width: 28px; height: 28px; }
.nsfw-card .eyebrow { color: #ff8a9c; margin-bottom: 10px; }
.nsfw-card h2 { font-size: clamp(34px, 7vw, 46px); line-height: 0.95; overflow-wrap: anywhere; }
.nsfw-card p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.nsfw-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.nsfw-btns .btn { white-space: normal; text-align: center; line-height: 1.2; }
.nsfw-card small { display: block; margin-top: 16px; font: 500 11.5px/1.4 var(--mono); color: var(--muted); }
@media (max-width: 520px) { .nsfw-card { padding: 26px 18px 20px; } .nsfw-btns .btn { flex: 1 1 100%; } }

/* ═══ network announcement (gv-announce.js): a popup once, a card on the host's corner page ═══ */
.ann { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(8, 2, 22, 0.82); backdrop-filter: blur(8px); animation: ann-fade 0.25s ease-out; }
@keyframes ann-fade { from { opacity: 0; } }
.ann-box { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: center; width: min(920px, 100%); max-height: calc(100dvh - 40px); overflow: auto; padding: 34px 36px; border-radius: 28px; border: 1.5px solid color-mix(in oklab, var(--c) 45%, transparent); background: radial-gradient(120% 90% at 0% 0%, color-mix(in oklab, var(--c) 24%, transparent), transparent 60%), linear-gradient(180deg, #24124a, #140a2e); box-shadow: 0 40px 100px rgba(4, 0, 16, 0.7); }
.ann .ann-box { animation: ann-pop 0.35s cubic-bezier(0.2, 0.8, 0.2, 1.1); }
@keyframes ann-pop { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
.ann-x { position: absolute; top: 16px; right: 16px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: rgba(13, 5, 31, 0.5); color: var(--lav); }
.ann-x:hover { border-color: var(--lav); color: #fff; }
/* a fanned little deck of collectible cards */
.ann-deck { position: relative; height: 270px; }
.ann-card { position: absolute; left: 50%; top: 50%; z-index: 1; display: flex; flex-direction: column; width: 138px; aspect-ratio: 5 / 7; margin: -97px 0 0 -69px; padding: 8px 8px 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 18px 40px rgba(4, 0, 16, 0.55); transform: rotate(calc((var(--i) - 1) * 12deg)) translateX(calc((var(--i) - 1) * 40px)); transform-origin: 50% 120%; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ann-card:nth-child(2) { z-index: 2; }
.ann-box:hover .ann-card { transform: rotate(calc((var(--i) - 1) * 15deg)) translateX(calc((var(--i) - 1) * 50px)); }
.ann-card img, .ann-card i { flex: 1; min-height: 0; width: 100%; border-radius: 8px; object-fit: cover; background: color-mix(in oklab, var(--c) 30%, #f2ecff); }
.ann-card small { padding: 7px 2px 8px; overflow: hidden; font: 700 10px var(--mono); letter-spacing: 0.06em; text-align: center; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.ann-words { min-width: 0; }
.ann-kicker { display: flex; align-items: center; gap: 10px; padding-right: 44px; font: 700 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, var(--c) 55%, white); }
.ann-av { display: grid; place-items: center; flex: none; width: 30px; height: 30px; overflow: hidden; border-radius: 50%; background: color-mix(in oklab, var(--c) 40%, #160a30); box-shadow: 0 0 0 2px color-mix(in oklab, var(--c) 70%, white); }
.ann-av img { width: 100%; height: 100%; object-fit: cover; }
.ann-av b { font: 400 14px var(--display); letter-spacing: 0; color: #fff; }
.ann-title { margin: 12px 0 14px; font: 400 clamp(40px, 5vw, 58px) / 0.95 var(--display); letter-spacing: 0.01em; color: #fff; }
.ann-p { font-size: 16px; line-height: 1.55; color: #e2d8f7; }
.ann-p + .ann-p { margin-top: 8px; }
.ann-small { font-size: 14.5px; color: var(--muted); }
.ann-callout { margin: 14px 0; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed rgba(116, 248, 208, 0.45); background: rgba(116, 248, 208, 0.07); font-size: 14.5px; line-height: 1.5; color: #dffbf2; }
.ann-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ann-btns .i { width: 16px; height: 16px; }
/* on the host's own corner page, under the header, for good */
.ann-sec { padding-top: 40px; }
.ann-inline { width: 100%; grid-template-columns: 230px minmax(0, 1fr); gap: 26px; max-height: none; overflow: visible; padding: 20px 28px; box-shadow: 0 24px 60px rgba(4, 0, 16, 0.45); }
.ann-inline .ann-deck { height: 190px; }
.ann-inline .ann-card { width: 104px; margin: -73px 0 0 -52px; transform: rotate(calc((var(--i) - 1) * 12deg)) translateX(calc((var(--i) - 1) * 30px)); }
.ann-inline:hover .ann-card { transform: rotate(calc((var(--i) - 1) * 15deg)) translateX(calc((var(--i) - 1) * 38px)); }
.ann-inline .ann-title { margin: 7px 0 8px; font-size: 36px; }
.ann-inline .ann-body .ann-p { display: inline; }
.ann-inline .ann-more { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 10px; }
.ann-inline .ann-callout { margin: 0; padding: 9px 12px; }
.ann-inline .ann-small { font-size: 13.5px; line-height: 1.45; }
.ann-inline .ann-btns { margin-top: 12px; }
.ann-inline .ann-btns .btn { height: 42px; font-size: 14.5px; }
.ann-box:focus { outline: none; }
.ann-inline .ann-kicker { padding-right: 0; }
@media (max-width: 760px) {
  .ann { padding: 12px; }
  .ann-box, .ann-inline { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 24px 18px 20px; }
  .ann-deck { height: 186px; }
  .ann-card { width: 104px; margin: -76px 0 0 -52px; transform: rotate(calc((var(--i) - 1) * 12deg)) translateX(calc((var(--i) - 1) * 34px)); }
  .ann-box:hover .ann-card { transform: rotate(calc((var(--i) - 1) * 12deg)) translateX(calc((var(--i) - 1) * 34px)); }
  .ann-title { font-size: 40px; }
  .ann-inline .ann-more { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ann-btns .btn { flex: 1 1 100%; justify-content: center; }
}
/* a Garticverse card back */
.ann-back::before { content: ""; flex: 1; margin-bottom: 8px; border-radius: 8px; background: radial-gradient(circle at 50% 46%, color-mix(in oklab, var(--c) 50%, #2c1558) 0 24%, transparent 25%), repeating-linear-gradient(45deg, #2c1558 0 9px, #22104a 9px 18px); }
.ann-back img { position: absolute; left: 50%; top: 46%; width: 30%; translate: -50% -50%; }

/* ═══ sharing one drawing (gv-share.js): the viewer's Share button and its menu ═══ */
.lb-share { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; border: 1.5px solid rgba(214, 195, 250, 0.32); background: rgba(13, 5, 31, 0.4); font: 600 14px var(--body); color: #fff; transition: border-color 0.15s, background 0.15s; }
.lb-share:hover, .lb-share[aria-expanded="true"] { border-color: var(--mint); background: rgba(116, 248, 208, 0.1); }
.lb-share .i { width: 16px; height: 16px; }
.gsm { position: fixed; z-index: 140; min-width: 200px; padding: 6px; border-radius: 16px; border: 1.5px solid rgba(214, 195, 250, 0.22); background: #1f0f42; box-shadow: 0 24px 60px rgba(4, 0, 16, 0.7); animation: tip-in 0.15s ease-out; }
.gsm button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; border-radius: 11px; font: 600 14.5px var(--body); color: #fff; text-align: left; }
.gsm button:hover, .gsm button:focus-visible { background: rgba(116, 248, 208, 0.12); outline: none; }
.gsm .i { flex: none; width: 18px; height: 18px; color: var(--mint); }
.gsm-note { max-width: 230px; padding: 8px 12px 6px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }

/* ═══ news (gv-news.js): the megaphone in the top bar and its panel ═══ */
.gvn-btn .i { width: 20px; height: 20px; }
.top .nav a { white-space: nowrap; }
/* narrower windows: the top bar keeps to one line */
@media (min-width: 901px) and (max-width: 1240px) {
  .top .nav a { padding-inline: 9px; font-size: 14.5px; }
  .top .top-right { gap: 8px; }
  .top .me-chip span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (min-width: 901px) and (max-width: 1050px) { .top .pill-sched { display: none; } }
.gvn-btn b { background: var(--mint); color: #10062a; }
.gvn-btn[aria-expanded="true"] { border-color: var(--mint); color: var(--mint); }
.gvn { position: fixed; z-index: 115; display: flex; flex-direction: column; width: min(440px, calc(100vw - 24px)); max-height: min(680px, calc(100dvh - 100px)); overflow: hidden; border-radius: 22px; border: 1.5px solid rgba(214, 195, 250, 0.22); background: #1a0c38; box-shadow: 0 30px 80px rgba(4, 0, 16, 0.75); animation: tip-in 0.16s ease-out; }
.gvn:focus { outline: none; }
.gvn-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px 20px; border-bottom: 1px solid var(--line); }
.gvn-head h2 { flex: 1; font: 400 30px/1 var(--display); letter-spacing: 0.015em; color: #fff; }
.gvn-write { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; background: var(--mint); font-weight: 700; font-size: 13.5px; color: #10062a; }
.gvn-write .i { width: 15px; height: 15px; }
.gvn-write:hover { background: #a2fce1; }
.gvn-x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--lav); }
.gvn-x:hover { background: rgba(214, 195, 250, 0.1); color: #fff; }
.gvn-x .i { width: 17px; height: 17px; }
.gvn-list { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(214, 195, 250, 0.3) transparent; }
.gvn-post + .gvn-post { border-top: 1px solid var(--line); }
.gvn-post summary { display: grid; gap: 4px; padding: 15px 20px 14px; cursor: pointer; list-style: none; }
.gvn-post summary::-webkit-details-marker { display: none; }
.gvn-post summary:hover { background: rgba(214, 195, 250, 0.05); }
.gvn-post summary b { font-weight: 700; font-size: 18px; line-height: 1.25; color: #fff; overflow-wrap: anywhere; }
.gvn-when { display: flex; align-items: center; gap: 9px; font: 700 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gvn-when i { padding: 2px 7px; border-radius: 6px; background: var(--mint); font-style: normal; color: #10062a; }
.gvn-body { font-size: 15px; line-height: 1.5; color: #ddd2f3; overflow-wrap: anywhere; }
.gvn-post .gvn-body { padding: 0 20px 18px; }
.gvn-body h4 { margin: 16px 0 7px; font: 700 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.gvn-body p + p, .gvn-body ul + p { margin-top: 11px; }
.gvn-body ul { display: grid; gap: 7px; }
.gvn-body li { position: relative; padding-left: 17px; }
.gvn-body li::before { content: ""; position: absolute; left: 2px; top: 0.58em; width: 6px; height: 6px; border-radius: 50%; background: rgba(116, 248, 208, 0.65); }
.gvn-body a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.gvn-post footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 20px 16px; font-size: 14px; color: var(--muted); }
.gvn-post footer button { height: 32px; padding: 0 13px; border-radius: 999px; border: 1.5px solid rgba(214, 195, 250, 0.28); font-weight: 600; font-size: 13px; color: #fff; }
.gvn-post footer button:hover { border-color: var(--lav); }
.gvn-post footer .gvn-red { border-color: #ff5d7a; color: #ff9fb0; }
.gvn-none { padding: 34px 20px; text-align: center; color: var(--muted); }
.gvn-form { display: grid; gap: 12px; padding: 16px 20px 20px; overflow-y: auto; }
.gvn-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--lav); }
.gvn-form input, .gvn-form textarea { width: 100%; padding: 10px 13px; border-radius: 12px; border: 1.5px solid rgba(214, 195, 250, 0.28); background: rgba(13, 5, 31, 0.6); font: 500 15px/1.5 var(--body); color: #fff; resize: vertical; }
.gvn-form input:focus, .gvn-form textarea:focus { border-color: var(--mint); outline: none; }
.gvn-tip { font-size: 13px; color: var(--muted); }
.gvn-tip code { padding: 1px 5px; border-radius: 5px; background: rgba(214, 195, 250, 0.13); font: 700 12px var(--mono); color: #fff; white-space: pre; }
.gvn-prev { padding: 12px 14px; border-radius: 14px; border: 1.5px dashed rgba(214, 195, 250, 0.25); }
.gvn-prev > span { display: block; margin-bottom: 6px; font: 700 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gvn-prev > b { display: block; margin-bottom: 6px; font-weight: 700; font-size: 17px; color: #fff; overflow-wrap: anywhere; }
.gvn-acts { position: sticky; bottom: -20px; display: flex; gap: 10px; margin: 0 -20px -20px; padding: 12px 20px 16px; border-top: 1px solid var(--line); background: #1a0c38; }
.gvn-acts .btn { height: 44px; }
