@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/inter-latin.woff2?h=c9407645") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/inter-latin-ext.woff2?h=a28eb6d3") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/inter-cyrillic.woff2?h=aebf2ab4") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/inter-cyrillic-ext.woff2?h=fccca918") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  color-scheme: dark;
  --bg: #040404;
  --bg-2: #0b0b0a;
  --panel: #151310;
  --panel-2: #201b15;
  --panel-3: #2c251c;
  --line: #3a332b;
  --text: #e6e8ec;
  --muted: #9ca0a8;
  --muted-2: #6c7078;
  --accent: #ff7a00;
  --accent-2: #eceef2;
  --accent-dark: #9d3b00;
  --hot: #ffb21a;
  --neon: linear-gradient(135deg, #fff4df 0%, #ffb21a 22%, #ff6a00 58%, #9d2200 100%);
  --value: #8fd0ff;
  --success: #73d39a;
  --danger: #e36a6a;
  --booster-win: #00f818;
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 400 16px/1.45 -apple-system, "Segoe UI", Roboto, sans-serif;
  font-family: var(--font);
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 106, 0, 0.22), transparent 28rem),
    linear-gradient(115deg, rgba(255, 122, 0, 0.08) 0 11%, transparent 11% 60%, rgba(255, 255, 255, 0.035) 60% 61%, transparent 61%),
    repeating-linear-gradient(165deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 24px),
    linear-gradient(180deg, var(--bg) 0%, #0b0907 48%, #050505 100%);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(104deg, transparent 0 14%, rgba(255, 122, 0, 0.18) 14% 14.45%, transparent 14.45% 72%, rgba(255, 255, 255, 0.08) 72% 72.35%, transparent 72.35%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 6px);
  opacity: 0.64;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: calc(7px + max(env(safe-area-inset-top), var(--tg-inset-top, 0px))) 14px 7px;
  background:
    linear-gradient(180deg, rgba(50, 37, 18, 0.82), rgba(18, 16, 13, 0.94)),
    linear-gradient(104deg, rgba(255, 122, 0, 0.15) 0 18%, transparent 18% 76%, rgba(255, 255, 255, 0.05) 76%),
    rgba(8, 8, 7, 0.96);
  border-bottom: 1px solid rgba(255, 122, 0, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-left {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 5px 11px;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  grid-row: 1 / 3;
  flex: 0 0 auto;
  width: 120px;
  min-width: 120px;
  font-weight: 700;

  letter-spacing: 0;
  color: var(--text);
  text-decoration: none;
  font-size: 23px;
  line-height: 1;
  padding: 0;
}

.brand img {
  display: block;
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 106, 0, 0.32));
}

.brand .wordmark {
  white-space: nowrap;
  filter: drop-shadow(0 0 14px rgba(216, 189, 122, 0.18));
}

.brand .brand-67 {
  background: var(--neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(216, 189, 122, 0.24);
}

.tabs {
  display: flex;
  grid-column: 2;
  gap: 5px;
  flex: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tabs a[hidden] { display: none; }

.tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 6px;
  white-space: nowrap;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  transition: color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.tabs a.active {
  color: var(--text);
  background: rgba(255, 122, 0, 0.14);
  border-color: rgba(255, 122, 0, 0.24);
  font-weight: 600;
}

.tabs a.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--neon);
}

.tabs a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.tab-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 28px;
}

.top-social[hidden] {
  display: none;
}

.social-icon,
.site-social-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: rgba(240, 242, 246, 0.74);
  background:
    linear-gradient(145deg, rgba(255, 122, 0, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(7, 7, 6, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  text-decoration: none;
  transition: color 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.social-icon {
  width: 30px;
  height: 26px;
}

.site-social-icon {
  width: 34px;
  height: 30px;
}

.social-icon svg,
.site-social-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-icon:hover,
.site-social-icon:hover {
  color: var(--text);
  border-color: rgba(255, 122, 0, 0.52);
  box-shadow: 0 0 16px rgba(255, 106, 0, 0.18);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .topbar {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--panel);
    border-top: 1px solid rgba(216, 189, 122, 0.18);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    overflow: visible;
  }
  .tabs a {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    text-align: center;
    font-size: 11px;
    padding: 6px 2px 5px;
    min-width: 0;
    overflow: hidden;
  }
  .tabs a > span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .tab-icon { width: 20px; height: 20px; }
  .tabs a.active {
    color: var(--text);
    background: rgba(216, 189, 122, 0.08);
    font-weight: 600;
    box-shadow: none;
  }
  .tabs a.active::after { left: 18%; right: 18%; bottom: 5px; }
  .view {

    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .topbar {
    justify-content: space-between;
    min-height: 58px;
    z-index: 30;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .topbar-left {
    flex: 0 0 auto;
    grid-template-columns: auto;
    grid-template-rows: auto;
    gap: 8px;
    width: auto;
    max-width: 84px;
  }
  .brand {
    grid-row: 1;
    width: 94px;
    min-width: 94px;
    font-size: 21px;
  }
  .brand img { width: 94px; }
  .top-social {
    grid-column: 2;
    max-width: min(154px, 40vw);
    min-height: 34px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .top-social {
    display: none !important;
  }
  .top-social::-webkit-scrollbar { display: none; }
  .social-icon {
    width: 32px;
    height: 30px;
  }
  .topbar-actions > .language-control,
  .topbar-actions > .sound-control {
    display: none;
  }
  .auth-area { flex: 0 1 auto; }
  .topbar-actions {
    margin-left: 8px;
    flex: 0 1 auto;
    max-width: calc(100vw - 104px);
    overflow: hidden;
  }
  .auth-area {
    display: inline-flex;
    justify-content: flex-end;
    min-width: 0;
    max-width: 100%;
  }
  .inline-form input { flex: 1 1 100%; }
  .inline-form button { width: 100%; }

  .inline-form button.mode-hint-btn { width: 26px; }
  .inline-form:has(> .mode-hint-btn) button[type="submit"] { width: auto; flex: 1 1 0; }

  .inline-form:has(> .mode-hint-btn) input { flex-basis: 100%; }
  .auth-panel { margin: 8px auto; }
}

@media (min-width: 760px) {
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

.view {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 16px 28px;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.stage-head {
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 104' preserveAspectRatio='none'%3E%3Cpath fill='%23ff5a14' opacity='1' d='M0 68C40 56 100 48 170 40 250 30 330 20 400 4L398 13C332 30 252 44 172 56 104 66 44 76 4 88Z'/%3E%3Cpath fill='%23ff5a14' opacity='.8' d='M20 54C80 44 150 36 220 28 290 20 350 12 392 0L393 3C352 16 292 24 222 32 152 40 82 48 22 58Z'/%3E%3Cpath fill='%23ff5a14' opacity='.6' d='M10 94C60 84 130 76 200 66 270 56 330 44 380 30L382 35C332 50 272 62 202 72 132 82 62 90 12 98Z'/%3E%3Cpath fill='%23ff5a14' opacity='.45' d='M60 100C110 92 170 84 230 74 290 64 340 54 386 40L387 43C342 58 292 68 232 78 172 88 112 96 62 103Z'/%3E%3C/svg%3E");
  --brush-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 104' preserveAspectRatio='none'%3E%3Cpath fill='%23f4f1e6' opacity='1' d='M0 68C40 56 100 48 170 40 250 30 330 20 400 4L398 13C332 30 252 44 172 56 104 66 44 76 4 88Z'/%3E%3Cpath fill='%23f4f1e6' opacity='.8' d='M20 54C80 44 150 36 220 28 290 20 350 12 392 0L393 3C352 16 292 24 222 32 152 40 82 48 22 58Z'/%3E%3Cpath fill='%23f4f1e6' opacity='.6' d='M10 94C60 84 130 76 200 66 270 56 330 44 380 30L382 35C332 50 272 62 202 72 132 82 62 90 12 98Z'/%3E%3Cpath fill='%23f4f1e6' opacity='.45' d='M60 100C110 92 170 84 230 74 290 64 340 54 386 40L387 43C342 58 292 68 232 78 172 88 112 96 62 103Z'/%3E%3C/svg%3E");
  position: relative;
  min-width: 0;
  min-height: 104px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 18px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(238, 240, 244, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 30%, rgba(255, 90, 20, 0.16), transparent 14rem),
    linear-gradient(180deg, #17130f, #0a0908);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.stage-head::before {
  content: "";
  position: absolute;
  right: -4%;
  top: 50%;
  width: min(48%, 470px);
  height: 132px;
  transform: translateY(-50%) rotate(-3deg);
  background:
    var(--brush) right 0 center / 100% 78% no-repeat,
    var(--brush-white) left 0 top 0 / 62% 40% no-repeat,
    var(--brush-white) left 10% bottom 0 / 46% 26% no-repeat;
  opacity: 0.94;
  filter: drop-shadow(0 6px 18px rgba(255, 90, 20, 0.28));
  pointer-events: none;
}

.stage-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 9, 8, 0.72) 0 46%, rgba(10, 9, 8, 0.28) 70%, transparent);
  pointer-events: none;
}

.stage-kicker {
  color: rgba(238, 240, 244, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.stage-title {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 12px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #fbf8f1;
  text-shadow: 0 2px 0 #000, 0 18px 36px rgba(0, 0, 0, 0.54);
}

.stage-title::after {
  content: "";
  position: absolute;
  left: 2px;
  right: -10px;
  bottom: -2px;
  height: 14px;
  background: var(--brush) center / 100% 100% no-repeat;
  transform: rotate(-2.5deg);
  transform-origin: left center;
  pointer-events: none;
}

.stage-subline {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
}

.stage-head > * {
  position: relative;
  z-index: 1;
}

.case-card {
  min-height: 312px;
  display: grid;
  grid-template-rows: minmax(190px, 1fr) auto;
  gap: 12px;
  text-align: left;
}

.case-card.is-locked {
  filter: grayscale(1);
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.case-risk-board {
  display: grid;
  gap: 18px;
}

.case-risk-board h2 {
  margin: 4px 0 0;
  text-align: center;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}

.case-risk-list {
  display: grid;
  gap: 12px;
}

.case-risk-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.case-risk-label {
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
}

.case-risk-grid .case-card {
  min-height: 238px;
  grid-template-rows: minmax(164px, auto) auto;
  padding: 6px;
  text-align: center;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.case-risk-grid .case-card::before {
  inset: 12px 2px 38px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 122, 0, 0.12), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.006));
  opacity: 0.7;
}

.case-risk-grid .case-art {
  min-height: 164px;
  background: transparent;
}

.case-risk-grid .case-card img {
  width: min(108%, 194px);
  height: 164px;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.62));
}

.case-risk-grid .case-meta {
  justify-items: center;
}

.case-risk-grid .case-foot {
  width: 100%;
  padding: 0 4px;
}

.case-risk-grid .card-cta {
  color: #fff;
}

.case-art {
  display: grid;
  place-items: center;
  min-height: 126px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.12), transparent 44%),
    radial-gradient(circle at 50% 62%, rgba(143, 208, 255, 0.12), transparent 48%),
    rgba(5, 7, 10, 0.34);
}

.case-card img {
  width: min(78%, 220px);
  height: 170px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.58));
}

.case-meta {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.case-name,
.item-name {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.card-cta {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.case-detail-panel {
  overflow: hidden;
}

#case-detail {
  scroll-margin-top: 84px;
}

.price-badge {
  flex: 0 0 auto;
  align-self: flex-start;
  color: #08090c;
  background: linear-gradient(135deg, #fff1d6, #ffb21a 38%, #ff6a00);
  border-radius: 6px;
  padding: 7px 10px;
  font-weight: 700;
  box-shadow: 4px 0 0 rgba(157, 59, 0, 0.86);
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

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

@media (min-width: 560px) { .drops-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 820px) { .drops-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .drops-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.drop-tile {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  align-content: start;
  gap: 2px;
  padding: 10px 8px 13px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  min-width: 0;
  border: 1px solid var(--tile-line);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    #100e0c;
}

.drop-tile::after { content: none; }

.drop-art {
  display: grid;
  place-items: center;
  height: 64px;
  margin-bottom: 4px;
}

.drop-art img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
}

.drop-type {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.2;
  min-height: 13px;
}

.drop-name {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding-bottom: 5px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
}

.drop-name::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--rarity);
  box-shadow: 0 0 5px var(--rarity), 0 0 11px var(--rarity-tint);
}

.drop-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3px 6px;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.2;
}

.drop-wear {
  color: var(--muted-2);
  white-space: nowrap;
}

.rarity-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 14px 0 8px;
  font-size: 11px;
  color: var(--muted);
}

.rarity-legend-title {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.rarity-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.rarity-legend-item i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--rarity);
  box-shadow: 0 0 8px var(--rarity-tint);
}

.rarity-filter {
  margin-top: 10px;
}

.rarity-filter-item {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
}

.rarity-filter-item input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
}

.rarity-filter-item:hover {
  border-color: var(--rarity);
}

.rarity-filter-item.is-on {
  border-color: var(--rarity);
  background: var(--rarity-tint);
  color: var(--text);
}

.rarity-filter-item:focus-within {
  outline: 2px solid var(--rarity);
  outline-offset: 1px;
}

.rarity-filter-reset {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 999px;
}

.rarity-filter-reset[hidden] {
  display: none;
}

.wear-filter {
  margin-top: 6px;
}

.filter-help-btn {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0 2px 0 -6px;
  display: inline-grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-2);
  background-image: none;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  overflow: visible;
  cursor: help;
}

.filter-help-btn::before {
  content: "";
  position: absolute;
  inset: -7px;
}

.filter-help-btn::after { content: none; }

.filter-help-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

.filter-help-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 3, 3, 0.72);
  backdrop-filter: blur(3px);
}

.filter-help {
  width: min(420px, 100%);
  max-height: 80dvh;
  overflow-y: auto;
  margin: 0;
  text-align: left;
  font-weight: 400;
}

.filter-help-pop {
  position: fixed;
  top: var(--hint-top, 0px);
  left: var(--hint-left, 0px);
  z-index: 121;
  width: min(420px, calc(100vw - 16px));
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  max-height: calc(100dvh - 16px);
  overflow: hidden;
  text-align: left;
  font-weight: 400;
  pointer-events: none;
}

.filter-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 6px;
}

.filter-help-close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  background-image: none;
  box-shadow: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.filter-help-close:hover { color: var(--text); border-color: var(--accent); }

.filter-help-intro {
  margin: 0 0 6px;
  font-size: 13px;
}

.filter-help-order {
  margin: 0 0 8px;
  font-size: 12px;
}

.filter-help-rows {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.filter-help-rows li {
  display: grid;
  grid-template-columns: 9px auto 1fr;
  align-items: baseline;
  gap: 4px 7px;
}

.filter-help-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--rarity);
  box-shadow: 0 0 8px var(--rarity-tint);
}

.filter-help-name {
  font-weight: 700;
}

.filter-help-float {
  color: var(--muted-2);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.filter-help-text {
  grid-column: 2 / -1;
  color: var(--muted);
}

.filter-help-tech {
  margin: 0;
  font-size: 12px;
}

.drop-type,
.drop-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-panel h2,
.game-panel h3 {
  margin-top: 0;
}

@media (max-width: 640px) {
  .stage-head {
    min-height: 92px;
    padding: 14px 14px 12px;
  }
  .stage-title { font-size: 26px; padding-bottom: 10px; }
  .stage-title::after { height: 11px; }
  .stage-subline { font-size: 14px; }

  .stage-head::before {
    width: 66%;
    height: 64px;
    right: -10%;
    top: 46%;
    opacity: 0.85;
  }
  .stage-head::after {
    background: linear-gradient(90deg, rgba(10, 9, 8, 0.6) 0 30%, rgba(10, 9, 8, 0.2) 60%, transparent);
  }
  .case-card {
    min-height: 282px;
    grid-template-rows: minmax(172px, 1fr) auto;
  }
  .case-card img {
    width: min(76%, 200px);
    height: 156px;
  }
  .case-risk-board {
    gap: 14px;
  }
  .case-risk-board h2 {
    text-align: left;
    font-size: 25px;
  }
  .case-risk-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .case-risk-label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .case-risk-grid .case-card {
    min-height: 0;
  }
  .case-risk-grid .case-card img {
    width: 100%;
    height: auto;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  min-width: 0;
}

@media (max-width: 640px) {
  body { overflow-x: hidden; }
  .page-shell.with-rail,
  .view {
    width: 100vw;
    max-width: 100vw;
  }
  .view { padding-left: 12px; padding-right: 12px; }
  .page-shell.with-rail,
  .page-shell.with-rail .site-strip,
  .side-rail,
  .site-feed {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-shell.with-rail .site-strip {
    padding-left: 12px;
    padding-right: 12px;
  }
  .site-feed-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

.card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 122, 0, 0.12), transparent 9rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 38%),
    linear-gradient(180deg, #1b1712, #0d0c0a);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(236, 238, 242, 0.09);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.7);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(108deg, transparent 0 64%, rgba(255, 122, 0, 0.15) 64% 68%, transparent 68%),
    repeating-linear-gradient(175deg, transparent 0 15px, rgba(255, 255, 255, 0.024) 15px 16px);
  opacity: 0.5;
}

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

.card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.3), 0 16px 32px rgba(0, 0, 0, 0.42);
}

.card:active {
  transform: translateY(0);
}

.case-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 32px rgba(0, 0, 0, 0.42);
}

.card .price { color: var(--value); font-weight: 700; }

.panel {
  position: relative;
  min-width: 0;
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(28, 23, 18, 0.97), rgba(11, 10, 9, 0.97));
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(236, 238, 242, 0.08);
  box-shadow: inset 3px 0 0 rgba(255, 106, 0, 0.62), 0 14px 36px rgba(0, 0, 0, 0.28);
}

.panel::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 0;
  width: 92px;
  height: 4px;
  background: var(--neon);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  pointer-events: none;
}

.muted { color: var(--muted); }
.error { color: var(--danger); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.entry-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(238, 240, 244, 0.09);
  overflow-wrap: anywhere;
}

.entry-row > :first-child { flex: 1 1 60%; min-width: 0; }

.entry-row .coin-amount,
.entry-row .price,
.entry-row .muted { flex: 0 0 auto; white-space: nowrap; }

.entry-row:last-child { border-bottom: none; }

.price { color: var(--value); font-weight: 700; }

.coin-amount {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  vertical-align: -0.08em;
}

.coin-mark {
  position: relative;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.34) 0 24%, transparent 24% 40%, rgba(127, 63, 82, 0.42) 40% 58%, transparent 58%),
    radial-gradient(circle at 34% 30%, #fff1b8 0 18%, #d8bd7a 38%, #b9784b 72%, #7f3f52 100%);
  border: 1px solid rgba(255, 229, 170, 0.34);
  box-shadow: 0 0 0 1px rgba(8, 9, 12, 0.4), 0 0 10px rgba(216, 189, 122, 0.22);
}

.coin-mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(8, 9, 12, 0.38);
}

button .coin-amount .price,
.button .coin-amount .price,
.price-badge .coin-amount .price {
  color: currentColor;
}

button, .button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1d6, #ffb21a 34%, #ff6a00);
  color: #08090c;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  max-width: calc(100% - 8px);
  overflow-wrap: anywhere;
  box-shadow: 4px 0 0 rgba(157, 59, 0, 0.86), 0 0 0 1px rgba(238, 240, 244, 0.18);
  transition: transform 120ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

button::after, .button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 62%, rgba(255, 255, 255, 0.22) 62% 68%, transparent 68%);
  opacity: 0.5;
}

button:hover, .button:hover {
  box-shadow: 4px 0 0 var(--accent-dark), 0 0 22px rgba(255, 106, 0, 0.24);
}

button:active, .button:active {
  transform: translateY(1px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(216, 189, 122, 0.5);
  outline-offset: 2px;
}

.button-danger, button.button-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
  box-shadow: none;
}
.button-danger::after, button.button-danger::after { content: none; }
.button-danger:hover { box-shadow: 0 0 12px rgba(224, 86, 79, 0.4); }

.button-secondary, button.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.button-secondary::after, button.button-secondary::after { content: none; }
.button-secondary:hover { border-color: var(--accent); box-shadow: 0 0 16px rgba(216, 189, 122, 0.14); }

button:disabled {
  background: var(--panel-3);
  color: var(--muted);
  cursor: default;
  box-shadow: none;
}
button:disabled::after { content: none; }

button:not([class]),
.button:not(.button-secondary):not(.button-danger),
.case-hero-cta,
.sell {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.button-secondary,
.filter-pill,
.spin-mult-option {
  font-weight: 500;
}

textarea, input, select {
  width: 100%;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  font: inherit;
}

textarea:focus, input:focus, select:focus {
  outline: 2px solid rgba(216, 189, 122, 0.34);
  outline-offset: 1px;
  border-color: var(--accent);
}

textarea { min-height: 120px; font-size: 14px; line-height: 1.4; }

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f1e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  cursor: pointer;
}

select option {
  background: var(--panel-2);
  color: var(--text);
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  accent-color: var(--accent);
  cursor: pointer;
}

.fair-steps li { margin-bottom: 8px; }
.fair-ok { color: var(--success); font-weight: 700; }
.fair-pending { color: var(--value); font-weight: 700; }

.check-list { list-style: none; padding: 0; overflow-wrap: anywhere; }
.check-list li::before { content: "✗ "; color: var(--danger); }
.check-list li.ok::before { content: "✓ "; color: var(--success); }

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
}

.language-toggle {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 6px;
  min-width: 52px;
  min-height: 36px;
  padding: 7px 9px;
  color: var(--text);
  background: rgba(10, 9, 8, 0.78);
  border: 1px solid rgba(255, 122, 0, 0.24);
  border-radius: 6px;
  box-shadow: none;
}

.language-toggle::after { content: none; }
.language-toggle:hover { border-color: var(--accent); box-shadow: 0 0 14px rgba(255, 106, 0, 0.14); }

.language-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-code {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  white-space: nowrap;
}

.language-control,
.sound-control { position: relative; display: inline-flex; }

.language-popover {
  position: fixed;
  top: var(--lang-top, 56px);
  right: var(--lang-right, 8px);
  z-index: 60;
  display: grid;
  gap: 2px;
  min-width: 168px;
  padding: 6px;
  background: rgba(12, 15, 21, 0.97);
  border: 1px solid rgba(216, 189, 122, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.language-popover[hidden] { display: none; }

.language-option {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: none;
  min-height: 40px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: rgba(230, 232, 236, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.language-option::after { content: none; }
.language-option:hover {
  color: var(--text);
  background: rgba(255, 69, 0, 0.1);
  box-shadow: none;
}
.language-option.is-active {
  color: var(--accent);
  background: rgba(255, 69, 0, 0.14);
}
.language-option-code {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: inherit;
}
.language-option-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.sound-toggle { min-width: 38px; padding: 7px; }

.sound-icon .sound-body { fill: currentColor; stroke: none; }
.sound-cross { display: none; }
.sound-toggle.is-muted .sound-wave { display: none; }
.sound-toggle.is-muted .sound-cross { display: inline; }
.sound-toggle.is-low .sound-wave-high { display: none; }
.sound-toggle.is-muted { color: rgba(236, 238, 242, 0.5); }

.sound-popover {
  position: fixed;
  top: var(--sound-top, 56px);
  right: var(--sound-right, 8px);
  z-index: 60;
  display: grid;
  gap: 8px;
  width: 184px;
  padding: 12px;
  background: rgba(12, 15, 21, 0.97);
  border: 1px solid rgba(216, 189, 122, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.sound-popover[hidden] { display: none; }

.sound-range-label {
  font-size: 12px;
  color: rgba(236, 238, 242, 0.72);
}

.sound-range {
  width: 100%;
  height: 24px;
  padding: 0;
  accent-color: var(--accent);
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.sound-range::-webkit-slider-thumb { width: 20px; height: 20px; }

.scroll-top {
  position: fixed;
  right: 14px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 122, 0, 0.34);
  border-radius: 50%;
  background: rgba(21, 19, 16, 0.92);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.scroll-top[hidden] { display: none; }
.scroll-top:hover { border-color: var(--accent); color: var(--accent); }
.scroll-top:active { transform: translateY(1px); }
.scroll-top-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 759px) {
  .scroll-top {
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
  }
}

.auth-area { white-space: nowrap; min-width: 0; }
.balance-chip {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  overflow: hidden;
  vertical-align: middle;
  color: var(--text);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(10, 9, 8, 0.92);
  border: 1px solid rgba(255, 122, 0, 0.28);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 14px;
  box-shadow: inset 3px 0 0 rgba(255, 106, 0, 0.7);
}
.wallet-chip {
  animation: wallet-pulse 420ms ease-out;
}
.wallet-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.wallet-amount {
  font-weight: 700;
}
.wallet-user {
  min-width: 0;
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
}
.login-chip {
  color: #08090c;
  background: linear-gradient(135deg, #fff1d6, #ffb21a 38%, #ff6a00);
  box-shadow: 4px 0 0 rgba(157, 59, 0, 0.86);
}
.auth-panel { max-width: 420px; margin: 24px auto; }

.auth-panel .auth-button {
  width: 100%;
  max-width: none;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.auth-panel form p { margin: 0 0 10px; }

.auth-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  margin-top: 10px;
}

.auth-providers {
  display: grid;
  gap: 10px;
}

.auth-notice:empty,
.auth-panel .error:empty { display: none; }

.auth-or {
  margin: 14px 0 10px;
  text-transform: lowercase;
}

.link-button {
  width: auto;
  min-height: 0;
  background: none;
  color: var(--muted);
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-button:hover { color: var(--accent); }
.link-button::after { content: none; }

.profile-shell {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  padding: 16px;
}

.account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  order: 1;
}

.account-wallet { order: 2; }
.account-rank { order: 3; }

.account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--panel-2);
  border: 2px solid rgba(255, 69, 0, 0.45);
  flex: 0 0 auto;
}

.account-ident { min-width: 0; }

.account-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-id {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  min-height: 26px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  background-image: none;
  box-shadow: none;
  color: var(--muted);
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

.account-id:hover { color: var(--text); border-color: var(--line); }
.account-id.is-copied { color: var(--accent-2); }
.account-id-copy { flex: 0 0 auto; opacity: .7; }

.account-kicker {
  display: block;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-rank .rank-progress { margin-top: 8px; max-width: none; }
.account-rank .rank-caption { font-family: var(--font); font-variant-numeric: tabular-nums; }

.account-wallet {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-width: 0;
}

.account-wallet strong { font-size: 26px; line-height: 1; }

.account-balance-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.account-tickets {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.account-tickets:hover { color: var(--ticket-2); }

.account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.account-actions .button,
.account-actions .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.account-actions #profile-support { flex-basis: 100%; }

.account-wallet .coin-rate-hint { margin: 0; }

.profile-stats {
  display: grid;
  gap: 10px;
}

.profile-stats:empty { display: none; }

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

.stat-cell {
  display: grid;
  gap: 2px;
  align-content: start;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  min-width: 0;
}

.stat-cell strong {
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  line-height: 1.1;
  color: var(--accent-2);
}

.stat-label {
  color: var(--muted-2);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stat-best-card {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 130%, var(--rarity-tint), transparent 68%),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.stat-best-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--rarity);
}

.stat-best-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  min-width: 0;
}

.stat-best-row img {
  width: 56px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

.stat-best-meta { min-width: 0; }

.stat-best-name {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.stat-best-value { margin-top: 2px; font-weight: 700; font-family: var(--font); font-variant-numeric: tabular-nums; }

@media (min-width: 761px) {
  .account-card {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px 24px;
  }
  .account-identity { order: 1; }
  .account-rank { order: 2; padding-top: 4px; }
  .account-wallet { order: 3; justify-items: end; text-align: right; }
  .account-wallet .account-balance-row { justify-content: flex-end; }
  .account-actions { width: auto; justify-content: flex-end; }
  .account-actions .button,
  .account-actions .button-secondary { flex: 0 0 auto; min-width: 140px; }
  .account-actions #profile-support { flex-basis: auto; }
  .stat-cells { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.trade-url-details {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 8px 12px;
}

.trade-url-saved { overflow-wrap: anywhere; }

.trade-url-details .trade-url-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.trade-url-details input { margin-top: 8px; width: 100%; }
.trade-url-details .withdraw-hint { margin: 6px 0 0; font-size: 12px; }

.profile-title {
  min-width: 0;
}

.profile-title h1 {
  margin: 4px 0 4px;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.profile-title p {
  margin: 0;
}

.section-kicker {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.balance-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: center;
  justify-items: stretch;
}

.balance-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(236, 238, 242, 0.08);
}

.balance-card strong {
  color: var(--value);
  font-size: 24px;
  line-height: 1.1;
  white-space: nowrap;
}

#profile-balance-amount .coin-mark {
  cursor: pointer;
}

#profile-balance-amount .coin-mark:focus-visible {
  outline: 2px solid rgba(216, 189, 122, 0.54);
  outline-offset: 3px;
}

.coin-rate-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.coin-rate-hint .coin-amount .price {
  font-size: 12px;
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.profile-actions button {
  width: auto;
  max-width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  text-align: center;
}

.profile-priority-grid,
.profile-money-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.profile-priority-grid .settings-section,
.profile-money-grid .settings-section {
  min-width: 0;
}

.profile-steam-card {
  display: grid;
  align-content: start;
}

.profile-steam-card p {
  margin: 0 0 14px;
  line-height: 1.45;
}

.steam-profile-link {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

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

.payment-option,
button.payment-option {
  width: 100%;
  max-width: 100%;
  min-height: 112px;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
  padding: 14px;
  text-align: left;
  color: var(--text);
  border: 1px solid rgba(255, 69, 0, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 69, 0, 0.14), transparent 52%),
    linear-gradient(180deg, #1c1916, #151310);
  box-shadow: inset 3px 0 0 var(--accent);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.payment-option::after,
button.payment-option::after {
  content: none;
}

.payment-option:hover,
button.payment-option:hover {
  border-color: rgba(255, 69, 0, 0.46);
  background:
    linear-gradient(135deg, rgba(255, 69, 0, 0.2), transparent 52%),
    linear-gradient(180deg, #211c17, #171411);
  box-shadow: inset 3px 0 0 var(--accent), 0 12px 28px rgba(255, 69, 0, 0.16);
  transform: translateY(-2px);
}

.payment-option-title {
  min-width: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.payment-option .muted {
  margin: 0;
  font-size: 13px;
  line-height: 1.38;
}

.payment-option .status-pill {
  max-width: 100%;
  white-space: normal;
}

.payment-option.is-disabled,
button.payment-option:disabled {
  color: var(--text);
  cursor: not-allowed;
  border-color: rgba(236, 238, 242, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 52%),
    rgba(10, 13, 19, 0.58);
  box-shadow: inset 3px 0 0 rgba(236, 238, 242, 0.12);
}

.payment-option.is-disabled:hover,
button.payment-option:disabled:hover {
  border-color: rgba(236, 238, 242, 0.12);
  box-shadow: inset 3px 0 0 rgba(236, 238, 242, 0.12);
  transform: none;
}

.profile-money-section > .payment-option {
  margin-bottom: 12px;
}

#skinsback-status p {
  margin: 10px 0 0;
}

.topup-shell {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
}

.topup-panel { display: grid; gap: 12px; }
.topup-intro { margin: 0; }

.topup-methods {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.topup-methods::-webkit-scrollbar { display: none; }

.topup-method {
  flex: 1 0 auto;
  min-height: 42px;
  max-width: none;
  padding: 8px 14px;
  white-space: nowrap;
  font-weight: 600;
  color: var(--muted);
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  transition: color 0.18s ease, background 0.18s ease;
}

.topup-method::after { content: none; }

.topup-method:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.topup-method.is-active,
.topup-method.is-active:hover {
  color: #fff;
  background: linear-gradient(135deg, #ff7a44, #ff4500);
  box-shadow: 0 6px 18px rgba(255, 69, 0, 0.22);
}

.topup-method.is-unavailable,
.topup-method.is-unavailable:hover {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  background: transparent;
  opacity: 0.55;
  cursor: default;
}

.topup-method-soon {
  flex: 0 0 auto;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 7px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.topup-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: linear-gradient(180deg, #1c1916, #151310);
}

.topup-presets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}

.topup-preset {
  min-height: 52px;
  max-width: 100%;
  padding: 8px 6px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.topup-preset:hover {
  border-color: rgba(255, 69, 0, 0.4);
  background: linear-gradient(180deg, rgba(255, 69, 0, 0.12), rgba(255, 69, 0, 0.03));
  transform: translateY(-1px);
}

.topup-preset::after { content: none; }

.topup-preset[hidden] { display: none; }

.topup-preset.is-active,
.topup-preset.is-active:hover {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 69, 0, 0.22), rgba(255, 69, 0, 0.07));
  box-shadow: 0 0 0 1px rgba(255, 69, 0, 0.35), 0 8px 22px rgba(255, 69, 0, 0.16);
}

.topup-code-panel { display: grid; gap: 10px; }
.topup-code-panel h2 { margin: 0; font-size: 16px; }
.topup-code-form { display: grid; gap: 10px; }
.topup-code-form input { text-transform: uppercase; letter-spacing: .08em; }
.topup-code-panel .error { margin: 0; font-size: 13px; color: var(--danger); }
.topup-code-ok { margin: 0; font-size: 13px; color: var(--ok, #6bd08a); }
.topup-code-buy { display: grid; gap: 8px; margin: 0; }
.topup-code-products { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.topup-code-product { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.topup-code-product a { color: inherit; text-decoration: underline; }
.topup-code-product.is-out { opacity: .6; }
.topup-code-buy .muted { font-size: 13px; }

.topup-field { display: grid; gap: 6px; }

.topup-field input {
  width: 100%;
  min-height: 44px;
  font-size: 18px;
  font-weight: 700;
}

.topup-estimate { margin: 0; font-size: 13px; color: var(--muted); }
.topup-estimate.error { color: var(--danger); }
.topup-form .muted { margin: 0; font-size: 13px; line-height: 1.38; }

.topup-submit {
  min-height: 52px;
  width: 100%;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #ff7a44, #ff4500);
  box-shadow: 0 10px 26px rgba(255, 69, 0, 0.24);
}

.topup-submit:hover {
  background: linear-gradient(135deg, #ff8a5a, #f04000);
  box-shadow: 0 12px 30px rgba(255, 69, 0, 0.34);
}

.topup-submit:disabled {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.topup-submit::after,
.topup-chip::after {
  content: none;
}

a.payment-option,
a.payment-option:hover {
  text-decoration: none;
}

.streamer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.streamer-text { min-width: 0; }
.streamer-text .muted { margin: 4px 0 0; font-size: 12px; }
.streamer-label { font-weight: 600; }

.coin-amount.is-masked .price { letter-spacing: .12em; }

.is-streamer .avatar:not(.avatar-option .avatar),
.is-streamer .avatar-option-steam .avatar,
.is-streamer .account-avatar,
.is-streamer .fiat {
  filter: blur(7px);
}
.is-streamer .fiat { filter: blur(6px); user-select: none; }

.is-streamer .streamer-secret {
  filter: blur(7px);
  user-select: none;
}

.is-streamer .streamer-secret:focus-within {
  filter: none;
  user-select: auto;
}

.deposit-ops {
  display: grid;
  gap: 8px;
  margin: 12px 0 4px;
}

.deposit-op {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(236, 238, 242, 0.12);
  border-radius: 8px;
  background: rgba(10, 13, 19, 0.58);
  font-size: 13px;
  line-height: 1.35;
}

.deposit-op.is-frozen {
  border-color: rgba(140, 190, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(140, 190, 255, 0.14), transparent 55%),
    rgba(10, 16, 26, 0.72);
  box-shadow: inset 3px 0 0 rgba(140, 190, 255, 0.55);
}

.deposit-op-icon {
  flex: none;
  font-size: 20px;
  color: rgba(170, 210, 255, 0.9);
  filter: drop-shadow(0 0 6px rgba(140, 190, 255, 0.45));
}

.steam-inventory-details {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(236, 238, 242, 0.08);
}

.steam-inventory-details summary {
  cursor: pointer;
  font-size: 13px;
}

.steam-inventory-details #steam-inventory {
  margin-top: 10px;
}

.withdraw-inventory-details {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(236, 238, 242, 0.08);
}

.withdraw-inventory-details summary {
  cursor: pointer;
  font-size: 13px;
}

.withdraw-inventory-details #withdraw-inventory {
  margin-top: 10px;
}

.withdraw-inventory-list {
  display: grid;
  gap: 8px;
}

.withdraw-inventory-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(236, 238, 242, 0.1);
  border-radius: 8px;
  background: rgba(8, 10, 15, 0.42);
}

.withdraw-inventory-row.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
  background: rgba(255, 122, 0, 0.12);
}

.withdraw-row-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
  align-self: center;
}

@media (min-width: 560px) {
  .withdraw-inventory-row { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .withdraw-row-actions { grid-column: auto; }
}

.withdraw-row-actions .asset-action-icon {
  width: 44px;
  height: 44px;
}

.withdraw-row-error {
  grid-column: 1 / -1;
  font-size: 12px;
}

.withdraw-form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.withdraw-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.withdraw-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(236, 238, 242, 0.14);
  border-radius: 10px;
  background: rgba(8, 10, 15, 0.55);
  color: inherit;
  font: inherit;
}

.withdraw-field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.withdraw-hint {
  font-size: 12px;
  margin: 0;
}

.withdraw-submit {
  width: 100%;
  min-height: 46px;
}

.withdraw-received {
  padding: 12px;
  border: 1px solid rgba(255, 122, 0, 0.4);
  border-radius: 10px;
  background: rgba(255, 122, 0, 0.08);
}

.withdraw-received-title {
  margin: 0 0 6px;
  font-weight: 600;
}

.withdraw-op.is-live {
  border-color: rgba(255, 122, 0, 0.4);
}

.withdraw-op .withdraw-inventory-art {
  flex: none;
}

.withdraw-op-meta {
  min-width: 0;
}

.withdraw-inventory-art {
  width: 56px;
  height: 42px;
  display: grid;
  place-items: center;
}

.withdraw-inventory-art img {
  max-width: 56px;
  max-height: 42px;
  object-fit: contain;
}

.withdraw-inventory-meta {
  min-width: 0;
}

.withdraw-inventory-meta .item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.settings-main,
.settings-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.settings-section h2 {
  margin: 4px 0 0;
  font-size: 22px;
  letter-spacing: 0;
}

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

.section-head > div {
  min-width: 0;
}

.settings-form {
  display: grid;
  gap: 10px;
}

.settings-form.inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.settings-form.inline-form input {
  min-width: 0;
}

.settings-form.inline-form button {
  flex: 0 0 auto;
}

.settings-list {
  display: grid;
  gap: 10px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(236, 238, 242, 0.08);
  min-width: 0;
}

.settings-row > span:first-child {
  min-width: 0;
}

.status-pill {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  border: 1px solid rgba(216, 189, 122, 0.18);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(216, 189, 122, 0.08);
  font-size: 13px;
}

.status-pill a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.muted-pill {
  color: var(--muted);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.session-security {
  display: grid;
  gap: 12px;
}

.session-security-row {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(236, 238, 242, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 54%),
    rgba(7, 9, 13, 0.42);
}

.session-security-row-current {
  border-color: rgba(216, 189, 122, 0.28);
  background:
    linear-gradient(135deg, rgba(216, 189, 122, 0.11), transparent 42%),
    rgba(7, 9, 13, 0.54);
  box-shadow: inset 3px 0 0 rgba(216, 189, 122, 0.72);
}

.session-security-row-head {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.session-security-row-head strong,
.session-security-row-head span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-security-row-head strong {
  font-size: 18px;
  line-height: 1.1;
}

.session-security-row-head span {
  color: var(--muted);
  border: 1px solid rgba(236, 238, 242, 0.12);
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 700;
}

.session-current-pill {
  color: #d8bd7a;
  border-color: rgba(216, 189, 122, 0.4) !important;
}

.session-security-line {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.session-security-recent {
  display: grid;
  gap: 8px;
}

.session-security-recent > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.session-security-hint {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(216, 189, 122, 0.16);
  border-radius: 8px;
  background: rgba(216, 189, 122, 0.045);
  font-size: 13px;
}

.button-logout,
button.button-logout {
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(227, 106, 106, 0.98), rgba(127, 63, 82, 0.98));
  color: #fff;
  border: 1px solid rgba(255, 185, 185, 0.28);
  box-shadow: 4px 0 0 rgba(0, 0, 0, 0.36), 0 0 20px rgba(227, 106, 106, 0.16);
}

.button-logout::after,
button.button-logout::after {
  opacity: 0.28;
}

.button-logout:hover,
button.button-logout:hover {
  border-color: rgba(255, 212, 212, 0.46);
  box-shadow: 4px 0 0 rgba(0, 0, 0, 0.38), 0 0 24px rgba(227, 106, 106, 0.24);
}

.danger-panel {
  border-color: rgba(227, 106, 106, 0.24);
  box-shadow: inset 3px 0 0 rgba(227, 106, 106, 0.58), 0 14px 36px rgba(0, 0, 0, 0.28);
}

.delete-box {
  margin-top: 12px;
}

.totp-setup-box {
  margin-top: 12px;
}

.verify-notice {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(216, 189, 122, 0.28);
  border-radius: 10px;
  background: rgba(216, 189, 122, 0.06);
}

.verify-notice p {
  margin: 0 0 10px;
}

@media (max-width: 760px) {
  .profile-hero {
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .balance-card {
    justify-items: stretch;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .profile-priority-grid,
  .profile-money-grid,
  .payment-options {
    grid-template-columns: 1fr;
  }
  .profile-title h1 {
    font-size: 30px;
  }
  .balance-line {
    display: grid;
    gap: 2px;
  }
  .profile-actions {
    justify-content: stretch;
  }
  .profile-actions button {
    width: 100%;
  }
  .section-head,
  .settings-row {
    align-items: flex-start;
  }
  .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .section-head > .status-pill {
    justify-self: start;
  }
  .settings-form.inline-form {
    display: grid;
  }
  .settings-row {
    flex-direction: column;
  }
  .button-logout,
  button.button-logout {
    width: 100%;
    max-width: 100%;
  }
}

.auction {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), transparent 12% 88%, rgba(0, 0, 0, 0.82)),
    repeating-linear-gradient(135deg, #171d26 0 18px, #0c1017 18px 36px);
  margin: 14px 0;
  border: 1px solid rgba(216, 189, 122, 0.18);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(127, 63, 82, 0.1);
  min-height: 132px;
}
.auction::before,
.auction::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 3;
  pointer-events: none;
}
.auction::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 8, 11, 0.94), rgba(7, 8, 11, 0));
}
.auction::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 8, 11, 0.94), rgba(7, 8, 11, 0));
}
.auction-pin {
  position: absolute;
  left: 50%;
  top: -1px;
  bottom: -1px;
  width: 7px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(7, 8, 11, 0.88) 0 1px, #eceef2 1px 2px, var(--accent) 2px 5px, #eceef2 5px 6px, rgba(7, 8, 11, 0.88) 6px 7px);
  box-shadow: 0 0 18px rgba(216, 189, 122, 0.72), 0 0 38px rgba(127, 63, 82, 0.36);
  z-index: 4;
  pointer-events: none;
}
.auction-pin::before,
.auction-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 24px;
  height: 15px;
  background: linear-gradient(135deg, #f0d99a, #b9784b);
  filter: drop-shadow(0 0 10px rgba(216, 189, 122, 0.58));
  transform: translateX(-50%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}
.auction-pin::before { top: 0; }
.auction-pin::after {
  bottom: 0;
  transform: translateX(-50%) rotate(180deg);
}
.strip {
  display: flex;
  position: relative;
  z-index: 1;
  transition: transform 6.2s cubic-bezier(0.12, 0.7, 0.12, 1);
  will-change: transform;
}
.cell {
  position: relative;
  flex: 0 0 112px;
  width: 112px;
  display: grid;
  grid-template-rows: 58px 14px 30px 18px;
  align-items: start;
  gap: 2px;
  padding: 10px 7px 12px;
  text-align: center;
  border-right: 1px solid rgba(238, 240, 244, 0.08);
  font-size: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 116%, var(--rarity-tint), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%),
    rgba(12, 14, 18, 0.72);
}
.cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--rarity);
}
.cell-art {
  display: grid;
  place-items: center;
  min-width: 0;
}
.cell img {
  width: 82px;
  height: 58px;
  object-fit: contain;
}
.cell-type,
.cell-name {
  min-width: 0;
  overflow: hidden;
}
.cell-type {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cell-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.25;
}
.cell-value {
  color: var(--value);
  font-weight: 700;
  line-height: 1.2;
}
.mini { width: 28px; height: 21px; vertical-align: middle; }

[class*="rarity-"] {
  --rarity: rgba(236, 238, 242, 0.09);
  --rarity-tint: rgba(236, 238, 242, 0.04);
}
.rarity-consumer { --rarity: #b0c3d9; --rarity-tint: rgba(176, 195, 217, 0.16); }
.rarity-industrial { --rarity: #5e98d9; --rarity-tint: rgba(94, 152, 217, 0.18); }
.rarity-mil-spec { --rarity: #4b69ff; --rarity-tint: rgba(75, 105, 255, 0.22); }
.rarity-restricted { --rarity: #8847ff; --rarity-tint: rgba(136, 71, 255, 0.24); }
.rarity-classified { --rarity: #d32ce6; --rarity-tint: rgba(211, 44, 230, 0.22); }
.rarity-covert { --rarity: #eb4b4b; --rarity-tint: rgba(235, 75, 75, 0.22); }

.rarity-gold { --rarity: #ffd700; --rarity-tint: rgba(255, 215, 0, 0.16); }

.rarity-coins { --rarity: #d9b981; --rarity-tint: rgba(217, 185, 129, 0.16); }

.wear-fn { --rarity: #eceef2; --rarity-tint: rgba(236, 238, 242, 0.16); }
.wear-mw { --rarity: #cfc9bd; --rarity-tint: rgba(207, 201, 189, 0.14); }
.wear-ft { --rarity: #a49c8f; --rarity-tint: rgba(164, 156, 143, 0.16); }
.wear-ww { --rarity: #7b7468; --rarity-tint: rgba(123, 116, 104, 0.2); }
.wear-bs { --rarity: #565049; --rarity-tint: rgba(86, 80, 73, 0.28); }
.wear-none { --rarity: #3a3a38; --rarity-tint: rgba(58, 58, 56, 0.3); }
.card[class*="rarity-"],
.win-panel[class*="rarity-"],
.price-card[class*="rarity-"],
.withdraw-inventory-row[class*="rarity-"] { border: 1px solid var(--rarity); }
.site-feed-row[class*="rarity-"] { border-left-color: var(--rarity); }

.win-panel {
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, var(--rarity-tint), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 48%),
    var(--panel);
  box-shadow: inset 0 -4px 0 var(--rarity), 0 0 34px rgba(216, 189, 122, 0.12);
  animation: win-reveal 260ms ease-out;
}

.win-prize {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.win-prize-art {
  display: grid;
  place-items: center;
  min-height: 150px;
  width: min(100%, 320px);
}

.win-prize-art img {
  width: min(220px, 82vw);
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.42));
}

.win-prize-meta {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.win-prize-meta h3 {
  margin: 0;
  overflow-wrap: anywhere;
}

.win-actions {
  justify-content: center;
  gap: 10px;
}

.win-actions .button,
.win-actions button {
  min-width: 188px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  text-align: center;
}

@media (max-width: 480px) {
  .win-actions .button,
  .win-actions button {
    min-width: 0;
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .strip {
    transition-duration: 0.18s !important;
  }
}

.spin-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 10px 0 4px;
}

.spin-mult {
  display: inline-flex;
  gap: 6px;
}

.spin-mult-option {
  min-width: 46px;
  min-height: 44px;
  padding: 0 10px;
  background: rgba(12, 14, 18, 0.72);
  color: var(--muted);
  border: 1px solid rgba(238, 240, 244, 0.14);
  font-weight: 700;
  box-shadow: none;
}

.spin-mult-option.active {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(255, 122, 0, 0.14);
}

.fast-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
}

.fast-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

@media (pointer: coarse) {
  .hotkeys-toggle, .hotkeys-guide { display: none !important; }
}

.hotkeys-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-left: auto;
  flex: none;
  min-height: 40px;
  max-width: none;
  padding: 0 14px;
  background: rgba(12, 14, 18, 0.72);
  color: var(--muted);
  border: 1px solid rgba(238, 240, 244, 0.14);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;

  white-space: nowrap;
  overflow-wrap: normal;
  box-shadow: none;
}
.hotkeys-toggle::after { content: none; }
.hotkeys-toggle:hover {
  color: var(--text);
  border-color: var(--accent);
  box-shadow: none;
}
.hotkeys-toggle[aria-expanded="true"] {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(255, 122, 0, 0.12);
}
.hotkeys-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hotkeys-guide {
  max-width: 560px;
  margin: 0 0 10px auto;
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 20px;
  padding: 12px 14px;
  background: rgba(12, 15, 21, 0.72);
  border: 1px solid rgba(255, 122, 0, 0.2);
  border-radius: var(--radius);
}
.hotkeys-guide[hidden] { display: none; }

.hotkey-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  padding: 0 2px;
}
.hotkey-label { font-size: 13px; color: rgba(236, 238, 242, 0.78); }
.hotkey-keys { display: inline-flex; align-items: center; gap: 4px; }
.hotkey-sep { color: var(--muted-2); font-size: 11px; }

.hotkey-key {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  background: linear-gradient(180deg, #352d23 0%, #221c15 100%);
  border: 1px solid rgba(238, 240, 244, 0.18);
  border-bottom-width: 2px;
  border-radius: 5px;
  color: var(--text);
  font: 700 12px/1 var(--font);
}

.auction-multi-stack {
  display: grid;
  gap: 8px;
}

.auction-multi-vertical {
  --reel-cell: 96px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: stretch;
  margin: 14px 0;
  min-width: 0;
}

.auction-vertical {
  height: calc(var(--reel-cell) * 3);
  min-height: 0;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 12% 88%, rgba(0, 0, 0, 0.82)),
    repeating-linear-gradient(135deg, #171d26 0 18px, #0c1017 18px 36px);
}

.auction.auction-vertical::before,
.auction.auction-vertical::after {
  left: 0;
  right: 0;
  width: auto;
  height: 56px;
}

.auction.auction-vertical::before {
  top: 0;
  bottom: auto;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.94), rgba(7, 8, 11, 0));
}

.auction.auction-vertical::after {
  top: auto;
  bottom: 0;
  background: linear-gradient(0deg, rgba(7, 8, 11, 0.94), rgba(7, 8, 11, 0));
}

.auction-vertical .auction-pin {
  left: -1px;
  right: -1px;
  top: 50%;
  bottom: auto;
  width: auto;
  height: 7px;
  transform: translateY(-50%);
  background:
    linear-gradient(180deg, rgba(7, 8, 11, 0.88) 0 1px, #eceef2 1px 2px, var(--accent) 2px 5px, #eceef2 5px 6px, rgba(7, 8, 11, 0.88) 6px 7px);
}

.auction-vertical .auction-pin::before,
.auction-vertical .auction-pin::after {
  top: 50%;
  bottom: auto;
  width: 15px;
  height: 24px;
  transform: translateY(-50%);
}

.auction-vertical .auction-pin::before {
  left: 0;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.auction-vertical .auction-pin::after {
  left: auto;
  right: 0;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.strip-vertical {
  flex-direction: column;
}

.auction-vertical .cell {
  flex: 0 0 var(--reel-cell);
  width: auto;
  height: var(--reel-cell);
  grid-template-rows: 52px 18px;
  padding: 10px 6px 12px;
  border-right: none;
  border-bottom: 1px solid rgba(238, 240, 244, 0.08);
}

.auction-vertical .cell-type,
.auction-vertical .cell-name {
  display: none;
}

.auction-vertical .cell img {
  width: 100%;
  max-width: 100%;
  height: 52px;
}

.auction-vertical .cell.cell-winner {
  z-index: 2;
  box-shadow: inset 0 0 0 2px var(--rarity), 0 0 24px var(--rarity-tint);
  background:
    radial-gradient(circle at 50% 50%, var(--rarity-tint), transparent 72%),
    rgba(12, 14, 18, 0.88);
  animation: win-reveal 260ms ease-out;
}

@media (max-width: 640px) {
  .auction-multi-vertical {
    --reel-cell: 74px;
    gap: 5px;
  }

  .auction-vertical .cell {
    grid-template-rows: 38px 16px;
    padding: 7px 4px 8px;
    font-size: 11px;
  }

  .auction-vertical .cell img {
    height: 38px;
  }

  .auction-multi-vertical[data-reels="2"],
  .auction-multi-vertical[data-reels="3"] {
    --reel-cell: 90px;
  }

  .auction-multi-vertical[data-reels="2"] .cell,
  .auction-multi-vertical[data-reels="3"] .cell {
    grid-template-rows: 48px 18px;
    padding: 9px 6px 11px;
    font-size: 12px;
  }

  .auction-multi-vertical[data-reels="2"] .cell img,
  .auction-multi-vertical[data-reels="3"] .cell img {
    height: 48px;
  }

  .auction.auction-vertical::before,
  .auction.auction-vertical::after {
    height: 40px;
  }

  .auction-vertical .auction-pin::before,
  .auction-vertical .auction-pin::after {
    width: 10px;
    height: 16px;
  }
}

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

@media (min-width: 720px) {
  .multi-win-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.multi-win-card {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid var(--rarity);
  background:
    radial-gradient(circle at 50% 112%, var(--rarity-tint), transparent 66%),
    rgba(12, 14, 18, 0.72);
}

.multi-win-card img {
  width: 96px;
  height: 66px;
  object-fit: contain;
}

.multi-win-name {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.multi-win-value {
  color: var(--value);
  font-weight: 700;
  font-size: 13px;
}

.multi-sell {
  min-height: 44px;
  font-size: 12px;
  padding: 0 10px;
}

.multi-win-total {
  margin: 12px 0 4px;
}

.market-prices { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: flex-end; }
.market-price { white-space: nowrap; font-size: 13px; }

.tg-button {
  background: #2aabee;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.steam-button {
  background: #171a21;
  color: #fff;
  border: 1px solid #2a475e;
  box-shadow: none;
}
.tg-button::after,
.steam-button::after { content: none; }
.tg-button:hover { background: #37b6f6; }
.steam-button:hover { border-color: #4b7a9c; }

.activation-notice {
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(216, 122, 122, 0.35);
  background: rgba(216, 122, 122, 0.07);
}
.activation-notice p { margin: 6px 0 0; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.inline-form input { flex: 1; min-width: 0; }

.countdown {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 2px 2px 0 #000, 0 0 22px rgba(216, 189, 122, 0.28);
  text-align: center;
}
.round-card { cursor: pointer; }

.note { line-height: 1.5; margin: 8px 0; }
.jackpot-lobby h2,
.jackpot-card h3,
.jackpot-focus h2 {
  margin: 0;
}
.jackpot-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.42fr);
  gap: 14px;
  align-items: stretch;
}
.jackpot-card-main {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.jackpot-card-main > .status-pill { justify-self: start; }

.jackpot-card-main h3 {
  overflow-wrap: anywhere;
}
.jackpot-card-bank {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 5px;
  padding: 12px;
  border-radius: 6px;
  background: rgba(5, 7, 10, 0.34);
  border: 1px solid rgba(216, 189, 122, 0.14);
}
.jackpot-card-bank strong {
  font-size: 21px;
}
.hot-pill {
  color: #08090c;
  border-color: transparent;
  background: linear-gradient(135deg, #f0d99a, #c29452);
}
.jackpot-round-panel {
  display: grid;
  gap: 14px;
}
.back-link {
  text-decoration: none;
}
.jackpot-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 16px;
  align-items: stretch;
}
.jackpot-focus-title {
  min-width: 0;
}
.jackpot-bank {
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 6px;
  padding: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 189, 122, 0.12), rgba(127, 63, 82, 0.08)),
    rgba(5, 7, 10, 0.42);
  border: 1px solid rgba(216, 189, 122, 0.2);
}
.jackpot-bank strong {
  font-size: 28px;
  line-height: 1.05;
}
.jackpot-bank small {
  color: var(--muted);
}
.jackpot-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.metric {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(236, 238, 242, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.028);
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  overflow-wrap: anywhere;
}
.metric .countdown {
  text-align: left;
  font-size: 24px;
  line-height: 1.1;
}
.participant-list {
  display: grid;
  gap: 2px;
}
.avatar {
  display: inline-block;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: #0e0c0b;
  border: 1px solid rgba(236, 238, 242, 0.12);
}
.avatar-sm { width: 28px; height: 28px; }
.avatar-lg { width: 72px; height: 72px; border-width: 2px; }
.avatar-current { display: flex; align-items: center; gap: 14px; }
.avatar-current .inline-form { flex: 1; min-width: 0; }
.avatar-hint { margin: 14px 0 8px; }
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 8px;
}
.avatar-option {
  padding: 3px;
  min-height: 44px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.avatar-option .avatar { width: 100%; height: auto; aspect-ratio: 1; }
.avatar-option:hover { border-color: rgba(236, 238, 242, 0.3); }
.avatar-option.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255, 90, 31, 0.25); }
.avatar-option[disabled] { cursor: default; opacity: 0.7; }
.participant-name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }

:root {
  --seat-1: #ff6a00;
  --seat-2: #ffc850;
  --seat-3: #a83a10;
  --seat-4: #e8dccb;
  --seat-5: #8a5a33;
  --seat-6: #ffe4a8;
  --seat-7: #5c534a;
  --seat-8: #d94f16;
}

.jackpot-wheel {
  position: relative;
  width: min(340px, 82vw);
  margin: 26px auto 6px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.jackpot-wheel.is-empty {
  aspect-ratio: auto;
  padding: 24px 12px;
  text-align: center;
}
.wheel-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: rotate(var(--wheel-turn, 0deg));
  transition: transform 6.2s cubic-bezier(0.12, 0.7, 0.12, 1);
  will-change: transform;
  filter: drop-shadow(0 0 22px rgba(0, 0, 0, 0.72));
}
.wheel-slice {
  stroke: rgba(7, 8, 11, 0.65);
  stroke-width: 1.2;
}
.wheel-label,
.wheel-share {
  text-anchor: middle;
  font-weight: 700;
  fill: #0b0908;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 0.6;
}
.wheel-label { font-size: 11px; }
.wheel-share { font-size: 10px; font-weight: 700; }

.wheel-hub {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 40%;
  aspect-ratio: 1;
  align-content: center;
  padding: 6px;
  border-radius: 50%;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, #1c1916, #080706 78%);
  border: 1px solid rgba(216, 189, 122, 0.24);
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}
.wheel-hub span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.wheel-hub strong { font-size: 18px; line-height: 1.1; }
.wheel-caption { margin: 0 0 4px; text-align: center; }

.wheel-pointer {
  position: absolute;
  top: -6px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 2px;
  pointer-events: none;
}
.wheel-pointer span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.wheel-pointer::after {
  content: "";
  width: 20px;
  height: 16px;
  background: linear-gradient(135deg, #ffe0a8, var(--accent));
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 0 10px rgba(255, 122, 0, 0.6));
}

@media (prefers-reduced-motion: reduce) {
  .wheel-disc { transition-duration: 0.18s; }
}

.participant-bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid rgba(236, 238, 242, 0.07);
  background: rgba(255, 255, 255, 0.02);
}
.participant-bar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--share, 0%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--seat) 34%, transparent), color-mix(in srgb, var(--seat) 12%, transparent));
  border-left: 3px solid var(--seat);
  pointer-events: none;
}
.participant-bar > * { position: relative; z-index: 1; min-width: 0; }
.participant-bar .participant-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.participant-bar .participant-share {
  min-width: 58px;
  text-align: right;
  font-weight: 700;
  color: var(--hot);
}
.participant-bar.is-me { border-color: rgba(255, 122, 0, 0.45); }

.howto { margin-top: 18px; }
.howto-title {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.howto-grid {
  display: grid;
  gap: 8px;
}
@media (min-width: 820px) {
  .howto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.howto-item {
  border: 1px solid rgba(236, 238, 242, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.018);
}
.howto-item summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
  color: var(--hot);
  list-style: none;
}
.howto-item summary::-webkit-details-marker { display: none; }
.howto-item summary::before {
  content: "+";
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(216, 189, 122, 0.12);
  color: var(--hot);
  font-weight: 700;
}
.howto-item[open] summary::before { content: "\2212"; }
.howto-item p { margin: 0; padding: 0 12px 12px; font-size: 13px; }

.picker { margin-top: 12px; }
.jackpot-picker-panel {
  border: 1px solid rgba(216, 189, 122, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(5, 7, 10, 0.34);
}
.picker-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.picker-head h3 {
  margin: 2px 0 0;
}
.picker-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(216, 189, 122, 0.07);
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  max-height: 52dvh;
  overflow-y: auto;
}
@media (min-width: 560px) { .pick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 820px) { .pick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .pick-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.pick-tile {
  width: 100%;
  max-width: none;
  padding: 22px 8px 13px;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  text-align: center;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pick-grid > .pick-tile {
  content-visibility: auto;
  contain-intrinsic-size: auto 152px;
}

.pick-check {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.pick-tile:hover { border-color: rgba(216, 189, 122, 0.36); box-shadow: none; }
.pick-tile.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset, 0 0 18px rgba(255, 122, 0, 0.22);
}
.pick-mark {
  position: absolute;
  top: 6px;
  left: 8px;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(216, 189, 122, 0.4);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 3px rgba(5, 7, 10, 0.96);
}
.pick-tile.is-selected .pick-mark { background: var(--accent); }
.pick-price {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
}
.pick-price .coin-amount { font-size: 11px; }
.picker-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
pre {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  overflow-x: auto;
  font-size: 12px;
}

@keyframes wallet-pulse {
  0% { box-shadow: inset 3px 0 0 rgba(185, 120, 75, 0.62), 0 0 0 rgba(216, 189, 122, 0); }
  45% { box-shadow: inset 3px 0 0 rgba(185, 120, 75, 0.62), 0 0 22px rgba(216, 189, 122, 0.2); }
  100% { box-shadow: inset 3px 0 0 rgba(185, 120, 75, 0.62), 0 0 0 rgba(216, 189, 122, 0); }
}

@keyframes win-reveal {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.inventory-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.inventory-count {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  padding-left: 0;
}

.inventory-toolbar > * {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 13px;
}

.inventory-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 8px 0 12px;
}
.inventory-filters input[type="search"],
.inventory-filters select {
  width: 100%;
  max-width: none;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  box-shadow: none;
}
.inventory-filters select::after { content: none; }
.inventory-filters-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.inventory-filters-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  font-size: 13px;
  color: var(--muted);
}
.inventory-filters-note:empty { display: none; }
.inventory-filters-note .filter-pill { min-height: 30px; padding: 2px 12px; }
@media (min-width: 720px) {
  .inventory-filters { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
  .inventory-filters-note { grid-column: 1 / -1; }
}

.filter-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  box-shadow: none;
  overflow: visible;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.filter-pill::after { content: none; }

.filter-pill:hover {
  color: var(--text);
  border-color: rgba(255, 69, 0, 0.34);
}

.filter-pill.is-active {
  color: var(--text);
  border-color: rgba(255, 69, 0, 0.5);
  background: rgba(255, 69, 0, 0.14);
}

.market-quotes {
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.autosell-note {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.autosell-note.is-urgent {
  color: var(--danger);
}

p.autosell-note {
  margin: 6px 0 0;
}

.trade-url-form {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.trade-url-form input {
  width: 100%;
}

.trade-url-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.trade-url-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.trade-url-status {
  font-size: 13px;
}

.trade-url-status.ok {
  color: var(--ok, #6bd08a);
}

.trade-url-saved {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.progress-note {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.inflight-panel {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.inflight-head {
  font-weight: 700;
}

.inflight-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inflight-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
}

.inflight-row.is-review {
  border-color: rgba(255, 122, 68, 0.45);
}

.inflight-kind {
  font-weight: 700;
}

.inflight-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.inflight-note {
  flex-basis: 100%;
  font-size: 12px;
}

.site-footer-support-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  max-width: 560px;
}

.site-footer-support-actions .button,
.site-footer-support-actions button {
  min-width: 0;
  min-height: 44px;
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 560px) {
  .site-footer-support-actions { grid-template-columns: minmax(0, 1fr); }
}

.site-check-list,
.support-guide-grid {
  display: grid;
  gap: 10px;
}

.site-check-list {
  margin: 0;
}

.site-check-list {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.profile-tariff-link {
  margin: 10px 0;
}

.profile-tariff-link a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.profile-tariff-link a:hover {
  text-decoration: underline;
}

.support-modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 11, 14, 0.72);
  z-index: 90;
  padding: 16px;
}

.support-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;

  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}

.support-modal::after { content: none; }

.support-modal h3 {
  margin: 0;
  padding-right: 34px;
}

.support-modal p {
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  box-shadow: none;
}

.modal-close::after { content: none; }
.modal-close:hover { color: var(--text); border-color: var(--accent); }

.support-guidelines,
.faq-quick {
  margin-bottom: 14px;
}

.support-guide-grid {
  grid-template-columns: 1fr;
}

.support-guide-grid p {
  margin: 4px 0 0;
}

.fair-seed-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 18px;
}

.fair-panel-head {
  display: grid;
  gap: 12px;
  align-items: center;
}

.fair-panel-head h2 {
  margin: 0;
}

.fair-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fair-tab {
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(236, 238, 242, 0.08);
  box-shadow: none;
}

.fair-tab::after {
  content: none;
}

.fair-tab.is-active {
  color: #08090c;
  background: var(--muted);
  border-color: rgba(236, 238, 242, 0.22);
}

.fair-tab:disabled {
  opacity: 0.55;
}

.fair-seed-table {
  display: grid;
  gap: 8px;
}

.fair-seed-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 18px;
  min-height: 58px;
  border-radius: 8px;
  background: rgba(10, 12, 18, 0.54);
  overflow: hidden;
}

.fair-seed-row.is-client {
  box-shadow: inset 4px 0 0 rgba(255, 122, 0, 0.58);
}

.fair-seed-label {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  color: var(--accent);
  background: rgba(216, 122, 33, 0.16);
  font-weight: 700;
  text-transform: uppercase;
}

.fair-seed-value {
  min-width: 0;
  padding: 12px 14px 12px 0;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.fair-seed-row-wide .fair-seed-value {
  grid-column: 2 / -1;
}

.fair-seed-muted {
  color: var(--muted);
  font-family: inherit;
}

.fair-seed-action {
  justify-self: end;
  min-height: 38px;
  margin-right: 14px;
  white-space: nowrap;
}

.legal-tariff-table {
  overflow-x: auto;
}

.legal-tariff-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  margin: 10px 0;
}

.legal-tariff-table th,
.legal-tariff-table td {
  padding: 10px;
  border: 1px solid rgba(236, 238, 242, 0.08);
  text-align: left;
  vertical-align: top;
}

.legal-tariff-table th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

@media (min-width: 760px) {
  .support-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.support-modal textarea,
.support-modal input {
  width: 100%;
  resize: vertical;
}

.support-modal textarea { min-height: 104px; }

.support-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.support-modal-actions a,
.support-modal-actions button {
  min-width: 0;
  max-width: none;
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
}

.info-page {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 14px 12px 24px;
}

.info-head {
  margin-bottom: 14px;
}

.info-head h1 {
  margin: 0 0 6px;
  font-size: clamp(30px, 7vw, 58px);
  line-height: 0.95;
}

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

.faq-section {
  min-width: 0;
}

.faq-section h2 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item,
.auth-required-panel,
.fair-panel {
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  border-radius: 8px;
  background: rgba(20, 23, 31, 0.86);
}

.faq-item summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
}

.faq-item[open] summary::after { content: "-"; }

.faq-item p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.support-page-form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

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

.support-page-form input:not([type="checkbox"]):not([type="radio"]),
.support-page-form select,
.support-page-form textarea {
  width: 100%;
}

.support-file-note {
  margin: -4px 0 0;
  font-size: 12px;
}

.support-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.support-consent input {
  margin-top: 1px;
}

.auth-required-panel {
  max-width: 540px;
  margin: 0 auto;
  padding: 18px;
}

.auth-required-panel h2,
.fair-panel h2 {
  margin: 0 0 8px;
}

.fair-panel {
  padding: 18px;
}

.fair-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.fair-steps,
.fair-checks {
  margin: 10px 0 16px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.45;
}

.fair-link a {
  color: var(--accent);
  font-weight: 700;
}

.history-section { margin-top: 18px; }

.history-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }

.history-toolbar,
.booster-stakes-sort {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.sort-price {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sort-price::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0.55;
}
.sort-price[data-sort="value_asc"]::before { transform: rotate(-135deg) translate(-2px, -2px); }
.sort-price[data-sort="newest"]::before { opacity: 0.35; }

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.history-table th,
.history-table td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  white-space: nowrap;
}

.history-table th { color: var(--muted-text, #9aa0ab); font-weight: 500; }

@media (max-width: 640px) {
  .history-table { display: block; overflow-x: auto; }
}

.history-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
}

.history-page-size { display: flex; align-items: center; gap: 8px; }

.history-page-size select {
  min-height: 36px;
  width: auto;
  padding: 4px 30px 4px 10px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.04);
  background-position: right 8px center;
}

.history-page-nav { display: flex; align-items: center; gap: 10px; }

.history-page-nav .filter-pill[disabled] { opacity: 0.4; cursor: default; }

.history-win { color: #8fbf8f; }
.history-loss { color: #d97b7b; }

.steam-privacy-note {
  margin-top: 10px;
}

.steam-privacy-note summary {
  cursor: pointer;
  font-size: 13px;
}

.steam-privacy-note p {
  margin: 8px 0 0;
  font-size: 13px;
}

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

@media (min-width: 560px) { .inventory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 820px) { .inventory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .inventory-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.inventory-tile {
  grid-template-rows: auto auto auto auto auto auto;
  align-content: start;
  gap: 3px;
  padding: 10px 8px 12px;
  cursor: default;
}

.inventory-tile .drop-name { margin-bottom: 2px; }

.inventory-value {
  margin-top: 4px;
  font-weight: 700;
  font-size: 14px;
}

.inventory-tile .autosell-note {
  font-size: 11px;
  line-height: 1.3;
}

.inventory-tile .sell-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.asset-actions {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}

.asset-action,
.asset-action:hover {
  flex: 0 1 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: auto;
  min-width: 60px;
  max-width: none;
  min-height: 44px;
  margin: 0;
  padding: 2px 4px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: var(--text);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.asset-action::after { content: none; }

.asset-action:hover { filter: brightness(1.12); }
.asset-action:active { transform: scale(0.96); }
.asset-action[disabled] { opacity: 0.5; cursor: default; }

.asset-action:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.asset-action-icon {
  width: 56px;
  height: 56px;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.asset-action:hover .asset-action-icon {
  border-color: rgba(255, 122, 0, 0.52);
  box-shadow: 0 0 14px rgba(255, 90, 0, 0.32);
}

.asset-action[aria-pressed="true"] .asset-action-icon {
  border-color: rgba(255, 122, 0, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.22) inset;
}

.asset-action-label { white-space: nowrap; }

.inventory-tile .asset-action-icon {
  width: 52px;
  height: 52px;
}

.sell-done {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.inventory-state {
  position: absolute;
  top: 6px;
  left: 8px;
  z-index: 1;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1;
  color: var(--muted-2);
  pointer-events: none;
}

.inventory-tile.is-sold {
  opacity: 0.62;
}

.inventory-tile.is-locked .drop-art {
  opacity: 0.7;
}

.sell-all-button {
  min-height: 34px;
  margin-left: 6px;
  padding: 4px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}

.sell-all-toast {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 60;
  max-width: min(92vw, 420px);
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 760px) {
  .jackpot-card,
  .jackpot-focus,
  .jackpot-metrics {
    grid-template-columns: 1fr;
  }
  .jackpot-card-bank,
  .jackpot-bank {
    justify-items: start;
  }
  .case-detail-head {
    display: grid;
  }
  .price-badge {
    justify-self: center;
  }
}

@media (max-width: 430px) {
  .topbar {
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .brand {
    width: 80px;
    min-width: 80px;
    font-size: 20px;
    position: relative;
    z-index: 40;
  }
  .brand img { width: 80px; }
  .topbar-left { gap: 6px; }
  .top-social { max-width: min(118px, 31vw); }
  .social-icon {
    width: 28px;
    height: 28px;
  }
  .social-icon svg {
    width: 15px;
    height: 15px;
  }
  .topbar-actions {
    position: relative;
    z-index: 40;
  }
  .balance-chip {
    gap: 6px;
    padding: 7px 8px;
  }
  .topbar-actions {
    gap: 6px;
  }
  .language-toggle {
    min-width: 38px;
    padding: 7px;
  }
  .language-code {
    display: none;
  }
  .sound-popover {
    width: 168px;
    right: -4px;
  }
  .wallet-label,
  .topbar-account .wallet-user {
    display: none;
  }
  .wallet-amount {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .metric {
    padding: 10px;
  }
}

.totp-qr {
  width: 180px;
  max-width: 100%;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
}

.price-card { padding: 10px 12px; }
.price-card[class*="rarity-"] {
  box-shadow: inset 3px 0 0 var(--rarity), 0 14px 36px rgba(0, 0, 0, 0.28);
  background:
    radial-gradient(circle at 0% 0%, var(--rarity-tint), transparent 42%),
    linear-gradient(180deg, rgba(28, 23, 18, 0.97), rgba(11, 10, 9, 0.97));
}
.price-card::after { content: none; }
.price-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; min-width: 0; }
.price-head img { flex: 0 0 auto; }
.price-head > div { min-width: 0; overflow-wrap: anywhere; }

.price-line {
  display: grid;
  grid-template-columns: 112px minmax(84px, 0.9fr) minmax(84px, 0.9fr) minmax(72px, 0.7fr) minmax(150px, 1.2fr);
  align-items: baseline;
  gap: 4px 14px;
  padding: 5px 0;
  font-size: 13px;
  border-top: 1px solid rgba(238, 240, 244, 0.08);
}
.price-provider { font-weight: 600; }

.price-line--head {
  border-top: none;
  padding-bottom: 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted-2);
}

.price-market,
.price-ez,
.price-lots {
  text-align: right;
}

.price-ez .coin-amount {
  justify-content: flex-end;
}

.price-when {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  text-align: right;
}

.price-when.is-stale { color: var(--muted); }

.stale-badge {
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--danger) 55%, transparent);
  background: color-mix(in srgb, var(--danger) 14%, transparent);
  color: var(--danger);
  font-size: 11px;
  white-space: nowrap;
  cursor: help;
}

.price-item-name { font-weight: 600; }

.price-rarity {
  margin-left: auto;
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 720px) {

  .price-line {
    grid-template-columns: 1fr auto auto;
    gap: 2px 10px;
  }
  .price-line--head { display: none; }
  .price-lots { grid-column: 1; text-align: left; }
  .price-when { grid-column: 2 / -1; }
}

.price-line--missing { opacity: 0.6; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 3, 3, 0.82);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.consent-panel { max-width: 440px; margin: 0; }
.consent-panel h3 { margin-top: 0; color: var(--accent); }

.app-update-banner {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 50;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: min(560px, calc(100vw - 24px));
  padding: 10px 14px;
  border: 1px solid rgba(216, 189, 122, 0.28);
  border-radius: 12px;
  background: rgba(21, 19, 16, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.app-update-text { margin: 0; font-size: 14px; }
.app-update-banner .button { padding: 6px 12px; font-size: 13px; }

body.has-app-update .scroll-top { bottom: calc(76px + env(safe-area-inset-bottom)); }

@media (max-width: 759px) {
  .app-update-banner {
    bottom: calc(84px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 20px);
  }
  body.has-app-update .scroll-top { bottom: calc(150px + env(safe-area-inset-bottom)); }
}

.page-shell {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;

  overflow-x: clip;
}

.page-shell.with-rail {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 0 12px;
  align-items: start;
}

.page-shell.with-rail > .view {
  grid-column: 2;
}

.site-strip {
  width: 100%;
  padding: 18px 0 0 16px;
}

.page-shell.with-rail .site-strip {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 66px;
  max-height: calc(100vh - 78px);
  overflow-y: auto;
  scrollbar-width: thin;
}

@media (max-width: 1100px) {
  .page-shell.with-rail {
    display: flex;
    flex-direction: column;
  }

  .page-shell.with-rail .site-strip {
    order: 2;
    position: static;
    max-height: none;
    padding: 0 16px 16px;
  }
}

.side-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-rail-meta {
  display: grid;
  gap: 8px;
}

.site-feed {
  min-width: 0;
  border: 1px solid rgba(255, 122, 0, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.08), transparent 42%),
    rgba(16, 14, 12, 0.82);
  padding: 10px;
  box-shadow: inset 3px 0 0 rgba(255, 106, 0, 0.42), 0 12px 24px rgba(0, 0, 0, 0.22);
}
.site-showcase-main {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 4px 0;
}
.site-feed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.site-feed-head b {
  font-size: 14px;
  color: var(--text);
}
.site-feed-list {
  display: grid;
  gap: 6px;
}
.site-feed-row {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 7px 0 7px 8px;
  border-left: 3px solid transparent;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent);
  border-radius: 6px;
}
.site-feed-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.site-feed-copy b,
.site-feed-copy span,
.site-feed-copy small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-feed-copy b {
  color: var(--text);
  font-size: 13px;
}
.site-feed-copy span {
  color: var(--muted);
  font-size: 13px;
}
.site-feed-copy small {
  color: var(--muted-2);
  font-size: 11px;
}
.site-feed-empty { margin: 0; font-size: 13px; }
.site-feed-row .price {
  white-space: nowrap;
  font-size: 12px;
}
.site-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.site-stat {
  min-width: 0;
  display: grid;
  gap: 2px;
  align-content: start;
  padding: 9px 10px;
  border: 1px solid rgba(255, 122, 0, 0.18);
  border-radius: 9px;
  background:
    linear-gradient(140deg, rgba(255, 122, 0, 0.08), transparent 48%),
    rgba(8, 8, 7, 0.58);
}
.site-stats b {
  min-width: 0;
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-stats small {
  min-width: 0;
  color: var(--muted);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.site-rail-stats {
  grid-template-columns: minmax(0, 1fr);
}
.site-rail-stats .site-stat {
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: baseline;
}
.site-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-footer {
  width: 100%;
  margin-top: 22px;
  padding: 15px 16px calc(15px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 122, 0, 0.22);
  background:
    linear-gradient(180deg, rgba(34, 24, 14, 0.86), rgba(7, 7, 6, 0.96)),
    rgba(10, 9, 8, 0.86);
}
.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.8fr) minmax(230px, 0.7fr);
  gap: 18px 32px;
  align-items: start;
}
.site-footer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 122, 0, 0.42), transparent);
}
.site-footer-legal p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
.site-footer-legal p + p { margin-top: 5px; }
.site-footer-note { color: var(--muted-2); }
.site-footer-doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 8px 0 10px;
}
.site-footer-doc-links a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer-doc-links a:hover { color: var(--text); }

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 16px 24px;
}
.legal-page h2 { margin: 0 0 6px; }
.legal-version { margin: 0 0 12px; font-size: 12px; }
.legal-section { margin: 0 0 14px; }
.legal-section h3 { margin: 0 0 4px; font-size: 15px; }
.legal-section p { margin: 0; font-size: 13px; line-height: 1.45; }
.legal-links { margin-top: 18px; }
.legal-links a {
  display: inline-block;
  margin: 2px 14px 2px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-links a:hover { color: var(--text); }
.site-build-info {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin: 0 !important;
  color: rgba(155, 163, 175, 0.16) !important;
  font: 9px/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

.site-footer-company {
  grid-column: 1 / -1;
  margin: 0 !important;
  padding-top: 12px;
  border-top: 1px solid rgba(238, 240, 244, 0.07);
  color: var(--muted-2) !important;
  font-size: 11px !important;
  line-height: 1.45;
  text-transform: uppercase;
}
.site-build-info span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.site-build-info:hover {
  color: rgba(155, 163, 175, 0.34) !important;
}
.site-footer-side {
  min-width: 0;
  display: grid;
  gap: 16px;
}
.site-media-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 8px;
}
.site-media-link {
  min-width: 0;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 140ms ease, background-color 140ms ease;
  overflow-wrap: anywhere;
}
.site-media-link small {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
a.site-media-link small { color: var(--accent); }
a.site-media-link:hover {
  border-color: rgba(242, 184, 75, 0.55);
  background: rgba(255, 122, 0, 0.06);
}
.site-footer-stats { font-size: 12px; }
.site-footer-counters { min-width: 0; }

@media (max-width: 640px) {
  .site-showcase { grid-template-columns: minmax(0, 1fr); }
  .site-feed-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .site-feed-head b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-footer { margin-top: 18px; padding-top: 14px; }
  .site-footer-inner { grid-template-columns: minmax(0, 1fr); }
  .site-build-info { font-size: 9px !important; }
  .site-media-list { grid-template-columns: minmax(0, 1fr); }
  .price-line { grid-template-columns: minmax(0, 1fr) auto; }
  .fair-seed-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .fair-seed-row-wide .fair-seed-value {
    grid-column: auto;
  }
  .fair-seed-label {
    padding: 10px 12px;
  }
  .fair-seed-value {
    padding: 10px 12px;
  }
  .fair-seed-action {
    justify-self: start;
    margin: 0 12px 12px;
  }
  .picker-head { grid-template-columns: minmax(0, 1fr); }
  .picker-actions { justify-content: stretch; }
  .picker-actions button { width: 100%; }
}

.boot-loader {
  min-height: 55dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px 16px;
}
.boot-reel {
  position: relative;
  width: min(320px, 82vw);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}
.boot-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: boot-slide 1.15s linear infinite;
}
.boot-cell {
  flex: 0 0 44px;
  height: 34px;
  border-radius: 6px;
  opacity: 0.92;
}

@keyframes boot-slide {
  to { transform: translateX(-260px); }
}
.boot-cell-1 { background: linear-gradient(180deg, #4b69ff, #1e2b66); }
.boot-cell-2 { background: linear-gradient(180deg, #8847ff, #391c66); }
.boot-cell-3 { background: linear-gradient(180deg, #d32ce6, #571260); }
.boot-cell-4 { background: linear-gradient(180deg, #eb4b4b, #611f1f); }
.boot-cell-5 { background: linear-gradient(180deg, #ffd700, #6b5500); }
.boot-pin {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.9);
}
.boot-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  animation: boot-pulse 1.6s ease-in-out infinite;
}
.boot-sub {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
@keyframes boot-pulse {
  50% { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .boot-track,
  .boot-title { animation: none; }
}

.skeleton-tile {
  display: block;
  min-height: 150px;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  border: 1px solid var(--tile-line, rgba(255, 255, 255, 0.06));
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0) 70%)
    var(--panel-2, #14131a);
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.3s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-tile { animation: none; }
}

:root {
  --bg: #0e0d0b;
  --bg-2: #11100e;
  --panel: #161412;
  --panel-2: #1c1916;
  --panel-3: #29231d;

  --panel-gray: #191c23;
  --panel-gray-line: #2b3038;
  --line: rgba(255, 255, 255, 0.075);
  --text: #e6e8ec;
  --muted: rgba(230, 232, 236, 0.58);
  --muted-2: rgba(230, 232, 236, 0.34);
  --accent: #ff4500;
  --accent-2: #ff7a44;
  --accent-dark: #9d2600;
  --hot: #ffc850;
  --value: #ff5500;
  --neon: linear-gradient(135deg, #fff4df 0%, #ffb21a 24%, #ff4500 64%, #751a00 100%);

  --font: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-top: max(env(safe-area-inset-top), var(--tg-inset-top, 0px));

  --topbar-bg: #0b0a09;

  --tile-line: #1a1816;
  --risk-color: #3ecf6a;
  --risk-fill: 30%;
}

body {
  background:
    linear-gradient(180deg, #0e0d0b 0%, #12100e 42%, #090807 100%),
    #0e0d0b;
  font-family: var(--font);
}

body::before {
  content: none;
}

.price,
.wallet-amount,
.coin-amount .price,
.ticker-item b,
.rail-online b,
.site-stats b {
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.price,
.wallet-amount,
.site-stats b {
  color: var(--value);
}

.coin-amount {
  position: relative;
}

.coin-mark {
  width: 16px;
  height: 16px;
  background: url("/static/img/brand/ez-token-small.webp?h=055ec955") center / cover no-repeat;
  border: 0;
  box-shadow: 0 0 10px rgba(255, 69, 0, 0.32);
}

.coin-mark::before {
  content: none;
}

.risk-low { --risk-color: #3ecf6a; --risk-fill: 30%; }
.risk-middle { --risk-color: #f5c623; --risk-fill: 60%; }
.risk-high { --risk-color: #eb4b4b; --risk-fill: 100%; }

.risk-unknown { --risk-color: rgba(230, 232, 236, 0.34); --risk-fill: 12%; }

.topbar {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding: var(--safe-top) 0 0;
  background: var(--topbar-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

.brand {
  flex: 0 0 auto;
  width: 104px;
  min-width: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: transparent;
  border-right: 0;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(255, 69, 0, 0.22));
}

.topbar-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar-row {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.topbar-row-nav {
  min-height: 56px;
  justify-content: flex-end;
}

.topbar-row-meta {
  min-height: 32px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: transparent;
  border-top: 0;
}

.top-ticker {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.top-ticker::-webkit-scrollbar { display: none; }

.ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  flex: 0 0 auto;
}

.ticker-item b {
  color: #e8a030;
  font-size: 12px;
  font-weight: 600;
}

.ticker-item small {
  color: #6b6358;
  font-size: 11px;
}

.ticker-item + .ticker-item::before {
  content: "·";
  color: rgba(255, 255, 255, 0.12);
  margin-right: 8px;
}

.top-social {
  display: none;
  flex: 0 0 auto;
  gap: 2px;
  margin: 0;
  min-width: 0;
  order: 0;
}

.social-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #5a5048;
  border: 0;
  background: transparent;
}

.social-icon svg { width: 16px; height: 16px; fill: currentColor; }

.social-icon:hover {
  color: var(--accent);
  background: rgba(255, 69, 0, 0.1);
}

.topbar-actions {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 2px;
  margin-left: auto;
  padding: 0 8px 0 0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.topbar-actions .language-control,
.topbar-actions .sound-control,
.topbar-actions .notif-control {
  align-items: stretch;
}

.topbar-actions .language-toggle {
  height: 100%;

  max-width: none;
  border-radius: 12px;
}

.topbar-actions .auth-area {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.language-toggle,
.balance-chip {
  min-height: 40px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: rgba(230, 232, 236, 0.6);
  transition: background-color .15s ease, color .15s ease;
}

.language-toggle:hover,
.balance-chip:hover {
  color: var(--accent);
  background: rgba(255, 69, 0, 0.1);
  border-color: transparent;
  box-shadow: none;
}

.balance-chip.wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  max-width: 100%;
  text-decoration: none;
}

.balance-chip.wallet-chip:hover .wallet-amount { color: var(--value); }

.wallet-label {
  display: none;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  min-height: 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 8px;
}
.admin-chip:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }

.topup-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;

  padding: 0 2px;
  text-decoration: none;
  background: transparent;
  box-shadow: none;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.topup-chip:hover {
  background: transparent;
  box-shadow: none;
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(255, 90, 0, 0.55));
}

.topup-chip:active { transform: scale(0.95); }

.topup-chip .topup-icon {
  display: block;
  width: 42px;
  height: 38px;
  object-fit: contain;
}

.topbar-account {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  margin-left: 8px;
  padding-left: 10px;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar-account .avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: var(--panel-2);
  border: 2px solid rgba(255, 69, 0, 0.5);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.topbar-account:hover .wallet-user {
  color: var(--text);
}

.topbar-account:hover .avatar {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(255, 69, 0, 0.35);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  vertical-align: middle;
}

.rank-badge-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rank-badge-lg { width: 32px; height: 32px; }

.account-rank-body {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.account-rank-body .rank-progress { flex: 1 1 auto; margin-top: 0; }

.rank-badge-large {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.rank-help-numeral { margin-left: 4px; font-weight: 400; }

.rank-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.rank-help-link {
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  background-image: none;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.rank-help-link:hover { color: var(--text); }

.rank-help {
  max-width: 480px;

  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}

.rank-help h4 {
  margin: 16px 0 6px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rank-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.rank-help-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 8px;
}

.rank-help-row.is-current {
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.rank-help-label { flex: 1 1 auto; }

.rank-help-rules {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}

.rank-progress { margin-top: 8px; max-width: 260px; }

.rank-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.rank-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--hot));
}

.rank-caption { margin: 5px 0 0; font-size: 12px; }

.wallet-amount {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--value);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.wallet-amount .coin-amount {
  flex-direction: row-reverse;
  gap: 5px;
}

.wallet-amount .coin-mark {
  width: 20px;
  height: 20px;
}

.wallet-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 160px;
  color: rgba(230, 232, 236, 0.85);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: color .15s ease;
}

.wallet-user-name {
  min-width: 0;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-chip {
  align-self: center;
  min-height: 38px;
  margin-left: 6px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

.login-chip:hover {
  background: #e03d00;
  box-shadow: none;
}

.tabs a {
  color: rgba(230, 232, 236, 0.56);
  font-weight: 500;
}

.tabs a { --tab: var(--accent); }
.tabs a[data-tab="booster"] { --tab: #35c8ff; }
.tabs a[data-tab="giveaways"] { --tab: #ff4fb0; }
.tabs a[data-tab="underdog"] { --tab: #5b7cfa; }
.tabs a[data-tab="jackpots"] { --tab: #ffb020; }
.tabs a[data-tab="inventory"] { --tab: #b66dff; }
.tabs a[data-tab="prices"] { --tab: #2ee6a6; }
.tabs a[data-tab="bonuses"] { --tab: #a3e635; }

.tabs a:hover {
  color: var(--tab);
  background: color-mix(in srgb, var(--tab) 9%, transparent);
  border-radius: 12px;
}

.tabs a.active {
  color: var(--tab);
  background: color-mix(in srgb, var(--tab) 12%, transparent);
  border-color: transparent;
  border-radius: 12px;
  box-shadow: none;
}

.tabs a.active::after { content: none; }

.view {
  max-width: 1180px;
  padding-top: 14px;
}

.page-shell.with-rail {
  display: flex;
  flex-direction: column;
  max-width: none;
}

.page-shell.with-rail .site-strip {
  order: -1;
  position: static;
  max-height: none;
  padding: 10px 0 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.side-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.rail-online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

.rail-online::after {
  content: attr(aria-label);
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.rail-signal {
  width: 22px;
  height: 19px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 6px rgba(255, 69, 0, 0.8));
}

.rail-signal circle { fill: var(--accent); stroke: none; }
.rail-signal path:nth-of-type(1) { animation: signal-arc 1.6s ease-in-out infinite; }
.rail-signal path:nth-of-type(2) { opacity: 0.65; animation: signal-arc 1.6s ease-in-out infinite 0.25s; }
.rail-signal path:nth-of-type(3) { opacity: 0.35; animation: signal-arc 1.6s ease-in-out infinite 0.5s; }

@keyframes signal-arc {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.site-feed {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-feed-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  padding: 0 14px;
}

.site-feed-drops .site-feed-head { display: none; }

.site-feed-head b {
  color: rgba(230, 232, 236, 0.5);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 69, 0, 0.82);
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.site-feed-drops .site-feed-list {
  display: flex;
  gap: 8px;
  padding: 0 14px 4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.site-feed-drops .site-feed-list::-webkit-scrollbar { display: none; }

.site-feed-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  flex: 0 0 104px;
  width: 104px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;

  --feed-ground: linear-gradient(180deg, color-mix(in srgb, var(--rarity, #ff4500) 22%, #1c1916) 0%, #1a1715 100%);
  background: var(--feed-ground);
  overflow: hidden;
  scroll-snap-align: start;
  outline: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.site-feed-row {
  color: inherit;
  text-decoration: none;
}

.site-feed-row:hover,
.site-feed-row:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--rarity, #ff4500) 40%, transparent), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.site-feed-face {
  display: grid;
  grid-template-areas: "stack";
}

.site-feed-face > *,
.site-feed-flip > * { grid-area: stack; }

.site-feed-face .site-feed-copy,
.site-feed-flip .site-feed-copy {
  align-self: end;
  z-index: 1;

  background: none;
  padding: 0 6px 13px;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 8px rgba(0, 0, 0, 0.75),
    0 0 16px rgba(0, 0, 0, 0.5);
}

.site-feed-flip {
  position: absolute;
  inset: 0;

  display: grid;
  grid-template-areas: "stack";
  background: var(--feed-ground);

  z-index: 2;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.site-feed-row:hover .site-feed-flip,
.site-feed-row:focus-visible .site-feed-flip {
  opacity: 1;
  transform: none;
}

.site-feed-case-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding-bottom: 30px;
  overflow: visible;
}

.site-feed-case {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;

  padding: 6px 8px 2px;
  object-fit: contain;
  object-position: center;

  filter:
    drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 10px color-mix(in srgb, var(--rarity, #ff4500) 60%, transparent));

  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}

.site-feed-emblem {
  padding: 12px 14px 6px;
  -webkit-mask-image: none;
  mask-image: none;
}

.site-feed-case-name {
  color: #fff;
  font-weight: 700;
}

.site-feed-player {
  color: var(--accent-2);
}

.site-feed-art {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;

  overflow: visible;
}

.site-feed-art::before,
.site-feed-flip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  height: 70%;
  border-radius: 50%;
  transform: translate(-50%, -55%);
  background: var(--rarity, #ff4500);
  opacity: 0.42;
  filter: blur(10px);
}

.site-feed-art::after { content: none; }

.site-feed-row .mini {
  display: block;
  position: relative;
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6));
}

.site-feed-copy {
  display: grid;
  gap: 1px;
  justify-items: center;
  padding: 5px 6px 7px;
  text-align: center;
}

.site-feed-row .coin-amount {
  display: inline-flex;
  gap: 4px;
}

.site-feed-row .site-feed-copy .price {
  color: var(--value);
  font-size: 12px;
  font-weight: 700;
}

.site-feed-row .site-feed-copy span {
  max-width: 100%;
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-feed-reviews,
.side-rail-meta {
  display: none;
}

.site-feed-count {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 69, 0, 0.14);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
}

.site-feed-reviews .site-feed-empty {
  margin: 0;
  padding: 2px 2px 6px;
  font-size: 11px;
  line-height: 1.35;
}

.site-feed-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 2px;
}

.site-feed-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}

.site-feed-social-link:hover { background: rgba(255, 69, 0, 0.14); color: var(--accent-2); }
.site-feed-social-link svg { width: 16px; height: 16px; fill: currentColor; }

.site-rail-stats {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}

.site-rail-stats .site-stat {
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  padding: 7px 8px;
  border: 0;
  border-radius: 7px;
  background: #1c1916;
}

.site-rail-stats b { font-size: 12px; }
.site-rail-stats small { font-size: 10px; }

.panel,
.card {
  border-color: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: linear-gradient(135deg, #1c1916 0%, #181512 100%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.panel::after {
  content: none;
}

.card:hover,
.case-card.selected {
  border-color: rgba(255, 69, 0, 0.72);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.44), 0 0 22px rgba(255, 69, 0, 0.12);
}

.stage-head {
  min-height: 118px;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.case-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 22px;

  overflow: clip;
  padding-top: 8px;
}

.case-hero::before {
  content: "67";
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  color: transparent;
  background: linear-gradient(160deg, rgba(255, 184, 77, 0.08), rgba(200, 72, 0, 0.03));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(180px, 34vw, 360px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.case-announce,
.case-hero-panel {
  position: relative;
  z-index: 1;
}

.case-announce-banner {
  display: block;
  align-self: center;
  width: 100%;

  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: none;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.case-announce-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.case-announce-banner:hover,
.case-announce-banner:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .case-announce-banner { transition: none; }
  .case-announce-banner:hover,
  .case-announce-banner:focus-visible { transform: none; }
}

.case-announce-carousel {
  position: relative;
  align-self: center;
  min-width: 0;
  width: 100%;
}

.case-announce-track {
  position: relative;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 16px;
  -webkit-overflow-scrolling: touch;
}

.case-announce-track::-webkit-scrollbar { display: none; }

.case-announce-slide {
  display: flex;
  align-items: center;
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.case-announce-carousel .case-announce-banner:hover,
.case-announce-carousel .case-announce-banner:focus-visible {
  transform: none;
}

.case-announce-carousel .case-announce-banner:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.case-announce-arrow {
  position: absolute;
  top: 50%;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.55);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.15s ease, opacity 0.15s ease;
  z-index: 2;
}

.case-announce-arrow svg { display: block; margin: 0 auto; }
.case-announce-prev { left: 10px; }
.case-announce-next { right: 10px; }

.case-announce-arrow:hover,
.case-announce-arrow:focus-visible {
  background: rgba(255, 69, 0, 0.85);
}

@media (hover: hover) and (pointer: fine) {
  .case-announce-arrow { display: block; opacity: 0; }
  .case-announce-carousel:hover .case-announce-arrow,
  .case-announce-carousel:focus-within .case-announce-arrow { opacity: 1; }
}

.case-announce-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 2px;
  z-index: 2;
  pointer-events: none;
}

.case-announce-dot {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
}

.case-announce-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  transition: width 0.18s ease, background 0.18s ease;
}

.case-announce-dot[aria-current="true"]::before {
  width: 20px;
  border-radius: 4px;
  background: var(--accent, #ff4500);
}

.case-announce-dot:focus-visible::before {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .case-announce-arrow,
  .case-announce-dot::before { transition: none; }
}

.case-announce.panel {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin: 0;
  padding: 20px 18px 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  background:
    radial-gradient(circle at 85% 40%, rgba(255, 69, 0, 0.22) 0%, transparent 60%),
    linear-gradient(135deg, #1c1916 0%, #181512 100%);
  overflow: hidden;
}

.case-tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid rgba(255, 69, 0, 0.35);
  border-radius: 4px;
  background: rgba(255, 69, 0, 0.1);
  color: var(--accent);
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-announce h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.case-announce p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.case-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 12px;
}

.case-hero-facts span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.case-hero-facts b {
  color: var(--accent-2);
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
}

.case-hero-facts .price { font-size: 13px; }

button.case-hero-cta {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}

button.case-hero-cta:hover {
  background: #e03d00;
  box-shadow: 0 0 18px rgba(255, 69, 0, 0.3);
}

.case-hero-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.case-hero-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.case-hero-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
}

.case-hero-mini,
button.case-hero-mini {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  text-align: center;
  animation: float 4s ease-in-out infinite;
}

.case-hero-mini,
.case-hero-mini.risk-middle,
.case-hero-mini.risk-high { --risk-color: var(--case-accent, #3ecf6a); }

.case-hero-mini-1 { animation-delay: 0.5s; }

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

@media (prefers-reduced-motion: reduce) {
  .case-hero-mini, button.case-hero-mini { animation: none; }
}

.case-hero-mini:hover,
.case-hero-mini:focus-visible,
.case-hero-mini:active {
  background: transparent;
  box-shadow: none;
}

.case-hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: block;
}

.case-hero-art::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--case-accent, #8a6a4f) 42%, transparent) 0%, transparent 66%);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.case-hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.62)) drop-shadow(0 0 12px color-mix(in srgb, var(--case-accent, #8a6a4f) 14%, transparent));
  transition: transform 0.32s ease, filter 0.32s ease;
  will-change: transform;
}

.case-hero-mini:hover .case-hero-art::before,
.case-hero-mini:focus-visible .case-hero-art::before {
  opacity: 1;
  transform: scale(1.04);
}

.case-hero-mini:hover .case-hero-art img,
.case-hero-mini:focus-visible .case-hero-art img {
  transform: translateY(-4px) scale(1.08);
  filter:
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 26px color-mix(in srgb, var(--case-accent, #8a6a4f) 62%, transparent))
    contrast(1.06) saturate(1.08);
}

.case-hero-drop {
  position: absolute;

  right: 0;
  bottom: 4px;
  display: grid;
  gap: 1px;
  max-width: 96%;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--rarity, #ff4500) 40%, transparent);
  border-radius: 6px;
  background: rgba(22, 20, 18, 0.86);
  box-shadow: 0 0 10px color-mix(in srgb, var(--rarity, #ff4500) 20%, transparent);
  text-align: left;
  z-index: 2;
}

.case-hero-drop[hidden] { display: none; }

.case-hero-drop small {
  color: rgba(255, 255, 255, 0.32);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.case-hero-drop-name {
  color: var(--rarity, #ff4500);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-hero-drop-value .price { font-size: 10px; }

.case-hero-name {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-hero-mini:hover .case-hero-name,
.case-hero-mini:focus-visible .case-hero-name {
  color: color-mix(in srgb, var(--risk-color) 54%, #fff);
}

.case-hero-mini b { color: var(--value); }

.risk-bar {
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.risk-bar i {
  display: block;
  height: 100%;
  width: var(--risk-fill);
  border-radius: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--risk-color) 45%, transparent), var(--risk-color));
}

.price-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid color-mix(in srgb, var(--risk-color) 30%, transparent);
  border-radius: 20px;
  background: transparent;
  color: color-mix(in srgb, var(--risk-color) 70%, #fff);
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.price-pill .price { color: inherit; font-size: 12px; }
.price-pill .coin-amount { flex-direction: row-reverse; gap: 4px; }
.price-pill .coin-mark { width: 14px; height: 14px; box-shadow: none; }
.price-pill-cta { display: none; font-family: inherit; font-weight: 600; }

.case-card.selected .price-pill,
.case-card:hover .price-pill {
  background: color-mix(in srgb, var(--risk-color) 14%, transparent);
  border-color: var(--risk-color);
  color: var(--risk-color);
}

.case-card.selected .price-pill-price,
.case-card:hover .price-pill-price { display: none; }
.case-card.selected .price-pill-cta,
.case-card:hover .price-pill-cta { display: inline; }

.case-risk-board {
  display: grid;
  gap: 44px;
  padding-top: 2px;
  scroll-margin-top: calc(104px + var(--safe-top));
}

.case-risk-list { display: contents; }

.case-risk-row {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
}

.case-section-head {
  display: flex;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

h2.case-risk-label {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
}

.case-section-note {
  display: inline-block;
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 2px;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .case-risk-board { gap: 64px; }
  h2.case-risk-label { font-size: 26px; }
  .case-section-note { font-size: 12px; margin-left: 12px; }
}

.case-risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
}

.case-risk-grid .case-card,
.case-card {
  display: grid;
  grid-template-rows: auto auto;
  gap: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.case-risk-grid .case-card::before,
.case-card::before {
  content: none;
}

.case-card:hover,
.case-card.selected {
  border: 0;
  box-shadow: none;
  transform: translateY(-4px);
}

.case-risk-grid .case-art,
.case-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  background: transparent;
}

.case-art::before {
  content: none;
}

.case-risk-grid .case-card img,
.case-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  filter:
    drop-shadow(0 12px 14px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 22px color-mix(in srgb, var(--case-accent, #8a6a4f) 28%, transparent));
  transition: transform 0.3s, filter 0.3s;
}

.case-card:hover img,
.case-card.selected img {
  transform: scale(1.06);

  filter:
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.62))
    drop-shadow(0 8px 28px color-mix(in srgb, var(--case-accent, #8a6a4f) 37%, transparent))
    drop-shadow(0 0 48px color-mix(in srgb, var(--case-accent, #8a6a4f) 20%, transparent));
}

.case-risk-grid .case-meta,
.case-meta {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 2px 4px 6px;
  text-align: center;
}

.case-name {
  max-width: 100%;

  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.case-card:hover .case-name,
.case-card.selected .case-name { color: #fff; }

.case-risk-grid .case-foot,
.case-foot {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

#case-trending { margin-top: 26px; }

#case-trending:not([hidden]) + .case-risk-board { margin-top: 44px; }

@media (min-width: 900px) {
  #case-trending:not([hidden]) + .case-risk-board { margin-top: 64px; }
}

.case-trend-badge {
  position: absolute;
  left: 4px;
  top: 4px;
  z-index: 2;
  display: grid;
  gap: 1px;
  max-width: 92%;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(22, 20, 18, 0.82);
  text-align: left;
  pointer-events: none;
}

.case-trend-badge small {
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.case-trend-top_drop small { color: color-mix(in srgb, var(--accent) 75%, #fff); }
.case-trend-popular small { color: color-mix(in srgb, var(--hot) 75%, #fff); }
.case-trend-lucky small { color: #7fd98f; }

.case-trend-detail {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1.3;
}

.case-trend-detail b { color: #7fd98f; font-weight: 700; }
.case-trend-detail .coin-amount { display: inline-flex; vertical-align: -2px; }
.case-trend-detail .price { font-size: 10px; }
.case-trend-detail .coin-mark { width: 12px; height: 12px; box-shadow: none; }

.case-detail-head {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.case-detail-panel .spin-controls {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.case-detail-panel #open-case {
  min-height: 44px;
  padding: 0 24px;
  font-weight: 600;
}

@media (max-width: 759px) {

  .case-detail-panel #open-case { flex: 1 0 100%; }
}

.case-actions {
  justify-content: center;
}

.case-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.case-about-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: linear-gradient(135deg, #1a1812 0%, #16140e 100%);
}

.case-about-accent {
  border-color: rgba(255, 69, 0, 0.14);
  background:
    radial-gradient(ellipse at 85% 50%, rgba(255, 69, 0, 0.08) 0%, transparent 65%),
    linear-gradient(135deg, #1e1b14 0%, #191610 100%);
}

.case-about-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 88px;
  height: 88px;
  transform: translateY(-50%);
  fill: none;
  stroke: rgba(230, 232, 236, 0.16);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.case-about-accent .case-about-icon {
  stroke: rgba(255, 69, 0, 0.28);
  filter: drop-shadow(0 0 18px rgba(255, 69, 0, 0.3));
}

.case-about-card h3 {
  position: relative;
  max-width: 72%;
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.case-about-accent h3 { color: var(--accent); }

.case-about-card p,
.case-about-card ol {
  position: relative;
  max-width: 75%;
  margin: 0;
  color: rgba(230, 220, 190, 0.65);
  font-size: 14px;
  line-height: 1.6;
}

.case-about-card ol {
  display: grid;
  gap: 4px;
  padding-left: 18px;
}

.price-badge,
button,
.button {
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  box-shadow: none;
}

button:hover,
.button:hover {
  background: #e03d00;
  box-shadow: 0 0 18px rgba(255, 69, 0, 0.26);
}

.button-secondary,
button.button-secondary,
.filter-pill,
button.filter-pill,
.spin-mult-option,
button.spin-mult-option {
  background: rgba(255, 255, 255, 0.035);
  color: rgba(230, 232, 236, 0.78);
  border-color: rgba(255, 255, 255, 0.09);
}

.button-secondary:hover,
button.button-secondary:hover {
  background: rgba(255, 69, 0, 0.1);
  border-color: rgba(255, 69, 0, 0.35);
  color: var(--accent-2);
}

.filter-pill.is-active,
.spin-mult-option.active {
  color: var(--accent-2);
  border-color: rgba(255, 69, 0, 0.5);
  background: rgba(255, 69, 0, 0.12);
}

.button-danger,
button.button-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
  box-shadow: none;
}

button:disabled,
button.payment-option:disabled {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-color: rgba(236, 238, 242, 0.12);
  cursor: default;
  box-shadow: none;
}

.jackpot-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, auto);
  align-items: center;
  gap: 12px;
}

.jackpot-lobby {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.jackpot-card-bank { justify-items: end; }
.jackpot-focus { align-items: stretch; }

.jackpot-bank,
.metric,
.picker-summary,
.balance-card {
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(10, 9, 8, 0.42);
}

.countdown {
  color: var(--accent-2);
  text-shadow: 0 0 18px rgba(255, 69, 0, 0.36);
}

.profile-hero { overflow: hidden; }

.profile-hero::before {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -48px;
  width: 220px;
  height: 220px;
  background: url("/static/img/brand/ez-token.webp?h=19017f56") center / contain no-repeat;
  opacity: 0.11;
  pointer-events: none;
}

.auth-panel { margin-top: clamp(18px, 6vw, 56px); }

.auth-panel.panel,
.support-modal.panel { border-color: rgba(255, 69, 0, 0.18); }

.site-footer {
  margin-top: 24px;
  padding: 26px 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #0e0d0b;
}

.site-footer-inner {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.site-footer-mascot {
  justify-self: center;
  align-self: end;
  width: min(260px, 70vw);
  margin: 0 0 -18px;
  pointer-events: none;
  line-height: 0;
}

.site-footer-mascot img,
.site-footer-mascot video {
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

.site-footer-title {
  color: #6b6358;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-title::after { content: none; }

.site-footer-legal p {
  color: #5a5248;
  font-size: 12px;
  line-height: 1.6;
}

.site-footer-doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.site-footer-doc-links a {
  color: #8a7f72;
  font-size: 12px;
}

.site-footer-doc-links a:hover { color: #c8b89a; }

.site-footer-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.site-footer-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer-support-actions .button,
.site-footer-support-actions button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 69, 0, 0.22);
  border-radius: 8px;
  background: rgba(255, 69, 0, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}

.site-media-list { gap: 6px; }

.site-media-link {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
}

.site-media-link small { color: #5a5248; }

.site-footer-counters { display: none; }

.site-media-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-media-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  width: auto;
  padding: 5px 9px;
  font-size: 12px;
}

.site-media-link small { font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }

.site-media-placeholder { color: #8a7f72; }

.site-footer-company {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #5a5248;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
}

@media (max-width: 759px) {
  .topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    overflow: hidden;
  }

  .topbar-row-nav .tabs {

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
    background: #161412;
    border-top: 1px solid rgba(255, 69, 0, 0.22);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    z-index: 8;
  }

  .tabs a {
    min-height: 44px;
    min-width: 0;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.05;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tabs a.active::after { left: 22%; right: 22%; bottom: 5px; height: 2px; }

  .topbar-actions > .language-control,
  .topbar-actions > .sound-control {
    display: none;
  }

  .view {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .case-hero::before {
    top: 30%;
    right: -6%;
  }
}

@media (min-width: 760px) {
  .brand {
    width: 132px;
    min-width: 132px;
    padding: 8px 14px;
  }

  .topbar-row-nav {
    min-height: 64px;
    justify-content: space-between;
  }

  .topbar-row-meta { min-height: 36px; padding: 0 14px; }

  .tabs {
    position: static;
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs a {
    flex: 1 1 0;
    min-width: 96px;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 0;
    font-size: 15px;
  }

  .tabs a.active::after {
    left: 18px;
    right: 18px;
    bottom: 14px;
    height: 2px;
  }

  .top-social { display: flex; }

  .ticker-item b { font-size: 13px; }
  .ticker-item small { font-size: 12px; }

  .wallet-label { display: none; }

  .case-hero-cases { gap: 10px; }

  .case-risk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 16px;
  }

  .case-name { font-size: 14px; }

  .site-footer { padding: 30px 24px 20px; }

  .site-footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) minmax(0, 1fr);
    gap: 20px 24px;
    align-items: end;
    margin: 0 auto;
  }

  .site-footer-side { justify-items: stretch; text-align: right; }

  .site-footer-side .site-media-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-footer-side .site-media-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    width: auto;
    min-height: 38px;
    padding: 8px 12px;
    text-align: left;
  }

  .site-footer-side .site-footer-support-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
  }

  .site-footer-side .support-button-wide { grid-column: 1 / -1; }

  .site-footer-mascot {
    width: 100%;
    margin-bottom: -20px;
  }

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

@media (min-width: 1100px) {
  .brand {
    width: 156px;
    min-width: 156px;
  }

  .topbar-row-nav { min-height: 72px; }
  .tabs a { min-height: 72px; min-width: 112px; }
  .tabs a.active::after { bottom: 17px; }

  .page-shell.with-rail {
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    gap: 0 18px;
    align-items: start;
    max-width: none;
    margin: 0;
  }

  .page-shell.with-rail > .view {
    max-width: 1180px;
    margin: 0 auto;
  }

  .page-shell.with-rail > .view { grid-column: 2; }

  .page-shell.with-rail .site-strip {
    order: 0;
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: calc(108px + var(--safe-top));
    max-height: calc(100vh - 108px - var(--safe-top));
    padding: 10px 0 12px;
    background: #161412;
    border-right: 0;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .page-shell.with-rail .site-strip::-webkit-scrollbar { display: none; }

  .side-rail { gap: 10px; padding: 0 8px; }

  .rail-online {
    justify-content: center;
    padding: 6px 0 8px;
    font-size: 16px;
  }

  .rail-online::after { content: none; }

  .site-feed-head { padding: 0 2px; }

  .site-feed-drops .site-feed-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 0;
    overflow: visible;
  }

  .site-feed-row {
    width: auto;
    flex: none;
  }

  .site-feed-reviews { display: block; }

  .view { padding-top: 22px; }

  .case-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 32px;
  }

  .case-hero-panel { align-content: center; }

  .case-hero-cases {
    grid-template-columns: 1fr 0.9fr;
    align-items: end;
    gap: 8px;
  }

  .case-hero-name { font-size: 13px; }

  .case-announce.panel {
    padding: 28px 40px 28px 28px;
  }

  .case-announce h1 { font-size: 26px; }

  .case-risk-board { gap: 64px; }

  .case-risk-grid {
    gap: 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rail-signal path,
  .live-dot {
    animation: none;
  }
}

.notif-control {
  position: relative;
  display: flex;
  align-items: center;
}

.notif-toggle {
  position: relative;

  min-width: 0;
  padding-inline: 9px;
}

.notif-toggle.has-unread .notif-icon { color: var(--hot); }

.notif-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notif-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 600 10px/16px var(--font);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.notif-badge[hidden] { display: none; }

.notif-panel {
  position: fixed;
  top: var(--notif-top, 56px);
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  max-height: min(78dvh, calc(100dvh - var(--notif-top, 56px) - 76px));
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.notif-panel[hidden] { display: none; }

.notif-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
}

.notif-panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.notif-close::after,
.notif-push-toggle::after {
  content: none;
}

.notif-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}

.notif-close:hover { color: var(--text); }

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.notif-empty {
  margin: 0;
  padding: 18px 4px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.notif-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: var(--panel);
  padding: 12px 14px;
}

.notif-card.is-unread { border-color: rgba(255, 69, 0, 0.35); }

.notif-row {
  display: flex;
  gap: 10px;
}

.notif-col { min-width: 0; }

.notif-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.notif-date {
  font-size: 12px;
  color: var(--muted);
}

.notif-card-title {
  margin: 4px 0 6px;
  font-size: 15px;
  line-height: 1.25;
}

.notif-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(230, 232, 236, 0.86);
}

.notif-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.notif-until {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--hot);
}

.notif-cta {
  display: block;
  margin-top: 10px;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.notif-cta:hover { background: var(--accent-2); }

.notif-promo { border-left-color: var(--accent); }

.notif-bonus {
  border-left-color: var(--hot);
  background: linear-gradient(180deg, rgba(255, 200, 80, 0.09), var(--panel) 62%);
}

.notif-system { border-left-color: rgba(230, 232, 236, 0.3); }

.notif-personal { border-left-color: var(--success, #73d39a); }

.notif-warning {
  border-left-color: var(--danger, #eb4b4b);
  background: linear-gradient(180deg, rgba(235, 75, 75, 0.09), var(--panel) 62%);
}

.notif-push {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.notif-push[hidden] { display: none; }

.notif-push-label {
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--muted);
}

.notif-push-toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  width: 46px;
  height: 28px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.notif-push-toggle:hover { box-shadow: none; }

.notif-push-toggle.is-on,
.notif-push-toggle[aria-checked="true"] {
  background: var(--accent);
  border-color: var(--accent);
}

.notif-push-knob {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}

.notif-push-toggle.is-on .notif-push-knob,
.notif-push-toggle[aria-checked="true"] .notif-push-knob { transform: translateX(18px); }

.notif-push-hint {
  flex: 1 0 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.notif-push-hint[hidden] { display: none; }

@media (min-width: 760px) {
  .notif-panel {
    left: auto;
    right: 8px;
    width: 380px;
    max-height: min(70dvh, calc(100dvh - var(--notif-top, 56px) - 40px));
    border: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
  }

  .notif-close { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .notif-push-knob { transition: none; }
}

.picker-chance { display: inline-flex; gap: 6px; align-items: baseline; }
.picker-chance b { color: var(--accent-2); font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 15px; }
.picker-preview-note { margin: 6px 0 0; font-size: 12px; }

.picker-warnings {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 69, 0, 0.08);
  border: 1px solid rgba(255, 69, 0, 0.22);
}

.picker-ack {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.35;
}

.picker-ack input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.picker-warnings .note { margin: 0; font-size: 12px; }
.picker-actions button:disabled { opacity: 0.45; cursor: not-allowed; }

.profile-hero::before {
  right: -30px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  opacity: 0.08;
}

.balance-card {
  position: relative;
  z-index: 1;
  gap: 6px;
  padding: 16px 18px 16px 20px;
  border: 0;
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 30%, rgba(255, 69, 0, 0.24) 0%, transparent 58%),
    linear-gradient(135deg, #1c1916 0%, #171412 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.balance-kicker {
  color: var(--accent-2);
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.balance-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  margin: 2px 0 4px;
}

.balance-card strong .coin-mark {
  width: 22px;
  height: 22px;
  box-shadow: 0 0 16px rgba(255, 69, 0, 0.45);
}

.balance-card .coin-rate-hint {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-2);
}

.balance-card .profile-actions {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 6px;
}

.balance-card .profile-actions .button,
.balance-card .profile-actions button {
  min-height: 40px;
  padding-inline: 16px;
}

.booster-stage {
  display: grid;
  gap: 12px;
}

.booster-core {
  order: -1;
  display: grid;
  place-items: center;
  text-align: center;
}

.booster-controls {
  --booster-ctl-h: 48px;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.booster-actions {
  display: grid;
  place-items: center;
}

.booster-actions button {
  width: 100%;

  min-height: var(--booster-ctl-h);
}

.booster-balance-line,
.booster-notes {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.booster-added { order: 1; }
.booster-balance-line { order: 2; }
.booster-summary-slot { order: 3; }
.booster-notes { order: 4; }
.booster-actions { order: 5; }
.booster-fast-line { order: 6; }

.booster-fast-line {
  justify-self: center;
  font-size: 13px;
}

.booster-slot {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: 8px;
}

.booster-stage .panel {
  background: none;
  border-color: transparent;
  box-shadow: none;
}

.booster-slot-title,
.booster-column h2 {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.booster-column h2 {
  margin-bottom: 10px;
}

.booster-slot-body {
  display: grid;
  place-items: stretch;
  align-self: stretch;
  min-height: 116px;
}

.booster-slot-cta {
  width: 100%;
  min-height: 96px;
  padding: 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.booster-slot-cta::after {
  content: none;
}

.booster-slot-cta:hover {
  background: transparent;
  box-shadow: none;
  color: var(--text);
}

@keyframes booster-flash {
  from { box-shadow: 0 0 0 1px var(--accent) inset, 0 0 24px rgba(255, 69, 0, 0.28); }
  to { box-shadow: 0 0 0 1px transparent inset, 0 0 0 rgba(255, 69, 0, 0); }
}

.booster-column.is-flash {
  animation: booster-flash 1.4s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .booster-column.is-flash { animation: none; }
}

.booster-slot-body {
  position: relative;

  min-height: 300px;
  display: grid;
  align-content: end;
}

.booster-podium {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(300px, 100%);
  aspect-ratio: 640 / 436;
  transform: translateX(-50%);
  background: center / contain no-repeat;
  mix-blend-mode: screen;

  filter: brightness(0.72);
  pointer-events: none;
  animation: booster-halo-breathe 4.2s ease-in-out infinite;
}

.booster-slot-body[data-podium="empty"] .booster-podium {
  background-image: url("/static/img/booster/podium-off.webp?h=debb13ac");
}

.booster-slot-body[data-podium="green"] .booster-podium,
.booster-slot-body[data-podium="win"] .booster-podium {
  background-image: url("/static/img/booster/podium-win.webp?h=0b0daeac");
}

.booster-slot-body[data-podium="lose"] .booster-podium {
  background-image: url("/static/img/booster/podium-lose.webp?h=28ef2921");
}

.booster-slot-body[data-podium="win"] .booster-podium,
.booster-slot-body[data-podium="lose"] .booster-podium {
  animation: booster-podium-blink 900ms ease-in-out 4;
}

@keyframes booster-podium-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .booster-slot-body[data-podium="win"] .booster-podium,
  .booster-slot-body[data-podium="lose"] .booster-podium { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .booster-podium { animation: none; opacity: 0.9; }
}

.booster-slot-body .pick-tile {
  position: relative;
  z-index: 1;
  width: min(260px, 100%);
  justify-self: center;
  align-self: end;
  cursor: default;
  padding: 4px 4px 116px;
  border: 0;
  border-radius: 0;
  overflow: visible;

  background: none;
}

.booster-slot-body .drop-type { order: 1; }
.booster-slot-body .drop-name { order: 2; }
.booster-slot-body .drop-meta { order: 3; }
.booster-slot-body .drop-art { order: 4; }

.booster-slot-body .pick-tile::after {
  content: none;
}

.booster-slot-body .drop-art {
  height: auto;
  margin: 6px 0 0;
}

.booster-slot-body .drop-art img {
  max-height: none;
  width: 100%;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px var(--rarity-tint));
}

.booster-slot-body .drop-name {
  font-size: 15px;
}

.booster-slot-body .booster-slot-cta {
  position: relative;
  z-index: 1;
  margin-bottom: 116px;
}

.booster-slot-empty {
  margin: 0;
  font-size: 13px;
  text-align: center;
}

.booster-pickers {
  display: grid;
  gap: 12px;
}

.booster-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booster-filters input[type="search"] {
  flex: 1 1 160px;
  min-width: 0;
}

.booster-filters input[type="search"],
.booster-sort select {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
}

.booster-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.booster-filters-groups {
  display: grid;
  gap: 8px;
}

.booster-preset-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.booster-preset-row::-webkit-scrollbar { display: none; }

.booster-preset-row > * { flex: 0 0 auto; }

.booster-preset-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.booster-preset-field {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.booster-preset-field.is-active {
  border-color: var(--accent);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.booster-preset-field input {
  width: 56px;
  min-height: 30px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
}

.booster-preset-field input::-webkit-outer-spin-button,
.booster-preset-field input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.booster-preset-field input[type="number"] {
  appearance: textfield;
}

.booster-mult-field input { width: 46px; }

@media (max-width: 640px) {
  .booster-preset-row { gap: 4px; }
  .booster-preset { min-height: 34px; padding: 6px 9px; font-size: 12px; }
  .booster-preset-field { padding: 0 8px; font-size: 12px; }

  .booster-mult-field input { width: 34px; }
  .booster-mult-field input::placeholder { color: transparent; }
}

.booster-preset {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.booster-preset:hover {
  color: var(--text);
  border-color: rgba(216, 189, 122, 0.36);
}

.booster-preset.is-active {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(255, 69, 0, 0.14);
}

.booster-odds {
  display: block;
  margin-bottom: 2px;
  color: var(--accent-2);
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  line-height: 1.2;
}

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

@media (min-width: 560px) {
  .booster-column .pick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1240px) {
  .booster-column .pick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.booster-page .pick-tile:hover,
.booster-page .pick-tile:active {
  background:
    radial-gradient(circle at 50% 128%, var(--rarity-tint), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    #100e0c;
  box-shadow: none;
  transform: none;
}

.booster-slot-body .pick-tile:hover,
.booster-slot-body .pick-tile:active {
  background: none;
  box-shadow: none;
  transform: none;
}

.booster-page .pick-tile.is-selected {
  box-shadow: 0 0 0 1px var(--accent) inset, 0 0 18px rgba(255, 122, 0, 0.22);
}

#booster-go {
  white-space: nowrap;
  padding-left: 20px;
  padding-right: 20px;
}

.booster-balance {
  display: block;
  font-size: 12px;
}

.booster-gauge::before {
  content: "";
  position: absolute;
  inset: -7%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 62%, rgba(255, 122, 0, 0.08) 66%, transparent 70%),
    conic-gradient(
      from 210deg,
      #24211d 0deg, #14120f 40deg, #2b2721 90deg, #131110 150deg,
      #262218 210deg, #141210 270deg, #2a251d 320deg, #1a1714 360deg
    );
  box-shadow:
    inset 0 0 0 1px rgba(236, 238, 242, 0.06),
    inset 0 8px 22px rgba(0, 0, 0, 0.65),
    0 14px 36px rgba(0, 0, 0, 0.5);

  animation: booster-housing-sheen 14s linear infinite;
}

@keyframes booster-housing-sheen {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.booster-gauge::after {
  content: "";
  position: absolute;
  inset: 2%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #0a0908 0 58%, rgba(10, 9, 8, 0) 76%);
  box-shadow: inset 0 0 0 1px rgba(236, 238, 242, 0.05);
}

.booster-gauge {
  position: relative;
  width: min(232px, 66vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  --booster-ring-outer: 83.29%;
  --booster-ring-inner: 72.43%;
}

#booster-gauge-slot {
  width: 100%;
  display: grid;
  place-items: center;
}

.booster-core-framed {
  padding: 0;
  --frame-w: 1200;
  --frame-h: 1104;
  --frame-cx: 49.96%;
  --frame-cy: 48.54%;
  --frame-hole: 44.30%;
}

.booster-frame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--frame-w) / var(--frame-h);
  pointer-events: none;
}

.booster-core-framed #booster-gauge-slot {
  position: absolute;
  left: var(--frame-cx);
  top: var(--frame-cy);
  width: var(--frame-hole);
  transform: translate(-50%, -50%);
}

.booster-core-framed .booster-gauge {
  width: 92%;
}

.booster-core-framed .booster-gauge::before,
.booster-core-framed .booster-gauge::after {
  display: none;
}

.booster-halo {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: booster-halo-breathe 4.2s ease-in-out infinite;
  will-change: transform;
}

.booster-halo-win {
  -webkit-mask-image: conic-gradient(
    from var(--win-start, 0deg), #000 0deg var(--win-deg, 0deg),
    transparent var(--win-deg, 0deg) 360deg
  );
  mask-image: conic-gradient(
    from var(--win-start, 0deg), #000 0deg var(--win-deg, 0deg),
    transparent var(--win-deg, 0deg) 360deg
  );
}

.booster-halo-lose {
  -webkit-mask-image: conic-gradient(
    from var(--win-start, 0deg), transparent 0deg var(--win-deg, 0deg),
    #000 var(--win-deg, 0deg) 360deg
  );
  mask-image: conic-gradient(
    from var(--win-start, 0deg), transparent 0deg var(--win-deg, 0deg),
    #000 var(--win-deg, 0deg) 360deg
  );
}

@keyframes booster-halo-breathe {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.booster-gauge-decor {
  z-index: 1;
  filter: drop-shadow(0 0 6px rgba(248, 8, 0, 0.45));
}

.booster-gauge-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.booster-wheel {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform: rotate(0deg);
  will-change: transform;
}

.booster-ring-win {
  -webkit-mask-image: conic-gradient(
    from var(--win-start, 0deg), #000 0deg var(--win-deg, 0deg),
    transparent var(--win-deg, 0deg) 360deg
  );
  mask-image: conic-gradient(
    from var(--win-start, 0deg), #000 0deg var(--win-deg, 0deg),
    transparent var(--win-deg, 0deg) 360deg
  );
}

.booster-ring-mark {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 50%;
  margin-left: -1.5px;

  transform-origin: bottom center;
  transform: rotate(var(--win-start, 0deg));
  background: linear-gradient(
    180deg,
    transparent 0 16.71%,
    var(--booster-win) 16.71% 27.57%,
    transparent 27.57%
  );
  filter: drop-shadow(0 0 6px var(--booster-win));
}

.booster-gauge-flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background: no-repeat center / 100% 100%;
}

.booster-gauge-flash[data-outcome="win"] {
  background-image: url("/static/img/booster/flash-win.webp?h=829980c1");
}

.booster-gauge-flash[data-outcome="lose"] {
  background-image: url("/static/img/booster/flash-lose.webp?h=77d02465");
}

.booster-gauge-flash.is-on {
  animation: booster-flash-pop 560ms ease-out;
}

@keyframes booster-flash-pop {
  0% { opacity: 0; transform: scale(0.97); }
  25% { opacity: 1; transform: scale(1); }
  48% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .booster-gauge::before { animation: none; }
  .booster-wheel { transition: none !important; }
  .booster-gauge-flash.is-on { animation: none; opacity: 1; }

  .booster-halo { animation: none; opacity: 0.85; }
}

.booster-gauge-center {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.9);
}

.booster-chance {
  font-size: 21px;
  font-weight: 700;
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  color: var(--booster-win);
}

.booster-gauge-center .muted {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booster-added {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  font-size: 13px;
  color: var(--muted);
}

.booster-added input {
  min-height: var(--booster-ctl-h);
  padding: 8px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
}

.booster-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0;
}

.booster-summary div {
  display: grid;
  align-content: center;
  min-height: var(--booster-ctl-h);
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.booster-summary dt {
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
}

.booster-summary dd {
  margin: 1px 0 0;
  font-size: 14px;
  line-height: 1.2;
}

.booster-note {
  font-size: 12px;
  margin: 0;
}

#booster-targets-note:not(:empty) {
  margin: 0 0 8px;
}

.booster-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid rgba(227, 106, 106, 0.45);
  border-left-width: 3px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(227, 106, 106, 0.10), rgba(227, 106, 106, 0.04));
}

.booster-alert-sign {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--danger);
  color: #140a0a;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.booster-alert-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.booster-alert-text strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.booster-alert-text .muted {
  font-size: 13px;
}

.booster-lose h3 {
  margin: 0 0 6px;
}

@media (min-width: 900px) {
  .booster-stage {
    grid-template-columns: minmax(0, 1fr) clamp(320px, 25vw, 340px) minmax(0, 1fr);
    align-items: stretch;
  }

  .booster-core {
    order: 0;
  }

  .booster-page { gap: 12px; }
  .booster-page .panel { margin-bottom: 0; }
  .booster-page .booster-controls { margin-top: 0; padding: 12px; }
  .booster-added { flex-direction: row; align-items: center; }
  .booster-added input { width: 100px; min-width: 0; }
  .booster-page > #booster-error:empty,
  .booster-page > #booster-result:empty { display: none; }
  .booster-stage .booster-slot { padding: 8px; }
  .booster-slot-body { min-height: 260px; }
  .booster-slot-body .pick-tile { width: min(232px, 100%); padding-bottom: 80px; }
  .booster-slot-body .drop-art { height: 128px; }
  .booster-slot-body .drop-art img { height: 100%; max-height: 128px; object-fit: contain; }
  .booster-slot-body .booster-slot-cta { margin-bottom: 80px; }
  .booster-podium { width: min(260px, 100%); }

  .booster-controls {
    grid-template-columns: minmax(200px, 240px) 1fr minmax(160px, 200px);
    grid-template-rows: auto auto;
    align-items: end;
    gap: 6px 12px;
  }

  .booster-added { grid-area: 1 / 1; }
  .booster-summary-slot { grid-area: 1 / 2; }
  .booster-actions { grid-area: 1 / 3; }
  .booster-balance-line { grid-area: 2 / 1; }
  .booster-notes { grid-area: 2 / 2; }
  .booster-fast-line { grid-area: 2 / 3; }

  .booster-gauge {
    width: min(276px, 100%);
  }

  .booster-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .booster-pickers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .booster-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    align-items: center;
    gap: 8px;
    padding: 12px;
  }
  .booster-column h2 { margin: 0; }
  .booster-column .booster-filters { width: clamp(230px, 23vw, 320px); flex-wrap: nowrap; }
  .booster-sort select { max-width: 140px; }
  .booster-column .pick-grid,
  #booster-presets-slot,
  #booster-targets-note { grid-column: 1 / -1; }
  #booster-targets-note:empty { display: none; }
}

.giveaways-layout {
  display: grid;
  gap: 12px;
}

.giveaway-balance {
  margin: 6px 0 0;
  color: var(--hot);
  font-weight: 600;
}

.giveaway-list {
  display: grid;
  gap: 8px;
}

.giveaway-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  min-height: 44px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.giveaway-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.giveaway-card-title {
  font-weight: 600;
}

.giveaway-card-state,
.pill-open,
.pill-drawing,
.pill-settled,
.pill-cancelled,
.pill-draft {
  justify-self: start;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

.pill-open { color: var(--success); border-color: var(--success); }
.pill-drawing { color: var(--hot); border-color: var(--hot); }
.pill-settled { color: var(--accent); border-color: var(--accent); }
.pill-cancelled { color: var(--danger); border-color: var(--danger); }

.giveaway-detail-head {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.giveaway-detail-head h2 {
  margin: 0;
  font-size: 18px;
}

.giveaway-prizes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.giveaway-prize {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.giveaway-prize img {
  max-width: 96px;
  height: auto;
}

.giveaway-prize-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  min-width: 0;
}

.giveaway-prize-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.giveaway-prize-value {
  color: var(--hot);
}

.giveaway-prize-winner {
  color: var(--success);
}

.giveaway-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.giveaway-facts div {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.giveaway-facts dt {
  font-size: 12px;
  color: var(--muted);
}

.giveaway-facts dd {
  margin: 2px 0 0;
}

.giveaway-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 6px;
  max-height: 44dvh;
  overflow-y: auto;
}

.giveaway-slot {
  min-height: 44px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  overflow: hidden;
}

.giveaway-slot.chosen {
  border-color: var(--accent);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.giveaway-slot.taken {
  background: var(--panel-3);
  color: var(--muted-2);
  cursor: default;
}

.giveaway-slot.mine {
  border-color: var(--success);
  color: var(--success);
}

.giveaway-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.giveaway-proof {
  margin-top: 12px;
}

.giveaway-proof dl {
  display: grid;
  gap: 6px;
  margin: 8px 0;
}

.giveaway-proof dt {
  font-size: 12px;
  color: var(--muted);
}

.giveaway-proof dd {
  margin: 0;
  word-break: break-all;
}

.giveaway-proof .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.giveaway-how {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.giveaway-how summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}

@media (min-width: 900px) {
  .giveaways-layout {
    grid-template-columns: minmax(240px, 320px) 1fr;
    align-items: start;
  }

  .giveaway-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.battle-lobby {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.battle-lobby-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.battle-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.battle-counters {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
}

.battle-counter b {
  color: var(--text);
  font-size: 14px;
  margin-right: 4px;
}

.battle-list {
  display: grid;
  gap: 8px;
}

.battle-room {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  min-height: 44px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.battle-room::after { content: none; }

.battle-room:hover {
  border-color: var(--accent);
  background: var(--panel-2);
}

.battle-room-covers {
  display: flex;
  gap: 4px;
  align-items: center;
}

.battle-cover {
  position: relative;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  padding: 2px;
}

.battle-cover img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
}

.battle-cover-count {
  position: absolute;
  right: -4px;
  top: -6px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #10100e;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.battle-cover.more {
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
  font-size: 12px;
}

.battle-room-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: 12px;
}

.battle-room-players {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.battle-room-player {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-room-side {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.battle-room-stake {
  color: var(--hot);
  font-weight: 600;
}

.battle-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.battle-builder-head {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.battle-builder-head h2 {
  margin: 0;
  font-size: 18px;
}

.battle-seats {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
}

.battle-seats .battle-clear {
  margin-left: auto;
}

.battle-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  min-height: 96px;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.battle-slots-empty {
  grid-column: 1 / -1;
  align-self: center;
  text-align: center;
  margin: 0;
}

.battle-slot {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  font-size: 12px;
}

.battle-slot-name {
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.battle-slot-price {
  color: var(--hot);
}

.battle-slot-actions {
  display: flex;
  gap: 6px;
}

.battle-slot-actions .filter-pill {
  min-width: 44px;
  min-height: 32px;
}

.battle-summary {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  font-size: 12px;
}

.battle-summary-cost b {
  color: var(--hot);
  font-size: 14px;
}

.battle-summary button {
  margin-left: auto;
}

.battle-catalog-title {
  margin: 0;
  font-size: 15px;
}

.battle-catalog-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.battle-catalog-group .case-risk-label {
  margin: 0;
}

.battle-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
}

.battle-catalog-tile {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.battle-catalog-tile::after { content: none; }

.battle-catalog-tile:hover {
  border-color: var(--accent);
  background: var(--panel-2);
}

.battle-catalog-tile:disabled {
  opacity: 0.5;
  cursor: default;
}

.battle-catalog-tile img {
  max-width: 100%;
  height: auto;
}

.battle-catalog-name {
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.battle-catalog-price {
  color: var(--hot);
}

.battle-detail-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.battle-set {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 4px;
  font-size: 12px;
}

.battle-set .battle-cover {
  flex: 0 0 auto;
}

.battle-rule {
  margin: 0;
}

.battle-columns {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.battle-column {
  flex: 1 0 150px;
  min-width: 150px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.battle-column.winner {
  border-color: var(--success);
  box-shadow: 0 0 0 1px var(--success) inset;
}

.battle-column.empty {
  display: grid;
  place-items: center;
  border-style: dashed;
}

.battle-player {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: baseline;
  margin-bottom: 8px;
}

.battle-player-name {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-player-total {
  color: var(--hot);
  font-weight: 600;
}

.battle-drops {
  display: grid;
  gap: 6px;
}

.battle-drop {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  font-size: 11px;
}

.battle-drop.pending {
  min-height: 72px;
  place-items: center;
  color: var(--muted-2);
  font-size: 20px;
}

.battle-drop img {
  max-width: 100%;
  height: auto;
}

.battle-drop-name {
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.battle-drop-value {
  color: var(--hot);
}

.battle-verdict {
  margin: 8px 0 0;
  color: var(--success);
  font-size: 12px;
}

.battle-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.battle-bonus {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.battle-bonus h3 {
  margin: 0;
  font-size: 15px;
}

.battle-bonus p {
  margin: 0;
  font-size: 12px;
}

@media (min-width: 900px) {
  .battle-catalog {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }

  .battle-slots {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

:root {
  --ticket: #8b7bff;
  --ticket-2: #5ec8ff;
}

.ticket-chip {
  gap: 6px;
  color: var(--text);
}

.wallet-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.wallet-stack .balance-chip {
  min-height: 21px;
  padding-top: 0;
  padding-bottom: 0;
}

.wallet-stack .wallet-chip .wallet-amount { font-size: 17px; }

.wallet-stack .ticket-chip .wallet-amount {
  color: var(--ticket);
  font-size: 13px;
}

.ticket-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 50%;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.32) 0 24%, transparent 24% 42%, rgba(38, 30, 104, 0.42) 42% 58%, transparent 58%),
    radial-gradient(circle at 34% 30%, #dbe9ff 0 16%, var(--ticket-2) 40%, var(--ticket) 74%, #3b2e8f 100%);
  box-shadow: 0 0 10px color-mix(in srgb, var(--ticket) 45%, transparent);
  color: #0d0e18;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.ticket-card strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ticket);
}

.ticket-card .ticket-mark {
  font-size: 12px;
}

.ticket-card {
  border-color: color-mix(in srgb, var(--ticket) 35%, var(--line));
}

.ticket-hint {
  font-size: 12px;
  margin: 4px 0 0;
}

.giveaway-balance {
  color: var(--ticket);
}

.sell-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sell-row .sell { flex: 1 1 auto; }

.price-hint-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 3, 3, 0.72);
  backdrop-filter: blur(3px);
}

.price-hint {
  width: min(360px, 100%);
  max-height: 80dvh;
  overflow-y: auto;
  margin: 0;
  text-align: left;
  font-weight: 400;
}

.price-hint-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-hint-close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  background-image: none;
  box-shadow: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.price-hint-close:hover { color: var(--text); border-color: var(--accent); }
.price-hint-close::after { content: none; }

.mode-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mode-hint-btn {
  flex: 0 0 auto;
  align-self: center;
  width: 26px;
  height: 26px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-2);
  background-image: none;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  overflow: visible;
  cursor: help;
}

.mode-hint-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--panel-2);
  box-shadow: none;
}

.mode-hint-btn::before { content: none; }

.mode-hint-btn::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: none;
  opacity: 1;
  pointer-events: auto;
}

.mode-hint-body {
  margin: 0;
  line-height: 1.5;
}

.giveaways-bar {
  margin-bottom: 12px;
}

.giveaways-bar .giveaway-balance {
  margin: 0;
}

.drop-tile { position: relative; }

.drop-chance {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 1;
  font-size: 11px;
  line-height: 1;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.drop-price {
  position: absolute;
  top: 5px;
  right: 6px;
  z-index: 1;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.drop-price .coin-mark { width: 11px; height: 11px; }
.drop-price .coin-amount { gap: 3px; }
.drop-price + .drop-chance { top: 21px; }

.skin-zoom-btn {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 2;
  width: 28px;
  height: 28px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.72);
  background-image: none;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  line-height: 1;
  overflow: visible;
  cursor: zoom-in;
}

.skin-zoom-btn::before {
  content: "";
  position: absolute;
  inset: -8px;
}

.skin-zoom-btn::after { content: none; }

.skin-zoom-btn:hover,
.skin-zoom-btn:focus-visible {
  color: var(--text);
  border-color: var(--accent);
}

.pick-tile .skin-zoom-btn { left: 30px; }
.inventory-tile.is-locked .skin-zoom-btn { left: auto; right: 6px; }
.win-prize-art { position: relative; }
.win-prize-art .skin-zoom-btn { top: 0; left: 0; }

@media (hover: hover) and (pointer: fine) {
  .skin-zoom-btn {
    opacity: 0;
    pointer-events: none;
  }
  .skin-zoom-btn:focus-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

.skin-zoom-pop,
.price-hint-pop {
  position: fixed;
  top: var(--zoom-top, 0px);
  left: var(--zoom-left, 0px);
  z-index: 121;
  width: min(360px, calc(100vw - 16px));
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  max-height: calc(100dvh - 16px);
  overflow: hidden;
  pointer-events: none;
}

.price-hint-pop {
  top: var(--hint-top, 0px);
  left: var(--hint-left, 0px);
  text-align: left;
  font-weight: 400;
}

.skin-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: max(16px, var(--safe-top)) 0 0;
  background: rgba(2, 3, 3, 0.72);
  backdrop-filter: blur(3px);
}

.skin-zoom {
  width: 100%;
  max-height: calc(100dvh - var(--safe-top) - 12px);
  overflow-y: auto;
  margin: 0;
  border-radius: 18px 18px 0 0;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  text-align: left;
  font-weight: 400;
}

@media (min-width: 560px) {
  .skin-zoom-overlay {
    align-items: center;
    padding: 16px;
  }
  .skin-zoom {
    width: min(520px, 100%);
    max-height: 90dvh;
    border-radius: 18px;
    padding-bottom: 16px;
  }
}

.skin-zoom-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 8px;
}

.skin-zoom-close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  background-image: none;
  box-shadow: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.skin-zoom-close:hover { color: var(--text); border-color: var(--accent); }

.skin-zoom-art {
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 62%, var(--rarity-tint, transparent), transparent 68%),
    var(--panel-2);
}

.skin-zoom-art img {
  width: 100%;
  max-width: 512px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.skin-zoom-pop .skin-zoom-art img { max-width: 336px; }

.skin-zoom-title {
  margin-top: 10px;
  display: grid;
  gap: 2px;
}

.skin-zoom-type {
  font-size: 12px;
  color: var(--muted);
}

.skin-zoom-title strong { font-size: 16px; }

.skin-zoom-rows {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  font-size: 13px;
}

.skin-zoom-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.skin-zoom-rows dt { color: var(--muted); }
.skin-zoom-rows dd { margin: 0; }

.skin-zoom-text {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.skin-zoom-text p { margin: 0 0 8px; }
.skin-zoom-text p:last-child { margin-bottom: 0; }

.giveaway-soon {
  max-width: 620px;
  display: grid;
  gap: 10px;
}

.giveaway-soon h2 {
  margin: 0;
  color: var(--ticket);
}

.giveaway-soon p { margin: 0; }

.giveaway-soon-follow { margin-top: 4px; }

.social-subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.social-subscribe-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.social-subscribe-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.bonuses-page {
  gap: 14px;
}

.bonuses-body {
  display: grid;
  gap: 14px;
}

.bonuses-bar {
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}

.bonuses-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.bonuses-pending {
  border-color: rgba(143, 208, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(143, 208, 255, 0.08), transparent 45%),
    var(--panel);
}

.bonuses-pending.has-pending {
  border-color: rgba(255, 178, 26, 0.38);
}

.bonuses-pending h2,
.bonuses-socials h2,
.bonuses-daily h2,
.bonuses-grants h2,
.bonuses-faq h2,
.bonuses-recent h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.bonuses-pending p,
.bonuses-daily > p {
  margin: 0 0 12px;
}

.bonuses-daily-grid {
  display: grid;
  gap: 10px;
}

.bonuses-social-all,
.bonuses-quests,
.bonuses-daily-case,
.bonuses-streak {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.bonuses-social-all h3,
.bonuses-quests h3,
.bonuses-daily-case h3,
.bonuses-streak h3 {
  margin: 0;
  font-size: 15px;
}

.bonuses-social-all p,
.bonuses-daily-case p,
.bonuses-streak p {
  margin: 0;
}

.bonuses-social-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-2);
}

.bonuses-social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.bonuses-reward,
.bonuses-case-name {
  color: var(--accent-2);
  font-weight: 700;
}

.bonuses-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  width: fit-content;
  max-width: 100%;
  padding: 4px 9px;
  border: 1px solid rgba(143, 208, 255, 0.22);
  border-radius: 999px;
  color: var(--value);
  background: rgba(143, 208, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.bonuses-badge-ok {
  border-color: rgba(115, 211, 154, 0.28);
  color: var(--success);
  background: rgba(115, 211, 154, 0.08);
}

.bonuses-quest-list,
.bonuses-streak-days,
.bonuses-grant-list,
.bonuses-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bonuses-quest-list,
.bonuses-grant-list,
.bonuses-recent-list {
  display: grid;
  gap: 8px;
}

.bonuses-quest,
.bonuses-grant,
.bonuses-recent-list li {
  display: grid;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.bonuses-quest.is-done {
  background: rgba(115, 211, 154, 0.07);
}

.bonuses-quest-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.bonuses-quest-title {
  font-weight: 700;
}

.bonuses-quest-progress,
.bonuses-recent-value {
  color: var(--muted);
  font-size: 12px;
}

.bonuses-quest-action {
  display: flex;
  justify-content: flex-start;
}

.bonuses-quest-action .button,
.bonuses-quest-action .button-secondary,
.bonuses-social-all .button,
.bonuses-daily-case .button,
.bonuses-pending .button {
  min-height: 36px;
  width: fit-content;
  white-space: nowrap;
  text-decoration: none;
}

.bonuses-streak-days {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.bonuses-streak-day {
  display: grid;
  gap: 4px;
  justify-items: center;
  min-width: 0;
  padding: 8px 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  text-align: center;
}

.bonuses-streak-day.is-done {
  border-color: rgba(115, 211, 154, 0.26);
}

.bonuses-streak-day.is-next {
  border-color: rgba(255, 122, 0, 0.34);
}

.bonuses-streak-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent-2);
  font-weight: 700;
}

.bonuses-streak-label,
.bonuses-streak-reward {
  font-size: 11px;
  white-space: nowrap;
}

.bonuses-streak-reward .coin-amount {
  gap: 3px;
}

.bonuses-streak-reward {
  color: var(--hot);
  font-weight: 700;
}

.bonuses-streak-note {
  margin-top: 10px;
  font-weight: 700;
}

.bonuses-progress {
  height: 8px;
  margin: 10px 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bonuses-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--value), var(--success));
}

.bonuses-grant {
  grid-template-columns: 64px minmax(0, 1fr);
}

.bonuses-grant img {
  width: 64px;
  height: 48px;
  object-fit: contain;
}

.bonuses-grant-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.bonuses-grant .button {
  grid-column: 1 / -1;
  min-height: 36px;
}

.bonuses-recent-list li {
  grid-template-columns: minmax(0, 1fr) auto;
}

.bonuses-recent-list .bonuses-badge {
  grid-column: 1 / -1;
}

@media (min-width: 560px) {
  .bonuses-quest {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .bonuses-grant {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .bonuses-grant .button {
    grid-column: auto;
  }

  .bonuses-recent-list li {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .bonuses-recent-list .bonuses-badge {
    grid-column: auto;
  }
}

@media (min-width: 720px) {
  .bonuses-daily-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .bonuses-streak {
    grid-column: span 1;
  }
}

.bonuses-layout {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.bonuses-main,
.bonuses-offers {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.bonus-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: var(--panel);
}

.bonus-card-art {
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: auto;
  height: 108%;
  max-width: 62%;
  object-fit: contain;
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 62%, transparent 100%);
  mask-image: linear-gradient(to left, #000 62%, transparent 100%);
}

.bonus-card-promo .bonus-card-art,
.bonus-card-boost .bonus-card-art {
  right: auto;
  left: -4%;
  -webkit-mask-image: linear-gradient(to right, #000 62%, transparent 100%);
  mask-image: linear-gradient(to right, #000 62%, transparent 100%);
}

.bonus-card-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.bonus-card-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
}

.bonus-card-lead {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.bonus-card-reward {
  margin: 0;
  color: var(--accent-2);
  font-weight: 700;
}

.bonus-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bonus-card-actions .button,
.bonus-card-actions .button-secondary {
  min-height: 38px;
  width: fit-content;
  white-space: nowrap;
  text-decoration: none;
}

.bonus-card-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.bonus-card-status.is-done {
  border-color: rgba(115, 211, 154, 0.3);
  color: var(--success);
  background: rgba(115, 211, 154, 0.08);
}

.bonus-card-progress {
  width: 100%;
  min-width: 0;
}

.bonus-card-progress-text {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.bonus-card-promo {
  border-color: rgba(143, 208, 255, 0.2);
  background: radial-gradient(120% 100% at 12% 50%, rgba(143, 208, 255, 0.12), transparent 60%), var(--panel);
}

.bonus-card-email {
  border-color: rgba(168, 85, 247, 0.28);
  background: radial-gradient(120% 100% at 88% 50%, rgba(168, 85, 247, 0.16), transparent 62%), var(--panel);
}

.bonus-card-telegram {
  border-color: rgba(56, 160, 255, 0.28);
  background: radial-gradient(120% 100% at 88% 50%, rgba(56, 160, 255, 0.16), transparent 62%), var(--panel);
}

.bonus-card-boost {
  border-color: rgba(140, 220, 60, 0.28);
  background: radial-gradient(120% 100% at 12% 50%, rgba(140, 220, 60, 0.14), transparent 62%), var(--panel);
}

.bonus-promo-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.bonus-promo-input {
  flex: 1 1 160px;
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  font: inherit;
  text-transform: uppercase;
}

.bonus-promo-input:focus {
  outline: none;
  border-color: var(--accent);
}

.bonus-promo-submit {
  min-height: 40px;
  white-space: nowrap;
}

.bonus-promo-note,
.bonus-promo-armed {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.bonus-promo-note {
  color: var(--success);
}

.bonus-promo-armed {
  color: var(--accent-2);
}

.bonuses-socials {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.bonuses-social-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.bonuses-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 122, 0, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.bonuses-social-row.is-verified {
  border-color: rgba(115, 211, 154, 0.3);
}

.bonuses-social-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.bonuses-social-name {
  font-weight: 700;
}

.bonuses-social-button {
  min-height: 32px;
  width: fit-content;
  padding: 4px 14px;
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
}

.bonuses-social-done {
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.bonuses-social-row .bonuses-social-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  background: transparent;
}

.bonuses-social-row .bonuses-social-icon svg {
  width: 30px;
  height: 30px;
}

.bonuses-faq-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.bonuses-faq details {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.bonuses-faq summary {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.bonuses-faq summary::-webkit-details-marker {
  display: none;
}

.bonuses-faq summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent-2);
}

.bonuses-faq details[open] summary::before {
  content: "\2212";
}

.bonuses-faq details p {
  margin: 0;
  padding: 0 12px 12px 46px;
  color: var(--muted);
}

@media (min-width: 560px) {
  .bonus-card {
    min-height: 172px;
  }

  .bonus-card-art {
    top: 50%;
    bottom: auto;
    max-width: 46%;
    opacity: 1;
    transform: translateY(-50%);
  }

  .bonus-card-body {
    max-width: 58%;
  }

  .bonus-card-promo .bonus-card-body,
  .bonus-card-boost .bonus-card-body {
    max-width: none;
    margin-left: 42%;
  }
}

@media (min-width: 720px) {
  .bonuses-offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .bonuses-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.feed-freshness {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  font-size: 12px;
}

.feed-freshness-label {
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 11px;
}

.feed-age {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
}

.feed-age-market { font-weight: 600; }

.section-offline {
  max-width: 620px;
  display: grid;
  gap: 10px;
}

.section-offline h2 {
  margin: 0;
  color: var(--accent);
}

.section-offline p { margin: 0; }

.partner-section .partner-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
  gap: 8px;
  align-items: end;
  margin-bottom: 12px;
}
.partner-section .partner-field { display: block; min-width: 0; }
.partner-section .partner-field-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.partner-section .partner-link-input,
.partner-section .partner-code-input,
.partner-section .partner-field-button {
  height: 44px;
  box-sizing: border-box;
  margin: 0;
}
.partner-section .partner-link-input,
.partner-section .partner-code-input {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  font-variant-numeric: tabular-nums;
}
.partner-section .partner-code-input { text-transform: uppercase; letter-spacing: .04em; }
.partner-section .partner-field-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 14px;
  line-height: 1.15;
  white-space: nowrap;
}
.partner-section .partner-hint { margin: -4px 0 0; font-size: 12px; }
.partner-section .partner-status { min-height: 1.2em; margin-top: 6px; font-size: 13px; }
.partner-section .partner-status.error { color: var(--danger); }
.partner-section .partner-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}
.partner-section .partner-stat {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
  min-width: 0;
}
.partner-section .partner-stat-label {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.partner-section .partner-stat-value {
  display: block;
  font-size: 18px;
  line-height: 1.1;
  margin-top: 4px;
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.partner-section .partner-transfer { margin: 0 0 14px; }
.partner-section .partner-transfer .button { min-height: 44px; }
.partner-section .partner-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted-2);
  margin: 18px 0 6px;
}
.partner-section .partner-empty { margin: 0; font-size: 14px; }
.partner-section .partner-accruals { list-style: none; margin: 0; padding: 0; }
.partner-section .partner-accruals li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}
.partner-section .partner-accruals li:last-child { border-bottom: 0; }
.partner-section .partner-more { margin-top: 8px; font-size: 13px; }
.partner-section .partner-accrual-when { grid-column: 1; color: var(--muted); font-size: 12px; }
.partner-section .partner-accrual-who { grid-column: 1; overflow-wrap: anywhere; }
.partner-section .partner-accrual-sum {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.partner-section .partner-referral { margin-bottom: 12px; }
.partner-section .partner-bound { margin: 0 0 10px; }
.partner-section .partner-perks { margin: 0 0 8px; color: var(--accent); font-weight: 600; }
@media (min-width: 720px) {
  .partner-section .partner-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .partner-section .partner-field-row { grid-template-columns: minmax(0, 1fr); }
  .partner-section .partner-field-button { width: 100%; }
}

body.auth-modal-open { overflow: hidden; }

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 16px;
  padding-top: calc(16px + max(env(safe-area-inset-top), var(--tg-inset-top, 0px)));
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  background: rgba(4, 4, 4, 0.84);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: auth-modal-fade 160ms ease-out;
}

@keyframes auth-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.auth-modal-mascot {
  position: relative;
  z-index: 1;
  width: 170px;
  height: auto;
  margin-bottom: -52px;
  pointer-events: none;
  user-select: none;
}

.auth-modal-card {
  position: relative;
  width: 100%;
  padding: 64px 20px 20px;
  border: 2px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #161616, #0f0f0f) padding-box,
    linear-gradient(135deg, #3b3b3b 0%, #7a4a12 40%, var(--accent) 70%, #ffb300 100%) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 122, 0, 0.16),
    0 0 44px rgba(255, 122, 0, 0.26),
    0 26px 60px rgba(0, 0, 0, 0.65);
}

.auth-modal-close { top: 10px; right: 10px; }

.auth-modal-title {
  margin: 0 0 16px;
  padding-right: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

.auth-modal-title span { display: block; }
.auth-modal-title-accent { color: var(--accent); }

.auth-modal-checks {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.auth-modal-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.auth-modal-checks a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-modal-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.auth-modal-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.auth-modal-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: -1px;
  border-radius: 50%;
}

.auth-modal-check svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 120ms ease-out;
}

.auth-modal-check svg path { opacity: 0; transition: opacity 120ms ease-out; }
.auth-modal-checkbox:checked + .auth-modal-check svg { stroke: var(--accent); }
.auth-modal-checkbox:checked + .auth-modal-check svg path { opacity: 1; }
.auth-modal-checkbox:focus-visible + .auth-modal-check {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.auth-modal-actions a.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.auth-modal-notice:empty,
.auth-modal-error:empty { display: none; }
.auth-modal-notice,
.auth-modal-error { margin: 0 0 12px; font-size: 13px; }

.auth-modal-actions {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-height: 52px;
}

.auth-modal-actions .error { margin: 0; }

.auth-modal-actions .auth-modal-steam.button {
  width: 100%;
  max-width: none;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
}

.auth-modal-steam-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: 0 0 auto;
}

.auth-modal-email { font-size: 13px; }
.auth-modal-unavailable { margin: 0; text-align: center; }

@media (min-width: 720px) {
  .auth-modal {
    max-width: 820px;

    grid-template-columns: 240px minmax(0, 1fr);
    align-items: end;
    justify-items: stretch;
  }

  .auth-modal-mascot {
    width: 400px;
    max-width: none;
    margin: 0 0 -10px;
    justify-self: start;
  }

  .auth-modal-card {
    padding: 40px 36px 36px 130px;
    border-radius: 26px;
  }

  .auth-modal-close { top: 14px; right: 14px; }

  .auth-modal-title {
    font-size: 30px;
    margin-bottom: 20px;
    text-align: left;
  }

  .auth-modal-checks { font-size: 15px; margin-bottom: 24px; }
  .auth-modal-actions .auth-modal-steam.button { min-height: 56px; font-size: 17px; }
}

.panel {
  background: var(--panel-gray);
  border-color: var(--panel-gray-line);
}

.seo-intro {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 16px 32px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.seo-intro h1 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: var(--text);
}
.seo-intro h2 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
  color: var(--text);
}
.seo-intro p {
  margin: 0 0 10px;
}
.seo-faq-item {
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.seo-faq-item summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}
.seo-faq-item p {
  margin: 8px 0 0;
}
