:root {
  --bg: #060305;
  --ink: #f3ecec;
  --muted: #9a8084;
  --red: #d01828;
  --red-2: #8a0f18;
  --line: #2a1518;
  --panel: #0d0809;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --display: "Archivo Black", Impact, sans-serif;
  --hand: "Neucha", "Comic Sans MS", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--mono);
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(208, 24, 40, 0.16), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(255, 255, 255, 0.03), transparent 50%),
    var(--bg);
  line-height: 1.45;
  overflow-x: hidden;
}

body.is-booting { overflow: hidden; }

a { color: inherit; text-decoration: none; }

.film,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.film {
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 3px
  );
  opacity: 0.35;
}

.noise {
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ---- boot ---- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 40%, #151010, #050203 60%, #000);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot__win {
  width: min(720px, 100%);
  border: 1px solid #333;
  background: #0e0e0e;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  animation: term-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s forwards;
  overflow: hidden;
}
.boot__bar {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  height: 42px;
  padding: 0 12px;
  background: linear-gradient(180deg, #2a2a2a, #1f1f1f);
}
.boot__dots { display: flex; gap: 8px; }
.boot__dot { width: 12px; height: 12px; border-radius: 50%; background: #555; }
.boot__dot--close { background: #ed5c5c; }
.boot__dot--min { background: #f0bf4c; }
.boot__dot--max { background: #61c554; }
.boot__title { text-align: center; color: #cfcfcf; font-size: 0.78rem; }
.boot__body { min-height: 220px; padding: 18px; background: #0a0a0a; font-size: 0.92rem; }
.boot__line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.boot__prompt { color: #7dcf8a; font-weight: 600; }
.boot__caret {
  display: inline-block; width: 9px; height: 1.05em; background: #d8d8d8;
  animation: blink 1s step-end infinite;
}
.boot__caret.is-hidden { display: none; }
.boot__out {
  margin: 14px 0 0; color: #bdbdbd; white-space: pre-wrap; line-height: 1.55;
  opacity: 0; transform: translateY(6px); transition: 0.35s ease;
}
.boot__out.is-show { opacity: 1; transform: none; }
.skip {
  position: fixed; right: 18px; bottom: 18px; z-index: 110;
  min-height: 36px; padding: 0 14px; border: 1px solid #333;
  background: rgba(10, 10, 10, 0.85); color: #bbb; font: inherit;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
body.is-ready .skip, body:not(.is-booting) .skip { display: none; }
@keyframes term-in { to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---- page ---- */
.wrap {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 20px));
  margin: 0 auto;
  padding: 18px 0 48px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
body.is-ready .wrap { opacity: 1; transform: none; }

.reveal {
  opacity: 0;
  transform: translateY(18px) rotate(-0.2deg);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
body.is-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px dashed #3a1c20;
  background: rgba(8, 4, 5, 0.85);
}
.brand {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--red);
}
.nav { display: flex; gap: 14px; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--red); }
.lang { display: inline-flex; border: 1px solid var(--line); }
.lang__btn {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 0.75rem; padding: 7px 10px; cursor: pointer;
}
.lang__btn + .lang__btn { border-left: 1px solid var(--line); }
.lang__btn.is-on, .lang__btn:hover { color: #fff; background: #1a0c0e; }

.profile {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(208, 24, 40, 0.08), transparent 40%),
    var(--panel);
  margin-bottom: 14px;
}
.profile .role {
  margin: 0 0 6px;
  color: #c9898e;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.profile__ava {
  position: relative;
  width: 160px;
  height: 160px;
}
.profile__ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #1f1f1f;
  box-shadow: 6px 6px 0 rgba(208, 24, 40, 0.35);
  display: block;
  filter: contrast(1.05);
}
.live {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2fbf71;
  border: 2px solid #111;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(47, 191, 113, 0); }
}
.profile__body h2 {
  margin: 0;
  font-family: var(--hand);
  font-size: 2.4rem;
  line-height: 1;
}
.handles {
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  font-size: 0.9rem;
}
.handles a {
  color: #efc6c9;
  border-bottom: 1px solid transparent;
}
.handles a:hover { border-bottom-color: var(--red); color: #fff; }
.also { color: var(--muted); font-size: 0.78rem; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chips span {
  padding: 5px 9px;
  border: 1px solid #3a1c20;
  background: #12090a;
  color: #c9a0a4;
  font-size: 0.72rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.btn {
  --btn-x: 0px;
  --btn-y: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid #3a3a3a;
  background: #121212;
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 3px 3px 0 #000;
  transform: translate(var(--btn-x), var(--btn-y));
  transition: 0.12s ease;
}
.btn:hover {
  transform: translate(calc(var(--btn-x) - 1px), calc(var(--btn-y) - 1px));
  box-shadow: 4px 4px 0 #000;
  border-color: #666;
}
.btn:active {
  transform: translate(calc(var(--btn-x) + 2px), calc(var(--btn-y) + 2px));
  box-shadow: 1px 1px 0 #000;
}
.btn--hot {
  border-color: #7a1018;
  background: linear-gradient(180deg, #d01828, #8a0f18);
}
.btn--hot:hover { border-color: #ff3a48; filter: brightness(1.05); }
.btn--sm { min-height: 34px; padding: 0 11px; font-size: 0.8rem; }
.btn.is-copied { border-color: #2fbf71; color: #2fbf71; }



/* Yandex Music?style player + lyrics */
.ym {
  --ym-accent: #ffcc00;
  --ym-text: #fff;
  --ym-muted: rgba(255,255,255,0.55);
  --ym-line: rgba(255,255,255,0.12);
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #3a1c20;
  padding: 18px 18px 14px;
  color: var(--ym-text);
  isolation: isolate;
  background: #121214;
}
.ym.is-drop {
  outline: 2px dashed var(--ym-accent);
  outline-offset: -4px;
}
.ym__bg {
  position: absolute;
  inset: -20%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: blur(40px) saturate(1.2) brightness(0.35);
  transform: scale(1.15);
}
.ym::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,8,10,0.25), rgba(10,8,10,0.82) 55%, #0c0a0c),
    radial-gradient(80% 60% at 20% 0%, rgba(208,24,40,0.25), transparent 60%);
}
.ym__top {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}
.ym__cover-wrap {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  background: #000;
}
.ym__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ym.is-playing .ym__cover-wrap {
  box-shadow: 0 0 0 2px rgba(255,204,0,0.35), 0 12px 40px rgba(0,0,0,0.55);
}
.ym__label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ym-muted);
}
.ym__title {
  margin: 0;
  font-family: var(--hand);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1;
  font-weight: 700;
}
.ym__artist {
  margin: 8px 0 0;
  font-size: 1rem;
  color: #f0e6d8;
}
.ym__album {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--ym-muted);
}
.ym__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.ym__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--ym-line);
  font-size: 0.68rem;
  color: #ddd;
}
.ym__badge--hot {
  background: rgba(208,24,40,0.25);
  border-color: rgba(255,80,90,0.35);
  color: #ffb7bc;
}

.ym__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 4px 0 10px;
}
.ym__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.ym__btn--ghost {
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.75);
}
.ym__btn--ghost:hover { color: #fff; }
.ym__btn--play {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.18s ease, opacity 0.15s ease, box-shadow 0.18s ease;
  overflow: visible;
}
.ym__btn--play:hover { transform: scale(1.06); }
.ym__btn--play.is-press { transform: scale(0.92); }
.ym__btn--play:disabled {
  opacity: 0.45;
  cursor: wait;
  transform: none;
}
.ym__btn--play.is-loading {
  animation: ym-pulse 1s ease-in-out infinite;
}
.ym__btn--play .ym__ico-play,
.ym__btn--play .ym__ico-pause {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: 0;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.ym__btn--play .ym__ico-play {
  opacity: 1;
}
.ym__btn--play .ym__ico-pause {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  pointer-events: none;
}
.ym__btn--play.is-playing .ym__ico-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  pointer-events: none;
}
.ym__btn--play.is-playing .ym__ico-pause {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.ym__play-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 204, 0, 0.55);
  opacity: 0;
  pointer-events: none;
}
.ym__btn--play.is-playing .ym__play-glow {
  animation: ym-ring 1.4s ease-out infinite;
}
@keyframes ym-pulse {
  50% { opacity: 0.35; }
}
@keyframes ym-ring {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}
.ym__btn--tiny {
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.7);
}
.ym__btn--tiny.is-muted { color: #ff8a93; }

.ym__seekrow {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 10px;
  align-items: center;
  font-size: 0.72rem;
  color: var(--ym-muted);
  font-variant-numeric: tabular-nums;
}
.ym__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(#fff, #fff) 0 / var(--pct, 0%) 100% no-repeat, rgba(255,255,255,0.18);
  outline: none;
  cursor: pointer;
}
.ym__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  opacity: 0;
}
.ym__range:hover::-webkit-slider-thumb,
.ym__range:active::-webkit-slider-thumb { opacity: 1; }
.ym__range::-moz-range-thumb {
  width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; opacity: 0;
}
.ym__range:hover::-moz-range-thumb { opacity: 1; }
.ym__range:hover {
  background: linear-gradient(var(--ym-accent), var(--ym-accent)) 0 / var(--pct, 0%) 100% no-repeat, rgba(255,255,255,0.18);
}
.ym__range--vol { width: 88px; }

.ym__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.ym__vol {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}
.ym__chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--ym-line);
  background: rgba(255,255,255,0.06);
  color: #eee;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: none;
}
.ym__chip:hover { background: rgba(255,255,255,0.12); color: #fff; }
.ym__chip.is-on {
  background: rgba(255,204,0,0.18);
  border-color: rgba(255,204,0,0.45);
  color: #ffe58a;
}
.ym__upload { cursor: pointer; }

.ym__lyrics {
  display: none;
  margin-top: 14px;
  border-top: 1px solid var(--ym-line);
  padding-top: 8px;
}
.ym__lyrics.is-open { display: block; }
.ym__lyrics-scroll,
.ym__lyrics-viewport {
  position: relative;
  height: 280px;
  max-height: 280px;
  overflow: hidden; /* camera is transform, never native scroll */
  padding: 0 8px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  overflow-anchor: none;
  touch-action: none;
  overscroll-behavior: none;
  user-select: none;
}
.ym__lyrics-track {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.ym__line {
  appearance: none;
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  padding: 11px 12px;
  margin: 0;
  color: rgba(255,255,255,0.28);
  font-family: var(--hand);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  line-height: 1.35;
  cursor: pointer;
  transition: color 0.18s ease, opacity 0.18s ease, text-shadow 0.18s ease;
  white-space: normal;
  overflow-wrap: anywhere;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.ym__line.is-past { color: rgba(255,255,255,0.4); }
.ym__line.is-active {
  color: #fff;
  text-shadow: 0 0 22px rgba(255,204,0,0.28);
}
.ym__line:hover { color: #ffe9a8; }

.ym__embed-wrap {
  margin-top: 14px;
  border-top: 1px solid var(--ym-line);
  padding-top: 12px;
}
.ym__embed-hint {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: var(--ym-muted);
}
.ym__embed-wrap iframe {
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 12px;
  background: #000;
}

@media (max-width: 700px) {
  .ym__top { grid-template-columns: 88px 1fr; }
  .ym__cover-wrap { width: 88px; height: 88px; }
  .ym__vol { width: 100%; margin-right: 0; order: 5; }
  .ym__range--vol { flex: 1; width: auto; }
}
/* Night broadcast rails */
.broadcast {
  position: relative;
  overflow: hidden;
  margin: 0 0 22px;
  border: 1px solid #3a1518;
  background:
    radial-gradient(120% 80% at 10% 50%, rgba(208, 24, 40, 0.18), transparent 55%),
    #070305;
  min-height: 118px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.broadcast--bot { margin-top: 22px; margin-bottom: 0; }
.broadcast__edge {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 0 0 40px rgba(0,0,0,.55);
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 3px
  );
}
.broadcast__track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 14px 12px;
  animation: slide 38s linear infinite;
}
.broadcast__track--rev { animation-direction: reverse; animation-duration: 32s; }
.broadcast:hover .broadcast__track { animation-play-state: paused; }
body.is-music .broadcast__track { animation-duration: 22s; }

.bc {
  position: relative;
  flex: 0 0 auto;
  min-width: 160px;
  height: 90px;
  padding: 10px 12px;
  border: 1px solid #4a1a20;
  background: linear-gradient(145deg, #16090c, #0a0506 60%);
  box-shadow: 4px 4px 0 #000;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.bc:hover { border-color: #ff3a48; transform: translateY(-2px); }
.bc.is-copied { outline: 2px solid var(--spot, #1db954); }
.bc--hero .bc__ava {
  position: relative;
  width: 64px;
  height: 64px;
  border: 2px solid #fff;
  overflow: hidden;
  flex: 0 0 auto;
}
.bc--hero .bc__ava img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.15);
  display: block;
}
.bc--hero .bc__ava i {
  position: absolute; right: 4px; bottom: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #2fbf71; border: 2px solid #000;
}
.bc__copy { display: grid; gap: 2px; }
.bc__copy b { font-family: var(--hand); font-size: 1.35rem; line-height: 1; }
.bc__copy span { color: #c9898e; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }

.bc--eq {
  min-width: 150px;
  justify-content: space-between;
}
.bc__eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 54px;
}
.bc__eq i {
  display: block;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #ff5a66, var(--red));
  transform-origin: bottom;
  transform: scaleY(0.35);
}
.bc__tag {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: #ffd0d4;
}

.bc--glitch {
  min-width: 200px;
  justify-content: center;
  background: #000;
  overflow: hidden;
}
.bc__glitch {
  position: relative;
  font-family: var(--hand);
  font-size: 2rem;
  color: #fff;
}
.bc__glitch::before,
.bc__glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0.75;
}
.bc__glitch::before { color: #0ff; clip-path: inset(0 0 55% 0); transform: translate(-2px, 0); }
.bc__glitch::after { color: #f0f; clip-path: inset(45% 0 0 0); transform: translate(2px, 0); }
body.is-music .bc__glitch::before { animation: glitch-a 0.9s infinite linear alternate-reverse; }
body.is-music .bc__glitch::after { animation: glitch-b 0.7s infinite linear alternate-reverse; }
@keyframes glitch-a { to { transform: translate(3px, -1px); } }
@keyframes glitch-b { to { transform: translate(-3px, 1px); } }

.bc--night {
  min-width: 210px;
  background: linear-gradient(160deg, #16090c, #070305);
}
.bc__moon { display: none; }
.bc__lines { display: grid; gap: 2px; }
.bc__lines span { color: #b89a9d; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }
.bc__lines strong { font-family: var(--hand); font-size: 1.35rem; color: #fff; }

.bc--stamp {
  flex-direction: column;
  justify-content: center;
  min-width: 120px;
  gap: 6px;
}
.bc__face {
  width: 48px; height: 48px;
  object-fit: cover;
  border: 2px solid #fff;
  filter: grayscale(1) contrast(1.2);
  transform: rotate(-6deg);
}
.bc--stamp span { font-size: 0.78rem; color: #ffd0d4; }

.bc--live { min-width: 170px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.bc__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.12em;
  color: #fff;
}
.bc__live em {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(208,24,40,.6);
  animation: livepulse 1.4s ease-out infinite;
}
@keyframes livepulse {
  70% { box-shadow: 0 0 0 10px rgba(208,24,40,0); }
  100% { box-shadow: 0 0 0 0 rgba(208,24,40,0); }
}
.bc__pulse { color: #c9898e; font-size: 0.78rem; }

.bc--ticker {
  min-width: 220px;
  overflow: hidden;
  background: #12060a;
}
.bc__strip {
  white-space: nowrap;
  font-family: var(--display);
  letter-spacing: 0.2em;
  color: rgba(255,180,186,0.55);
  font-size: 0.85rem;
}

.bc--portal { min-width: 200px; }
.bc__portal {
  width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; border: 2px solid var(--red);
  box-shadow: 0 0 0 4px rgba(208,24,40,0.2);
  flex: 0 0 auto;
}
.bc__portal img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) contrast(1.1); }
.bc__portal-meta { display: grid; gap: 2px; }
.bc__portal-meta b { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.08em; }
.bc__portal-meta span { color: #c9898e; font-size: 0.72rem; }
.block { margin-top: 8px; }
.block__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.tape {
  display: inline-block;
  padding: 6px 12px;
  background: #d8c7a2;
  color: #111;
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}
.tape--alt { background: #c9a0a4; transform: rotate(2deg); }

.board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.item {
  position: relative;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  background: #0c0708;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.45);
  transform: rotate(-0.3deg);
}
.item:nth-child(2n) { transform: rotate(0.35deg); }
.item:hover {
  transform: rotate(0deg) translateY(-3px);
  border-color: #4a2024;
  box-shadow: 7px 7px 0 rgba(120, 10, 18, 0.35);
}
.item__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.item h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--hand);
  letter-spacing: 0.01em;
}
.item p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
}
.item__btns { display: flex; flex-wrap: wrap; gap: 8px; }

.poster {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  margin: 28px 0;
  border: 3px solid #fff;
  outline: 3px solid var(--red);
  outline-offset: 4px;
  background: #000;
  overflow: hidden;
}
.poster__left img {
  width: 140px;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.2);
}
.poster__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  background:
    linear-gradient(90deg, transparent, rgba(208, 24, 40, 0.18)),
    repeating-linear-gradient(
      90deg,
      #0a0a0a,
      #0a0a0a 8px,
      #110808 8px,
      #110808 16px
    );
}
.poster__right p {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.18em;
  color: #c9898e;
  font-size: 0.8rem;
}
.poster__right strong {
  font-family: var(--hand);
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1;
  margin-top: 4px;
}
.poster__right span {
  margin-top: 8px;
  color: #9a8084;
  font-size: 0.85rem;
}

.badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.badge {
  display: grid;
  gap: 4px;
  padding: 14px 12px;
  border: 2px solid #2a2a2a;
  background: linear-gradient(180deg, #171717, #0d0d0d);
  box-shadow: 3px 3px 0 #000;
  min-height: 78px;
}
.badge:hover {
  border-color: var(--red);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #000;
}
.badge b {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #c9898e;
  text-transform: uppercase;
}
.badge span { font-size: 0.92rem; }

.whois {
  margin-top: 26px;
  border: 1px solid var(--line);
  background: #080405;
}
.whois__bar {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: #14090b;
  color: var(--muted);
  font-size: 0.8rem;
}
.whois pre {
  margin: 0;
  padding: 14px;
  color: #d2b4b8;
  font: inherit;
  font-size: 0.84rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* modal */
.modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: 18px; opacity: 0; transition: opacity 0.18s ease;
}
.modal[hidden] { display: none !important; }
.modal.is-open { opacity: 1; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(6px);
}
.modal__box {
  position: relative; z-index: 1; width: min(420px, 100%);
  padding: 28px 24px 22px; border: 2px solid #3a1c20; background: #12080a;
  box-shadow: 8px 8px 0 #000; transform: translateY(10px); transition: transform 0.2s ease;
}
.modal.is-open .modal__box { transform: none; }
.modal__q { margin: 0 0 18px; font-family: var(--hand); font-size: 1.35rem; }
.modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal__punch {
  margin: 0; padding: 14px 12px; border: 2px solid #5a1018;
  background: rgba(208, 24, 40, 0.12); color: #ffd0d4;
  font-family: var(--hand); font-size: 1.25rem; line-height: 1.3;
  animation: punch-in 0.35s ease;
}
.modal__x {
  position: absolute; top: 8px; right: 10px; width: 32px; height: 32px;
  border: 0; background: transparent; color: #888; font-size: 1.4rem; cursor: pointer;
}
.modal__x:hover { color: #fff; }
@keyframes punch-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  .board, .badges { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .profile { grid-template-columns: 1fr; }
  .profile__ava, .profile__ava img { width: 120px; height: 120px; }
  .board, .badges { grid-template-columns: 1fr; }
  .poster { grid-template-columns: 100px 1fr; }
  .poster__left img { width: 100px; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .actions .btn { width: 100%; }
  .nav { order: 3; width: 100%; }
}
@media (max-width: 420px) {
  .actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .broadcast__track, .boot__win, .reveal, .wrap { animation: none !important; transition: none !important; }
}
