/* Cinema layout — floating pill nav + full-bleed hero + horizontal rails */

.fx-layout {
  --fx-max: 1120px;
  --fx-gutter: 24px;
  --fx-nav-top: 14px;
}

body.fx-layout {
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-bottom: 0 !important;
}

/* —— Floating pill header —— */
body.fx-layout > header,
body.fx-layout .fx-header {
  position: fixed;
  top: var(--fx-nav-top);
  left: 16px;
  right: 16px;
  z-index: 500;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none;
}

.fx-header .sm6afe-hw,
.fx-header-pill {
  pointer-events: auto;
  max-width: var(--fx-max);
  margin: 0 auto;
  padding: 6px 8px 6px 14px;
  min-height: 52px;
  height: auto;
  background: rgba(18, 18, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border, #454545);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

body.fx-layout #nav {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  flex-direction: column;
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid var(--border, #454545);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

body.fx-layout #nav.open {
  display: flex;
}

body.fx-layout #nav a {
  border-bottom: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

body.fx-layout #nav a:hover,
body.fx-layout #nav a[aria-current="page"] {
  background: var(--bg-elevated, #3d3d3d);
  color: var(--accent, #fb923c);
}

@media (min-width: 900px) {
  body.fx-layout #nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    flex: 1;
    justify-content: center;
  }

  body.fx-layout #nav a {
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  body.fx-layout #mbt {
    display: none;
  }

  .fx-header .sm6afe-hw-auth {
    display: flex;
    gap: 6px;
  }
}

@media (max-width: 899px) {
  .fx-header .sm6afe-hw-auth .sm6afe-hw-btn-reg {
    display: none;
  }

  .fx-header .sm6afe-hw-auth .sm6afe-hw-btn-login {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* —— Main —— */
body.fx-layout > main,
.fx-layout main {
  max-width: none !important;
  width: 100%;
  margin: 0;
}

/* —— Cinematic hero (full-bleed) —— */
.fx-banner {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: #0a0a0a;
}

.fx-banner-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fx-banner-visual .sm6afe-carousel {
  height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.fx-banner-visual .sm6afe-carousel-track {
  height: 100%;
}

.fx-banner-visual .sm6afe-carousel-slide,
.fx-banner-visual .sm6afe-carousel-slide:first-child {
  position: absolute;
  inset: 0;
  height: 100%;
}

.fx-banner-visual .sm6afe-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.fx-banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(14, 14, 14, 0.55) 0%, transparent 35%),
    linear-gradient(0deg, rgba(14, 14, 14, 1) 0%, rgba(14, 14, 14, 0.85) 28%, transparent 65%);
  pointer-events: none;
}

.fx-banner-body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--fx-max);
  margin: 0 auto;
  padding: 120px var(--fx-gutter) 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fx-banner-body .sm6afe-hero-tagline {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 16em;
  margin-bottom: 16px;
  padding: 0;
}

.fx-banner-lead {
  font-size: 15px;
  color: var(--text-body, #a3a3a3);
  max-width: 36em;
  margin: 0 auto 24px;
  line-height: 1.65;
  text-align: center;
}

.fx-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: center;
}

.fx-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fx-stats strong {
  font-size: 1.35rem;
  color: var(--accent, #fb923c);
  line-height: 1.2;
}

.fx-stats span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted, #737373);
  font-weight: 700;
}

.fx-banner-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 580px;
}

.fx-banner-cta .sm6afe-cta-dl,
.fx-banner-cta .sm6afe-cta-reg {
  flex: 1 1 180px;
  max-width: 280px;
  margin: 0;
}

/* —— Horizontal app rail —— */
.fx-band,
.fx-layout section[data-s="featured"] {
  padding: 32px var(--fx-gutter) 40px !important;
  max-width: var(--fx-max) !important;
  width: 100% !important;
  margin: 0 auto 32px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: left !important;
  box-sizing: border-box;
}

.fx-band-head {
  max-width: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.fx-band-head > div {
  min-width: 0;
}

.fx-band-head h2 {
  font-size: clamp(1.15rem, 3vw, 1.5rem) !important;
  font-weight: 800;
  text-align: left !important;
  margin: 0 !important;
  letter-spacing: -0.02em;
}

.fx-band-head p {
  font-size: 13px;
  color: var(--text-muted, #737373);
  margin-top: 4px;
}

.fx-rail {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border, #454545) transparent;
  padding: 4px 0 12px;
  width: 100%;
}

.fx-rail .sm6afe-ob {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
  width: max-content;
  max-width: none !important;
  margin: 0 !important;
  justify-content: flex-start !important;
}

.fx-rail .sm6afe-ob a {
  flex: 0 0 132px !important;
  max-width: 132px !important;
  scroll-snap-align: start;
  border-radius: 18px !important;
  aspect-ratio: 1;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
}

.fx-rail .sm6afe-ob a:first-child {
  flex: 0 0 168px !important;
  max-width: 168px !important;
  grid-column: auto;
  grid-row: auto;
}

.fx-rail .sm6afe-ob a img {
  flex: 1;
  object-fit: cover;
  width: 100%;
}

.fx-rail .sm6afe-ob a span {
  padding: 8px 10px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.5);
}

section[data-s="featured"] .sm6afe-ob-more {
  display: block !important;
  width: fit-content;
  margin: 12px auto 0 !important;
  padding-left: 0;
  padding-right: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent, #fb923c);
}

/* —— Content bands —— */
.fx-layout main > section:not(.fx-banner):not([data-s="featured"]):not(.fx-voice) {
  max-width: var(--fx-max);
  margin: 0 auto 32px !important;
  padding: 32px var(--fx-gutter) !important;
  background: var(--bg-card, #2a2a2a);
  border: 1px solid var(--border, #454545);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.fx-layout main > section:not(.fx-banner):not([data-s="featured"]) h2 {
  text-align: left !important;
  font-size: 1.25rem !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border, #454545);
}

.fx-layout main > section.fx-voice h2 {
  margin-bottom: 6px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.fx-layout .sm6afe-pg {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border, #454545) transparent;
}

.fx-layout .sm6afe-pg figure {
  flex: 0 0 min(220px, 70vw);
  scroll-snap-align: start;
  margin: 0;
}

@media (min-width: 768px) {
  .fx-layout .sm6afe-pg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
    margin: 0;
    max-width: 100%;
  }

  .fx-layout .sm6afe-pg figure {
    flex: none;
    min-width: 0;
    width: auto;
    scroll-snap-align: none;
  }

  .fx-layout .sm6afe-pg img {
    width: 100%;
    height: auto;
  }
}

@media (min-width: 900px) {
  .fx-layout section[data-s="reviews"] {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .fx-layout section[data-s="reviews"] h2 {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--border, #454545);
    padding-bottom: 12px;
  }

  .fx-layout section[data-s="reviews"] .sm6afe-rc {
    margin: 0;
    background: var(--bg-elevated, #3d3d3d);
    border: 1px solid var(--border, #454545);
    border-radius: 14px;
    padding: 18px;
  }
}

/* —— Site-wide content alignment —— */
body.fx-layout .ud-main {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 48px !important;
}

/* Inner pages: all direct blocks share one column */
body.fx-layout .ud-main > *:not(.fx-pagehead):not(.sm6afe-ro-overlay):not(.gm-layout):not(.gd-layout):not(.gv-layout) {
  width: 100%;
  max-width: var(--fx-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--fx-gutter);
  padding-right: var(--fx-gutter);
  box-sizing: border-box;
}

/* Game detail: hero + two-column body */
body.fx-layout .ud-main > .fx-pagehead {
  margin-bottom: 0 !important;
}

body.fx-layout .ud-main > .gm-layout {
  width: 100%;
  max-width: var(--fx-max);
  margin: 0 auto;
  padding: 28px var(--fx-gutter) 48px;
  box-sizing: border-box;
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 920px) {
  body.fx-layout .ud-main > .gm-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
    gap: 24px;
  }
}

body.fx-layout .ud-main > .gm-layout > * {
  min-width: 0;
}

body.fx-layout .gm-aside {
  align-self: start;
}

@media (min-width: 920px) {
  body.fx-layout .gm-aside {
    position: sticky;
    top: calc(var(--fx-nav-top) + 68px);
  }
}

/* Game detail (gd-layout): main left + sidebar right */
body.fx-layout .ud-main > .gd-layout {
  width: 100%;
  max-width: var(--fx-max);
  margin: 0 auto;
  padding: 28px var(--fx-gutter) 48px;
  box-sizing: border-box;
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 920px) {
  body.fx-layout .ud-main > .gd-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
    gap: 24px;
  }
}

body.fx-layout .ud-main > .gd-layout > * {
  min-width: 0;
}

body.fx-layout .gd-aside {
  align-self: start;
}

@media (min-width: 920px) {
  body.fx-layout .gd-aside {
    position: sticky;
    top: calc(var(--fx-nav-top) + 68px);
  }
}

/* Game detail (gv-layout): sidebar left + main right */
body.fx-layout .ud-main > .gv-layout {
  width: 100%;
  max-width: var(--fx-max);
  margin: 0 auto;
  padding: 28px var(--fx-gutter) 48px;
  box-sizing: border-box;
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 920px) {
  body.fx-layout .ud-main > .gv-layout {
    grid-template-columns: minmax(240px, 260px) minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 919px) {
  body.fx-layout .ud-main > .gv-layout {
    display: flex;
    flex-direction: column;
  }

  body.fx-layout .gv-aside {
    order: 2;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.fx-layout .gv-main {
    order: 1;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }
}

@media (max-width: 767px) {
  .fx-layout {
    --fx-gutter: 16px;
  }

  body.fx-layout .fx-pagehead {
    padding: 80px 0 24px !important;
  }

  body.fx-layout .ud-main > .gv-layout {
    padding: 16px var(--fx-gutter) 36px;
    gap: 16px;
  }
}

body.fx-layout .ud-main > .gv-layout > * {
  min-width: 0;
}

body.fx-layout .gv-aside {
  align-self: start;
}

@media (min-width: 920px) {
  body.fx-layout .gv-aside {
    position: sticky;
    top: calc(var(--fx-nav-top) + 68px);
  }
}

/* —— Inner page head (full-bleed strip) —— */
body.fx-layout .fx-pagehead {
  max-width: none !important;
  width: 100%;
  margin: 0 0 28px !important;
  padding: 100px 0 36px !important;
  background: linear-gradient(180deg, #1a1008 0%, var(--bg-page, #0e0e0e) 100%) !important;
  border: none !important;
  border-bottom: 1px solid var(--border, #454545) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

/* One shared column for crumb, title, lead, tags */
body.fx-layout .fx-pagehead > * {
  width: 100%;
  max-width: var(--fx-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--fx-gutter);
  padding-right: var(--fx-gutter);
  box-sizing: border-box;
  text-align: left;
}

body.fx-layout .ud-top.fx-pagehead h1,
body.fx-layout .fx-pagehead h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: var(--fx-max) !important;
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--fx-gutter);
  padding-right: var(--fx-gutter);
  text-align: left !important;
  border: none !important;
  color: var(--text-heading, #f5f5f5);
}

body.fx-layout .fx-pagehead .ud-crumb {
  margin-bottom: 10px;
}

body.fx-layout .fx-pagehead .ud-lead {
  margin-top: 8px;
  max-width: var(--fx-max) !important;
  width: 100%;
}

body.fx-layout .fx-pagehead .ud-tags {
  margin-top: 16px;
}

body.fx-layout .fx-pagehead .sm6afe-ball-sub {
  text-align: left;
  max-width: var(--fx-max) !important;
  width: 100%;
  margin-bottom: 0;
  padding-left: var(--fx-gutter);
  padding-right: var(--fx-gutter);
}

/* Brand catalog */
body.fx-layout main > section[data-s="catalog"] {
  max-width: none !important;
  width: 100%;
  padding: 0 0 48px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.fx-layout section[data-s="catalog"] .sm6afe-ball {
  max-width: var(--fx-max);
  margin: 0 auto;
  padding: 0 var(--fx-gutter) 48px;
  box-sizing: border-box;
}

/* Legal pages */
body.fx-layout main > section[data-s="legal"] {
  max-width: none !important;
  width: 100%;
  padding: 0 0 48px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.fx-layout section[data-s="legal"] .sm6afe-legal-content,
body.fx-layout section[data-s="legal"] > p {
  max-width: var(--fx-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--fx-gutter);
  padding-right: var(--fx-gutter);
  box-sizing: border-box;
}

body.fx-layout section[data-s="legal"] .sm6afe-legal-content {
  background: var(--bg-card, #2a2a2a);
  border: 1px solid var(--border, #454545);
  border-radius: 16px;
  padding: 24px;
  margin-top: 20px;
}

/* Horizontal scroll areas stay inside parent column */
body.fx-layout .lo-city-scroll,
body.fx-layout .fx-rail,
body.fx-layout .gv-film {
  max-width: 100%;
}

/* Footer aligned with content */
body.fx-layout footer {
  max-width: var(--fx-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--fx-gutter);
  padding-right: var(--fx-gutter);
  box-sizing: border-box;
}

body.fx-layout main > .sm6afe-ro-overlay {
  max-width: none !important;
  width: auto;
  margin: 0 !important;
  padding: 0 !important;
}

body.fx-layout .fx-pagehead .sm6afe-ball-sub {
  text-align: left;
  margin-bottom: 0;
}

.fx-layout section[data-s="cta-buttons"] {
  display: none;
}

/* Hide old shell remnants if any */
.tpl-side,
.tpl-dock,
.tpl-fab,
.tpl-mob-bar {
  display: none !important;
}

/* fx-voice — swipe testimonial cards (index discussion) */
body.fx-layout section.fx-voice[data-s="discussion"] {
  max-width: none !important;
  margin: 0 auto 40px !important;
  padding: 8px 0 40px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.fx-layout section.fx-voice[data-s="discussion"] .sm6afe-disc-form,
body.fx-layout section.fx-voice[data-s="discussion"] .sm6afe-disc-post {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.fx-voice-inner {
  max-width: var(--fx-max);
  margin: 0 auto;
  padding: 0 var(--fx-gutter);
  box-sizing: border-box;
}

.fx-voice-top {
  margin-bottom: 18px;
}

.fx-voice-top h2 {
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: none !important;
  font-size: clamp(1.25rem, 3.5vw, 1.6rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-align: left !important;
}

.fx-voice-top p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted, #737373);
}

body.fx-layout section.fx-voice .fx-voice-ask.sm6afe-disc-form {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 8px 8px 8px 16px !important;
  background: var(--bg-card, #2a2a2a) !important;
  border: 1px solid var(--border, #454545) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
  box-sizing: border-box;
}

body.fx-layout section.fx-voice .fx-voice-ask.sm6afe-disc-form textarea {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 40px !important;
  max-height: 96px !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-family: inherit;
  resize: none !important;
  line-height: 1.45;
  background: transparent !important;
  color: var(--text-body, #a3a3a3) !important;
  box-sizing: border-box;
}

body.fx-layout section.fx-voice .fx-voice-ask.sm6afe-disc-form textarea:focus {
  outline: none !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.fx-layout section.fx-voice .fx-voice-post.sm6afe-disc-send {
  flex-shrink: 0 !important;
  align-self: center !important;
  width: auto !important;
  margin: 0 !important;
  padding: 10px 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  white-space: nowrap;
  color: #0e0e0e !important;
  cursor: pointer;
  background: linear-gradient(135deg, #facc15, #fb923c) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: filter 0.15s;
}

body.fx-layout section.fx-voice .fx-voice-post.sm6afe-disc-send:hover {
  filter: brightness(1.06);
  box-shadow: none !important;
  transform: none !important;
}

.fx-voice-rail-wrap {
  width: 100%;
  min-width: 0;
  margin-top: 4px;
  overflow: hidden;
}

body.fx-layout section.fx-voice .fx-voice-rail {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border, #454545) transparent;
  padding: 2px 0 10px;
  margin: 0;
}

body.fx-layout section.fx-voice .fx-voice-card.sm6afe-disc-post {
  flex: 0 0 min(300px, calc(100% - 32px)) !important;
  width: min(300px, calc(100% - 32px)) !important;
  max-width: none !important;
  min-width: 0;
  scroll-snap-align: start;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  min-height: 320px;
  padding: 24px 20px 18px !important;
  margin: 0 !important;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.fx-voice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fb923c, #facc15);
}

.fx-voice-card--warm {
  background: linear-gradient(165deg, #3d2a1f 0%, #2a2a2a 55%);
}

.fx-voice-card--warm::before {
  background: linear-gradient(90deg, #fb923c, #ea580c);
}

.fx-voice-card--cool {
  background: linear-gradient(165deg, #1f2a3d 0%, #2a2a2a 55%);
}

.fx-voice-card--cool::before {
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.fx-voice-card--gold {
  background: linear-gradient(165deg, #3d3520 0%, #2a2a2a 55%);
}

.fx-voice-card--gold::before {
  background: linear-gradient(90deg, #facc15, #eab308);
}

body.fx-layout section.fx-voice img.sm6afe-disc-av {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.15) !important;
  margin: 0 0 14px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body.fx-layout section.fx-voice .sm6afe-disc-body {
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  font-size: 14px;
  font-style: italic;
  line-height: 1.65;
  color: #e5e5e5;
  text-align: left;
  flex: 1;
}

body.fx-layout section.fx-voice blockquote.sm6afe-disc-body {
  border: none;
  quotes: none;
}

body.fx-layout section.fx-voice blockquote.sm6afe-disc-body::before,
body.fx-layout section.fx-voice blockquote.sm6afe-disc-body::after {
  content: none;
}

.fx-voice-who {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  margin-bottom: 12px;
  text-align: center;
}

body.fx-layout section.fx-voice .sm6afe-disc-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-heading, #f5f5f5);
}

body.fx-layout section.fx-voice .sm6afe-disc-time {
  font-size: 11px;
  color: var(--text-muted, #737373);
}

.fx-voice-foot {
  display: flex !important;
  align-items: stretch;
  width: 100%;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.fx-layout section.fx-voice .sm6afe-disc-like,
body.fx-layout section.fx-voice .sm6afe-disc-reply-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 10px !important;
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1.2;
  color: #d4d4d4 !important;
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  cursor: pointer;
}

body.fx-layout section.fx-voice .sm6afe-disc-like:hover,
body.fx-layout section.fx-voice .sm6afe-disc-reply-btn:hover {
  background: rgba(251, 146, 60, 0.15) !important;
  border-color: rgba(251, 146, 60, 0.35) !important;
  color: var(--accent, #fb923c) !important;
}

.fx-voice-swipe {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted, #737373);
}

@media (min-width: 960px) {
  body.fx-layout section.fx-voice .fx-voice-rail {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding-bottom: 0;
  }

  body.fx-layout section.fx-voice .fx-voice-card.sm6afe-disc-post {
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 300px;
    scroll-snap-align: unset;
  }

  .fx-voice-swipe {
    display: none;
  }
}

@media (max-width: 959px) and (min-width: 560px) {
  body.fx-layout section.fx-voice .fx-voice-card.sm6afe-disc-post {
    flex: 0 0 min(300px, calc(100% - 48px)) !important;
    width: min(300px, calc(100% - 48px)) !important;
  }
}

@media (max-width: 559px) {
  body.fx-layout section.fx-voice .fx-voice-ask.sm6afe-disc-form {
    flex-direction: column !important;
    align-items: stretch !important;
    border-radius: 16px !important;
    padding: 12px !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  body.fx-layout section.fx-voice .fx-voice-ask.sm6afe-disc-form textarea {
    width: 100% !important;
    flex: none !important;
    padding: 12px 14px !important;
    border: 1px solid var(--border, #454545) !important;
    border-radius: 12px !important;
    background: var(--bg-elevated, #3d3d3d) !important;
    min-height: 80px !important;
  }

  body.fx-layout section.fx-voice .fx-voice-post.sm6afe-disc-send {
    width: 100% !important;
    align-self: stretch !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
  }

  body.fx-layout section.fx-voice .fx-voice-card.sm6afe-disc-post {
    flex: 0 0 calc(100% - 8px) !important;
    width: calc(100% - 8px) !important;
    min-height: 300px;
  }

  .fx-voice-rail-wrap {
    margin-top: 8px;
  }
}
