:root {
  --q7-bg: #1b1020;
  --q7-bg-soft: #24152b;
  --q7-panel: #2d1c34;
  --q7-panel-2: #36223d;
  --q7-line: rgba(255,255,255,.11);
  --q7-text: #f7f2f7;
  --q7-muted: #cbbdce;
  --q7-accent: #f6b80f;
  --q7-accent-2: #7bd93d;
  --q7-purple: #8f64a8;
  --q7-danger: #d66767;
  --q7-shadow: 0 22px 60px rgba(0,0,0,.28);
  --q7-radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at top, #2b1533 0, #1b1020 42%, #140b18 100%);
  color: var(--q7-text);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.55;
}

body.q7menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

button {
  color: inherit;
}

.q7shell {
  min-height: 100vh;
  padding-bottom: 118px;
}

.q7container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.q7header {
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid var(--q7-line);
  background: rgba(28,16,32,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.q7header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto auto;
  align-items: center;
  gap: 18px;
}

.q7brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.q7brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.q7brand-dot {
  color: var(--q7-accent);
}

.q7navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.q7navigation > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 11px;
  border-radius: 12px;
  color: #e9dfea;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s ease,color .18s ease;
}

.q7navigation > a:hover,
.q7navigation > a:focus-visible {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.q7navigation svg,
.q7btn svg,
.q7text-link svg,
.q7tile > svg,
.q7bonus-card > svg,
.q7table th svg,
.q7widget-inner > svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.q7online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: max-content;
  padding: 8px 11px;
  border: 1px solid var(--q7-line);
  border-radius: 999px;
  color: var(--q7-muted);
  font-size: 13px;
}

.q7online > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--q7-accent-2);
  box-shadow: 0 0 0 5px rgba(123,217,61,.12);
}

.q7online b {
  color: #fff;
}

.q7online small {
  opacity: .7;
}

.q7auth {
  display: flex;
  align-items: center;
  gap: 8px;
}

.q7btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--q7-accent);
  color: #281900;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: transform .16s ease,filter .16s ease,background .16s ease;
}

.q7btn:hover,
.q7btn:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.q7btn.q7secondary {
  background: transparent;
  border-color: var(--q7-line);
  color: #fff;
}

.q7icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--q7-line);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
}

.q7icon svg {
  width: 22px;
  height: 22px;
}

.q7burger {
  display: none;
}

.q7hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--q7-line);
  border-radius: 28px;
  box-shadow: var(--q7-shadow);
  background: #24152b;
}

.q7hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.q7hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,rgba(21,10,26,.94) 0%,rgba(24,12,30,.86) 50%,rgba(24,12,30,.36) 100%);
}

.q7hero-content {
  width: min(650px, 74%);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}

.q7eyebrow {
  display: inline-block;
  color: var(--q7-accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.q7hero h1,
.q7hero-title {
  margin: 10px 0 16px;
  font-size: clamp(40px,5vw,70px);
  line-height: .98;
  letter-spacing: -.045em;
}

.q7hero h1 > span {
  display: block;
  margin-top: 7px;
  color: var(--q7-accent);
}

.q7hero-content > p {
  max-width: 520px;
  margin: 0 0 22px;
  color: #eadfe8;
  font-size: 20px;
}

.q7hero-content > p strong {
  color: var(--q7-accent);
}

.q7hero-fine {
  margin-top: 14px;
  color: var(--q7-muted);
  font-size: 11px;
}

.q7hero-controls {
  position: absolute;
  left: 56px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.q7dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.38);
  cursor: pointer;
}

.q7dot.q7active {
  width: 27px;
  background: var(--q7-accent);
}

.q7hero-controls > span {
  color: var(--q7-muted);
  font-size: 12px;
}

.q7photo-label {
  position: absolute;
  right: 18px;
  bottom: 15px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(0,0,0,.42);
  color: rgba(255,255,255,.72);
  font-size: 10px;
}

.q7intro {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 34px 4px 18px;
}

.q7intro > span {
  color: var(--q7-accent-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.q7intro p {
  margin: 0;
  color: var(--q7-muted);
}

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

.q7tile {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--q7-line);
  border-radius: 18px;
  background: linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
}

.q7tile > svg {
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  color: var(--q7-accent);
}

.q7tile h3,
.q7tile p {
  margin: 0;
}

.q7tile h3 {
  font-size: 17px;
}

.q7tile p {
  margin-top: 7px;
  color: var(--q7-muted);
  font-size: 13px;
}

.q7block {
  margin-top: 22px;
  padding: clamp(22px,3vw,34px);
  border: 1px solid var(--q7-line);
  border-radius: var(--q7-radius);
  background: rgba(45,28,52,.82);
  box-shadow: 0 10px 40px rgba(0,0,0,.14);
  scroll-margin-top: 104px;
}

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

.q7heading h2,
.q7block > h2,
.q7jackpot h2,
.q7prose h2 {
  margin: 5px 0 0;
  font-size: clamp(26px,3vw,38px);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.q7pill,
.q7muted {
  color: var(--q7-muted);
  font-size: 12px;
}

.q7pill {
  padding: 8px 11px;
  border: 1px solid var(--q7-line);
  border-radius: 999px;
}

.q7table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--q7-line);
  border-radius: 16px;
}

.q7table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: rgba(17,9,21,.24);
}

.q7table caption {
  padding: 12px 16px;
  color: var(--q7-muted);
  text-align: left;
  font-size: 12px;
}

.q7table th,
.q7table td {
  padding: 14px 16px;
  border-top: 1px solid var(--q7-line);
  text-align: left;
  vertical-align: middle;
}

.q7table thead th {
  border-top: 0;
  background: rgba(0,0,0,.17);
  color: #fff;
}

.q7table tbody th {
  width: 42%;
  color: #f0e6f2;
  font-weight: 600;
}

.q7table tbody th svg {
  margin-right: 9px;
  vertical-align: middle;
  color: var(--q7-accent-2);
}

.q7jackpot {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg,#3e253f,#292034);
}

.q7jackpot p {
  margin: 6px 0 0;
  color: var(--q7-muted);
}

.q7jackpot-value {
  min-width: 230px;
  display: grid;
  gap: 2px;
  text-align: right;
}

.q7jackpot-value > span,
.q7jackpot-value small {
  color: var(--q7-muted);
  font-size: 11px;
}

.q7jackpot-value strong {
  color: var(--q7-accent);
  font-size: clamp(28px,3vw,42px);
  line-height: 1;
}

.q7text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--q7-accent);
  font-weight: 700;
}

.q7bonus-grid,
.q7games,
.q7gallery,
.q7winner-grid {
  display: grid;
  gap: 16px;
}

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

.q7bonus-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--q7-line);
  border-radius: 18px;
  background: #35203e;
}

.q7bonus-card > svg {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  opacity: .18;
}

.q7bonus-card h3 {
  margin: 12px 0 9px;
  font-size: 25px;
}

.q7bonus-card p {
  min-height: 70px;
  color: var(--q7-muted);
}

.q7bonus-card small {
  display: block;
  margin-top: 12px;
  color: var(--q7-muted);
}

.q7bonus-1 { background: linear-gradient(145deg,#3e273b,#2e1c36); }
.q7bonus-2 { background: linear-gradient(145deg,#31364b,#252437); }
.q7bonus-3 { background: linear-gradient(145deg,#403423,#302632); }

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

.q7game {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--q7-line);
  border-radius: 18px;
  background: #25162d;
}

.q7game > a {
  display: block;
}

.q7game img {
  display: block;
  width: 100%;
  aspect-ratio: 10/7;
  object-fit: cover;
  background: #1d1022;
}

.q7game-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
}

.q7game-info > span {
  color: var(--q7-muted);
  font-size: 11px;
}

.q7game-info h3 {
  min-height: 44px;
  margin: 0;
  font-size: 18px;
}

.q7game-info .q7btn {
  align-self: flex-start;
  min-height: 38px;
  padding: 8px 13px;
}

.q7demo-frame {
  width: 100%;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--q7-line);
  border-radius: 16px;
  background: #1c1021;
}

.q7demo-frame iframe {
  display: block;
  width: 100%;
  min-height: 310px;
  border: 0;
}

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

.q7gallery-item {
  overflow: hidden;
  border: 1px solid var(--q7-line);
  border-radius: 16px;
  background: #25162d;
}

.q7gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.q7gallery-item figcaption,
.q7gallery-item > span {
  display: block;
  padding: 12px;
  color: var(--q7-muted);
  font-size: 12px;
}

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

.q7winner {
  display: grid;
  grid-template-columns: 38px 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--q7-line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.q7rank {
  color: var(--q7-muted);
  font-size: 12px;
}

.q7avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--q7-accent),#f07d1a);
  color: #2b1700;
  font-weight: 800;
}

.q7winner b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.q7winner strong {
  color: var(--q7-accent-2);
  white-space: nowrap;
}

.q7prose {
  color: #eadfeb;
}

.q7prose h2 {
  margin-top: 30px;
}

.q7prose h3 {
  margin-top: 22px;
}

.q7prose p,
.q7prose li {
  color: #d4c6d8;
}

.q7prose a {
  color: var(--q7-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.q7prose img,
.q7prose video,
.q7prose iframe {
  max-width: 100%;
}

.q7prose table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.q7prose > table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.q7prose table th,
.q7prose table td {
  padding: 12px 14px;
  border: 1px solid var(--q7-line);
  text-align: left;
}

.q7author {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 16px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--q7-line);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}

.q7author .q7avatar {
  width: 58px;
  height: 58px;
}

.q7author span {
  display: block;
  color: var(--q7-muted);
  font-size: 12px;
}

.q7author p {
  margin: 7px 0;
  color: var(--q7-muted);
  font-size: 13px;
}

.q7author a {
  color: var(--q7-accent);
  font-weight: 700;
}

.q7faq {
  display: grid;
  gap: 10px;
}

.q7faq details {
  overflow: hidden;
  border: 1px solid var(--q7-line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.q7faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
}

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

.q7faq summary span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  transition: transform .18s ease;
}

.q7faq details[open] summary span {
  transform: rotate(45deg);
}

.q7faq details > div {
  padding: 0 18px 16px;
}

.q7faq p {
  margin: 0;
  color: var(--q7-muted);
}

.q7info-page {
  padding-block: 28px 20px;
}

.q7info-page .q7block {
  margin-top: 0;
}

.q7footer {
  margin-top: 24px;
  border-top: 1px solid var(--q7-line);
  background: #120b16;
}

.q7footer > .q7container {
  padding-block: 28px 34px;
}

.q7footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--q7-line);
}

.q7region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--q7-muted);
  font-size: 13px;
}

.q7flag {
  width: 24px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
}

.q7footer-links,
.q7partners,
.q7provider-list,
.q7trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
}

.q7footer-links a {
  color: #eadfeb;
  font-size: 13px;
}

.q7partners b,
.q7provider-list span,
.q7trust > span,
.q7trust > a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--q7-line);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  color: #e7dde8;
  font-size: 11px;
}

.q7trust {
  align-items: stretch;
}

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

.q7age {
  color: var(--q7-accent) !important;
  font-size: 17px !important;
  font-weight: 800;
}

.q7legal {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--q7-line);
}

.q7legal p {
  margin: 8px 0;
  color: #a99aad;
  font-size: 11px;
}

.q7legal a {
  color: #d9c7de;
  text-decoration: underline;
}

.q7widget {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 850;
  width: min(1120px, calc(100vw - 24px));
  transform: translateX(-50%);
}

.q7widget.q7hidden {
  display: none;
}

.q7widget-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto auto 42px;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(246,184,15,.7);
  border-radius: 17px;
  background: rgba(50,28,54,.97);
  box-shadow: 0 12px 40px rgba(0,0,0,.36);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.q7widget-inner > svg {
  width: 26px;
  height: 26px;
  color: var(--q7-accent);
}

.q7widget-inner > div {
  min-width: 0;
}

.q7widget-inner > div b,
.q7widget-inner > div span {
  display: block;
}

.q7widget-inner > div span {
  color: var(--q7-muted);
  font-size: 12px;
}

.q7code {
  min-height: 40px;
  padding: 8px 11px;
  border: 1px dashed rgba(255,255,255,.24);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.q7code span {
  display: block;
  color: var(--q7-muted);
  font-size: 9px;
  font-weight: 500;
}

.q7status {
  position: fixed;
  right: 16px;
  bottom: 98px;
  z-index: 920;
  max-width: min(360px,calc(100vw - 32px));
  padding: 10px 13px;
  border-radius: 10px;
  background: #171019;
  color: #fff;
  box-shadow: var(--q7-shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease,transform .18s ease;
}

.q7status.q7show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .q7header-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .q7navigation > a {
    padding-inline: 8px;
    font-size: 13px;
  }

  .q7online {
    display: none;
  }

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

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

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

  .q7bonus-card:last-child {
    grid-column: 1/-1;
  }

  .q7jackpot {
    grid-template-columns: 1fr auto;
  }

  .q7jackpot > .q7btn {
    grid-column: 1/-1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .q7shell {
    padding-bottom: 154px;
  }

  .q7container {
    width: min(100% - 20px,1180px);
  }

  .q7header-inner {
    min-height: 72px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .q7brand {
    font-size: 22px;
  }

  .q7brand img {
    width: 36px;
    height: 36px;
  }

  .q7auth {
    justify-self: end;
    gap: 6px;
  }

  .q7auth .q7btn {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .q7auth .q7btn svg {
    display: none;
  }

  .q7burger {
    display: inline-grid;
    position: relative;
    z-index: 1101;
  }

  .q7navigation {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 92px 18px 28px;
    background: rgba(21,11,26,.985);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    transition: transform .25s ease,opacity .25s ease,visibility .25s ease;
  }

  .q7navigation.q7open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .q7navigation > a {
    width: 100%;
    min-height: 50px;
    justify-content: flex-start;
    padding: 13px 15px;
    border: 1px solid var(--q7-line);
    background: rgba(255,255,255,.035);
    font-size: 15px;
  }

  .q7burger.q7open {
    position: fixed;
    top: 15px;
    right: 12px;
  }

  .q7hero {
    min-height: 500px;
    margin-top: 16px;
    border-radius: 22px;
  }

  .q7hero-image {
    object-position: 62% center;
  }

  .q7hero-shade {
    background: linear-gradient(180deg,rgba(20,9,24,.45),rgba(20,9,24,.88) 45%,rgba(20,9,24,.98));
  }

  .q7hero-content {
    width: 100%;
    min-height: 500px;
    justify-content: flex-end;
    padding: 30px 22px 78px;
  }

  .q7hero h1 {
    font-size: clamp(37px,12vw,56px);
  }

  .q7hero-content > p {
    font-size: 17px;
  }

  .q7hero-controls {
    left: 22px;
    bottom: 22px;
  }

  .q7photo-label {
    display: none;
  }

  .q7intro {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .q7heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .q7bonus-grid,
  .q7games,
  .q7gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw,330px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .q7bonus-card,
  .q7game,
  .q7gallery-item {
    scroll-snap-align: start;
  }

  .q7bonus-card:last-child {
    grid-column: auto;
  }

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

  .q7winner {
    grid-template-columns: 34px 40px minmax(0,1fr) auto;
  }

  .q7winner strong {
    font-size: 12px;
  }

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

  .q7jackpot-value {
    text-align: left;
  }

  .q7footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .q7widget {
    left: 50%;
    right: auto;
    bottom: max(10px,env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    max-width: 520px;
    transform: translateX(-50%);
  }

  .q7widget-inner {
    grid-template-columns: 30px minmax(0,1fr) 38px;
    gap: 10px;
    padding: 12px;
  }

  .q7widget-inner > .q7code,
  .q7widget-inner > .q7btn {
    grid-column: 2/-1;
    width: 100%;
  }

  .q7widget-inner > .q7icon {
    grid-column: 3;
    grid-row: 1;
    width: 36px;
    height: 36px;
  }

  .q7status {
    right: 10px;
    bottom: 160px;
  }
}

@media (max-width: 470px) {
  .q7container {
    width: min(100% - 16px,1180px);
  }

  .q7auth {
    display: none;
  }

  .q7header-inner {
    grid-template-columns: 1fr auto;
  }

  .q7block {
    padding: 18px;
    border-radius: 18px;
  }

  .q7hero-content {
    padding-inline: 18px;
  }

  .q7hero-content .q7btn {
    width: 100%;
  }

  .q7table {
    min-width: 560px;
  }

  .q7prose table {
    min-width: 560px;
  }

  .q7winner {
    grid-template-columns: 28px 38px minmax(0,1fr);
  }

  .q7winner strong {
    grid-column: 3;
  }

  .q7widget-inner {
    grid-template-columns: 28px minmax(0,1fr) 36px;
  }

  .q7widget-inner > div b {
    font-size: 12px;
  }

  .q7widget-inner > div span {
    font-size: 10px;
  }
}

.q7brand {
  min-width: 0;
}

.q7brand img {
  display: block;
  width: 176px;
  height: auto;
  max-height: 76px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 4px 14px rgba(246,184,15,.16));
}

.q7footer .q7brand img {
  width: 164px;
  max-height: 72px;
}

.q7prose {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.q7prose-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  margin: 16px 0;
}

.q7prose-table-wrap table {
  width: max-content;
  min-width: 620px;
  max-width: none;
  margin: 0;
}

.q7table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.q7block,
.q7info-page,
.q7main,
.q7container {
  min-width: 0;
}

@media (max-width: 760px) {
  .q7brand img {
    width: 128px;
    max-height: 56px;
  }

  .q7footer .q7brand img {
    width: 150px;
    max-height: 66px;
  }

  .q7navigation {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 88px 18px 28px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #160b1b !important;
    box-shadow: none !important;
    z-index: 9998 !important;
    transform: translateX(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  .q7navigation.q7open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .q7burger,
  .q7burger.q7open {
    z-index: 9999 !important;
  }

  .q7burger.q7open {
    position: fixed !important;
    top: 14px !important;
    right: 14px !important;
  }

  .q7prose-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }

  .q7prose-table-wrap table,
  .q7table {
    min-width: 560px;
  }
}

@media (max-width: 470px) {
  .q7brand img {
    width: 118px;
    max-height: 52px;
  }

  .q7prose-table-wrap table,
  .q7table {
    min-width: 520px;
  }
}
