/* =========================
   GME â€” Page CSS (scoped, tidy)
   ========================= */

/* 0) Hide wallet verify ribbon */
.wallet-verify-banner { display: none !important; }

/* -------------------------
   1) HERO (page banner)
   ------------------------- */
.gme-hero-section { margin-bottom: 6px; }
.gme-hero-section h1.gme-glitch-text{
  font-size: clamp(22px, 8vw, 40px) !important;
  line-height: 1.1 !important;
  letter-spacing: .05em !important;
  word-break: break-word !important;
  white-space: normal !important;
  text-shadow: 0 0 6px var(--gme-primary) !important;
}

@media (max-width: 768px) {
  body.comment-reply-active #respond,
  body.comment-reply-active #commentform,
  body.comment-reply-active .gme-reply-composer {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }

  body.comment-reply-active .gme-reply-composer textarea {
    display: block !important;
    width: 100% !important;
    min-height: 72px;
    resize: vertical;
  }
}
.gme-hero-section .gme-subtitle{
  font-size: clamp(12px, 4vw, 18px) !important;
  letter-spacing: .12em !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}
@media (max-width: 480px){
  .gme-hero-section{ padding: 14px 16px 18px !important; }
  .gme-hero-section h1.gme-glitch-text{ font-size: clamp(22px, 6.2vw, 30px) !important; }
  .gme-hero-section .gme-subtitle{ font-size: clamp(12px, 3.6vw, 16px) !important; }
}

/* -----------------------------------------
   2) SITE HEADER â€” title / subtitle / menu
   ----------------------------------------- */
#site-header .header-inner{
  display: flex; align-items: center; justify-content: initial;
  padding-bottom: .25rem;
}

/* Brand centered, burger pinned right */
#site-header .site-branding{
  flex: 1 1 auto; text-align: center; margin: 0 !important; position: relative;
  padding-top: .25rem;
  overflow: visible; /* ensure underline/glow not clipped */
}
#site-header .site-navigation-toggle-holder{
  position: absolute !important; right: 14px !important; top: 14px !important;
  left: auto !important; transform: none !important; z-index: 5;
}

/* Title + subtitle */
#site-header .site-title,
#site-header .site-title a{
  display: inline-block !important;
  margin: 0 0 .35rem !important;
  line-height: 1.08 !important;
  font-size: clamp(28px, 7.2vw, 54px) !important;
  text-align: center !important; white-space: normal !important;
  position: relative; z-index: 2;
}
#site-header .site-description{
  display: block !important; clear: both;
  margin: 6px 0 !important;
  line-height: 1.12 !important;
  font-size: clamp(16px, 3.8vw, 24px) !important;
  text-align: center !important; letter-spacing: .06em;
  position: relative; z-index: 1;
}
#site-header .site-description::before,
#site-header .site-description::after{
  content: 'âš¡'; position: relative; top: -.02em; opacity: .9; font-size: .95em; margin: 0 .5ch;
}

/* Underline (centered under the text) â€” one canonical version */
#site-header .site-branding .site-title a{ position: relative; padding-bottom: 6px; }
#site-header .site-branding .site-title a::after{
  content:""; position:absolute; left:50%; right:auto; transform:translateX(-50%);
  top: calc(100% + 6px); height:2px; background:#ff4fb4; opacity:.95;
}

/* Desktop menu centered */
@media (min-width:1025px){
  #site-header .site-navigation{
    width: 100% !important; display: block !important; text-align: center !important;
  }
  #site-header .site-navigation ul.menu{
    display: inline-flex !important; gap: clamp(12px, 2vw, 22px);
    align-items: center; justify-content: center;
    margin: 0 auto !important; float: none !important;
  }
  #site-header .site-navigation ul.menu > li{
    float: none !important; margin: 0 !important;
  }
}

/* Dropdown look & feel */
#site-header .site-navigation ul.sub-menu,
#site-header .site-navigation ul.sub-menu li,
#site-header .site-navigation ul.sub-menu li a{
  background: rgba(0,0,0,.4) !important;
  color: #00ffcc !important;
  text-shadow: 0 0 3px #00ffcc;
  border: none !important; box-shadow: none !important;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 10px 16px !important; border-radius: 6px;
  transition: all .3s ease;
}
#site-header .site-navigation ul.menu > li > a{
  color:#00ffcc !important; text-shadow:none !important; transition: text-shadow .3s ease;
}
#site-header .site-navigation ul.menu > li > a:hover,
#site-header .site-navigation ul.sub-menu li a:hover{
  color:#00ffcc !important; text-shadow:0 0 6px #00ffcc, 0 0 12px #00ffcc !important;
}

/* Mobile menu sheet (full width, centered content) */
@media (max-width:1024px){
  .site-navigation-dropdown[aria-hidden="false"]{
    width: 100% !important; /* avoid 100vw scrollbar shift */
    margin: 0 !important;
    padding-left: 0 !important; padding-right: 0 !important;
    background: #000 !important; box-sizing: border-box;
  }
  .site-navigation-dropdown[aria-hidden="false"] .container,
  .site-navigation-dropdown[aria-hidden="false"] .wrap,
  .site-navigation-dropdown[aria-hidden="false"] ul{
    margin: 0 !important; padding-left: 0 !important; padding-right: 0 !important;
  }
  .site-navigation-dropdown ul li a{ text-align: center !important; }
  .site-navigation-dropdown ul li a{
    color:#00ffcc !important; text-shadow: 0 0 5px #00ffcc; font-weight: 700;
    padding:14px 20px; display:block;
  }
  .site-navigation-dropdown ul li a:hover{
    background:#111 !important; color:#ff0033 !important; text-shadow:0 0 6px #ff0033;
  }
}

/* -----------------------------------
   3) Utilities / small fixes
   ----------------------------------- */
@media (max-width:768px){
  .gme-btn-show-deposit{
    display:block !important; width:100% !important; max-width:100% !important; box-sizing:border-box !important;
    white-space:normal !important; text-align:center !important; overflow:hidden !important; text-overflow:ellipsis;
    margin-left:0 !important; margin-right:0 !important;
  }
  .gme-deposit-reminder, .gme-warning, .gme-deposit-info, .gme-address-display{ overflow:hidden; }
}
@media (max-width:480px){
  .gme-address-display{ display:flex !important; align-items:center !important; gap:10px !important; flex-wrap:nowrap !important; }
  .gme-address{ flex:1 1 auto !important; min-width:0 !important; overflow:hidden !important; text-overflow:ellipsis !important; white-space:nowrap !important; }
  .gme-copy-btn{ flex:0 0 auto !important; margin-left:auto !important; }
}

/* Hide footer duplicate tagline */
footer .site-description, .site-footer .site-description{ display: none !important; }

/* === ðŸ’° GME EARNED BADGE â€” CYBERPUNK NEON STYLE === */
.gme-earned-badge {
  display: inline-flex !important;
  align-items: center;
  margin-left: 8px !important;
  padding: 3px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  background: rgba(0, 255, 204, 0.08) !important;
  border: 1px solid #00ffcc !important;
  color: #00ffcc !important;
  text-shadow: 0 0 6px #00ffcc !important;
  box-shadow: 0 0 10px #00ffcc55 !important;
  vertical-align: middle !important;
  transform: translateY(-1px) !important;
  opacity: 0;
  animation: badgeFadeIn 1.2s ease forwards, badgePulse 3s infinite;
}

/* Fade in + Pulse animation for GME Earned badge */
@keyframes badgeFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(0.95);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(-1px) scale(1);
    filter: blur(0);
  }
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 10px #00ffcc55, inset 0 0 5px #00ffcc22;
  }
  50% {
    box-shadow: 0 0 20px #00ffccaa, inset 0 0 8px #00ffcc55;
  }
}

/* Align earned badge beside username */
.alpha-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px !important;
}

/* === ðŸ† CYBERPUNK TOP RANK BADGES â€” CLEAN & ALIGNED === */
.alpha-post-card {
  position: relative !important;
  overflow: visible !important;
  margin-top: 50px !important; /* extra space for badge glow */
}

/* Floating cyberpunk badge â€” perfectly centered content */
.alpha-post-card .top-rank-badge {
  position: absolute !important;
  top: -42px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;

  padding: 8px 22px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.6px !important;
  text-transform: capitalize !important;

  color: #00ffcc !important;
  border: 1px solid rgba(0,255,204,0.45) !important;
  background: radial-gradient(circle at 20% 30%, rgba(0,255,204,0.12), rgba(0,0,0,0.6)) !important;
  text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc !important;
  box-shadow: 0 0 20px #00ffcc88, 0 0 40px #00ffcc44 !important;
  backdrop-filter: blur(8px) !important;
  animation: badgeGlow 3.5s ease-in-out infinite alternate;
}

/* ðŸ¥‡ Rank-specific glows remain the same */
.alpha-post-card .top-rank-badge.rank-1 {
  color: #00ffcc !important;
  background: linear-gradient(135deg, rgba(0,255,204,0.2), rgba(255,0,204,0.1)) !important;
  border-color: #00ffcc !important;
  box-shadow: 0 0 20px #00ffcc99, 0 0 35px #ff00cc55 !important;
}

.alpha-post-card .top-rank-badge.rank-2 {
  color: #b388ff !important;
  background: linear-gradient(135deg, rgba(179,136,255,0.2), rgba(0,255,255,0.1)) !important;
  border-color: #b388ff !important;
  box-shadow: 0 0 20px #b388ff99, 0 0 35px #00ffff55 !important;
}

.alpha-post-card .top-rank-badge.rank-3 {
  color: #ff6f61 !important;
  background: linear-gradient(135deg, rgba(255,111,97,0.2), rgba(255,0,128,0.1)) !important;
  border-color: #ff6f61 !important;
  box-shadow: 0 0 20px #ff6f61aa, 0 0 35px #ff008855 !important;
}


/* Glowing pulse animation for Top Badges */
@keyframes badgeGlow {
  0% {
    box-shadow: 0 0 12px #00ffcc55, 0 0 25px #00ffcc33;
  }
  50% {
    box-shadow: 0 0 25px #00ffccaa, 0 0 40px #ff00cc55;
  }
  100% {
    box-shadow: 0 0 12px #00ffcc55, 0 0 25px #00ffcc33;
  }
}

/* Maintain consistent spacing between cards */
.alpha-feed-wrapper .alpha-post-card + .alpha-post-card {
  margin-top: 60px !important;
}

/* === Alpha Lounge gating (wallet-driven) === */
body:not(.has-gme-access) .alpha-feed-wrapper .tweet-blur-wrap,
body:not(.has-gme-access) .twitter-feed .tweet-blur-wrap {
  filter: blur(10px) !important;
  pointer-events: none;
}

body:not(.has-gme-access) .alpha-feed-wrapper .alpha-tweet.blurred,
body:not(.has-gme-access) .twitter-feed .alpha-tweet.blurred,
body:not(.has-gme-access) .alpha-feed-wrapper .alpha-post-card.blurred,
body:not(.has-gme-access) .twitter-feed .alpha-post-card.blurred {
  filter: none !important;
}

body:not(.has-gme-access) .alpha-feed-wrapper .tweet-content.blurred,
body:not(.has-gme-access) .alpha-feed-wrapper .alpha-post-content.blurred,
body:not(.has-gme-access) .twitter-feed .tweet-content.blurred,
body:not(.has-gme-access) .twitter-feed .alpha-post-content.blurred {
  filter: none !important;
}

body:not(.has-gme-access) .alpha-feed-wrapper .btn-tip,
body:not(.has-gme-access) .alpha-feed-wrapper .action-upvote,
body:not(.has-gme-access) .alpha-feed-wrapper .action-bookmark,
body:not(.has-gme-access) .alpha-feed-wrapper .action-comment,
body:not(.has-gme-access) .alpha-feed-wrapper .action-repost,
body:not(.has-gme-access) .alpha-feed-wrapper .action-share,
body:not(.has-gme-access) .alpha-feed-wrapper .action-icon,
body:not(.has-gme-access) .alpha-feed-wrapper .twitter-vote,
body:not(.has-gme-access) .alpha-feed-wrapper .vote.upvote,
body:not(.has-gme-access) .alpha-feed-wrapper .alpha-actions button,
body:not(.has-gme-access) .alpha-feed-wrapper .alpha-actions a,
body:not(.has-gme-access) .twitter-feed .btn-tip,
body:not(.has-gme-access) .twitter-feed .action-upvote,
body:not(.has-gme-access) .twitter-feed .action-bookmark,
body:not(.has-gme-access) .twitter-feed .action-comment,
body:not(.has-gme-access) .twitter-feed .action-repost,
body:not(.has-gme-access) .twitter-feed .action-share,
body:not(.has-gme-access) .twitter-feed .action-icon,
body:not(.has-gme-access) .twitter-feed .twitter-vote,
body:not(.has-gme-access) .twitter-feed .vote.upvote,
body:not(.has-gme-access) .twitter-feed .alpha-actions button,
body:not(.has-gme-access) .twitter-feed .alpha-actions a {
  opacity: 0.55 !important;
  pointer-events: none;
  cursor: not-allowed;
}

body:not(.has-gme-access) .btn-reveal,
body:not(.has-gme-access) .btn-reveal-signal {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

body.has-gme-access .btn-reveal,
body.has-gme-access .btn-reveal-signal {
  display: none !important;
}

body.has-gme-access .tweet-blur-wrap {
  filter: none !important;
  pointer-events: auto;
}

/* === END ELEMENTOR OVERRIDES === */

/* Eligible users: alpha content must never be blurred */
body.has-gme-access .alpha-post-content,
body.has-gme-access .alpha-post-content.blurred {
  filter: none !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
}

/* Eligible users: no blur anywhere */
body.has-gme-access .alpha-tweet,
body.has-gme-access .tweet-content,
body.has-gme-access .tweet-blur-wrap {
  filter: none !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
}

/* Eligible users: no Reveal button */
body.has-gme-access .btn-reveal {
  display: none !important;
}

/* Ineligible users: Reveal stays clickable */
body:not(.has-gme-access) .btn-reveal {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

/* ===============================
   HARD ALPHA GATE (AUTHORITATIVE)
=============================== */

/* NON-HOLDERS */
body:not(.has-gme-access) .alpha-tweet .tweet-blur-wrap {
  filter: blur(6px);
  pointer-events: none;
}

body:not(.has-gme-access) .alpha-tweet .tweet-actions {
  pointer-events: none !important;
  opacity: 0.25;
}

body:not(.has-gme-access) .alpha-tweet .tweet-actions * {
  pointer-events: none !important;
}

body:not(.has-gme-access) .alpha-tweet .btn-tip,
body:not(.has-gme-access) .alpha-tweet .action-upvote,
body:not(.has-gme-access) .alpha-tweet .action-bookmark,
body:not(.has-gme-access) .alpha-tweet .action-comment,
body:not(.has-gme-access) .alpha-tweet .action-repost,
body:not(.has-gme-access) .alpha-tweet .action-share,
body:not(.has-gme-access) .alpha-tweet .action-icon,
body:not(.has-gme-access) .alpha-tweet .twitter-vote,
body:not(.has-gme-access) .alpha-tweet .vote.upvote,
body:not(.has-gme-access) .alpha-tweet .alpha-actions button,
body:not(.has-gme-access) .alpha-tweet .alpha-actions a,
body:not(.has-gme-access) .alpha-tweet .tweet-actions button,
body:not(.has-gme-access) .alpha-tweet .tweet-actions a {
  pointer-events: none;
  opacity: 0.25;
  cursor: not-allowed;
}

body:not(.has-gme-access) .alpha-tweet .btn-reveal {
  pointer-events: auto;
  z-index: 10;
  position: relative;
  filter: none !important;
}

/* HOLDERS */
body.has-gme-access .alpha-tweet .tweet-blur-wrap {
  filter: none !important;
  pointer-events: auto;
}

body.has-gme-access .alpha-tweet .tweet-actions {
  pointer-events: auto;
  opacity: 1;
}

body.has-gme-access .alpha-tweet .btn-reveal {
  display: none !important;
}

/* Comment image lightbox */
.gme-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.gme-lightbox-backdrop {
  background: rgba(0, 0, 0, 0.85);
  position: absolute;
  inset: 0;
}

.gme-lightbox-img {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 255, 204, 0.25), 0 0 12px rgba(255, 255, 255, 0.15);
  object-fit: contain;
}

.gme-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* Reply composer: X-style card */
.gme-reply-composer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 18, 0.7);
  box-shadow: 0 0 18px rgba(0, 255, 204, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Reply composer: avatar column */
.gme-reply-composer .composer-avatar {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.18);
}

/* Reply composer: textarea */
.gme-reply-composer textarea {
  width: 100%;
  min-height: 90px;
  border: none;
  outline: none;
  resize: vertical;
  background: transparent;
  color: #e9f7f5;
  font-size: 15px;
  line-height: 1.5;
  padding: 0;
}

/* Reply composer: actions row */
.gme-reply-composer .composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 12px;
}

/* Reply composer: upload button */
.gme-reply-composer label.custom-upload-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00ffcc;
  background: rgba(0, 255, 204, 0.08);
  border: 1px solid rgba(0, 255, 204, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.gme-reply-composer label.custom-upload-button:hover {
  background: rgba(0, 255, 204, 0.16);
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.35);
  transform: translateY(-1px);
}

/* Reply composer: submit button */
.gme-reply-composer button.reply-btn {
  margin-left: auto;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  color: #0b1118;
  font-weight: 700;
  background: linear-gradient(135deg, #00ffcc, #ff6fb3);
  box-shadow: 0 0 18px rgba(0, 255, 204, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.gme-reply-composer button.reply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(0, 255, 204, 0.6);
  filter: brightness(1.05);
}

/* Reply composer: mobile guardrails */
@media (max-width: 768px) {
  .gme-reply-composer {
    overflow: visible;
  }
}

/* Reply composer: mobile visibility guard */
@media (max-width: 768px) {
  body.gme-reply-active #respond,
  body.comment-reply-active #respond,
  body.gme-reply-active #commentform,
  body.comment-reply-active #commentform {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.gme-reply-active .gme-reply-composer,
  body.comment-reply-active .gme-reply-composer {
    display: flex !important;
    height: auto !important;
    min-height: 56px !important;
    overflow: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.gme-reply-active .gme-reply-composer textarea,
  body.comment-reply-active .gme-reply-composer textarea {
    min-height: 64px !important;
  }
}

/* ===============================
   REPLY COMPOSER â€” X.COM STYLE
   =============================== */

.gme-reply-composer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 30, 0.85),
    rgba(8, 14, 22, 0.95)
  );
}

/* Fix placeholder cutoff */
.gme-reply-composer textarea {
  width: 100%;
  min-height: 96px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.45;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
  color: #fff;
}

.gme-reply-composer textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

/* Action row */
.gme-reply-composer .composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Upload button (glass / teal) */
.gme-reply-composer .upload-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,255,200,0.12);
  color: #00ffd0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gme-reply-composer .upload-btn:hover {
  background: rgba(0,255,200,0.2);
  box-shadow: 0 0 12px rgba(0,255,200,0.35);
}

/* Reply submit button */
.gme-reply-composer .reply-submit,
.gme-reply-composer button[type="submit"] {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #00ffd0, #00c2ff);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gme-reply-composer .reply-submit:hover,
.gme-reply-composer button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,255,200,0.35);
}

/* Mobile spacing */
@media (max-width: 768px) {
  .gme-reply-composer textarea {
    min-height: 88px;
  }
}

/* ===============================
   X.COM-STYLE REPLY COMPOSER
   =============================== */

/* Flatten header text (optional, non-destructive) */
.gme-comments h3,
.gme-comments .reply-title {
  font-size: 0;
  margin: 0;
  height: 0;
  overflow: hidden;
}

/* Composer container */
.gme-reply-composer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(8, 14, 22, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* Avatar alignment */
.gme-reply-composer .composer-avatar {
  align-self: flex-start;
}

/* Textarea â€” dominant element */
.gme-reply-composer textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  border-radius: 14px;
  border: none;
  background: rgba(0,0,0,0.35);
  color: #fff;
  resize: none;
}

.gme-reply-composer textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

/* Actions row */
.gme-reply-composer .composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Reply link icon alignment */
a.comment-reply-link.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* UPLOAD BUTTON â€” remove red, make glass icon */
.gme-reply-composer .upload-btn,
.gme-reply-composer .image-upload-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gme-reply-composer .upload-btn:hover,
.gme-reply-composer .image-upload-btn:hover {
  background: rgba(0,255,200,0.18);
  box-shadow: 0 0 14px rgba(0,255,200,0.35);
  color: #00ffd0;
}

/* Kill any legacy red styles */
.gme-reply-composer .upload-btn {
  background-color: rgba(255,255,255,0.08) !important;
}

/* Reply button â€” calm but primary */
.gme-reply-composer button[type="submit"],
.gme-reply-composer .reply-submit {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #00ffd0, #00c2ff);
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.gme-reply-composer button[type="submit"]:hover {
  box-shadow: 0 6px 20px rgba(0,255,200,0.4);
}

/* Mobile polish */
@media (max-width: 768px) {
  .gme-reply-composer textarea {
    min-height: 110px;
  }
}

/* Reply modal (X-style) */
.gme-reply-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.gme-reply-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.gme-reply-modal-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 92vw);
  margin: 7vh auto 0;
  background: #0b1118;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  padding: 18px 18px 20px;
}

.gme-reply-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.gme-reply-modal-body {
  margin-top: 10px;
}

body.gme-reply-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .gme-reply-modal-panel {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .quick-composer.gme-reply-composer {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    align-self: stretch;
  }
}

/* ===============================
   MOBILE COMMENT COMPOSER FORCE FIX
   =============================== */
@media (max-width: 768px) {

  /* Force reply composer to exist */
  .comment-respond,
  .gme-comments,
  .gme-reply-composer {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 1px !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }

  /* Prevent parent collapse */
  .gme-comments * {
    pointer-events: auto;
  }

  /* Ensure textarea renders */
  .gme-reply-composer textarea {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 96px !important;
  }
}

/* ===============================
   X-STYLE COMMENT COMPOSER POLISH
   =============================== */

/* Layout */
.gme-reply-composer {
  gap: 10px;
}

.composer-input-wrap textarea {
  min-height: 96px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
}

/* Action row */
.gme-upload-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* === UPLOAD BUTTON (FIXED) === */
.gme-upload-btn {
  background: transparent !important;
  border: none !important;
  padding: 6px !important;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

/* Kill the emoji image */
.gme-upload-btn img {
  display: none !important;
}

/* Replace with icon */
.gme-upload-btn .action-icon::before {
  content: "ðŸ–¼ï¸";
  font-size: 18px;
  color: #7fffd4;
}

/* Hover / tap feedback */
.gme-upload-btn:hover,
.gme-upload-btn:active {
  background: rgba(127, 255, 212, 0.12) !important;
  transform: scale(1.05);
}

/* === REPLY BUTTON === */
.gme-reply-btn {
  background: linear-gradient(135deg, #00ffcc, #00ccff);
  color: #001a1a;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
}

/* Mobile specific tightening */
@media (max-width: 768px) {
  .composer-input-wrap textarea {
    min-height: 110px;
  }
}

/* ===============================
   REPLY MODAL â€” X-STYLE POLISH
   =============================== */

.gme-reply-modal .gme-reply-modal-panel {
  padding-top: 54px;
}

.gme-reply-modal .gme-reply-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.gme-reply-modal .gme-reply-modal-close:hover {
  background: rgba(0, 194, 255, 0.18);
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.35);
  transform: translateY(-1px);
}

.gme-reply-modal .gme-reply-composer {
  gap: 14px;
}

/* Quick composer â€” ensure full-width input like X */
.quick-composer.gme-reply-composer .composer-input-wrap,
.quick-composer.gme-reply-composer .composer-input,
.quick-composer.gme-reply-composer textarea,
.quick-composer.gme-reply-composer textarea.composer-input {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0;
}

/* Quick composer actions â€” align like X */
.quick-composer.gme-reply-composer .composer-actions,
.quick-composer.gme-reply-composer .gme-upload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.quick-composer.gme-reply-composer .gme-upload-btn {
  order: 1;
}

.quick-composer.gme-reply-composer .gme-reply-btn {
  order: 2;
  margin-left: auto;
}

/* Replying-to line (if present in markup) */
.gme-comments .comment-respond .reply-title,
.gme-comments .comment-respond .comment-reply-title {
  font-size: 13px;
  line-height: 1.3;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.6);
}

.gme-comments .comment-respond .reply-title a,
.gme-comments .comment-respond .comment-reply-title a {
  color: #00c2ff;
  text-decoration: none;
}

/* Reply modal action row â€” force horizontal layout */
.gme-reply-composer .gme-upload-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}

.gme-reply-composer .gme-upload-btn {
  flex: 0 0 auto !important;
  order: 1;
}

.gme-reply-composer .gme-reply-btn {
  flex: 0 0 auto !important;
  order: 2;
  margin-left: auto !important;
}

@media (max-width: 768px) {
  .gme-reply-composer .gme-upload-row {
    flex-wrap: nowrap !important;
  }
}

.gme-reply-composer textarea.composer-input {
  display: block;
  width: 100%;
  min-height: 120px;
  margin-bottom: 0;
}

/* --- Force composer layout to column (textarea row then actions row) --- */
#gme-reply-modal .gme-reply-composer,
.gme-reply-modal .gme-reply-composer,
#respond .quick-composer.gme-reply-composer {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* textarea row */
#gme-reply-modal .composer-input-wrap,
#respond .composer-input-wrap {
  width: 100% !important;
}

#gme-reply-modal textarea.composer-input,
#respond textarea.composer-input {
  width: 100% !important;
  min-height: 120px !important;
  height: auto !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

/* --- Actions row: MUST be a tight horizontal bar under textarea --- */
#gme-reply-modal .gme-upload-row,
#respond .gme-upload-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: center !important;

  width: 100% !important;
  height: auto !important;
  min-height: 44px !important;

  margin-top: 12px !important;
  padding-top: 6px !important;

  /* critical: prevent stretching */
  flex: 0 0 auto !important;
  align-self: stretch !important;
}

/* Kill any absolute positioning that is causing floaty placement */
#gme-reply-modal .gme-upload-row *,
#respond .gme-upload-row * {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
}

/* Upload button left */
#gme-reply-modal .gme-upload-btn,
#respond .gme-upload-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
}

/* Make the icon not tiny */
#gme-reply-modal .gme-upload-btn .action-icon,
#respond .gme-upload-btn .action-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: scale(1.15) !important;
}

/* Reply button right */
#gme-reply-modal .gme-reply-btn,
#gme-reply-modal #submit.gme-reply-btn,
#respond .gme-reply-btn,
#respond #submit.gme-reply-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  height: 40px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
}

/* Mobile: keep row locked */
@media (max-width: 768px) {
  #gme-reply-modal .gme-upload-row,
  #respond .gme-upload-row {
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }
}

/* --- Quick composer layout fix: textarea row + tight actions row --- */
#gme-reply-modal .quick-composer.gme-reply-composer,
.gme-reply-modal .quick-composer.gme-reply-composer,
#respond .quick-composer.gme-reply-composer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

#gme-reply-modal .quick-composer .composer-input-wrap,
#respond .quick-composer .composer-input-wrap {
  flex: 0 0 100% !important;
  order: 1 !important;
}

#gme-reply-modal .quick-composer .gme-upload-row,
#respond .quick-composer .gme-upload-row {
  order: 2 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 10px !important;
}

#gme-reply-modal .quick-composer .gme-reply-btn,
#gme-reply-modal .quick-composer #submit.gme-reply-btn,
#respond .quick-composer .gme-reply-btn,
#respond .quick-composer #submit.gme-reply-btn {
  order: 3 !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  align-self: center !important;
  margin-top: 10px !important;
}

#gme-reply-modal .quick-composer .gme-comment-media-preview,
#gme-reply-modal .quick-composer .gme-upload-preview,
#respond .quick-composer .gme-comment-media-preview,
#respond .quick-composer .gme-upload-preview {
  order: 4 !important;
  flex: 0 0 100% !important;
}

/* ===============================
   REPLY COMPOSER GRID LAYOUT
   =============================== */

#respond .quick-composer.gme-reply-composer,
.gme-reply-modal .quick-composer.gme-reply-composer {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    "input  input"
    "upload reply" !important;
  gap: 12px !important;
}

/* Textarea row */
#respond .composer-input-wrap,
.gme-reply-modal .composer-input-wrap {
  grid-area: input !important;
}

#respond textarea.composer-input,
.gme-reply-modal textarea.composer-input {
  min-height: 120px !important;
  width: 100% !important;
  resize: none !important;
}

/* Upload button left */
#respond .gme-upload-row,
.gme-reply-modal .gme-upload-row {
  grid-area: upload !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}

/* Reply button right */
#respond .gme-reply-btn,
.gme-reply-modal .gme-reply-btn {
  grid-area: reply !important;
  align-self: center !important;
  justify-self: end !important;
  height: 40px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
}

/* ===============================
   UPLOAD BUTTON â€“ MODERN STYLE
   =============================== */

#respond .gme-upload-btn,
.gme-reply-modal .gme-upload-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  background: rgba(0,255,200,0.12) !important;
  border: 1px solid rgba(0,255,200,0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Kill emoji look */
#respond .gme-upload-btn img.emoji,
.gme-reply-modal .gme-upload-btn img.emoji {
  width: 18px !important;
  height: 18px !important;
  filter: drop-shadow(0 0 6px rgba(0,255,200,0.6)) !important;
}

/* Hover glow */
#respond .gme-upload-btn:hover,
.gme-reply-modal .gme-upload-btn:hover {
  background: rgba(0,255,200,0.22) !important;
}

/* ===============================
   MOBILE SAFETY
   =============================== */

@media (max-width: 768px) {
  #respond .quick-composer.gme-reply-composer,
  .gme-reply-modal .quick-composer.gme-reply-composer {
    grid-template-columns: 1fr auto !important;
  }
}

/* ===============================
   X-STYLE REPLY COMPOSER OVERRIDES
   =============================== */

/* Hide "Replies" heading */
.comment-replies-title {
  display: none !important;
}

/* Show "Replying to @username" line only when link exists */
#respond .comment-reply-title,
#respond .reply-title {
  font-size: 0 !important;
  margin: 0 0 8px !important;
  height: auto !important;
  overflow: visible !important;
}

#respond .comment-reply-title a,
#respond .reply-title a {
  font-size: 13px !important;
  line-height: 1.3 !important;
  color: #00c2ff !important;
  text-decoration: none !important;
}

#respond .comment-reply-title a::before,
#respond .reply-title a::before {
  content: "Replying to " !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-right: 2px;
}

/* Ensure composer stays visible on mobile without body classes */
.form.comment-form .quick-composer.gme-reply-composer {
  display: grid !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Layout: avatar left, textarea full width, actions row beneath */
#respond .quick-composer.gme-reply-composer,
.gme-reply-modal .quick-composer.gme-reply-composer {
  grid-template-columns: 44px 1fr auto !important;
  grid-template-areas:
    "avatar input  input"
    "avatar upload reply" !important;
  gap: 12px !important;
  align-items: start !important;
}

#respond .quick-composer .composer-avatar,
.gme-reply-modal .quick-composer .composer-avatar {
  grid-area: avatar !important;
  align-self: start !important;
  width: 40px;
  height: 40px;
}

#respond .quick-composer .composer-input-wrap,
.gme-reply-modal .quick-composer .composer-input-wrap {
  grid-area: input !important;
  width: 100% !important;
}

#respond textarea.composer-input,
.gme-reply-modal textarea.composer-input {
  width: 100% !important;
  min-height: 96px !important;
  margin: 0 !important;
  resize: none !important;
}

#respond .gme-upload-row,
.gme-reply-modal .gme-upload-row {
  grid-area: upload !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}

#respond .gme-reply-btn,
#respond #submit.gme-reply-btn,
.gme-reply-modal .gme-reply-btn,
.gme-reply-modal #submit.gme-reply-btn {
  grid-area: reply !important;
  justify-self: end !important;
  align-self: center !important;
  height: 40px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
}

/* Modern upload button with FA-style icon */
#respond .gme-upload-btn,
.gme-reply-modal .gme-upload-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  background: rgba(0, 255, 200, 0.12) !important;
  border: 1px solid rgba(0, 255, 200, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #00ffd0 !important;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

#respond .gme-upload-btn img.emoji,
.gme-reply-modal .gme-upload-btn img.emoji {
  display: none !important;
}

#respond .gme-upload-btn .action-icon::before,
.gme-reply-modal .gme-upload-btn .action-icon::before {
  content: "\f03e";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  font-size: 16px;
  color: currentColor;
}

#respond .gme-upload-btn:hover,
.gme-reply-modal .gme-upload-btn:hover {
  background: rgba(0, 255, 200, 0.22) !important;
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.35);
}

/* Disabled state when empty (supported browsers only) */
.form.comment-form:has(textarea.composer-input:placeholder-shown) .gme-reply-btn {
  opacity: 0.6;
  filter: grayscale(0.2);
  pointer-events: none;
}

@media (max-width: 768px) {
  #respond .quick-composer.gme-reply-composer,
  .gme-reply-modal .quick-composer.gme-reply-composer {
    grid-template-columns: 40px 1fr auto !important;
  }
}

/* ================================
   STABLE FEED CENTERING RAIL
   ================================ */

/* =====================================
   FORCE CENTER FEED AT ELEMENTOR LEVEL
   ===================================== */

/* Center the widget that contains the feed */
.elementor-widget-container:has(.alpha-feed-container) {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow-x: hidden;
}

/* Feed rail */
.alpha-feed-container {
  width: 100%;
  max-width: 680px;
  margin: 0;
  --gme-convo-width: min(720px, 100%);
}

/* Ensure cards never self-shift */
.alpha-feed-container .alpha-feed-wrapper,
.alpha-feed-container article.alpha-tweet {
  margin-left: 0;
  margin-right: 0;
}

/* Desktop conversation layout */
@media (min-width: 1024px) {
  .elementor-widget-container:has(.alpha-feed-container.has-conversation-panel) {
    gap: 32px;
    align-items: flex-start;
  }

  #gme-conversation-panel {
    width: 420px;
    flex-shrink: 0;
  }
}

/* Mobile safety */
@media (max-width: 1023px) {
  #gme-conversation-panel {
    display: none !important;
  }
}

#gme-conversation-panel {
  grid-column: 2;
  align-self: start;
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 120px);
  border-radius: 16px;
  background: rgba(8, 14, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

#gme-conversation-panel .gme-conversation-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

#gme-conversation-panel .gme-conversation-title {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

#gme-conversation-panel .gme-conversation-close {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

#gme-conversation-panel .gme-conversation-panel-body {
  padding: 14px;
  max-height: calc(100vh - 180px);
  overflow: auto;
}

#gme-conversation-panel .gme-conversation-empty,
#gme-conversation-panel .gme-conversation-loading {
  color: rgba(255, 255, 255, 0.6);
  padding: 24px 12px;
  text-align: center;
}

@media (max-width: 1023px) {
  .alpha-feed-container.has-conversation-panel {
    display: block;
  }
  #gme-conversation-panel {
    display: none;
  }
}

/* Center and unify widths */
.alpha-feed-container .gme-comments,
.alpha-feed-container .comment-respond {
  max-width: var(--gme-convo-width);
  margin-left: auto;
  margin-right: auto;
}

.alpha-feed-container.has-conversation-panel .alpha-feed-wrapper {
  max-width: 680px;
  margin-left: 0;
  margin-right: 0;
}


/* Remove replies headings */
.gme-comments .comment-replies-title {
  display: none !important;
}

/* Replying-to label */
.gme-comments .comment-reply-title,
.gme-comments .reply-title {
  font-size: 0;
  margin: 0 0 8px;
}

.gme-comments .comment-reply-title .gme-replying-to,
.gme-comments .reply-title .gme-replying-to {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.gme-comments .gme-replying-cancel {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  cursor: pointer;
}

/* Upload icon cleanup */
.gme-comments .gme-upload-btn .action-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background-color: currentColor;
  font-size: 0;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 3l1.5 2H19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4.5L9 3zm3 6a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm0 2.2a2.8 2.8 0 1 1 0 5.6 2.8 2.8 0 0 1 0-5.6z'/></svg>");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 3l1.5 2H19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4.5L9 3zm3 6a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm0 2.2a2.8 2.8 0 1 1 0 5.6 2.8 2.8 0 0 1 0-5.6z'/></svg>");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
}

.gme-comments .gme-upload-btn .action-icon::before {
  content: "";
}

/* Flat comment list */
.gme-comments .comment-list,
.gme-comments .comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gme-comments .comment-list .children {
  margin-left: 0;
  padding-left: 0;
}

/* Tighten comment stack + keep composer flush to parent post */
.gme-comments .comment-list > .comment {
  margin: 0;
}

.gme-comments .comment-list .comment + .comment {
  margin-top: 0;
}

.gme-comments .comment,
.gme-comments .comment-body,
.gme-comments .comment-respond,
.gme-comments .gme-reply-composer,
.alpha-feed-wrapper .comment-respond,
.alpha-feed-wrapper .gme-reply-composer {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.gme-comments .comment-respond,
.gme-comments .quick-composer.gme-reply-composer,
.alpha-feed-wrapper .comment-respond,
.alpha-feed-wrapper .quick-composer.gme-reply-composer {
  padding-top: 0 !important;
}

.alpha-feed-wrapper .alpha-tweet + .comment-respond,
.alpha-feed-wrapper .alpha-tweet + .gme-reply-composer,
.alpha-feed-wrapper .alpha-post-card + .comment-respond,
.alpha-feed-wrapper .alpha-post-card + .gme-reply-composer {
  margin-top: 0 !important;
}

/* Composer sizing + visibility */
.gme-comments .quick-composer.gme-reply-composer {
  width: 100%;
}

@media (max-width: 768px) {
  .gme-comments .quick-composer.gme-reply-composer {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* Media preview thumbnails */
.gme-comments .gme-comment-media-preview,
.gme-comments .gme-upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0;
}

.gme-comments .gme-comment-media-preview .gme-media-thumb img {
  border-radius: 10px;
}

.gme-comments .gme-reply-btn:disabled,
.gme-comments #submit.gme-reply-btn:disabled {
  opacity: 0.55;
  filter: grayscale(0.2);
  cursor: not-allowed;
}

/* --- Avatar + replying-to line in quick composer (X-style) --- */
#respond .quick-composer.gme-reply-composer,
.gme-reply-modal .quick-composer.gme-reply-composer {
  grid-template-columns: 44px 1fr auto !important;
  grid-template-areas:
    "avatar input  input"
    "avatar upload reply" !important;
}

#respond .quick-composer .composer-avatar,
.gme-reply-modal .quick-composer .composer-avatar {
  grid-area: avatar !important;
  align-self: start !important;
  margin-top: 2px !important;
}

#respond .quick-composer .composer-input-wrap,
.gme-reply-modal .quick-composer .composer-input-wrap {
  grid-area: input !important;
}

#respond .quick-composer .gme-upload-row,
.gme-reply-modal .quick-composer .gme-upload-row {
  grid-area: upload !important;
}

#respond .quick-composer .gme-reply-btn,
#respond .quick-composer #submit.gme-reply-btn,
.gme-reply-modal .quick-composer .gme-reply-btn,
.gme-reply-modal .quick-composer #submit.gme-reply-btn {
  grid-area: reply !important;
}

#respond .comment-reply-title,
#respond .reply-title {
  font-size: 13px !important;
  height: auto !important;
  margin: 0 0 8px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  overflow: visible !important;
}

#respond .comment-reply-title a,
#respond .reply-title a {
  color: #00c2ff !important;
  text-decoration: none !important;
}

.gme-reply-modal .gme-reply-composer textarea,
.gme-reply-modal .gme-reply-composer textarea.composer-input {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0;
  min-height: 120px;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 16px;
}

.gme-reply-modal .gme-reply-composer .composer-input-wrap,
.gme-reply-modal .gme-reply-composer .composer-input {
  width: 100%;
}

.gme-reply-modal .gme-reply-composer .composer-input-wrap {
  display: block;
}

.gme-reply-modal .gme-reply-composer .composer-actions,
.gme-reply-modal .gme-upload-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gme-reply-modal .gme-upload-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0, 194, 255, 0.25);
  background: rgba(0, 194, 255, 0.12);
  color: #00c2ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.gme-reply-modal .gme-upload-btn:hover {
  background: rgba(0, 194, 255, 0.2);
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.35);
  transform: translateY(-1px);
}

.gme-reply-modal .gme-upload-btn img {
  display: none !important;
}

.gme-reply-modal .gme-upload-btn .action-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 3l1.5 2H19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4.5L9 3zm3 6a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm0 2.2a2.8 2.8 0 1 1 0 5.6 2.8 2.8 0 0 1 0-5.6z'/></svg>");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 3l1.5 2H19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4.5L9 3zm3 6a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm0 2.2a2.8 2.8 0 1 1 0 5.6 2.8 2.8 0 0 1 0-5.6z'/></svg>");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
}

.gme-reply-modal .gme-upload-btn .action-icon::before {
  content: "";
}

.gme-reply-modal .gme-reply-btn {
  margin-left: auto;
}

@media (max-width: 768px) {
  .gme-reply-modal .gme-reply-composer textarea,
  .gme-reply-modal .gme-reply-composer textarea.composer-input {
    min-height: 96px;
  }
}

/* ===============================
   UNIFY ALPHA THREAD WIDTH
   =============================== */

/* Shared width for posts, replies, composer */
.alpha-feed-wrapper,
.alpha-feed-wrapper .alpha-tweet,
.alpha-feed-wrapper .comment,
.alpha-feed-wrapper .comment-body,
.alpha-feed-wrapper .comment-respond,
.alpha-feed-wrapper .gme-reply-composer {
  max-width: 680px; /* X-style column width */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Ensure cards do not stretch wider */
.alpha-tweet,
.comment {
  align-self: center;
}

/* Keep reply composer flush under top post */
.alpha-feed-wrapper .alpha-tweet {
  margin-bottom: 0 !important;
}

.alpha-feed-wrapper .alpha-tweet + .comment-respond,
.alpha-feed-wrapper .alpha-tweet + .gme-reply-composer {
  margin-top: 0 !important;
}

/* Replies inherit same width */
.comment-list {
  padding-left: 0;
}

/* Remove accidental left offsets */
.comment,
.comment-body {
  margin-left: 0 !important;
}

/* Mobile: keep same logic, just reduce padding */
@media (max-width: 768px) {
  .alpha-feed-wrapper,
  .alpha-feed-wrapper .alpha-tweet,
  .alpha-feed-wrapper .comment,
  .alpha-feed-wrapper .comment-respond,
  .alpha-feed-wrapper .gme-reply-composer {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ===============================
   FORCE TOP POST TO MATCH THREAD WIDTH
   =============================== */

/* Target the top (parent) alpha post */
.alpha-feed-preview,
.alpha-feed-preview .alpha-tweet,
.alpha-feed-preview article.alpha-tweet {
  max-width: 680px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* ===============================
   ALPHA STATS (ENTRY / TARGET / STOP)
   =============================== */
.alpha-tweet .alpha-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 6px;
}

.alpha-tweet .alpha-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 12px;
  line-height: 1.2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.alpha-tweet .alpha-stat .label {
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10px;
}

.alpha-tweet .alpha-stat .value {
  font-weight: 600;
  color: #ffffff;
}

.alpha-tweet .alpha-stat.entry {
  border: 1px solid rgba(0, 255, 204, 0.6);
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.2);
}

.alpha-tweet .alpha-stat.target {
  border: 1px solid rgba(0, 255, 102, 0.6);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.2);
}

.alpha-tweet .alpha-stat.stop {
  border: 1px solid rgba(255, 68, 68, 0.6);
  box-shadow: 0 0 12px rgba(255, 68, 68, 0.2);
}

@media (max-width: 768px) {
  .alpha-tweet .alpha-stats {
    gap: 8px;
  }
  .alpha-tweet .alpha-stat {
    padding: 6px 8px;
  }
}

/* Kill any hero-style stretching */
.alpha-feed-preview {
  display: flex;
  justify-content: center;
}

/* Mobile parity */
@media (max-width: 768px) {
  .alpha-feed-preview,
  .alpha-feed-preview .alpha-tweet {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ===============================
   FIX TOP POST WIDTH (ROOT CAUSE)
   =============================== */

/* Feed wrapper is constraining width */
.alpha-feed-wrapper {
  max-width: 680px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

/* Ensure top post fills wrapper */
.alpha-feed-wrapper > article.alpha-tweet {
  width: 100%;
  max-width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
  .alpha-feed-wrapper {
    max-width: 100% !important;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* FORCE reply composer to match feed width on mobile */
@media (max-width: 768px) {

  /* Ensure feed container is full width */
  .alpha-feed-container,
  .alpha-feed-wrapper,
  .alpha-feed-unified,
  .comment-respond,
  #respond {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Break reply composer out of narrow parent */
  .quick-composer.gme-reply-composer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;

    box-sizing: border-box !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    align-self: stretch !important;
    flex: 1 1 100% !important;
  }

  /* If wrapped in flex/grid, force full row */
  .quick-composer.gme-reply-composer {
    grid-column: 1 / -1 !important;
  }
}

a.comment-reply-link {
  pointer-events: auto !important;
}

a.comment-reply-link * {
  pointer-events: none;
}

#respond.is-active,
.gme-reply-composer.is-active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  pointer-events: auto !important;
}