.social-page { background: #090909; }
.social-page .stage-header { background: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.24)); }

.social-hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); min-height: 720px; padding-top: 92px; background: #080808; }
.social-hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 6vw, 7rem); background: radial-gradient(circle at 0 100%, rgba(225,6,0,.19), transparent 50%); }
.social-hero h1, .social-section-heading h2, .social-feature h2 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; }
.social-hero h1 { font-size: clamp(4.7rem, 9vw, 9rem); line-height: .78; }
.social-hero h1 em, .social-section-heading h2 em, .social-feature h2 em { color: var(--red); font-style: normal; }
.social-hero-copy > p:not(.kicker) { max-width: 540px; margin: 2rem 0 0; color: #d0d0d0; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; }
.social-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; width: 100%; margin-top: 2.5rem; }
.social-link { display: inline-flex; align-items: center; gap: .8rem; min-width: 200px; min-height: 62px; padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.05); color: #fff; text-decoration: none; transition: background .18s, border-color .18s, transform .18s; }
.social-link:hover, .social-link:focus-visible { border-color: #fff; background: rgba(255,255,255,.13); transform: translateY(-2px); }
.social-link-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border: 1px solid currentColor; border-radius: 50%; font-size: 1.35rem; font-weight: 900; line-height: 1; }
.social-link-fb .social-link-icon { font-family: Arial, sans-serif; }
.social-link strong, .social-link small { display: block; }
.social-link strong { font-size: 1rem; }
.social-link small { margin-top: .12rem; color: #bbb; font-size: .85rem; }
.social-hero-visual { position: relative; min-height: 620px; overflow: hidden; }
.social-hero-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, #080808, transparent 19%), linear-gradient(0deg, rgba(0,0,0,.62), transparent 45%); pointer-events: none; }
.social-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.social-hero-mark { position: absolute; right: clamp(1rem, 4vw, 4rem); bottom: clamp(1rem, 4vw, 3rem); z-index: 1; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3rem); line-height: .88; text-align: right; text-transform: uppercase; }

.platform-section { padding: clamp(4rem, 7vw, 7rem) 0; border-top: 1px solid rgba(255,255,255,.13); background: #111; }
.platform-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .48fr); align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.platform-intro h2, .platform-panel-heading h3, .platform-channel-card h4, .youtube-posts-link h4 { margin: 0; font-family: var(--display); font-weight: 900; line-height: .9; text-transform: uppercase; }
.platform-intro h2 { font-size: clamp(3.5rem, 6.5vw, 6.7rem); }
.platform-intro > p { max-width: 460px; margin: 0; color: #bebebe; font-size: 1.05rem; line-height: 1.55; }
.platform-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.23); }
.platform-tabs a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; padding: .7rem .8rem; border-bottom: 4px solid transparent; background: #1b1b1b; color: #bcbcbc; font-size: .95rem; font-weight: 900; text-align: center; text-decoration: none; transition: background .18s, color .18s; }
.platform-tabs a .tab-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.platform-tabs a:hover, .platform-tabs a:focus-visible { background: #292929; color: #fff; }
.platform-tabs a[aria-current="page"] { border-bottom-color: var(--red); background: #272727; color: #fff; }
.platform-panel { min-height: 350px; }
.platform-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.platform-panel-heading h3 { font-size: clamp(2.6rem, 4.7vw, 4.7rem); }
.platform-panel-heading > a, .platform-channel-card a, .youtube-feature-copy a, .youtube-posts-link > a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.55); color: #fff; font-size: .92rem; font-weight: 800; text-align: center; text-decoration: none; white-space: nowrap; transition: border-color .18s, background .18s; }
.platform-panel-heading > a:hover, .platform-panel-heading > a:focus-visible, .platform-channel-card a:hover, .platform-channel-card a:focus-visible, .youtube-feature-copy a:hover, .youtube-feature-copy a:focus-visible, .youtube-posts-link > a:hover, .youtube-posts-link > a:focus-visible { border-color: #fff; background: rgba(255,255,255,.1); }
.platform-message { padding: 2rem; border: 1px solid rgba(255,255,255,.18); color: #d2d2d2; }
.platform-channel-card { display: grid; grid-template-columns: 1fr .85fr; min-height: 400px; overflow: hidden; background: #1c1c1c; }
.platform-channel-card > img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: center 35%; }
.platform-channel-card > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.5rem, 5vw, 5rem); }
.platform-channel-card h4 { font-size: clamp(3.5rem, 6vw, 6rem); }
.platform-channel-card p:not(.kicker) { max-width: 420px; margin: 1.5rem 0 2rem; color: #d1d1d1; font-size: 1.1rem; line-height: 1.6; }

.youtube-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); gap: 0; background: #202020; }
.youtube-player { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.youtube-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.youtube-play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; color: #fff; cursor: pointer; }
.youtube-play img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s; }
.youtube-play:hover img, .youtube-play:focus-visible img { opacity: 1; }
.youtube-play-icon { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 76px; height: 54px; border-radius: 15px; background: var(--red); color: #fff; font-size: 1.5rem; transform: translate(-50%, -50%); }
.youtube-play:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.youtube-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.5rem, 3vw, 3rem); }
.youtube-feature-copy h4 { margin: .5rem 0 1rem; font-size: clamp(1.5rem, 2.5vw, 2.5rem); line-height: 1.15; }
.youtube-feature-copy > p:not(.kicker) { margin: 0 0 1.4rem; color: #bbb; font-size: .95rem; }
.youtube-video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; margin-top: 1rem; }
.youtube-video-card { display: block; min-width: 0; background: #1b1b1b; color: #fff; text-decoration: none; }
.youtube-video-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #222; }
.youtube-video-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.youtube-video-card:hover img, .youtube-video-card:focus-visible img { transform: scale(1.035); }
.youtube-video-copy { display: block; padding: 1rem; }
.youtube-video-copy strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 2.8em; font-size: 1rem; line-height: 1.4; }
.youtube-video-copy small { display: block; margin-top: .75rem; color: #aaa; font-size: .87rem; }
.youtube-posts-link { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1rem; padding: 1.6rem; border: 1px solid rgba(255,255,255,.2); background: #1a1a1a; }
.youtube-posts-link h4 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.youtube-posts-link p:last-child { margin: .65rem 0 0; color: #bbb; line-height: 1.5; }
.tiktok-intro { max-width: 740px; margin: 0 0 2rem; color: #c9c9c9; font-size: 1.05rem; line-height: 1.6; }
.tiktok-embed-shell { display: grid; place-items: center; min-height: 480px; padding: clamp(1rem, 3vw, 2rem); overflow: hidden; background: #1a1a1a; }
.tiktok-embed-shell .tiktok-embed { width: min(100%, 780px); margin: 0 auto; }
.tiktok-embed-shell .tiktok-embed a { color: #fff; }
.tiktok-fallback { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); width: 100%; min-height: 360px; background: #272727; color: #fff; }
.tiktok-fallback img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; object-position: center 30%; }
.tiktok-fallback > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(1.25rem, 4vw, 3rem); }
.tiktok-fallback h4 { margin: 0; overflow-wrap: anywhere; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.6rem); line-height: .95; text-transform: uppercase; }
.tiktok-fallback p:not(.kicker) { margin: 1rem 0 1.5rem; color: #ddd; line-height: 1.5; }
.tiktok-fallback a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .8rem; border: 1px solid #ddd; font-weight: 800; text-decoration: none; }
.tiktok-fallback a:hover, .tiktok-fallback a:focus-visible { background: #fff; color: #111; }

.social-archive { padding-top: clamp(5rem, 9vw, 9rem); padding-bottom: clamp(5rem, 9vw, 9rem); }
.social-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr); align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.social-section-heading h2, .social-feature h2 { font-size: clamp(3.5rem, 6.5vw, 7rem); line-height: .82; }
.social-section-aside p { margin: 0 0 1.3rem; color: #c6c6c6; font-size: 1.05rem; line-height: 1.6; }
.social-section-aside a, .social-feature-copy a, .social-post-copy a { display: inline-block; min-height: 44px; padding: .55rem 0; border-bottom: 2px solid var(--red); color: #fff; font-size: .95rem; font-weight: 800; text-decoration: none; }
.social-section-aside a:hover, .social-section-aside a:focus-visible, .social-feature-copy a:hover, .social-feature-copy a:focus-visible, .social-post-copy a:hover, .social-post-copy a:focus-visible { color: #ff4943; }
.social-photo-flow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(180px, 23vw)); gap: 5px; overflow: hidden; background: #222; }
.social-photo-flow img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.social-photo-flow img:nth-child(1) { grid-column: span 4; grid-row: span 2; object-position: center 30%; }
.social-photo-flow img:nth-child(2) { grid-column: span 4; }
.social-photo-flow img:nth-child(3) { grid-column: span 4; }
.social-photo-flow img:nth-child(4) { grid-column: span 8; object-position: center 42%; }

.social-feature { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem); background: #f1f1ed; color: #080808; }
.social-feature-copy { width: min(100%, 520px); justify-self: end; }
.social-feature .kicker { color: #555; }
.social-feature-copy p:not(.kicker) { max-width: 450px; margin: 1.5rem 0; color: #414141; font-size: 1.1rem; line-height: 1.6; }
.social-feature-copy a { color: #080808; }
.social-feature-video { width: 100%; max-width: 870px; background: #000; }
.social-feature-video video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }

.social-recent { padding-top: clamp(5rem, 8vw, 8rem); padding-bottom: clamp(5rem, 8vw, 8rem); }
.social-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.social-post { min-width: 0; background: #151515; border: 1px solid rgba(255,255,255,.14); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; cursor: pointer; position: relative; outline: none; display: flex; flex-direction: column; }
.social-post:hover, .social-post:focus-visible { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); transform: translateY(-2px); }
.social-post-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #242424; position: relative; }
.social-post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.social-post:hover .social-post-image img, .social-post:focus-visible .social-post-image img { transform: scale(1.025); }
.social-post-video-badge { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 0, 0, 0.72); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); pointer-events: none; box-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.social-post-copy { padding: 1.25rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.social-post-copy p { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; margin: 0 0 .8rem; color: #e6e6e6; line-height: 1.55; }
.social-post-copy .social-post-meta { display: block; color: #aaa; font-size: .86rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.social-post-actions { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,0.08); gap: 10px; }
.social-post-counts { display: inline-flex; align-items: center; gap: 14px; }
.social-count-item { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: #a8a8a8; transition: color .15s ease; }
.social-post:hover .social-count-item { color: #fff; }
.social-count-likes svg { color: #ef4444; }
.social-count-comments svg { color: #38bdf8; }
.social-post-ext-link { font-size: 0.82rem; color: #8c8c8c !important; border-bottom: none !important; text-decoration: underline !important; padding: 4px 0 !important; min-height: auto !important; white-space: nowrap; }
.social-post-ext-link:hover { color: #fff !important; }

@media (max-width: 1050px) {
  .social-hero { grid-template-columns: 1fr 1fr; min-height: 630px; }
  .social-hero-copy { padding-right: 2rem; }
  .social-hero-actions { flex-direction: column; max-width: 340px; }
  .social-link { width: 100%; }
  .social-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .youtube-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .social-hero { grid-template-columns: 1fr; padding-top: 78px; }
  .social-hero-copy { padding: 4.5rem 1rem 3rem; }
  .social-hero h1 { font-size: clamp(4.3rem, 15vw, 7rem); }
  .social-hero-actions { flex-direction: row; max-width: none; }
  .social-link { flex: 1 1 210px; }
  .social-hero-visual { min-height: 370px; height: 50vw; max-height: 540px; }
  .social-hero-visual::after { background: linear-gradient(0deg, rgba(0,0,0,.64), transparent 45%); }
  .social-section-heading { grid-template-columns: 1fr; gap: 1.25rem; }
  .social-section-aside { max-width: 600px; }
  .social-photo-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 280px 190px 190px; }
  .social-photo-flow img:nth-child(1) { grid-column: span 1; grid-row: span 2; }
  .social-photo-flow img:nth-child(2), .social-photo-flow img:nth-child(3) { grid-column: span 1; grid-row: span 1; }
  .social-photo-flow img:nth-child(4) { grid-column: span 2; grid-row: span 1; }
  .social-feature { grid-template-columns: 1fr; }
  .social-feature-copy { justify-self: start; }
  .platform-intro { grid-template-columns: 1fr; gap: 1rem; }
  .platform-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .platform-tabs a { min-width: 0; padding: .65rem .3rem; font-size: .85rem; gap: 5px; }
  .platform-tabs a .tab-icon { width: 16px; height: 16px; flex: 0 0 16px; }
  .platform-panel-heading { align-items: flex-start; flex-direction: column; }
  .platform-channel-card { grid-template-columns: 1fr; }
  .platform-channel-card > img { height: 300px; }
  .youtube-feature { grid-template-columns: 1fr; }
  .youtube-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .youtube-posts-link { align-items: flex-start; flex-direction: column; }
  .tiktok-fallback { grid-template-columns: 1fr; }
  .tiktok-fallback img { height: 280px; }
}
@media (max-width: 500px) {
  .social-hero-copy { padding-top: 3.8rem; }
  .social-hero-actions { flex-direction: column; gap: .55rem; }
  .social-link { flex-basis: auto; min-height: 56px; }
  .social-hero-visual { min-height: 270px; }
  .social-section-heading h2, .social-feature h2 { font-size: clamp(3.2rem, 15vw, 4.8rem); }
  .social-photo-flow { grid-template-rows: 200px 140px 150px; gap: 3px; }
  .social-post-grid { grid-template-columns: 1fr; }
  .platform-tabs a { font-size: .8rem; padding: .6rem .2rem; gap: 4px; }
  .platform-tabs a .tab-icon { width: 14px; height: 14px; flex: 0 0 14px; }
  .platform-channel-card > img { height: 235px; }
  .youtube-video-grid { grid-template-columns: 1fr; }
  .youtube-video-card { display: grid; grid-template-columns: 42% minmax(0,1fr); }
  .youtube-video-image { height: 100%; }
  .youtube-video-copy { padding: .75rem; }
  .youtube-video-copy strong { font-size: .92rem; min-height: 0; }
  .youtube-video-copy small { margin-top: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .social-link, .social-post-image img { transition: none; }
  .social-link:hover, .social-link:focus-visible, .social-post-image:hover img, .social-post-image:focus-visible img { transform: none; }
}

/* In-Tab Social Post Reader Modal */
.social-modal {
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  max-width: 1080px;
  width: calc(100% - 32px);
  color: #f0f0f0;
  overflow: visible;
}
.social-modal::backdrop {
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.social-modal-dialog {
  position: relative;
  background: #101012;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}
.social-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 18, 22, 0.85);
  color: #e0e0e0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.social-modal-close:hover {
  background: #c31317;
  color: #fff;
  border-color: #c31317;
  transform: scale(1.05);
}
.social-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 14, 18, 0.85);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
  backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.social-modal-prev {
  left: 14px;
}
.social-modal-next {
  right: 14px;
}
.social-modal-nav:hover {
  background: rgba(220, 20, 30, 0.9);
  border-color: rgba(220, 20, 30, 0.9);
  transform: translateY(-50%) scale(1.08);
}
.social-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  max-height: 88vh;
  min-height: 480px;
}
.social-modal-media-wrap {
  position: relative;
  background: #060608;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 380px;
}
.social-modal-img {
  max-width: 100%;
  max-height: 88vh;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.social-modal-video {
  max-width: 100%;
  max-height: 88vh;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}
.social-modal-video[hidden] {
  display: none !important;
}
.social-modal-img[hidden] {
  display: none !important;
}
.social-modal-info {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.6rem;
  background: #111114;
  overflow-y: auto;
  min-width: 0;
}
.social-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-right: 36px;
}
.social-modal-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #202025;
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}
.social-modal-author-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.social-modal-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.social-modal-author-name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.social-modal-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: #eaeaea;
}
.social-modal-badge.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}
.social-modal-badge.facebook {
  background: #1877f2;
  color: #fff;
}
.social-modal-sub-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #9c9ca4;
}
.social-modal-caption-wrap {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.2rem 0;
  margin-right: -4px;
  padding-right: 4px;
}
.social-modal-caption {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #d6d6de;
  margin: 0;
  white-space: pre-line;
  word-break: break-word;
}
.social-modal-caption a {
  color: #ff524d;
  text-decoration: underline;
}
.social-modal-caption .social-hashtag,
.social-modal-caption .social-mention {
  color: #ff524d;
  font-weight: 600;
}
.social-modal-footer {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social-modal-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: #b0b0ba;
  font-weight: 700;
}
.social-modal-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.social-modal-ext-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.social-modal-ext-button:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

@media (max-width: 850px) {
  .social-modal-body {
    grid-template-columns: 1fr;
    max-height: 84vh;
    overflow-y: auto;
  }
  .social-modal-media-wrap {
    min-height: 260px;
    max-height: 44vh;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .social-modal-nav {
    top: 22%;
    width: 38px;
    height: 38px;
  }
  .social-modal-prev {
    left: 8px;
  }
  .social-modal-next {
    right: 8px;
  }
  .social-modal-info {
    overflow-y: visible;
  }
}
