/* =========================================================
   Front 1win 2026 — camada visual sobre o backend DeBaron
   Referência: HTMLs capturados pelo usuário em 28/09/2026.
   Mantém IDs/data-* e rotas funcionais da aplicação.
   ========================================================= */

:root {
  /* tokens observados no front de referência */
  --ow-neutral-1: #141415;
  --ow-neutral-2: #1d1e20;
  --ow-neutral-3: #2e3035;
  --ow-neutral-4: #3b3d43;
  --ow-neutral-5: #44474e;
  --ow-text: #f0f2f5;
  --ow-text-2: #b3b6bd;
  --ow-text-3: #797f8b;
  --ow-primary: #0075ff;
  --ow-primary-hover: #1381ff;
  --ow-accent: #00b24b;
  --ow-accent-hover: #00d95b;
  --ow-divider: rgba(255,255,255,.08);
  --ow-border: rgba(255,255,255,.12);
  --ow-hover: rgba(255,255,255,.12);
  --ow-hover-strong: rgba(255,255,255,.16);
  --ow-header-mobile: 60px;
  --ow-header-desktop: 68px;
  --ow-sidebar-compact: 64px;
  --ow-sidebar-expanded: 280px;
  --ow-container-max: 1640px;
  --ow-page-mobile: 16px;
  --ow-page-desktop: 48px;
  --ow-radius-card: 10px;
  --ow-radius-s: 12px;
  --ow-radius-m: 16px;
  --ow-radius-l: 20px;
  --ow-radius-xl: 24px;

  /* sincroniza os tokens legados usados pelas páginas existentes */
  --bg: var(--ow-neutral-1);
  --bg-2: var(--ow-neutral-2);
  --bg-3: var(--ow-neutral-3);
  --bg-4: var(--ow-neutral-4);
  --bg-5: var(--ow-neutral-5);
  --text: var(--ow-text);
  --text-2: #9aa1b1;
  --text-3: var(--ow-text-3);
  --border: var(--ow-divider);
  --border-2: var(--ow-border);
  --primary: var(--ow-primary);
  --primary-hover: var(--ow-primary-hover);
  --accent: var(--ow-accent);
  --accent-hover: var(--ow-accent-hover);
  --header-h: var(--ow-header-mobile);
  --sidebar-w: var(--ow-sidebar-expanded);
  --sidebar-w-compact: var(--ow-sidebar-compact);
  --content-max: var(--ow-container-max);
  --spacing-page: var(--ow-page-mobile);
}

@media (min-width: 1024px) {
  :root {
    --header-h: var(--ow-header-desktop);
    --spacing-page: var(--ow-page-desktop);
  }
}

html, body {
  background: var(--ow-neutral-1) !important;
  color: var(--ow-text);
}
body {
  min-width: 0;
  overflow-x: clip;
}

/* ---------- shell ---------- */
.app-shell {
  padding-top: calc(var(--header-h) + var(--safe-t, 0px));
  background: var(--ow-neutral-1);
}
@media (min-width:1024px) {
  .app-shell {
    padding-left: var(--ow-sidebar-compact);
    transition: padding-left .25s cubic-bezier(.33,1,.68,1);
  }
  body:not(.sidebar-compact) .app-shell {
    padding-left: var(--ow-sidebar-expanded);
  }
  body.sidebar-compact .app-shell {
    padding-left: var(--ow-sidebar-compact);
  }
}

.main { min-width:0; }
.main__container {
  width: 100%;
  max-width: var(--ow-container-max);
  margin-inline: auto;
  padding: 12px var(--ow-page-mobile) 24px;
}
@media (min-width:1024px) {
  .main__container {
    padding: 24px var(--ow-page-desktop) 32px;
  }
}

/* ---------- header ---------- */
.site-header {
  height: calc(var(--header-h) + var(--safe-t,0px));
  border: 0 !important;
  background: var(--ow-neutral-1) !important;
  box-shadow: none !important;
}
.site-header__inner {
  width:100%;
  max-width: var(--ow-container-max);
  height:var(--header-h);
  margin-inline:auto;
  padding-inline: var(--ow-page-mobile);
  gap:12px;
}
@media (min-width:1024px) {
  .site-header__inner { padding-inline:var(--ow-page-desktop); }
}
.site-header .logo { min-width:0; }
.site-header .logo__img {
  object-fit:contain !important;
  object-position:left center !important;
}

.header-nav {
  background: transparent !important;
  padding:0 !important;
  gap:4px !important;
  margin-inline-start:12px !important;
}
.header-nav__link {
  position:relative;
  width:40px;
  height:40px;
  padding:0;
  border-radius:12px;
  justify-content:center;
  color:#b3b6bd;
  background:transparent;
  box-shadow:none !important;
}
.header-nav__link > span:not(.header-nav__icon) { display:none; }
.header-nav__icon svg { width:20px; height:20px; }
.header-nav__link:hover { color:#fff; background:var(--ow-hover); }
.header-nav__link.is-active {
  color:#fff;
  background:var(--ow-primary);
}

.header-actions { gap:12px; }
.header-icon-btn,
.header-lang {
  width:44px;
  height:44px;
  border-radius:12px;
}
.header-icon-btn:hover,
.header-lang:hover,
.lang-switch__btn.is-open { background:var(--ow-hover); }

.btn,
.btn--login,
.btn--register,
.btn--ghost,
.btn--primary,
.btn--accent {
  min-height:44px;
  height:44px;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
  box-shadow:none;
}
.btn--login {
  min-width:82px;
  background:rgba(255,255,255,.12);
  color:#fff;
}
.btn--login:hover { background:rgba(255,255,255,.16); }
.btn--register,
.btn--accent {
  background:var(--ow-accent);
  color:#fff;
}
.btn--register:hover,
.btn--accent:hover { background:var(--ow-accent-hover); }
.btn--primary { background:var(--ow-primary); }
.btn--primary:hover { background:var(--ow-primary-hover); }

.header-balance {
  height:44px;
  border-radius:12px;
  background:rgba(255,255,255,.12);
  padding-inline:12px 5px;
}
.header-balance__deposit {
  width:34px;
  height:34px;
  border-radius:10px;
  background:var(--ow-accent);
}
.header-user {
  width:44px;
  height:44px;
  border-radius:12px;
  background:var(--ow-neutral-3);
}

.lang-switch__menu {
  top:calc(100% + 8px);
  min-width:168px;
  background:var(--ow-neutral-2);
  border:1px solid var(--ow-divider);
  border-radius:16px;
  padding:6px;
}
.lang-switch__item {
  min-height:40px;
  padding:8px 10px;
  border-radius:10px;
}
.lang-switch__item.is-active {
  background:rgba(0,117,255,.14);
  color:#fff;
}

@media (max-width:767px) {
  .site-header__inner { gap:8px; }
  .header-actions { gap:6px; }
  .header-actions .btn--login,
  .header-actions .btn--register {
    min-height:40px !important;
    height:40px !important;
    border-radius:12px !important;
    padding-inline:12px !important;
  }
  .header-lang { width:40px; height:40px; }
  .header-balance { height:40px; }
  .header-user { width:40px; height:40px; }
}

/* ---------- sidebar ---------- */
.sidebar {
  top:0;
  bottom:0;
  width:var(--ow-sidebar-expanded);
  padding-top:calc(var(--header-h) + var(--safe-t,0px));
  background:var(--ow-neutral-1);
  border:0;
  border-inline-end:1px solid transparent;
  box-shadow:none;
}
@media (min-width:1024px) {
  body.sidebar-compact .sidebar { width:var(--ow-sidebar-compact); }
  body:not(.sidebar-compact) .sidebar { width:var(--ow-sidebar-expanded); }
}
.sidebar::after {
  content:"";
  position:absolute;
  inset-block:calc(var(--header-h) + 8px) 8px;
  inset-inline-end:0;
  width:1px;
  background:var(--ow-divider);
  opacity:.55;
}
.sidebar-expand {
  width:32px;
  height:32px;
  border-radius:10px;
  background:var(--ow-neutral-2);
  border:1px solid var(--ow-divider);
  color:#b3b6bd;
}
.sidebar-expand:hover { background:var(--ow-neutral-3); color:#fff; }
.sidebar-section { margin:4px 8px 12px; }
.sidebar-section__title {
  padding:4px 10px 8px;
  color:#797f8b;
  font-size:11px;
  letter-spacing:.02em;
  text-transform:none;
}
.sidebar-group,
.sidebar-link {
  min-height:44px;
  border-radius:12px;
  padding:0 12px;
  gap:12px;
  color:#b3b6bd;
  font-size:14px;
  font-weight:600;
}
.sidebar-group:hover,
.sidebar-link:hover { background:var(--ow-hover); color:#fff; }
.sidebar-link.is-active {
  background:rgba(255,255,255,.12);
  color:#fff;
}
.sidebar-link__icon { width:24px; min-width:24px; height:24px; }
.sidebar-link__icon img { width:24px; height:24px; object-fit:contain; }
.sidebar-link__badge {
  min-width:24px;
  height:22px;
  padding-inline:6px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#b3b6bd;
  font-size:11px;
}
body.sidebar-compact .sidebar-section { margin-inline:8px; }
body.sidebar-compact .sidebar-group,
body.sidebar-compact .sidebar-link {
  width:48px;
  min-width:48px;
  height:48px;
  min-height:48px;
  padding:0;
  margin:0 auto 4px;
  justify-content:center;
}
body.sidebar-compact .sidebar-link__icon { margin:0; }
body.sidebar-compact .sidebar-group__text,
body.sidebar-compact .sidebar-link__text,
body.sidebar-compact .sidebar-section__title,
body.sidebar-compact .sidebar-link__badge,
body.sidebar-compact .sidebar-group__chev { display:none !important; }
body.sidebar-compact .sidebar-group__items { display:block !important; }

/* mobile drawer */
@media (max-width:1023.98px) {
  .sidebar {
    width:min(88vw,320px);
    padding-top:var(--safe-t,0px);
    background:var(--ow-neutral-2);
    border-radius:0 20px 20px 0;
  }
  html[dir="rtl"] .sidebar { border-radius:20px 0 0 20px; }
  .sidebar::after { display:none; }
  .sidebar-head {
    min-height:60px;
    border-bottom:1px solid var(--ow-divider);
  }
  .sidebar-overlay { background:rgba(0,0,0,.68); }
}

/* ---------- home banners ---------- */
.hero-grid {
  display:grid;
  grid-template-areas:"a b c";
  grid-template-columns:minmax(0,67%) minmax(0,1fr) minmax(0,1fr);
  gap:12px;
  margin-bottom:32px;
}
.hero-grid__main { grid-area:a; min-width:0; }
.banner-carousel {
  border-radius:24px;
  box-shadow:0 0 0 1px var(--ow-divider);
  background:var(--ow-neutral-2);
  overflow:hidden;
  aspect-ratio:2.62/1;
}
.banner-carousel__track,
.banner-slide { height:100%; }
.banner-slide__img { width:100%; height:100%; object-fit:cover; }
.banner-slide__content { padding:20px 24px; }
.banner-slide__title {
  font-size:clamp(20px,2vw,32px);
  line-height:1.05;
  font-weight:800;
  max-width:55%;
}
.banner-slide__btn {
  min-height:40px;
  border-radius:12px;
  background:var(--ow-accent);
  padding-inline:18px;
  font-weight:700;
}
.banner-slide__btn:hover { background:var(--ow-accent-hover); }
.banner-carousel__nav {
  width:40px;
  height:40px;
  border-radius:12px;
  background:rgba(20,20,21,.72);
  backdrop-filter:blur(8px);
  border:1px solid var(--ow-divider);
  opacity:0;
  transition:opacity .15s,background .15s;
}
.banner-carousel:hover .banner-carousel__nav { opacity:1; }
.banner-carousel__nav:hover { background:var(--ow-neutral-3); }
.banner-carousel__dots { bottom:10px; }

.hero-side {
  min-height:152px;
  border-radius:24px;
  border:1px solid var(--ow-divider);
  padding:20px;
  box-shadow:none;
  overflow:hidden;
}
.hero-side__body { z-index:2; }
.hero-side__badge {
  background:rgba(255,255,255,.20);
  border:0;
  border-radius:999px;
  padding:4px 8px;
  font-size:11px;
}
.hero-side__title { font-size:16px; line-height:1.15; }
.hero-side__cta {
  border-radius:10px;
  min-height:36px;
  padding:0 12px;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-weight:700;
}
.hero-side:hover .hero-side__cta { background:rgba(255,255,255,.24); }

@media (max-width:1023.98px) {
  .hero-grid {
    grid-template-areas:"a a" "b c";
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-bottom:24px;
  }
  .banner-carousel { aspect-ratio:2.08/1; border-radius:20px; }
  .hero-side { min-height:92px; border-radius:20px; padding:12px; }
  .hero-side__title { font-size:13px; max-width:70%; }
  .hero-side__cta { display:none; }
  .banner-slide__content { padding:12px 14px; }
  .banner-slide__title { font-size:18px; max-width:65%; }
  .banner-carousel__nav { display:none; }
}

/* ---------- provider rail ---------- */
.provider-rail { margin:0 0 32px; }
.provider-rail__head { margin-bottom:12px; }
.provider-rail__title {
  color:#fff;
  font-size:20px;
  font-weight:700;
  letter-spacing:-.01em;
}
.provider-rail__hint { color:#797f8b; }
.provider-rail__scroller { gap:8px; padding:0; }
.provider-card {
  min-width:132px;
  min-height:56px;
  border-radius:16px;
  padding:8px 10px;
  background:rgba(255,255,255,.08);
  border:1px solid transparent;
  box-shadow:none;
}
.provider-card:hover { background:rgba(255,255,255,.12); border-color:transparent; }
.provider-card.is-active {
  background:rgba(0,117,255,.16);
  border-color:rgba(0,117,255,.42);
}
.provider-card__logo {
  width:34px;
  height:34px;
  border-radius:10px;
  background:rgba(255,255,255,.08);
}
.provider-card__name { font-size:12px; font-weight:700; }
.provider-card__count { font-size:10px; color:#797f8b; }

/* ---------- game sections/cards ---------- */
.game-section { margin:0 0 32px; }
.game-section__head {
  min-height:32px;
  margin-bottom:16px;
  display:flex;
  gap:12px;
  align-items:center;
}
.game-section__title {
  margin:0;
  font-size:20px;
  line-height:1.2;
  font-weight:700;
  color:#fff;
  letter-spacing:-.015em;
}
.game-section__count {
  color:#797f8b;
  font-size:12px;
  font-weight:600;
}
.game-section__arrows { display:flex; margin-inline-start:auto; gap:8px; }
.game-section__arrow,
.game-section__all {
  height:32px;
  min-width:32px;
  padding-inline:10px;
  border-radius:10px;
  background:rgba(255,255,255,.12);
  color:#b3b6bd;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
}
.game-section__arrow:hover,
.game-section__all:hover { background:rgba(255,255,255,.16); color:#fff; }
.game-section__all { margin-inline-start:0; }

.game-row {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 8px*2)/3);
  gap:8px;
  overflow-x:auto;
  padding:12px 16px;
  margin:-12px -16px;
  scrollbar-width:none;
  scroll-snap-type:x mandatory;
}
.game-row::-webkit-scrollbar { display:none; }
.game-row > * { scroll-snap-align:start; }
@media (min-width:768px) {
  .game-row {
    grid-auto-columns:calc((100% - 16px*5)/6);
    gap:16px;
    padding:12px 8px;
    margin:-12px -8px;
  }
}
@media (min-width:1024px) {
  .game-row { grid-auto-columns:calc((100% - 16px*6)/7); }
}
@media (min-width:1280px) {
  .game-row { grid-auto-columns:calc((100% - 16px*7)/8); }
}
@media (min-width:1500px) {
  .game-row { grid-auto-columns:calc((100% - 16px*8)/9); }
}

.game-card {
  width:100% !important;
  max-width:none !important;
  min-width:0;
  gap:6px;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  transition:transform .16s ease;
}
.game-card:hover { transform:translateY(-4px); }
.game-card__media {
  aspect-ratio:3/4;
  height:auto;
  border-radius:10px;
  padding:1px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.06));
}
.game-card__media::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  border:1px solid rgba(255,255,255,.08);
  pointer-events:none;
}
.game-card__media img {
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:9px;
}
.game-card__overlay {
  background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.55));
}
.game-card__play {
  width:42px;
  height:42px;
  border-radius:50%;
  background:rgba(20,20,21,.80);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(6px);
}
.game-card__body { padding:0 2px; min-height:34px; }
.game-card__name {
  font-size:12px;
  line-height:16px;
  font-weight:600;
  color:#f0f2f5;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
}
.game-card__provider {
  margin-top:2px;
  font-size:10px;
  line-height:14px;
  color:#797f8b;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
}

.game-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
@media (min-width:600px) { .game-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; } }
@media (min-width:768px) { .game-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:16px; } }
@media (min-width:1024px) { .game-grid { grid-template-columns:repeat(7,minmax(0,1fr)); } }
@media (min-width:1280px) { .game-grid { grid-template-columns:repeat(8,minmax(0,1fr)); } }
@media (min-width:1500px) { .game-grid { grid-template-columns:repeat(9,minmax(0,1fr)); } }

/* ---------- casino catalog ---------- */
.onewin-casino-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.onewin-casino-tabs {
  display:flex;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  scrollbar-width:none;
}
.onewin-casino-tabs::-webkit-scrollbar { display:none; }
.onewin-casino-tab {
  height:40px;
  padding-inline:14px;
  border-radius:12px;
  background:transparent;
  color:#b3b6bd;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.onewin-casino-tab:hover { background:rgba(255,255,255,.12); color:#fff; }
.onewin-casino-tab.is-active { background:var(--ow-primary); color:#fff; }
.onewin-casino-tools {
  display:flex;
  align-items:center;
  gap:8px;
}
.search-bar.onewin-search {
  margin:0 0 16px;
  display:flex;
  gap:8px;
  background:transparent;
}
.search-bar.onewin-search input {
  height:44px;
  border-radius:12px;
  border:1px solid transparent;
  background:rgba(255,255,255,.08);
  padding:0 14px;
  color:#fff;
}
.search-bar.onewin-search input:focus {
  border-color:rgba(0,117,255,.55);
  box-shadow:0 0 0 2px rgba(0,117,255,.14);
  background:rgba(255,255,255,.10);
}
.search-bar.onewin-search button {
  height:44px;
  border-radius:12px;
  background:rgba(255,255,255,.12);
  color:#fff;
  padding-inline:16px;
}
.onewin-category-rail {
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:4px 0 14px;
  margin-bottom:10px;
  scrollbar-width:none;
}
.onewin-category-rail::-webkit-scrollbar{display:none}
.onewin-category-chip {
  min-height:40px;
  padding:0 14px;
  border-radius:12px;
  background:rgba(255,255,255,.08);
  color:#b3b6bd;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}
.onewin-category-chip:hover { background:rgba(255,255,255,.12); color:#fff; }
.onewin-category-chip img { width:20px; height:20px; object-fit:contain; }
.catalog-count { color:#797f8b; margin:0 0 14px; font-size:12px; }
.page-title.onewin-casino-title { display:none; }

/* ---------- sports ---------- */
.sports-page {
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:16px;
  align-items:start;
}
.sports-page__main { min-width:0; }
.sports-page__aside {
  position:sticky;
  top:calc(var(--header-h) + 16px);
  min-width:0;
}
.sports-hero {
  background:var(--ow-neutral-2);
  border:1px solid var(--ow-divider);
  border-radius:20px;
  min-height:132px;
  padding:20px;
  margin-bottom:12px;
  overflow:hidden;
}
.sports-hero__overlay {
  background:radial-gradient(80% 130% at 100% 0%,rgba(0,117,255,.25),transparent 70%);
}
.sports-hero__badge {
  background:rgba(255,255,255,.10);
  border-radius:999px;
  color:#b3b6bd;
}
.sports-hero__pulse { background:var(--ow-accent); }
.sports-hero__title { font-size:24px; line-height:1.1; margin-top:8px; }
.sports-hero__desc { color:#797f8b; max-width:680px; }
.sports-hero__categories { margin-top:16px; gap:8px; }
.sports-cat-btn,
.sports-filter {
  min-height:40px;
  border-radius:12px;
  background:rgba(255,255,255,.08);
  border:0;
  color:#b3b6bd;
  font-weight:700;
}
.sports-cat-btn:hover,
.sports-cat-btn.is-active,
.sports-filter:hover { background:rgba(255,255,255,.12); color:#fff; }
.sports-filter.is-active { background:var(--ow-primary); color:#fff; }
.sports-page__nav { margin-bottom:12px; }
.sports-wallet {
  border-radius:16px;
  background:var(--ow-neutral-2);
  border:1px solid var(--ow-divider);
  box-shadow:none;
}
.sports-wallet__deposit { border-radius:12px; background:var(--ow-accent); }
.sports-list > *,
.match-card,
.sports-event-card {
  border-radius:16px;
}
@media (max-width:1199px) {
  .sports-page { grid-template-columns:minmax(0,1fr); }
  .sports-page__aside { display:none; }
}
@media (max-width:767px) {
  .sports-hero { padding:16px; border-radius:16px; }
  .sports-hero__title { font-size:20px; }
}

/* ---------- free money ---------- */
.fm-page { padding-bottom:0; }
.fm-hero {
  min-height:220px;
  border-radius:24px;
  border:1px solid var(--ow-divider);
  background:var(--ow-neutral-2);
  overflow:hidden;
  margin-bottom:24px;
}
.fm-hero__body { padding:24px; }
.fm-hero__badge {
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:0;
}
.fm-hero__title { font-size:28px; line-height:1.05; }
.fm-hero__sub { color:#b3b6bd; }
.fm-section { margin:32px 0; }
.fm-section__title { font-size:20px; }
.fm-fs-card,
.fm-roleta-section,
.fm-mission,
.fm-extra,
.account-card {
  background:var(--ow-neutral-2);
  border:1px solid var(--ow-divider);
  box-shadow:none;
  border-radius:16px;
}
.fm-extra:hover { border-color:rgba(255,255,255,.16); transform:translateY(-2px); }

/* ---------- modals/forms ---------- */
.modal-backdrop { background:rgba(0,0,0,.72); backdrop-filter:blur(3px); }
.modal-panel {
  border-radius:24px;
  background:var(--ow-neutral-2);
  border:1px solid var(--ow-divider);
  box-shadow:0 24px 80px rgba(0,0,0,.55);
}
.modal-panel input,
.modal-panel select,
.modal-panel textarea,
.form-field input,
.form-field select,
.form-field textarea {
  border-radius:12px;
  background:rgba(255,255,255,.08);
  border:1px solid transparent;
}
.modal-panel input:focus,
.form-field input:focus {
  border-color:rgba(0,117,255,.52);
  box-shadow:0 0 0 2px rgba(0,117,255,.14);
}

/* ---------- footer ---------- */
.site-footer {
  border-top:1px solid var(--ow-divider);
  margin-top:32px;
  color:#797f8b;
}

/* ---------- mobile bottom navigation ---------- */
.tabbar {
  min-height:60px;
  height:calc(60px + var(--safe-b,0px));
  background:rgba(29,30,32,.96);
  border-top:1px solid var(--ow-divider);
  backdrop-filter:blur(14px);
  padding-bottom:var(--safe-b,0px);
}
.tabbar__item {
  color:#797f8b;
  gap:3px;
  font-size:10px;
  font-weight:600;
}
.tabbar__icon { width:26px; height:26px; }
.tabbar__icon svg { width:22px; height:22px; }
.tabbar__item.is-active { color:#fff; }
.tabbar__item.is-active .tabbar__icon {
  color:#fff;
  background:rgba(255,255,255,.10);
  border-radius:10px;
}

/* ---------- responsive detail ---------- */
@media (max-width:1023.98px) {
  .provider-rail,
  .game-section { margin-bottom:24px; }
  .provider-rail__title,
  .game-section__title { font-size:16px; }
  .game-section__head { margin-bottom:12px; }
  .game-section__arrows { display:none; }
  .game-section__all { margin-inline-start:auto; }
  .main__container { padding-bottom:calc(84px + var(--safe-b,0px)); }
}
@media (max-width:560px) {
  .hero-grid { grid-template-areas:"a" "b" "c"; grid-template-columns:1fr; }
  .hero-side { min-height:92px; }
  .provider-card { min-width:116px; }
  .game-card__body { min-height:30px; }
  .game-card__name { font-size:11px; }
  .game-card__provider { font-size:9px; }
  .onewin-casino-head { align-items:flex-start; flex-direction:column; }
  .onewin-casino-tabs { width:100%; }
  .search-bar.onewin-search button { padding-inline:12px; }
}

/* RTL */
html[dir="rtl"] .site-header .logo__img { object-position:right center !important; }
html[dir="rtl"] .header-nav { margin-inline-start:12px !important; margin-left:0 !important; }
.onewin-category-chip.is-active {
  background: var(--ow-primary);
  color:#fff;
}
.onewin-category-chip.is-active img { filter:brightness(1.3); }
.sidebar-profile-slot { padding:8px; }
.sidebar-profile {
  width:100%;
  min-height:52px;
  border-radius:14px;
  padding:8px 10px;
  display:flex;
  align-items:center;
  gap:10px;
  background:transparent;
  color:#fff;
  text-align:start;
}
.sidebar-profile:hover { background:rgba(255,255,255,.08); }
.sidebar-profile__avatar {
  width:36px;
  height:36px;
  min-width:36px;
  border-radius:12px;
  background:var(--ow-neutral-3);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:14px;
}
.sidebar-profile__avatar--guest { font-size:17px; }
.sidebar-profile__copy { min-width:0; flex:1; display:flex; flex-direction:column; }
.sidebar-profile__copy strong { font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sidebar-profile__copy small { color:#797f8b; font-size:11px; }
.sidebar-profile__chev { color:#797f8b; }
.sidebar-profile__chev svg { width:16px; height:16px; }
.sidebar-separator { height:1px; margin:8px 12px 12px; background:var(--ow-divider); }
.sidebar-bottom-spacer { height:16px; }
.sidebar-link__emoji { display:flex; align-items:center; justify-content:center; font-size:18px; color:#b3b6bd; }
@media (min-width:1024px) {
  body.sidebar-compact .sidebar-profile-slot { padding:8px; }
  body.sidebar-compact .sidebar-profile { width:48px; height:48px; min-height:48px; padding:6px; margin:auto; justify-content:center; }
  body.sidebar-compact .sidebar-profile__avatar { width:36px; height:36px; min-width:36px; }
  body.sidebar-compact .sidebar-profile__copy,
  body.sidebar-compact .sidebar-profile__chev,
  body.sidebar-compact .sidebar-separator,
  body.sidebar-compact .sidebar-section--providers { display:none; }
}
/* sportsbook compact navigation from captured front */
.sportsbook-topnav {
  display:flex;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  padding:0 0 12px;
  margin-bottom:4px;
  scrollbar-width:none;
}
.sportsbook-topnav::-webkit-scrollbar { display:none; }
.sportsbook-topnav__item {
  position:relative;
  min-height:40px;
  padding:0 14px;
  border-radius:12px;
  color:#b3b6bd;
  background:transparent;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  white-space:nowrap;
  font-size:14px;
  font-weight:700;
}
button.sportsbook-topnav__item:hover { background:rgba(255,255,255,.12); color:#fff; }
.sportsbook-topnav__item.is-active { background:var(--ow-primary); color:#fff; }
.sportsbook-topnav__item--history { margin-inline-start:auto; }
.sportsbook-category-rail {
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding-bottom:12px;
  margin-bottom:4px;
  scrollbar-width:none;
}
.sportsbook-category-rail::-webkit-scrollbar { display:none; }
.sportsbook-category-rail .sports-cat-btn {
  min-height:36px;
  padding:0 12px;
  font-size:12px;
  flex:0 0 auto;
}
@media (max-width:767px) {
  .sportsbook-topnav__item { min-height:38px; padding-inline:12px; font-size:13px; }
  .sportsbook-topnav__item--history { margin-inline-start:0; }
}
@media (min-width:1024px) {
  .site-header {
    left:var(--ow-sidebar-compact);
    right:0;
    transition:left .25s cubic-bezier(.33,1,.68,1), right .25s cubic-bezier(.33,1,.68,1);
  }
  body:not(.sidebar-compact) .site-header { left:var(--ow-sidebar-expanded); }
  html[dir="rtl"] .site-header { left:0; right:var(--ow-sidebar-compact); }
  html[dir="rtl"] body:not(.sidebar-compact) .site-header { right:var(--ow-sidebar-expanded); }
}
/* No HTML capturado da home, provedores ficam no catálogo e não como rail principal. */
body[data-page="home"] .provider-rail { display:none; }
body[data-page="home"] .sports-cta { display:none; }

/* =========================================================
   V2 — reconstrução baseada diretamente nos HTMLs capturados
   Home / Cassino / Free money. Mantém backend e IDs do app.
   ========================================================= */

/* página / ritmos do container da referência */
.ow-page { width:100%; min-width:0; }
.ow-home-page,
.ow-casino-page,
.ow-freemoney-page { display:flex; flex-direction:column; gap:32px; }

/* HOME: grid a/b/c = 67% + 1fr + 1fr */
.ow-home-hero {
  display:grid;
  grid-template-areas:"a b c";
  grid-template-columns:minmax(0,67%) minmax(0,1fr) minmax(0,1fr);
  gap:12px;
  align-items:stretch;
}
.ow-home-hero__main { grid-area:a; min-width:0; }
.ow-home-hero > .hero-side:nth-of-type(1) { grid-area:b; }
.ow-home-hero > .hero-side:nth-of-type(2) { grid-area:c; }
.ow-banner-carousel,
.ow-banner-empty {
  position:relative;
  width:100%;
  height:auto;
  aspect-ratio:2.625/1;
  border-radius:24px;
  overflow:hidden;
  background:#1d1e20;
  border:0;
  box-shadow:none;
}
.ow-banner-carousel .banner-carousel__track {
  display:flex;
  height:100%;
  transition:transform .4s cubic-bezier(.22,.61,.36,1);
}
.ow-banner-slide {
  position:relative;
  flex:0 0 100%;
  width:100%;
  height:100%;
  display:block;
  overflow:hidden;
  background:#1d1e20;
}
.ow-banner-slide__img {
  position:absolute;
  inset:0;
  z-index:1;
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  opacity:1 !important;
  visibility:visible !important;
}
.ow-banner-slide .banner-slide__content { display:none !important; }
.ow-banner-carousel .banner-carousel__nav { z-index:4; }
.ow-banner-carousel .banner-carousel__dots { z-index:4; }
.ow-banner-empty { display:grid; place-items:center; font-size:26px; font-weight:800; color:#fff; }

.ow-side-banner {
  position:relative;
  min-width:0;
  height:100%;
  min-height:0;
  border-radius:24px !important;
  overflow:hidden;
  border:0 !important;
  background:#1b2134;
  padding:20px !important;
}
.ow-side-banner .hero-side__bg,
.ow-side-banner .hero-side__fg { pointer-events:none; }
.ow-side-banner .hero-side__body { position:relative; z-index:3; height:100%; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; }
.ow-side-banner .hero-side__badge { margin-bottom:8px; }
.ow-side-banner .hero-side__title { max-width:145px; font-size:16px; line-height:19px; margin-bottom:12px; }

/* Seções de jogos da referência: título clicável + setas à direita */
.ow-game-sections { display:flex; flex-direction:column; gap:32px; min-width:0; }
.ow-game-section { margin:0 !important; min-width:0; }
.ow-game-section__head {
  display:flex !important;
  align-items:center !important;
  min-height:32px;
  margin:0 0 16px !important;
  gap:16px !important;
}
.ow-game-section__title-link {
  min-width:0;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#f0f2f5;
  text-decoration:none;
}
.ow-game-section__title-link:hover { color:#fff; }
.ow-game-section__icon { width:24px; height:24px; object-fit:contain; flex:0 0 24px; }
.ow-game-section .game-section__title {
  margin:0;
  font-size:20px !important;
  line-height:24px !important;
  font-weight:600 !important;
  letter-spacing:0 !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ow-game-section__forward { width:16px; height:16px; color:#b3b6bd; display:inline-flex; }
.ow-game-section__forward svg { width:16px; height:16px; }
.ow-game-section__arrows { margin-inline-start:auto !important; display:flex !important; gap:4px !important; }
.ow-game-section__arrows .game-section__arrow {
  width:32px !important;
  min-width:32px !important;
  height:32px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:10px !important;
  background:rgba(179,182,189,.12) !important;
  color:#b3b6bd !important;
}
.ow-game-section__arrows .game-section__arrow:hover { background:rgba(179,182,189,.20) !important; color:#fff !important; }

.ow-game-row {
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:4px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scrollbar-width:none;
  scroll-snap-type:x mandatory;
  padding:12px 16px !important;
  margin:-12px -16px !important;
}
.ow-game-row::-webkit-scrollbar { display:none; }
.ow-game-row > .ow-game-card {
  flex:0 0 calc((100% - 8px) / 3) !important;
  width:calc((100% - 8px) / 3) !important;
  min-width:0 !important;
  scroll-snap-align:start;
}
@media (min-width:768px) {
  .ow-game-row { padding-inline:8px !important; margin-inline:-8px !important; }
  .ow-game-row > .ow-game-card { flex-basis:calc((100% - 24px) / 7) !important; width:calc((100% - 24px) / 7) !important; }
}
@media (min-width:1024px) {
  .ow-game-row > .ow-game-card { flex-basis:calc((100% - 24px) / 7) !important; width:calc((100% - 24px) / 7) !important; }
}
@media (min-width:1440px) {
  .ow-game-row > .ow-game-card { flex-basis:calc((100% - 28px) / 8) !important; width:calc((100% - 28px) / 8) !important; }
}
@media (min-width:1920px) {
  .ow-game-row > .ow-game-card { flex-basis:calc((100% - 32px) / 9) !important; width:calc((100% - 32px) / 9) !important; }
}

.ow-game-card {
  display:block !important;
  position:relative;
  background:transparent !important;
  border:0 !important;
  border-radius:10px !important;
  padding:0 !important;
  transform:none !important;
  text-decoration:none;
}
.ow-game-card__media {
  position:relative;
  width:100%;
  aspect-ratio:3/4 !important;
  height:auto !important;
  padding:0 !important;
  border-radius:10px !important;
  overflow:hidden;
  background:#1d1e20 !important;
}
.ow-game-card__media::after { display:none !important; }
.ow-game-card__media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:10px !important; }
.ow-game-card .game-card__overlay { opacity:0; background:rgba(0,0,0,.28); transition:opacity .18s ease; }
.ow-game-card:hover .game-card__overlay { opacity:1; }
.ow-game-card .game-card__play { width:40px; height:40px; background:rgba(20,20,21,.72); }
.ow-game-card__sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* CASINO — preset navigation + hero 57.52/auto + sticky search */
.ow-casino-page { gap:24px; }
.ow-preset-tabs {
  display:flex !important;
  align-items:center;
  gap:4px !important;
  padding:2px !important;
  width:max-content;
  max-width:100%;
  overflow-x:auto;
  border-radius:14px !important;
  background:rgba(179,182,189,.12) !important;
  scrollbar-width:none;
}
.ow-preset-tabs::-webkit-scrollbar { display:none; }
.ow-preset-tabs .onewin-casino-tab {
  flex:0 0 auto;
  min-height:40px !important;
  height:40px !important;
  padding:0 14px !important;
  border-radius:12px !important;
  border:0 !important;
  background:transparent !important;
  color:#b3b6bd !important;
  font-size:14px !important;
  font-weight:600 !important;
}
.ow-preset-tabs .onewin-casino-tab.is-active { background:#0075ff !important; color:#fff !important; }

.ow-casino-hero {
  display:grid;
  grid-template-columns:minmax(0,57.52%) minmax(0,1fr);
  gap:16px;
  min-width:0;
}
.ow-casino-hero__banner { min-width:0; }
.ow-casino-hero .ow-banner-carousel,
.ow-casino-hero .ow-banner-empty { aspect-ratio:2.625/1; border-radius:24px; }
.ow-week-game {
  position:relative;
  min-width:0;
  overflow:hidden;
  border-radius:24px;
  background:linear-gradient(135deg,#252934,#17181b);
  color:#fff;
  text-decoration:none;
}
.ow-week-game::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(20,20,21,.88) 0%,rgba(20,20,21,.42) 50%,rgba(20,20,21,.05) 100%); }
.ow-week-game > img { position:absolute; inset:0 0 0 auto; width:62%; height:100%; object-fit:cover; }
.ow-week-game__copy { position:absolute; z-index:2; left:20px; top:20px; max-width:50%; display:flex; flex-direction:column; gap:8px; }
.ow-week-game__copy span { color:#9aa1b1; font-size:12px; font-weight:600; }
.ow-week-game__copy strong { font-size:22px; line-height:1.08; }
.ow-week-game__play { position:absolute; z-index:3; left:20px; bottom:20px; width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:#0075ff; }

.ow-casino-sticky {
  position:sticky;
  top:calc(var(--header-h) + var(--safe-t,0px));
  z-index:20;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 0;
  background:#141415;
}
.ow-casino-search {
  flex:1 1 auto;
  height:44px;
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  border-radius:14px;
  background:#1d1e20;
  color:#9aa1b1;
}
.ow-casino-search__icon { display:inline-flex; width:18px; height:18px; }
.ow-casino-search__icon svg { width:18px; height:18px; }
.ow-casino-search input { flex:1; min-width:0; border:0; outline:0; background:transparent; color:#f0f2f5; font:inherit; }
.ow-casino-search input::placeholder { color:#797f8b; }
.ow-casino-search__clear { width:24px; height:24px; display:grid; place-items:center; color:#9aa1b1; font-size:20px; text-decoration:none; }
.ow-providers-button {
  flex:0 0 auto;
  height:44px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  border-radius:14px;
  background:#1d1e20;
  color:#f0f2f5;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
}
.ow-category-rail {
  display:flex !important;
  gap:8px !important;
  overflow-x:auto !important;
  scrollbar-width:none;
  padding:4px 0 !important;
  margin:0 !important;
}
.ow-category-rail::-webkit-scrollbar { display:none; }
.ow-category-rail .onewin-category-chip {
  flex:0 0 auto;
  height:40px !important;
  min-height:40px !important;
  padding:0 12px !important;
  border-radius:999px !important;
  background:#1d1e20 !important;
  border:0 !important;
  color:#b3b6bd !important;
  display:inline-flex;
  align-items:center;
  gap:7px;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}
.ow-category-rail .onewin-category-chip:hover { background:#2e3035 !important; color:#fff !important; }
.ow-category-rail .onewin-category-chip img { width:18px !important; height:18px !important; object-fit:contain; }
.ow-provider-wrap .provider-rail { margin:0 !important; }
.ow-search-results { display:flex; flex-direction:column; gap:16px; }
.ow-search-results__head { display:flex; align-items:center; gap:10px; }
.ow-search-results__head h1 { margin:0; font-size:20px; font-weight:600; }
.ow-search-results__head span { color:#797f8b; font-size:13px; }
.ow-game-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:4px !important; }
@media (min-width:768px) { .ow-game-grid { grid-template-columns:repeat(7,minmax(0,1fr)) !important; } }
@media (min-width:1440px) { .ow-game-grid { grid-template-columns:repeat(8,minmax(0,1fr)) !important; } }
@media (min-width:1920px) { .ow-game-grid { grid-template-columns:repeat(9,minmax(0,1fr)) !important; } }

/* FREE MONEY — heading + chips, sem inventar funções que o backend não possui */
.ow-freemoney-page { gap:24px; }
.ow-freemoney-heading h1 { margin:0; font-size:28px; line-height:34px; font-weight:700; }
.ow-freemoney-nav { display:flex; align-items:center; gap:8px; overflow-x:auto; scrollbar-width:none; }
.ow-freemoney-nav::-webkit-scrollbar { display:none; }
.ow-freemoney-nav a { flex:0 0 auto; min-height:40px; display:inline-flex; align-items:center; gap:8px; padding:0 14px; border-radius:999px; background:#1d1e20; color:#b3b6bd; text-decoration:none; font-size:13px; }
.ow-freemoney-nav a.is-active { background:#00b24b; color:#fff; }
.ow-freemoney-login,
.ow-freemoney-card { border:0 !important; border-radius:20px !important; background:#1d1e20 !important; box-shadow:none !important; }
.ow-freemoney-login { padding:20px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.ow-freemoney-login > div:first-child { display:flex; flex-direction:column; gap:4px; }
.ow-freemoney-login > div:first-child span { color:#9aa1b1; font-size:13px; }
.ow-freemoney-login__actions { display:flex; gap:8px; }
.ow-freemoney-card { padding:24px !important; margin:0 !important; }
.ow-freemoney-eyebrow { display:block; margin-bottom:6px; color:#12b857; font-size:12px; font-weight:700; }
.ow-freemoney-wheel-card { display:grid; grid-template-columns:minmax(240px,.8fr) minmax(340px,1.2fr); align-items:center; gap:28px; }
.ow-freemoney-wheel-card .daily-prize-copy h2 { font-size:30px; margin:0 0 8px; }
.ow-freemoney-wheel-card .daily-prize-copy p { color:#9aa1b1; }
.ow-card-heading { margin-bottom:16px; }
.ow-card-heading h2 { margin:0; }
.ow-freemoney-card .fm-extras { gap:8px; }
.ow-freemoney-card .fm-extra { background:#2e3035 !important; border:0 !important; border-radius:16px !important; }

/* SPORTS: mantém a API/bilhete, aproxima dimensões e superfícies */
.sports-page { gap:16px !important; }
.sports-page__aside { width:340px !important; }
.sportsbook-topnav,
.sportsbook-category-rail { background:transparent !important; border:0 !important; }
.sportsbook-topnav { display:flex; gap:4px; padding:2px; border-radius:14px; background:rgba(179,182,189,.12) !important; width:max-content; max-width:100%; overflow-x:auto; }
.sportsbook-topnav__item { min-height:40px !important; border-radius:12px !important; border:0 !important; background:transparent !important; }
.sportsbook-topnav__item.is-active { background:#0075ff !important; color:#fff !important; }
.sports-cat-btn { border:0 !important; background:#1d1e20 !important; border-radius:999px !important; }
.sports-cat-btn.is-active { background:#2e3035 !important; color:#fff !important; }

/* responsivo fiel: main hero + dois side cards lado a lado no mobile */
@media (max-width:1023.98px) {
  .ow-home-page,
  .ow-casino-page,
  .ow-freemoney-page { gap:24px; }
  .ow-home-hero { grid-template-areas:"a a" "b c"; grid-template-columns:1fr 1fr; gap:8px; }
  .ow-home-hero__main { grid-area:a; }
  .ow-home-hero > .hero-side:nth-of-type(1) { grid-area:b; }
  .ow-home-hero > .hero-side:nth-of-type(2) { grid-area:c; }
  .ow-banner-carousel,
  .ow-banner-empty { aspect-ratio:2.078/1; border-radius:20px; }
  .ow-side-banner { min-height:92px !important; padding:12px !important; border-radius:20px !important; }
  .ow-side-banner .hero-side__title { font-size:13px; line-height:16px; margin-bottom:0; }
  .ow-side-banner .hero-side__cta { display:none !important; }
  .ow-game-sections { gap:24px; }
  .ow-game-section__head { margin-bottom:12px !important; }
  .ow-game-section .game-section__title { font-size:16px !important; line-height:22px !important; }
  .ow-game-section__icon { width:20px; height:20px; flex-basis:20px; }
  .ow-game-section__arrows { display:none !important; }
  .ow-casino-hero { grid-template-columns:1fr; gap:8px; }
  .ow-week-game { min-height:150px; }
  .ow-casino-sticky { top:calc(var(--header-h) + var(--safe-t,0px)); }
  .ow-providers-button { width:44px; padding:0; justify-content:center; font-size:0; }
  .ow-providers-button span { font-size:18px; }
  .ow-freemoney-heading h1 { font-size:24px; line-height:30px; }
  .ow-freemoney-login { align-items:flex-start; flex-direction:column; }
  .ow-freemoney-wheel-card { grid-template-columns:1fr; padding:16px !important; }
  .ow-freemoney-wheel-card .daily-prize-copy h2 { font-size:24px; }
}

@media (max-width:480px) {
  .ow-home-hero { gap:6px; }
  .ow-side-banner { border-radius:16px !important; }
  .ow-side-banner .hero-side__badge { font-size:9px; padding:3px 6px; }
  .ow-side-banner .hero-side__title { font-size:12px; line-height:14px; max-width:75%; }
  .ow-preset-tabs .onewin-casino-tab { padding-inline:11px !important; font-size:12px !important; }
  .ow-casino-search { height:40px; border-radius:12px; }
  .ow-providers-button { height:40px; border-radius:12px; }
  .ow-category-rail .onewin-category-chip { height:36px !important; min-height:36px !important; font-size:12px; }
  .ow-freemoney-card { border-radius:16px !important; }
}
.ow-banner-fallback {
  position:absolute;
  inset:0;
  z-index:0;
  display:flex;
  align-items:flex-end;
  padding:24px;
  white-space:pre-line;
  color:#fff;
  font-size:clamp(18px,2vw,30px);
  line-height:1.04;
  font-weight:800;
  background:radial-gradient(circle at 80% 20%,rgba(0,117,255,.24),transparent 38%),linear-gradient(135deg,#22242a,#17181b 70%);
}
.ow-banner-slide:not(.is-image-missing) .ow-banner-fallback { opacity:0; pointer-events:none; }
.ow-banner-slide.is-image-missing .ow-banner-fallback { opacity:1; }
@media(max-width:1023.98px){.ow-banner-fallback{padding:14px;font-size:18px}}
@media(min-width:1024px){.sports-page__aside{width:360px!important}}

/* =========================================================
   V3 — geometria medida diretamente do HTML salvo do 1win
   28/09/2026. Mantém backend/rotas DeBaron.
   ========================================================= */

/* --- layout/header: sidebar ocupa a coluna 64px desde o topo --- */
@media (min-width:1024px) {
  body.sidebar-compact .site-header { left:64px !important; }
  body:not(.sidebar-compact) .site-header { left:280px !important; }
  .site-header { right:0 !important; width:auto !important; }
  .site-header__inner {
    height:68px !important;
    max-width:1640px !important;
    margin-inline:auto !important;
    padding-inline:48px !important;
    gap:12px !important;
  }
  .main__container {
    max-width:1640px !important;
    padding:24px 48px 32px !important;
  }
}

.site-header {
  background:#141415 !important;
  border-bottom:0 !important;
  box-shadow:none !important;
}
.header-nav {
  height:44px !important;
  padding:2px !important;
  margin-inline-start:24px !important;
  gap:0 !important;
  border-radius:12px !important;
  background:rgba(179,182,189,.12) !important;
  overflow:hidden;
}
.header-nav__link {
  width:58px !important;
  min-width:58px !important;
  height:40px !important;
  border-radius:12px !important;
  padding:0 !important;
  color:#b3b6bd !important;
  background:transparent !important;
  position:relative;
}
.header-nav__link + .header-nav__link::before {
  content:"";
  position:absolute;
  left:-1px;
  top:8px;
  width:1px;
  height:24px;
  background:rgba(179,182,189,.12);
}
.header-nav__link:hover { background:rgba(179,182,189,.16) !important; color:#f0f2f5 !important; }
.header-nav__link.is-active { background:#0075ff !important; color:#fff !important; }
.header-nav__link.is-active::before,
.header-nav__link.is-active + .header-nav__link::before { opacity:0; }
.header-nav__icon svg { width:20px !important; height:20px !important; }
.header-actions { gap:12px !important; }
.header-actions .btn--login { min-width:78px !important; width:78px; }
.header-actions .btn--register { min-width:96px !important; width:96px; }
.header-actions .btn--login,
.header-actions .btn--register {
  height:44px !important;
  min-height:44px !important;
  border-radius:12px !important;
  font-size:14px !important;
}

/* --- sidebar 1win compact real: 64px, começa no topo --- */
@media (min-width:1024px) {
  .sidebar {
    top:0 !important;
    bottom:0 !important;
    padding:16px 8px 12px !important;
    background:#1d1e20 !important;
    border:0 !important;
    overflow-y:auto !important;
    overflow-x:visible !important;
    z-index:1200 !important;
  }
  body.sidebar-compact .sidebar { width:64px !important; }
  body:not(.sidebar-compact) .sidebar { width:280px !important; }
  .sidebar::after { display:none !important; }
  body.sidebar-compact .sidebar-profile-slot { padding:0 !important; margin:0 0 16px !important; }
  body.sidebar-compact .sidebar-profile {
    width:48px !important;
    min-width:48px !important;
    height:44px !important;
    min-height:44px !important;
    padding:0 !important;
    margin:0 auto !important;
    border-radius:22px !important;
    background:rgba(179,182,189,.16) !important;
  }
  body.sidebar-compact .sidebar-profile__avatar {
    width:44px !important;
    min-width:44px !important;
    height:44px !important;
    border-radius:50% !important;
    background:transparent !important;
    color:#797f8b !important;
  }
  body.sidebar-compact .sidebar-profile__avatar svg { width:24px; height:24px; }
  .sidebar-mini-freemoney {
    display:flex;
    align-items:flex-end;
    justify-content:center;
    width:48px;
    height:76px;
    margin:0 auto 16px;
    padding:8px 4px;
    border-radius:12px;
    background:linear-gradient(180deg,#899784 0%,#4b584e 100%);
    color:#fff;
    text-decoration:none;
    font-size:10px;
    font-weight:700;
    line-height:12px;
    text-align:left;
  }
  body:not(.sidebar-compact) .sidebar-mini-freemoney {
    width:calc(100% - 16px);
    height:88px;
    margin-inline:8px;
    align-items:center;
    justify-content:flex-start;
    padding:16px;
    font-size:14px;
    line-height:18px;
  }
  .sidebar-expand {
    display:flex !important;
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    margin:0 !important;
    padding:0 !important;
    position:absolute !important;
    top:152px !important;
    right:-16px !important;
    z-index:4;
    border-radius:50% !important;
    border:0 !important;
    background:#2e3035 !important;
    color:#9aa1b1 !important;
  }
  body:not(.sidebar-compact) .sidebar-expand { right:8px !important; }
  .sidebar-section--main { margin-top:16px !important; }
  body.sidebar-compact .sidebar-section { margin:0 !important; }
  body.sidebar-compact .sidebar-link,
  body.sidebar-compact .sidebar-group {
    width:48px !important;
    min-width:48px !important;
    height:36px !important;
    min-height:36px !important;
    padding:0 !important;
    margin:0 auto 4px !important;
    border-radius:12px !important;
  }
  body.sidebar-compact .sidebar-link.is-active { background:rgba(179,182,189,.16) !important; }
  body.sidebar-compact .sidebar-link__icon,
  body.sidebar-compact .sidebar-link__icon img { width:24px !important; height:24px !important; }
  body.sidebar-compact .sidebar-separator { margin:16px 0 !important; width:48px; }
  body.sidebar-compact .sidebar-section--providers { display:none !important; }
  .sidebar-fixed-bottom {
    margin-top:auto;
    padding-top:16px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
  }
  .sidebar-bottom-btn {
    width:48px;
    height:36px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:#2e3035;
    color:#f0f2f5;
    text-decoration:none;
    border:0;
  }
  .sidebar-bottom-btn--app { height:48px; background:#00adef; color:#fff; font-size:24px; }
}

/* --- casino preset: no original são chips de 36px --- */
.ow-casino-page { gap:32px !important; }
.ow-preset-tabs {
  height:36px !important;
  min-height:36px !important;
  padding:2px !important;
  gap:0 !important;
  border-radius:999px !important;
  background:rgba(179,182,189,.12) !important;
}
.ow-preset-tabs .onewin-casino-tab {
  height:32px !important;
  min-height:32px !important;
  padding:0 16px !important;
  border-radius:999px !important;
  font-size:14px !important;
  font-weight:600 !important;
  color:#f0f2f5 !important;
  position:relative;
}
.ow-preset-tabs .onewin-casino-tab + .onewin-casino-tab::before {
  content:"";
  position:absolute;
  left:0;
  top:7px;
  width:1px;
  height:18px;
  background:rgba(179,182,189,.12);
}
.ow-preset-tabs .onewin-casino-tab.is-active { background:#0075ff !important; color:#fff !important; }
.ow-preset-tabs .onewin-casino-tab.is-active::before,
.ow-preset-tabs .onewin-casino-tab.is-active + .onewin-casino-tab::before { opacity:0; }

/* hero medido: 57.52% + auto, gap16, banner 2.625:1 */
.ow-casino-hero {
  grid-template-columns:minmax(0,57.52%) minmax(0,1fr) !important;
  gap:16px !important;
  align-items:stretch !important;
}
.ow-casino-hero .ow-banner-carousel,
.ow-casino-hero .ow-banner-empty,
.ow-casino-hero__banner { aspect-ratio:2.625/1 !important; }
.ow-casino-hero .ow-banner-carousel,
.ow-casino-hero .ow-banner-empty { border-radius:24px !important; }
.ow-casino-hero__banner { min-height:0 !important; }

/* Game of the week — estrutura azul do HTML capturado */
.ow-week-game {
  min-height:0 !important;
  height:auto !important;
  aspect-ratio:auto !important;
  border-radius:24px !important;
  background:#3259fe !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 44% !important;
  gap:16px !important;
  padding:16px 16px 16px 16px !important;
  overflow:hidden !important;
}
.ow-week-game::after { display:none !important; }
.ow-week-game__copy {
  position:relative !important;
  inset:auto !important;
  max-width:none !important;
  z-index:2 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  min-width:0;
  height:100%;
}
.ow-week-game__headline {
  font-size:30px !important;
  line-height:32px !important;
  font-weight:700 !important;
  color:#fff !important;
  margin:0 !important;
}
.ow-week-game__meta {
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  color:#fff;
}
.ow-week-game__provider {
  font-size:14px;
  line-height:20px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ow-week-game__chev { display:inline-flex; color:#fff; }
.ow-week-game__chev svg { width:16px; height:16px; }
.ow-week-game__button {
  margin-top:12px;
  height:36px;
  padding:0 16px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#141415;
  font-size:14px;
  font-weight:700;
}
.ow-week-game__card {
  min-width:0;
  height:100%;
  border-radius:10px;
  overflow:hidden;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.7);
}
.ow-week-game__card img { width:100%; height:100%; object-fit:cover; display:block; }
.ow-week-game > img,
.ow-week-game__play { display:none !important; }

/* Busca original: botão Provedores tem 320px no desktop */
.ow-casino-sticky {
  position:relative !important;
  top:auto !important;
  z-index:2 !important;
  padding:0 !important;
  gap:8px !important;
  background:transparent !important;
}
.ow-casino-search,
.ow-providers-button {
  height:44px !important;
  border-radius:12px !important;
  background:rgba(179,182,189,.12) !important;
  border:0 !important;
}
.ow-casino-search { padding:0 16px !important; gap:12px !important; }
.ow-providers-button {
  flex:0 0 320px !important;
  width:320px !important;
  justify-content:center !important;
  padding:0 20px !important;
}

/* categorias: retângulos 40px/12px, Salão selecionado */
.ow-category-rail {
  gap:8px !important;
  padding:4px 0 !important;
  margin:-4px 0 !important;
}
.ow-category-rail .onewin-category-chip {
  height:40px !important;
  min-height:40px !important;
  padding:0 16px !important;
  border-radius:12px !important;
  background:rgba(179,182,189,.12) !important;
  color:#f0f2f5 !important;
  font-size:14px !important;
  font-weight:600 !important;
}
.ow-category-rail .onewin-category-chip:hover { background:rgba(179,182,189,.16) !important; }
.ow-category-rail .onewin-category-chip.is-active { background:#0075ff !important; color:#fff !important; }

/* seções e cards */
.ow-game-sections { gap:32px !important; }
.ow-game-section { margin:0 !important; }
.ow-game-section__head { margin-bottom:16px !important; min-height:32px !important; }
.ow-game-section .game-section__title { font-size:20px !important; line-height:24px !important; font-weight:700 !important; }
.ow-game-section__icon { width:24px !important; height:24px !important; }
.ow-game-section__arrows { gap:8px !important; }
.ow-game-section__arrows .game-section__arrow { width:32px !important; min-width:32px !important; height:32px !important; padding:0 !important; border-radius:10px !important; }
.ow-game-row { gap:16px !important; padding:12px 8px !important; margin:-12px -8px !important; }

/* Home — mesma geometria do HTML original */
.ow-home-hero {
  display:grid !important;
  grid-template-columns:minmax(0,67%) minmax(0,1fr) minmax(0,1fr) !important;
  gap:12px !important;
  align-items:stretch !important;
}
.ow-home-hero .ow-banner-carousel,
.ow-home-hero .ow-banner-empty { aspect-ratio:2.625/1 !important; border-radius:24px !important; }
.ow-home-hero .ow-side-banner { height:100% !important; min-height:0 !important; border-radius:20px !important; }

/* --- footer: estrutura do HTML capturado --- */
.site-footer.ow-footer {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:40px 0 16px !important;
  background:#141415 !important;
  border:0 !important;
  color:#f0f2f5;
  display:grid;
  gap:40px;
}
.site-footer.ow-footer > * {
  width:calc(100% - 96px);
  max-width:1544px;
  margin-inline:auto;
}
.ow-footer__header { display:flex; align-items:center; gap:16px; min-height:44px; }
.ow-footer__brand { height:36px; width:auto; max-width:180px; object-fit:contain; }
.ow-footer__line { height:1px; flex:1; background:rgba(179,182,189,.12); }
.ow-footer__lang,
.ow-footer__top {
  height:36px;
  border:0;
  border-radius:10px;
  background:rgba(179,182,189,.12);
  color:#f0f2f5;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 10px;
}
.ow-footer__lang img { border-radius:50%; object-fit:cover; }
.ow-footer__top { width:36px; padding:0; font-size:18px; }

.ow-footer-support { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ow-footer-support__main {
  min-height:88px;
  padding:16px;
  border-radius:16px;
  background:#1d1e20;
  display:flex;
  align-items:center;
  gap:24px;
  position:relative;
  overflow:hidden;
}
.ow-footer-support__copy { width:150px; display:flex; flex-direction:column; gap:4px; z-index:2; }
.ow-footer-support__copy strong { font-size:14px; line-height:20px; }
.ow-footer-support__copy span { color:#b3b6bd; font-size:12px; line-height:16px; }
.ow-footer-support__image { height:88px; width:auto; margin-left:auto; object-fit:contain; opacity:.9; }
.ow-footer-support__button {
  position:relative;
  z-index:2;
  min-width:168px;
  height:44px;
  padding:0 20px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#0075ff;
  color:#fff;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}
.ow-footer-support__cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.ow-footer-info-card {
  min-width:0;
  padding:16px;
  border-radius:16px;
  background:#1d1e20;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  text-decoration:none;
  color:#f0f2f5;
}
.ow-footer-info-card span { color:#9aa1b1; font-size:12px; line-height:16px; }
.ow-footer-info-card strong { font-size:14px; line-height:20px; font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.ow-footer-nav { display:grid; grid-template-columns:auto 1fr; gap:80px; }
.ow-footer-nav__group h3 { margin:0 0 16px; font-size:20px; line-height:24px; }
.ow-footer-nav__links { display:grid; gap:10px 40px; }
.ow-footer-nav__links--one { grid-template-columns:1fr; }
.ow-footer-nav__links--grid { grid-template-columns:repeat(3,minmax(100px,1fr)); }
.ow-footer-nav__links a { color:#9aa1b1; text-decoration:none; font-size:13px; line-height:18px; }
.ow-footer-nav__links a:hover { color:#f0f2f5; }

.ow-footer-apps { display:grid; grid-template-columns:auto 277px; gap:16px; }
.ow-footer-app {
  min-height:190px;
  border-radius:20px;
  padding:20px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.ow-footer-app--mobile { background:#8626ff; }
.ow-footer-app--desktop { background:#3259fe; }
.ow-footer-app__copy { position:relative; z-index:2; display:flex; flex-direction:column; gap:6px; max-width:340px; }
.ow-footer-app__copy strong { font-size:16px; line-height:22px; }
.ow-footer-app__copy span { font-size:13px; line-height:18px; }
.ow-footer-app__button {
  position:relative;
  z-index:3;
  width:min(320px,100%);
  height:36px;
  border:0;
  border-radius:10px;
  background:#fff;
  color:#141415;
  font-size:14px;
  font-weight:700;
}
.ow-footer-app > img { position:absolute; right:0; bottom:0; max-width:48%; max-height:100%; object-fit:contain; opacity:.95; }
.ow-footer-app--desktop > img { max-width:100%; opacity:.35; }

.ow-footer-bottom {
  border-top:1px solid rgba(179,182,189,.12);
  padding-top:24px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  grid-template-areas:"socials spacer age" "copy spacer age";
  gap:24px;
  align-items:center;
}
.ow-footer-socials { grid-area:socials; display:flex; gap:8px; }
.ow-footer-socials a {
  width:36px;
  height:36px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#2e3035;
  color:#f0f2f5;
}
.ow-footer-socials svg { width:20px; height:20px; }
.ow-footer-bottom__spacer { grid-area:spacer; }
.ow-footer-copy { grid-area:copy; color:#9aa1b1; font-size:11px; }
.ow-footer-age { grid-area:age; color:#797f8b; font-size:24px; font-weight:700; align-self:end; }
.ow-footer-pwa-hint { margin:0 auto !important; }

/* Remove elementos antigos que não existem no footer de referência */
.site-footer .f-icons,
.site-footer .site-footer__grid,
.site-footer .f-bottom,
.site-footer .support-block,
.site-footer .footer-apps { display:none !important; }

@media (max-width:1023.98px) {
  .site-header { left:0 !important; }
  .site-header__inner { height:60px !important; padding-inline:16px !important; }
  .main__container { padding:12px 16px 24px !important; }
  .header-nav { display:none !important; }
  .sidebar-mini-freemoney { display:none; }
  .sidebar-fixed-bottom { display:none; }
  .ow-casino-page { gap:24px !important; }
  .ow-casino-hero { grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; gap:8px !important; overflow:hidden; }
  .ow-casino-hero .ow-banner-carousel,
  .ow-casino-hero .ow-banner-empty { aspect-ratio:2.08/1 !important; border-radius:20px !important; }
  .ow-week-game { border-radius:20px !important; grid-template-columns:1fr !important; min-height:164px !important; padding:16px !important; }
  .ow-week-game__card { display:none !important; }
  .ow-week-game__headline { font-size:22px !important; line-height:26px !important; }
  .ow-week-game__button { height:36px; }
  .ow-providers-button { flex:0 0 auto !important; width:auto !important; min-width:0 !important; padding:0 16px !important; font-size:14px !important; }
  .ow-category-rail .onewin-category-chip { height:40px !important; min-height:40px !important; }
  .ow-home-hero { grid-template-areas:"a a" "b c" !important; grid-template-columns:1fr 1fr !important; gap:8px !important; }
  .ow-home-hero__main { grid-area:a; }
  .ow-home-hero > .ow-side-banner:nth-of-type(1) { grid-area:b; }
  .ow-home-hero > .ow-side-banner:nth-of-type(2) { grid-area:c; }
  .ow-home-hero .ow-banner-carousel,
  .ow-home-hero .ow-banner-empty { aspect-ratio:2.08/1 !important; border-radius:20px !important; }
  .ow-footer { gap:24px !important; padding-top:24px !important; }
  .site-footer.ow-footer > * { width:calc(100% - 32px); }
  .ow-footer__brand { height:28px; }
  .ow-footer-support { grid-template-columns:1fr; }
  .ow-footer-support__cards { grid-template-columns:1fr 1fr; }
  .ow-footer-nav { grid-template-columns:1fr; gap:28px; }
  .ow-footer-apps { grid-template-columns:1fr; }
  .ow-footer-app--desktop { display:none; }
  .ow-footer-app { min-height:94px; border-radius:16px; padding:16px; }
  .ow-footer-nav__links--grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ow-footer-bottom { grid-template-columns:1fr auto; grid-template-areas:"socials age" "copy age"; }
}

@media (max-width:520px) {
  .ow-preset-tabs .onewin-casino-tab { padding-inline:12px !important; font-size:12px !important; }
  .ow-casino-hero { grid-template-columns:1fr 1fr !important; }
  .ow-casino-hero__banner { min-width:0; }
  .ow-week-game { min-width:0; }
  .ow-week-game__headline { font-size:18px !important; line-height:22px !important; }
  .ow-week-game__provider { font-size:12px; }
  .ow-casino-search { height:44px !important; }
  .ow-providers-button { height:44px !important; }
  .ow-footer-support__cards { grid-template-columns:1fr; }
  .ow-footer-support__image { display:none; }
  .ow-footer-support__button { min-width:140px; }
}

/* V3.1 — ajustes após comparação screenshot x HTML salvo */
.ow-casino-sticky { margin-bottom:-12px !important; }
.ow-provider-dialog[hidden] { display:none !important; }
.ow-provider-dialog {
  position:fixed;
  inset:0;
  z-index:7000;
  display:grid;
  place-items:center;
  padding:20px;
}
.ow-provider-dialog__backdrop {
  position:absolute;
  inset:0;
  border:0;
  background:rgba(0,0,0,.68);
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
}
.ow-provider-dialog__panel {
  position:relative;
  z-index:1;
  width:min(860px,100%);
  max-height:min(720px,82vh);
  overflow:auto;
  padding:20px;
  border-radius:20px;
  background:#1d1e20;
  box-shadow:0 24px 80px rgba(0,0,0,.55);
}
.ow-provider-dialog__head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
  color:#f0f2f5;
  font-size:20px;
  line-height:24px;
}
.ow-provider-dialog__close {
  width:36px;
  height:36px;
  border:0;
  border-radius:10px;
  background:#2e3035;
  color:#f0f2f5;
  font-size:22px;
  cursor:pointer;
}
.ow-provider-dialog .provider-rail { margin:0 !important; }
.ow-provider-dialog .provider-rail__head { display:none !important; }
.ow-provider-dialog .provider-rail__scroller {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px !important;
  overflow:visible !important;
  padding:0 !important;
}
.ow-provider-dialog .provider-card {
  width:auto !important;
  min-width:0 !important;
  height:64px !important;
  border-radius:12px !important;
  background:#2e3035 !important;
}
@media (max-width:767.98px) {
  .ow-provider-dialog { padding:12px; align-items:end; }
  .ow-provider-dialog__panel { width:100%; max-height:78vh; border-radius:20px 20px 0 0; padding:16px; }
  .ow-provider-dialog .provider-rail__scroller { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ow-casino-sticky { margin-bottom:-8px !important; }
}

/* =========================================================
   V4 — sidebar/auth/player-count audit against supplied 1win refs
   ========================================================= */
:root{
  --ow-side-bg:#1d1e20;
  --ow-side-muted:#8c93a3;
  --ow-side-fg:#f4f5f7;
  --ow-side-row:40px;
}
@media(min-width:1024px){
  .ow-ref-sidebar.sidebar{
    width:280px!important;
    padding:14px 12px 12px!important;
    background:var(--ow-side-bg)!important;
    border:0!important;
    display:flex!important;
    flex-direction:column!important;
    overflow-y:auto!important;
    overflow-x:visible!important;
    gap:0!important;
  }
  body.sidebar-compact .ow-ref-sidebar.sidebar{width:64px!important;padding-inline:8px!important;overflow-y:auto!important;overflow-x:visible!important}
  body.sidebar-compact .app-shell{padding-left:64px!important}
  body:not(.sidebar-compact) .app-shell{padding-left:280px!important}
}
.ow-side-top{position:relative;display:flex;flex-direction:column;gap:8px}
.ow-side-profile{
  all:unset; box-sizing:border-box; cursor:pointer; width:100%; min-height:44px;
  display:flex; align-items:center; gap:12px; padding:0 8px; color:var(--ow-side-fg);
  border-radius:12px; text-decoration:none;
}
.ow-side-profile:hover{background:rgba(255,255,255,.05)}
.ow-side-profile__avatar{width:44px;height:44px;min-width:44px;border-radius:50%;display:grid;place-items:center;background:#36383d;color:#c5c9d2;font-weight:800}
.ow-side-profile__avatar--guest{color:#9298a6}
.ow-side-profile__text{min-width:0;display:flex;flex-direction:column;justify-content:center;line-height:1.08;flex:1}
.ow-side-profile__text strong{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-side-profile__text small{margin-top:3px;color:#969dab;font-size:12px;font-weight:500}
.ow-side-chev{margin-left:auto;color:#9097a5;font-size:26px;line-height:1;font-weight:300}
.ow-side-freemoney{display:block;width:100%;height:56px;border-radius:12px;overflow:hidden;text-decoration:none;background:#778574}
.ow-side-freemoney picture,.ow-side-freemoney img{display:block;width:100%;height:100%;object-fit:cover}
.ow-side-expand{
  position:absolute;right:-20px;top:126px;z-index:5;width:36px;height:36px;border:0;border-radius:50%;
  background:#30333a;color:#9299a8;display:grid;place-items:center;font-size:24px;cursor:pointer;padding:0;
}
.ow-side-expand__compact{display:none}.ow-side-expand__expanded{display:inline}
.ow-side-divider{height:1px;background:#303237;margin:14px 0}
.ow-side-nav{display:flex;flex-direction:column;gap:3px}
.ow-side-item{
  min-height:39px;display:flex;align-items:center;gap:10px;padding:0 10px;border-radius:12px;
  color:#eceef2;text-decoration:none;font-size:15px;font-weight:650;position:relative;
}
.ow-side-item:hover{background:#26282c}
.ow-side-item.is-active{background:#2b2d31}
.ow-side-item--muted{color:#6f7480}
.ow-side-icon{width:26px;height:26px;min-width:26px;display:grid;place-items:center;color:#9299a8;font-size:18px;font-weight:800}
.ow-side-icon img{width:24px;height:24px;object-fit:contain;opacity:.9;filter:none}
.ow-side-icon--letter{font-style:italic;font-weight:900;font-size:18px}
.ow-side-icon--gift,.ow-side-icon--trophy,.ow-side-icon--crown{font-size:20px;color:#9299a8}
.ow-side-label{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-side-item__chev{margin-left:auto;color:#9aa1b0;font-size:18px}
.ow-side-badge{margin-left:auto;min-width:28px;height:20px;border-radius:10px;padding:0 7px;background:#ff5a2d;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:800}
.ow-side-badge--new{min-width:38px}
.ow-side-grow{flex:1;min-height:12px}
.ow-side-bottom{display:flex;flex-direction:column;gap:10px;margin-top:auto}
.ow-side-app{width:100%;min-height:80px;border:0;border-radius:12px;background:#303238;color:#f4f5f7;display:flex;align-items:center;gap:12px;padding:10px 12px;text-align:left;cursor:pointer}
.ow-side-app__icon{width:44px;height:44px;min-width:44px;border-radius:12px;background:#00b8f0;color:#fff;display:grid;place-items:center;font-size:26px;font-weight:700}
.ow-side-app__copy{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}
.ow-side-app__copy strong{font-size:12px;font-weight:800}.ow-side-app__copy small{font-size:12px;line-height:15px;color:#9fa7b7}
.ow-side-social-lang{display:flex;gap:8px;align-items:center}
.ow-side-socials{display:flex;gap:4px;min-width:0}
.ow-side-social{width:36px;height:36px;border-radius:10px;background:#303238;color:#fff;display:grid;place-items:center;text-decoration:none;font-size:18px;font-weight:700}
.ow-side-lang-wrap{position:relative;margin-left:auto}
.ow-side-lang{height:36px;border:0;border-radius:10px;background:#303238;color:#f4f5f7;display:flex;align-items:center;gap:6px;padding:0 10px;cursor:pointer;font-size:14px}
.ow-side-lang img{border-radius:50%}.ow-side-lang b{color:#8d95a5;font-size:14px}
.ow-side-lang-menu{position:absolute;right:0;bottom:42px;width:96px;padding:5px;background:#26282d;border:1px solid #3a3d43;border-radius:12px;box-shadow:0 12px 34px rgba(0,0,0,.42);z-index:40}
.ow-side-lang-menu button{width:100%;height:34px;border:0;background:transparent;color:#f2f3f5;border-radius:8px;display:flex;align-items:center;gap:8px;padding:0 8px;font-weight:700}
.ow-side-lang-menu button:hover,.ow-side-lang-menu button.is-active{background:#34373d}
.ow-side-divider--bottom{margin:4px 0 0}
.ow-side-support{height:42px;display:flex;align-items:center;gap:10px;color:#f4f5f7;text-decoration:none;padding:0 6px}
.ow-side-support__icon{width:36px;height:36px;border-radius:10px;background:#303238;display:grid;place-items:center;color:#fff;font-size:13px}
.ow-side-support__label{font-size:14px;font-weight:700}.ow-side-support__badge{margin-left:auto;padding:4px 8px;border-radius:999px;background:#0075ff;color:white;font-size:12px;font-weight:800}

@media(min-width:1024px){
  body.sidebar-compact .ow-side-profile{width:48px;height:44px;min-height:44px;padding:0;margin:auto;justify-content:center}
  body.sidebar-compact .ow-side-profile__avatar{width:44px;height:44px;min-width:44px}
  body.sidebar-compact .ow-side-profile__text,body.sidebar-compact .ow-side-profile .ow-side-chev{display:none}
  body.sidebar-compact .ow-side-freemoney{width:48px;height:80px;margin:0 auto;background-image:url('../img/onewin-ref/sidebar-freemoney-compact.png');background-size:cover;background-position:center}
  body.sidebar-compact .ow-side-freemoney picture{display:none}
  body.sidebar-compact .ow-side-expand{right:-18px;top:128px}
  body.sidebar-compact .ow-side-expand__expanded{display:none}.sidebar-compact .ow-side-expand__compact{display:inline}
  body.sidebar-compact .ow-side-divider{width:48px;margin:14px auto}
  body.sidebar-compact .ow-side-item{width:48px;height:38px;min-height:38px;padding:0;margin:0 auto;justify-content:center;gap:0}
  body.sidebar-compact .ow-side-label,body.sidebar-compact .ow-side-item__chev{display:none}
  body.sidebar-compact .ow-side-badge{position:absolute;right:0;top:-2px;min-width:16px;width:auto;height:16px;padding:0 4px;font-size:9px;border-radius:8px}
  body.sidebar-compact .ow-side-badge--new{right:-5px;top:18px;min-width:29px}
  body.sidebar-compact .ow-side-app{width:48px;height:48px;min-height:48px;padding:0;margin:auto;justify-content:center;background:#00b8f0}
  body.sidebar-compact .ow-side-app__icon{width:48px;height:48px;background:transparent}
  body.sidebar-compact .ow-side-app__copy,body.sidebar-compact .ow-side-app .ow-side-chev{display:none}
  body.sidebar-compact .ow-side-social-lang{flex-direction:column;gap:8px}
  body.sidebar-compact .ow-side-socials{width:48px;height:44px;padding:4px;border-radius:10px;background:#303238;display:grid;grid-template-columns:1fr 1fr;gap:2px}
  body.sidebar-compact .ow-side-social{width:18px;height:16px;border-radius:5px;font-size:9px;background:#4a4d53}
  body.sidebar-compact .ow-side-lang-wrap{margin:0}
  body.sidebar-compact .ow-side-lang{width:48px;height:42px;padding:0;justify-content:center}
  body.sidebar-compact .ow-side-lang span,body.sidebar-compact .ow-side-lang b{display:none}
  body.sidebar-compact .ow-side-lang img{width:22px;height:22px}
  body.sidebar-compact .ow-side-lang-menu{left:52px;right:auto;bottom:0}
  body.sidebar-compact .ow-side-support{width:48px;height:42px;padding:0;margin:auto;justify-content:center}
  body.sidebar-compact .ow-side-support__icon{width:36px;height:36px}.sidebar-compact .ow-side-support__label,.sidebar-compact .ow-side-support__badge{display:none}
}

/* mobile sidebar uses the same expanded visual, full-height drawer */
@media(max-width:1023.98px){
  .ow-ref-sidebar.sidebar{padding:12px!important;background:#1d1e20!important;width:min(280px,88vw)!important;display:flex!important;flex-direction:column!important}
  .ow-ref-sidebar .sidebar-head{height:36px!important;margin-bottom:4px!important}
  .ow-ref-sidebar .ow-side-expand{display:none!important}
  .ow-ref-sidebar .ow-side-grow{min-height:20px}
}

/* Auth — closer to 1win modal geometry */
#modal-login .modal-panel,#modal-register .modal-panel,#modal-forgot-password .modal-panel{
  width:min(456px,calc(100vw - 32px))!important;max-width:456px!important;
  max-height:min(88vh,760px)!important;background:#1d1e20!important;border:1px solid #3a3c42!important;
  border-radius:24px!important;padding:24px!important;box-shadow:0 24px 80px rgba(0,0,0,.5)!important;
}
#modal-register .modal-panel{width:min(520px,calc(100vw - 32px))!important;max-width:520px!important}
#modal-login .modal-panel__head,#modal-register .modal-panel__head,#modal-forgot-password .modal-panel__head{margin-bottom:22px!important}
#modal-login .modal-panel__title,#modal-register .modal-panel__title,#modal-forgot-password .modal-panel__title{font-size:24px!important;line-height:30px!important;font-weight:800!important;color:#f5f6f8!important}
#modal-login .modal-close,#modal-register .modal-close,#modal-forgot-password .modal-close{width:40px!important;height:40px!important;border-radius:12px!important;color:#a8aeba!important}
#modal-login .form-field,#modal-register .form-field,#modal-forgot-password .form-field{margin-bottom:16px!important}
#modal-login .form-field label,#modal-register .form-field label,#modal-forgot-password .form-field label{font-size:13px!important;line-height:18px!important;margin-bottom:7px!important;color:#aeb4c2!important;font-weight:650!important}
#modal-login .form-field input,#modal-register .form-field input,#modal-forgot-password .form-field input{
  height:48px!important;border:0!important;border-radius:12px!important;background:#303234!important;color:#fff!important;padding:0 14px!important;font-size:15px!important
}
#modal-login .form-field input:focus,#modal-register .form-field input:focus,#modal-forgot-password .form-field input:focus{box-shadow:0 0 0 1px #5f636b!important;background:#343638!important}
#modal-login .btn--block,#modal-register .btn--block,#modal-forgot-password .btn--block{height:48px!important;border-radius:12px!important;font-size:16px!important;font-weight:800!important}
#modal-login .form-hint,#modal-register .form-hint{font-size:13px!important;color:#858c9b!important}
#modal-register .scaptcha__box{padding:14px!important;border:1px solid #50535a!important;border-radius:14px!important;background:#2a2c31!important}
#modal-register .scaptcha__math{height:64px!important;padding:0 12px!important;display:grid!important;place-items:center!important;margin-bottom:12px!important;border-radius:12px!important;background:#101113!important;font-size:29px!important}
#modal-register .scaptcha__row input[type="text"],#modal-register .scaptcha__reload{height:48px!important;background:#1d1e20!important}
.modal-backdrop{background:rgba(0,0,0,.72)!important;backdrop-filter:blur(6px)}
@media(max-width:639.98px){
  #modal-login .modal-panel,#modal-register .modal-panel,#modal-forgot-password .modal-panel{width:calc(100vw - 20px)!important;max-width:none!important;border-radius:22px!important;padding:20px!important;margin:10px!important}
  #modal-register .modal-panel{max-height:calc(100vh - 20px)!important}
}

/* Online players line, as in the reference cards */
.ow-game-card{display:flex!important;flex-direction:column!important;gap:6px!important}
.ow-game-card__online{min-height:16px;display:flex;align-items:center;gap:4px;color:#f2f3f5;font-size:12px;line-height:16px;font-weight:700;padding-inline:2px}
.ow-game-card__online-dot{width:6px;height:6px;border-radius:50%;background:#00b956;flex:0 0 6px}
.ow-game-card__online-text{color:#979eaa;font-weight:650;margin-left:1px}
@media(max-width:767.98px){.ow-game-card__online{font-size:10px;line-height:14px;gap:3px}.ow-game-card__online-dot{width:5px;height:5px;flex-basis:5px}}
.ow-game-card__online.is-zero{visibility:hidden}
.ow-side-app__icon{background:#00b8f0 url('../img/onewin-ref/sidebar-win.png') center/45px 45px no-repeat!important;font-size:0!important}
.ow-side-social{background-color:transparent!important;background-position:center!important;background-size:35px 35px!important;background-repeat:no-repeat!important;font-size:0!important}
.ow-side-social:nth-child(1){background-image:url('../img/onewin-ref/sidebar-telegram.png')!important}
.ow-side-social:nth-child(2){background-image:url('../img/onewin-ref/sidebar-whatsapp.png')!important}
.ow-side-social:nth-child(3){background-image:url('../img/onewin-ref/sidebar-instagram.png')!important}
.ow-side-social:nth-child(4){background-image:url('../img/onewin-ref/sidebar-more.png')!important}
.ow-side-support__icon{background:transparent url('../img/onewin-ref/sidebar-support.png') center/36px 36px no-repeat!important;font-size:0!important}
@media(min-width:1024px){body.sidebar-compact .ow-side-social{background-size:16px 16px!important}}

/* =========================================================
   V5 — sidebar compacta 1win: geometria, sem scrollbar visível,
   botão Windows corrigido e seletor de idioma em modal
   ========================================================= */
@media (min-width:1024px){
  .ow-ref-sidebar.sidebar{
    box-sizing:border-box!important;
    height:100dvh!important;
    min-height:100vh!important;
    padding:16px 12px 12px!important;
    overflow:hidden!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  .ow-ref-sidebar.sidebar::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  body.sidebar-compact .ow-ref-sidebar.sidebar{
    width:64px!important;
    padding:10px 8px 12px!important;
    overflow:hidden!important;
  }

  /* Em telas muito baixas continua utilizável, mas sem exibir barra. */
  @media (max-height:700px){
    .ow-ref-sidebar.sidebar{overflow-y:auto!important;overscroll-behavior:contain!important}
    .ow-ref-sidebar.sidebar::-webkit-scrollbar{display:none!important}
  }

  .ow-side-top{gap:16px!important;flex:0 0 auto!important}
  .ow-side-profile{min-height:44px!important;height:44px!important}
  .ow-side-freemoney{height:56px!important;min-height:56px!important;border-radius:12px!important}
  .ow-side-divider{margin:16px 0!important;flex:0 0 1px!important}
  .ow-side-nav{gap:4px!important;flex:0 0 auto!important}
  .ow-side-item{height:36px!important;min-height:36px!important;border-radius:10px!important}
  .ow-side-icon,.ow-side-icon img,.ow-side-icon svg{width:24px!important;height:24px!important;min-width:24px!important}
  .ow-side-grow{flex:1 1 auto!important;min-height:8px!important}
  .ow-side-bottom{flex:0 0 auto!important;margin-top:auto!important;gap:8px!important;background:#1d1e20!important}

  body.sidebar-compact .ow-side-top{gap:16px!important}
  body.sidebar-compact .ow-side-profile{width:48px!important;height:44px!important;min-height:44px!important}
  body.sidebar-compact .ow-side-profile__avatar{width:44px!important;height:44px!important;min-width:44px!important}
  body.sidebar-compact .ow-side-freemoney{
    width:48px!important;
    height:76px!important;
    min-height:76px!important;
    margin:0 auto!important;
    border-radius:12px!important;
    background-image:url('../img/onewin-ref/sidebar-freemoney-compact.png')!important;
    background-size:48px 76px!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
  }
  body.sidebar-compact .ow-side-expand{right:-18px!important;top:128px!important;width:36px!important;height:36px!important}
  body.sidebar-compact .ow-side-divider{width:48px!important;margin:14px auto!important}
  body.sidebar-compact .ow-side-nav{gap:4px!important}
  body.sidebar-compact .ow-side-item{
    width:48px!important;height:36px!important;min-height:36px!important;
    padding:0!important;margin:0 auto!important;border-radius:10px!important;
    justify-content:center!important;
  }
  body.sidebar-compact .ow-side-item.is-active{background:rgba(255,255,255,.09)!important}
  body.sidebar-compact .ow-side-badge{
    right:0!important;top:-1px!important;min-width:16px!important;height:16px!important;
    padding:0 4px!important;font-size:9px!important;line-height:16px!important;
  }
  body.sidebar-compact .ow-side-badge--new{right:-5px!important;top:18px!important;min-width:29px!important}

  /* O PNG já contém o quadrado azul. Nenhum segundo fundo azul. */
  body.sidebar-compact .ow-side-app{
    width:48px!important;height:48px!important;min-height:48px!important;
    padding:0!important;margin:0 auto!important;background:transparent!important;
    border:0!important;border-radius:12px!important;box-shadow:none!important;
  }
  .ow-side-app__icon{
    width:48px!important;height:48px!important;min-width:48px!important;
    border-radius:12px!important;
    background:transparent url('../img/onewin-ref/sidebar-win.png') center/45px 45px no-repeat!important;
    box-shadow:none!important;font-size:0!important;
  }
  body:not(.sidebar-compact) .ow-side-app__icon{
    width:44px!important;height:44px!important;min-width:44px!important;
    background-size:44px 44px!important;
  }

  body.sidebar-compact .ow-side-social-lang{gap:8px!important;align-items:center!important}
  body.sidebar-compact .ow-side-socials{
    width:48px!important;height:44px!important;padding:4px!important;
    border-radius:10px!important;background:#303238!important;
    display:grid!important;grid-template-columns:18px 18px!important;
    grid-template-rows:16px 16px!important;place-content:center!important;gap:2px!important;
  }
  body.sidebar-compact .ow-side-social{
    width:18px!important;height:16px!important;border-radius:5px!important;
    background-size:16px 16px!important;background-position:center!important;
  }
  body.sidebar-compact .ow-side-lang{
    width:48px!important;height:42px!important;min-height:42px!important;padding:0!important;
    border-radius:10px!important;justify-content:center!important;background:#303238!important;
  }
  body.sidebar-compact .ow-side-lang img{width:22px!important;height:22px!important;border-radius:50%!important}
  body.sidebar-compact .ow-side-support{width:48px!important;height:42px!important;min-height:42px!important;padding:0!important;margin:0 auto!important}
  body.sidebar-compact .ow-side-support__icon{width:36px!important;height:36px!important;min-width:36px!important}
  body.sidebar-compact .ow-side-divider--bottom{width:48px!important;margin:4px auto 0!important}
}

/* Sidebar móvel: pode rolar o conteúdo, mas nunca mostra a barra do browser. */
@media (max-width:1023.98px){
  .ow-ref-sidebar.sidebar{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  .ow-ref-sidebar.sidebar::-webkit-scrollbar{display:none!important;width:0!important}
}

/* Modal de idiomas como na referência 1win. */
.ow-language-modal{
  position:fixed;inset:0;z-index:9000;display:grid;place-items:center;
  padding:16px;opacity:0;visibility:hidden;transition:opacity .16s ease,visibility .16s ease;
}
.ow-language-modal[hidden]{display:none!important}
.ow-language-modal.is-open{opacity:1;visibility:visible}
.ow-language-modal__backdrop{
  position:absolute;inset:0;border:0;padding:0;background:rgba(0,0,0,.58);backdrop-filter:blur(4px);cursor:default;
}
.ow-language-modal__panel{
  position:relative;z-index:1;width:min(308px,calc(100vw - 32px));
  max-height:min(78vh,560px);padding:18px 10px 14px 10px;border-radius:18px;
  background:#fff;color:#202124;box-shadow:0 24px 70px rgba(0,0,0,.42);overflow:hidden;
  transform:translateY(8px) scale(.985);transition:transform .16s ease;
}
.ow-language-modal.is-open .ow-language-modal__panel{transform:none}
.ow-language-modal__head{height:30px;padding:0 8px;display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.ow-language-modal__head h2{margin:0;font-size:16px;line-height:22px;font-weight:800;color:#16171a}
.ow-language-modal__close{
  width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#777e89;
  display:grid;place-items:center;font-size:28px;line-height:1;font-weight:300;cursor:pointer;
}
.ow-language-modal__close:hover{background:#f1f2f4}
.ow-language-modal__section-title{padding:0 8px 8px;color:#7a808a;font-size:13px;line-height:18px;font-weight:500}
.ow-language-modal__section-title--all{padding-top:14px}
.ow-language-option{
  width:100%;min-height:60px;border:0;background:transparent;color:#202124;
  display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:12px;text-align:start;cursor:pointer;
}
.ow-language-option:hover{background:#f5f6f7}
.ow-language-option--recommended{background:#fff}
.ow-language-option img{width:22px;height:22px;min-width:22px;border-radius:50%;object-fit:cover}
.ow-language-option>span{min-width:0;display:flex;flex-direction:column;gap:1px;flex:1}
.ow-language-option strong{font-size:15px;line-height:19px;font-weight:750;color:#27292d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-language-option small{font-size:12px;line-height:16px;color:#6f7580}
.ow-language-option__check{
  width:20px;height:20px;border-radius:50%;background:#087df2;color:#fff;display:grid;place-items:center;
  font-size:12px;line-height:1;font-weight:900;
}
.ow-language-modal__list{
  max-height:300px;overflow-y:auto;padding:0 2px 0 0;scrollbar-width:thin;scrollbar-color:#d4d7dc transparent;
}
.ow-language-modal__list::-webkit-scrollbar{width:4px}.ow-language-modal__list::-webkit-scrollbar-thumb{background:#d4d7dc;border-radius:4px}
html[dir="rtl"] .ow-language-modal__panel{text-align:right}

@media (max-width:479.98px){
  .ow-language-modal{padding:12px}
  .ow-language-modal__panel{width:min(308px,calc(100vw - 24px));border-radius:18px}
}

/* =========================================================
   V6 — sidebar reference alignment: bottom dock, anchored
   language/social dialogs, support 24/7 and social modal
   ========================================================= */
@media (min-width:1024px){
  .ow-ref-sidebar.sidebar{
    position:fixed!important;
    inset-block:0!important;
    inset-inline-start:0!important;
    height:100dvh!important;
    min-height:100vh!important;
    overflow:hidden!important;
    padding:12px 12px 8px!important;
  }
  body.sidebar-compact .ow-ref-sidebar.sidebar{padding:10px 8px 8px!important}

  .ow-side-top{gap:8px!important}
  .ow-side-divider{margin:10px 0!important}
  .ow-side-nav{gap:1px!important}
  .ow-side-item{height:39px!important;min-height:39px!important;padding-inline:10px!important}
  .ow-side-grow{display:none!important}

  .ow-side-bottom{
    position:absolute!important;
    inset-inline:12px!important;
    inset-block-end:8px!important;
    margin:0!important;
    gap:8px!important;
    background:#1d1e20!important;
    z-index:4!important;
  }
  body.sidebar-compact .ow-side-bottom{inset-inline:8px!important}

  .ow-side-app{min-height:80px!important;height:80px!important}
  .ow-side-social-lang{height:36px!important;min-height:36px!important}
  .ow-side-divider--bottom{margin:8px 0 0!important}
  .ow-side-support{height:42px!important;min-height:42px!important}

  body.sidebar-compact .ow-side-top{gap:8px!important}
  body.sidebar-compact .ow-side-divider{margin:10px auto!important}
  body.sidebar-compact .ow-side-item{height:39px!important;min-height:39px!important}
  body.sidebar-compact .ow-side-social-lang{height:auto!important;min-height:0!important}
  body.sidebar-compact .ow-side-divider--bottom{margin:4px auto 0!important}
}

/* Side social buttons: remove browser defaults. */
.ow-side-social{border:0!important;padding:0!important;cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important}

/* Desktop dialogs are anchored to the sidebar, not centered on the page. */
@media (min-width:1024px){
  .ow-language-modal,.ow-social-modal{
    position:fixed!important;inset:0!important;z-index:9000!important;
    display:block!important;padding:0!important;
    opacity:0;visibility:hidden;pointer-events:none;
    transition:opacity .16s ease,visibility .16s ease;
  }
  .ow-language-modal[hidden],.ow-social-modal[hidden]{display:none!important}
  .ow-language-modal.is-open,.ow-social-modal.is-open{opacity:1;visibility:visible;pointer-events:auto}

  .ow-language-modal__backdrop,.ow-social-modal__backdrop{
    position:fixed!important;inset-block:0!important;inset-inline-end:0!important;
    inset-inline-start:280px!important;border:0!important;padding:0!important;
    background:rgba(0,0,0,.66)!important;backdrop-filter:blur(5px)!important;
  }
  body.sidebar-compact .ow-language-modal__backdrop,
  body.sidebar-compact .ow-social-modal__backdrop{inset-inline-start:64px!important}

  .ow-language-modal__panel,.ow-social-modal__panel{
    position:fixed!important;z-index:2!important;
    inset-inline-start:276px!important;inset-block-start:50%!important;
    width:308px!important;max-width:calc(100vw - 300px)!important;
    transform:translateY(-50%) scale(.985)!important;
    transform-origin:center left!important;
  }
  body.sidebar-compact .ow-language-modal__panel,
  body.sidebar-compact .ow-social-modal__panel{
    inset-inline-start:68px!important;
    max-width:calc(100vw - 92px)!important;
  }
  .ow-language-modal.is-open .ow-language-modal__panel,
  .ow-social-modal.is-open .ow-social-modal__panel{transform:translateY(-50%) scale(1)!important}
  html[dir="rtl"] .ow-language-modal__panel,
  html[dir="rtl"] .ow-social-modal__panel{transform-origin:center right!important}
}

/* Social networks popup copied from the supplied reference geometry. */
.ow-social-modal{position:fixed;inset:0;z-index:9000;opacity:0;visibility:hidden;transition:opacity .16s ease,visibility .16s ease}
.ow-social-modal[hidden]{display:none!important}
.ow-social-modal.is-open{opacity:1;visibility:visible}
.ow-social-modal__backdrop{position:absolute;inset:0;border:0;padding:0;background:rgba(0,0,0,.62);backdrop-filter:blur(4px)}
.ow-social-modal__panel{
  position:relative;z-index:1;width:min(308px,calc(100vw - 32px));
  max-height:min(76vh,426px);padding:16px 10px 12px;border-radius:18px;
  background:#fff;color:#202124;box-shadow:0 24px 70px rgba(0,0,0,.42);overflow:hidden;
  transform:translateY(8px) scale(.985);transition:transform .16s ease;
}
.ow-social-modal.is-open .ow-social-modal__panel{transform:none}
.ow-social-modal__head{height:32px;padding:0 8px;display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.ow-social-modal__head h2{margin:0;font-size:16px;line-height:22px;font-weight:800;color:#17181b}
.ow-social-modal__close{width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#777e89;display:grid;place-items:center;font-size:28px;line-height:1;font-weight:300;cursor:pointer}
.ow-social-modal__close:hover{background:#f1f2f4}
.ow-social-modal__list{max-height:350px;overflow-y:auto;padding:0 4px 0 6px;scrollbar-width:thin;scrollbar-color:#d4d7dc transparent}
.ow-social-modal__list::-webkit-scrollbar{width:4px}.ow-social-modal__list::-webkit-scrollbar-thumb{background:#d4d7dc;border-radius:8px}
.ow-social-option{height:56px;display:flex;align-items:center;gap:12px;color:#25262a;text-decoration:none;border-bottom:1px solid #eceef1;padding:0 8px;font-size:15px;font-weight:650}
.ow-social-option:last-child{border-bottom:0}
.ow-social-option:hover{background:#f7f8f9;border-radius:10px}
.ow-social-option__icon{width:32px;height:32px;min-width:32px;border-radius:9px;background:#f2f3f5;color:#101114;display:grid;place-items:center;font-size:18px;font-weight:900;line-height:1}
.ow-social-option__icon--telegram{font-size:21px;transform:none}
.ow-social-option__icon--whatsapp{font-size:17px}
.ow-social-option__icon--instagram{font-size:20px}
.ow-social-option__icon--facebook{font-family:Arial,sans-serif;font-size:20px;text-transform:lowercase}
.ow-social-option__icon--pinterest{font-family:Georgia,serif;font-size:21px;font-style:italic}
.ow-social-option__icon--threads{font-size:20px}
html[dir="rtl"] .ow-social-modal__panel{text-align:right}

/* Keep language dialog geometry consistent with the social dialog. */
.ow-language-modal__panel{max-height:min(76vh,426px)!important;padding:16px 10px 12px!important}
.ow-language-modal__list{max-height:280px!important}

@media (max-width:1023.98px){
  .ow-language-modal,.ow-social-modal{display:grid!important;place-items:center!important;padding:12px!important}
  .ow-language-modal__backdrop,.ow-social-modal__backdrop{position:absolute!important;inset:0!important}
  .ow-language-modal__panel,.ow-social-modal__panel{
    position:relative!important;inset:auto!important;width:min(308px,calc(100vw - 24px))!important;
    max-width:none!important;transform:translateY(8px) scale(.985)!important;
  }
  .ow-language-modal.is-open .ow-language-modal__panel,
  .ow-social-modal.is-open .ow-social-modal__panel{transform:none!important}
}


/* =========================================================
   V7 — header clean, exact bundled nav icons, casino hero
   geometry fix and removal of legacy 1win wordmarks.
   ========================================================= */

/* O idioma fica apenas na sidebar/footer. Nunca ao lado do Sign up. */
.site-header .lang-switch,
.site-header .header-lang { display:none !important; }

/* Usa os SVGs de navegação da referência que já estão no pacote. */
.header-nav__icon { width:20px !important; height:20px !important; display:grid !important; place-items:center !important; }
.header-nav__icon svg { display:none !important; }
.header-nav__icon .ow-header-ref-icon,
.ow-header-ref-icon {
  display:block !important;
  width:20px !important;
  height:20px !important;
  object-fit:contain !important;
  opacity:.88;
  filter:brightness(0) saturate(100%) invert(74%) sepia(7%) saturate(249%) hue-rotate(185deg) brightness(90%) contrast(91%);
}
.header-nav__link.is-active .ow-header-ref-icon,
.header-nav__link:hover .ow-header-ref-icon {
  opacity:1;
  filter:brightness(0) invert(1) !important;
}

/* O CSS antigo do projeto forçava min-height:320px acima de 1200px.
   Isto quebrava a proporção do hero e fazia a busca entrar sobre o banner. */
.ow-casino-hero {
  grid-template-columns:minmax(0,57.52%) minmax(0,1fr) !important;
  gap:16px !important;
  align-items:stretch !important;
  overflow:visible !important;
}
.ow-casino-hero__banner {
  min-width:0 !important;
  min-height:0 !important;
  height:auto !important;
  aspect-ratio:2.625/1 !important;
}
.ow-casino-hero .ow-banner-carousel,
.ow-casino-hero .ow-banner-empty {
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  border-radius:24px !important;
}
.ow-casino-hero .banner-carousel__track,
.ow-casino-hero .ow-banner-slide { height:100% !important; min-height:0 !important; }

/* Banner configurado sem arquivo: não vaza heading gigante sobre o layout. */
.ow-banner-fallback { display:none !important; }
.ow-banner-slide.is-image-missing {
  background:radial-gradient(circle at 78% 18%,rgba(0,117,255,.18),transparent 34%),#17181b !important;
}

/* Busca e categorias sempre entram depois do hero, nunca sobre ele. */
.ow-casino-sticky {
  position:relative !important;
  top:auto !important;
  margin:0 !important;
  padding:0 !important;
  z-index:2 !important;
}
.ow-category-rail { margin:0 !important; }
.ow-casino-page { gap:24px !important; }

/* No bloco de app da sidebar, não deixa sobrar a marca da referência. */
.ow-side-app__copy strong { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* Imagem do app mobile preservada, mas a pequena wordmark legada no topo
   do telefone é coberta pelo próprio fundo escuro da tela. */
.ow-footer-app--mobile > img { display:none !important; }
.ow-footer-mobile-visual {
  position:absolute;
  right:0;
  bottom:0;
  width:min(48%,296px);
  max-height:100%;
  z-index:1;
  pointer-events:none;
}
.ow-footer-mobile-visual > img {
  display:block;
  width:100%;
  height:auto;
  max-height:100%;
  object-fit:contain;
}
.ow-footer-mobile-visual__brand-cover {
  position:absolute;
  left:10.2%;
  top:16.0%;
  width:10.8%;
  height:6.5%;
  border-radius:2px;
  background:#0a0d14;
}
.ow-footer-app__copy,
.ow-footer-app__button { z-index:3 !important; }

@media (max-width:1023.98px) {
  .ow-casino-hero {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:8px !important;
  }
  .ow-casino-hero__banner { aspect-ratio:2.078/1 !important; }
  .ow-casino-hero .ow-banner-carousel,
  .ow-casino-hero .ow-banner-empty { border-radius:20px !important; }
  .ow-footer-mobile-visual { width:min(54%,296px); }
}

@media (max-width:520px) {
  .ow-casino-page { gap:16px !important; }
  .ow-casino-hero { grid-template-columns:1fr 1fr !important; }
  .ow-footer-mobile-visual { width:58%; }
}


/* =========================================================
   V8 — Login/Registro copiando o visual de referência (sem ícones embaixo)
   ========================================================= */
.modal-root--auth-1win .modal-backdrop{background:rgba(0,0,0,.58)!important;backdrop-filter:blur(3px)!important}
.modal-root--auth-1win .modal-panel.ow-auth-panel{
  width:min(392px,calc(100vw - 28px))!important;
  max-width:392px!important;
  background:#f4f4f5!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:26px!important;
  padding:20px 20px 18px!important;
  box-shadow:0 24px 70px rgba(0,0,0,.45)!important;
  color:#17181c!important;
}
.modal-root--auth-1win #modal-register .ow-auth-panel,.modal-root--auth-1win .ow-auth-panel--register{width:min(462px,calc(100vw - 28px))!important;max-width:462px!important}
.modal-root--auth-1win .ow-auth-panel--forgot{width:min(392px,calc(100vw - 28px))!important;max-width:392px!important}
.ow-auth-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.ow-auth-title{margin:0;font-size:24px;line-height:1.1;font-weight:800;color:#17181b}.ow-auth-close{width:34px;height:34px;border:0;background:transparent;border-radius:10px;font-size:24px;line-height:1;color:#767d88;cursor:pointer;display:grid;place-items:center}.ow-auth-close:hover{background:#ececef;color:#525862}
.ow-auth-form{display:block}.ow-auth-switch{display:flex;gap:8px;margin:0 0 14px;background:#eaeaec;padding:4px;border-radius:14px}.ow-auth-switch__btn{flex:1;height:40px;border:0;border-radius:12px;background:transparent;color:#353a43;font-size:14px;font-weight:700;cursor:pointer}.ow-auth-switch__btn.is-active{background:#1677ff;color:#fff;box-shadow:0 4px 12px rgba(22,119,255,.18)}
.ow-auth-pane[hidden]{display:none!important}
.ow-auth-field{position:relative;margin-bottom:14px}.ow-auth-field input{width:100%;height:48px;border:1px solid #dfe2e7;border-radius:14px;background:#ececef;color:#20232a;padding:0 16px;font-size:14px;outline:none;box-shadow:none}.ow-auth-field input::placeholder{color:#9aa1ac}.ow-auth-field input:focus{border-color:#2f7ef8;background:#fff;box-shadow:0 0 0 1px #2f7ef8}
.ow-auth-field--icon input{padding-left:44px}.ow-auth-inline-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:16px;opacity:.72;pointer-events:none}
.ow-auth-field--combo{display:flex;align-items:stretch;border:1px solid #dfe2e7;border-radius:14px;background:#ececef;overflow:hidden}.ow-auth-field--combo:focus-within{background:#fff;border-color:#2f7ef8;box-shadow:0 0 0 1px #2f7ef8}.ow-auth-field--combo input{border:0!important;border-radius:0!important;background:transparent!important;padding:0 16px!important;height:48px!important}.ow-auth-prefix{display:flex;align-items:center;gap:8px;padding:0 12px 0 14px;flex:0 0 auto;border-right:1px solid #d8dde6}.ow-auth-prefix img{width:18px;height:18px;border-radius:50%;display:block}.ow-auth-prefix__caret,.ow-auth-field__caret{font-size:14px;color:#737985;line-height:1}.ow-auth-field--select{display:flex;align-items:center;border:1px solid #dfe2e7;border-radius:14px;background:#ececef;overflow:hidden;padding:0 12px 0 10px}.ow-auth-field--select input{border:0!important;background:transparent!important;padding:0 12px!important;height:48px!important}.ow-auth-currency-chip{width:22px;height:22px;border-radius:50%;background:#22c55e;color:#101211;font-size:11px;font-weight:800;display:grid;place-items:center;flex:0 0 auto}.ow-auth-field--select .ow-auth-field__caret{margin-left:auto}
.ow-auth-field-hint{margin:-6px 0 14px;font-size:12px;line-height:16px;color:#717784}.ow-auth-forgot-wrap{display:flex;justify-content:flex-end;margin:-4px 0 14px}.ow-auth-forgot{font-size:14px;font-weight:700;color:#1677ff;text-decoration:none}.ow-auth-forgot:hover{text-decoration:underline}
.ow-auth-submit{width:100%;height:46px;border:0;border-radius:12px;background:#08c249;color:#fff;font-size:16px;font-weight:800;cursor:pointer;box-shadow:none}.ow-auth-submit:hover{filter:brightness(.98)}.ow-auth-submit:disabled{opacity:.75;cursor:not-allowed}.ow-auth-submit--register{background:#81d9a2;color:#fff}
.ow-auth-divider{position:relative;text-align:center;margin:14px 0 12px}.ow-auth-divider:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#d8dbe1}.ow-auth-divider span{position:relative;display:inline-block;padding:0 14px;background:#f4f4f5;color:#6e7480;font-size:14px}
.ow-auth-bottom-text{margin:0;text-align:center;color:#666d79;font-size:14px;line-height:1.45}.ow-auth-bottom-text a{color:#1677ff;font-weight:700;text-decoration:none}.ow-auth-bottom-text a:hover{text-decoration:underline}
.ow-auth-agree{margin:14px 0 14px}.ow-auth-agree label{display:flex;align-items:flex-start;gap:10px;color:#49505c;font-size:13px;line-height:1.45}.ow-auth-agree input[type=checkbox]{width:18px;height:18px;accent-color:#1677ff;flex:0 0 auto;margin-top:2px}.ow-auth-agree a{color:#1677ff;text-decoration:none;font-weight:700}
.ow-auth-promo{margin:0 0 12px}.ow-auth-promo__toggle{border:0;padding:0;background:none;color:#1677ff;font-size:14px;font-weight:700;cursor:pointer}.ow-auth-promo__body{margin-top:10px}
.modal-root--auth-1win .form-error{min-height:18px;margin:0 0 10px;color:#e53935;font-size:13px;line-height:18px}.modal-root--auth-1win .form-success{min-height:18px;margin:0 0 10px;color:#0a9e3a;font-size:13px;line-height:18px}.modal-root--auth-1win .form-info{margin:0 0 12px;color:#5f6673;font-size:14px;line-height:1.45}
@media (max-width: 640px){
  .modal-root--auth-1win .modal-panel.ow-auth-panel{width:calc(100vw - 18px)!important;max-width:none!important;border-radius:22px!important;padding:18px 16px 16px!important;margin:9px!important}
  .modal-root--auth-1win .ow-auth-panel--register{max-height:calc(100vh - 18px)!important;overflow:auto!important}
  .ow-auth-title{font-size:22px}
}


/* =========================================================
   V9 — AUTH VISUAL OVERRIDE: vence V4 e replica referência clara
   ========================================================= */
#modal-login.modal-root--auth-1win > .modal-panel.ow-auth-panel,
#modal-register.modal-root--auth-1win > .modal-panel.ow-auth-panel,
#modal-forgot-password.modal-root--auth-1win > .modal-panel.ow-auth-panel{
  width:min(390px,calc(100vw - 24px))!important;
  max-width:390px!important;
  max-height:calc(100vh - 28px)!important;
  background:#ffffff!important;
  border:0!important;
  border-radius:24px!important;
  padding:20px!important;
  box-shadow:0 20px 54px rgba(0,0,0,.32)!important;
  color:#17191f!important;
}
#modal-register.modal-root--auth-1win > .modal-panel.ow-auth-panel{width:min(390px,calc(100vw - 24px))!important;max-width:390px!important;overflow-y:auto!important;scrollbar-width:thin;scrollbar-color:#d7d9de transparent}
#modal-register.modal-root--auth-1win > .modal-panel.ow-auth-panel::-webkit-scrollbar{width:4px}
#modal-register.modal-root--auth-1win > .modal-panel.ow-auth-panel::-webkit-scrollbar-thumb{background:#d7d9de;border-radius:4px}
#modal-login.modal-root--auth-1win .ow-auth-head,
#modal-register.modal-root--auth-1win .ow-auth-head,
#modal-forgot-password.modal-root--auth-1win .ow-auth-head{margin:0 0 14px!important;height:34px!important}
#modal-login.modal-root--auth-1win .ow-auth-title,
#modal-register.modal-root--auth-1win .ow-auth-title,
#modal-forgot-password.modal-root--auth-1win .ow-auth-title{margin:0!important;color:#17191f!important;font-size:27px!important;line-height:34px!important;font-weight:750!important;letter-spacing:-.7px!important}
#modal-login.modal-root--auth-1win .ow-auth-close,
#modal-register.modal-root--auth-1win .ow-auth-close,
#modal-forgot-password.modal-root--auth-1win .ow-auth-close{width:30px!important;height:30px!important;padding:0!important;color:#747b86!important;background:transparent!important;border:0!important;border-radius:8px!important;font-size:26px!important;font-weight:300!important}
#modal-login.modal-root--auth-1win .ow-auth-form,
#modal-register.modal-root--auth-1win .ow-auth-form{color:#17191f!important}
#modal-login.modal-root--auth-1win .ow-auth-switch{height:44px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;padding:0!important;margin:0 0 16px!important;border-radius:13px!important;background:#f1f1f3!important;overflow:hidden!important}
#modal-login.modal-root--auth-1win .ow-auth-switch__btn{height:44px!important;border:0!important;border-radius:13px!important;background:transparent!important;color:#30343c!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;font-size:14px!important;font-weight:700!important;box-shadow:none!important}
#modal-login.modal-root--auth-1win .ow-auth-switch__btn.is-active{background:#1378ff!important;color:#fff!important;box-shadow:0 2px 5px rgba(19,120,255,.18)!important}
.ow-auth-tab-icon{width:19px;height:19px;display:grid;place-items:center}.ow-auth-tab-icon svg{display:block;width:19px;height:19px}
#modal-login.modal-root--auth-1win .ow-auth-field,
#modal-register.modal-root--auth-1win .ow-auth-field,
#modal-forgot-password.modal-root--auth-1win .ow-auth-field{margin:0 0 12px!important}
#modal-login.modal-root--auth-1win .ow-auth-field input,
#modal-register.modal-root--auth-1win .ow-auth-field input,
#modal-forgot-password.modal-root--auth-1win .ow-auth-field input{
  height:44px!important;min-height:44px!important;background:#f2f2f4!important;border:1px solid transparent!important;border-radius:12px!important;color:#24272d!important;font-size:14px!important;font-weight:400!important;padding:0 14px!important;box-shadow:none!important;
}
#modal-login.modal-root--auth-1win .ow-auth-field input::placeholder,
#modal-register.modal-root--auth-1win .ow-auth-field input::placeholder,
#modal-forgot-password.modal-root--auth-1win .ow-auth-field input::placeholder{color:#969ca7!important;opacity:1!important}
#modal-login.modal-root--auth-1win .ow-auth-field input:focus,
#modal-register.modal-root--auth-1win .ow-auth-field input:focus,
#modal-forgot-password.modal-root--auth-1win .ow-auth-field input:focus{background:#fff!important;border-color:#1579ff!important;box-shadow:0 0 0 1px #1579ff!important}
#modal-login.modal-root--auth-1win .ow-auth-field--combo,
#modal-register.modal-root--auth-1win .ow-auth-field--combo{height:44px!important;margin-bottom:12px!important;background:#f2f2f4!important;border:1px solid transparent!important;border-radius:12px!important;overflow:hidden!important;box-shadow:none!important}
#modal-login.modal-root--auth-1win .ow-auth-field--combo:focus-within,
#modal-register.modal-root--auth-1win .ow-auth-field--combo:focus-within{background:#fff!important;border-color:#1579ff!important;box-shadow:0 0 0 1px #1579ff!important}
#modal-login.modal-root--auth-1win .ow-auth-field--combo input,
#modal-register.modal-root--auth-1win .ow-auth-field--combo input{height:42px!important;min-height:42px!important;background:transparent!important;border:0!important;border-radius:0!important;padding-left:8px!important;box-shadow:none!important}
#modal-login.modal-root--auth-1win .ow-auth-prefix,
#modal-register.modal-root--auth-1win .ow-auth-prefix{height:42px!important;padding:0 11px!important;border-right:1px solid #dde0e5!important;gap:8px!important;background:transparent!important}
#modal-login.modal-root--auth-1win .ow-auth-prefix img,
#modal-register.modal-root--auth-1win .ow-auth-prefix img{width:18px!important;height:18px!important;border-radius:50%!important}
.ow-auth-country-code{height:42px;display:flex;align-items:center;padding-left:12px;color:#383c45;font-size:14px;line-height:1;white-space:nowrap}
#modal-register.modal-root--auth-1win .ow-auth-field--select{height:44px!important;margin-bottom:12px!important;background:#f2f2f4!important;border:0!important;border-radius:12px!important;padding:0 12px!important}
#modal-register.modal-root--auth-1win .ow-auth-field--select input{height:44px!important;min-height:44px!important;background:transparent!important;border:0!important;padding:0 11px!important;color:#21242a!important;box-shadow:none!important}
#modal-register.modal-root--auth-1win .ow-auth-currency-chip{width:18px!important;height:18px!important;background:#21c853!important;color:#111!important;font-size:9px!important;font-weight:800!important}
#modal-login.modal-root--auth-1win .ow-auth-field--icon input,
#modal-register.modal-root--auth-1win .ow-auth-field--icon input,
#modal-forgot-password.modal-root--auth-1win .ow-auth-field--icon input{padding-left:45px!important}
.ow-auth-inline-icon{left:16px!important;width:18px!important;height:18px!important;color:#7b818c!important;opacity:1!important;display:grid!important;place-items:center!important;font-size:0!important}
.ow-auth-inline-icon svg{display:block!important;width:18px!important;height:18px!important}
#modal-login.modal-root--auth-1win .ow-auth-forgot-wrap{margin:-1px 0 16px!important}
#modal-login.modal-root--auth-1win .ow-auth-forgot{color:#0877ff!important;font-size:14px!important;line-height:18px!important;font-weight:700!important;text-decoration:none!important}
#modal-login.modal-root--auth-1win .ow-auth-submit,
#modal-register.modal-root--auth-1win .ow-auth-submit,
#modal-forgot-password.modal-root--auth-1win .ow-auth-submit{height:44px!important;border:0!important;border-radius:11px!important;background:#04be4c!important;color:#fff!important;font-size:15px!important;font-weight:750!important;box-shadow:none!important}
#modal-register.modal-root--auth-1win .ow-auth-submit--register{background:#7bd7a0!important;color:#fff!important}
#modal-login.modal-root--auth-1win .ow-auth-divider,
#modal-register.modal-root--auth-1win .ow-auth-divider{margin:14px 0 14px!important;height:16px!important;line-height:16px!important}
#modal-login.modal-root--auth-1win .ow-auth-divider:before,
#modal-register.modal-root--auth-1win .ow-auth-divider:before{background:#e5e6e9!important}
#modal-login.modal-root--auth-1win .ow-auth-divider span,
#modal-register.modal-root--auth-1win .ow-auth-divider span{background:#fff!important;color:#6d737d!important;font-size:14px!important;padding:0 12px!important}
#modal-login.modal-root--auth-1win .ow-auth-bottom-text,
#modal-register.modal-root--auth-1win .ow-auth-bottom-text{margin:0!important;color:#6c727d!important;font-size:14px!important;line-height:20px!important}
#modal-login.modal-root--auth-1win .ow-auth-bottom-text a,
#modal-register.modal-root--auth-1win .ow-auth-bottom-text a{color:#0877ff!important;font-weight:700!important;text-decoration:none!important}
#modal-register.modal-root--auth-1win .ow-auth-field-hint{margin:-4px 0 14px!important;color:#6e7580!important;font-size:12px!important;line-height:16px!important}
#modal-register.modal-root--auth-1win .ow-auth-promo{margin:0 0 14px!important}
#modal-register.modal-root--auth-1win .ow-auth-promo__toggle{color:#0877ff!important;font-size:14px!important;line-height:18px!important;font-weight:700!important}
#modal-register.modal-root--auth-1win .ow-auth-agree{margin:0 0 14px!important}
#modal-register.modal-root--auth-1win .ow-auth-agree label{gap:9px!important;color:#6a707b!important;font-size:12px!important;line-height:18px!important}
#modal-register.modal-root--auth-1win .ow-auth-agree input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;width:20px!important;height:20px!important;margin:0!important;border:0!important;border-radius:6px!important;background:#147bff!important;position:relative!important;flex:0 0 20px!important}
#modal-register.modal-root--auth-1win .ow-auth-agree input[type=checkbox]:checked:after{content:"";position:absolute;left:6px;top:3px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
#modal-register.modal-root--auth-1win .ow-auth-agree a{color:#0877ff!important;font-weight:700!important}
#modal-login.modal-root--auth-1win .form-error,
#modal-register.modal-root--auth-1win .form-error{min-height:0!important;margin:0 0 8px!important;color:#d93b3b!important;font-size:12px!important}
#modal-login.modal-root--auth-1win .form-error:empty,
#modal-register.modal-root--auth-1win .form-error:empty{display:none!important}
@media(max-width:640px){
  #modal-login.modal-root--auth-1win > .modal-panel.ow-auth-panel,
  #modal-register.modal-root--auth-1win > .modal-panel.ow-auth-panel,
  #modal-forgot-password.modal-root--auth-1win > .modal-panel.ow-auth-panel{width:calc(100vw - 24px)!important;max-width:390px!important;margin:12px!important;padding:20px!important;border-radius:24px!important}
}

/* =========================================================
   V10 — mobile 1win, seletor completo de países, zoom bloqueado
   ========================================================= */

/* Setas do telefone/currency mais limpas e centralizadas */
.ow-auth-prefix--flag{
  border:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  cursor:pointer!important;
}
.ow-auth-country-flag{
  width:20px;height:20px;min-width:20px;
  display:grid;place-items:center;
  font-size:18px;line-height:20px;
  overflow:hidden;
}
.ow-auth-country-chevron{
  width:16px!important;height:16px!important;min-width:16px!important;
  color:#747b86!important;display:block!important;
}
.ow-auth-field__caret{
  width:16px!important;height:16px!important;min-width:16px!important;
  color:#747b86!important;margin-left:auto!important;
}

/* Seletor completo de países */
.ow-country-modal{
  position:fixed;inset:0;z-index:12000;
  display:grid;place-items:center;padding:16px;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .15s ease,visibility .15s ease;
}
.ow-country-modal[hidden]{display:none!important}
.ow-country-modal.is-open{opacity:1;visibility:visible;pointer-events:auto}
.ow-country-modal__backdrop{
  position:absolute;inset:0;border:0;padding:0;
  background:rgba(0,0,0,.72);backdrop-filter:blur(5px);
}
.ow-country-modal__panel{
  position:relative;z-index:1;
  width:min(390px,calc(100vw - 24px));
  max-height:min(78vh,650px);
  display:flex;flex-direction:column;
  background:#fff;color:#17191f;
  border-radius:24px;padding:18px 12px 10px;
  box-shadow:0 24px 70px rgba(0,0,0,.42);
  overflow:hidden;
}
.ow-country-modal__head{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;margin-bottom:10px}
.ow-country-modal__head h2{margin:0;font-size:26px;line-height:32px;font-weight:800;letter-spacing:-.5px;color:#17191f}
.ow-country-modal__close{width:34px;height:34px;border:0;border-radius:9px;background:transparent;color:#777e88;font-size:27px;line-height:1;display:grid;place-items:center;cursor:pointer}
.ow-country-modal__close:hover{background:#f2f3f5}
.ow-country-search{
  height:44px;margin:0 8px 10px;padding:0 14px;
  display:flex;align-items:center;gap:10px;
  border:1.5px solid #147bff;border-radius:12px;background:#fff;color:#7f8692;
}
.ow-country-search svg{width:20px;height:20px;flex:0 0 20px}
.ow-country-search input{min-width:0;flex:1;height:40px;border:0!important;outline:0!important;background:transparent!important;color:#23262c!important;font-size:14px!important;padding:0!important;box-shadow:none!important}
.ow-country-search input::placeholder{color:#a1a6b0!important}
.ow-country-list{overflow-y:auto;overscroll-behavior:contain;padding:0 4px 0 2px;scrollbar-width:thin;scrollbar-color:#d8dbe0 transparent}
.ow-country-list::-webkit-scrollbar{width:4px}.ow-country-list::-webkit-scrollbar-thumb{background:#d8dbe0;border-radius:8px}
.ow-country-option{
  width:100%;min-height:52px;border:0;border-bottom:1px solid #eceef1;background:transparent;
  display:grid;grid-template-columns:28px 44px minmax(0,1fr);align-items:center;gap:8px;
  padding:0 10px;color:#25282e;text-align:left;cursor:pointer;border-radius:10px;
}
.ow-country-option:hover{background:#f3f4f6}.ow-country-option:last-child{border-bottom:0}
.ow-country-option__flag{font-size:20px;line-height:1;width:24px;height:24px;display:grid;place-items:center;overflow:hidden}
.ow-country-option__dial{font-size:14px;color:#2c3037;white-space:nowrap}
.ow-country-option__name{font-size:14px;line-height:18px;color:#2a2d33;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Seletor de moeda do cadastro */
#modal-register .ow-auth-currency-trigger{width:100%;color:#21242a;text-align:left;cursor:pointer;font:inherit}
#modal-register .ow-auth-currency-trigger .ow-auth-currency-label{flex:1;padding:0 11px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ow-currency-modal .ow-country-modal__panel{width:min(430px,100vw);max-height:min(85dvh,760px);padding:20px 16px 16px}
.ow-currency-modal .ow-country-search{background:#f3f4f6;border:0;border-radius:14px;margin-bottom:14px}
.ow-currency-list{min-height:80px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ow-currency-option{width:100%;min-height:70px;display:flex;align-items:center;gap:14px;padding:8px 12px;border:0;border-bottom:1px solid #eef0f2;background:#fff;color:#181a1f;text-align:left;cursor:pointer}
.ow-currency-option[hidden],.ow-currency-empty[hidden]{display:none!important}
.ow-currency-option:last-of-type{border-bottom:0}.ow-currency-option:hover{background:#f6f7f8}
.ow-currency-option__icon{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;background:var(--currency-color);color:#fff;font-size:12px;font-weight:800}
.ow-currency-option__text{display:flex;flex-direction:column;gap:3px}.ow-currency-option__text strong{font-size:16px;font-weight:700}.ow-currency-option__text small{font-size:13px;color:#646a73}
.ow-currency-empty{padding:20px 12px;color:#646a73}
@media(max-width:600px){.ow-currency-modal{padding:0;place-items:end center}.ow-currency-modal .ow-country-modal__panel{width:100%;max-height:calc(100dvh - 70px);min-height:55dvh;border-radius:26px 26px 0 0;padding:22px 16px max(22px,env(safe-area-inset-bottom));margin:0}}

/* Jogadores ativos sempre ocupam a linha abaixo do slot, inclusive quando zero. */
.ow-game-card__online.is-zero{visibility:visible!important;opacity:.72!important}

@media(max-width:1023.98px){
  :root{--header-h:64px!important;--safe-t:0px!important;--tabbar-h:0px!important;--ow-page-mobile:16px!important}
  html,body{touch-action:pan-x pan-y!important;overscroll-behavior-x:none!important}
  button,a,input,select,textarea{touch-action:manipulation!important}

  /* Sidebar compacta fica presente no mobile como na referência. */
  .ow-ref-sidebar.sidebar,
  body.sidebar-compact .ow-ref-sidebar.sidebar{
    position:fixed!important;
    inset:0 auto 0 0!important;
    width:64px!important;
    height:100dvh!important;
    min-height:100vh!important;
    transform:none!important;
    display:flex!important;
    flex-direction:column!important;
    padding:10px 8px 8px!important;
    background:#1d1e20!important;
    border:0!important;
    overflow:hidden!important;
    z-index:1150!important;
    box-shadow:none!important;
  }
  body:not(.sidebar-compact) .ow-ref-sidebar.sidebar{
    width:min(280px,calc(100vw - 48px))!important;
    padding:12px!important;
    box-shadow:14px 0 34px rgba(0,0,0,.42)!important;
  }
  .ow-ref-sidebar .sidebar-head{display:none!important}
  .ow-ref-sidebar .ow-side-expand{display:grid!important}
  body.sidebar-compact .ow-side-profile{width:48px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0 auto!important;justify-content:center!important}
  body.sidebar-compact .ow-side-profile__avatar{width:44px!important;height:44px!important;min-width:44px!important}
  body.sidebar-compact .ow-side-profile__text,
  body.sidebar-compact .ow-side-profile .ow-side-chev{display:none!important}
  body.sidebar-compact .ow-side-freemoney{width:48px!important;height:76px!important;margin:8px auto 0!important;border-radius:12px!important;background:url('../img/onewin-ref/sidebar-freemoney-compact.png') center/cover no-repeat!important}
  body.sidebar-compact .ow-side-freemoney picture{display:none!important}
  body.sidebar-compact .ow-side-expand{right:-17px!important;top:128px!important;width:34px!important;height:34px!important;background:#30333a!important;border-radius:50%!important}
  body.sidebar-compact .ow-side-expand__expanded{display:none!important}
  body.sidebar-compact .ow-side-expand__compact{display:inline!important}
  body.sidebar-compact .ow-side-divider{width:48px!important;margin:10px auto!important}
  body.sidebar-compact .ow-side-nav{gap:1px!important}
  body.sidebar-compact .ow-side-item{width:48px!important;height:39px!important;min-height:39px!important;padding:0!important;margin:0 auto!important;justify-content:center!important;gap:0!important;border-radius:10px!important}
  body.sidebar-compact .ow-side-label,
  body.sidebar-compact .ow-side-item__chev{display:none!important}
  body.sidebar-compact .ow-side-icon{width:26px!important;height:26px!important;min-width:26px!important}
  body.sidebar-compact .ow-side-icon img{width:24px!important;height:24px!important}
  body.sidebar-compact .ow-side-badge{position:absolute!important;right:0!important;top:-2px!important;min-width:16px!important;height:16px!important;padding:0 4px!important;font-size:9px!important;border-radius:8px!important}
  body.sidebar-compact .ow-side-badge--new{right:-5px!important;top:19px!important;min-width:29px!important}
  body.sidebar-compact .ow-side-grow{display:none!important}
  body.sidebar-compact .ow-side-bottom{position:absolute!important;left:8px!important;right:8px!important;bottom:8px!important;margin:0!important;gap:8px!important;background:#1d1e20!important}
  body.sidebar-compact .ow-side-app{width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;margin:0 auto!important;justify-content:center!important;background:transparent!important;border-radius:12px!important}
  body.sidebar-compact .ow-side-app__icon{width:48px!important;height:48px!important;background:transparent url('../img/onewin-ref/sidebar-win.png') center/48px 48px no-repeat!important}
  body.sidebar-compact .ow-side-app__copy,body.sidebar-compact .ow-side-app>.ow-side-chev{display:none!important}
  body.sidebar-compact .ow-side-social-lang{height:auto!important;flex-direction:column!important;gap:8px!important}
  body.sidebar-compact .ow-side-socials{width:48px!important;height:44px!important;padding:4px!important;border-radius:10px!important;background:#303238!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:2px!important}
  body.sidebar-compact .ow-side-social{width:18px!important;height:16px!important;border-radius:5px!important;background-size:16px 16px!important}
  body.sidebar-compact .ow-side-lang-wrap{margin:0!important}
  body.sidebar-compact .ow-side-lang{width:48px!important;height:42px!important;padding:0!important;justify-content:center!important}
  body.sidebar-compact .ow-side-lang span,body.sidebar-compact .ow-side-lang b{display:none!important}
  body.sidebar-compact .ow-side-lang img{width:22px!important;height:22px!important}
  body.sidebar-compact .ow-side-divider--bottom{margin:4px auto 0!important}
  body.sidebar-compact .ow-side-support{width:48px!important;height:42px!important;padding:0!important;margin:0 auto!important;justify-content:center!important}
  body.sidebar-compact .ow-side-support__icon{width:36px!important;height:36px!important}
  body.sidebar-compact .ow-side-support__label,body.sidebar-compact .ow-side-support__badge{display:none!important}

  .sidebar-overlay{left:64px!important;z-index:1125!important;background:rgba(0,0,0,.64)!important}
  .sidebar-overlay.is-open{display:block!important;opacity:1!important;pointer-events:auto!important}

  /* Remove a barra superior enorme: header com 64px, sem safe-area duplicada. */
  .site-header{
    position:fixed!important;top:0!important;left:64px!important;right:0!important;
    width:auto!important;height:64px!important;min-height:64px!important;padding:0!important;
    background:#141415!important;border:0!important;box-shadow:none!important;z-index:1000!important;
  }
  .site-header__inner{height:64px!important;min-height:64px!important;padding:0 12px 0 16px!important;gap:8px!important;max-width:none!important}
  .header-menu-btn--mobile{display:none!important}
  .site-header .logo{margin:0!important;flex:0 0 auto!important}
  .site-header .logo__img{height:27px!important;max-width:94px!important}
  .header-spacer{flex:1 1 auto!important;min-width:4px!important}
  .header-actions{gap:8px!important;flex:0 0 auto!important}
  .header-icon-btn--search{display:none!important}
  .header-actions .btn--login{height:44px!important;min-height:44px!important;min-width:80px!important;padding:0 14px!important;border-radius:12px!important;background:#2e3035!important;color:#fff!important;font-size:14px!important;font-weight:750!important}
  .header-actions .btn--register{height:44px!important;min-height:44px!important;min-width:88px!important;padding:0 14px!important;border-radius:12px!important;background:#00b956!important;color:#fff!important;font-size:14px!important;font-weight:750!important}

  .app-shell{min-height:100dvh!important;padding-left:64px!important;padding-top:64px!important;padding-bottom:0!important;background:#141415!important}
  .main__container{max-width:none!important;padding:8px 16px 28px!important;margin:0!important}
  .tabbar{display:none!important}

  /* Cassino mobile — medidas e azul da referência. */
  .ow-casino-page{gap:12px!important}
  .ow-preset-tabs{height:40px!important;min-height:40px!important;max-width:100%!important;margin:0!important;padding:2px!important;border-radius:14px!important;background:#242527!important;gap:2px!important}
  .ow-preset-tabs .onewin-casino-tab{height:36px!important;min-height:36px!important;padding:0 12px!important;border-radius:12px!important;font-size:13px!important;font-weight:700!important;color:#e4e6ea!important;background:transparent!important}
  .ow-preset-tabs .onewin-casino-tab.is-active{background:#087cff!important;color:#fff!important}
  .ow-casino-hero{grid-template-columns:minmax(0,1.62fr) minmax(0,1fr)!important;gap:16px!important;align-items:start!important;overflow:visible!important;margin-top:4px!important}
  .ow-casino-hero__banner{min-width:0!important;aspect-ratio:auto!important}
  .ow-casino-hero .ow-banner-carousel,.ow-casino-hero .ow-banner-empty{width:100%!important;height:64px!important;min-height:64px!important;aspect-ratio:auto!important;border-radius:20px!important;overflow:hidden!important}
  .ow-casino-hero .banner-carousel__track,.ow-casino-hero .ow-banner-slide{height:64px!important;min-height:64px!important}
  .ow-casino-hero .ow-banner-slide__img{width:100%!important;height:100%!important;object-fit:cover!important}
  .ow-casino-hero .banner-carousel__nav{display:none!important}
  .ow-casino-hero .banner-carousel__dots{bottom:5px!important}
  .ow-week-game{min-height:171px!important;height:171px!important;border-radius:20px!important;padding:16px!important;background:#3658ff!important;grid-template-columns:1fr!important;overflow:hidden!important}
  .ow-week-game__card{display:none!important}
  .ow-week-game__copy{height:100%!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important}
  .ow-week-game__headline{font-size:23px!important;line-height:27px!important;font-weight:750!important;color:#fff!important}
  .ow-week-game__meta{margin-top:auto!important;color:#e7eaff!important;font-size:11px!important}
  .ow-week-game__button{margin-top:10px!important;height:38px!important;min-height:38px!important;padding:0 16px!important;border-radius:11px!important;background:#fff!important;color:#262a33!important;font-size:13px!important;font-weight:700!important;display:inline-flex!important;align-items:center!important}

  .ow-casino-sticky{position:relative!important;top:auto!important;z-index:auto!important;display:grid!important;grid-template-columns:minmax(0,106px) minmax(0,1fr)!important;gap:8px!important;margin:12px 0 0!important;padding:0!important;background:transparent!important;backdrop-filter:none!important}
  .ow-casino-search{height:44px!important;min-height:44px!important;padding:0 12px!important;border-radius:12px!important;background:#242527!important;gap:8px!important}
  .ow-casino-search input{font-size:13px!important}
  .ow-providers-button{width:100%!important;height:44px!important;min-height:44px!important;padding:0 14px!important;border-radius:12px!important;background:#242527!important;color:#fff!important;justify-content:center!important;font-size:13px!important;font-weight:700!important}
  .ow-providers-button span{font-size:17px!important}

  .ow-category-rail{gap:8px!important;padding:0!important;margin:4px 0 0!important;overflow-x:auto!important}
  .ow-category-rail .onewin-category-chip{height:40px!important;min-height:40px!important;border-radius:11px!important;padding:0 14px!important;background:#202123!important;color:#e5e7eb!important;font-size:13px!important;font-weight:700!important}
  .ow-category-rail .onewin-category-chip.is-active{background:#087cff!important;color:#fff!important}

  .ow-game-sections{gap:24px!important;margin-top:8px!important}
  .ow-game-section__head{height:32px!important;min-height:32px!important;margin:0 0 8px!important}
  .ow-game-section .game-section__title{font-size:16px!important;line-height:22px!important;font-weight:750!important;color:#f5f6f8!important}
  .ow-game-section__arrows{display:flex!important;gap:6px!important}
  .ow-game-section__arrows .game-section__arrow{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important;background:#202123!important;color:#c8ccd3!important}
  .ow-game-section__icon{width:20px!important;height:20px!important}
  .ow-game-row{gap:4px!important;padding:0!important;margin:0!important;overflow-x:auto!important}
  .ow-game-row>.ow-game-card{flex:0 0 calc((100% - 8px)/3)!important;width:calc((100% - 8px)/3)!important;min-width:0!important}
  .ow-game-card{gap:5px!important}
  .ow-game-card__media{border-radius:10px!important;aspect-ratio:3/4!important}
  .ow-game-card__online{min-height:15px!important;padding:0 1px!important;font-size:10px!important;line-height:15px!important;gap:3px!important;white-space:nowrap!important}
  .ow-game-card__online-dot{width:5px!important;height:5px!important;flex-basis:5px!important;background:#00c566!important}
  .ow-game-card__online-text{font-size:10px!important;color:#a8adb6!important}

  /* Popups de idioma/social continuam ao lado da sidebar também no mobile. */
  .ow-language-modal,.ow-social-modal{display:block!important;padding:0!important}
  .ow-language-modal__backdrop,.ow-social-modal__backdrop{position:fixed!important;left:64px!important;right:0!important;top:0!important;bottom:0!important}
  .ow-language-modal__panel,.ow-social-modal__panel{position:fixed!important;left:68px!important;top:50%!important;width:min(308px,calc(100vw - 84px))!important;max-width:none!important;transform:translateY(-50%) scale(.985)!important}
  .ow-language-modal.is-open .ow-language-modal__panel,.ow-social-modal.is-open .ow-social-modal__panel{transform:translateY(-50%) scale(1)!important}
}

@media(max-width:430px){
  .site-header__inner{padding-left:12px!important;padding-right:8px!important;gap:6px!important}
  .site-header .logo__img{height:25px!important;max-width:86px!important}
  .header-actions{gap:6px!important}
  .header-actions .btn--login{min-width:72px!important;padding-inline:11px!important}
  .header-actions .btn--register{min-width:80px!important;padding-inline:11px!important}
  .main__container{padding-left:16px!important;padding-right:16px!important}
  .ow-preset-tabs .onewin-casino-tab{padding-inline:11px!important;font-size:12px!important}
}

/* Mobile sidebar: hidden drawer by default.
   The page keeps the full viewport width; the menu opens only on request. */
@media(max-width:1023.98px){
  :root{--tabbar-h:60px!important}
  body #sidebar.ow-ref-sidebar{transform:translateX(-100%)!important;width:min(280px,calc(100vw - 48px))!important;transition:transform .2s ease!important;top:0!important;bottom:auto!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;box-sizing:border-box!important;padding:16px 16px max(16px,env(safe-area-inset-bottom))!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;overscroll-behavior-y:contain!important}
  body #sidebar.ow-ref-sidebar.is-open{transform:translateX(0)!important;box-shadow:12px 0 40px rgba(0,0,0,.5)!important}
  .sidebar-overlay{left:0!important}
  .site-header{left:0!important;}
  .site-header .header-menu-btn--mobile{display:none!important}
  .app-shell{padding-left:0!important;padding-bottom:calc(60px + var(--safe-b,0px))!important}
  .main__container{padding-bottom:calc(84px + var(--safe-b,0px))!important}
  .tabbar{display:flex!important}

  /* Expanded drawer follows the mobile reference; the bottom Menu opens it. */
  body #sidebar .sidebar-head{display:block!important;position:absolute!important;top:12px!important;right:12px!important;width:34px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;z-index:6!important}
  body #sidebar .sidebar-close{width:34px!important;height:34px!important;padding:0!important;border-radius:50%!important;background:#303238!important;color:#fff!important}
  body #sidebar .ow-side-expand{display:none!important}
  body #sidebar .ow-side-profile{height:44px!important;min-height:44px!important;padding:0!important;gap:12px!important}
  body #sidebar .ow-side-profile__avatar{width:44px!important;height:44px!important;min-width:44px!important}
  body #sidebar .ow-side-profile__text strong{font-size:16px!important;font-weight:650!important}
  body #sidebar .ow-side-freemoney{height:56px!important;min-height:56px!important;margin:8px 0 0!important;border-radius:14px!important}
  body #sidebar .ow-side-divider{margin:16px 0!important}
  body #sidebar .ow-side-nav{gap:2px!important}
  body #sidebar .ow-side-item{height:39px!important;min-height:39px!important;padding:0 4px!important;gap:8px!important;font-size:14px!important;font-weight:500!important}
  body #sidebar .ow-side-icon{width:24px!important;height:24px!important;min-width:24px!important}
  body #sidebar .ow-side-item--promotions{color:#a8adb6!important}
  body #sidebar .ow-side-divider--promotions{margin:14px 0 10px!important}
  body #sidebar .ow-side-bottom{flex:0 0 auto!important;margin-top:auto!important;gap:8px!important;padding-bottom:0!important}
  body #sidebar .ow-side-app--desktop{display:none!important}
  body #sidebar .ow-side-app--mobile{display:flex!important;height:68px!important;min-height:68px!important;padding:8px 10px!important;background:#303238!important}
  body #sidebar .ow-side-app--mobile .ow-side-app__icon{width:44px!important;height:44px!important;min-width:44px!important;background:#101114!important;color:#fff!important;font:34px -apple-system,BlinkMacSystemFont,"Segoe UI Symbol",sans-serif!important}
  body #sidebar .ow-side-app--mobile .ow-side-app__icon svg{width:28px!important;height:28px!important}
  body #sidebar .ow-side-app--mobile .ow-side-app__copy strong{font-size:12px!important;font-weight:700!important}
  body #sidebar .ow-side-app--mobile .ow-side-app__copy small{font-size:11px!important;line-height:14px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  body #sidebar .ow-side-social-lang{height:36px!important;min-height:36px!important;flex-direction:row!important;gap:8px!important}
  body #sidebar .ow-side-socials{display:flex!important;gap:4px!important;width:auto!important;height:auto!important;padding:0!important;background:transparent!important}
  body #sidebar .ow-side-social{width:34px!important;height:34px!important;background-color:#303238!important;background-size:32px 32px!important}
  body #sidebar .ow-side-lang-wrap{margin-left:auto!important}
  body #sidebar .ow-side-lang{height:34px!important;min-height:34px!important;padding:0 8px!important}
  body #sidebar .ow-side-divider--bottom{margin:6px 0 0!important}
  body #sidebar .ow-side-support{height:42px!important;min-height:42px!important;padding:0 4px!important}
  body #sidebar .ow-side-support__label,body #sidebar .ow-side-support__badge{display:inline-flex!important}
  body #sidebar .ow-side-support__icon{width:34px!important;height:34px!important;min-width:34px!important}
}

@media(min-width:1024px){.ow-side-app--mobile,.ow-side-item--promotions,.ow-side-divider--promotions{display:none!important}}


/* ===== PATCH 2026-10-07 — mobile/desktop translation + auth/footer refinements ===== */
.ow-home-hero--localized .ow-local-side img{object-fit:contain!important;object-position:center center!important;background:#11181b!important}
@media (min-width:1024px){
  .header-actions .btn--login{min-width:86px!important;width:auto!important;padding-inline:16px!important}
  .header-actions .btn--register{min-width:104px!important;width:auto!important;padding-inline:16px!important}
  .ow-side-bottom{overflow:hidden!important}
  .ow-side-app{min-height:68px!important;height:auto!important;padding:10px 12px!important;align-items:center!important}
  .ow-side-app__icon{width:40px!important;height:40px!important;min-width:40px!important;background:#00b8f0 url('../img/onewin-ref/sidebar-win.png') center/40px 40px no-repeat!important}
  .ow-side-app__copy strong{font-size:12px!important;line-height:1.2!important}
  .ow-side-app__copy small{font-size:11px!important;line-height:1.25!important}
}
.header-balance__deposit{display:grid!important;place-items:center!important}
.header-balance__plus{display:grid!important;place-items:center!important;width:18px!important;height:18px!important}
.header-balance__plus svg{width:16px!important;height:16px!important;stroke-width:2.3!important}
.ow-auth-prefix{border-right:0!important;padding-right:10px!important}
.ow-auth-country-code{padding-left:0!important;padding-right:10px!important}
.ow-auth-country-flag,.ow-country-option__flag{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif!important}
.ow-country-option__flag{font-size:20px!important;line-height:1!important}
.ow-auth-field--icon{position:relative}
.ow-auth-field--icon input[type="password"]{padding-right:46px!important}
.ow-auth-password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;background:transparent;color:#7a808b;display:grid;place-items:center;cursor:pointer;padding:0}
.ow-auth-password-toggle:hover{color:#1f2430}
.ow-auth-password-toggle span{font-size:16px;line-height:1}
.ow-footer-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;flex-wrap:wrap!important}
.ow-footer-bottom__meta{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:18px!important;flex:1 1 auto!important;flex-wrap:wrap!important}
.ow-footer-cert{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important}
.ow-footer-cert img{display:block!important;height:28px!important;width:auto!important;object-fit:contain!important}
.ow-footer-copy{white-space:nowrap}
.ow-footer-age{align-self:center!important;line-height:1!important}
@media (max-width:640px){
  .ow-footer-bottom,.ow-footer-bottom__meta{justify-content:center!important}
  .ow-footer-cert img{height:24px!important}
}
