/* MagCord V4 — Symmetrical Layout, Side-by-Side Dashboard, Animated Selfmodes & Zoom Safety
 * Theme accent: #866ef7 (rgb 134, 110, 247)
 */

:root {
  --mc-accent: #866ef7;
  --mc-accent-light: #a997fa;
  --mc-accent-deep: #6246ea;
  --mc-accent-10: rgba(134, 110, 247, 0.10);
  --mc-accent-18: rgba(134, 110, 247, 0.18);
  --mc-accent-30: rgba(134, 110, 247, 0.30);
  --mc-card-bg: rgba(15, 15, 22, 0.86);
  --mc-card-bg-2: rgba(18, 19, 27, 0.94);
  --mc-border: rgba(255, 255, 255, 0.08);
  --mc-border-accent: rgba(134, 110, 247, 0.32);
}

html, body {
  overflow-x: clip;
}

/* ---- Anti-Zoom-Out Side Anchor & Global Width Stability ---- */
.container,
.nav-inner,
.sm-section .container,
.cc-section .container {
  width: min(1440px, 94%) !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(16px, 2.4vw, 32px) !important;
  padding-right: clamp(16px, 2.4vw, 32px) !important;
}

@media (min-width: 1720px) and (max-width: 2299px) {
  html { zoom: 1.25; }
  .hero { min-height: 680px !important; }
  .cc-frame-wrap { height: 760px !important; }
}

@media (min-width: 2300px) and (max-width: 3199px) {
  html { zoom: 1.75; }
  .hero { min-height: 680px !important; }
  .cc-frame-wrap { height: 760px !important; }
}

@media (min-width: 3200px) {
  html { zoom: 2.35; }
  .hero { min-height: 680px !important; }
  .cc-frame-wrap { height: 760px !important; }
}

.hero {
  min-height: clamp(640px, 88vh, 880px) !important;
  padding-top: clamp(96px, 11vh, 134px) !important;
  padding-bottom: clamp(72px, 8vh, 108px) !important;
  display: flex;
  align-items: center;
}

.hero-horizon {
  --horizon-top: auto;
  bottom: 0;
}

.hero-horizon::before {
  top: auto !important;
  bottom: 0 !important;
  width: min(960px, 88vw) !important;
  height: 1px !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, transparent 0%, rgba(169, 151, 250, 0.35) 24%, rgba(224, 214, 255, 0.85) 50%, rgba(169, 151, 250, 0.35) 76%, transparent 100%) !important;
  box-shadow:
    0 0 18px rgba(134, 110, 247, 0.65),
    0 -14px 48px rgba(134, 110, 247, 0.32) !important;
  animation: heroHorizonGlow 1200ms ease 200ms both !important;
}

.hero-horizon::after {
  background: radial-gradient(62% 36% at 50% 100%, rgba(134, 110, 247, 0.22), transparent 72%) !important;
}

/* ---- Redesigned Split Hero Showcase ---- */
.mc-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  width: 100%;
}

.mc-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.mc-hero-left .hero-headline {
  text-align: left;
  margin: 14px 0 16px;
  font-size: clamp(40px, 4.7vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.mc-hero-left .hero-headline .hero-line {
  justify-content: flex-start;
}

.mc-hero-accent {
  background: linear-gradient(125deg, #ffffff 0%, #c5b6ff 45%, #866ef7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mc-hero-left .hero-subtitle {
  text-align: left;
  margin: 0 0 26px;
  max-width: 560px;
}

.mc-hero-left .hero-cta {
  justify-content: flex-start;
  margin: 0;
}

.mc-hero-left .mc-hero-ticker {
  margin: 20px 0 0;
}

.mc-hero-left .hero-metrics {
  justify-content: flex-start;
  margin-top: 24px;
}

.mc-hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  user-select: none;
}

.mc-hero-showcase::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: radial-gradient(65% 60% at 50% 45%, rgba(134, 110, 247, 0.28), transparent 72%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

.mc-device-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-right: 18px;
  padding-bottom: 14px;
  animation: mcHeroFloat 6s ease-in-out infinite;
}

@keyframes mcHeroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.mc-pc-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mc-pc-frame {
  position: relative;
  width: 100%;
  padding: 12px 12px 14px;
  border-radius: 16px;
  background: linear-gradient(165deg, #252736 0%, #11121a 55%, #0c0d13 100%);
  border: 1px solid rgba(169, 151, 250, 0.28);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.mc-pc-cam {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f3246;
  margin: 0 auto 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mc-pc-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  overflow: hidden;
  background: #0d0e14;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.mc-pc-iframe,
.mc-phone-iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  pointer-events: none !important;
  user-select: none !important;
  transform-origin: 0 0;
}

.mc-pc-iframe {
  width: 250%;
  height: 250%;
  transform: scale(0.4);
}

.mc-pc-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mc-pc-neck {
  width: 72px;
  height: 22px;
  background: linear-gradient(180deg, #1d1f2b 0%, #2b2e40 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.mc-pc-base {
  width: 176px;
  height: 9px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(90deg, #1b1d28 0%, #34374c 50%, #1b1d28 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.mc-phone-frame {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: clamp(114px, 23%, 144px);
  padding: 8px 6px;
  border-radius: 22px;
  background: linear-gradient(160deg, #2b2e42 0%, #11121a 100%);
  border: 1px solid rgba(169, 151, 250, 0.40);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  z-index: 3;
}

.mc-phone-notch {
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: #0a0b10;
  margin: 0 auto 6px;
}

.mc-phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19;
  border-radius: 16px;
  overflow: hidden;
  background: #0d0e14;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-phone-iframe {
  width: 300%;
  height: 300%;
  transform: scale(0.333333);
}

/* Next.js-style Hero Animated Command Beam Strip */
.mc-hero-ticker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px auto 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(16, 17, 25, 0.82);
  border: 1px solid rgba(134, 110, 247, 0.28);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  max-width: 100%;
}

.mc-hero-ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(134, 110, 247, 0.22), transparent);
  transform: translateX(-100%);
  animation: mcBeamSweep 3.8s ease-in-out infinite;
  pointer-events: none;
}

.mc-hero-ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
  flex-shrink: 0;
}

.mc-hero-ticker code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #fff;
  font-weight: 700;
}

.mc-hero-ticker-arrow {
  color: var(--mc-accent-light);
  font-weight: 800;
}

.mc-hero-ticker-out {
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes mcBeamSweep {
  0% { transform: translateX(-120%); }
  45%, 100% { transform: translateX(120%); }
}

.sm-section,
.cc-section,
.rpc-showcase-section,
.pricing-section,
.v4-after {
  padding: clamp(54px, 5vw, 84px) 0 !important;
}

#whats-included .v4-grid {
  grid-template-columns: 1fr;
}

.explainer-section {
  padding: 28px 0 clamp(40px, 4vw, 60px) !important;
}

.sm-picker {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(490px, 1.35fr);
  gap: 22px;
  align-items: stretch;
  max-width: 100%;
  margin: 0 auto;
}

.sm-left-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.sm-chips-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sm-chips-box-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  padding: 2px 4px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sm-chips-box-head small {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(169, 151, 250, 0.85);
}

.sm-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sm-pv-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sm-pv-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sm-pv-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.sm-pv-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.35;
}

.sm-pv-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 10px;
  background: #14151c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.sm-pv-opt {
  padding: 6px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.sm-pv-opt:hover {
  color: rgba(255, 255, 255, 0.85);
}

.sm-pv-opt.is-active {
  background: #282a36;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.sm-pv-card.is-disabled .sm-pv-switch {
  opacity: 0.45;
  cursor: not-allowed;
}

.sm-pv-card.is-disabled .sm-pv-opt {
  pointer-events: none;
  cursor: not-allowed;
}

.sm-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none !important;
  min-height: 600px;
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(134, 110, 247, 0.12), transparent 55%),
    linear-gradient(180deg, #0d0d11 0%, #070709 100%);
  border: 1px solid rgba(134, 110, 247, 0.25);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55);
}

.sm-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sm-preview-transcript {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border-radius: 14px;
  background:
    radial-gradient(90% 60% at 85% 15%, rgba(134, 110, 247, 0.08), transparent 60%),
    #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.sm-preview-transcript.is-private .sm-dmsg {
  background: rgba(88, 101, 242, 0.08);
  border-left: 2px solid #5865f2;
  box-shadow: none;
  border-radius: 0 !important;
  padding: 8px 12px 10px 10px;
  margin: 0 -4px;
  transition: background 0.28s ease;
}

.sm-discord-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: smModeSwap 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes smModeSwap {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sm-dmsg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.28s ease, opacity 0.25s ease, transform 0.25s ease;
}

.sm-slash-pill {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(88, 101, 242, 0.24);
  color: #dee0fc;
  font-weight: 600;
  font-size: 11px;
}

.sm-uemoji {
  display: inline-block;
  width: 16px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1;
  vertical-align: -1px;
}

.sm-dmsg.is-collapsed {
  opacity: 0;
  transform: translateY(-4px);
  max-height: 0;
  overflow: hidden;
  margin: 0;
}

.sm-dused {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 44px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.56);
}

.sm-dused::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 50%;
  width: 21px;
  height: 11px;
  border-top: 2px solid #4e5058;
  border-left: 2px solid #4e5058;
  border-top-left-radius: 6px;
  pointer-events: none;
}

.sm-dused img {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  object-fit: cover;
}

.sm-dused b {
  color: #fff;
  font-weight: 700;
}

.sm-dused code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--mc-accent-light);
}

.sm-drow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sm-dav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #14151c;
}

.sm-dcol {
  flex: 1;
  min-width: 0;
}

.sm-dmeta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.sm-dmeta b {
  font-size: 13.5px;
  color: #fff;
}

.sm-dmeta .sm-app {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: #5865f2;
  color: #fff;
}

.sm-dmeta small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.36);
}

.sm-fwd-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 5px;
}

.sm-fwd-box {
  padding-left: 10px;
  border-left: 3px solid rgba(255, 255, 255, 0.16);
}

/* Realistic Selfmode Text / Embed / V2 Container */
.sm-text-block {
  font-size: 13px;
  line-height: 1.55;
  color: #dcddde;
}

.sm-text-block .sm-h1 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sm-text-block .sm-quote {
  border-left: 3px solid rgba(255, 255, 255, 0.22);
  padding: 4px 0 4px 12px;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-ascii-divider {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.28);
  margin: 2px 0;
  user-select: none;
}

.sm-ini-footer {
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 4px;
  background: #0c0d10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: #b5bac1;
  width: fit-content;
}

.sm-text-footer {
  margin-top: 5px;
  font-size: 12px;
}

.sm-text-footer code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #0c0d10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4e4f0;
}

.sm-embed-card {
  width: fit-content;
  min-width: min(290px, 100%);
  max-width: min(500px, 100%);
  border-radius: 4px;
  background: #141518;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--mc-accent);
  padding: 12px 14px;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sm-embed-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.sm-embed-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sm-embed-thumb {
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.sm-embed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sm-embed-author {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #f2f3f5;
}

.sm-embed-author img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.sm-embed-title {
  font-size: 15px;
  font-weight: 700;
  color: #f2f3f5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sm-embed-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: #949ba4;
  margin-top: 2px;
}

.sm-embed-footer img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Discord Components V2 Container — exact match to utils.py + selfmodes-transcript.js */
.mc-v2-container {
  position: relative;
  width: fit-content;
  min-width: min(300px, 100%);
  max-width: min(500px, 100%);
  border-radius: 4px;
  background-color: #141518;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 4px solid var(--mc-accent);
  padding: 12px 14px;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mc-v2-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.mc-v2-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mc-v2-h2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #f2f3f5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mc-v2-thumb-box {
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  border-radius: 4px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.mc-v2-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mc-v2-thumb-box.is-avatar {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mc-v2-thumb-box.is-avatar img {
  object-fit: cover;
}

.mc-v2-banner-wrap {
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.mc-v2-banner-img {
  display: block;
  width: 100%;
  max-height: 120px;
  object-fit: cover;
}

.mc-sim-only-wrap {
  margin-top: 2px;
  display: inline-block;
  max-width: min(330px, 100%);
  border-radius: 8px;
  overflow: hidden;
  background: #0d0e12;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mc-sim-only-img {
  display: block;
  width: 100%;
  max-width: 330px;
  max-height: 220px;
  object-fit: cover;
}
.mc-sim-only-img.is-square {
  width: 200px;
  height: 200px;
  object-fit: cover;
}
.mc-img-fx {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  background: #0d0e12;
}
.mc-img-fx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mc-img-fx.fx-blur img { filter: blur(4px) scale(1.06); }
.mc-img-fx.fx-gray img { filter: grayscale(1); }
.mc-img-fx.fx-invert img { filter: invert(1); }
.mc-img-fx.fx-sepia img { filter: sepia(1) contrast(1.08); }
.mc-img-fx.fx-deepfry img { filter: contrast(2.7) saturate(3.2) brightness(1.05); }
.mc-img-fx.fx-magik img { filter: contrast(1.4) saturate(1.8); transform: scale(1.18, 0.84) skewX(-9deg); }
.mc-img-fx.fx-pixel img { filter: contrast(1.15); image-rendering: pixelated; transform: scale(1.02); }
.mc-img-fx.fx-wasted img { filter: grayscale(0.95) contrast(1.25) brightness(0.75); }
.mc-img-fx.fx-wasted::after {
  content: "WASTED";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.72);
  color: #f03e3e;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-shadow: 0 2px 8px #000;
}
.mc-img-fx.fx-jail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(20, 22, 26, 0.92) 0 8px, transparent 8px 34px);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.65);
}
.mc-img-fx.fx-triggered img { filter: sepia(0.35) saturate(2.5) hue-rotate(-25deg); }
.mc-img-fx.fx-triggered::after {
  content: "TRIGGERED";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 7px 0;
  text-align: center;
  background: #d92626;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.mc-img-fx.fx-rainbow::after,
.mc-img-fx.fx-lgbt::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.44;
  background: linear-gradient(180deg, #e40303 0 16.6%, #ff8c00 16.6% 33.3%, #ffed00 33.3% 50%, #008026 50% 66.6%, #004dff 66.6% 83.3%, #750787 83.3% 100%);
}
.mc-img-fx.fx-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(1.5px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, transparent 42%, rgba(255, 255, 255, 0.16) 65%, transparent 100%);
}
.mc-img-ship {
  width: 280px;
  max-width: 100%;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: radial-gradient(circle at 50% 35%, rgba(244, 63, 94, 0.25), #111218 72%);
}
.mc-img-ship img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.mc-img-ship-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.mc-img-ship-mid strong {
  font-size: 20px;
  font-weight: 900;
  color: #fb7185;
}
.mc-img-ship-mid span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}
.mc-img-meme {
  width: 290px;
  max-width: 100%;
  padding: 16px 18px;
  background: #14151a;
  color: #fff;
}
.mc-img-meme.is-supreme {
  background: #e11d2e;
  text-align: center;
  font-style: italic;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  padding: 14px 28px;
  width: auto;
}
.mc-img-meme.is-phlogo {
  background: #000;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 24px;
  font-weight: 900;
  padding: 14px 20px;
  width: auto;
}
.mc-img-meme.is-phlogo span:last-child {
  background: #ff9900;
  color: #000;
  padding: 1px 7px;
  border-radius: 5px;
}
.mc-img-meme.is-achievement {
  background: #212121;
  border: 2px solid #555;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}
.mc-img-ach-box {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: linear-gradient(180deg, #52a535 0 36%, #79553a 36% 100%);
  flex-shrink: 0;
}
.mc-img-ach-txt b { display: block; font-size: 12.5px; color: #ffff55; }
.mc-img-ach-txt small { display: block; font-size: 12.5px; color: #fff; margin-top: 2px; }
.mc-img-card-post {
  width: 300px;
  max-width: 100%;
  padding: 14px 16px;
  background: #15202b;
  color: #f7f9f9;
  font-size: 13px;
  line-height: 1.45;
}
.mc-img-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.mc-img-card-head img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.mc-img-card-head b { font-size: 13px; color: #fff; display: block; }
.mc-img-card-head span { font-size: 11px; color: #8b98a5; }

.mc-v2-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.mc-v2-hr {
  height: 1px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  margin: 2px 0;
}

.mc-v2-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-v2-row {
  font-size: 12.6px;
  line-height: 1.4;
  color: #dbdee1;
  word-break: break-word;
}

.sm-preview .mc-v2-row {
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

.mc-v2-row b {
  color: #f2f3f5;
  font-weight: 700;
}

.mc-v2-row u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mc-v2-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 3px;
  background: #0c0d10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4e4f0;
}

.mc-dlink {
  color: #00a8fc;
  font-weight: 600;
}

.mc-dlink code {
  color: #00a8fc;
}

.mc-v2-subtext {
  font-size: 11.5px;
  line-height: 1.35;
  color: #949ba4;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mc-emoji {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: -3px;
  flex-shrink: 0;
}

.mc-divider-strip {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  font-size: 0;
  line-height: 0;
  height: 17px;
  max-width: 100%;
  overflow: hidden;
  opacity: 0.95;
}

.mc-divider-strip img {
  height: 17px;
  width: 17px;
  margin: 0;
  padding: 0;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.mc-divider-strip.is-nitro {
  height: 10px;
}

.mc-divider-strip.is-nitro img {
  height: 2px !important;
  width: 18px !important;
  object-fit: fill !important;
}

/* Discord Ephemeral / Private Mode inline notice inside tinted message */
.sm-ephemeral-bar {
  margin: 7px 0 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #949ba4;
  padding: 0;
  border: 0;
  background: transparent;
  animation: smNightySlideIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sm-ephemeral-bar svg {
  color: #949ba4;
  flex-shrink: 0;
}

.sm-dismiss-btn {
  margin-left: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #00a8fc;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.sm-dismiss-btn:hover {
  text-decoration: underline;
}

.sm-private-hint {
  margin-top: 12px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

@keyframes smNightySlideIn {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
 * CENTERED DASHBOARD WINDOW (#control-center)
 * ========================================================= */
.cc-section .container {
  text-align: center;
}

.cc-section .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.cc-stage {
  width: min(1540px, 95%) !important;
  max-width: 1540px !important;
  margin-left: auto;
  margin-right: auto;
}

.cc-window {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
}

@media (min-width: 641px) {
  .cc-frame-wrap {
    height: clamp(680px, 82vh, 790px) !important;
    max-height: none !important;
    overflow: hidden;
  }
  .cc-frame {
    width: 125% !important;
    height: 125% !important;
    max-height: none !important;
    transform: scale(0.8);
    transform-origin: 0 0;
  }
}

/* =========================================================
 * POST-DASHBOARD SECTIONS — SYMMETRICAL CENTERED DESIGN
 * ========================================================= */
.mc-section {
  position: relative;
  z-index: 2;
  padding: clamp(54px, 5vw, 84px) 0;
}

.mc-section + .mc-section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.mc-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin: 0 auto 34px;
  max-width: 720px;
}

.mc-head .section-label {
  margin-bottom: 0;
}

.mc-head .section-title {
  margin-bottom: 4px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
}

.mc-head .section-subtitle {
  margin: 0 auto;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.6;
}

.mc-head-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12.5px;
  font-weight: 700;
}

.mc-head-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mc-accent);
  box-shadow: 0 0 10px var(--mc-accent);
}

/* Clean non-bubble inline code inside text */
.mc-tile code,
.mc-auto-card code,
.mc-head code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #eaeaf4;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

/* =========================================================
 * SECTION 1: #features — SYMMETRICAL 6-CARD BENTO
 * ========================================================= */
.mc-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.mc-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(134, 110, 247, 0.08), transparent 55%),
    var(--mc-card-bg);
  border: 1px solid var(--mc-border);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.mc-tile:hover {
  border-color: var(--mc-border-accent);
  transform: translateY(-2px);
}

.mc-tile--12 { grid-column: span 12; }
.mc-tile--7 { grid-column: span 7; }
.mc-tile--6 { grid-column: span 6; }
.mc-tile--5 { grid-column: span 5; }

/* Setup Logger Server Channels & WhatsApp Card */
.mc-log-stack {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 12px;
}

.mc-log-box {
  padding: 13px;
  border-radius: 12px;
  background: #1a1b22;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mc-log-head b {
  color: var(--mc-accent-light);
  font-weight: 800;
}

.mc-log-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.mc-log-ch {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #dbdee1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-v2-file {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  min-width: 260px;
  max-width: min(360px, 100%);
  border-radius: 8px;
  background: #141518;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.mc-v2-file-ico {
  color: #a997fa;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mc-v2-file-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.mc-v2-file-meta b {
  font-size: 13px;
  font-weight: 600;
  color: #00a8fc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-v2-file-meta small {
  font-size: 11px;
  color: #949ba4;
}

.mc-v2-file-dl {
  color: #b5bac1;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mc-v2-audio {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 13px;
  width: min(370px, 100%);
  border-radius: 8px;
  background: #141518;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.mc-v2-audio-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mc-v2-audio-ico {
  color: #a997fa;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.mc-v2-audio-ctrl {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #0c0d10;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mc-v2-media-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #866EF7;
  color: #fff;
}
.mc-v2-media-time {
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: #b5bac1;
  flex-shrink: 0;
}
.mc-v2-media-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  min-width: 50px;
}
.mc-v2-media-fill {
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: #866EF7;
}

.mc-v2-video {
  margin-top: 8px;
  width: min(370px, 100%);
  border-radius: 8px;
  overflow: hidden;
  background: #0c0d10;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.mc-v2-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 11px;
  background: #141518;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mc-v2-video-head b {
  font-size: 12px;
  font-weight: 600;
  color: #00a8fc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-v2-video-head small {
  font-size: 10.5px;
  color: #949ba4;
  flex-shrink: 0;
}
.mc-v2-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 180px;
  width: 100%;
  background: #08090c;
  overflow: hidden;
}
.mc-v2-video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.78;
}
.mc-v2-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(14, 14, 20, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}
.mc-v2-video-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #111216;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mc-log-ch span {
  color: var(--mc-accent-light);
  font-weight: 800;
}

.mc-wa-box {
  padding: 13px;
  border-radius: 12px;
  background: radial-gradient(90% 80% at 100% 0%, rgba(37, 211, 102, 0.09), transparent 65%), #0b141a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.mc-wa-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #e9edef;
}

.mc-wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #25d366;
  font-size: 11px;
  font-weight: 700;
}

.mc-wa-stage {
  display: flex;
  flex-direction: column;
}

.mc-wa-bubble {
  padding: 11px 13px 8px;
  border-radius: 10px;
  border-top-left-radius: 3px;
  background: #202c33;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  line-height: 1.44;
  color: #e9edef;
  animation: waSwap 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes waSwap {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.mc-wa-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 7px;
}

.mc-wa-line {
  color: #e9edef;
  word-break: break-word;
}

.mc-wa-line b {
  color: #ffffff;
  font-weight: 700;
}

.mc-wa-link {
  color: #25d366;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 11.5px;
  word-break: break-all;
}

.mc-wa-time {
  margin-top: 4px;
  text-align: right;
  font-size: 10.5px;
  color: #8696a0;
}

/* Custom Coloured Emojis Live Picker Showcase */
.mc-ep-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
}

.mc-ep-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.mc-ep-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-ep-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #1a1b22;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.mc-ep-step-n {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--mc-accent-18);
  color: var(--mc-accent-light);
  border: 1px solid var(--mc-border-accent);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.mc-ep-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #1a1b22;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-ep-color-input {
  width: 38px;
  height: 34px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #12131a;
  cursor: pointer;
}

.mc-ep-hex-input {
  width: 92px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #12131a;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  outline: none;
}

.mc-ep-swatches {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.mc-ep-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.mc-ep-swatch:hover { transform: scale(1.12); }
.mc-ep-swatch.is-active { border-color: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, 0.35); }

.mc-ep-cmd-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(134, 110, 247, 0.10);
  border: 1px solid rgba(134, 110, 247, 0.30);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #ece8ff;
}

.mc-ep-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #1a1b22;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.mc-ep-icons-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.mc-ep-icon-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mc-ep-icon-cell img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: filter 0.15s ease;
}

.mc-ep-icon-cell span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.mc-tintable-emoji {
  transition: filter 0.15s ease;
}

@media (max-width: 920px) {
  .mc-log-stack,
  .mc-ep-split { grid-template-columns: 1fr; }
  .mc-ep-icons-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.mc-tile-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mc-accent-light);
  margin-bottom: 6px;
}

.mc-tile h3 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.25;
}

.mc-tile p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.mc-mini-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: #1a1b22;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mc-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mc-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #14151c;
}

.mc-msg-body { min-width: 0; flex: 1; }
.mc-msg-head { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.mc-msg-head b { font-size: 12.5px; color: #fff; }
.mc-msg-head .mc-app { font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 4px; background: #5865f2; color: #fff; }
.mc-msg-head small { font-size: 11px; color: rgba(255, 255, 255, 0.38); }
.mc-msg-text { font-size: 12.5px; color: rgba(255, 255, 255, 0.85); line-height: 1.45; }
.mc-msg-text.is-deleted { color: rgba(255, 255, 255, 0.42); text-decoration: line-through; }

.mc-slash-used { display: flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255, 255, 255, 0.55); margin-bottom: 3px; }
.mc-slash-used img { width: 14px; height: 14px; border-radius: 50%; object-fit: cover; }
.mc-slash-used span { color: var(--mc-accent-light); font-weight: 700; }

.mc-channel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.mc-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mc-accent); }

.mc-rpc-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mc-rpc-stack .rpc-dash-card {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  box-shadow: none;
  background: #1a1b22;
}

.mc-rpc-stack .rpc-dash-head { margin-bottom: 8px; }
.mc-rpc-stack .rpc-dash-verb { font-size: 10.5px; }
.mc-rpc-stack .rpc-dash-body { gap: 10px; align-items: center; }
.mc-rpc-stack .rpc-dash-art-wrap,
.mc-rpc-stack .rpc-dash-large-img { width: 46px; height: 46px; border-radius: 9px; }
.mc-rpc-stack .rpc-dash-small-img { width: 17px; height: 17px; font-size: 7px; border-width: 2px; bottom: -3px; right: -3px; }
.mc-rpc-stack .rpc-dash-name { font-size: 12px; }
.mc-rpc-stack .rpc-dash-details { font-size: 10.5px; }
.mc-rpc-stack .rpc-dash-meta { font-size: 10px; gap: 5px; margin-top: 2px; }
.mc-rpc-stack .rpc-dash-timer { font-size: 10px; gap: 3px; }
.mc-rpc-stack .rpc-dash-seekbar { margin-top: 5px; gap: 5px; font-size: 9.5px; }
.mc-rpc-stack .rpc-dash-seek-cur,
.mc-rpc-stack .rpc-dash-seek-total { min-width: 26px; }
.mc-rpc-stack .rpc-dash-btns { margin-top: 8px; gap: 5px; }
.mc-rpc-stack .rpc-dash-btn { min-height: 25px; padding: 4px 8px; font-size: 10.5px; }

.mc-progress-box { padding: 12px 14px; border-radius: 12px; background: #1a1b22; border: 1px solid rgba(255, 255, 255, 0.06); }
.mc-progress-head { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, 0.84); margin-bottom: 8px; }
.mc-progress-head b { color: var(--mc-accent-light); }
.mc-progress-track { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.mc-progress-fill { width: 86%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mc-accent-deep), var(--mc-accent-light)); }

.mc-kv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mc-kv { padding: 10px 12px; border-radius: 10px; background: #1a1b22; border: 1px solid rgba(255, 255, 255, 0.06); }
.mc-kv span { display: block; font-size: 10.5px; color: rgba(255, 255, 255, 0.45); margin-bottom: 3px; }
.mc-kv strong { font-size: 13.5px; font-weight: 800; color: #fff; }

/* =========================================================
 * SECTION 2: #commands — 529-COMMAND WORKBENCH
 * ========================================================= */
.mc-wb {
  border-radius: 20px;
  background: var(--mc-card-bg-2);
  border: 1px solid var(--mc-border);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.mc-wb-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--mc-border);
  background: rgba(255, 255, 255, 0.02);
}

.mc-wb-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.mc-wb-count {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.mc-wb-count strong {
  color: var(--mc-accent-light);
}

.mc-wb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mc-wb-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mc-wb-tab span {
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.mc-wb-tab:hover { color: #fff; border-color: var(--mc-border-accent); }
.mc-wb-tab.is-active {
  background: var(--mc-accent);
  border-color: var(--mc-accent);
  color: #fff;
}
.mc-wb-tab.is-active span { background: rgba(255, 255, 255, 0.22); }

.mc-wb-search {
  width: 260px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 8, 12, 0.85);
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  outline: none;
}

.mc-wb-search:focus { border-color: var(--mc-accent); }

.mc-wb-body {
  display: grid;
  grid-template-columns: minmax(270px, 0.92fr) minmax(0, 1.38fr);
  min-height: 430px;
}

.mc-wb-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-right: 1px solid var(--mc-border);
  max-height: 460px;
  overflow-y: auto;
}

.mc-wb-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.mc-wb-item:hover { background: rgba(255, 255, 255, 0.03); }
.mc-wb-item.is-active { background: var(--mc-accent-10); border-color: var(--mc-border-accent); }
.mc-wb-item-top { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 8px; }
.mc-wb-item-left { display: flex; align-items: center; gap: 7px; min-width: 0; }
.mc-wb-item code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-wb-item.is-active code { color: var(--mc-accent-light); }
.mc-wb-item small { font-size: 10px; color: rgba(255, 255, 255, 0.45); text-transform: uppercase; letter-spacing: 0.05em; flex-shrink: 0; }
.mc-wb-item span { font-size: 11.5px; color: rgba(255, 255, 255, 0.56); line-height: 1.4; }

.mc-wb-preview { display: flex; flex-direction: column; justify-content: space-between; background: #0a0a0c; }
.mc-sim-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; font-weight: 700; color: #fff; }
.mc-sim-head-left { display: flex; align-items: center; gap: 8px; }
.mc-sim-head-left span { color: rgba(255, 255, 255, 0.4); }
.mc-sim-replay {
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.mc-sim-replay:hover { border-color: var(--mc-accent); background: var(--mc-accent-18); }

.mc-sim-stage {
  flex: 1;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 290px;
  max-height: 460px;
  overflow-y: auto;
}
.mc-sim-stage::before {
  content: "";
  flex: 1 0 0;
}

.mc-sim-msg {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 4px;
  animation: smModeSwap 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.3s ease;
  max-height: 2400px;
  overflow: hidden;
}
.mc-wb-preview .mc-v2-subtext {
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-sim-msg.is-deleted { opacity: 0; transform: translateY(-4px); max-height: 0; margin: 0; }
.mc-sim-used { position: relative; display: flex; align-items: center; gap: 6px; margin-left: 44px; font-size: 11.5px; color: rgba(255, 255, 255, 0.56); }
.mc-sim-used::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 50%;
  width: 21px;
  height: 11px;
  border-top: 2px solid #4e5058;
  border-left: 2px solid #4e5058;
  border-top-left-radius: 6px;
  pointer-events: none;
}
.mc-sim-used img { width: 15px; height: 15px; border-radius: 50%; object-fit: cover; }
.mc-sim-used b { color: #fff; }
.mc-sim-used code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--mc-accent-light); }
.mc-sim-reply-snippet {
  color: rgba(255, 255, 255, 0.56);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mc-composer-reply {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 10px;
  margin-bottom: -2px;
  border-radius: 9px 9px 0 0;
  background: #1d1e27;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
}
.mc-composer-reply.is-open {
  display: flex;
}
.mc-composer-reply-left {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-composer-reply b {
  color: #fff;
  font-weight: 700;
}
.mc-composer-reply-at {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.25);
  color: #dee0fc;
}
.mc-composer-box.has-reply {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.mc-sim-row { display: flex; align-items: flex-start; gap: 12px; }
.mc-sim-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mc-sim-col { flex: 1; min-width: 0; }
.mc-sim-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.mc-sim-meta b { font-size: 13.5px; color: #fff; }
.mc-sim-meta .mc-bot-name { color: var(--mc-accent-light); }
.mc-sim-meta .mc-app { font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 4px; background: #5865f2; color: #fff; }
.mc-sim-meta small { font-size: 11px; color: rgba(255, 255, 255, 0.36); }
.mc-sim-line { font-size: 13.5px; line-height: 1.5; color: #dcddde; }
.mc-sim-line code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); color: #eeeef6; }
.mc-sim-line.is-editing { display: flex; flex-direction: column; gap: 2px; }
.mc-sim-edit-old { text-decoration: line-through; color: rgba(255, 255, 255, 0.38); font-size: 12.5px; transition: color 0.25s ease, opacity 0.25s ease; }
.mc-sim-edit-new { color: #dcddde; animation: smModeSwap 0.24s cubic-bezier(0.16, 1, 0.3, 1) both; }
.mc-sim-tag { font-size: 10.5px; color: rgba(255, 255, 255, 0.42); margin-left: 5px; font-weight: 500; text-decoration: none; display: inline-block; }
.mc-sim-line.is-deleted-npc { text-decoration: line-through; color: rgba(242, 63, 67, 0.68); opacity: 0.72; transition: color 0.25s ease, opacity 0.25s ease; }
.mc-sim-tag.is-del { color: rgba(242, 63, 67, 0.85); }
.mc-sim-reactions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}
.mc-sim-react {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.48);
  font-size: 12px;
  font-weight: 700;
  color: #dee0fc;
  animation: smModeSwap 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mc-sim-foot {
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 14, 0.96);
}
.mc-composer-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #17181f;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mc-composer-box.is-typing {
  border-color: rgba(134, 110, 247, 0.45);
}
.mc-composer-box.is-sending {
  border-color: var(--mc-accent);
  box-shadow: 0 0 0 2px rgba(134, 110, 247, 0.18);
}
.mc-composer-plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.mc-composer-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.35;
  color: #f2f3f5;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.mc-composer-field::-webkit-scrollbar {
  display: none;
}
.mc-composer-text {
  white-space: nowrap;
}
.mc-composer-text.is-placeholder {
  font-family: inherit;
  color: rgba(255, 255, 255, 0.36);
}
.mc-composer-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  margin-left: 2px;
  flex-shrink: 0;
  background: var(--mc-accent-light);
  border-radius: 1px;
  opacity: 0;
}
.mc-composer-box.is-typing .mc-composer-cursor {
  opacity: 1;
  animation: mcCaretBlink 0.75s steps(1) infinite;
}
@keyframes mcCaretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.mc-composer-send {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.mc-composer-box.is-ready .mc-composer-send,
.mc-composer-box.is-sending .mc-composer-send {
  color: #fff;
  background: var(--mc-accent);
}
.mc-composer-box.is-sending .mc-composer-send {
  transform: scale(0.9);
}

/* =========================================================
 * SECTION 3: #automations — 6-CARD DECK WITH SVGs
 * ========================================================= */
.mc-auto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mc-auto-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  background: var(--mc-card-bg);
  border: 1px solid var(--mc-border);
  border-top: 2px solid var(--mc-border-accent);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mc-auto-card:hover {
  border-color: var(--mc-border-accent);
  border-top-color: var(--mc-accent);
  transform: translateY(-2px);
}

.mc-auto-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mc-auto-title { display: flex; align-items: center; gap: 9px; }
.mc-auto-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--mc-accent-10);
  color: var(--mc-accent-light);
  border: 1px solid var(--mc-border-accent);
  flex-shrink: 0;
}
.mc-auto-card h3 { font-size: 16px; font-weight: 800; color: #fff; }
.mc-auto-status { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(35, 165, 90, 0.14); color: #4ade80; border: 1px solid rgba(35, 165, 90, 0.28); }
.mc-auto-card p { font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.62); }

.mc-auto-log {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #1a1b22;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}
.mc-auto-log img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mc-auto-log b { color: #fff; }

/* =========================================================
 * SECTION 4: #random-rpcs (2-Row Moving Marquee) & #v4 Architecture
 * ========================================================= */
.rpc-showcase-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.rpc-showcase-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.mc-mod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.mc-mod-card {
  padding: 18px;
  border-radius: 14px;
  background: var(--mc-card-bg);
  border: 1px solid var(--mc-border);
}

.mc-mod-card h3 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.mc-mod-card h3 span { font-size: 11px; font-weight: 700; color: var(--mc-accent-light); }
.mc-mod-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.mc-mod-card li { position: relative; padding-left: 13px; font-size: 12.5px; color: rgba(255, 255, 255, 0.68); line-height: 1.45; }
.mc-mod-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--mc-accent); }

.mc-launch-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mc-launch-step { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--mc-card-bg); border: 1px solid var(--mc-border); }
.mc-launch-num { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; background: var(--mc-accent-18); color: var(--mc-accent-light); border: 1px solid var(--mc-border-accent); font-size: 12px; font-weight: 800; }
.mc-launch-step h4 { font-size: 14.5px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.mc-launch-step p { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.45; }

/* Responsive */
@media (max-width: 1060px) {
  .mc-hero-split {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .mc-hero-left {
    width: 100%;
    min-width: 0;
    align-items: center;
    text-align: center;
  }
  .mc-hero-left .hero-headline,
  .mc-hero-left .hero-subtitle {
    text-align: center;
  }
  .mc-hero-left .hero-headline .hero-line,
  .mc-hero-left .hero-cta,
  .mc-hero-left .hero-metrics {
    justify-content: center;
  }
  .mc-hero-left .mc-hero-ticker {
    margin: 18px auto 0;
  }
  .mc-hero-showcase {
    width: 100%;
    max-width: 480px;
    min-width: 0;
    margin: 4px auto 0;
  }
  .mc-mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .sm-picker { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; }
  .sm-preview {
    order: -1;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .mc-tile--7, .mc-tile--6, .mc-tile--5 { grid-column: span 12; }
  .mc-wb-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mc-wb-preview { justify-content: flex-start; }
  .mc-wb-list { max-height: 220px; border-right: 0; border-bottom: 1px solid var(--mc-border); }
  .mc-launch-bar { grid-template-columns: minmax(0, 1fr); }
  .mc-launch-steps { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 640px) {
  html, body {
    overflow-x: clip;
  }
  .container {
    width: min(100% - 24px, 1440px) !important;
  }
  .nav-inner {
    padding: 0 12px !important;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .btn {
    padding: 8px 12px;
    font-size: 12.5px;
  }

  /* Hero Mobile — crisp stack, zero badge overlap */
  body .hero {
    height: auto !important;
    min-height: 0 !important;
    padding: calc(82px + env(safe-area-inset-top)) 0 42px !important;
  }
  .hero-inner.mc-hero-split {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }
  .mc-hero-left .hero-headline {
    font-size: clamp(34px, 10.2vw, 44px) !important;
    margin: 0 0 12px !important;
  }
  .mc-hero-left .hero-subtitle {
    font-size: 14px !important;
    margin: 0 0 18px !important;
  }
  body .hero-cta {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }
  body .hero-cta .btn-lg {
    flex: 1 1 0;
    max-width: 185px;
    padding: 12px 10px;
    font-size: 13px;
    white-space: nowrap;
  }
  .mc-hero-ticker {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 7px;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 11.5px;
    text-align: center;
  }
  .mc-hero-ticker code {
    white-space: nowrap;
  }
  .mc-hero-ticker-out {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body .hero-metrics {
    margin-top: 16px !important;
    gap: 8px !important;
  }
  .mc-hero-showcase {
    width: 100%;
    max-width: 100%;
    margin-top: 2px;
  }
  .mc-device-stage {
    width: 100%;
    padding-right: 10px;
    padding-bottom: 10px;
  }
  .mc-pc-frame {
    padding: 8px 8px 10px;
    border-radius: 12px;
  }
  .mc-pc-cam {
    width: 5px;
    height: 5px;
    margin-bottom: 5px;
  }
  .mc-pc-neck {
    width: 48px;
    height: 14px;
  }
  .mc-pc-base {
    width: 116px;
    height: 7px;
  }
  .mc-phone-frame {
    width: 74px;
    border-radius: 14px;
    padding: 5px 4px;
  }
  .mc-phone-notch {
    width: 22px;
    height: 3.5px;
    margin-bottom: 4px;
  }
  .mc-phone-screen {
    border-radius: 10px;
  }

  /* Selfmodes Mobile — zero right-edge clipping, compact scrollable picker */
  .sm-section {
    padding: 46px 0 !important;
  }
  .sm-chips-box {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px;
  }
  .sm-chips-box-head {
    display: flex;
  }
  .sm-chips {
    grid-template-columns: minmax(0, 1fr) !important;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
    width: 100%;
    min-width: 0;
  }
  .sm-chips::-webkit-scrollbar {
    width: 4px;
  }
  .sm-chips::-webkit-scrollbar-thumb {
    background: rgba(134, 110, 247, 0.45);
    border-radius: 999px;
  }
  .sm-pv-card {
    padding: 10px 12px;
    gap: 10px;
  }
  .sm-pv-opt {
    padding: 6px 11px;
    font-size: 11.5px;
  }
  .sm-text-block {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
  .sm-text-block .sm-h1 {
    font-size: 13.5px !important;
  }
  .sm-text-block .sm-quote {
    padding: 3px 0 3px 9px !important;
  }
  .sm-text-footer,
  .sm-text-footer code,
  .sm-ini-footer {
    font-size: 10px !important;
    white-space: nowrap !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sm-chip {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 10px;
    font-size: 11.5px;
  }
  .sm-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sm-preview {
    padding: 10px !important;
    border-radius: 14px;
  }
  .sm-preview-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .sm-preview-transcript {
    padding: 10px !important;
    border-radius: 11px;
  }
  .sm-drow, .mc-sim-row {
    gap: 8px;
  }
  .sm-dav, .mc-sim-av {
    width: 28px;
    height: 28px;
  }
  .sm-dused, .mc-sim-used {
    margin-left: 36px;
    font-size: 11px;
  }
  .sm-dused::before, .mc-sim-used::before {
    left: -22px;
    width: 17px;
  }
  .sm-fwd-box {
    padding-left: 7px;
  }
  .sm-embed-card,
  .mc-v2-container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box;
  }
  .sm-embed-main,
  .mc-v2-section {
    gap: 10px !important;
  }
  .sm-embed-thumb,
  .mc-v2-thumb-box {
    width: 42px !important;
    height: 42px !important;
  }
  .sm-preview .mc-v2-row,
  .mc-wb-preview .mc-v2-row {
    font-size: 11px;
    line-height: 1.4;
    white-space: normal !important;
    word-break: break-word;
  }
  .mc-v2-row code {
    font-size: 10.5px;
    padding: 1px 4px;
  }
  .mc-emoji {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
  }
  .mc-divider-strip {
    height: 13px;
  }
  .mc-divider-strip img {
    width: 13px;
    height: 13px;
  }
  .mc-divider-strip.is-nitro {
    height: 8px !important;
  }
  .mc-divider-strip.is-nitro img {
    width: 13px !important;
    height: 2px !important;
  }
  .explainer-arrow {
    display: none;
  }

  /* Dashboard Control Center + Bento + Commands Workbench Mobile */
  .cc-stage,
  .cc-stage.is-scaled {
    width: calc(100% - 20px) !important;
    max-width: 420px !important;
    padding: 0 !important;
    margin: 16px auto 0 !important;
  }
  .cc-stage.is-scaled .cc-window,
  .cc-window {
    width: 100% !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }
  .cc-stage.is-scaled .cc-frame-wrap,
  .cc-frame-wrap {
    width: 100% !important;
    height: min(620px, 76svh) !important;
    max-height: none !important;
    overflow: hidden !important;
  }
  .cc-stage.is-scaled .cc-frame,
  .cc-frame {
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
  }
  .mc-tile {
    padding: 16px !important;
    border-radius: 15px;
  }
  .mc-log-ch {
    font-size: 9.5px;
    padding: 4px 5px;
  }
  .mc-ep-controls {
    gap: 8px;
  }
  .mc-ep-icons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .mc-wb-bar {
    padding: 12px !important;
  }
  .mc-wb-search {
    width: 100%;
  }
  .mc-wb-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .mc-wb-tabs::-webkit-scrollbar {
    display: none;
  }
  .mc-wb-tab {
    flex-shrink: 0;
  }
  .mc-wb-preview .mc-v2-subtext {
    font-size: 9.8px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mc-sim-stage {
    flex: 1 0 auto;
    min-height: 220px !important;
    padding: 12px !important;
    max-height: 360px;
  }
  .mc-sim-foot {
    padding: 8px 10px 10px !important;
  }
  .mc-composer-field {
    font-size: 11.5px;
  }
  .mc-v2-file {
    min-width: 0 !important;
    width: 100%;
  }
  .mc-auto-grid,
  .mc-mod-grid,
  .mc-rpc-stack,
  .mc-kv-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mc-launch-bar {
    padding: 18px 16px;
  }
}
