:root {
  color-scheme: dark;
  --bg: #050507;
  --panel: rgba(12, 12, 20, 0.76);
  --panel-strong: rgba(18, 18, 29, 0.92);
  --text: #f7f3ff;
  --muted: #a8a1b8;
  --pink: #ff2fb2;
  --hot: #ff64cf;
  --cyan: #2ee9ff;
  --violet: #8a5cff;
  --amber: #ffcf33;
  --lime: #a6ff3d;
  --line: rgba(255, 47, 178, 0.32);
  --edge: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.58);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 47, 178, 0.32), transparent 30rem),
    radial-gradient(circle at 78% 6%, rgba(46, 233, 255, 0.22), transparent 25rem),
    radial-gradient(circle at 42% 54%, rgba(138, 92, 255, 0.14), transparent 29rem),
    radial-gradient(circle at 50% 100%, rgba(255, 207, 51, 0.1), transparent 26rem),
    var(--bg);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 86%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 47, 178, 0.13) 18.2%, transparent 18.8% 48%, rgba(46, 233, 255, 0.11) 48.2%, transparent 48.8%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.network {
  position: fixed;
  inset: auto -10% 0 -10%;
  z-index: -2;
  height: 52vh;
  pointer-events: none;
  background:
    linear-gradient(to right, transparent, rgba(46, 233, 255, 0.36), transparent),
    repeating-linear-gradient(90deg, rgba(46, 233, 255, 0.36) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(255, 47, 178, 0.44) 0 1px, transparent 1px 68px);
  filter: drop-shadow(0 0 24px rgba(46, 233, 255, 0.56));
  opacity: 0.58;
  transform: perspective(480px) rotateX(62deg) translateY(18%);
  transform-origin: bottom center;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.hero {
  min-height: min(740px, calc(100vh - 28px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: center;
  padding: 34px 0 46px;
}

.hero-copy {
  position: relative;
  padding: clamp(16px, 4vw, 42px) 0;
}

.kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(46, 233, 255, 0.82);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 9.7rem;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.75),
    0 0 22px rgba(255, 47, 178, 0.92),
    0 0 70px rgba(255, 47, 178, 0.62);
}

.glitch-title {
  position: relative;
  max-width: 100%;
}

.glitch-title::before,
.glitch-title::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  pointer-events: none;
  mix-blend-mode: screen;
}

.glitch-title::before {
  color: var(--cyan);
  transform: translate(3px, -2px);
  opacity: 0.62;
  clip-path: inset(0 0 58% 0);
  animation: title-twitch 2.8s infinite steps(2, end);
}

.glitch-title::after {
  color: var(--amber);
  transform: translate(-3px, 2px);
  opacity: 0.46;
  clip-path: inset(58% 0 0 0);
  animation: title-twitch 3.5s infinite steps(2, end) reverse;
}

.subtitle {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(255, 47, 178, 0);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(255, 47, 178, 0.82);
  background: rgba(255, 47, 178, 0.13);
  box-shadow: 0 0 28px rgba(255, 47, 178, 0.32);
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  border-color: rgba(255, 47, 178, 0.76);
  color: #10000a;
  background: linear-gradient(135deg, var(--pink), var(--hot));
  box-shadow: 0 0 36px rgba(255, 47, 178, 0.42);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: #10000a;
  background: linear-gradient(135deg, #ff74d6, #ff2fb2);
}

.button.accent {
  border-color: rgba(46, 233, 255, 0.76);
  color: #020b10;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  box-shadow: 0 0 34px rgba(46, 233, 255, 0.34);
}

.button.accent:hover,
.button.accent:focus-visible {
  color: #020b10;
  background: linear-gradient(135deg, #7ff5ff, #ffd84d);
}

.heat-strip {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 28px;
}

.heat-strip span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--amber));
  box-shadow: 0 0 22px rgba(255, 47, 178, 0.56);
  animation: heat-pulse 1.9s infinite ease-in-out;
}

.heat-strip span:nth-child(2) {
  animation-delay: 120ms;
}

.heat-strip span:nth-child(3) {
  animation-delay: 240ms;
}

.heat-strip span:nth-child(4) {
  animation-delay: 360ms;
}

.heat-strip span:nth-child(5) {
  animation-delay: 480ms;
}

.neon-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 47, 178, 0.2), rgba(46, 233, 255, 0.08)),
    rgba(5, 5, 9, 0.5);
  box-shadow: var(--shadow), 0 0 60px rgba(255, 47, 178, 0.14), inset 0 0 58px rgba(255, 47, 178, 0.18);
}

.neon-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255, 47, 178, 0.4) 12.2%, transparent 12.6% 54%, rgba(46, 233, 255, 0.26) 54.2%, transparent 54.7%),
    radial-gradient(circle at 50% 28%, rgba(255, 47, 178, 0.34), transparent 18rem);
  opacity: 0.7;
}

.neon-stage img {
  position: relative;
  z-index: 1;
  width: min(94%, 420px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(1.34) contrast(1.1) drop-shadow(0 0 48px rgba(255, 47, 178, 0.82));
  animation: sign-float 5.8s infinite ease-in-out;
}

.stage-halo {
  position: absolute;
  inset: 22% 14%;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 47, 178, 0.36), transparent 64%);
  filter: blur(18px);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -20px 0 42px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
}

.ticker span {
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--muted);
  background: rgba(6, 6, 11, 0.78);
  font-size: 0.83rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 0 24px rgba(255, 47, 178, 0.06);
}

.profiles-section {
  padding-top: 18px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

h2 {
  margin-bottom: 0;
  font-size: 4.2rem;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(46, 233, 255, 0.34);
}

.profiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.profile-card {
  position: relative;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 47, 178, 0.16), transparent 42%),
    linear-gradient(24deg, transparent 0 72%, rgba(46, 233, 255, 0.12)),
    var(--panel);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.3), inset 0 0 28px rgba(255, 47, 178, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.profile-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(circle at 90% 0, rgba(255, 207, 51, 0.14), transparent 9rem);
  opacity: 0;
  transition: opacity 160ms ease;
}

.profile-card:hover,
.profile-card:focus-within {
  border-color: rgba(255, 47, 178, 0.86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38), 0 0 42px rgba(255, 47, 178, 0.28), inset 0 0 34px rgba(46, 233, 255, 0.06);
  transform: translateY(-2px);
}

.profile-card:hover::after,
.profile-card:focus-within::after {
  opacity: 1;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.slot,
.status {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status {
  color: var(--lime);
  text-shadow: 0 0 14px rgba(166, 255, 61, 0.52);
}

.photo-box {
  position: relative;
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 47, 178, 0.18), rgba(46, 233, 255, 0.1)),
    rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.photo-box::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.16), transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.12), transparent calc(50% + 1px));
  opacity: 0.48;
}

.photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.photo-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
}

.photo-box.has-photo {
  border-style: solid;
  border-color: rgba(255, 47, 178, 0.54);
}

.photo-box.has-photo::before,
.photo-box.has-photo .photo-placeholder {
  display: none;
}

.photo-box.has-photo .photo-preview {
  display: block;
}

.photo-placeholder {
  position: absolute;
  inset: auto 12px 12px;
  z-index: 1;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 47, 178, 0.85);
}

.field {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.field span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-zone {
  margin-top: 12px;
}

.tag-list {
  min-height: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.tag-chip {
  min-height: 28px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 47, 178, 0.54);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 47, 178, 0.34), rgba(138, 92, 255, 0.2)),
    rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 47, 178, 0.16);
}

.display-photo {
  cursor: default;
}

.public-copy {
  display: grid;
  gap: 9px;
}

.public-name {
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 47, 178, 0.54);
}

.public-desc {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.public-tags {
  margin-bottom: 0;
}

.live-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(46, 233, 255, 0.42);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--cyan);
  background: rgba(46, 233, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(46, 233, 255, 0.58);
  white-space: nowrap;
}

.tag-chip:hover,
.tag-chip:focus-visible {
  border-color: rgba(46, 233, 255, 0.82);
  box-shadow: 0 0 22px rgba(46, 233, 255, 0.22);
  outline: none;
}

.tag-editor {
  display: grid;
  gap: 7px;
}

.tag-editor > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
}

.tag-add {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 47, 178, 0.62);
  border-radius: 8px;
  color: #13000b;
  background: linear-gradient(135deg, var(--pink), var(--amber));
  font: inherit;
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(255, 47, 178, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tag-add:hover,
.tag-add:focus-visible {
  box-shadow: 0 0 28px rgba(255, 207, 51, 0.34);
  transform: translateY(-1px);
  outline: none;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input {
  min-height: 42px;
  padding: 0 10px;
  font-weight: 800;
}

textarea {
  min-height: 92px;
  resize: vertical;
  padding: 10px;
  line-height: 1.35;
}

body.roulette-open {
  overflow: hidden;
}

.roulette {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 47, 178, 0.28), transparent 28rem),
    rgba(2, 2, 5, 0.78);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 180ms ease;
}

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

.roulette-shell {
  width: min(960px, 100%);
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 47, 178, 0.16), rgba(46, 233, 255, 0.09)),
    rgba(5, 5, 9, 0.92);
  box-shadow: 0 28px 110px rgba(0, 0, 0, 0.7), 0 0 70px rgba(255, 47, 178, 0.18);
}

.roulette-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.roulette-topbar .kicker {
  margin-bottom: 8px;
}

.roulette-topbar h2 {
  font-size: 3rem;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(255, 47, 178, 0.78);
  box-shadow: 0 0 24px rgba(255, 47, 178, 0.26);
  outline: none;
}

.roulette-counter {
  justify-self: center;
  min-width: 110px;
  border: 1px solid rgba(46, 233, 255, 0.38);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--cyan);
  background: rgba(46, 233, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 0 14px rgba(46, 233, 255, 0.7);
}

.swipe-deck {
  position: relative;
  width: min(430px, 100%);
  min-height: 460px;
  height: min(58vh, 560px);
  margin: 0 auto;
  perspective: 900px;
  touch-action: none;
}

.swipe-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 47, 178, 0.18), transparent 44%),
    linear-gradient(25deg, rgba(46, 233, 255, 0.13), transparent 36%),
    rgba(13, 13, 21, 0.98);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6), 0 0 44px rgba(255, 47, 178, 0.18);
  transform-origin: 50% 88%;
  user-select: none;
}

.swipe-card.is-active {
  z-index: 3;
  cursor: grab;
}

.swipe-card.is-active.is-dragging {
  cursor: grabbing;
  transition: none;
}

.swipe-card.is-queued {
  z-index: 1;
  opacity: 0.62;
  transform: translateY(18px) scale(0.94);
  filter: saturate(0.72);
}

.swipe-photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 47, 178, 0.2), rgba(46, 233, 255, 0.1)),
    rgba(255, 255, 255, 0.04);
}

.swipe-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(6, 6, 11, 0.82), transparent 44%);
}

.swipe-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.swipe-photo.empty {
  display: grid;
  place-items: center;
}

.swipe-photo.empty span {
  color: var(--text);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(255, 47, 178, 0.88);
}

.swipe-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  padding: 18px;
  background: rgba(7, 7, 13, 0.94);
}

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

.swipe-slot,
.swipe-badge {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.swipe-badge {
  color: var(--lime);
  text-shadow: 0 0 14px rgba(166, 255, 61, 0.58);
}

.swipe-name {
  margin: 0;
  color: var(--text);
  font-size: 2.1rem;
  line-height: 1;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(255, 47, 178, 0.62);
}

.swipe-desc {
  min-height: 46px;
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.swipe-tags {
  min-height: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.swipe-tag {
  min-height: 28px;
  max-width: 100%;
  border: 1px solid rgba(255, 47, 178, 0.42);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--text);
  background: rgba(255, 47, 178, 0.16);
  font-size: 0.74rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.swipe-verdict {
  position: absolute;
  top: 22px;
  z-index: 5;
  border: 3px solid currentColor;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 2rem;
  font-weight: 900;
  opacity: 0;
  text-transform: uppercase;
  transform: rotate(-12deg);
  transition: opacity 120ms ease;
}

.swipe-verdict.like {
  right: 20px;
  color: var(--lime);
  text-shadow: 0 0 22px rgba(166, 255, 61, 0.8);
}

.swipe-verdict.nope {
  left: 20px;
  color: var(--pink);
  text-shadow: 0 0 22px rgba(255, 47, 178, 0.8);
  transform: rotate(12deg);
}

.swipe-card.show-like .swipe-verdict.like,
.swipe-card.show-nope .swipe-verdict.nope {
  opacity: 1;
}

.end-card {
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.end-card h3 {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(255, 47, 178, 0.7);
}

.end-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.swipe-button {
  min-width: 104px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.swipe-button:hover,
.swipe-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.swipe-button.nope {
  border-color: rgba(255, 47, 178, 0.62);
  box-shadow: 0 0 22px rgba(255, 47, 178, 0.16);
}

.swipe-button.like {
  border-color: rgba(166, 255, 61, 0.56);
  box-shadow: 0 0 22px rgba(166, 255, 61, 0.14);
}

.swipe-button.restart {
  border-color: rgba(46, 233, 255, 0.5);
  box-shadow: 0 0 22px rgba(46, 233, 255, 0.13);
}

.swipe-button:disabled {
  cursor: default;
  opacity: 0.42;
  transform: none;
}

.admin-shell {
  padding-top: 36px;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 34px;
}

.admin-title {
  margin-bottom: 16px;
  font-size: 6rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.login-panel {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.login-box {
  width: min(420px, 100%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 47, 178, 0.14), rgba(46, 233, 255, 0.08)),
    var(--panel-strong);
  box-shadow: 0 22px 76px rgba(0, 0, 0, 0.48), 0 0 48px rgba(255, 47, 178, 0.16);
}

.login-box .button {
  width: 100%;
  margin-top: 14px;
}

.admin-panel[hidden],
.login-panel[hidden],
.admin-actions [hidden] {
  display: none;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.admin-card .card-topline,
.admin-card .tag-zone,
.admin-card .save-profile,
.admin-card .card-message {
  grid-column: 1 / -1;
}

.admin-card .photo-box {
  margin-bottom: 0;
}

.mini-button {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.mini-button:hover,
.mini-button:focus-visible {
  border-color: rgba(255, 47, 178, 0.66);
  color: var(--text);
  box-shadow: 0 0 18px rgba(255, 47, 178, 0.18);
  outline: none;
}

.admin-message {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
}

.save-profile {
  margin-top: 2px;
}

@keyframes title-twitch {
  0%,
  88%,
  100% {
    transform: translate(0, 0);
  }

  90% {
    transform: translate(6px, -2px);
  }

  94% {
    transform: translate(-4px, 3px);
  }
}

@keyframes heat-pulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleX(0.72);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes sign-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

input:focus,
textarea:focus {
  border-color: rgba(46, 233, 255, 0.78);
  background: rgba(46, 233, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(46, 233, 255, 0.12);
}

::placeholder {
  color: rgba(247, 243, 255, 0.42);
}

@media (max-width: 980px) {
  h1 {
    font-size: 6.4rem;
  }

  h2 {
    font-size: 3.4rem;
  }

  .admin-title {
    font-size: 4.4rem;
  }

  .admin-header {
    display: block;
  }

  .admin-actions {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .neon-stage {
    min-height: 420px;
  }

  .profiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, 1180px);
    padding-top: 18px;
  }

  .hero {
    gap: 16px;
    padding-bottom: 30px;
  }

  h1 {
    font-size: 4.4rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .ticker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 32px;
  }

  .section-head {
    display: flex;
    align-items: flex-start;
  }

  .profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .admin-title {
    font-size: 3.1rem;
  }

  .section-head {
    display: block;
  }

  .live-pill {
    margin-top: 12px;
  }

  .profiles {
    grid-template-columns: 1fr;
  }

  .neon-stage {
    min-height: 360px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .roulette {
    padding: 12px;
  }

  .roulette-shell {
    min-height: calc(100vh - 24px);
    padding: 14px;
  }

  .roulette-topbar h2 {
    font-size: 2.2rem;
  }

  .swipe-deck {
    min-height: 430px;
    height: 56vh;
  }

  .swipe-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .swipe-button {
    min-width: 0;
  }
}
