/* ==========================================================================
   Come Dream11 App Global Styling System - Premium & Responsive
   ========================================================================== */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color: #1a1a2e;
  line-height: 1.7;
  overflow-x: hidden;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header & Sticky Navigation */
header,
.fgx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #171a26;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(10, 15, 28, 0.24);
}

.fgx-promo {
  min-height: 56px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  background: #242838;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fgx-promo-close {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #98a2b3;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.fgx-promo-main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.fgx-promo-main img,
.fgx-brand img {
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 10px;
}

.fgx-promo-main span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.fgx-promo-main strong {
  display: block;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fgx-promo-main small {
  color: #ffd166;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.fgx-promo-download,
.fgx-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 7px;
  background: linear-gradient(180deg, #71c6ff, #2f8ee8);
  color: #fff !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 2px 8px rgba(47,142,232,.35);
  white-space: nowrap;
}

.fgx-promo-contest {
  background: linear-gradient(180deg, #ffb64d, #f07f24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 2px 8px rgba(240,127,36,.32);
}

.fgx-topbar {
  min-height: 54px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #171a26;
}

.fgx-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.fgx-brand span {
  max-width: 180px;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fgx-utility {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.fgx-gift,
.fgx-lang {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: #252b3d;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.fgx-lang {
  width: auto;
  min-width: 44px;
  padding: 0 8px;
  border-radius: 999px;
  cursor: pointer;
}

#nav.fgx-icon-nav,
.fgx-icon-nav {
  min-height: 54px;
  padding: 6px 8px 8px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  background: linear-gradient(180deg, #1c2030, #151927);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  scrollbar-width: none;
}

.fgx-icon-nav::-webkit-scrollbar {
  display: none;
}

#nav.fgx-icon-nav a {
  flex: 1 0 72px;
  min-width: 72px;
  padding: 4px 6px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  color: #7f8797;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease;
}

#nav.fgx-icon-nav a:hover,
#nav.fgx-icon-nav a.active {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
}

.fgx-icon-nav span {
  min-width: 28px;
  height: 24px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(180deg, #30384d, #1f2638);
  color: #d9e7ff;
  border: 1px solid rgba(255,255,255,.09);
  font-size: 10px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 8px rgba(0,0,0,.18);
}

.fgx-icon-nav em {
  font-style: normal;
  font-size: 11px;
  line-height: 1.1;
}

#mbt {
  display: none;
}

.header-actions,
.sm6afe-hw {
  display: none;
}

@media (max-width: 560px) {
  .fgx-promo {
    grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1fr);
  }
  .fgx-promo-download {
    grid-column: 2;
    width: 100%;
    min-height: 34px;
  }
  .fgx-promo-contest {
    grid-column: 3;
  }
  .fgx-promo-main {
    grid-column: 2 / 4;
  }
  .fgx-topbar {
    align-items: flex-start;
  }
  .fgx-brand span {
    display: none;
  }
  .fgx-utility {
    flex-wrap: wrap;
    max-width: calc(100% - 58px);
  }
  .fgx-login {
    width: 100%;
    min-height: 34px;
  }
  #nav.fgx-icon-nav a {
    flex-basis: 64px;
    min-width: 64px;
  }
}

@media (min-width: 900px) {
  .fgx-promo,
  .fgx-topbar,
  .fgx-icon-nav {
    padding-left: max(12px, calc((100vw - 1280px) / 2 + 12px));
    padding-right: max(12px, calc((100vw - 1280px) / 2 + 12px));
  }
  .fgx-brand span {
    display: none;
  }
  #nav.fgx-icon-nav a {
    flex: 0 0 82px;
  }
}

/* Layout Main System */
main {
  flex: 1;
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
}

main > section, main > article, main > aside {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px;
}

main > section:nth-child(even) {
  background: #f9fafb;
}

main > section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #1a1a2e;
}

@media (min-width: 768px) {
  main > section, main > article, main > aside {
    padding: 56px 24px;
  }
  main > section h2 {
    font-size: 24px;
  }
}

/* Breadcrumb */
.sm6afe-bread {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  font-size: 13px;
  color: #9ca3af;
}

.sm6afe-bread a {
  color: #2563eb;
  text-decoration: none;
}

.sm6afe-bread a:hover {
  text-decoration: underline;
}

.sm6afe-bread span {
  color: #6b7280;
}

/* Hero Carousel Section */
section[data-s="hero"] {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.sm6afe-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  touch-action: pan-y pinch-zoom;
}

.sm6afe-carousel-track {
  position: relative;
  overflow: hidden;
}

.sm6afe-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.sm6afe-carousel-slide:first-child {
  position: relative;
}

.sm6afe-carousel-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.sm6afe-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.sm6afe-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  pointer-events: auto;
}

.sm6afe-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sm6afe-dot.active {
  background: #fff;
  width: 36px;
}

.sm6afe-hero-tagline {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  padding: 12px 16px 0;
  line-height: 1.4;
}

@media (max-width: 600px) {
  main > section, main > article, main > aside {
    padding: 18px 12px;
  }
  section[data-s="hero"] {
    padding: 12px 12px 4px;
  }
  section[data-s="hero"] img, .sm6afe-carousel {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  section[data-s="hero"] img, .sm6afe-carousel img {
    height: auto;
    object-fit: contain;
  }
  .sm6afe-hero-tagline {
    font-size: 16px;
    padding: 10px 12px 0;
    line-height: 1.35;
  }
}

/* Call-to-Action Grid & Buttons */
section[data-s="cta-buttons"], section[data-s="cta"] {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sm6afe-cta-dl, .sm6afe-cta-login, .sm6afe-cta-reg {
  display: block;
  padding: 18px 24px;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.sm6afe-cta-dl {
  background: linear-gradient(135deg, #FF6B6B, #EE5A24);
}

.sm6afe-cta-login {
  background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

.sm6afe-cta-reg {
  background: linear-gradient(135deg, #00b894, #00cec9);
}

.sm6afe-cta-dl:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 107, 107, 0.4);
  filter: brightness(1.1);
}

.sm6afe-cta-login:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(162, 155, 254, 0.4);
  filter: brightness(1.1);
}

.sm6afe-cta-reg:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(0, 184, 148, 0.4);
  filter: brightness(1.1);
}

.sm6afe-cta-bottom {
  display: block;
  max-width: 400px;
  margin: 10px auto 0;
  padding: 16px;
  border-radius: 50px;
  font-size: 17px;
}

@media (max-width: 600px) {
  section[data-s="cta-buttons"] {
    padding: 12px 12px 10px;
    gap: 10px;
  }
  .sm6afe-cta-dl, .sm6afe-cta-login, .sm6afe-cta-reg {
    padding: 14px 20px;
    font-size: 16px;
  }
}

/* App Info Spec Page */
.sm6afe-air {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  justify-content: center;
}

.sm6afe-air strong {
  font-size: 28px;
  line-height: 1;
  color: #f59e0b;
}

.sf, .sh {
  color: #f59e0b;
}

.se {
  color: #d1d5db;
}

.sm6afe-adesc {
  color: #4b5563;
  margin-bottom: 16px;
  text-align: left;
}

.sm6afe-adesc a {
  color: #2563eb;
  text-decoration: underline;
}

.sm6afe-af {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 16px 0;
  justify-content: center;
}

.sm6afe-af li, .sm6afe-tp, .sm6afe-tc {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.sm6afe-af li {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.sm6afe-ameta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin-top: 12px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.sm6afe-ameta dt {
  font-weight: 700;
  color: #1a1a2e;
  text-align: right;
}

.sm6afe-ameta dd {
  color: #6b7280;
  text-align: left;
}

/* Screenshots Preview */
.sm6afe-pg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}

.sm6afe-pg figure {
  margin: 0;
}

.sm6afe-pg img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.sm6afe-pg figcaption {
  font-size: 10px;
  color: #9ca3af;
  text-align: center;
  margin-top: 3px;
  line-height: 1.3;
}

/* Details and FAQ */
section[data-s="faq"] details {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 10px;
  background: #fff;
  transition: border-color 0.3s;
}

section[data-s="faq"] details:hover {
  border-color: #2563eb;
}

section[data-s="faq"] summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 24px;
  color: #1a1a2e;
}

section[data-s="faq"] summary::-webkit-details-marker {
  display: none;
}

section[data-s="faq"] summary::after {
  content: "⌄";
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.2s;
  color: #2563eb;
  font-size: 16px;
  line-height: 1;
}

section[data-s="faq"] details[open] summary::after {
  transform: rotate(180deg);
}

section[data-s="faq"] p {
  margin-top: 10px;
  color: #4b5563;
  line-height: 1.6;
}

/* Reviews Panel */
.sm6afe-rc {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  transition: border-color .3s;
  text-align: left;
}

.sm6afe-rc:hover {
  border-color: #2563eb;
}

.sm6afe-rc + .sm6afe-rc {
  margin-top: 12px;
}

.sm6afe-rh {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.sm6afe-rc h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #1a1a2e;
  font-weight: 700;
}

.sm6afe-rc p {
  color: #4b5563;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.sm6afe-tp {
  background: #ecfdf5;
  color: #059669;
  margin: 4px 6px 0 0;
  border: 1px solid #a7f3d0;
}

.sm6afe-tc {
  background: #fff7ed;
  color: #ea580c;
  margin: 4px 6px 0 0;
  border: 1px solid #fed7aa;
}

/* Release Logs Timeline */
.sm6afe-rl-timeline {
  border-left: 3px solid #2563eb;
  padding-left: 20px;
  margin-top: 16px;
  text-align: left;
}

.sm6afe-rl-entry {
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.sm6afe-rl-entry::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  border: 2px solid #fff;
}

.sm6afe-rl-entry.latest::before {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.sm6afe-rl-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.sm6afe-rl-head strong {
  font-size: 15px;
  color: #2563eb;
}

.sm6afe-rl-head time {
  font-size: 13px;
  color: #9ca3af;
}

.sm6afe-rl-badge {
  font-size: 11px;
  background: #10b981;
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.sm6afe-rl-entry h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: #1a1a2e;
  font-weight: 700;
}

.sm6afe-rl-entry ul {
  list-style: disc;
  padding-left: 18px;
  margin-top: 4px;
}

.sm6afe-rl-entry li {
  font-size: 14px;
  color: #4b5563;
  margin: 3px 0;
}

/* About Company Profile Card */
.sm6afe-about-card {
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-top: 16px;
  text-align: left;
}

.sm6afe-about-card h3 {
  font-size: 18px;
  color: #1a1a2e;
  margin-bottom: 8px;
  font-weight: 700;
}

.sm6afe-about-slogan {
  color: #6b7280;
  margin-bottom: 12px;
  font-style: italic;
}

.sm6afe-about-card p {
  color: #4b5563;
  margin-bottom: 8px;
  font-size: 14px;
}

.sm6afe-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.sm6afe-cert {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-weight: 600;
}

.sm6afe-milestones {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.sm6afe-milestones h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: #1a1a2e;
  font-weight: 700;
}

.sm6afe-milestones > div {
  padding: 4px 0;
  font-size: 14px;
  color: #4b5563;
}

.sm6afe-milestones strong {
  color: #2563eb;
  margin-right: 4px;
}

/* Discussion and Comments */
section[data-s="discussion"] {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 16px;
}

.sm6afe-disc-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sm6afe-disc-form .sm6afe-av {
  flex-shrink: 0;
}

img.sm6afe-disc-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  background: #f3f4f6;
  object-fit: cover;
}

img.sm6afe-disc-av-sm {
  width: 28px;
  height: 28px;
}

.sm6afe-disc-form textarea {
  flex: 1;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  line-height: 1.5;
  background: #f9fafb;
  color: #374151;
}

.sm6afe-disc-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #fff;
}

.sm6afe-disc-send {
  padding: 10px 18px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s;
  align-self: flex-start;
}

.sm6afe-disc-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.sm6afe-disc-post {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  transition: border-color .3s;
  text-align: left;
}

.sm6afe-disc-post:hover {
  border-color: #bfdbfe;
}

.sm6afe-disc-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.sm6afe-disc-meta {
  flex: 1;
  min-width: 0;
}

.sm6afe-disc-name {
  display: block;
  font-weight: 700;
  color: #1a1a2e;
  font-size: 14px;
}

.sm6afe-disc-time {
  font-size: 12px;
  color: #9ca3af;
}

.sm6afe-disc-body {
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
  word-wrap: break-word;
}

.sm6afe-disc-actions {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: #9ca3af;
}

.sm6afe-disc-like, .sm6afe-disc-reply-btn {
  background: none;
  border: 0;
  color: #9ca3af;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sm6afe-disc-like:hover, .sm6afe-disc-reply-btn:hover {
  background: #f3f4f6;
  color: #2563eb;
}

.sm6afe-disc-replies {
  margin-top: 10px;
  padding-left: 14px;
  border-left: 2px solid #e5e7eb;
}

.sm6afe-disc-reply {
  background: #f9fafb;
  border-radius: 8px;
  padding: 10px;
  margin-top: 8px;
}

.sm6afe-disc-more {
  text-align: center;
  padding: 12px 0;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: 0;
  width: 100%;
  border-radius: 8px;
  transition: background .2s;
}

.sm6afe-disc-more:hover {
  background: #eff6ff;
}

/* Redirect overlay popup */
.sm6afe-ro-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}

.sm6afe-ro-overlay.active {
  display: flex;
}

.sm6afe-ro-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-width: 320px;
  width: 90%;
  animation: smRoIn 0.35s ease;
}

@keyframes smRoIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.sm6afe-ro-ring {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.sm6afe-ro-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.sm6afe-ro-ring #smRoArc {
  transition: stroke-dashoffset 0.3s linear;
}

.sm6afe-ro-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #1a1a2e;
}

#smRoText {
  color: #4b5563;
  font-size: 15px;
  margin: 0 0 18px;
  line-height: 1.5;
}

#smRoSkip {
  display: inline-block;
  padding: 10px 36px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

#smRoSkip:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Footer Section */
footer {
  padding: 20px 16px;
  text-align: center;
  color: #9ca3af;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  margin-top: auto;
  width: 100%;
}

.footer-legal-links {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-legal-links a {
  color: #6b7280;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: #2563eb;
}

.footer-age {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

/* ==========================================================================
   Navigation Subpages Specific Styling
   ========================================================================== */

/* Login / Register Tab Forms */
.form-container {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  max-width: 450px;
  margin: 40px auto;
}

.form-tabs {
  display: flex;
  border-bottom: 2px solid #f3f4f6;
  margin-bottom: 24px;
}

.form-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.3s, border-color 0.3s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.form-tab.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #1a1a2e;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 15px;
  transition: border-color 0.3s, background-color 0.3s;
  color: #1a1a2e;
}

.form-group input:focus {
  outline: none;
  border-color: #2563eb;
  background: #fff;
}

.form-group.password-group {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 38px;
  cursor: pointer;
  color: #6b7280;
  user-select: none;
}

.form-btn {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

.form-btn-login {
  background: linear-gradient(135deg, #a29bfe, #6c5ce7);
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.3);
}

.form-btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.form-btn-reg {
  background: linear-gradient(135deg, #00b894, #00cec9);
  box-shadow: 0 4px 14px rgba(0, 184, 148, 0.3);
}

.form-btn-reg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
}

.form-footer-link {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.form-footer-link a {
  color: #2563eb;
  font-weight: 600;
}

.form-footer-link a:hover {
  text-decoration: underline;
}

/* Legal & Policy Pages Layout */
.sm6afe-legal-content {
  line-height: 1.8;
  color: #374151;
  text-align: left;
}

.sm6afe-legal-content h2 {
  font-size: 20px;
  margin: 24px 0 10px;
  color: #1a1a2e;
  font-weight: 700;
}

.sm6afe-legal-content h3 {
  font-size: 17px;
  margin: 18px 0 8px;
  color: #1a1a2e;
  font-weight: 700;
}

.sm6afe-legal-content p {
  margin-bottom: 12px;
}

.sm6afe-legal-content ul, .sm6afe-legal-content ol {
  margin: 8px 0 12px 20px;
}

.sm6afe-legal-content li {
  margin: 4px 0;
}

/* Location Subpage Map & Grid */
.sm6afe-map-wrap {
  margin: 20px auto;
  max-width: 100%;
}

.sm6afe-map-wrap iframe {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.sm6afe-loc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.sm6afe-loc-card {
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color 0.3s;
  text-align: left;
}

.sm6afe-loc-card:hover {
  border-color: #2563eb;
}

.sm6afe-loc-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: #1a1a2e;
  font-weight: 700;
}

.sm6afe-loc-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 4px 0;
  color: #6b7280;
}

@media(max-width: 767px) {
  .sm6afe-loc-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact/Feedback Support Form */
.support-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  margin-top: 24px;
  text-align: left;
}

.support-form h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a2e;
}

.support-form .form-group textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a2e;
  resize: vertical;
}

.support-form .form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #fff;
}

.support-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}

/* Alert Notification Banner */
.alert-banner {
  padding: 12px 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #065f46;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

/* Horizontal scrollable screenshot carousel for subpages */
.sm6afe-ss {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -16px;
  padding: 4px 16px 12px;
}

.sm6afe-ss img {
  height: 280px;
  width: 88%;
  flex-shrink: 0;
  border-radius: 12px;
  scroll-snap-align: start;
  background: #0b1020;
  object-fit: cover;
  border: 1px solid var(--fgx-line);
  transition: border-color .3s, box-shadow .3s;
}

.sm6afe-ss img:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}

.sm6afe-ss::-webkit-scrollbar {
  height: 6px;
}

.sm6afe-ss::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.sm6afe-ss::-webkit-scrollbar-track {
  background: #f1f5f9;
}

@media(min-width: 768px) {
  .sm6afe-ss {
    margin: 0 -24px;
    padding: 4px 24px 12px;
    gap: 16px;
  }
  .sm6afe-ss img {
    height: 400px;
    width: auto;
    min-width: 420px;
  }
}

/* Access Grid Layout for 3 columns */
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 30px;
}

.access-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.access-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
  box-shadow: 0 12px 24px rgba(37,99,235,0.08);
}

.access-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.access-card p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

.access-btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  color: #fff !important;
  font-size: 15px;
  cursor: pointer;
}

.access-btn-oficial {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}
.access-btn-app {
  background: linear-gradient(135deg, #FF6B6B, #EE5A24);
}
.access-btn-alt {
  background: linear-gradient(135deg, #00b894, #00cec9);
}

.access-btn:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .access-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Responsible Gaming Warning Banner */
.responsible-banner {
  background: #fef2f2;
  border: 2px dashed #f87171;
  border-radius: 14px;
  padding: 24px;
  margin: 30px auto;
  text-align: left;
}

.responsible-banner h3 {
  color: #991b1b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.responsible-banner ul {
  padding-left: 20px;
  margin-top: 8px;
  color: #7f1d1d;
  font-size: 14px;
}

.responsible-banner li {
  margin-bottom: 6px;
}

.badge-18 {
  background-color: #991b1b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}



/* Come Dream11 App content helpers */
.sm6afe-spec {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) 1.2fr;
  gap: 10px 14px;
  text-align: left;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.sm6afe-spec dt { font-weight: 700; color: #1f2937; }
.sm6afe-spec dd { color: #4b5563; }
.sm6afe-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.sm6afe-table th, .sm6afe-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}
.sm6afe-table th { background: #f3f4f6; color: #111827; }
.login-wrap {
  max-width: 460px;
  margin: 20px auto 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}
.login-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.login-tabs button {
  flex: 1;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f9fafb;
  color: #374151;
  font-weight: 700;
  cursor: pointer;
}
.login-tabs button.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.login-panel { display: none; }
.login-panel.active { display: block; }
.login-panel form { display: grid; gap: 12px; }
.login-panel input[type="email"], .login-panel input[type="tel"], .login-panel input[type="text"], .login-panel input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 15px;
}
.password-wrap { position: relative; }
.password-wrap .password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #2563eb;
  font-weight: 700;
  cursor: pointer;
}
.password-wrap input { padding-right: 58px !important; }
@media (max-width: 520px) {
  .sm6afe-spec { grid-template-columns: 1fr; }
  .sm6afe-table { font-size: 13px; }
  .sm6afe-table th, .sm6afe-table td { padding: 8px; }
}


/* Hero CTA buttons */
.sm6afe-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 420px);
  margin: 0 auto 14px;
}

.sm6afe-hero-primary,
.sm6afe-hero-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.sm6afe-hero-primary {
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #f97316);
}

.sm6afe-hero-secondary {
  color: #064e3b;
  background: #ecfdf5;
  border: 1px solid #86efac;
}

@media (max-width: 767px) {
  section[data-s="hero"] {
    padding-top: 10px;
  }

  .sm6afe-hero-actions {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 12px;
    padding: 10px;
    border-radius: 14px;
    background: #0f172a;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
  }

  .sm6afe-hero-primary,
  .sm6afe-hero-secondary {
    min-height: 52px;
    border-radius: 12px;
    font-size: 16px;
  }

  .sm6afe-hero-primary {
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.38);
  }

  .sm6afe-hero-secondary {
    color: #052e16;
    background: #bbf7d0;
    border-color: #86efac;
  }
}

@media (min-width: 768px) {
  .sm6afe-hero-actions {
    flex-direction: row;
    justify-content: center;
    width: min(100%, 560px);
  }

  .sm6afe-hero-primary,
  .sm6afe-hero-secondary {
    min-width: 220px;
  }
}

/* FantasyAPKAdda dark app theme */
:root {
  --fgx-bg: #101420;
  --fgx-panel: #171c2b;
  --fgx-panel-2: #202638;
  --fgx-line: rgba(255, 255, 255, 0.09);
  --fgx-text: #eef3ff;
  --fgx-muted: #a7b0c1;
  --fgx-soft: #d9e7ff;
  --fgx-blue: #3aa7ff;
  --fgx-blue-2: #2379dc;
  --fgx-gold: #ffd166;
  --fgx-green: #36d399;
  --fgx-red: #ff6b6b;
}

body {
  color: var(--fgx-text);
  background:
    radial-gradient(circle at 20% 0, rgba(58, 167, 255, .18), transparent 30%),
    linear-gradient(180deg, #111624 0, #0d111c 360px, var(--fgx-bg) 100%);
}

main {
  background: transparent;
}

main > section,
main > article,
main > aside {
  background: transparent;
}

section[data-s="hero"] {
  background: linear-gradient(180deg, rgba(23, 28, 43, .78), rgba(16, 20, 32, 0));
}

section[data-s="appinfo"],
section[data-s="faq"],
section[data-s="discussion"],
section[data-s^="adda-"],
.sm6afe-bread,
.sm6afe-spec,
.sm6afe-table,
.access-card,
.responsible-banner {
  background: linear-gradient(180deg, rgba(32, 38, 56, .98), rgba(23, 28, 43, .98));
  border: 1px solid var(--fgx-line);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

section[data-s="appinfo"],
section[data-s="faq"],
section[data-s="discussion"],
section[data-s^="adda-"] {
  border-radius: 16px;
  margin-top: 18px;
}

h1,
h2,
h3,
.access-card h3,
section[data-s="faq"] summary,
.sm6afe-spec dt,
.sm6afe-table th {
  color: var(--fgx-text);
}

body h1,
body h2,
body h3,
body .access-card h3,
body section[data-s="faq"] summary,
body .sm6afe-spec dt,
body .sm6afe-table th {
  color: var(--fgx-text) !important;
}

.sm6afe-hero-tagline,
section[data-s="hero"] h1 {
  color: var(--fgx-text);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .24);
}

p,
li,
.sm6afe-adesc,
.access-card p,
.sm6afe-spec dd,
section[data-s="faq"] p,
.sm6afe-table td,
footer,
footer p {
  color: var(--fgx-muted) !important;
}

body p,
body li,
body .sm6afe-adesc,
body .access-card p,
body .sm6afe-spec dd,
body section[data-s="faq"] p,
body .sm6afe-table td,
body footer,
body footer p {
  color: var(--fgx-muted) !important;
}

strong {
  color: var(--fgx-soft);
}

.sm6afe-bread {
  color: var(--fgx-muted);
}

.sm6afe-bread a,
.sm6afe-adesc a,
.footer-legal-links a,
.form-footer-link a {
  color: var(--fgx-blue);
}

.sm6afe-carousel,
.sm6afe-carousel-slide img,
.sm6afe-ss img {
  border: 1px solid var(--fgx-line);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.sm6afe-carousel {
  background: #0b1020;
}

.adda-hero-frame {
  width: min(100%, 720px);
  margin: 22px auto 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0b1020;
  border: 1px solid var(--fgx-line);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .32);
}

.adda-hero-frame img {
  width: 100%;
  aspect-ratio: 1717 / 916;
  object-fit: cover;
}

.sm6afe-dot {
  background: rgba(217, 231, 255, .35);
}

.sm6afe-dot.active {
  background: var(--fgx-blue);
}

section[data-s="cta-buttons"],
section[data-s="cta"] {
  background: transparent;
}

body section[data-s="cta-buttons"],
body section[data-s="cta"] {
  background: transparent !important;
  border: 0;
  box-shadow: none;
}

.sm6afe-cta-dl,
.sm6afe-cta-login,
.sm6afe-cta-reg,
.access-btn,
.sm6afe-disc-send,
.sm6afe-ro-card button,
.login-tabs button.active {
  color: #fff !important;
  background: linear-gradient(180deg, var(--fgx-blue), var(--fgx-blue-2));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 10px 22px rgba(35, 121, 220, .26);
}

.sm6afe-cta-dl:hover,
.sm6afe-cta-login:hover,
.sm6afe-cta-reg:hover,
.access-btn:hover,
.sm6afe-disc-send:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 14px 28px rgba(35, 121, 220, .34);
}

.sm6afe-cta-login,
.access-btn-alt,
.sm6afe-hero-primary {
  background: linear-gradient(180deg, #ffb64d, #f07f24);
}

.sm6afe-cta-reg,
.access-btn-app,
.sm6afe-hero-secondary {
  color: #061622 !important;
  background: linear-gradient(180deg, #8bf0c2, var(--fgx-green));
}

.access-card:hover,
section[data-s="faq"] details:hover {
  border-color: rgba(58, 167, 255, .42);
  transform: translateY(-2px);
}

.responsible-banner {
  color: var(--fgx-muted);
  border-style: solid;
  border-color: rgba(255, 209, 102, .42);
  background: linear-gradient(180deg, rgba(255, 209, 102, .13), rgba(32, 38, 56, .96));
}

.responsible-banner strong,
.responsible-banner h3 {
  color: var(--fgx-gold);
}

.sm6afe-table {
  overflow: hidden;
}

.sm6afe-table th,
.sm6afe-table td {
  border-color: var(--fgx-line);
}

.sm6afe-table th {
  background: #252d42;
}

.sm6afe-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, .025);
}

section[data-s="faq"] details {
  background: #171c2b;
  border-color: var(--fgx-line);
}

section[data-s="discussion"] textarea,
input,
textarea,
select,
.login-tabs button {
  color: var(--fgx-text);
  background: #101624;
  border-color: var(--fgx-line);
}

section[data-s="discussion"] textarea::placeholder,
textarea::placeholder,
input::placeholder {
  color: #7f8797;
}

.sm6afe-disc-form,
.sm6afe-comment,
.reply {
  background: rgba(16, 22, 36, .88);
  border-color: var(--fgx-line);
}

.like-btn,
.reply-btn {
  color: var(--fgx-blue);
}

footer {
  background: #0b0f19;
  border-top-color: var(--fgx-line);
}

.footer-legal-links a:hover {
  color: var(--fgx-gold);
}

.sm6afe-ro-card {
  background: var(--fgx-panel);
  border-color: var(--fgx-line);
}

@media (max-width: 767px) {
  section[data-s="appinfo"],
  section[data-s="faq"],
  section[data-s="discussion"],
  section[data-s^="adda-"] {
    border-radius: 14px;
  }

  .sm6afe-hero-actions {
    background: var(--fgx-panel);
    border: 1px solid var(--fgx-line);
  }
}

/* High priority dark fixes for subpages and legacy components */
body main > section,
body main > article,
body main > aside,
body main > section:nth-child(even),
body section[data-s],
body section[data-s="hero"],
body section[data-s="appinfo"],
body section[data-s="faq"],
body section[data-s="discussion"] {
  background-color: transparent !important;
}

body section[data-s="appinfo"],
body section[data-s="faq"],
body section[data-s="discussion"],
body section[data-s^="adda-"],
body .login-wrap,
body .support-form,
body .sm6afe-loc-card,
body .sm6afe-spec,
body .sm6afe-table,
body section[data-s="faq"] details,
body .sm6afe-disc-form,
body .sm6afe-comment,
body .reply {
  color: var(--fgx-text) !important;
  background: linear-gradient(180deg, rgba(32, 38, 56, .98), rgba(23, 28, 43, .98)) !important;
  border-color: var(--fgx-line) !important;
}

body .login-wrap,
body .support-form {
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24) !important;
}

body .login-tabs button {
  color: var(--fgx-soft) !important;
  background: #111827 !important;
  border-color: var(--fgx-line) !important;
}

body .login-tabs button.active {
  color: #fff !important;
  background: linear-gradient(180deg, var(--fgx-blue), var(--fgx-blue-2)) !important;
  border-color: rgba(255, 255, 255, .16) !important;
}

body .login-panel input[type="email"],
body .login-panel input[type="tel"],
body .login-panel input[type="text"],
body .login-panel input[type="password"],
body .support-form textarea,
body .support-form input,
body textarea,
body input {
  color: var(--fgx-text) !important;
  background: #101624 !important;
  border-color: var(--fgx-line) !important;
}

body .password-wrap .password-toggle,
body .like-btn,
body .reply-btn {
  color: var(--fgx-blue) !important;
}

body .sm6afe-table th {
  background: #252d42 !important;
}

body .sm6afe-table td {
  background: rgba(12, 17, 29, .36) !important;
}

/* Compact vertical rhythm after dark redesign */
body main > section,
body main > article,
body main > aside {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

body section[data-s="hero"] {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

body section[data-s="cta-buttons"],
body section[data-s="cta"] {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

body section[data-s^="adda-"],
body section[data-s="faq"],
body section[data-s="discussion"] {
  margin-top: 12px !important;
}

body main > section h1,
body main > section h2 {
  margin-bottom: 12px !important;
}

body .sm6afe-adesc {
  margin-bottom: 14px !important;
}

body .adda-hero-frame {
  margin-top: 14px !important;
}

body .responsible-banner {
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  padding: 18px 20px !important;
}

body .access-grid {
  margin-top: 16px !important;
  margin-bottom: 8px !important;
  gap: 14px !important;
}

body .access-card {
  padding: 18px 16px !important;
}

body .access-card h3 {
  margin-bottom: 8px !important;
}

body .access-card p {
  margin-bottom: 14px !important;
}

body .sm6afe-table {
  margin-top: 12px !important;
}

body .sm6afe-ss {
  padding-top: 0 !important;
  padding-bottom: 6px !important;
}

@media (min-width: 768px) {
  body main > section,
  body main > article,
  body main > aside {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  body section[data-s="hero"] {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  body section[data-s="cta-buttons"],
  body section[data-s="cta"] {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

@media (max-width: 560px) {
  body main > section,
  body main > article,
  body main > aside {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body section[data-s^="adda-"],
  body section[data-s="faq"],
  body section[data-s="discussion"] {
    border-radius: 12px !important;
  }
}

/* CTA and card compact pass */
body section[data-s="cta-buttons"] {
  gap: 8px !important;
}

body section[data-s="cta-buttons"] .sm6afe-cta-bottom,
body section[data-s="cta"] .sm6afe-cta-bottom {
  margin: 0 auto !important;
  max-width: 340px !important;
  min-height: 50px !important;
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  body section[data-s="cta-buttons"] {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  body section[data-s="cta-buttons"] .sm6afe-cta-bottom,
  body section[data-s="cta"] .sm6afe-cta-bottom {
    width: min(100%, 300px) !important;
    min-height: 48px !important;
    font-size: 15px !important;
  }

  body .access-grid {
    gap: 10px !important;
  }

  body .access-card {
    padding: 14px 14px !important;
  }
}
