
#video-ad-container {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 300px;
  height: 250px;
  z-index: 9999;
  background: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}
.apps{
  margin-bottom: 4px;
  text-align: center;
}
.right-us{max-width: 400px;}
.btn_groups button,.btn_groups a,.btn_groups .bgitem {
  margin: 2px;
}
.btn_groups i {
  margin-right: 5px;
}
/* App promo popup — bottom sheet (mobile) / centered card (desktop) */
.apps-popup {
  position: fixed;
  inset: 0;
  z-index: 1040;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}
.apps-popup[hidden] {
  display: none !important;
}
.apps-popup.is-open {
  pointer-events: auto;
}
.apps-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.apps-popup.is-open .apps-popup__backdrop {
  opacity: 1;
}
.apps-popup__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  max-height: min(92vh, 40rem);
  overflow: auto;
  margin: 0;
  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: 1.15rem 1.15rem 0 0;
  background: var(--site-surface, #fff);
  color: var(--site-text, #1a1d21);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.18);
  transform: translateY(110%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-overflow-scrolling: touch;
}
.apps-popup.is-open .apps-popup__dialog {
  transform: translateY(0);
}
.apps-popup__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--site-text-muted, #64748b) 12%, transparent);
  color: var(--site-text-muted, #64748b);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.apps-popup__close:hover,
.apps-popup__close:focus-visible {
  background: color-mix(in srgb, var(--site-text-muted, #64748b) 22%, transparent);
  color: var(--site-text, #1a1d21);
  outline: none;
}
.apps-popup__header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-right: 2rem;
  margin-bottom: 0.85rem;
}
.apps-popup__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-primary, #0d9488), var(--brand-primary-dark, #0f766e));
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand-primary, #0d9488) 35%, transparent);
}
.apps-popup__intro {
  min-width: 0;
}
.apps-popup__eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary, #0d9488);
}
.apps-popup__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--site-text, #1a1d21);
}
.apps-popup__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--site-text-muted, #64748b);
}
.apps-popup__benefits {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.apps-popup__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--site-text, #1a1d21);
}
.apps-popup__benefits .bi {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--brand-primary, #0d9488);
  font-size: 1rem;
}
.apps-popup__apps {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}
.apps-popup__app {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--site-border-subtle, #eef2f6);
  border-radius: 0.85rem;
  background: var(--site-surface-raised, #f8fafb);
}
.apps-popup__app-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.55rem;
}
.apps-popup__app-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.apps-popup__app-badge--coc {
  background: var(--game-coc-accent, #15803d);
}
.apps-popup__app-badge--cr {
  background: var(--game-cr-accent, #6d28d9);
}
.apps-popup__app-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}
.apps-popup__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.apps-popup__store {
  display: inline-flex;
  line-height: 0;
  border-radius: 0.5rem;
  opacity: 0.92;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}
.apps-popup__store img {
  display: block;
  height: 2.35rem;
  width: auto;
  margin: 0;
  border-radius: 0.5rem;
}
.apps-popup__store:hover,
.apps-popup__store:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
  outline: none;
}
.apps-popup__store.is-preferred {
  opacity: 1;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-primary, #0d9488) 55%, transparent);
}
.apps-popup__later {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  color: var(--site-text-muted, #64748b);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.apps-popup__later:hover,
.apps-popup__later:focus-visible {
  color: var(--site-text, #1a1d21);
  background: color-mix(in srgb, var(--site-text-muted, #64748b) 10%, transparent);
  outline: none;
}
body.apps-popup-open {
  overflow: hidden;
}

@media (min-width: 576px) {
  .apps-popup {
    align-items: center;
    padding: 1.25rem;
  }
  .apps-popup__dialog {
    border-radius: 1.1rem;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
    transform: translateY(1.25rem) scale(0.97);
    opacity: 0;
    transition:
      transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s ease;
  }
  .apps-popup.is-open .apps-popup__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  .apps-popup__store img {
    height: 2.5rem;
  }
}

@media (max-width: 359.98px) {
  .apps-popup__dialog {
    padding: 1rem 0.9rem 1.1rem;
  }
  .apps-popup__title {
    font-size: 1.05rem;
  }
  .apps-popup__store img {
    height: 2.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apps-popup__backdrop,
  .apps-popup__dialog,
  .apps-popup__store {
    transition: none;
  }
}

/* Soft, dismissible ad-block notice (non-blocking) */
.adblock-notice {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 10000;
  width: min(92%, 560px);
}
.adblock-notice[hidden] {
  display: none;
}
.adblock-notice__inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #1b60a7;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: rgba(0, 0, 0, 0.3) 0 10px 24px -8px;
}
.adblock-notice__text {
  flex: 1;
}
.adblock-notice__close {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}
.adblock-notice__close:hover {
  opacity: 1;
}


.h_60px{
    height: 60px;
}
.h_100px{
    height: 100px;
}
.h_150px{
    height: 150px;
}
.h_80px{
    height: 80px;
}
.h_60px{
    height: 60px;
}
.h_40px{
    height: 40px;
}
.h_20px{
    height: 20px;
}
.h_15px{
    height: 15px;
}
.flex{display: flex;flex-wrap: wrap;}
.unit_col{
    margin: 4px;
    padding: 4px;
    /*width: 90px;*/
    text-align: center;
}
.unit_col img{
    height:55px; /* you can use % */
    /*object-fit: cover;*/
   
}
.map_col_ad{
    min-width: 260px;
    margin: 4px;
    min-height: 250px;
}
.map_col{
    margin: 4px;
    padding: 4px;
    min-width: 260px;
    max-width: 270px;
    text-align: center;
    overflow: hidden;
}
.map_col .map-title{
  max-width: 260px;
  word-wrap: break-word;
}
.map_col img{
    width:100%; /* you can use % */
    max-width: 260px;
    height: 240px;
    object-fit: cover;
    
}
.hall{
    margin: 2px;
}
.hall img{
    height: 25px;
}
table.stats_table{
    margin:1em 1em 1em 0;background-color:#f9f9f9;border:1px #e8e7e7 solid;border-collapse:collapse;
}
table.stats_table > tr > 
th,table.stats_table > tr > 
td,table.stats_table > * > 
tr > th,table.stats_table > * > tr > td{
    border:1px #e8e7e7 solid;padding:0.2em
}
table.stats_table > tr > th,table.stats_table > * > tr > th{background-color:#f2f2f2;text-align:center}
table.stats_table > caption{font-weight:bold}


.app-store img{
    height: 40px;
}
.my_dropdown_menu input{
    margin-left: 0.5em;
   
  
}
.my_drop_name{
    margin-left: 0.5em;
}
.my_img{
    margin-right: 0.5em;
}
.my_badge {
    margin: 2px;
    display: inline-block;
    padding: 6px;
    font-size: 90% !important;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}
.my_badge_sub {
    margin-top: 2px;
    display: inline-block;
    padding: 4px;
    font-size: 90% !important;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}


  @media (min-width: 768px) {
    .page-footer {
      margin-left: 230px;
    }
  }
  
  @media (max-width: 767px) {
    .page-footer {
      
      min-width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .page-footer {
      padding: 5px;
    }
  }
  
  @media print {
    .page-footer {
      margin: 0;
      padding: 0;
      background-color: #fff;
    }
  }
  .footer-copyright{    background-color: #222d32;padding: 10px;}
  .header_links a{color: #e8e7e7;padding: 18px 8px 0px 0px;font-size: 0.675rem;}
  .header_links a:hover{color: #bef009;text-decoration: underline;}

  .page-footer a:hover{color: #bef009;text-decoration: underline;}
  .ads {text-align: center;}
.ads-r {min-width: 310px;min-height: 210px;}
.post img{
  max-width: 90%;
  max-height: 350px;
}
.post_col{
  min-height: 238px;
}
.post iframe{max-width: 100%;}
.post .cover{
    margin: 5px;
    max-width: 90%;
    max-height: 320px;
  }
.center{
    text-align: center;
}
.center-inner{
  display: flex;
    flex-wrap: wrap; /* Optional. only if you want the items to wrap */
    justify-content: center; /* For horizontal alignment */
    align-items: center;
}
.stat-lookup{
      width: 70%;
      display: inline-block;
  }
.stat-lookup label{
    margin-right: 10px;
}
.lookup-links a{margin: 5px;}
.decks__copy {
    width: 36px;
    height: 40px;
    background: url(/images/cr/web/copy.png) no-repeat 50%;
    background-size: cover;
}

.copy_link{margin: 5px;}

.tile-ads {
  position: relative;
  background: #ffffff;
  border-radius: 3px;
  padding: 20px;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(122, 63, 63, 0.2);
  margin-bottom: 2px;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.tab-pane{
  margin-top: 7px;
}
.map-pic{
  max-width: 95%;
  height: auto;
  margin: 5px;
}
.powered img{
  max-width: 95%;
}
.apps img{
  height: 30px;
  margin-top: 7px;
}

.apps__label {
  margin-bottom: 0.35rem;
}

.apps__store-link {
  display: inline-flex;
  line-height: 0;
}

/* ── Standout app promo (Clash Royale / Brawl Stars) ───────────────── */
.apps-promo {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(120deg, #4c2ff2 0%, #7b2ff7 45%, #f24b8f 100%);
  box-shadow: 0 10px 26px rgba(76, 47, 242, 0.28);
  isolation: isolate;
}
.apps-promo__glow {
  position: absolute;
  inset: -60% -20% auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  animation: apps-promo-float 6s ease-in-out infinite;
}
@keyframes apps-promo-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-14px, 12px); }
}
.apps-promo__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2px);
}
.apps-promo__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.apps-promo__badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}
.apps-promo__title {
  font-size: 1.05rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.apps-promo__stores {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.apps-promo__store {
  display: inline-flex;
  line-height: 0;
  border-radius: 9px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.apps-promo__store img {
  height: 40px;
  margin: 0;
  border-radius: 9px;
}
.apps-promo__store:hover,
.apps-promo__store:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
[data-bs-theme="dark"] .apps-promo {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

/* Respond to the promo's own width (narrow parent on a wide screen too) */
.apps-promo-cq {
  container-type: inline-size;
  container-name: apps-promo;
  width: 100%;
}

@container apps-promo (max-width: 540px) {
  .apps-promo {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon body"
      "stores stores";
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(76, 47, 242, 0.24);
  }

  .apps-promo__glow {
    display: none;
  }

  .apps-promo__icon {
    grid-area: icon;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .apps-promo__body {
    grid-area: body;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    min-width: 0;
    line-height: 1.2;
  }

  .apps-promo__badge {
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .apps-promo__title {
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .apps-promo__stores {
    grid-area: stores;
    justify-content: center;
    justify-self: center;
    gap: 6px;
  }

  .apps-promo__store img {
    height: 30px;
    border-radius: 6px;
  }
}

@container apps-promo (max-width: 360px) {
  .apps-promo {
    padding: 8px 10px;
    row-gap: 5px;
  }

  .apps-promo__title {
    font-size: 0.8rem;
  }

  .apps-promo__store img {
    height: 26px;
  }
}

/* Fallback when container queries are unavailable */
@supports not (container-type: inline-size) {
  @media (max-width: 575.98px) {
    .apps-promo {
      display: grid;
      grid-template-columns: auto 1fr;
      grid-template-areas:
        "icon body"
        "stores stores";
      align-items: center;
      column-gap: 10px;
      row-gap: 8px;
      margin-bottom: 12px;
      padding: 10px 12px;
      border-radius: 12px;
      box-shadow: 0 6px 16px rgba(76, 47, 242, 0.24);
    }

    .apps-promo__glow {
      display: none;
    }

    .apps-promo__icon {
      grid-area: icon;
      width: 28px;
      height: 28px;
      border-radius: 8px;
      font-size: 0.9rem;
    }

    .apps-promo__body {
      grid-area: body;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 1px;
      min-width: 0;
      line-height: 1.2;
    }

    .apps-promo__badge {
      font-size: 0.62rem;
      line-height: 1.2;
    }

    .apps-promo__title {
      font-size: 0.84rem;
      line-height: 1.25;
    }

    .apps-promo__stores {
      grid-area: stores;
      justify-content: center;
      justify-self: center;
      gap: 6px;
    }

    .apps-promo__store img {
      height: 30px;
      border-radius: 6px;
    }
  }

  @media (max-width: 359.98px) {
    .apps-promo {
      padding: 8px 10px;
      row-gap: 5px;
    }

    .apps-promo__title {
      font-size: 0.8rem;
    }

    .apps-promo__store img {
      height: 26px;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .apps-promo__glow { animation: none; }
}


/* —— CoC "Open app" smart banner (OPEN_APP_BANNER_ENABLED) —— */
.open-app-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1070;
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: linear-gradient(120deg, #2b1a7a 0%, #4c2ff2 45%, #7b2ff7 100%);
  color: #fff;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
}
.open-app-banner[hidden] {
  display: none !important;
}
.open-app-banner__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 12px;
}
.open-app-banner__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.18);
}
.open-app-banner__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.open-app-banner__title {
  font-size: 0.95rem;
  font-weight: 800;
}
.open-app-banner__hint {
  font-size: 0.72rem;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.open-app-banner__cta {
  flex: 0 0 auto;
  font-weight: 700;
  white-space: nowrap;
}
.open-app-banner__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  opacity: 0.85;
}
.open-app-banner__close:hover,
.open-app-banner__close:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}
body.open-app-banner-visible {
  padding-bottom: 72px;
}
body.consent-banner-visible .open-app-banner {
  display: none !important;
}
@media (min-width: 992px) {
  .open-app-banner {
    display: none !important;
  }
  body.open-app-banner-visible {
    padding-bottom: 0;
  }
}
