/* =============================================================================
   Diwa Win - diwavvin.com
   Structural 1:1 clone of the ALL DIWA GAME (Appyn "rounded / full-width") theme.
   Every metric below was probed from the saved reference with getComputedStyle.
   The only substitution is the accent: reference #cc1ca8 magenta -> #7A2BD4 amethyst.
   ========================================================================== */

:root {
  --brand:       #7A2BD4;   /* accent. 6.7:1 on white, so white labels on it pass AA */
  --brand-deep:  #5B1BA6;
  --brand-soft:  #f3ebfd;
  --page:        #e6e9ef;
  --card:        #ffffff;
  --tint:        #f7f8fa;
  --ink:         #4c4c4c;
  --ink-strong:  #444444;
  --muted:       #a7a7a7;
  --line:        #eaeaea;
  --dark:        #1d222d;
  --dark-deep:   #13161d;
  --shadow:      2px 2px 2px 0 #e3e3e3;
  --gold:        #f9bd00;
  --green:       #5edd1f;   /* fixed by the reference: Download APK */
  --tg:          #006fa7;   /* fixed by the reference: Telegram */
  --r-card:      20px;
  --r-pill:      50px;
  --r-icon:      25px;
  --measure:     1220px;
  --pad:         10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px;
  line-height: 25px;
  color: var(--ink);
  background: var(--page);
}

img { max-width: 100%; }
a { color: var(--brand); text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--r-card) 0;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- container
   One measure for the whole page. Header, content, footer and the disclaimer
   band all cap at 1220 with 10px padding, so their inner edges line up exactly
   (1200 inner: 880 main + 20 gap + 300 sidebar). */
.container {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--pad);
}

#main-site > .container { display: flex; align-items: flex-start; position: relative; }
#main-site > .container.is-block { display: block; }

.sections, .app-s { flex: 1 1 auto; min-width: 0; }

/* ------------------------------------------------------------------- header */
#header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: 60px;
  background: var(--dark);
  border-bottom: 2px solid var(--brand);
}
#header .container {
  height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo a { display: block; line-height: 0; }
.logo img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; display: block; }

.menu-main-menu-container ul.menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap;
}
.menu-main-menu-container ul.menu > li > a {
  display: block; padding: 0 15px; line-height: 35px;
  font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap;
  border-radius: var(--r-pill); transition: background .2s ease, color .2s ease;
}
.menu-main-menu-container ul.menu > li > a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.menu-main-menu-container .menu-item.current > a { color: var(--brand); background: rgba(255,255,255,.06); }
.menu-cta > a { background: var(--brand); margin-left: 6px; }
.menu-cta > a:hover { background: var(--brand-deep); }
.menu-cta.current > a { background: var(--brand-deep); color: #fff; }

.menu-open { display: none; background: none; border: 0; color: #fff; padding: 6px; line-height: 0; }
.menu-open svg { width: 26px; height: 26px; }

#menu-mobile { display: none; }
#menu-mobile.is-open {
  display: block; position: fixed; top: 60px; left: 0; right: 0; z-index: 89;
  background: var(--dark-deep); border-bottom: 2px solid var(--brand);
  max-height: calc(100vh - 60px); overflow-y: auto;
}
#menu-mobile ul { list-style: none; margin: 0; padding: 8px 0; }
#menu-mobile a { display: block; padding: 12px 20px; color: #fff; font-weight: 600; font-size: 15px; }
#menu-mobile .current > a { color: var(--brand); }

/* ---------------------------------------------------------------- subheader */
#subheader {
  position: relative; overflow: hidden;
  padding: 90px 0 40px; margin: 60px 0 20px;
  background: #000; color: #fff; text-align: center;
  border-bottom: 2px solid var(--brand);
}
#subheader.compact { padding: 78px 0 22px; margin-bottom: 20px; border-radius: 0 0 var(--r-card) var(--r-card); }
.imgbg { position: absolute; inset: 0; }
.imgbg img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 120%; height: auto; opacity: .3; object-fit: cover;
}
#subheader::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.8) 100%);
}
.subcontainer { position: relative; z-index: 2; width: 730px; max-width: 100%; margin: 0 auto; }
#subheader h1 { font-size: 40px; line-height: 46px; font-weight: 300; padding: 0 0 20px; margin: 0; }
#subheader h2 { font-size: 16px; line-height: 30px; font-weight: 300; margin: 0; }

#searchBox { width: 600px; max-width: 100%; margin: 30px auto 0; position: relative; }
#searchBox form { display: flex; overflow: hidden; border-radius: var(--r-pill); }
.sb_search {
  flex: 1 1 auto; height: 44px; min-width: 0;
  border: 0; border-radius: var(--r-pill) 0 0 var(--r-pill);
  padding: 0 20px; font-size: 16px; font-family: Arial, sans-serif;
  color: #43454b; background: #f2f2f2;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.125);
}
.sb_submit {
  width: 70px; height: 44px; flex: 0 0 70px;
  border: 0; border-radius: 0 var(--r-pill) var(--r-pill) 0;
  background: var(--brand); color: #fff; line-height: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.sb_submit:hover { background: var(--brand-deep); }
.sb_submit svg { width: 21px; height: 21px; }

.cat-icons { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; padding: 0; }
.cat-icons a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: .55; transition: opacity .2s ease, transform .2s ease;
}
.cat-icons a:hover { opacity: 1; transform: translateY(-2px); text-decoration: none; }
.cat-icons svg { width: 21px; height: 21px; }
.cat-icons .ci-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --------------------------------------------------------------- sections */
.section { margin: 0 0 30px; }
.title-section {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 400; color: var(--ink);
  margin: 3px 10px 10px; padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}
.title-section .ts-count { font-size: 12px; color: var(--muted); margin-left: auto; }

.baps { display: flex; flex-wrap: wrap; }

/* ------------------------------------------------------------------- cards */
.bav1 { width: 16.6667%; padding: 10px; text-align: center; }
.bav a { display: block; color: inherit; }
.bav a:hover { text-decoration: none; }

/* White card surface. With a real surface behind it the 2px accent bottom border
   from the Appyn spec finally reads as the foot of a card instead of the
   detached bracket it becomes on a transparent tile. */
.bav1 > a {
  padding: 10px 10px 12px;
  background: var(--card);
  border-radius: var(--r-card);
  border-bottom: 2px solid var(--brand);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.bav1 > a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(122,43,212,.20); }

.bav1 .bloque-imagen {
  position: relative; width: 100%; padding-bottom: 100%;
  border-radius: 12px; overflow: hidden; background: var(--tint);
}
.bav1 .bloque-imagen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bav1 .title {
  display: block; margin: 10px 0 0; height: 20px; overflow: hidden;
  font-size: 14px; font-weight: 600; color: var(--ink-strong);
  white-space: nowrap; text-overflow: ellipsis;
}
.bav1 .version {
  display: block; margin: 1px 0 0; height: 17px; overflow: hidden;
  font-size: 11px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis;
}

/* C3: the same visible action on every card, pointing at the detail page.
   Sized to fit the 106px inner width of a 6-up tile without truncating. */
.viewlink {
  display: block; margin: 3px 0 0; height: 16px; overflow: hidden;
  font-size: 10px; font-weight: 700; letter-spacing: 0; text-transform: uppercase;
  color: var(--brand); white-space: nowrap;
  transition: color .2s ease;
}
.bav a:hover .viewlink { color: var(--brand-deep); text-decoration: underline; }
.bav a:hover .title { color: var(--brand); }

/* Rating row, or the stated download count when the source gives no number.
   Fixed height either way so every row of the grid stays aligned. */
.bav1 .px-postmeta {
  display: flex; align-items: center; justify-content: center;
  margin: 8px 0 0; min-height: 15px;
}
.dlcount { font-size: 10px; color: var(--muted); white-space: nowrap; }

.rating { position: relative; display: inline-block; width: 75px; height: 15px; vertical-align: middle; line-height: 0; }
.rating svg { width: 15px; height: 15px; display: inline-block; vertical-align: top; }
.stars-bg { display: block; color: #d6dae2; }
.stars { position: absolute; inset: 0; overflow: hidden; display: block; }
.stars-in { display: block; width: 75px; color: var(--gold); }

/* wide tile */
.bav2 { width: 33.3333%; padding: 10px; }
.bav2 > a {
  padding: 12px; background: var(--card); border-radius: var(--r-card);
  border-bottom: 2px solid var(--brand); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease; overflow: hidden;
}
.bav2 > a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(122,43,212,.20); }
.bav2 .bloque-imagen {
  float: left; width: 75px; height: 75px; margin: 0 10px 0 0;
  border-radius: 12px; overflow: hidden; background: var(--tint);
}
.bav2 .bloque-imagen img { width: 75px; height: 75px; object-fit: cover; }
.bav2 .bap-c { overflow: hidden; }
.bav2 .title { display: block; height: 20px; overflow: hidden; font-size: 14px; font-weight: 600; color: var(--ink-strong); white-space: nowrap; text-overflow: ellipsis; }
.bav2 .version { display: block; font-size: 12px; color: var(--muted); }
.bav2 .viewlink { margin: 2px 0 0; }
.bav2 .px-postmeta { margin-top: 4px; }
.bav2 a:hover .title { color: var(--brand); }

.viewmore { text-align: center; padding: 10px 0 4px; }
.more {
  display: inline-block; width: 225px; max-width: 100%;
  line-height: 40px; padding: 0 20px; border-radius: var(--r-pill);
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 600;
  text-transform: uppercase; border-bottom: 1px solid rgba(0,0,0,.3);
  transition: background .2s ease, transform .2s ease;
}
.more:hover { background: var(--brand-deep); text-decoration: none; transform: translateY(-1px); }

.noresults { padding: 20px 10px; color: var(--muted); }

/* ----------------------------------------------------------------- sidebar */
#sidebar { width: 300px; flex: 0 0 300px; margin-left: 20px; position: sticky; top: 80px; align-self: flex-start; }
#sidebar ul.widgets { list-style: none; margin: 0; padding: 0; }
.widget {
  background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 0 10px 10px; margin: 0 0 20px;
}
.widget h2 {
  margin: 0 -10px; padding: 10px; font-size: 16px; font-weight: 600; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid #f2f2f2;
}
.widget ul { list-style: none; margin: 0; padding: 6px 0 0; }
.widget ul li { border-bottom: 1px solid #f6f6f6; }
.widget ul li:last-child { border-bottom: 0; }
.widget ul a { display: flex; align-items: center; gap: 8px; padding: 7px 0; color: var(--ink); font-size: 13px; }
.widget ul a:hover { color: var(--brand); text-decoration: none; }
.widget ul img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; flex: 0 0 34px; }
.wcount { margin-left: auto; font-size: 11px; color: var(--muted); }
.wsearch { display: flex; gap: 6px; padding: 10px 0; }
.wsearch input { flex: 1 1 auto; min-width: 0; height: 36px; border: 1px solid #e3e6ec; border-radius: var(--r-pill); padding: 0 14px; font-size: 13px; color: var(--ink); background: var(--tint); }
.wsearch button { width: 44px; height: 36px; border: 0; border-radius: var(--r-pill); background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.wsearch button:hover { background: var(--brand-deep); }
.wsearch svg { width: 18px; height: 18px; }

/* -------------------------------------------------------------------- box */
.box {
  background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 20px 25px; margin: 0 0 20px;
}
.box-title {
  position: relative; display: block; margin: -20px 0 15px; padding: 15px 0;
  font-size: 17px; font-weight: 700; text-transform: uppercase; color: #ababab;
}
.box-title::after { content: ""; position: absolute; left: 0; bottom: 8px; width: 34px; height: 3px; background: var(--brand); }

/* ------------------------------------------------------- APK single page */
.app-spe.s2 { }
.s1-row { display: flex; align-items: flex-start; gap: 20px; }
.app-icb.s1 { order: -1; width: 150px; flex: 0 0 150px; }
.s2-main { flex: 1 1 auto; min-width: 0; }

#breadcrumbs { list-style: none; margin: 0 0 6px; padding: 0; font-size: 13px; color: #c6c6c6; }
#breadcrumbs li { display: inline; }
#breadcrumbs a { color: #c6c6c6; }
#breadcrumbs a:hover { color: var(--brand); }

.meta-cats { margin: 0 0 8px; }
.meta-cats a, .tagchip {
  display: inline-block; margin: 0 6px 6px 0; padding: 2px 10px 3px;
  border-radius: var(--r-card); background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 600;
}
.tagchip { background: var(--brand-soft); color: var(--brand-deep); }
.meta-cats a:hover { background: var(--brand-deep); text-decoration: none; }

h1.main-box-title { font-size: 38px; line-height: 48px; font-weight: 700; color: var(--ink); margin: 0 7px 0 0; display: inline-block; }
.app-spe .version-tag { display: inline-block; font-size: 20px; font-weight: 600; color: #bbb; }
.descripcion { margin: 14px 0 6px; font-size: 13px; line-height: 21px; text-align: justify; }

.image-single { width: 150px; height: 150px; border-radius: var(--r-icon); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.buttond {
  position: relative; display: block; width: 100%; min-height: 33px; margin: 10px 0 0;
  padding: 8px 5px 8px 38px; border-radius: var(--r-card);
  color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; text-align: center;
  overflow: hidden; transition: filter .2s ease, transform .2s ease;
}
.buttond:hover { filter: brightness(1.07); text-decoration: none; transform: translateY(-1px); }
.buttond .bic {
  position: absolute; left: 0; top: 0; bottom: 0; width: 30px;
  background: rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center;
}
.buttond .bic svg { width: 16px; height: 16px; }
.downloadAPK { background: var(--green); }
.buttond.t { background: var(--tg); }

.box-rating { margin: 6px 0 0; text-align: center; }
.rating-average { display: block; font-size: 13px; color: var(--ink); margin-top: 3px; }
.rating-average b { font-size: 15px; }
.link-report { margin-top: 8px; font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 5px; }
.link-report svg { width: 14px; height: 14px; }

.box-data-app { overflow: hidden; margin-top: 14px; }
.da-s { float: left; width: 33.3333%; padding: 0 10px 0 0; margin: 8px 0 0; font-size: 13px; }
.da-s b { display: block; font-weight: 700; }
.da-s span { color: #6b6b6b; }

.botones_sociales { list-style: none; display: flex; flex-wrap: wrap; margin: 14px -5px 0; padding: 0; }
.botones_sociales li { padding: 0 5px 8px; }
.botones_sociales a {
  display: flex; align-items: center; gap: 6px; width: 104px; min-height: 31px;
  padding: 0 8px; border-radius: var(--r-card); color: #fff; font-size: 11px;
  transition: filter .2s ease;
}
.botones_sociales a:hover { filter: brightness(1.1); text-decoration: none; }
.botones_sociales svg { width: 14px; height: 14px; flex: 0 0 14px; }
.bs-fb { background: #4864a0; } .bs-tw { background: #1d1d1f; } .bs-pin { background: #cb2027; }
.bs-tg { background: #0088cc; } .bs-wa { background: #25d366; }

/* related row fills the full block measure: 5 items -> 20% each */
.rlat .baps { margin: 0 -10px; }
.rlat .bav1 { width: 20%; }

/* ------------------------------------------------------------------ entry */
.entry { font-size: 14px; line-height: 25px; color: var(--ink); }
.entry p { margin: 0 0 15px; }
.entry h2 { font-size: 21px; line-height: 28px; font-weight: 700; color: var(--ink); margin: 20px 0; text-align: start; }
.entry h3 { font-size: 17px; line-height: 26px; font-weight: 700; color: var(--ink-strong); margin: 18px 0 8px; }
.entry h4 { font-size: 15px; font-weight: 700; margin: 14px 0 6px; }
.entry ul { margin: 0 0 20px 15px; padding-left: 15px; }
.entry li { margin-bottom: 4px; }
.entry a { color: var(--brand); }

.tbl-wrap { overflow-x: auto; margin: 0 0 20px; }
.dw-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); background: var(--tint); }
.dw-table td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid #eceef2; vertical-align: top; }
.dw-table tr:last-child td { border-bottom: 0; }
.dw-table td:first-child { font-weight: 700; width: 34%; color: var(--ink-strong); background: #f1f2f6; }

/* ------------------------------------------------- C11 editorial engine */
.lede { margin-bottom: 6px; }
.lede p { font-size: 15px; line-height: 27px; }
.lede-h { font-size: 26px; line-height: 34px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }

.esec { margin: 0 0 26px; }
.sec-head { margin: 0 0 12px; }
.sec-head h2 { font-size: 21px; line-height: 28px; font-weight: 700; color: var(--ink); margin: 0 0 8px; text-align: start; }
.sec-rule { display: block; width: 52px; height: 3px; border-radius: 2px; background: var(--brand); }

.cgrid { display: grid; gap: 14px; margin: 14px 0 0; }
.cgrid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cgrid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ccard {
  background: var(--tint); border: 1px solid #e7eaf0; border-bottom: 2px solid var(--brand);
  border-radius: var(--r-card); padding: 16px 16px 8px;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.ccard:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(122,43,212,.14); }
.ccard-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 8px;
}
.ccard-ic svg { width: 19px; height: 19px; }
.ccard h3 { font-size: 15px; line-height: 22px; font-weight: 700; margin: 0 0 6px; color: var(--ink-strong); }
.ccard-b p { font-size: 13px; line-height: 22px; margin: 0 0 10px; }

/* CTA band. .entry a sets the accent colour, so the button rules are scoped to
   out-specify it or the labels render accent-on-accent and vanish. */
.ecta {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff;
  border-radius: var(--r-card); padding: 30px 28px; margin: 0 0 26px;
  border-bottom: 2px solid var(--brand);
}
.ecta::after {
  content: ""; position: absolute; right: -80px; top: -90px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(122,43,212,.55), transparent 68%);
  pointer-events: none;
}
.entry .ecta-h, .ecta-h {
  position: relative; z-index: 1;
  font-size: 22px; line-height: 30px; font-weight: 700; color: #fff;
  margin: 0 0 12px; text-align: center;
}
.ecta-b { position: relative; z-index: 1; }
.ecta-b p { color: #d5d9e2; font-size: 13px; line-height: 23px; text-align: center; margin: 0 auto 12px; }
.ecta-act { position: relative; z-index: 1; text-align: center; margin: 18px 0 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.entry .hx-btn, a.hx-btn {
  display: inline-block; padding: 0 26px; line-height: 42px;
  border-radius: var(--r-pill); font-size: 13px; font-weight: 700; text-transform: uppercase;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.entry .hx-btn-p, a.hx-btn-p { background: var(--brand); color: #fff; }
.entry .hx-btn-p:hover, a.hx-btn-p:hover { background: var(--brand-deep); color: #fff; text-decoration: none; transform: translateY(-1px); }
.entry .hx-btn-g, a.hx-btn-g { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.entry .hx-btn-g:hover, a.hx-btn-g:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; transform: translateY(-1px); }

/* FAQ accordion. Native <details>, so keyboard + SR support is free and the
   answers stay in the DOM (and crawlable) while collapsed. */
.faq { margin: 14px 0 0; }
.faq-i { background: var(--tint); border: 1px solid #e7eaf0; border-radius: var(--r-card); margin: 0 0 10px; overflow: hidden; }
.faq-i[open] { border-bottom: 2px solid var(--brand); }
.faq-i summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::marker { content: ""; }
.faq-i summary h3 { flex: 1 1 auto; margin: 0; font-size: 14px; line-height: 22px; font-weight: 700; color: var(--ink-strong); }
.faq-chev { width: 18px; height: 18px; flex: 0 0 18px; color: var(--brand); transform: rotate(90deg); transition: transform .25s ease; }
.faq-i[open] .faq-chev { transform: rotate(-90deg); }
.faq-i summary:hover h3 { color: var(--brand); }
.faq-a { padding: 0 18px 6px; }
.faq-a p { margin: 0 0 12px; font-size: 13px; line-height: 23px; }

/* ------------------------------------------------------------------ footer */
#footer { background: var(--dark); color: #fff; border-top: 2px solid var(--brand); margin-top: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 26px; padding: 30px 0; }
.fcol { flex: 1 1 190px; min-width: 0; }
.fcol:first-child { flex: 1.6 1 300px; }
.fbrand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; }
.fbrand img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.fabout { color: #aab1bf; font-size: 13px; line-height: 23px; margin: 12px 0; }
.ftrust { display: flex; flex-direction: column; gap: 7px; }
.ftrust span { display: flex; align-items: center; gap: 8px; color: #aab1bf; font-size: 12px; }
.ftrust svg { width: 16px; height: 16px; color: var(--brand); flex: 0 0 16px; }
.fnav h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; color: #fff; margin: 0 0 12px; letter-spacing: .04em; }
.fnav ul { list-style: none; margin: 0; padding: 0; }
.fnav li { margin-bottom: 7px; }
.fnav a { display: flex; gap: 6px; color: #aab1bf; font-size: 13px; }
.fnav a:hover { color: var(--brand); text-decoration: none; }
.fnum { color: #6d7484; }

.disclaimer { background: var(--dark-deep); color: #8b93a3; padding: 18px 0 24px; }
.disclaimer p { margin: 0 0 8px; font-size: 12px; line-height: 21px; }
.disclaimer strong { color: #c9cfdb; }
.disclaimer .copy { margin: 0; font-size: 12px; color: #6d7484; }

/* -------------------------------------------------------------- float CTA */
.tg-center-btn {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 80;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, #7A2BD4, #5B1BA6, #b03cd8, #7A2BD4);
  background-size: 300% 300%; animation: tgshift 9s ease infinite;
  color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 10px 30px rgba(122,43,212,.45);
}
.tg-center-btn:hover { text-decoration: none; }
.tg-center-btn svg { width: 20px; height: 20px; }
@keyframes tgshift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.to-top {
  position: fixed; right: 18px; bottom: 84px; z-index: 80;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: var(--dark); color: #fff; display: none;
  align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.to-top.on { display: flex; }
.to-top:hover { background: var(--brand); }
.to-top svg { width: 20px; height: 20px; }

/* ----------------------------------------------------------- 404 + reveal */
.err { text-align: center; padding: 40px 0; }
.err h1 { font-size: 72px; line-height: 1; margin: 0; color: var(--brand); }
.err h2 { font-size: 22px; margin: 10px 0 14px; }

.rv { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ breakpoints */
@media (max-width: 1024px) {
  #main-site > .container { display: block; }
  #sidebar { width: 100%; flex: none; margin: 20px 0 0; position: static; }
  .bav1 { width: 25%; }
  .rlat .bav1 { width: 25%; }
  .cgrid.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 901px) {
  /* never leave the mobile drawer open after a resize back to desktop */
  #menu-mobile, #menu-mobile.is-open { display: none; }
}
@media (max-width: 900px) {
  .menu-main-menu-container { display: none; }
  .menu-open { display: block; }
  #subheader h1 { font-size: 32px; line-height: 40px; }
  h1.main-box-title { font-size: 28px; line-height: 38px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; line-height: 26px; }
  .entry, .entry p, .faq-a p, .ccard-b p { font-size: 16px; line-height: 27px; }
  .box { padding: 18px 16px; }
  .bav1 { width: 33.3333%; }
  .rlat .bav1 { width: 33.3333%; }
  .viewlink { font-size: 12px; height: 19px; }
  .dlcount { font-size: 12px; }
  .bav2 { width: 100%; }
  .cgrid.cols-3, .cgrid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s1-row { display: block; }
  .app-icb.s1 { width: 150px; margin: 0 auto 16px; }
  .image-single { margin: 0 auto; }
  .da-s { width: 50%; }
  #subheader { padding: 80px 0 30px; }
  #subheader h1 { font-size: 27px; line-height: 35px; }
  .ecta { padding: 24px 18px; }
  .tg-center-btn { font-size: 13px; padding: 11px 18px; }
}
@media (max-width: 519px) {
  .bav1, .rlat .bav1 { width: 50%; }
  .cgrid.cols-3, .cgrid.cols-4 { grid-template-columns: minmax(0, 1fr); }
  .da-s { width: 100%; }
  #subheader h1 { font-size: 23px; line-height: 31px; }
  .botones_sociales a { width: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
}


/* share-row brand marks */
.botones_sociales svg { width: 15px; height: 15px; }

/* C7: detail-page badges are position:static, never absolute */
.badge {
  position: static; display: inline-block; vertical-align: middle;
  margin: 0 0 0 8px; padding: 3px 12px 4px; border-radius: var(--r-card);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.badge-hot { background: var(--brand-soft); color: var(--brand-deep); }
.badge-new { background: #e6f7ea; color: #1f7a3d; }

/* small utilities that replace one-off inline styles */
.w-dl { padding: 12px 0 4px; }
.w-dl .buttond { margin-top: 0; }
.mt-18 { margin-top: 18px; }
.mt-22 { margin-top: 22px; }
