/* ─── Нижняя навигация ─── */
.app-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 440px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px 12px calc(10px + var(--safe-b));
  background: rgba(10, 10, 14, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  z-index: 50;
}
.app-dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  padding: 6px 4px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--muted2);
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.app-dock-btn-active {
  color: #fff;
  background: rgba(255, 46, 46, 0.12);
}
.app-dock-btn-active .app-dock-icon {
  color: #ff6b6b;
  filter: drop-shadow(0 0 8px rgba(255, 46, 46, 0.45));
}
.app-dock-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.15s ease, filter 0.15s ease;
  flex-shrink: 0;
}
.app-dock-icon svg {
  width: 22px;
  height: 22px;
}
.app-dock-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}
.app-dock-btn-active .app-dock-icon-img {
  filter: drop-shadow(0 0 8px rgba(255, 46, 46, 0.45));
}
.app-dock-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.tab-panel.hidden { display: none !important; }

#tab-giveaways,
#tab-profile {
  padding-top: 4px;
}

/* ─── Розыгрыши: навигация ─── */
.gv-screen.hidden { display: none !important; }
.gv-lead {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.gv-back-btn,
.fund-gifts-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #ff8a8a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.gv-back-btn:active,
.fund-gifts-back:active {
  background: rgba(255, 46, 46, 0.08);
  border-color: rgba(255, 46, 46, 0.14);
  color: #ffb0a0;
}
.gv-menu-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gv-menu-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 46, 46, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 46, 46, 0.1), transparent 55%),
    var(--card);
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.gv-menu-card:active {
  border-color: rgba(255, 46, 46, 0.35);
  background: rgba(255, 46, 46, 0.08);
}
.gv-menu-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.gv-menu-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.gv-menu-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.gv-menu-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.gv-menu-chevron {
  color: var(--muted2);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
/* ─── Кнопка «Чёрный список розыгрышей» на экране типов ─── */
.gv-menu-card--blacklist {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0e0f14;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.gv-menu-card--blacklist:active {
  border-color: rgba(255, 255, 255, 0.18);
  background: #0e0f14;
  transform: translateY(-1px);
}
@media (hover: hover) {
  .gv-menu-card--blacklist:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.44);
  }
  .gv-menu-card--blacklist:hover .gv-menu-chevron--blacklist {
    color: #fff;
    opacity: 1;
  }
}
.gv-menu-card--blacklist .gv-menu-title {
  color: #fff;
  font-weight: 700;
}
.gv-menu-card--blacklist .gv-menu-desc {
  color: rgba(255, 255, 255, 0.55);
}
.gv-menu-icon-blacklist {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #fff;
}
.gv-blacklist-icon-svg {
  width: 26px;
  height: 26px;
  display: block;
}
.gv-menu-chevron--blacklist {
  color: #8e9098;
  opacity: 0.7;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transition: color 200ms ease, opacity 200ms ease;
}
.gv-blacklist-note {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.gv-blacklist-add-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 85, 85, 0.18);
  border-radius: 16px;
  background: rgba(255, 85, 85, 0.05);
}
.gv-blacklist-add-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}
.gv-blacklist-add-form input::placeholder {
  color: var(--muted2);
}
.gv-blacklist-add-form input:focus {
  outline: none;
  border-color: rgba(255, 85, 85, 0.45);
}
.gv-blacklist-add-btn {
  width: 100%;
  min-height: 46px;
}
.gv-blacklist-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gv-blacklist-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}
.gv-blacklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(255, 85, 85, 0.15);
  border-radius: 16px;
  background: var(--card);
}
.gv-blacklist-item-clickable .gv-blacklist-open:active {
  opacity: 0.88;
}
.gv-blacklist-open,
.gv-blacklist-open-static {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gv-blacklist-open {
  padding: 6px 8px;
  border: none;
  border-radius: 12px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.gv-blacklist-open:hover,
.gv-blacklist-open:focus-visible {
  background: rgba(255, 85, 85, 0.06);
}
.gv-blacklist-open:focus-visible {
  outline: 2px solid rgba(255, 136, 136, 0.45);
  outline-offset: 1px;
}
.gv-blacklist-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 85, 85, 0.22);
  background: rgba(255, 85, 85, 0.08);
}
.gv-blacklist-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gv-blacklist-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: hsla(var(--avatar-hue, 0), 52%, 58%, 0.42);
  background: linear-gradient(
    145deg,
    hsl(var(--avatar-hue, 0), 44%, 36%) 0%,
    hsl(calc(var(--avatar-hue, 0) + 24), 38%, 24%) 100%
  );
}
.gv-blacklist-avatar-initials {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}
.gv-blacklist-item-main {
  flex: 1;
  min-width: 0;
}
.gv-blacklist-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-word;
}
.gv-blacklist-handle {
  margin-top: 2px;
  font-size: 13px;
  color: #ff8888;
}
.gv-blacklist-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.gv-blacklist-remove {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 85, 85, 0.25);
  border-radius: 12px;
  background: rgba(255, 85, 85, 0.08);
  color: #ff8888;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.gv-blacklist-remove:active {
  background: rgba(255, 85, 85, 0.18);
  border-color: rgba(255, 85, 85, 0.4);
}
.gv-menu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gv-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: var(--card);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.gv-menu-row:active {
  border-color: rgba(255, 46, 46, 0.25);
  background: rgba(255, 46, 46, 0.06);
}

/* ─── «Активные розыгрыши» — радар ─── */
.gv-menu-row--active-live {
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  height: auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 38, 48, 0.55);
  border-radius: 24px;
  background:
    linear-gradient(100deg, #09090d 0%, #0d090b 55%, #120507 100%);
  box-shadow:
    0 0 0 1px rgba(255, 38, 48, 0.1),
    0 0 22px rgba(255, 38, 48, 0.12),
    inset 0 0 28px rgba(255, 38, 48, 0.05);
  transition:
    transform 160ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}
.gv-menu-row--active-live::before {
  content: "";
  position: absolute;
  right: 46px;
  top: 50%;
  width: 42%;
  height: 76%;
  transform: translateY(-50%);
  background-image: radial-gradient(circle, rgba(255, 48, 56, 0.38) 1.2px, transparent 1.2px);
  background-size: 10px 10px;
  opacity: 0.28;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 28%, rgba(0, 0, 0, 0.85) 62%, black 100%);
  pointer-events: none;
}
.gv-menu-row--active-live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 36px rgba(255, 38, 48, 0.04);
}
@media (hover: hover) {
  .gv-menu-row--active-live:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 48, 56, 0.72);
    box-shadow:
      0 0 0 1px rgba(255, 38, 48, 0.14),
      0 0 30px rgba(255, 38, 48, 0.2),
      inset 0 0 32px rgba(255, 38, 48, 0.07);
  }
  .gv-menu-row--active-live:hover .gv-menu-chevron--active-live {
    transform: translateX(4px);
    color: #ff5050;
    text-shadow: 0 0 16px rgba(255, 48, 56, 0.55);
  }
}
.gv-menu-row--active-live:active {
  transform: scale(0.985);
  border-color: rgba(255, 48, 56, 0.78);
  background: linear-gradient(100deg, #0c080a 0%, #10080a 55%, #160609 100%);
}
.gv-active-radar-wrap {
  position: relative;
  z-index: 1;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(255, 46, 46, 0.32)) drop-shadow(0 0 16px rgba(255, 46, 46, 0.12));
}
.gv-active-radar {
  width: 52px;
  height: 52px;
  display: block;
}
.gv-active-radar-sweep {
  transform-origin: 36px 36px;
  animation: gv-active-radar-sweep 3.5s linear infinite;
}
@keyframes gv-active-radar-sweep {
  to {
    transform: rotate(360deg);
  }
}
.gv-active-radar-blip {
  transform-origin: center;
  transform-box: fill-box;
  animation: gv-active-radar-blip 2.4s ease-in-out infinite;
}
.gv-active-radar-blip--1 {
  animation-delay: 0s;
}
.gv-active-radar-blip--2 {
  animation-delay: 0.55s;
}
.gv-active-radar-blip--3 {
  animation-delay: 1.1s;
}
@keyframes gv-active-radar-blip {
  0%, 100% {
    opacity: 0.42;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}
.gv-active-live-title,
.gv-create-title,
.gv-history-title {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 4px;
  font-size: clamp(15px, 4.2vw, 18px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fffaf8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.gv-menu-chevron--active-live,
.gv-menu-chevron--create,
.gv-menu-chevron--history {
  position: relative;
  z-index: 1;
  flex: 0 0 22px;
  width: 22px;
  color: #ff3038;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 48, 56, 0.35);
  transition:
    transform 220ms ease,
    color 220ms ease,
    text-shadow 220ms ease;
}
.gv-menu-chevron--create {
  animation: gv-create-chevron-nudge 2.1s ease-in-out infinite;
}
@media (max-width: 420px) {
  .gv-menu-row--active-live {
    gap: 12px;
    min-height: 76px;
    padding: 11px 14px;
    border-radius: 20px;
  }
  .gv-menu-row--active-live::before {
    right: 40px;
    width: 36%;
    opacity: 0.22;
  }
  .gv-active-radar-wrap {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }
  .gv-active-radar {
    width: 52px;
    height: 52px;
  }
  .gv-active-live-title {
    font-size: clamp(14px, 3.9vw, 16px);
  }
  .gv-menu-chevron--active-live,
  .gv-menu-chevron--create,
  .gv-menu-chevron--history {
    flex-basis: 20px;
    width: 20px;
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gv-active-radar-sweep {
    animation: none;
    transform: rotate(48deg);
  }
  .gv-active-radar-blip {
    animation: none;
    opacity: 0.78;
    transform: none;
  }
  .gv-menu-row--active-live:active {
    transform: none;
  }
}

/* ─── «Создать розыгрыш» — плюс ─── */
.gv-menu-row--create {
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  height: auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 38, 48, 0.55);
  border-radius: 24px;
  background:
    linear-gradient(100deg, #09090d 0%, #0d090b 55%, #120507 100%);
  box-shadow:
    0 0 0 1px rgba(255, 38, 48, 0.1),
    0 0 22px rgba(255, 38, 48, 0.12),
    inset 0 0 28px rgba(255, 38, 48, 0.05);
  transition:
    transform 160ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}
.gv-menu-row--create::before {
  content: "";
  position: absolute;
  right: 46px;
  top: 50%;
  width: 42%;
  height: 76%;
  transform: translateY(-50%);
  background-image: radial-gradient(circle, rgba(255, 48, 56, 0.38) 1.2px, transparent 1.2px);
  background-size: 10px 10px;
  opacity: 0.28;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 28%, rgba(0, 0, 0, 0.85) 62%, black 100%);
  pointer-events: none;
  animation: gv-create-dots-drift 6s ease-in-out infinite;
}
.gv-menu-row--create::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 36px rgba(255, 38, 48, 0.04);
}
.gv-menu-row--create:focus-visible {
  outline: 2px solid rgba(255, 48, 56, 0.78);
  outline-offset: 2px;
}
@media (hover: hover) {
  .gv-menu-row--create:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 48, 56, 0.72);
    box-shadow:
      0 0 0 1px rgba(255, 38, 48, 0.14),
      0 0 30px rgba(255, 38, 48, 0.2),
      inset 0 0 32px rgba(255, 38, 48, 0.07);
  }
  .gv-menu-row--create:hover .gv-menu-chevron--create {
    animation-play-state: paused;
    transform: translateX(5px);
  }
}
.gv-menu-row--create:active {
  transform: scale(0.985);
  border-color: rgba(255, 48, 56, 0.78);
  background: linear-gradient(100deg, #0c080a 0%, #10080a 55%, #160609 100%);
}
.gv-create-icon-wrap {
  position: relative;
  z-index: 1;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gv-create-pulse-ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 48, 56, 0.35);
  pointer-events: none;
  animation: gv-create-pulse-ring 2.8s ease-out infinite;
}
@keyframes gv-create-pulse-ring {
  0% {
    opacity: 0.35;
    transform: scale(0.72);
  }
  100% {
    opacity: 0;
    transform: scale(1.38);
  }
}
.gv-create-icon {
  width: 60px;
  height: 60px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255, 48, 56, 0.35));
}
.gv-create-ring--outer {
  transform-origin: 36px 36px;
  animation: gv-create-ring-cw 9s linear infinite;
}
.gv-create-ring--mid {
  transform-origin: 36px 36px;
  animation: gv-create-ring-ccw 13s linear infinite;
}
.gv-create-plus {
  transform-origin: 36px 36px;
  animation: gv-create-plus-pulse 2.5s ease-in-out infinite;
}
@keyframes gv-create-ring-cw {
  to {
    transform: rotate(360deg);
  }
}
@keyframes gv-create-ring-ccw {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes gv-create-plus-pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 48, 56, 0.35));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 10px rgba(255, 74, 80, 0.55));
  }
}
@keyframes gv-create-dots-drift {
  0%, 100% {
    opacity: 0.22;
    transform: translateY(-50%) translateX(0);
  }
  50% {
    opacity: 0.38;
    transform: translateY(calc(-50% - 2px)) translateX(3px);
  }
}
.gv-create-trail {
  position: relative;
  z-index: 1;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.gv-create-chevron-rings {
  width: 34px;
  height: 34px;
  display: block;
  opacity: 0.9;
}
@keyframes gv-create-chevron-nudge {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}
@media (max-width: 420px) {
  .gv-menu-row--create {
    gap: 12px;
    min-height: 76px;
    padding: 11px 14px;
    border-radius: 20px;
  }
  .gv-menu-row--create::before {
    right: 40px;
    width: 36%;
    opacity: 0.22;
  }
  .gv-create-icon-wrap {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }
  .gv-create-icon {
    width: 52px;
    height: 52px;
  }
  .gv-create-title,
  .gv-active-live-title,
  .gv-history-title {
    font-size: clamp(14px, 3.9vw, 16px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gv-create-ring--outer,
  .gv-create-ring--mid,
  .gv-create-plus,
  .gv-create-pulse-ring,
  .gv-menu-chevron--create,
  .gv-menu-row--create::before {
    animation: none !important;
  }
  .gv-create-pulse-ring {
    opacity: 0;
  }
  .gv-menu-row--create:hover {
    transform: none;
  }
  .gv-menu-row--create:active {
    transform: none;
  }
}

/* ─── «История» — архивная папка ─── */
.gv-menu-row--history {
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  height: auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 38, 48, 0.55);
  border-radius: 24px;
  background:
    linear-gradient(100deg, #09090d 0%, #0d090b 55%, #120507 100%);
  box-shadow:
    0 0 0 1px rgba(255, 38, 48, 0.1),
    0 0 22px rgba(255, 38, 48, 0.12),
    inset 0 0 28px rgba(255, 38, 48, 0.05);
  transition:
    transform 160ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
  cursor: pointer;
}
.gv-menu-row--history::before {
  content: "";
  position: absolute;
  right: 46px;
  top: 50%;
  width: 42%;
  height: 76%;
  transform: translateY(-50%);
  background-image: radial-gradient(circle, rgba(255, 48, 56, 0.38) 1.2px, transparent 1.2px);
  background-size: 10px 10px;
  opacity: 0.28;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 28%, rgba(0, 0, 0, 0.85) 62%, black 100%);
  pointer-events: none;
}
.gv-menu-row--history::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 36px rgba(255, 38, 48, 0.04);
}
.gv-menu-row--history:focus-visible {
  outline: 2px solid rgba(255, 48, 56, 0.78);
  outline-offset: 2px;
}
@media (hover: hover) {
  .gv-menu-row--history:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 48, 56, 0.78);
    box-shadow:
      0 0 0 1px rgba(255, 48, 56, 0.14),
      0 0 28px rgba(255, 48, 56, 0.18),
      inset 0 0 32px rgba(255, 38, 48, 0.07);
  }
  .gv-menu-row--history:hover .gv-menu-chevron--history {
    transform: translateX(4px);
    color: #ff5050;
    text-shadow: 0 0 16px rgba(255, 48, 56, 0.55);
  }
}
.gv-menu-row--history:active {
  transform: scale(0.985);
  border-color: rgba(255, 48, 56, 0.78);
  background: linear-gradient(100deg, #0c080a 0%, #10080a 55%, #160609 100%);
}
.gv-history-icon-wrap {
  position: relative;
  z-index: 1;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gv-history-icon {
  width: 60px;
  height: 60px;
  display: block;
  overflow: visible;
}
.gv-history-folder-asset {
  display: block;
}
@media (max-width: 420px) {
  .gv-menu-row--history {
    gap: 12px;
    min-height: 76px;
    padding: 11px 14px;
    border-radius: 20px;
  }
  .gv-menu-row--history::before {
    right: 40px;
    width: 36%;
    opacity: 0.22;
  }
  .gv-history-icon-wrap {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }
  .gv-history-icon {
    width: 52px;
    height: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gv-menu-row--history:hover {
    transform: none;
  }
  .gv-menu-row--history:active {
    transform: none;
  }
}

.rlt-section {
  margin-bottom: 24px;
}
.rlt-section .section-title {
  margin-bottom: 14px;
}

/* ─── Профиль ─── */
.profile-card {
  border: 1px solid rgba(255, 46, 46, 0.16);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 14px;
  background: var(--card);
}
.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 46, 46, 0.15);
  border: 2px solid rgba(255, 46, 46, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #ffd1d1;
  overflow: hidden;
  flex-shrink: 0;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.profile-username {
  font-size: 13px;
  color: var(--muted);
}
.profile-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.profile-stat:last-child { border-bottom: none; padding-bottom: 0; }
.profile-stat:first-child { padding-top: 0; }
.profile-stat-label {
  font-size: 13px;
  color: var(--muted);
}
.profile-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.profile-hint {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted2);
  text-align: center;
  padding: 4px 6px;
}
.profile-card-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 12px;
}
.profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.profile-stats-grid .profile-stat {
  padding: 10px 0;
}
.profile-stats-grid .profile-stat:nth-child(odd):last-child {
  grid-column: 1 / -1;
}
.profile-stat-win {
  color: #7dffb3;
}
.profile-manage-wrap {
  margin-top: 10px;
  padding-bottom: 8px;
}
.profile-manage-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 46, 46, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 46, 46, 0.14), transparent 55%),
  var(--card);
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.profile-manage-btn:active {
  border-color: rgba(255, 46, 46, 0.45);
  background: rgba(255, 46, 46, 0.1);
  transform: scale(0.985);
}
.profile-manage-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.profile-manage-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.profile-manage-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.profile-manage-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.profile-manage-chevron {
  color: var(--muted2);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

/* ─── Админ: управление ─── */
.admin-manage-inner {
  padding-bottom: 28px;
}

/* Hub */
.admin-hub-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 46, 46, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 46, 46, 0.12), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(255, 215, 140, 0.06), transparent 45%),
    var(--card);
}
.admin-hub-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(255, 46, 46, 0.14);
  border: 1px solid rgba(255, 120, 120, 0.25);
}
.admin-hub-hero-text {
  min-width: 0;
}
.admin-hub-hero-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.admin-hub-hero-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.admin-hub-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.admin-hub-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 10px;
  padding-left: 2px;
}
.admin-hub-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-hub-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 46, 46, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 46, 46, 0.07), transparent 55%),
    rgba(8, 8, 12, 0.45);
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.admin-hub-card:active {
  border-color: rgba(255, 46, 46, 0.35);
  background: rgba(255, 46, 46, 0.1);
  transform: scale(0.985);
}
.admin-hub-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.admin-hub-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.admin-hub-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.admin-hub-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.admin-hub-chevron {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--muted2);
}
.admin-hub-badge {
  flex-shrink: 0;
  min-width: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  color: #ffd78a;
  background: rgba(255, 46, 46, 0.22);
  border: 1px solid rgba(255, 120, 120, 0.35);
}

/* Panel headers */
.admin-manage-panel.admin-panel-animate {
  animation: adminPanelIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes adminPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.admin-panel-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.admin-panel-hero-badge {
  align-items: flex-start;
}
.admin-panel-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(255, 46, 46, 0.12);
  border: 1px solid rgba(255, 120, 120, 0.22);
}
.admin-panel-hero-text {
  flex: 1;
  min-width: 0;
}
.admin-panel-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.admin-panel-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.admin-panel-hero-badge .admin-card-badge {
  margin-top: 4px;
}

/* Cards */
.admin-card {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 46, 46, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 46, 46, 0.05), transparent 50%),
    rgba(8, 8, 12, 0.55);
  backdrop-filter: blur(8px);
}
.admin-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 12px;
}
.admin-card-lead {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted2);
}
.admin-setting-block {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.admin-setting-block-head {
  flex: 1;
  min-width: 0;
}
.admin-setting-label {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.admin-settings-hint {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted2);
}
.admin-toggle {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.admin-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.admin-toggle-ui {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.admin-toggle-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.admin-toggle input:checked + .admin-toggle-ui {
  background: rgba(255, 46, 46, 0.55);
  border-color: rgba(255, 120, 120, 0.45);
}
.admin-toggle input:checked + .admin-toggle-ui::after {
  transform: translateX(22px);
}
.admin-field {
  margin-bottom: 14px;
}
.admin-field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted2);
}
.admin-select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 46, 46, 0.2);
  background: rgba(255, 46, 46, 0.06);
  color: #fff;
  font: inherit;
  font-size: 15px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted2) 50%),
    linear-gradient(135deg, var(--muted2) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.admin-save-btn {
  width: 100%;
  margin-top: 4px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
}
.admin-detail-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 120, 120, 0.35);
  background: rgba(255, 46, 46, 0.12);
  color: #ffd1d1;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.admin-detail-btn:active:not(:disabled) {
  background: rgba(255, 46, 46, 0.22);
  border-color: rgba(255, 120, 120, 0.5);
}
.admin-detail-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.admin-detail-btn-danger {
  border-color: rgba(255, 80, 80, 0.35);
  background: rgba(255, 46, 46, 0.08);
  color: #ff9b9b;
}
.admin-detail-btn-danger:active:not(:disabled) {
  background: rgba(255, 46, 46, 0.18);
  border-color: rgba(255, 100, 100, 0.5);
}
.admin-summaries-list {
  display: grid;
  gap: 10px;
}
.admin-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}
.admin-summary-item-main {
  flex: 1;
  min-width: 0;
}
.admin-summary-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.admin-summary-item-meta {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted2);
}
.admin-summary-editor {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-summary-editor-title {
  font-size: 15px;
  font-weight: 700;
}
.admin-summary-editor-meta {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted2);
}
.admin-summary-textarea {
  width: 100%;
  margin-top: 12px;
  min-height: 200px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 46, 46, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}
.admin-editor-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.admin-editor-actions .btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
}
.admin-feedback-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-feedback-avg-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: #ffd78a;
  letter-spacing: -0.03em;
}
.admin-feedback-avg-label {
  font-size: 11px;
  color: var(--muted2);
  margin-top: 4px;
}
.admin-feedback-total {
  font-size: 12px;
  color: var(--muted2);
  text-align: right;
}
.admin-rating-bars {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.admin-rating-row {
  display: grid;
  grid-template-columns: 36px 1fr 30px;
  gap: 10px;
  align-items: center;
}
.admin-rating-stars {
  font-size: 11px;
  color: #ffd78a;
  font-weight: 600;
}
.admin-rating-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.admin-rating-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 46, 46, 0.55), rgba(255, 215, 140, 0.85));
}
.admin-rating-count {
  font-size: 11px;
  text-align: right;
  color: var(--muted2);
  font-variant-numeric: tabular-nums;
}
.admin-feedback-list {
  display: grid;
  gap: 10px;
}
.admin-feedback-item {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-feedback-item-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin-bottom: 6px;
}
.admin-feedback-rating {
  font-weight: 800;
  color: #ffd78a;
  font-size: 13px;
}
.admin-feedback-user {
  font-size: 13px;
  font-weight: 700;
}
.admin-feedback-time {
  font-size: 11px;
  color: var(--muted2);
}
.admin-feedback-topic {
  font-size: 11px;
  color: var(--muted2);
  margin-bottom: 6px;
}
.admin-feedback-comment {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.admin-feedback-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-activity-total {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.admin-activity-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  scrollbar-width: none;
}
.admin-activity-scroll::-webkit-scrollbar {
  display: none;
}
.admin-activity-chart {
  display: flex;
  align-items: stretch;
  gap: 3px;
  min-width: 360px;
  height: 140px;
  padding: 12px 10px 6px;
  box-sizing: border-box;
}
.admin-activity-col {
  flex: 1 0 13px;
  min-width: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.admin-activity-bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  min-height: 96px;
}
.admin-activity-bar {
  width: 100%;
  min-height: 4px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, rgba(255, 215, 140, 0.95), rgba(255, 46, 46, 0.7));
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.admin-activity-col:hover .admin-activity-bar {
  opacity: 1;
}
.admin-activity-hour {
  font-size: 9px;
  line-height: 1;
  color: var(--muted2);
  font-variant-numeric: tabular-nums;
}
.admin-top-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.admin-top-tab {
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted2);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.admin-top-tab:active {
  transform: scale(0.98);
}
.admin-top-tab-active {
  color: #fff;
  background: rgba(255, 46, 46, 0.18);
  border-color: rgba(255, 120, 120, 0.4);
}
.admin-top-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.admin-top-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.admin-top-rank,
.admin-member-rank {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted2);
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.admin-rank-gold {
  color: #ffe566;
  background: rgba(255, 215, 100, 0.15);
  border: 1px solid rgba(255, 215, 100, 0.35);
}
.admin-rank-silver {
  color: #c8d4e8;
  background: rgba(180, 195, 220, 0.12);
  border: 1px solid rgba(180, 195, 220, 0.3);
}
.admin-rank-bronze {
  color: #e8a86a;
  background: rgba(232, 168, 106, 0.12);
  border: 1px solid rgba(232, 168, 106, 0.3);
}
.admin-top-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}
.admin-top-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.admin-top-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 46, 46, 0.55), rgba(255, 215, 140, 0.8));
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.admin-top-count {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  min-width: 32px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.admin-flooder-meta {
  font-size: 11px;
  color: var(--muted2);
  margin-bottom: 6px;
  line-height: 1.35;
}
.admin-flooder-count {
  color: #ff9b9b;
}
.admin-empty {
  font-size: 13px;
  color: var(--muted2);
  text-align: center;
  padding: 28px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  line-height: 1.5;
}
.admin-card-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.admin-card-head-row .admin-card-title {
  margin-bottom: 0;
}
.admin-card-badge {
  min-width: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  color: #ffd78a;
  background: rgba(255, 46, 46, 0.18);
  border: 1px solid rgba(255, 120, 120, 0.35);
  flex-shrink: 0;
}
.admin-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.admin-member-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-member-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.admin-member-meta {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted2);
}
.admin-subscribers-list {
  display: grid;
  gap: 10px;
}
.admin-subscriber-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-subscriber-main {
  min-width: 0;
}
.admin-subscriber-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.admin-subscriber-meta {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted2);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.admin-subscriber-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.admin-subscriber-actions .btn {
  padding: 7px 12px;
  font-size: 11px;
  border-radius: 10px;
}
.admin-subscriber-editor {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-subscriber-editor-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}
.admin-input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 46, 46, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font: inherit;
  font-size: 15px;
}

.admin-score-hint {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
}
.admin-score-hint-warn {
  color: #ffb0b0;
}
.admin-score-card-form {
  padding: 18px 16px 16px;
  margin-bottom: 14px;
}
.admin-score-scan-modes-wrap {
  margin-bottom: 16px;
}
.admin-score-scan-modes-label {
  margin-bottom: 10px;
}
.admin-score-scan-modes {
  display: grid;
  gap: 10px;
}
.admin-score-scan-mode {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}
.admin-score-scan-mode:has(input:checked) {
  border-color: rgba(255, 80, 80, 0.45);
  background: rgba(255, 80, 80, 0.06);
}
.admin-score-scan-mode input {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.admin-score-scan-mode-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.admin-score-scan-mode-title {
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.admin-score-scan-mode-desc {
  display: block;
  width: 100%;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}
.admin-score-form-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}
.admin-score-field {
  margin-bottom: 14px;
}
.admin-score-field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
}
.admin-score-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 70, 70, 0.32);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.admin-score-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
  font-weight: 500;
}
.admin-score-input:focus {
  outline: none;
  border-color: rgba(255, 90, 90, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 50, 50, 0.12);
}
.admin-score-analyze-btn {
  width: 100%;
  margin-top: 8px;
  border-radius: 16px;
  min-height: 50px;
}
.admin-score-progress {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #b8d4ff;
  background: rgba(80, 140, 255, 0.1);
  border: 1px solid rgba(80, 140, 255, 0.22);
}
.admin-score-progress-loading-wrap {
  padding: 0;
  border: none;
  background: transparent;
}
.admin-score-loading-card {
  padding: 16px 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 80, 80, 0.35);
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(255, 50, 50, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(18, 10, 10, 0.98) 0%, rgba(8, 6, 6, 0.98) 100%);
  box-shadow: 0 0 28px rgba(255, 40, 40, 0.12);
}
.admin-score-loading-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.admin-score-loading-icon-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.admin-score-loading-track {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
}
.admin-score-loading-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: #ff4444;
  border-right-color: rgba(255, 70, 70, 0.4);
  animation: admin-score-loading-spin 0.9s linear infinite;
  will-change: transform;
}
@keyframes admin-score-loading-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.admin-score-loading-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
}
.admin-score-loading-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.admin-score-loading-text {
  min-width: 0;
  padding-top: 2px;
}
.admin-score-loading-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 4px;
}
.admin-score-loading-sub {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
}
.admin-score-loading-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.admin-score-loading-bar {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}
.admin-score-loading-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: repeating-linear-gradient(
    -45deg,
    #ff2a2a 0,
    #ff2a2a 7px,
    #ff5050 7px,
    #ff5050 14px
  );
  box-shadow: 0 0 14px rgba(255, 50, 50, 0.55);
  transition: width 1.1s ease;
  width: 0;
}
.admin-score-loading-bar-indeterminate .admin-score-loading-bar-fill {
  width: 38%;
  animation: admin-score-loading-bar-slide 1.4s ease-in-out infinite;
}
.admin-score-loading-bar:not(.admin-score-loading-bar-indeterminate) .admin-score-loading-bar-fill {
  animation: none;
  transform: none;
}
@keyframes admin-score-loading-bar-slide {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}
.admin-score-loading-pct {
  min-width: 36px;
  font-size: 13px;
  font-weight: 700;
  color: #ff5555;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.admin-score-loading-elapsed {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 200, 200, 0.85);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.admin-score-loading-status {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}
.admin-score-loading-dot {
  color: #ff4444;
  font-weight: 700;
}
.admin-score-loading-status-flood .admin-score-loading-dot {
  animation: admin-score-flood-pulse 1s ease-in-out infinite;
}
.admin-score-loading-status-flood .admin-score-loading-status-text {
  color: #ff8888;
}
@keyframes admin-score-flood-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.admin-score-loading-foot {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.38);
}
.admin-score-progress-error {
  color: #ffb0b0;
  background: rgba(255, 80, 80, 0.1);
  border-color: rgba(255, 120, 120, 0.25);
}
.admin-score-result {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.admin-score-result-closing {
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  pointer-events: none;
}
.admin-score-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 70, 70, 0.32);
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(255, 50, 50, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, rgba(22, 12, 12, 0.98) 0%, rgba(8, 6, 6, 0.98) 100%);
  box-shadow:
    0 0 28px rgba(255, 40, 40, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.admin-score-card-hero {
  padding: 20px 16px 16px;
  text-align: center;
}
.admin-score-cards-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.admin-score-card-detail {
  padding: 14px 14px 12px;
  min-width: 0;
}
.admin-score-result-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.admin-score-result-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 70, 70, 0.55);
  box-shadow:
    0 0 28px rgba(255, 50, 50, 0.42),
    0 0 10px rgba(255, 80, 80, 0.25);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.admin-score-result-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-score-result-initials {
  font-size: 24px;
  font-weight: 800;
  color: #ff6b6b;
  line-height: 1;
}
.admin-score-result-user {
  margin-bottom: 0;
}
.admin-score-result-name-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
}
.admin-score-result-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.admin-score-verified {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-flex;
}
.admin-score-verified svg {
  width: 100%;
  height: 100%;
  display: block;
}
.admin-score-result-user-sub {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.admin-score-result-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px 0 4px;
}
.score-messages-icon {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.admin-score-result-msg-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  filter: drop-shadow(0 0 12px rgba(255, 60, 60, 0.55));
}
.admin-score-result-star-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
.admin-hub-icon .score-messages-icon,
.admin-panel-icon .score-messages-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.admin-score-result-score {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ff8a8a 0%, #ff3333 45%, #cc1515 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(255, 50, 50, 0.45));
}
.admin-score-result-caption {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.admin-score-result-total {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.admin-score-result-regularity {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.admin-score-result-regularity--empty {
  color: rgba(255, 255, 255, 0.35);
}
.admin-score-regularity-standalone {
  margin: 0 0 12px;
}
.admin-score-result-pct {
  color: #ff5555;
  font-weight: 700;
}
.admin-score-result-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.admin-score-result-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.admin-score-result-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2222, #ff6666);
  box-shadow: 0 0 16px rgba(255, 50, 50, 0.7);
}
.admin-score-result-bar-pct {
  min-width: 34px;
  font-size: 13px;
  font-weight: 700;
  color: #ff5555;
  text-align: right;
}
.admin-score-block-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff5555;
}
.admin-score-ico-head {
  width: 18px;
  height: 18px;
  display: inline-flex;
  color: #ff5555;
}
.admin-score-ico-head svg {
  width: 100%;
  height: 100%;
  display: block;
}
.admin-score-metric {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.admin-score-metric:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.admin-score-ico-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}
.admin-score-ico-box svg {
  width: 14px;
  height: 14px;
  display: block;
}
.admin-score-metric-main {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
}
.admin-score-metric-label {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  min-width: 0;
  overflow-wrap: anywhere;
}
.admin-score-metric-val {
  font-size: 14px;
  font-weight: 700;
  color: #ff5555;
  white-space: nowrap;
  text-align: right;
  line-height: 1.4;
  padding-left: 4px;
}
@media (min-width: 520px) {
  .admin-score-cards-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 360px) {
  .admin-score-result-score {
    font-size: 38px;
  }
}
.admin-score-card-phrases {
  padding: 16px;
  margin-bottom: 14px;
}
.admin-score-profanity-open-btn {
  margin-top: 8px;
}
.admin-score-cards-row-extra {
  margin-top: 10px;
}
.admin-score-phrases-open-btn {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 70, 70, 0.35);
  background: rgba(255, 40, 40, 0.08);
  color: rgba(255, 210, 210, 0.92);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.admin-score-phrases-open-btn:active {
  background: rgba(255, 50, 50, 0.14);
  border-color: rgba(255, 100, 100, 0.5);
}
.admin-score-phrases-open-btn-active {
  border-color: rgba(255, 100, 100, 0.5);
  background: rgba(255, 50, 50, 0.14);
  color: #ffc4c4;
}
.admin-score-phrases-panel {
  margin-top: 14px;
  padding-top: 0;
  border-top: none;
}
.admin-score-phrases-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.admin-score-phrases-panel-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.admin-score-phrases-hint {
  margin-bottom: 12px;
}
.admin-score-phrases-panel-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 70, 70, 0.35);
  background: rgba(255, 40, 40, 0.08);
  color: rgba(255, 200, 200, 0.85);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.admin-score-phrases-panel-close:active {
  background: rgba(255, 50, 50, 0.16);
  border-color: rgba(255, 100, 100, 0.5);
}
.admin-score-phrases-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-score-phrase-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 70, 70, 0.28);
}
.admin-score-phrase-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-score-phrase-text {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  word-break: break-word;
}
.admin-score-phrase-meta {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.42);
}
.admin-score-phrase-item .admin-detail-btn-danger {
  flex-shrink: 0;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
}
.admin-score-phrases-empty {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 70, 70, 0.22);
  background: rgba(0, 0, 0, 0.25);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}
.admin-score-add-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.admin-score-phrase-add-btn {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.admin-score-phrase-add-btn:active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}
.admin-score-save-prompt {
  margin-top: 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 70, 70, 0.28);
  background: rgba(255, 40, 40, 0.06);
  text-align: center;
}
.admin-score-save-prompt-done {
  color: #ff7777;
  font-size: 14px;
  font-weight: 600;
}
.admin-score-save-text {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.admin-score-save-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.admin-score-force-full {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}
.admin-score-force-full input {
  margin-top: 2px;
  flex-shrink: 0;
}
.admin-score-phrase-export {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.admin-score-phrase-export-text {
  margin: 0 0 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
.admin-score-phrase-export-btn,
.admin-score-phrase-export-send-btn {
  width: 100%;
}
.admin-score-phrase-export-send-btn {
  margin-top: 8px;
}
.admin-score-history-list.sponsor-list {
  margin: 0 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.admin-score-history-controls {
  margin-bottom: 12px;
}
.admin-score-history-tabs {
  margin-bottom: 0;
}
.admin-score-history-tabs .admin-top-tab {
  font-size: 12px;
  padding: 9px 8px;
}
.admin-score-history-item {
  cursor: pointer;
  align-items: center;
}
.admin-score-history-list .admin-score-history-item:not(.score-ratings-item) {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
}
.admin-score-history-item .sponsor-avatar {
  margin-top: 0;
}
.admin-score-history-item .admin-score-history-score {
  margin-top: 0;
  flex-shrink: 0;
}
.admin-score-history-handle[data-kind="id"] {
  font-variant-numeric: tabular-nums;
}
.admin-score-history-item-active {
  background: rgba(255, 50, 50, 0.08) !important;
}
.admin-score-history-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-score-history-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}
.admin-score-history-handle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-score-history-date {
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.admin-score-calculated-at {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 90, 0.28);
  background: rgba(255, 50, 50, 0.08);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
}
.score-ratings-inner {
  padding-bottom: 28px;
}
.score-ratings-load-more {
  display: block;
  width: 100%;
  margin: 8px 0 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}
.score-ratings-load-more:disabled {
  opacity: 0.72;
  cursor: default;
}
.score-ratings-hero {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.score-ratings-hero-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  filter: drop-shadow(0 0 10px rgba(255, 80, 80, 0.45));
}
.score-ratings-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.score-ratings-sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.48);
}
.score-ratings-note {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}
.score-ratings-empty {
  margin-top: 6px;
  padding: 28px 20px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 70, 70, 0.32);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 46, 46, 0.1), transparent 58%),
    rgba(10, 8, 12, 0.88);
  text-align: center;
  box-shadow: 0 0 18px rgba(255, 40, 40, 0.06);
}
.score-ratings-empty-icon {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  border-radius: 8px;
  filter: drop-shadow(0 0 12px rgba(255, 60, 60, 0.22));
}
.score-ratings-empty-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.score-ratings-empty-text {
  margin: 0 auto;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.46);
}
.score-ratings-item {
  grid-template-columns: auto auto 1fr auto;
}
.score-ratings-rank {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}
.score-ratings-detail {
  margin-top: 14px;
}
.profile-card .profile-score-ratings-btn {
  margin-top: 10px;
}
.profile-score-ratings-btn {
  margin-top: 10px;
}

/* Пара строк score — компактная карточка с тонкой красной рамкой */
.profile-manage-btn.profile-score-entry-btn {
  position: relative;
  border: 1px solid rgba(255, 70, 70, 0.38);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 46, 46, 0.1), transparent 55%),
    rgba(10, 8, 12, 0.88);
  padding: 13px 14px 13px 12px;
  min-height: 0;
  gap: 12px;
  box-shadow: 0 0 16px rgba(255, 40, 40, 0.08);
}
.profile-score-entry-btn > * {
  position: relative;
  z-index: 1;
}
.profile-score-entry-btn .profile-manage-body {
  padding-left: 0;
  flex: 1;
  min-width: 0;
}
.profile-score-entry-btn .profile-manage-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.profile-score-entry-btn .profile-manage-desc {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}
.profile-score-entry-btn .profile-manage-chevron {
  color: rgba(255, 100, 100, 0.75);
  font-size: 20px;
  margin-right: 2px;
  text-shadow: none;
}
.profile-score-self-row-open.profile-score-entry-btn {
  border-color: rgba(255, 90, 90, 0.5);
  box-shadow: 0 0 18px rgba(255, 50, 50, 0.12);
}
.profile-manage-btn.profile-score-entry-btn:active {
  border-color: rgba(255, 90, 90, 0.55);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 46, 46, 0.16), transparent 55%),
    rgba(18, 10, 14, 0.92);
  transform: scale(0.985);
}

.profile-score-self-row .profile-manage-body,
.profile-score-ratings-btn .profile-manage-body {
  padding-left: 2px;
}
.admin-score-batch-card {
  margin-bottom: 12px;
}
.admin-score-batch-progress {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 70, 70, 0.22);
  background: rgba(255, 40, 40, 0.06);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}
.admin-score-batch-progress-error {
  border-color: rgba(255, 120, 80, 0.35);
  color: rgba(255, 190, 170, 0.95);
}
.admin-score-batch-run-btn {
  width: 100%;
  min-height: 46px;
}
.admin-score-batch-open-btn {
  width: 100%;
  min-height: 42px;
  margin-bottom: 10px;
}
.admin-score-stop-btn {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
}
.admin-score-batch-detail-stop {
  margin-bottom: 10px;
}
.admin-score-batch-queue-item--cancelled {
  opacity: 0.55;
}
.admin-score-batch-queue-item--cancelled .admin-score-batch-queue-status {
  color: rgba(255, 255, 255, 0.38);
}
.admin-score-batch-run-btn:disabled {
  opacity: 0.55;
}
.admin-score-batch-live-card {
  padding-top: 4px;
}
.admin-score-batch-queue {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-score-batch-queue-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.admin-score-batch-queue-item--running {
  border-color: rgba(255, 70, 70, 0.35);
  background: rgba(255, 40, 40, 0.08);
}
.admin-score-batch-queue-item--ok {
  border-color: rgba(80, 200, 120, 0.25);
}
.admin-score-batch-queue-item--failed {
  border-color: rgba(255, 120, 80, 0.3);
  opacity: 0.85;
}
.admin-score-batch-queue-num {
  flex: 0 0 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
.admin-score-batch-queue-body {
  flex: 1;
  min-width: 0;
}
.admin-score-batch-queue-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-score-batch-queue-meta {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.admin-score-batch-queue-status {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.admin-score-batch-queue-item--running .admin-score-batch-queue-status {
  color: rgba(255, 120, 100, 0.95);
}
.admin-score-batch-queue-item--ok .admin-score-batch-queue-status {
  color: rgba(120, 220, 150, 0.95);
}
.admin-score-batch-queue-item--failed .admin-score-batch-queue-status {
  color: rgba(255, 150, 120, 0.95);
}
.profile-score-self {
  margin-top: 10px;
  padding: 0;
  background: transparent;
  border: none;
}
.profile-score-self-row-wrap {
  position: relative;
}
.profile-score-self-row-wrap .profile-score-self-row {
  width: 100%;
}
.profile-score-self-row--refreshable {
  padding-right: 52px;
}
.profile-score-refresh-btn {
  position: absolute;
  top: 50%;
  right: 36px;
  z-index: 2;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 120, 120, 0.45);
  border-radius: 50%;
  background: rgba(255, 60, 60, 0.14);
  color: rgba(255, 170, 170, 0.98);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 12px rgba(255, 50, 50, 0.18);
  animation: profile-score-refresh-pulse 2s ease-in-out infinite;
}
.profile-score-refresh-btn.hidden {
  display: none;
}
.profile-score-refresh-btn:disabled {
  opacity: 0.45;
  cursor: default;
  animation: none;
}
.profile-score-refresh-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.94);
  background: rgba(255, 60, 60, 0.24);
}
.profile-score-refresh-icon {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}
@keyframes profile-score-refresh-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 50, 50, 0.12); }
  50% { box-shadow: 0 0 16px rgba(255, 70, 70, 0.35); }
}
.profile-card .profile-score-self {
  margin-top: 16px;
  margin-bottom: 0;
}
.profile-score-self-row {
  margin-top: 0;
}
.profile-score-self-row-open .profile-manage-chevron {
  transform: rotate(90deg);
}
.profile-score-self .admin-score-progress {
  margin-top: 10px;
}
.profile-score-self-detail {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: profileScoreDetailIn 0.32s ease;
}
.profile-score-self-detail.hidden {
  display: none;
}

.member-activity-inner {
  padding-bottom: 28px;
}
.member-activity-header {
  margin-bottom: 12px;
}
.member-activity-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 70, 70, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.03);
}
.member-activity-profile .admin-score-result-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.member-activity-profile-text {
  min-width: 0;
}
.member-activity-name {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  word-break: break-word;
}
.member-activity-handle {
  font-size: 14px;
  line-height: 1.3;
  color: rgba(120, 180, 255, 0.95);
}
.member-activity-summary {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 70, 70, 0.32);
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(255, 50, 50, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, rgba(22, 12, 12, 0.98) 0%, rgba(8, 6, 6, 0.98) 100%);
  box-shadow:
    0 0 24px rgba(255, 40, 40, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.member-activity-stat-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.member-activity-stat-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.member-activity-stat-line {
  font-size: 16px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}
.member-activity-stat-line strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ff5555;
}
.member-activity-stat-sub {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
  font-variant-numeric: tabular-nums;
}
.member-activity-stat-sub strong {
  color: #ff5555;
  font-weight: 700;
}
.member-activity-meta {
  margin-top: 10px;
}
.member-activity-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  min-height: 48px;
}
.member-activity-status-fresh {
  border-color: rgba(255, 70, 70, 0.32);
}
.member-activity-status-stale {
  border-color: rgba(255, 90, 90, 0.48);
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(255, 50, 50, 0.24) 0%, transparent 55%),
    linear-gradient(180deg, rgba(28, 10, 10, 0.98) 0%, rgba(12, 6, 6, 0.98) 100%);
  box-shadow:
    0 0 22px rgba(255, 40, 40, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.member-activity-status-date {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.member-activity-status-label {
  font-size: 14px;
  font-weight: 700;
  color: #ff5555;
  letter-spacing: -0.01em;
}
.member-activity-updated-row,
.member-activity-updated {
  display: none;
}
.member-activity-stale-badge,
.member-activity-fresh-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff5555;
  background: rgba(255, 50, 50, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.42);
  box-shadow: 0 0 12px rgba(255, 40, 40, 0.12);
}
.member-activity-stale-badge {
  color: #ff7777;
  background: rgba(255, 50, 50, 0.2);
  border-color: rgba(255, 100, 100, 0.52);
  box-shadow: 0 0 14px rgba(255, 40, 40, 0.18);
}
.member-activity-meta-hint {
  margin-top: 8px;
  padding: 0 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.35;
}
.member-activity-refresh-btn {
  width: 100%;
  margin-top: 12px;
}
.member-activity-refresh-btn[disabled] {
  opacity: 0.55;
}
.member-activity-empty {
  padding: 12px 0 4px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}
#member-activity-progress {
  margin-top: 12px;
}
.member-activity-detail {
  margin-top: 10px;
}
@keyframes profileScoreDetailIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.admin-score-history-score {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 14px;
  color: #ff6060;
  white-space: nowrap;
}
.admin-score-text-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
  opacity: 0.95;
  background: transparent;
  filter: drop-shadow(0 0 6px rgba(255, 70, 70, 0.35));
}
.admin-score-history-detail {
  position: relative;
  margin-top: 8px;
}
.admin-score-history-detail-inner {
  position: relative;
}
.admin-score-history-toolbar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
}
.admin-score-history-settings {
  position: relative;
}
.admin-score-history-settings-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 90, 0.45);
  background: rgba(0, 0, 0, 0.15);
  color: #ff6060;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 14px rgba(255, 50, 50, 0.12);
}
.admin-score-history-settings-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}
.admin-score-history-settings-btn:active {
  background: rgba(255, 40, 40, 0.1);
  border-color: rgba(255, 100, 100, 0.6);
}
.admin-score-history-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 152px;
  border-radius: 12px;
  border: 1px solid rgba(255, 100, 100, 0.28);
  background: #141018;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 6;
}
.admin-score-history-menu.hidden {
  display: none;
}
.admin-score-history-menu button {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  background: none;
  color: #f0f0f0;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.admin-score-history-menu button + button {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-score-history-menu button:active {
  background: rgba(255, 255, 255, 0.06);
}
.admin-score-history-menu button.danger {
  color: #ff8a8a;
}
.admin-score-history-item-flash {
  animation: admin-score-history-flash 1.4s ease;
}
@keyframes admin-score-history-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 80, 80, 0.55);
  }
  35% {
    box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.35);
  }
  100% {
    box-shadow: none;
  }
}
.admin-score-history-item-flash .admin-score-history-item-active,
.admin-score-history-item-flash.admin-score-history-item-active {
  background: rgba(255, 50, 50, 0.14) !important;
}

/* ─── Рулетка: карточки ─── */
.rlt-admin-settings {
  margin-bottom: 14px;
}
.rlt-maintenance-banner {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 120, 90, 0.42);
  background: rgba(255, 70, 50, 0.1);
  color: #ffc9b8;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.rlt-maintenance-banner--solo {
  margin-top: 8px;
  padding: 22px 18px;
  font-size: 14px;
  line-height: 1.55;
  border-radius: 18px;
  border-color: rgba(255, 120, 90, 0.5);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 80, 60, 0.12), transparent 70%),
    rgba(255, 70, 50, 0.08);
  box-shadow: 0 0 28px rgba(210, 40, 30, 0.18);
}
.rlt-status-banner {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 180, 80, 0.35);
  background: rgba(255, 180, 80, 0.08);
  color: #ffd9a8;
  font-size: 13px;
  line-height: 1.55;
}
.rlt-status-banner a {
  color: #ffb347;
  font-weight: 600;
  text-decoration: underline;
}
.rlt-warn {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 46, 46, 0.1);
  border: 1px solid rgba(255, 46, 46, 0.2);
  color: #ffc9c9;
  font-size: 12px;
  line-height: 1.5;
}

body.rlt-spin-lock {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: manipulation;
}
.rlt-card-focus {
  outline: 2px solid rgba(255, 215, 107, 0.85);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 46, 46, 0.22);
}
.rlt-card svg.rlt-history-svg {
  display: block;
  width: 16px;
  height: 16px;
  max-width: 24px;
  max-height: 24px;
  flex-shrink: 0;
}
.rlt-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 46, 46, 0.22);
  border-radius: 22px;
  padding: 0;
  margin-bottom: 0;
  background:
    radial-gradient(ellipse 130% 90% at 50% -30%, rgba(255, 46, 46, 0.16), transparent 58%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.14) 100%),
    var(--card);
  backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 16px 40px rgba(0, 0, 0, 0.32);
}
.rlt-card-accent {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 46, 46, 0.85) 50%, transparent 100%);
}
.rlt-card-inner {
  position: relative;
  z-index: 1;
  padding: 16px 16px 16px;
}
.rlt-card-watermark {
  position: absolute;
  right: 6px;
  top: 28px;
  font-size: 76px;
  line-height: 1;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.rlt-card--spinning {
  border-color: rgba(255, 179, 71, 0.5);
  background:
    radial-gradient(ellipse 130% 90% at 50% -30%, rgba(255, 140, 40, 0.22), transparent 58%),
    linear-gradient(165deg, rgba(255, 200, 100, 0.06) 0%, rgba(0, 0, 0, 0.14) 100%),
    var(--card);
  box-shadow:
    0 1px 0 rgba(255, 200, 100, 0.08) inset,
    0 0 28px rgba(255, 140, 40, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.32);
  animation: rlt-card-spin-glow 3s ease-in-out infinite;
}
.rlt-card--spinning .rlt-card-accent {
  background: linear-gradient(90deg, #ff7a18, #ffb347, #ff7a18);
  background-size: 200% 100%;
  animation: rlt-card-accent-shift 2.2s linear infinite;
}
.rlt-card--pending {
  border-color: rgba(255, 255, 255, 0.14);
  opacity: 0.94;
}
.rlt-card--pending .rlt-card-accent {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}
@keyframes rlt-card-accent-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes rlt-card-spin-glow {
  0%, 100% { box-shadow: 0 1px 0 rgba(255, 200, 100, 0.08) inset, 0 0 20px rgba(255, 140, 40, 0.08), 0 16px 40px rgba(0, 0, 0, 0.32); }
  50% { box-shadow: 0 1px 0 rgba(255, 200, 100, 0.1) inset, 0 0 32px rgba(255, 140, 40, 0.18), 0 16px 40px rgba(0, 0, 0, 0.32); }
}
.rlt-card-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.rlt-card-head-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.rlt-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 1.15rem;
  line-height: 1;
  background: rgba(255, 46, 46, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.25);
  box-shadow: 0 4px 14px rgba(255, 46, 46, 0.18);
}
.rlt-card--spinning .rlt-card-icon {
  background: rgba(255, 140, 40, 0.16);
  border-color: rgba(255, 179, 71, 0.35);
  box-shadow: 0 4px 14px rgba(255, 140, 40, 0.22);
}
.rlt-card-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding-top: 4px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
  word-break: break-word;
}
.rlt-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rlt-card-prize {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 179, 71, 0.08) 0%, rgba(0, 0, 0, 0.28) 100%);
  border: 1px solid rgba(255, 179, 71, 0.18);
}
.rlt-card-prize-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  overflow: hidden;
  font-size: 1.25rem;
  line-height: 1;
  background: linear-gradient(145deg, rgba(255, 200, 80, 0.22), rgba(255, 120, 40, 0.12));
  border: 1px solid rgba(255, 179, 71, 0.32);
  box-shadow: 0 6px 16px rgba(255, 140, 40, 0.15);
}
.rlt-card-prize-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.rlt-card-prize-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 200, 120, 0.72);
}
.rlt-card-prize-value {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffe8d4;
  word-break: break-word;
}
.rlt-card-prize-value .rlt-prize-link {
  color: #ffb88a;
}
.rlt-card-countdown {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.rlt-card-countdown-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.rlt-card-countdown-head .rlt-history-svg {
  width: 15px;
  height: 15px;
  color: rgba(220, 220, 228, 0.72);
}
.rlt-card-countdown-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted2);
}
.rlt-card-countdown .rlt-countdown {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffd1d1;
}
.rlt-card-countdown--live {
  background: rgba(255, 140, 40, 0.12);
  border-color: rgba(255, 179, 71, 0.32);
}
.rlt-card-countdown--live .rlt-card-countdown-label {
  color: #ffc87a;
}
.rlt-card-countdown--live .rlt-countdown {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 220, 180, 0.88);
}
.rlt-badge-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5c5c;
  box-shadow: 0 0 8px rgba(255, 92, 92, 0.75);
  animation: rlt-live-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.rlt-badge-mode-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}
.rlt-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.rlt-card-stat {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
}
.rlt-card-stat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.rlt-card-stat-icon--time {
  background: rgba(255, 46, 46, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.24);
}
.rlt-card-stat-icon--time .rlt-history-svg {
  width: 16px;
  height: 16px;
  color: #ff8a7a;
}
.rlt-card-stat-icon--users {
  background: rgba(100, 200, 120, 0.1);
  border: 1px solid rgba(100, 200, 120, 0.18);
}
.rlt-card-stat-icon--users .rlt-history-svg {
  width: 16px;
  height: 16px;
  color: #9ee8b0;
}
.rlt-card-stat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.rlt-card-stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted2);
}
.rlt-card-stat-value {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffd1d1;
  word-break: break-word;
}
.rlt-card-progress {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.rlt-card-progress--ready {
  background: rgba(100, 200, 120, 0.08);
  border-color: rgba(100, 200, 120, 0.2);
}
.rlt-card-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.rlt-card-progress-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.rlt-card-progress--ready .rlt-card-progress-label {
  color: #9ee8b0;
}
.rlt-card-progress-count {
  font-size: 12px;
  font-weight: 800;
  color: #ffd1d1;
  font-variant-numeric: tabular-nums;
}
.rlt-card-progress--ready .rlt-card-progress-count {
  color: #9ee8b0;
}
.rlt-card-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.rlt-card-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 46, 46, 0.75), rgba(255, 120, 80, 0.85));
  transition: width 0.35s ease;
}
.rlt-card-progress--ready .rlt-card-progress-fill {
  background: linear-gradient(90deg, rgba(80, 200, 110, 0.85), rgba(120, 230, 150, 0.9));
}
.rlt-card-note {
  margin: 0 0 10px;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(255, 179, 71, 0.45);
}
.rlt-card-conditions {
  margin-bottom: 4px;
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(255, 46, 46, 0.07);
  border: 1px solid rgba(255, 46, 46, 0.14);
}
.rlt-card-conditions-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 4px;
}
.rlt-card-conditions-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #e8d4d4;
  word-break: break-word;
}

/* ─── Карточка активного розыгрыша (giveaway list) ─── */
.rlt-card--giveaway {
  border: 1px solid rgba(255, 70, 70, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 120% 70% at 50% -25%, rgba(255, 46, 46, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(14, 11, 13, 0.98), rgba(7, 6, 8, 0.98));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 32px rgba(0, 0, 0, 0.36);
  backdrop-filter: none;
}
.rlt-card--giveaway .rlt-card-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}
.rlt-card--giveaway .rlt-card-head {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 16px;
  margin: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 70, 70, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
.rlt-card-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.rlt-card-head-row--top {
  align-items: center;
}
.rlt-card--giveaway .rlt-card-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rlt-card-head-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.rlt-card-head-timer .rlt-history-svg {
  color: #ff8a7a;
}
.rlt-card-head-timer-value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  color: #ff8a7a;
}
.rlt-card-head-timer-value.rlt-countdown-soon {
  color: #ff6b6b;
}
.rlt-card-head-timer-value.rlt-countdown-ready {
  font-size: 0.82rem;
  color: #7dffb3;
}
.rlt-card-head-timer-value--muted {
  color: rgba(255, 255, 255, 0.28);
}
.rlt-card-head-timer--live .rlt-card-head-timer-value {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #ffc87a;
}
.rlt-card-head-status {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  flex: 1;
}
.rlt-card-head-status .rlt-card-mode-pill,
.rlt-card-head-status .rlt-badge {
  white-space: nowrap;
  flex-shrink: 0;
}
.rlt-card-head-status .rlt-card-mode-pill {
  flex-shrink: 1;
  min-width: 0;
}
.rlt-card-head-participants {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.rlt-card-head-participants .rlt-history-svg {
  color: #ff8a7a;
}
.rlt-card-head-participants-value {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 225, 220, 0.92);
}
.rlt-card-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: rgba(235, 235, 240, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rlt-card-mode-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  flex-shrink: 0;
}
.rlt-card--giveaway .rlt-card-head-badges .rlt-badge,
.rlt-card--giveaway .rlt-card-head-status .rlt-badge {
  min-height: 24px;
  padding: 0 10px;
  font-size: 11px;
}
.rlt-card-tile {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 70, 70, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
.rlt-card-tile-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 160, 130, 0.68);
}
.rlt-card-tile-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.rlt-card-tile-head .rlt-history-svg {
  color: rgba(220, 220, 228, 0.65);
}
.rlt-card-tile-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(230, 220, 220, 0.88);
  word-break: break-word;
}
.rlt-card--giveaway .rlt-card-tile--prize {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 40px 12px 12px;
  overflow: hidden;
  border-color: rgba(255, 90, 90, 0.16);
  background: rgba(255, 46, 46, 0.04);
}
.rlt-card--giveaway .rlt-card-tile--prize-link {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.rlt-card--giveaway .rlt-card-tile--prize-link:hover {
  border-color: rgba(255, 100, 90, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 4px 16px rgba(255, 46, 46, 0.1);
}
.rlt-card--giveaway .rlt-card-tile--prize-link:active {
  transform: scale(0.995);
}
.rlt-card--giveaway .rlt-card-prize-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 46, 46, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.32);
  box-shadow: 0 2px 12px rgba(255, 46, 46, 0.14);
}
.rlt-card-prize-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rlt-card-prize-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.25rem;
  line-height: 1;
}
.rlt-card--giveaway .rlt-card-prize-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rlt-card--giveaway .rlt-card-prize-value {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.rlt-card--giveaway .rlt-card-prize-value .rlt-prize-link {
  color: #ffb0a0;
  text-decoration: none;
}
.rlt-card-prize-accent {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 46, 46, 0.07));
}
.rlt-card-prize-accent::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-top: 1.5px solid rgba(255, 140, 120, 0.45);
  border-right: 1.5px solid rgba(255, 140, 120, 0.45);
  transform: rotate(45deg);
}
.rlt-card--giveaway .rlt-card-tile--countdown {
  padding: 12px;
}
.rlt-card--giveaway .rlt-card-tile--countdown .rlt-card-tile-head {
  margin-bottom: 2px;
}
.rlt-card--giveaway .rlt-card-tile--countdown .rlt-card-tile-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(255, 160, 130, 0.58);
}
.rlt-card--giveaway .rlt-card-countdown-value {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  color: #ff8a7a;
  text-align: left;
}
.rlt-card--giveaway .rlt-card-countdown-value.rlt-countdown-soon {
  color: #ff6b6b;
}
.rlt-card--giveaway .rlt-card-countdown-value.rlt-countdown-ready {
  font-size: 1.05rem;
  line-height: 1.3;
  color: #7dffb3;
}
.rlt-card--giveaway .rlt-card-tile--live {
  border-color: rgba(255, 179, 71, 0.24);
  background: rgba(255, 140, 40, 0.06);
}
.rlt-card--giveaway .rlt-card-tile--live .rlt-card-tile-label {
  color: #ffc87a;
}
.rlt-card--giveaway .rlt-card-tile--launch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  min-width: 0;
}
.rlt-card--giveaway .rlt-card-tile--launch .rlt-card-stat-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rlt-card--giveaway .rlt-card-stat-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.rlt-card--giveaway .rlt-card-stat-value {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 225, 220, 0.92);
}
.rlt-card--giveaway .rlt-card-tile--progress {
  padding: 12px;
}
.rlt-card--giveaway .rlt-card-tile--ready {
  border-color: rgba(100, 200, 120, 0.2);
  background: rgba(100, 200, 120, 0.05);
}
.rlt-card--giveaway .rlt-card-tile--note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 92, 92, 0.14);
  border-left: 3px solid rgba(255, 120, 100, 0.48);
  border-radius: 12px;
  background: rgba(255, 46, 46, 0.05);
}
.rlt-card-note-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
  line-height: 1;
  color: #ff8a7a;
  background: rgba(255, 46, 46, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.24);
}
.rlt-card--giveaway .rlt-card-tile--note .rlt-card-tile-text {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(220, 210, 200, 0.88);
}
.rlt-card--giveaway .rlt-card-tile--conditions {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}
.rlt-card--giveaway .rlt-card-tile--conditions .rlt-card-tile-label {
  margin-bottom: 4px;
  color: rgba(255, 160, 130, 0.55);
}
.rlt-card--giveaway .rlt-card-tile--conditions .rlt-card-tile-text {
  color: rgba(240, 232, 232, 0.94);
  font-size: 13px;
  line-height: 1.5;
}
.rlt-card--giveaway .rlt-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}
.rlt-card--giveaway .rlt-card-action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 44px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.rlt-card--giveaway .rlt-card-action-btn.btn-primary {
  background: linear-gradient(180deg, rgba(255, 70, 70, 0.95), rgba(210, 40, 40, 0.92));
  border-color: rgba(255, 120, 100, 0.45);
  box-shadow: 0 4px 16px rgba(255, 46, 46, 0.24);
}
.rlt-card--giveaway .rlt-card-action-btn.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(255, 46, 46, 0.3);
}
.rlt-card--giveaway .rlt-card-action-btn.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}
.rlt-card--giveaway .rlt-card-action-btn.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f0e0e0;
}
.rlt-card--giveaway .rlt-card-action-btn.rlt-live-spin-btn {
  border-color: rgba(255, 179, 71, 0.4);
  box-shadow: 0 4px 16px rgba(255, 140, 40, 0.2);
}
.rlt-card--giveaway .rlt-card-action-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.88);
}
.rlt-card--giveaway .rlt-card-action-icon .rlt-history-svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
}
.rlt-card--giveaway .rlt-card-action-text {
  text-align: center;
}
.rlt-card--giveaway .rlt-card-action-btn[disabled] {
  opacity: 0.45;
}
.rlt-card--giveaway .rlt-card-action-btn.rlt-live-spin-btn::before {
  display: none;
}
.rlt-card--giveaway.rlt-card--spinning {
  border-color: rgba(255, 179, 71, 0.38);
  animation: rlt-card-spin-glow 3s ease-in-out infinite;
}
.rlt-card--giveaway.rlt-card--spinning .rlt-card-head {
  border-color: rgba(255, 179, 71, 0.24);
}

.rlt-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.rlt-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}
.rlt-meta strong { color: #ffd1d1; font-weight: 600; }
.rlt-prize-link {
  color: #ff8a8a;
  text-decoration: none;
  word-break: break-word;
}
.rlt-prize-link:hover { text-decoration: underline; }

.rlt-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.rlt-actions .btn-primary {
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(255, 46, 46, 0.28);
}
.rlt-spin-btn--ready {
  box-shadow:
    0 4px 22px rgba(255, 46, 46, 0.38),
    0 0 0 1px rgba(255, 120, 80, 0.35);
  animation: rlt-spin-ready-pulse 2.4s ease-in-out infinite;
}
@keyframes rlt-spin-ready-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(255, 46, 46, 0.28), 0 0 0 0 rgba(255, 92, 92, 0); }
  50% { box-shadow: 0 6px 24px rgba(255, 46, 46, 0.42), 0 0 0 4px rgba(255, 92, 92, 0.12); }
}
.rlt-actions .btn-ghost {
  min-height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8d4d4;
}
.rlt-actions-secondary .rlt-join-btn {
  background: rgba(255, 46, 46, 0.15);
  border-color: rgba(255, 92, 92, 0.35);
}
.rlt-actions-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.rlt-actions-secondary .rlt-show-wheel-btn:only-child {
  grid-column: 1 / -1;
}
.rlt-actions .btn {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 12px;
}

#rlt-open-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ─── Форма создания ─── */
.rlt-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}
.rlt-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.rlt-field:last-of-type {
  margin-bottom: 20px;
}
.rlt-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 0;
}
.rlt-form input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rlt-form input:focus {
  outline: none;
  border-color: rgba(255, 46, 46, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 46, 46, 0.12);
}
.rlt-form input::placeholder {
  color: var(--muted2);
}
.rlt-form textarea {
  display: block;
  width: 100%;
  min-height: 84px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rlt-form textarea:focus {
  outline: none;
  border-color: rgba(255, 46, 46, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 46, 46, 0.12);
}
.rlt-form textarea::placeholder {
  color: var(--muted2);
}
.rlt-entry-conditions {
  margin-top: 8px;
  white-space: normal;
}
.rlt-field-hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted2);
}
.rlt-manual-add {
  width: 100%;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.rlt-manual-add-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.rlt-manual-add-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.rlt-manual-add-input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}
.rlt-manual-add-input:focus {
  outline: none;
  border-color: rgba(255, 46, 46, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 46, 46, 0.12);
}
.rlt-manual-add-btn {
  flex: 0 0 auto;
  min-width: 96px;
  white-space: nowrap;
}
.rlt-requirements ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
.rlt-requirements li {
  margin: 2px 0;
}
.rlt-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.rlt-mode-picker {
  display: grid;
  gap: 8px;
}
.rlt-mode-option {
  display: block;
  cursor: pointer;
}
.rlt-mode-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rlt-mode-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s, background 0.15s;
}
.rlt-mode-option input:checked + .rlt-mode-body {
  border-color: rgba(255, 46, 46, 0.45);
  background: rgba(255, 46, 46, 0.08);
}
.rlt-mode-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.rlt-mode-desc {
  font-size: 12px;
  color: var(--muted2);
  line-height: 1.35;
}
.rlt-actions .btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}
.rlt-form .btn-primary {
  margin-top: 4px;
  min-height: 50px;
  border-radius: 14px;
}

#rlt-create-hint {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 46, 46, 0.08);
  border: 1px solid rgba(255, 46, 46, 0.14);
  text-align: center;
  line-height: 1.5;
}

.rlt-countdown {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.rlt-countdown-soon {
  color: #ff8a8a;
}
.rlt-countdown-ready {
  color: #7dffb3;
}
.rlt-countdown-live {
  color: #ffb347;
}
.rlt-live-spin-btn {
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 179, 71, 0.35),
    0 8px 24px rgba(255, 120, 40, 0.22);
}
.rlt-live-spin-btn::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ff5c5c;
  box-shadow: 0 0 8px rgba(255, 92, 92, 0.8);
  animation: rlt-live-pulse 1.4s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes rlt-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.rlt-card > .rlt-countdown {
  margin: 0;
}

#rlt-wheel-section.rlt-card {
  border: none;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

/* ─── Колесо ─── */
.rlt-wheel-wrap {
  position: relative;
  width: min(100%, 300px);
  margin: 14px auto 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}
.rlt-wheel-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 46, 46, 0.16), transparent 72%);
  z-index: 0;
  pointer-events: none;
  animation: rltGlow 3.6s ease-in-out infinite;
}
@keyframes rltGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.03); }
}
.rlt-wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 24px solid #ffd76b;
  filter: drop-shadow(0 2px 8px rgba(255, 46, 46, 0.9));
  z-index: 4;
}
.rlt-spin-countdown {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  font-size: clamp(56px, 22vw, 88px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow:
    0 4px 24px rgba(255, 46, 46, 0.95),
    0 0 48px rgba(255, 215, 107, 0.55);
}
.rlt-spin-countdown.hidden {
  display: none;
}
.rlt-spin-countdown-pop {
  animation: rltCountdownPop 0.32s ease-out;
}
@keyframes rltCountdownPop {
  from {
    transform: scale(1.45);
    opacity: 0.25;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
#rlt-wheel-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  z-index: 1;
  transform-origin: center center;
  backface-visibility: hidden;
}
.rlt-wheel-spinning .rlt-wheel-wrap::before,
.rlt-wheel-spinning .rlt-wheel-center {
  animation: none !important;
}
.rlt-wheel-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  margin: 0;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  background: transparent;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.rlt-wheel-spinning .rlt-wheel-center {
  /* Пульс hub во время CSS-вращения canvas даёт рывки на мобильных — центр статичен. */
  animation: none;
}
.rlt-wheel-suspense .rlt-wheel-center {
  animation: rltSuspensePulse 0.55s ease-in-out infinite;
}
.rlt-wheel-suspense .rlt-wheel-pointer {
  animation: rltPointerNudge 0.45s ease-in-out infinite;
}
.rlt-wheel-suspense .rlt-wheel-wrap::before {
  animation: rltSuspenseGlow 0.7s ease-in-out infinite;
}
@keyframes rltSuspensePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes rltPointerNudge {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(2px); }
}
@keyframes rltSuspenseGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes rltPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.06); }
}
.rlt-wheel-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rlt-wheel-actions .btn-primary {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
}
.rlt-wheel-actions .rlt-cancel-btn,
.rlt-actions > .rlt-cancel-btn {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 92, 92, 0.55);
  color: #ffb4b4;
  background: rgba(255, 60, 60, 0.08);
}
.rlt-wheel-actions .rlt-cancel-btn:active:not(:disabled),
.rlt-actions > .rlt-cancel-btn:active:not(:disabled) {
  background: rgba(255, 60, 60, 0.16);
}
.rlt-wheel-actions .rlt-meta {
  text-align: center;
  margin-bottom: 0;
}
#rlt-wheel-section .section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
#rlt-wheel-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex: 1;
  min-width: 0;
}
#rlt-wheel-label {
  font-size: 12px;
  font-weight: 700;
  color: #ffd76b;
  text-align: right;
  flex-shrink: 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}
.rlt-wheel-spinning #rlt-wheel-countdown {
  display: none !important;
}
.rlt-wheel-toast {
  position: absolute;
  left: 50%;
  bottom: 6%;
  z-index: 6;
  width: max-content;
  max-width: calc(100% - 16px);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(28px);
}
.rlt-wheel-toast-main {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  line-height: 1.3;
}
.rlt-wheel-toast-sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #ffd76b;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.rlt-wheel-toast-animate {
  animation: rltElimToast var(--rlt-toast-dur, 900ms) ease-out forwards;
}
@keyframes rltElimToast {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(32px);
  }
  18% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  72% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-32px);
  }
}
.rlt-wheel-winner #rlt-wheel-label {
  color: #f3d27a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(255, 210, 110, 0.45),
    0 0 28px rgba(255, 180, 70, 0.2);
  animation: rltWinnerPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes rltWinnerPop {
  0% { transform: scale(0.65) translateY(8px); opacity: 0; }
  55% { transform: scale(1.14) translateY(-2px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.rlt-wheel-winner-overlay {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 210, 120, 0.18), transparent 54%),
    radial-gradient(circle at 50% 50%, rgba(10, 8, 12, 0.42), rgba(4, 3, 6, 0.86) 74%);
  opacity: 0;
  pointer-events: none;
}
.rlt-wheel-winner-overlay.hidden {
  display: none;
}
.rlt-wheel-winner-overlay--show {
  opacity: 1;
  animation: rltWheelWinnerBackdrop 0.35s ease-out forwards;
}
@keyframes rltWheelWinnerBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}
.rlt-wheel-winner-card {
  width: 100%;
  max-width: 220px;
  padding: 14px 12px 16px;
  border-radius: 18px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -8%, rgba(255, 215, 130, 0.2), transparent 58%),
    linear-gradient(165deg, rgba(34, 24, 18, 0.98) 0%, rgba(12, 10, 14, 0.99) 100%);
  border: 1px solid rgba(255, 205, 120, 0.38);
  box-shadow:
    0 0 28px rgba(255, 190, 80, 0.16),
    inset 0 1px 0 rgba(255, 235, 195, 0.1),
    0 14px 32px rgba(0, 0, 0, 0.48);
  transform: scale(0.72) translateY(10px);
  opacity: 0;
}
.rlt-wheel-winner-overlay--show .rlt-wheel-winner-card {
  animation: rltWheelWinnerCardPop 0.72s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s forwards;
}
@keyframes rltWheelWinnerCardPop {
  0% {
    transform: scale(0.72) translateY(10px);
    opacity: 0;
  }
  55% {
    transform: scale(1.08) translateY(-2px);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
.rlt-wheel-winner-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}
.rlt-wheel-winner-laurel {
  font-size: 10px;
  line-height: 1;
  color: rgba(240, 205, 130, 0.9);
  text-shadow: 0 0 10px rgba(255, 200, 90, 0.35);
}
.rlt-wheel-winner-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0cc6a;
}
.rlt-wheel-winner-trophy-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  min-height: 42px;
}
.rlt-wheel-winner-trophy {
  font-size: 38px;
  line-height: 1;
  filter:
    drop-shadow(0 6px 14px rgba(255, 170, 50, 0.45))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  animation: rltWheelWinnerTrophy 1.1s ease-in-out 0.35s 2;
}
@keyframes rltWheelWinnerTrophy {
  0%, 100% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.12) rotate(-6deg); }
  70% { transform: scale(1.06) rotate(5deg); }
}
.rlt-wheel-winner-spark {
  position: absolute;
  font-size: 10px;
  color: rgba(255, 220, 130, 0.9);
  text-shadow: 0 0 8px rgba(255, 200, 90, 0.45);
  animation: rltWheelWinnerSpark 1.4s ease-in-out infinite;
}
.rlt-wheel-winner-spark--1 {
  top: 2px;
  left: calc(50% - 34px);
  animation-delay: 0s;
}
.rlt-wheel-winner-spark--2 {
  top: 0;
  right: calc(50% - 36px);
  animation-delay: 0.35s;
}
.rlt-wheel-winner-spark--3 {
  bottom: 4px;
  left: calc(50% + 24px);
  animation-delay: 0.7s;
}
@keyframes rltWheelWinnerSpark {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}
.rlt-wheel-winner-name {
  font-size: clamp(17px, 5.2vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  color: #fffaf0;
  word-break: break-word;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(255, 210, 120, 0.12);
}
.rlt-wheel-winner-sub {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(240, 205, 130, 0.82);
  letter-spacing: 0.04em;
}
.rlt-wheel-winner .rlt-wheel-wrap {
  animation: rltWheelWinPulse 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes rltWheelWinPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.rlt-wheel-winner .rlt-wheel-wrap::before {
  background: radial-gradient(circle, rgba(255, 210, 110, 0.24), transparent 72%);
  animation: rltWinGlow 1.4s ease-in-out 2;
}
@keyframes rltWinGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* ─── История ─── */
.rlt-history-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 0 12px;
  min-height: 48px;
}
.rlt-history-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 18px 16px 16px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 46, 46, 0.06), transparent 58%),
    linear-gradient(180deg, rgba(18, 14, 16, 0.98), rgba(8, 7, 9, 0.98));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}
.rlt-history-card--done {
  border-color: rgba(255, 255, 255, 0.1);
}
.rlt-history-card--cancelled {
  opacity: 0.9;
}
.rlt-history-top {
  margin-bottom: 12px;
}
.rlt-history-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: #fff;
  word-break: break-word;
}
.rlt-history-emoji-wheel {
  font-size: 1.35rem;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(255, 190, 70, 0.35));
}
.rlt-history-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.rlt-history-mode-pill,
.rlt-history-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.rlt-history-mode-pill {
  color: rgba(235, 235, 240, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.rlt-history-mode-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.rlt-history-status-pill {
  border: 1px solid transparent;
}
.rlt-history-status-pill .rlt-history-svg {
  width: 14px;
  height: 14px;
}
.rlt-history-status--done {
  color: #8ee8a4;
  background: rgba(46, 120, 62, 0.28);
  border-color: rgba(90, 200, 120, 0.28);
}
.rlt-history-status--cancel {
  color: #f0b0b0;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}
.rlt-history-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 16px;
}
.rlt-history-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(220, 220, 228, 0.78);
}
.rlt-history-meta-item .rlt-history-svg {
  width: 15px;
  height: 15px;
  color: rgba(210, 210, 220, 0.72);
  flex-shrink: 0;
}
.rlt-history-svg {
  display: block;
  flex-shrink: 0;
}
.rlt-history-emoji {
  display: block;
  line-height: 1;
}
.rlt-history-emoji-trophy {
  font-size: 58px;
  filter:
    drop-shadow(0 8px 18px rgba(255, 170, 50, 0.45))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}
.rlt-history-winner {
  margin: 0 0 16px;
  padding: 2px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 70, 55, 0.85) 0%,
    rgba(255, 120, 80, 0.35) 45%,
    rgba(255, 55, 45, 0.75) 100%
  );
  box-shadow:
    0 0 28px rgba(255, 45, 35, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.28);
}
.rlt-history-winner-inner {
  border-radius: 16px;
  padding: 18px 16px 20px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(145, 28, 22, 0.92), rgba(28, 10, 12, 0.98) 68%),
    linear-gradient(180deg, rgba(42, 14, 16, 0.98), rgba(14, 8, 10, 0.98));
}
.rlt-history-winner-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.rlt-history-winner-laurel {
  font-size: 11px;
  line-height: 1;
  color: rgba(228, 188, 96, 0.85);
  text-shadow: 0 0 10px rgba(255, 200, 90, 0.35);
}
.rlt-history-winner-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8c060;
  text-shadow: 0 0 12px rgba(255, 200, 90, 0.25);
}
.rlt-history-winner-trophy-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  margin-bottom: 12px;
}
.rlt-history-winner-spark {
  position: absolute;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  line-height: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.65);
  pointer-events: none;
}
.rlt-history-winner-spark--1 {
  top: 18%;
  left: 28%;
}
.rlt-history-winner-spark--2 {
  top: 34%;
  right: 24%;
  font-size: 18px;
}
.rlt-history-winner-spark--3 {
  bottom: 22%;
  left: 34%;
  font-size: 10px;
}
.rlt-history-winner-name {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  word-break: break-word;
}
.rlt-history-reason {
  margin-bottom: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.rlt-history-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rlt-history-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 14px;
}
.rlt-history-actions .rlt-history-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.rlt-history-actions .rlt-replay-btn {
  border: 1px solid rgba(255, 100, 85, 0.5);
  background: linear-gradient(180deg, #ef2f2f 0%, #c81818 48%, #a01010 100%);
  color: #fff;
  box-shadow:
    0 10px 24px rgba(220, 28, 22, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.rlt-history-actions .rlt-replay-btn:active {
  background: linear-gradient(180deg, #d02626 0%, #a81414 48%, #880e0e 100%);
}
.rlt-history-actions .rlt-placement-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(24, 20, 22, 0.98), rgba(10, 9, 11, 0.98));
  color: rgba(240, 240, 245, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.rlt-history-actions .rlt-placement-btn .rlt-history-svg {
  color: rgba(220, 220, 228, 0.85);
}
@media (max-width: 380px) {
  .rlt-history-title {
    font-size: 1.15rem;
  }
  .rlt-history-meta-row {
    gap: 10px 12px;
  }
  .rlt-history-winner-name {
    font-size: 1.7rem;
  }
  .rlt-history-emoji-trophy {
    font-size: 50px;
  }
}
.rlt-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
.rlt-modal.hidden {
  display: none;
}
.rlt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}
.rlt-modal-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: min(78vh, 520px);
  overflow: auto;
  background: linear-gradient(180deg, #1a1a24 0%, #12121a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px 18px 14px 14px;
  padding: 18px 16px 16px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
}
.rlt-modal-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}
.rlt-modal-sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.4;
}
.rlt-placement-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.rlt-placement-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rlt-placement-item:last-child {
  border-bottom: none;
}
.rlt-placement-rank {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.rlt-placement-item:first-child .rlt-placement-rank {
  background: linear-gradient(180deg, #ffd76b, #e8a820);
  color: #1a1200;
  box-shadow: 0 0 16px rgba(255, 215, 107, 0.35);
}
.rlt-placement-body {
  flex: 1;
  min-width: 0;
}
.rlt-placement-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  word-break: break-word;
}
.rlt-user-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rlt-user-link:hover,
.rlt-user-link:focus-visible {
  color: #ffd76b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rlt-placement-role {
  font-size: 12px;
  color: var(--muted2);
  margin-top: 2px;
}
.rlt-results-fairness-btn {
  width: 100%;
  margin: 0 0 12px;
  min-height: 44px;
  border-radius: 14px;
  font-weight: 700;
}
.rlt-fairness-modal {
  z-index: 130;
}
.rlt-fairness-sheet {
  position: relative;
  padding: 10px 16px 20px;
  border-radius: 22px 22px 16px 16px;
  max-height: min(82vh, 560px);
}
.rlt-fairness-grabber {
  width: 42px;
  height: 4px;
  margin: 4px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.rlt-fairness-close-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rlt-fairness-game-title {
  margin: 0 36px 4px 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.rlt-fairness-prize-link {
  margin: 0 36px 6px 0;
  font-size: 14px;
  line-height: 1.35;
  word-break: break-word;
}
.rlt-fairness-prize-link .rlt-prize-link {
  font-weight: 600;
}
.rlt-fairness-game-datetime {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted2);
}
.rlt-fairness-winner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 107, 0.28);
  background: linear-gradient(180deg, rgba(255, 215, 107, 0.1), rgba(255, 215, 107, 0.04));
}
.rlt-fairness-winner-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8c878;
}
.rlt-fairness-winner-name {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  word-break: break-word;
}
.rlt-fairness-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.rlt-fairness-chip {
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  min-width: 0;
}
.rlt-fairness-chip-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.25;
}
.rlt-fairness-chip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.rlt-fairness-chip-val {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: #f4f4f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: none;
  border: none;
  padding: 0;
}
.rlt-fairness-chip-copy {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rlt-fairness-chip-copy svg {
  width: 15px;
  height: 15px;
}
.rlt-fairness-formula-hint {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: var(--muted2);
}
.rlt-fairness-verify {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.rlt-fairness-verify--ok {
  background: rgba(72, 199, 116, 0.14);
  border: 1px solid rgba(72, 199, 116, 0.35);
  color: #8ce8a8;
}
.rlt-fairness-verify--fail {
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.32);
  color: #ff9a9a;
}
.rlt-fairness-legit-btn {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: none;
  background: #f5f5f7;
  color: #111118;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.rlt-fairness-legit-btn:active {
  background: #e8e8ec;
}
.rlt-fairness-guide-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(235, 235, 245, 0.92);
}
.rlt-history-actions .rlt-fairness-btn {
  border: 1px solid rgba(120, 200, 255, 0.28);
  background: linear-gradient(180deg, rgba(30, 38, 52, 0.98), rgba(14, 18, 28, 0.98));
  color: rgba(210, 230, 255, 0.95);
}
.rlt-modal-close-btn {
  width: 100%;
}
.rlt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  margin-top: 0;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.rlt-badge-mode {
  display: inline-flex;
  margin-left: 0;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.08);
  color: #c8c8d0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.rlt-badge-live {
  background: rgba(255, 140, 40, 0.18);
  color: #ffc87a;
  border: 1px solid rgba(255, 179, 71, 0.35);
  animation: rlt-badge-live-glow 2s ease-in-out infinite;
}
.rlt-badge-joined {
  background: rgba(100, 200, 120, 0.14);
  color: #9ee8b0;
  border: 1px solid rgba(100, 200, 120, 0.28);
}
.rlt-badge-joined .rlt-history-svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
@keyframes rlt-badge-live-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 179, 71, 0); }
  50% { box-shadow: 0 0 10px rgba(255, 179, 71, 0.25); }
}
.rlt-badge-open { background: rgba(255, 46, 46, 0.15); color: #ffc9c9; }
.rlt-badge-done { background: rgba(100, 200, 120, 0.15); color: #b8f0c8; }
.rlt-badge-cancel { background: rgba(255, 255, 255, 0.08); color: var(--muted); }

.rlt-empty {
  text-align: center;
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.55;
  padding: 20px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.rlt-empty-text {
  margin: 0;
}
.rlt-empty-create-btn {
  width: 100%;
  margin-top: 14px;
  min-height: 46px;
  font-weight: 700;
}

/* ─── Конфetti ─── */
.rlt-confetti {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  overflow: hidden;
}
.rlt-confetti-flash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 220, 130, 0.32), transparent 52%),
    radial-gradient(circle at 50% 38%, rgba(255, 180, 70, 0.14), transparent 68%);
  opacity: 0;
  animation: rltConfettiFlash 0.9s ease-out forwards;
}
@keyframes rltConfettiFlash {
  0% { opacity: 0; transform: scale(0.92); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.08); }
}
.rlt-confetti-piece {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
  animation: rltConfettiBurst var(--dur, 2.4s) cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}
.rlt-confetti-rect {
  width: var(--w, 7px);
  height: var(--h, 11px);
  border-radius: 1px;
}
.rlt-confetti-circle {
  width: var(--size, 7px);
  height: var(--size, 7px);
  border-radius: 50%;
}
.rlt-confetti-ribbon {
  width: var(--w, 5px);
  height: var(--h, 16px);
  border-radius: 999px;
}
@keyframes rltConfettiBurst {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(0);
    opacity: 0;
  }
  6% {
    opacity: 1;
    transform: translate(var(--burst-x), var(--burst-y)) rotate(calc(var(--rot) * 0.08)) scale(var(--scale));
  }
  28% {
    opacity: 1;
    transform: translate(calc(var(--burst-x) + var(--drift) * 0.35), calc(var(--burst-y) + 18px))
      rotate(calc(var(--rot) * 0.35)) scale(var(--scale));
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--burst-x) + var(--drift)), calc(var(--burst-y) + var(--fall-y)))
      rotate(var(--rot)) scale(calc(var(--scale) * 0.55));
  }
}
@media (prefers-reduced-motion: reduce) {
  .rlt-confetti-piece,
  .rlt-confetti-flash,
  .rlt-wheel-winner .rlt-wheel-wrap,
  .rlt-wheel-winner .rlt-wheel-wrap::before,
  .rlt-wheel-winner #rlt-wheel-label,
  .rlt-wheel-winner-overlay--show,
  .rlt-wheel-winner-overlay--show .rlt-wheel-winner-card,
  .rlt-wheel-winner-trophy,
  .rlt-wheel-winner-spark {
    animation: none !important;
  }
  .rlt-confetti-piece { opacity: 0.7; }
  .rlt-wheel-winner-overlay--show { opacity: 1; }
  .rlt-wheel-winner-overlay--show .rlt-wheel-winner-card {
    transform: none;
    opacity: 1;
  }
}

.gv-sponsor-pass-user-card {
  margin-bottom: 14px;
}
.gv-sponsor-pass-note {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.gv-sponsor-pass-loading,
.gv-sponsor-pass-empty {
  padding: 8px 0 4px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.gv-sponsor-pass-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gv-sponsor-pass-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.gv-sponsor-pass-link,
.gv-sponsor-pass-contribute-btn {
  width: 100%;
}
.gv-sponsor-pass-link.btn-secondary {
  color: #fff;
  background: rgba(255, 46, 46, 0.14);
  border: 1px solid rgba(255, 46, 46, 0.45);
  box-shadow: 0 0 22px rgba(255, 46, 46, 0.14);
}
.gv-sponsor-pass-link.btn-secondary:active {
  background: rgba(255, 46, 46, 0.22);
  border-color: rgba(255, 46, 46, 0.58);
}
.gv-sponsor-pass-label {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.gv-sponsor-pass-password-wrap {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.gv-sponsor-pass-password {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(120, 220, 140, 0.45);
  background: rgba(40, 120, 60, 0.12);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  word-break: break-word;
}
.gv-sponsor-pass-password-copy {
  flex: 0 0 48px;
  width: 48px;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(120, 220, 140, 0.35);
  background: rgba(40, 120, 60, 0.18);
  color: rgba(170, 245, 185, 0.95);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.gv-sponsor-pass-password-copy svg {
  width: 20px;
  height: 20px;
}
.gv-sponsor-pass-password-copy:hover {
  background: rgba(50, 150, 75, 0.28);
  border-color: rgba(140, 235, 160, 0.5);
}
.gv-sponsor-pass-password-copy:active {
  transform: scale(0.96);
  background: rgba(60, 170, 90, 0.32);
}
.gv-sponsor-pass-password-copy.is-copied {
  border-color: rgba(255, 215, 107, 0.55);
  background: rgba(255, 215, 107, 0.14);
  color: #ffe7a8;
}
.gv-sponsor-pass-locked-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.gv-sponsor-pass-locked-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gv-sponsor-pass-locked-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #ffc98a;
}
.gv-sponsor-pass-star {
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.12em;
  display: inline-block;
}
.gv-sponsor-pass-admin-card {
  border-color: rgba(255, 85, 85, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 85, 85, 0.1), transparent 55%),
    var(--card);
}
.gv-sponsor-pass-admin-card h3 {
  margin: 0 0 8px;
}
.gv-sponsor-pass-admin-hint {
  margin-bottom: 4px;
}
.gv-sponsor-pass-admin-form {
  margin-top: 8px;
}
.gv-sponsor-pass-admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.gv-sponsor-pass-admin-actions .btn {
  flex: 1 1 140px;
  min-height: 46px;
}

/* ─── Кнопка «Рулетка» на экране типов ─── */
.gv-menu-card--roulette {
  position: relative;
  padding: 18px 20px;
  border: 1px solid rgba(255, 46, 46, 0.55);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% -30%, rgba(255, 46, 46, 0.16), transparent 58%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.028) 0,
      rgba(255, 255, 255, 0.028) 2px,
      transparent 2px,
      transparent 6px
    ),
    linear-gradient(180deg, rgba(12, 12, 16, 0.98), rgba(4, 4, 8, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 46, 46, 0.1),
    0 0 28px rgba(255, 46, 46, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease;
}
@media (hover: hover) {
  .gv-menu-card--roulette:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 46, 46, 0.72);
    box-shadow:
      0 0 0 1px rgba(255, 46, 46, 0.14),
      0 0 36px rgba(255, 46, 46, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  .gv-menu-card--roulette:hover .gv-roulette-wheel-svg {
    animation-duration: 4s;
  }
  .gv-menu-card--roulette:hover .gv-menu-icon-wheel {
    transform: scale(1.05);
  }
  .gv-menu-card--roulette:hover .gv-menu-chevron--roulette {
    color: #ff5a5a;
    text-shadow: 0 0 16px rgba(255, 46, 46, 0.55);
  }
}
.gv-menu-card--roulette:active {
  transform: translateY(-1px);
  border-color: rgba(255, 46, 46, 0.75);
  background:
    radial-gradient(circle at 50% -30%, rgba(255, 46, 46, 0.22), transparent 58%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 2px,
      transparent 2px,
      transparent 6px
    ),
    linear-gradient(180deg, rgba(18, 10, 10, 0.98), rgba(8, 4, 4, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 46, 46, 0.18),
    0 0 34px rgba(255, 46, 46, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.gv-menu-card--roulette .gv-menu-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.gv-menu-card--roulette .gv-menu-desc {
  color: rgba(255, 255, 255, 0.52);
}
.gv-menu-icon-wheel {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.gv-menu-card--roulette:active .gv-menu-icon-wheel {
  transform: scale(1.05);
}
.gv-menu-card--roulette:active .gv-roulette-wheel-svg {
  animation-duration: 2.5s;
}
.gv-roulette-wheel-svg {
  width: 52px;
  height: 52px;
  display: block;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.45));
  transform-origin: 50% 50%;
  animation: gv-roulette-wheel-idle 12s linear infinite;
}
@keyframes gv-roulette-wheel-idle {
  to {
    transform: rotate(360deg);
  }
}
.gv-menu-chevron--roulette {
  color: #ff2e2e;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 46, 46, 0.35);
  transition: color 200ms ease, text-shadow 200ms ease;
}

/* ─── Кнопка «Пропуск спонсора» на экране типов ─── */
.gv-menu-card--sponsor-pass {
  position: relative;
  padding: 18px 20px;
  border: 1px solid rgba(245, 200, 66, 0.55);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% -30%, rgba(245, 200, 66, 0.14), transparent 58%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.028) 0,
      rgba(255, 255, 255, 0.028) 2px,
      transparent 2px,
      transparent 6px
    ),
    linear-gradient(180deg, rgba(12, 12, 16, 0.98), rgba(4, 4, 8, 0.98));
  box-shadow:
    0 0 0 1px rgba(245, 200, 66, 0.1),
    0 0 28px rgba(245, 200, 66, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.gv-menu-card--sponsor-pass:active {
  border-color: rgba(255, 214, 102, 0.78);
  background:
    radial-gradient(circle at 50% -30%, rgba(245, 200, 66, 0.2), transparent 58%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 2px,
      transparent 2px,
      transparent 6px
    ),
    linear-gradient(180deg, rgba(18, 14, 8, 0.98), rgba(8, 6, 4, 0.98));
  box-shadow:
    0 0 0 1px rgba(245, 200, 66, 0.16),
    0 0 34px rgba(245, 200, 66, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.gv-menu-card--sponsor-pass .gv-menu-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.gv-menu-card--sponsor-pass .gv-menu-desc {
  color: rgba(255, 255, 255, 0.52);
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: -0.01em;
}
.gv-menu-icon-ticket {
  width: 57px;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}
.gv-sponsor-pass-ticket-img {
  width: 57px;
  height: 57px;
  max-width: 57px;
  max-height: 57px;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(255, 180, 0, 0.25));
  transition: transform 200ms ease;
}
@media (hover: hover) {
  .gv-menu-card--sponsor-pass:hover .gv-sponsor-pass-ticket-img {
    transform: scale(1.05);
  }
}
.gv-menu-card--sponsor-pass:active .gv-sponsor-pass-ticket-img {
  transform: scale(1.05);
}
.gv-menu-chevron--sponsor-pass {
  color: #f5c842;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 12px rgba(245, 200, 66, 0.35);
}
