:root {
  color-scheme: dark;
  --bg: #10172a;
  --bg-deep: #080d19;
  --panel: #19223d;
  --panel-2: #202b4d;
  --line: rgba(140, 165, 220, 0.18);
  --muted: #8e9bbe;
  --text: #f8fbff;
  --blue: #2d72ff;
  --cyan: #68fff0;
  --green: #70ff7e;
  --gold: #ffcf5a;
  --pink: #ff5fa8;
  --danger: #fa556b;
  --radius: 12px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(35, 255, 83, 0.14), transparent 16rem),
    radial-gradient(circle at 80% 42%, rgba(45, 114, 255, 0.16), transparent 34rem),
    linear-gradient(180deg, #11182c 0%, #111932 36%, #0b1020 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 78%, transparent);
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

.left-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: 38px;
  background:
    radial-gradient(circle at 0 3%, rgba(56, 255, 71, 0.55), transparent 5rem),
    linear-gradient(180deg, #0f241a, #10221b 60%, #10172a);
  box-shadow: inset -1px 0 rgba(98, 255, 134, 0.22);
}

.rail-ball {
  width: 76px;
  height: 76px;
  margin: 845px 0 0 -28px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 14%, #3e66ff 15% 38%, #f14d69 39% 56%, #eff8ff 57%);
  box-shadow: 0 0 34px rgba(59, 255, 114, 0.38);
}

.rail-text {
  position: absolute;
  top: 150px;
  left: 10px;
  color: #ffd1d7;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.main-header {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 0 20px 0 56px;
  background: #12192d;
  box-shadow: inset 0 -1px var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
}

.logo img {
  width: 143px;
  height: auto;
}

.header-nav {
  display: flex;
  gap: 24px;
  color: #c6d2ec;
  font-weight: 800;
}

.auth-btn {
  margin-left: auto;
  padding: 15px 23px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #92fff2, #63fbd0);
  color: #071122;
  font-weight: 1000;
  text-transform: uppercase;
}

.promo-row {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.1fr 1.25fr 1.1fr;
  gap: 10px;
  padding: 0 20px 14px 56px;
  background: #12192d;
}

.promo-card {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 50%, rgba(104, 255, 240, 0.25), transparent 4rem),
    linear-gradient(110deg, #1f2b4d, #17223e);
  font-weight: 1000;
  text-transform: uppercase;
}

.promo-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 12px;
  width: 62px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(61, 192, 255, 0.85), rgba(37, 85, 190, 0.7));
  transform: skewX(-12deg);
  box-shadow: 0 0 22px rgba(54, 168, 255, 0.28);
}

.promo-card.games::after {
  background-image: url("https://9j0xye6zop.cdn.twcstorage.ru/f/p-30f50f7f/img/penalty/main-nav/mob-nav-bg.webp");
  background-size: cover;
}

.promo-card.bonus::after {
  background-image: url("https://9j0xye6zop.cdn.twcstorage.ru/f/p-30f50f7f/img/boxes-menu/gift-sm.webp");
  background-size: cover;
}

.promo-card.cases::after {
  background-image: url("https://csgorungame.gg/img/boxes-menu/granted-sm.webp");
  background-size: cover;
}

.promo-card.trophy::after {
  background-image: url("https://9j0xye6zop.cdn.twcstorage.ru/f/p-30f50f7f/img/penalty/main-nav/cup-2.webp");
  background-size: cover;
}

.major {
  background: linear-gradient(110deg, #225aff, #172b65);
}

.trophy {
  background: linear-gradient(110deg, #36457c, #17223e);
}

.drop-ticker {
  display: grid;
  grid-template-columns: 44px 1fr;
  min-height: 76px;
  padding-left: 38px;
  background: #141b31;
  box-shadow: inset 0 -1px var(--line);
}

.ticker-label {
  display: grid;
  place-items: center;
  background: rgba(255, 92, 119, 0.18);
  color: #ffbfca;
  font-size: 0.7rem;
  font-weight: 1000;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.ticker-track {
  display: flex;
  gap: 1px;
  overflow: hidden;
}

.ticker-track .drop-card {
  flex: 0 0 168px;
  height: 76px;
  min-height: 76px;
  padding: 6px 10px;
  border-radius: 0;
}

.ticker-track .drop-card::after {
  content: "x" attr(data-mult);
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  padding: 2px 5px;
  border-radius: 6px;
  background: #315cff;
  font-size: 0.72rem;
  font-weight: 1000;
}

.ticker-track .weapon-card {
  min-height: 38px;
}

.ticker-track .skin-image {
  width: 92px;
  max-height: 38px;
}

.ticker-track .drop-meta {
  gap: 1px;
}

.ticker-track .drop-meta span,
.ticker-track .drop-meta small {
  font-size: 0.68rem;
}

.ticker-track .drop-meta strong {
  font-size: 0.76rem;
  white-space: nowrap;
}

.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: center;
  min-height: 49px;
  padding: 0 24px 0 58px;
  background: #10182d;
  color: #b9c5df;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: inset 0 -1px var(--line);
}

.stats-bar strong {
  margin-right: 7px;
  color: #fff;
}

.stats-bar span:last-child strong {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
}

.case-page {
  padding: 18px 20px 60px 56px;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.category-strip button {
  min-height: 66px;
  padding: 0 22px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 45%, rgba(104, 255, 240, 0.2), transparent 5rem),
    linear-gradient(90deg, #1d2847, #222e51);
  text-align: left;
  font-weight: 1000;
  text-transform: uppercase;
}

.case-title {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 90px;
  text-align: center;
}

.case-title h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 1000;
}

.case-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.back-btn {
  position: absolute;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #222d50;
  color: #d7e1ff;
  font-size: 1.6rem;
}

.case-arena {
  position: relative;
  display: grid;
  min-height: 370px;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 111, 180, 0.1), transparent 17rem),
    linear-gradient(90deg, rgba(255, 163, 92, 0.18), transparent 5%, transparent 95%, rgba(255, 163, 92, 0.18)),
    #141b31;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 90px rgba(2, 6, 15, 0.55);
}

.case-arena::before,
.case-arena::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 78px;
  border: 3px solid rgba(255, 185, 128, 0.65);
  filter: blur(0.2px);
}

.case-arena::before {
  left: 28px;
  border-right: 0;
  transform: skewX(-18deg);
}

.case-arena::after {
  right: 28px;
  border-left: 0;
  transform: skewX(18deg);
}

.arena-pointer {
  position: absolute;
  top: 0;
  z-index: 3;
  width: 26px;
  height: 20px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background: #ffd9ca;
  filter: drop-shadow(0 0 18px rgba(255, 139, 130, 0.8));
}

.case-visual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.case-visual img {
  width: min(370px, 68vw);
  filter: drop-shadow(0 34px 36px rgba(0, 0, 0, 0.48));
}

.price-pill {
  position: absolute;
  bottom: 10px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  translate: -50% 0;
  padding: 11px 18px;
  border-radius: 11px;
  background: #222d50;
  font-size: 1.04rem;
  font-weight: 1000;
  white-space: nowrap;
}

.price-pill span {
  color: #fff;
}

.price-pill del {
  color: #d8bcad;
  opacity: 0.72;
}

.roulette-panel {
  position: absolute;
  inset: 54px 58px auto;
  z-index: 5;
}

.roulette-wrap {
  position: relative;
  overflow: hidden;
  height: 238px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(6, 10, 21, 0.98), rgba(6, 10, 21, 0.72) 14%, rgba(6, 10, 21, 0.72) 86%, rgba(6, 10, 21, 0.98)),
    rgba(6, 10, 21, 0.94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.roulette {
  display: flex;
  gap: 12px;
  height: 100%;
  padding: 12px;
  transform: translateX(0);
}

.roulette-card {
  position: relative;
  flex: 0 0 214px;
  display: grid;
  grid-template-rows: 124px 1fr;
  min-width: 214px;
  height: 212px;
  overflow: hidden;
  padding: 12px;
  border-top: 2px solid var(--item-color);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--item-color) 34%, transparent), transparent 64%),
    linear-gradient(145deg, color-mix(in srgb, var(--item-color) 18%, #17213c), #11182b 68%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.roulette-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background:
    linear-gradient(135deg, transparent 0 43%, rgba(255, 255, 255, 0.12) 43% 45%, transparent 45%),
    linear-gradient(45deg, transparent 0 32%, rgba(255, 255, 255, 0.08) 32% 34%, transparent 34%);
}

.roulette-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.roulette-art img {
  width: min(178px, 92%);
  max-height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.44));
}

.roulette-meta {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 2px;
  min-width: 0;
}

.roulette-meta span,
.roulette-meta small {
  color: #9ba9ce;
  font-size: 0.74rem;
  font-weight: 900;
}

.roulette-meta strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pointer {
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: 4;
  width: 3px;
  background: linear-gradient(180deg, transparent, #fff, var(--gold), transparent);
  box-shadow: 0 0 22px var(--gold);
}

.open-panel {
  position: relative;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px) 1fr;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  margin: 0 -20px 0 -18px;
  padding: 10px 18px 10px 40px;
  background: rgba(28, 38, 67, 0.96);
  box-shadow: 0 -16px 44px rgba(0, 0, 0, 0.26), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.open-btn,
.claim-btn,
.primary-btn {
  min-height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #8dfff3, #61ffd2);
  color: #071122;
  font-weight: 1000;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(104, 255, 240, 0.18);
}

.open-panel .open-btn {
  grid-column: 2;
}

.open-btn:disabled {
  opacity: 0.64;
  cursor: default;
}

.fairness {
  grid-column: 3;
  justify-self: end;
  color: #bcefff;
  font-size: 0.72rem;
  font-weight: 1000;
  text-align: right;
  text-transform: uppercase;
}

.fairness strong {
  color: #e6ffff;
}

.result-panel {
  width: min(760px, 100%);
  margin: 24px auto;
  padding: 16px;
  border: 1px solid rgba(104, 255, 240, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(104, 255, 240, 0.1), rgba(17, 25, 45, 0.92));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.result-kicker,
.stage-label,
.eyebrow {
  color: #95a4c9;
  font-size: 0.75rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.result-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
}

.result-card h2 {
  margin: 0 0 8px;
}

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

.result-card strong {
  color: var(--gold);
  font-size: 1.45rem;
}

.claim-btn {
  width: 100%;
  margin-top: 12px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 36px 0 18px;
  color: #d5ddf3;
  text-align: center;
  text-transform: uppercase;
}

.section-heading span {
  height: 1px;
  background: var(--line);
}

.section-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.drops-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.top-drops {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.top-drops article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(32, 43, 77, 0.86), rgba(17, 25, 45, 0.9));
}

.top-drops h3 {
  margin: 0 0 14px;
  color: #d8e0f4;
  text-transform: uppercase;
}

.top-drop-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 178, 67, 0.35), transparent 7rem),
    linear-gradient(135deg, rgba(255, 111, 73, 0.34), rgba(25, 35, 64, 0.95));
}

.top-drop-card.purple {
  background:
    radial-gradient(circle at 50% 25%, rgba(163, 99, 255, 0.38), transparent 7rem),
    linear-gradient(135deg, rgba(100, 70, 255, 0.34), rgba(25, 35, 64, 0.95));
}

.top-drop-art {
  display: grid;
  height: 132px;
  place-items: center;
  margin: 8px 0 18px;
  background:
    linear-gradient(135deg, transparent 0 28%, rgba(255, 255, 255, 0.12) 28% 30%, transparent 30%),
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.16), transparent 6rem);
}

.top-drop-art img {
  width: min(260px, 72%);
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.38));
}

.place-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #141019;
  font-weight: 1000;
}

.top-drop-card strong,
.top-drop-card span {
  display: block;
}

.top-drop-card span {
  margin-top: 5px;
  color: var(--gold);
  font-weight: 1000;
}

.chat-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #377dff, #5fa2ff);
  color: white;
  font-size: 1.25rem;
  font-weight: 1000;
  box-shadow: 0 16px 36px rgba(55, 125, 255, 0.35);
}

.drop-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 168px;
  padding: 11px;
  border-top: 2px solid var(--item-color);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 6%, color-mix(in srgb, var(--item-color) 42%, transparent), transparent 58%),
    linear-gradient(135deg, color-mix(in srgb, var(--item-color) 26%, #17213c), #17213c 58%, #131b31);
}

.drop-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    linear-gradient(135deg, transparent 0 45%, rgba(255, 255, 255, 0.08) 45% 47%, transparent 47%),
    linear-gradient(45deg, transparent 0 35%, rgba(255, 255, 255, 0.06) 35% 37%, transparent 37%);
}

.weapon-card {
  position: relative;
  display: grid;
  min-height: 96px;
  place-items: center;
}

.skin-image {
  position: relative;
  z-index: 1;
  width: 148px;
  max-width: 100%;
  max-height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.42));
}

.drops-grid .drop-card {
  display: grid;
  min-height: 205px;
  align-content: start;
  padding: 14px;
}

.drops-grid .weapon-card {
  min-height: 126px;
  align-items: center;
  justify-items: center;
}

.drops-grid .skin-image {
  width: min(210px, 92%);
  max-height: 118px;
}

.drops-grid .drop-meta {
  margin-top: 6px;
}

.drop-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.drop-meta span,
.drop-meta small {
  color: #99a8cc;
  font-size: 0.74rem;
  font-weight: 800;
}

.drop-meta strong {
  overflow-wrap: anywhere;
  font-size: 0.88rem;
}

.drop-mult {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 2px 5px;
  border-radius: 6px;
  background: #315cff;
  font-size: 0.72rem;
  font-weight: 1000;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 6, 14, 0.78);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  width: min(460px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #141d36;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #263359;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 16%, rgba(104, 255, 240, 0.16), transparent 22rem),
    radial-gradient(circle at 8% 8%, rgba(57, 124, 255, 0.22), transparent 18rem),
    linear-gradient(180deg, #11182c 0%, #0b1020 100%);
}

.forbidden-shell {
  width: min(760px, calc(100% - 32px));
  display: grid;
  gap: 28px;
  justify-items: center;
}

.error-logo {
  justify-content: center;
}

.forbidden-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 70% 20%, rgba(211, 46, 230, 0.22), transparent 16rem),
    linear-gradient(180deg, rgba(32, 43, 77, 0.96), rgba(14, 21, 39, 0.96));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.forbidden-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(135deg, transparent 0 43%, rgba(255, 255, 255, 0.12) 43% 45%, transparent 45%),
    linear-gradient(45deg, transparent 0 32%, rgba(255, 255, 255, 0.08) 32% 34%, transparent 34%);
}

.forbidden-card > * {
  position: relative;
  z-index: 1;
}

.forbidden-code {
  color: var(--cyan);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 1000;
  line-height: 0.9;
  text-shadow: 0 0 28px rgba(104, 255, 240, 0.24);
}

.forbidden-card h1 {
  margin: 12px 0;
  font-size: clamp(2rem, 6vw, 4rem);
}

.forbidden-card p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: #aebbe0;
  line-height: 1.65;
}

.forbidden-btn {
  display: inline-grid;
  min-width: 220px;
  place-items: center;
  padding: 0 22px;
}

[hidden] {
  display: none !important;
}

/* Admin */
.site-shell.admin-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 60px;
}

.admin-shell .topbar,
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 25, 45, 0.9);
}

.brand,
.topnav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #071122;
  font-weight: 1000;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
}

.topnav a,
.ghost-btn {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: #dce5ff;
  font-weight: 900;
}

.admin-main {
  display: grid;
  gap: 18px;
  padding-top: 24px;
}

.admin-hero h1 {
  margin: 8px 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
}

.admin-hero p {
  max-width: 620px;
  color: #b6c3df;
  line-height: 1.65;
}

.admin-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 28, 51, 0.92);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.admin-toolbar strong {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 1.8rem;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.odds-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.odds-row {
  display: grid;
  grid-template-columns: 120px minmax(180px, 1fr) minmax(180px, 300px) 94px;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.odds-info {
  display: grid;
  gap: 5px;
}

.odds-info span {
  color: var(--muted);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--item-color);
}

.weight-input {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 7, 16, 0.74);
  color: var(--text);
}

@media (max-width: 1100px) {
  .promo-row,
  .category-strip,
  .drops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .open-panel {
    grid-template-columns: 1fr minmax(240px, 340px) 1fr;
  }

  .fairness {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .left-rail {
    display: none;
  }

  .main-header,
  .promo-row,
  .stats-bar,
  .case-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-header {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .auth-btn {
    margin-left: auto;
  }

  .promo-row,
  .category-strip,
  .drops-grid,
  .top-drops,
  .open-panel,
  .result-card,
  .odds-row {
    grid-template-columns: 1fr;
  }

  .open-panel .open-btn,
  .fairness {
    grid-column: 1;
  }

  .drop-ticker {
    grid-template-columns: 34px 1fr;
    padding-left: 0;
  }

  .case-arena {
    min-height: 320px;
    border-radius: 18px;
  }

  .case-arena::before,
  .case-arena::after {
    display: none;
  }

  .open-panel {
    position: relative;
    margin: 0;
    padding: 12px;
  }

  .roulette-panel {
    inset: 44px 14px auto;
  }

  .roulette-wrap {
    height: 214px;
  }

  .roulette-card {
    flex-basis: 178px;
    min-width: 178px;
    height: 190px;
    grid-template-rows: 106px 1fr;
  }

  .roulette-art img {
    width: 148px;
    max-height: 96px;
  }
}
