html[data-wtw-theme] {
  color-scheme: dark;
}

/* One-time construction arrival. */
.wtw-construction-notice { align-items: center; animation: wtw-construction-in .28s ease both; background: rgba(0,0,0,.78); backdrop-filter: blur(12px); display: flex; inset: 0; justify-content: center; padding: 22px; position: fixed; z-index: 300000; }
.wtw-construction-notice.is-leaving { animation: wtw-construction-out .24s ease both; pointer-events: none; }
.wtw-construction-card { background: radial-gradient(circle at 82% 10%, color-mix(in srgb, var(--wtw-theme-hot, #e23c59) 24%, transparent), transparent 27%), var(--wtw-theme-panel, #0b0b0c); border: 1px solid var(--wtw-theme-line, #46202b); box-shadow: 0 30px 100px #000c, inset 0 1px color-mix(in srgb, var(--wtw-theme-text, #fff) 22%, transparent); color: var(--wtw-theme-text, #fff); max-width: 610px; overflow: hidden; padding: clamp(28px, 4vw, 50px); position: relative; width: 100%; }
.wtw-construction-card::after { background: repeating-linear-gradient(90deg, transparent 0 17px, color-mix(in srgb, var(--wtw-theme-text, #fff) 5%, transparent) 18px 19px); content: ''; inset: auto 0 0; height: 72px; pointer-events: none; position: absolute; }
.wtw-construction-signal { align-items: center; color: var(--wtw-theme-hot, #e23c59); display: flex; font: 800 10px var(--font-body); gap: 8px; letter-spacing: .14em; }
.wtw-construction-signal i { animation: wtw-signal-pulse 1.4s ease-in-out infinite; background: var(--wtw-theme-hot, #e23c59); border-radius: 50%; box-shadow: 0 0 0 5px color-mix(in srgb, var(--wtw-theme-hot, #e23c59) 18%, transparent); height: 7px; width: 7px; }
.wtw-construction-card img { height: auto; margin: 30px 0 26px; max-width: 260px; width: 62%; }
.wtw-construction-kicker { color: var(--wtw-theme-muted, #aaa); font: 800 10px var(--font-body); letter-spacing: .2em; margin: 0 0 8px; }
.wtw-construction-card h2 { font: 800 clamp(39px, 7vw, 62px)/.88 var(--font-display); letter-spacing: .015em; margin: 0; text-transform: uppercase; }
.wtw-construction-card > p:not(.wtw-construction-kicker) { color: var(--wtw-theme-muted, #bbb); font: 500 15px/1.6 var(--font-body); margin: 20px 0 30px; max-width: 510px; }
.wtw-construction-footer { align-items: center; border-top: 1px solid var(--wtw-theme-line, #46202b); display: flex; gap: 18px; justify-content: space-between; padding-top: 18px; position: relative; z-index: 1; }
.wtw-construction-footer span { color: var(--wtw-theme-hot, #e23c59); font: 800 9px var(--font-body); letter-spacing: .12em; }
.wtw-construction-footer button { align-items: center; background: var(--wtw-theme-accent-deep, #3d0b19); border: 1px solid var(--wtw-theme-hot, #e23c59); color: #fff; cursor: pointer; display: inline-flex; font: 800 10px var(--font-body); gap: 12px; letter-spacing: .1em; min-height: 42px; padding: 0 15px; }
.wtw-construction-footer button:hover, .wtw-construction-footer button:focus-visible { background: var(--wtw-theme-hot, #e23c59); color: var(--wtw-theme-bg, #000); outline: 0; }
.wtw-construction-footer button b { font-size: 17px; line-height: 1; }
@keyframes wtw-construction-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wtw-construction-out { to { opacity: 0; } }
@keyframes wtw-signal-pulse { 50% { box-shadow: 0 0 0 9px transparent; opacity: .55; } }
@media (max-width: 520px) { .wtw-construction-notice { padding: 14px; } .wtw-construction-card { padding: 28px 23px; } .wtw-construction-card img { margin: 24px 0 21px; width: 72%; } .wtw-construction-footer { align-items: stretch; flex-direction: column; } .wtw-construction-footer button { justify-content: center; width: 100%; } }

#wtw-audio-visualizer {
  display: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme="maroon"] {
  --wtw-theme-bg: #070306;
  --wtw-theme-panel: #0c080b;
  --wtw-theme-panel-2: #130a0e;
  --wtw-theme-soft: #1b0d13;
  --wtw-theme-line: #48202c;
  --wtw-theme-hot: #e23c59;
  --wtw-theme-accent: #8f1937;
  --wtw-theme-accent-deep: #3d0b19;
  --wtw-theme-accent-soft: #281018;
  --wtw-theme-text: #f4f1ef;
  --wtw-theme-muted: #a99fa3;
}

body.wtw-dashboard-theme[data-wtw-theme="blue"] {
  --wtw-theme-bg: #07111d;
  --wtw-theme-panel: #0b1725;
  --wtw-theme-panel-2: #101f30;
  --wtw-theme-soft: #162a3e;
  --wtw-theme-line: #29445e;
  --wtw-theme-hot: #71b7e6;
  --wtw-theme-accent: #246b9d;
  --wtw-theme-accent-deep: #0b2c47;
  --wtw-theme-accent-soft: #173b57;
  --wtw-theme-text: #f2f7fb;
  --wtw-theme-muted: #9eb2c3;
  background-color: #07111d !important;
  background-image: url("https://wethewest.com/wp-content/uploads/2026/08/wethewest-background-midnight-navy.webp") !important;
  background-blend-mode: normal;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-position: center top !important;
  background-size: cover !important;
}

body.wtw-dashboard-theme[data-wtw-theme="black"] {
  --wtw-theme-bg: #000;
  --wtw-theme-panel: #050505;
  --wtw-theme-panel-2: #0a0a0a;
  --wtw-theme-soft: #111;
  --wtw-theme-line: #343434;
  --wtw-theme-hot: #d8d8d8;
  --wtw-theme-accent: #3a3a3a;
  --wtw-theme-accent-deep: #080808;
  --wtw-theme-accent-soft: #1a1a1a;
  --wtw-theme-text: #f5f5f5;
  --wtw-theme-muted: #aaa;
  background-color: #000 !important;
  background-image: url("https://wethewest.com/wp-content/uploads/2026/08/wethewest-background-studio-black.webp") !important;
  background-blend-mode: normal;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-position: center top !important;
  background-size: cover !important;
}

/* The source logo uses a black rectangle. Screen blending makes that black
   behave like transparency on Midnight Navy while preserving the white mark. */
body.wtw-dashboard-theme[data-wtw-theme="blue"] img[src*="wethewest-logo"] {
  mix-blend-mode: screen;
}

html[data-wtw-theme="light"] {
  color-scheme: light;
  background: #e8e1d7;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] {
  --wtw-theme-bg: #e7e1d8;
  --wtw-theme-panel: #f5f1ea;
  --wtw-theme-panel-2: #ebe5dc;
  --wtw-theme-soft: #ddd5ca;
  --wtw-theme-line: #aaa196;
  --wtw-theme-hot: #3f464c;
  --wtw-theme-accent: #646d74;
  --wtw-theme-accent-deep: #292f34;
  --wtw-theme-accent-soft: #d4d1cc;
  --wtw-theme-text: #191b1d;
  --wtw-theme-muted: #625e59;
  background-color: #e7e1d8 !important;
  background-image: url("https://wethewest.com/wp-content/uploads/2026/08/wethewest-background-warm-editorial.webp") !important;
  background-blend-mode: normal;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-position: center top !important;
  background-size: cover !important;
}

html[data-wtw-theme="gray"] {
  color-scheme: light;
  background: #d9dad8;
}

body.wtw-dashboard-theme[data-wtw-theme="gray"] {
  --wtw-theme-bg: #cfd4d7;
  --wtw-theme-panel: #eef1f2;
  --wtw-theme-panel-2: #e0e5e7;
  --wtw-theme-soft: #c9d0d3;
  --wtw-theme-line: #90999e;
  --wtw-theme-hot: #34434c;
  --wtw-theme-accent: #5f727d;
  --wtw-theme-accent-deep: #26343c;
  --wtw-theme-accent-soft: #c2cbd0;
  --wtw-theme-text: #15191b;
  --wtw-theme-muted: #515b60;
  background-color: #cfd4d7 !important;
  background-image: url("https://wethewest.com/wp-content/uploads/2026/08/wethewest-background-coastal-slate.webp") !important;
  background-blend-mode: normal;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-position: center top !important;
  background-size: cover !important;
}

body.wtw-dashboard-theme[data-wtw-theme="blue"]::before {
  background-image: linear-gradient(rgba(70, 169, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(70, 169, 255, .07) 1px, transparent 1px) !important;
}

body.wtw-dashboard-theme[data-wtw-theme="black"]::before {
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"]::before {
  background-image: linear-gradient(rgba(91, 71, 59, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 71, 59, .055) 1px, transparent 1px) !important;
}

body.wtw-dashboard-theme[data-wtw-theme="gray"]::before {
  background-image: linear-gradient(rgba(20, 24, 23, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 24, 23, .055) 1px, transparent 1px) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) {
  color: var(--wtw-theme-text);
  --bg: var(--wtw-theme-bg);
  --panel: var(--wtw-theme-panel);
  --panel-2: var(--wtw-theme-panel-2);
  --panel-soft: var(--wtw-theme-soft);
  --line: var(--wtw-theme-line);
  --line-hot: var(--wtw-theme-hot);
  --maroon: var(--wtw-theme-accent);
  --wine: var(--wtw-theme-accent);
  --crimson: var(--wtw-theme-hot);
  --bright: var(--wtw-theme-hot);
  --text: var(--wtw-theme-text);
  --muted: var(--wtw-theme-muted);
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .site-header, .article-site-header, .mobile-categories, .mobile-drawer,
  .hero-player, .hero-playlist, .release-card, .latest-editorial,
  .latest-dual-hero > article, .latest-card, .channel-grid article,
  .video-hub-player, .video-hub-queue, .video-library, .audio-hub-player,
  .audio-hub-queue, .audio-library, .single-content, .single-sidebar > section,
  .article-card, .article-site-footer, .site-footer, .community-join,
  .community-composer, .community-post, .community-sidebar > section,
  .visualizer-settings, .video-share-dialog
) {
  background: var(--wtw-theme-panel) !important;
  background-image: none !important;
  border-color: var(--wtw-theme-line) !important;
  color: var(--wtw-theme-text) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .hero-playlist header, .release-card > header, .latest-editorial-header h2,
  .video-hub-queue > header, .audio-hub-queue > header, .single-sidebar header,
  .community-sidebar section > header, .visualizer-settings > header,
  .article-card .eyebrow, .channel-grid .channel-label
) {
  background: var(--wtw-theme-accent) !important;
  border-color: var(--wtw-theme-hot) !important;
  color: #fff !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  input, textarea, select, .site-search, .pagination-jump input,
  .latest-pagination button, .video-sort select, .audio-sort select
) {
  background: var(--wtw-theme-panel-2) !important;
  border-color: var(--wtw-theme-line) !important;
  color: var(--wtw-theme-text) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  p, small, time, .story-overlay p, .latest-card p, .community-post-meta,
  .article-meta, .channel-grid article > span
) {
  color: var(--wtw-theme-muted) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .site-header nav a.active, .site-header nav a:hover, .article-nav a:hover,
  .article-nav a.active, .mobile-categories a.active, a:hover
) {
  color: var(--wtw-theme-hot);
}

body.wtw-dashboard-theme[data-wtw-theme="light"] :is(
  .site-header, .article-site-header, .mobile-categories, .article-site-footer,
  .site-footer, .latest-ticker, .global-archive-ticker
) {
  background: rgba(242, 236, 227, .97) !important;
  color: #191519 !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] :is(
  .hero-player, .playlist-panel, .video-hub-player, .video-hub-queue,
  .audio-hub-player, .audio-hub-queue
) {
  --text: #f7f4f2;
  --muted: #b9b0b4;
  --panel: #09090a;
  --panel-2: #101012;
  background: #09090a !important;
  background-image: none !important;
  color: #fff !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] :is(
  .hero-player p, .hero-player small, .playlist-panel p, .playlist-panel small,
  .video-hub-player p, .video-hub-queue p, .audio-hub-player p, .audio-hub-queue p
) {
  color: #c8c3c5 !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] :is(
  .hero-player, .playlist-panel, .video-hub-player, .video-hub-queue,
  .audio-hub-player, .audio-hub-queue
) :is(h1, h2, h3, h4, strong, b, button, a, span:not(.eyebrow)) {
  color: #f7f4f2;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] :is(
  .site-header nav a, .article-nav a, .mobile-categories a,
  .site-header button, .article-site-header button
) {
  color: #2a2225 !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] :is(
  .site-header nav a.active, .site-header nav a:hover,
  .article-nav a.active, .article-nav a:hover, .mobile-categories a.active
) {
  color: #303336 !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] :is(
  .archive-ticker, .archive-ticker a, .latest-ticker, .latest-ticker a,
  .global-archive-ticker, .global-archive-ticker a
) {
  color: #41373b !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] img {
  color-scheme: dark;
}

/* The production SVG has white lettering on a black rectangle. In light mode,
   inversion plus multiply turns it into clean dark ink without touching ads. */
body.wtw-dashboard-theme[data-wtw-theme="light"] img[src*="wethewest-logo"] {
  filter: invert(1) grayscale(1) contrast(1.22);
  mix-blend-mode: multiply;
}

.wtw-theme-settings {
  border-bottom: 1px solid var(--wtw-theme-line, #3d1c26);
  margin: 0 0 15px;
  padding: 0 0 16px;
}

.wtw-settings-kicker {
  color: var(--wtw-theme-hot, #e23c59);
  font: 800 10px var(--font-body, sans-serif);
  letter-spacing: .18em;
}

.wtw-theme-settings h3 {
  color: var(--wtw-theme-text, #fff);
  font: 800 24px/1 var(--font-display, sans-serif);
  margin: 5px 0 12px;
  text-transform: uppercase;
}

.wtw-theme-options {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wtw-theme-options button {
  align-items: center;
  background: var(--wtw-theme-panel-2, #101114);
  border: 1px solid var(--wtw-theme-line, #40202a);
  color: var(--wtw-theme-text, #fff);
  cursor: pointer;
  display: grid;
  gap: 9px;
  grid-template-columns: 32px 1fr 18px;
  min-height: 58px;
  padding: 8px;
  text-align: left;
}

.wtw-theme-options button:hover,
.wtw-theme-options button.active {
  border-color: var(--wtw-theme-hot, #e23c59);
  box-shadow: inset 3px 0 var(--wtw-theme-hot, #e23c59);
}

.wtw-theme-options button span,
.wtw-theme-options button b,
.wtw-theme-options button small {
  display: block;
}

.wtw-theme-options button b {
  font: 800 14px/1 var(--font-display, sans-serif);
  text-transform: uppercase;
}

.wtw-theme-options button small {
  color: var(--wtw-theme-muted, #9d9aa0);
  font-size: 9px;
  line-height: 1.25;
  margin-top: 3px;
}

.wtw-theme-options button em {
  color: var(--wtw-theme-hot, #e23c59);
  font-style: normal;
  opacity: 0;
}

.wtw-theme-options button.active em {
  opacity: 1;
}

.wtw-theme-swatch {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  height: 28px;
  width: 28px;
}

[data-site-theme="maroon"] .wtw-theme-swatch { background: linear-gradient(135deg, #080406 45%, #9b1f3d 46%); }
[data-site-theme="blue"] .wtw-theme-swatch { background: linear-gradient(135deg, #020610 45%, #1473be 46%); }
[data-site-theme="black"] .wtw-theme-swatch { background: linear-gradient(135deg, #000 45%, #444 46%); }
[data-site-theme="light"] .wtw-theme-swatch { background: linear-gradient(135deg, #eee8df 45%, #9b8e81 46%); }
[data-site-theme="gray"] .wtw-theme-swatch { background: linear-gradient(135deg, #e2e3e1 45%, #555a5d 46%); }

/* Complete palette separation: non-maroon themes do not inherit maroon UI. */
body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .visualizer-settings, .site-search, .mobile-drawer,
  .hero-album, .latest-ticker, .global-archive-ticker
) {
  background: linear-gradient(145deg, var(--wtw-theme-panel-2), var(--wtw-theme-panel)) !important;
  border-color: var(--wtw-theme-line) !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .visualizer-settings > header, .hero-album > header,
  .playlist-panel > header h2, .hero-news h2,
  .latest-editorial-header h2, .video-hub-upnext > header,
  .audio-hub-queue > header, .single-rail-player > header,
  .single-rail-album > header, .single-related > header
) {
  background: linear-gradient(90deg, var(--wtw-theme-accent), var(--wtw-theme-accent-deep)) !important;
  border-color: var(--wtw-theme-line) !important;
  color: #fff !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .header-advertise, .article-header-advertise, .single-rail-player,
  .single-rail-album, .single-related, .site-footer-rich,
  .community-composer-fields input, .community-media-preview,
  .community-friends-grid a, .wtw-business-grid article, .wtw-business-form
) {
  border-color: var(--wtw-theme-line) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .player-controls .deck-play {
  background: radial-gradient(circle at 35% 28%, var(--wtw-theme-hot), var(--wtw-theme-accent) 55%, var(--wtw-theme-accent-deep)) !important;
  border-color: var(--wtw-theme-hot) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.38), 0 0 0 3px color-mix(in srgb, var(--wtw-theme-hot) 18%, transparent), 0 7px 20px rgba(0,0,0,.38) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .player-controls button:hover, .video-share-trigger,
  .article-menu-toggle, .visualizer-settings header button,
  .community-composer-fields label, .community-composer-fields button
) {
  background: var(--wtw-theme-accent-deep) !important;
  border-color: var(--wtw-theme-line) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .video-share-trigger:hover, .video-share-trigger:focus-visible,
  .social-actions > button:hover, .social-actions summary:hover,
  .social-actions > button.liked, .article-menu-toggle[aria-expanded="true"]
) {
  background: linear-gradient(var(--wtw-theme-accent), var(--wtw-theme-accent-deep)) !important;
  border-color: var(--wtw-theme-hot) !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .playlist-item:hover, .playlist-item:focus-visible,
  .video-hub-upnext .video-hub-card:hover, .video-hub-card.is-active,
  .video-hub-upnext .video-hub-card:has(.video-card-select:focus-visible)
) {
  background: linear-gradient(90deg, color-mix(in srgb, var(--wtw-theme-accent) 72%, transparent), color-mix(in srgb, var(--wtw-theme-accent-deep) 88%, transparent)) !important;
  box-shadow: inset 4px 0 var(--wtw-theme-hot), inset 0 1px color-mix(in srgb, var(--wtw-theme-hot) 28%, transparent) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .playlist-item::before,
body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .video-hub-card::after {
  background: linear-gradient(105deg, transparent 8%, color-mix(in srgb, var(--wtw-theme-hot) 12%, transparent) 42%, rgba(255,255,255,.05) 50%, transparent 68%) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .playlist-item.is-active::after {
  background: var(--wtw-theme-hot) !important;
  box-shadow: 0 0 14px color-mix(in srgb, var(--wtw-theme-hot) 70%, transparent) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .latest-editorial-header select, .community-emoji-toggle,
  .community-composer-fields input[type="url"]
) {
  background: var(--wtw-theme-panel-2) !important;
  border-color: var(--wtw-theme-line) !important;
  color: var(--wtw-theme-text) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .community-hero {
  background: radial-gradient(circle at 80% 30%, color-mix(in srgb, var(--wtw-theme-hot) 16%, transparent), transparent 24%), linear-gradient(125deg, var(--wtw-theme-accent-deep), var(--wtw-theme-panel) 55%);
  border-color: var(--wtw-theme-line) !important;
  box-shadow: inset 0 3px var(--wtw-theme-hot) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .community-post.is-pinned {
  border-color: var(--wtw-theme-line) !important;
  box-shadow: inset 2px 0 var(--wtw-theme-hot) !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] .visualizer-settings {
  background: #f2ece3 !important;
  color: #191519 !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] .visualizer-settings > header {
  background: #292b2d !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] .wtw-theme-options button {
  background: #e4dbce !important;
  border-color: #a99d8b !important;
  color: #191519 !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] .wtw-theme-options button.active {
  border-color: #55585b !important;
  box-shadow: inset 3px 0 #55585b !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .deck-status, .hero-album-player, .hero-album-cta,
  .playlist-pagination, .video-description, .west-release-shelf,
  .latest-editorial, .latest-card, .business-callouts,
  .speed-control, .fullscreen-control
) {
  border-color: var(--wtw-theme-line) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .deck-status, .west-release-shelf, .latest-editorial,
  .business-callouts, .latest-card
) {
  background: var(--wtw-theme-panel) !important;
  background-image: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .deck-status .deck-state i, .latest-ticker b i,
  .latest-card-image i, .video-center-control::before
) {
  background: var(--wtw-theme-hot) !important;
  border-color: var(--wtw-theme-hot) !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .video-center-control {
  border-color: var(--wtw-theme-hot) !important;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--wtw-theme-hot) 18%, transparent) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .playlist-pagination button, .pagination-jump button,
  .video-description summary i, .hero-album-cta
) {
  background: var(--wtw-theme-accent-deep) !important;
  border-color: var(--wtw-theme-line) !important;
  color: #fff !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .west-release-shelf > header span, .latest-editorial-header label,
  .business-callouts a span
) {
  color: var(--wtw-theme-hot) !important;
  border-color: var(--wtw-theme-hot) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .latest-card-image i {
  background: color-mix(in srgb, var(--wtw-theme-accent-deep) 88%, transparent) !important;
  border-color: color-mix(in srgb, var(--wtw-theme-hot) 55%, transparent) !important;
  color: #fff !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .site-search button[type="submit"] {
  background: var(--wtw-theme-accent) !important;
  border-color: var(--wtw-theme-line) !important;
  color: #fff !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .archive-ticker, .latest-ticker, .global-archive-ticker
) i {
  color: var(--wtw-theme-hot) !important;
  border-color: var(--wtw-theme-line) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .west-release-shelf > header {
  border-color: var(--wtw-theme-line) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .latest-ticker, .global-archive-ticker
) > b {
  border-color: var(--wtw-theme-line) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .deck-timeline i {
  color: var(--wtw-theme-muted) !important;
  border-color: var(--wtw-theme-muted) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .visualizer-toggle {
  background: color-mix(in srgb, var(--wtw-theme-accent) 18%, transparent) !important;
  border-color: var(--wtw-theme-line) !important;
  color: var(--wtw-theme-text) !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] .visualizer-settings.visualizer-settings {
  background: #f2ece3 !important;
}

body.wtw-dashboard-theme[data-wtw-theme="light"] .visualizer-settings.visualizer-settings > header {
  background: #292b2d !important;
}

/* Coastal Gray is a separate light-surface palette, not a variation of maroon. */
body.wtw-dashboard-theme[data-wtw-theme="gray"] :is(
  .site-header, .article-site-header, .mobile-categories, .article-site-footer,
  .site-footer, .latest-ticker, .global-archive-ticker
) {
  background: rgba(240, 241, 239, .97) !important;
  color: #111313 !important;
}

body.wtw-dashboard-theme[data-wtw-theme="gray"] :is(
  .hero-player, .playlist-panel, .video-hub-player, .video-hub-queue,
  .audio-hub-player, .audio-hub-queue
) {
  --text: #f7f7f7;
  --muted: #b8bcba;
  --panel: #090a0a;
  --panel-2: #111212;
  background: #090a0a !important;
  background-image: none !important;
  color: #fff !important;
}

body.wtw-dashboard-theme[data-wtw-theme="gray"] :is(
  .hero-player p, .hero-player small, .playlist-panel p, .playlist-panel small,
  .video-hub-player p, .video-hub-queue p, .audio-hub-player p, .audio-hub-queue p
) { color: #c7cac8 !important; }

body.wtw-dashboard-theme[data-wtw-theme="gray"] :is(
  .hero-player, .playlist-panel, .video-hub-player, .video-hub-queue,
  .audio-hub-player, .audio-hub-queue
) :is(h1, h2, h3, h4, strong, b, button, a, span:not(.eyebrow)) { color: #f7f7f7; }

body.wtw-dashboard-theme[data-wtw-theme="gray"] :is(
  .site-header nav a, .article-nav a, .mobile-categories a,
  .site-header button, .article-site-header button,
  .archive-ticker, .archive-ticker a, .latest-ticker, .latest-ticker a,
  .global-archive-ticker, .global-archive-ticker a
) { color: #242829 !important; }

body.wtw-dashboard-theme[data-wtw-theme="gray"] img { color-scheme: dark; }

body.wtw-dashboard-theme[data-wtw-theme="gray"] img[src*="wethewest-logo"] {
  filter: invert(1) grayscale(1) contrast(1.22);
  mix-blend-mode: multiply;
}

body.wtw-dashboard-theme[data-wtw-theme="gray"] .visualizer-settings.visualizer-settings {
  background: #f0f1ef !important;
  color: #111313 !important;
}

body.wtw-dashboard-theme[data-wtw-theme="gray"] .visualizer-settings.visualizer-settings > header {
  background: #24282a !important;
}

body.wtw-dashboard-theme[data-wtw-theme="gray"] .wtw-theme-options button {
  background: #e3e4e2 !important;
  border-color: #999d9b !important;
  color: #111313 !important;
}

body.wtw-dashboard-theme[data-wtw-theme="gray"] .wtw-theme-options button.active {
  border-color: #4b5053 !important;
  box-shadow: inset 3px 0 #4b5053 !important;
}

/* Base theme components use layered maroon gradients. Replacing only their
   background-color leaves those image layers visible, so every non-maroon
   palette must replace the complete background shorthand. */
body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .west-release-shelf,
  .latest-editorial,
  .latest-card,
  .video-library,
  .audio-library,
  .community-join,
  .community-composer,
  .community-post,
  .community-sidebar > section,
  .wtw-business-page > header,
  .wtw-business-grid article,
  .wtw-business-form
) {
  background: var(--wtw-theme-panel) !important;
  background-image: none !important;
  border-color: var(--wtw-theme-line) !important;
  color: var(--wtw-theme-text) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .business-callouts > a,
body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .business-callouts > a:nth-child(2) {
  background: var(--wtw-theme-panel) !important;
  background-image: none !important;
  border-color: var(--wtw-theme-line) !important;
  color: var(--wtw-theme-text) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .business-callouts > a b,
  .wtw-business-page > header h2,
  .wtw-business-grid article h2,
  .wtw-business-grid article h3
) {
  color: var(--wtw-theme-text) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .west-release-shelf::before {
  background-image:
    linear-gradient(color-mix(in srgb, var(--wtw-theme-text) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--wtw-theme-text) 4%, transparent) 1px, transparent 1px) !important;
}

@media (max-width: 620px) {
  .wtw-theme-options { grid-template-columns: 1fr; }
  .wtw-theme-options button { min-height: 52px; }
}

/*
 * Theme isolation layer
 * ---------------------
 * The original dashboard CSS predates user-selectable themes and contains
 * decorative maroon values in component rules. Every alternate theme owns
 * the component chrome below so no signature-theme color can bleed through.
 */
body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) {
  --orange: var(--wtw-theme-hot);
  --gold: var(--wtw-theme-hot);
  --pink: var(--wtw-theme-hot);
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .latest-ticker > b,
  .video-copy span,
  .eyebrow,
  .eyebrow--pink,
  .eyebrow--orange,
  .eyebrow--gold,
  .channel-rail > header h2,
  .channel-rail b,
  .latest-editorial-header h2,
  .single-heading > span,
  .community-feed-title h2
) {
  background: var(--wtw-theme-accent-deep) !important;
  border-color: var(--wtw-theme-hot) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .video-center-control,
  .player-controls .deck-play
) {
  background: var(--wtw-theme-accent) !important;
  border-color: var(--wtw-theme-hot) !important;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--wtw-theme-hot) 13%, transparent), 0 14px 36px rgba(0, 0, 0, .42) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .video-center-control:hover,
  .video-center-control:focus-visible,
  .player-controls .deck-play:hover
) {
  background: var(--wtw-theme-hot) !important;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--wtw-theme-hot) 18%, transparent), 0 14px 38px rgba(0, 0, 0, .48) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .wtw-video-deck::before {
  background: repeating-linear-gradient(116deg, transparent 0 17px, color-mix(in srgb, var(--wtw-theme-hot) 8%, transparent) 18px, transparent 19px 35px) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .deck-status {
  background: var(--wtw-theme-accent-deep) !important;
  border-color: var(--wtw-theme-line) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .deck-meter i {
  background: var(--wtw-theme-hot) !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .deck-network b,
  .deck-state,
  .deck-state i,
  .player-controls .speed-control,
  .video-description summary span,
  .video-description a,
  .hero-album h2 small,
  .single-media-rail header span,
  .single-rail-current span,
  .channel-rail small,
  .latest-editorial-header label,
  .newsletter > small,
  .article-site-footer a
) {
  color: var(--wtw-theme-muted) !important;
  border-color: var(--wtw-theme-line) !important;
  text-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .deck-state i,
  .is-playing .deck-state i,
  .latest-ticker > b i,
  .broadcast-status i
) {
  background: var(--wtw-theme-hot) !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .hero-news h2,
  .playlist-panel > header h2,
  .hero-album header,
  .single-rail-player > header,
  .single-rail-album > header,
  .single-related > header,
  .video-share-dialog > header,
  .community-media-preview > header
) {
  background: var(--wtw-theme-accent-deep) !important;
  border-color: var(--wtw-theme-line) !important;
  color: #fff !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .hero-album,
  .hero-album-player,
  .video-share-dialog,
  .single-rail-player,
  .single-rail-album,
  .single-related,
  .share-menu,
  .community-emoji-picker,
  .community-inbox,
  .community-profile-tabs
) {
  background: var(--wtw-theme-panel) !important;
  background-image: none !important;
  border-color: var(--wtw-theme-line) !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .hero-album-cta,
  .video-share-copy,
  .community-join a,
  .community-profile-card button,
  .community-more,
  .community-comments button,
  .wtw-business-form button,
  .newsletter button,
  .audio-open,
  .audio-hub-source-link
) {
  background: var(--wtw-theme-accent) !important;
  background-image: none !important;
  border-color: var(--wtw-theme-hot) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .playlist-panel > header,
  .single-rail-current,
  .video-hub-heading,
  .audio-hub-heading,
  .broadcast-status
) {
  background: var(--wtw-theme-panel-2) !important;
  background-image: none !important;
  border-color: var(--wtw-theme-line) !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .playlist-item:hover,
  .playlist-item:focus-visible,
  .playlist-item.is-active,
  .single-rail-video:hover,
  .single-rail-video:focus-visible,
  .single-rail-video.is-active,
  .video-hub-upnext .video-hub-card:hover,
  .video-hub-card.is-active,
  .video-hub-upnext .video-hub-card:has(.video-card-select:focus-visible),
  .audio-track-card:hover,
  .audio-track-card.is-active
) {
  background: color-mix(in srgb, var(--wtw-theme-accent) 24%, var(--wtw-theme-panel)) !important;
  box-shadow: inset 4px 0 var(--wtw-theme-hot) !important;
  text-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .playlist-item:hover > strong,
  .playlist-item:focus-visible > strong,
  .playlist-item:hover .playlist-copy small,
  .playlist-item:focus-visible .playlist-copy small,
  .playlist-item:hover .playlist-more,
  .playlist-item:focus-visible .playlist-more
) {
  color: var(--wtw-theme-hot) !important;
  text-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .playlist-thumb::after,
  .video-hub-thumb i,
  .video-hub-card::after
) {
  background: linear-gradient(112deg, transparent 25%, color-mix(in srgb, #fff 20%, transparent) 46%, color-mix(in srgb, var(--wtw-theme-hot) 10%, transparent) 51%, transparent 68%) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .latest-dual-hero .story-card--lead:first-child::before,
  .latest-dual-hero .story-card--lead:last-child::before,
  .latest-card-image i
) {
  background: var(--wtw-theme-accent-deep) !important;
  border-color: var(--wtw-theme-hot) !important;
  color: #fff !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .latest-dual-hero .story-card--lead,
  .latest-card:hover,
  .audio-cover,
  .single-content .wp-block-embed-spotify iframe,
  .site-footer-rich,
  .header-advertise,
  .article-header-advertise
) {
  border-color: var(--wtw-theme-line) !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .playlist-pagination button,
  .latest-pagination button,
  .site-search-close,
  .site-search button,
  .video-description summary i,
  .visualizer-settings header button,
  .article-menu-toggle,
  .video-card-share,
  .single-rail-share,
  .community-composer-fields label,
  .community-composer-fields button,
  .community-emoji-toggle
) {
  background: var(--wtw-theme-accent-deep) !important;
  background-image: none !important;
  border-color: var(--wtw-theme-line) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .social-actions > button,
  .social-actions summary,
  .video-share-trigger,
  .video-share-networks a,
  .community-profile-actions button,
  .community-hero form button,
  .community-account-actions button
) {
  background: var(--wtw-theme-panel-2) !important;
  background-image: none !important;
  border-color: var(--wtw-theme-line) !important;
  color: var(--wtw-theme-text) !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .social-actions > button:hover,
  .social-actions summary:hover,
  .social-actions > button.liked,
  .video-share-trigger:hover,
  .video-share-trigger:focus-visible,
  .article-menu-toggle[aria-expanded="true"],
  .article-nav a:hover,
  .article-nav a:focus-visible,
  .share-menu a:hover,
  .share-menu button:hover
) {
  background: var(--wtw-theme-accent) !important;
  border-color: var(--wtw-theme-hot) !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .social-actions > button.liked svg,
  .single-content a,
  .community-post > footer button:hover,
  .community-post > footer button.active,
  .community-link-card span,
  .community-preview-link span,
  .community-media-preview > header span,
  .community-hero span,
  .community-join > span,
  .community-sidebar section > header span,
  .community-rules > span,
  .wtw-business-page > header span,
  .wtw-business-grid article b,
  .business-callouts span
) {
  color: var(--wtw-theme-hot) !important;
  fill: currentColor !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .community-avatar-fallback,
  .community-preview-link,
  .community-link-card,
  .wtw-business-page > header,
  .business-callouts > a,
  .business-callouts > a:nth-child(2)
) {
  background: var(--wtw-theme-panel-2) !important;
  background-image: none !important;
  border-color: var(--wtw-theme-line) !important;
}

body.wtw-community-enhanced .community-avatar-fallback {
  color: transparent !important;
  font-size: 0 !important;
  overflow: hidden;
  position: relative;
}

body.wtw-community-enhanced .community-avatar-fallback::before {
  background: var(--wtw-theme-muted);
  border-radius: 50%;
  content: "";
  height: 34%;
  left: 33%;
  opacity: .78;
  position: absolute;
  top: 18%;
  width: 34%;
}

body.wtw-community-enhanced .community-avatar-fallback::after {
  background: var(--wtw-theme-muted);
  border-radius: 52% 52% 20% 20%;
  bottom: 10%;
  content: "";
  height: 34%;
  left: 18%;
  opacity: .78;
  position: absolute;
  width: 64%;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .community-hero > img,
  .community-hero > .community-avatar-fallback,
  .community-profile-card > img,
  .community-profile-card > .community-avatar-fallback,
  .community-post.is-pinned,
  .community-feed-title,
  .community-profile-tabs,
  .community-inbox,
  .community-loading,
  .community-empty
) {
  border-color: var(--wtw-theme-line) !important;
  box-shadow: none !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .community-composer-head > select,
  .community-profile-form input,
  .community-profile-form textarea,
  .community-profile-form select,
  .video-hub-heading select,
  .pagination-jump input
) {
  background: var(--wtw-theme-panel-2) !important;
  border-color: var(--wtw-theme-line) !important;
  color: var(--wtw-theme-text) !important;
}

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .wtw-theme-swatch {
  border-color: color-mix(in srgb, var(--wtw-theme-text) 28%, transparent);
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

[data-site-theme="maroon"] .wtw-theme-swatch { background: linear-gradient(135deg, #10070b 50%, #9b1f3d 50%); }
[data-site-theme="blue"] .wtw-theme-swatch { background: linear-gradient(135deg, #07111d 50%, #3b83b5 50%); }
[data-site-theme="black"] .wtw-theme-swatch { background: linear-gradient(135deg, #020202 50%, #777 50%); }
[data-site-theme="light"] .wtw-theme-swatch { background: linear-gradient(135deg, #f5f1ea 50%, #646d74 50%); }
[data-site-theme="gray"] .wtw-theme-swatch { background: linear-gradient(135deg, #eef1f2 50%, #5f727d 50%); }

body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .west-release-card {
  box-shadow: inset 0 3px var(--wtw-theme-line) !important;
}

/* Community social experience */
body.wtw-community-enhanced {
  --community-radius: 16px;
  --community-shadow: 0 18px 48px rgba(0, 0, 0, .16);
}

body.wtw-community-enhanced .community-shell {
  display: block;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 90px;
}

body.wtw-community-enhanced .community-shell > main {
  display: grid;
  gap: 14px;
  width: 100%;
}

.community-social-toolbar {
  align-items: center;
  background: color-mix(in srgb, var(--wtw-theme-panel) 96%, transparent);
  border: 1px solid var(--wtw-theme-line);
  border-radius: var(--community-radius);
  box-shadow: var(--community-shadow);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  min-height: 92px;
  padding: 16px 18px;
}

.community-social-toolbar .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.community-social-brand {
  display: grid;
  min-width: 0;
}

.community-social-brand > span,
.community-people-strip header span,
.community-panel-header span {
  color: var(--wtw-theme-hot);
  font: 800 9px var(--font-body);
  letter-spacing: .18em;
}

.community-social-brand strong {
  color: var(--wtw-theme-text);
  font: 800 29px/.95 var(--font-display);
  text-transform: uppercase;
}

.community-social-brand small {
  color: var(--wtw-theme-muted);
  font-size: 11px;
  margin-top: 4px;
}

.community-social-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.community-feed-search input {
  background: var(--wtw-theme-panel-2) !important;
  border: 1px solid var(--wtw-theme-line) !important;
  border-radius: 999px;
  color: var(--wtw-theme-text) !important;
  height: 42px;
  min-width: 220px;
  padding: 0 16px;
}

.community-feed-search input:focus {
  border-color: var(--wtw-theme-hot) !important;
  outline: 3px solid color-mix(in srgb, var(--wtw-theme-hot) 16%, transparent);
}

.community-new-post,
.community-edit-profile,
.community-panel-toggle {
  border: 1px solid color-mix(in srgb, var(--wtw-theme-line) 82%, var(--wtw-theme-text));
  border-radius: 5px;
  cursor: pointer;
  height: 38px;
  padding: 0 13px;
  font: 800 9px var(--font-body);
  letter-spacing: .075em;
  text-transform: uppercase;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.community-new-post {
  background: var(--wtw-theme-accent);
  border-color: var(--wtw-theme-accent);
  color: #fff;
}

.community-panel-toggle {
  background: var(--wtw-theme-panel-2);
  color: var(--wtw-theme-text);
}

.community-edit-profile {
  background: color-mix(in srgb, var(--wtw-theme-panel-2) 86%, transparent);
  border-color: var(--wtw-theme-line);
  color: var(--wtw-theme-text);
}

.community-new-post:hover,
.community-edit-profile:hover,
.community-panel-toggle:hover {
  border-color: var(--wtw-theme-hot);
  background: color-mix(in srgb, var(--wtw-theme-hot) 14%, var(--wtw-theme-panel-2));
}

body.wtw-community-enhanced .community-hero.community-hero--compact {
  align-items: center;
  background: linear-gradient(120deg, var(--wtw-theme-accent-deep), var(--wtw-theme-panel) 68%);
  border: 1px solid var(--wtw-theme-line) !important;
  border-radius: var(--community-radius);
  box-shadow: var(--community-shadow) !important;
  gap: 20px;
  min-height: 154px;
  padding: 24px 28px;
}

body.wtw-community-enhanced .community-hero.community-hero--compact.has-cover {
  background-position: center !important;
  background-size: cover !important;
}

body.wtw-dashboard-theme.wtw-community-enhanced[data-wtw-theme] .community-hero.community-hero--compact.has-cover {
  border: 1px solid var(--wtw-theme-line) !important;
  box-shadow: var(--community-shadow) !important;
}

body.wtw-community-enhanced .community-hero.community-hero--compact > img,
body.wtw-community-enhanced .community-hero.community-hero--compact > .community-avatar-fallback {
  border: 3px solid color-mix(in srgb, var(--wtw-theme-hot) 70%, #fff);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--wtw-theme-hot) 12%, transparent) !important;
  flex-basis: 96px;
  height: 96px;
  width: 96px;
}

body.wtw-community-enhanced .community-hero.community-hero--compact h1 {
  color: var(--wtw-theme-text);
  font-size: clamp(36px, 6vw, 52px);
  margin: 4px 0;
}

body.wtw-community-enhanced .community-hero.community-hero--compact b {
  color: var(--wtw-theme-hot);
}

body.wtw-community-enhanced .community-hero.community-hero--compact p {
  color: var(--wtw-theme-muted) !important;
  font-size: 14px;
  margin-top: 6px;
}

.community-people-strip {
  background: var(--wtw-theme-panel);
  border: 1px solid var(--wtw-theme-line);
  border-radius: var(--community-radius);
  box-shadow: var(--community-shadow);
  overflow: hidden;
  padding: 15px 16px 17px;
}

.community-people-strip > header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.community-people-strip header > div {
  display: grid;
}

.community-people-strip header strong {
  color: var(--wtw-theme-text);
  font: 800 22px var(--font-display);
  text-transform: uppercase;
}

.community-people-strip header button {
  background: transparent;
  border: 0;
  color: var(--wtw-theme-hot);
  cursor: pointer;
  font: 800 9px var(--font-body);
  letter-spacing: .08em;
}

.community-people-strip > div {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.community-person-card {
  align-items: center;
  background: var(--wtw-theme-panel-2);
  border: 1px solid var(--wtw-theme-line);
  border-radius: 13px;
  display: grid !important;
  flex: 0 0 160px;
  gap: 7px !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  min-height: 64px;
  padding: 10px !important;
}

.community-person-card:hover {
  border-color: var(--wtw-theme-hot);
  transform: translateY(-1px);
}

.community-person-card > img,
.community-person-card > .community-avatar-fallback {
  height: 42px !important;
  width: 42px !important;
}

.community-person-card b,
.community-person-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.wtw-community-enhanced .community-composer.community-composer--social {
  background: var(--wtw-theme-panel) !important;
  border: 1px solid var(--wtw-theme-line) !important;
  border-radius: var(--community-radius);
  box-shadow: var(--community-shadow) !important;
  padding: 16px;
}

.community-composer--social .community-composer-head {
  margin-bottom: 10px;
}

.community-composer--social .community-composer-head img,
.community-composer--social .community-composer-head .community-avatar-fallback {
  border: 2px solid var(--wtw-theme-line);
  height: 46px;
  width: 46px;
}

.community-composer--social .community-composer-head b {
  color: var(--wtw-theme-text);
  font: 800 18px var(--font-display);
}

.community-composer--social .community-composer-head > select {
  background: var(--wtw-theme-panel-2) !important;
  border: 1px solid var(--wtw-theme-line) !important;
  border-radius: 999px;
  color: var(--wtw-theme-text) !important;
  height: 36px;
}

.community-composer--social textarea {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--wtw-theme-line) !important;
  color: var(--wtw-theme-text) !important;
  min-height: 104px;
  padding: 14px 54px 28px 4px;
  resize: none;
}

.community-composer--social textarea:focus {
  border-bottom-color: var(--wtw-theme-hot) !important;
  outline: 0;
}

.community-character-count {
  bottom: 7px;
  color: var(--wtw-theme-muted);
  font: 800 8px var(--font-body);
  letter-spacing: .06em;
  position: absolute;
  right: 50px;
}

.community-character-count.is-low {
  color: var(--wtw-theme-hot);
}

.community-composer--social .community-emoji-toggle {
  background: var(--wtw-theme-panel-2) !important;
  border-color: var(--wtw-theme-line) !important;
  bottom: 8px;
  height: 34px;
  width: 34px;
}

.community-composer--social .community-composer-fields {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin-top: 10px;
}

.community-composer--social .community-composer-fields input[type="url"] {
  background: var(--wtw-theme-panel-2) !important;
  border: 1px solid var(--wtw-theme-line) !important;
  border-radius: 999px;
  color: var(--wtw-theme-text) !important;
  height: 42px;
  padding-inline: 15px;
}

.community-composer--social .community-composer-fields label,
.community-composer--social .community-composer-fields button {
  border-radius: 999px;
  min-height: 42px;
  padding-inline: 17px;
}

.community-composer--social .community-composer-fields label {
  background: var(--wtw-theme-panel-2) !important;
  border-color: var(--wtw-theme-line) !important;
  color: var(--wtw-theme-text) !important;
}

.community-composer--social .community-composer-fields button {
  background: var(--wtw-theme-accent) !important;
  border-color: var(--wtw-theme-hot) !important;
  color: #fff !important;
  min-width: 86px;
}

.community-feed-filters {
  align-items: center;
  background: var(--wtw-theme-panel);
  border: 1px solid var(--wtw-theme-line);
  border-radius: 999px;
  display: flex;
  gap: 5px;
  min-height: 50px;
  padding: 5px;
}

.community-feed-filters button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--wtw-theme-muted);
  cursor: pointer;
  font: 800 10px var(--font-body);
  min-height: 38px;
  padding: 0 17px;
}

.community-feed-filters button:hover,
.community-feed-filters button.active {
  background: var(--wtw-theme-accent-deep);
  color: #fff;
}

.community-feed-filters > span {
  color: var(--wtw-theme-muted);
  font: 800 8px var(--font-body);
  letter-spacing: .13em;
  margin-left: auto;
  padding-right: 13px;
}

body.wtw-community-enhanced .community-feed-title {
  align-items: center;
  border: 0 !important;
  margin: 8px 2px 0;
}

body.wtw-community-enhanced .community-feed-title h2 {
  background: transparent !important;
  color: var(--wtw-theme-text) !important;
  font-size: 28px;
  padding: 6px 0 !important;
}

body.wtw-community-enhanced .community-feed-title span {
  color: var(--wtw-theme-muted) !important;
  padding: 0 !important;
}

body.wtw-community-enhanced .community-post {
  background: var(--wtw-theme-panel) !important;
  border: 1px solid var(--wtw-theme-line) !important;
  border-radius: var(--community-radius);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .12);
  color: var(--wtw-theme-text) !important;
  overflow: hidden;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}

body.wtw-community-enhanced .community-post:hover {
  border-color: color-mix(in srgb, var(--wtw-theme-hot) 58%, var(--wtw-theme-line)) !important;
  box-shadow: var(--community-shadow);
  transform: translateY(-1px);
}

body.wtw-community-enhanced .community-post.is-pinned {
  box-shadow: inset 3px 0 var(--wtw-theme-hot), 0 12px 34px rgba(0, 0, 0, .12) !important;
}

body.wtw-community-enhanced .community-post > header {
  border-bottom: 0;
  gap: 12px;
  padding: 16px 18px 8px;
}

body.wtw-community-enhanced .community-post > header img,
body.wtw-community-enhanced .community-post > header .community-avatar-fallback {
  border: 2px solid var(--wtw-theme-line);
  height: 50px;
  width: 50px;
}

body.wtw-community-enhanced .community-post > header b {
  color: var(--wtw-theme-text);
  font-size: 14px;
}

body.wtw-community-enhanced .community-post > header span {
  color: var(--wtw-theme-muted) !important;
  font-size: 10px;
}

body.wtw-community-enhanced .community-post > header > button {
  border-radius: 50%;
  font-size: 15px;
  height: 36px;
  width: 36px;
}

body.wtw-community-enhanced .community-post > header > button:hover {
  background: var(--wtw-theme-panel-2);
  color: var(--wtw-theme-text);
}

body.wtw-community-enhanced .community-post-copy {
  color: var(--wtw-theme-text) !important;
  font-size: 15px;
  line-height: 1.65;
  padding: 8px 18px 16px;
}

body.wtw-community-enhanced .community-post-image,
body.wtw-community-enhanced .community-media-preview {
  border-color: var(--wtw-theme-line) !important;
}

body.wtw-community-enhanced .community-post > footer {
  background: color-mix(in srgb, var(--wtw-theme-panel-2) 60%, transparent);
  border-top: 1px solid var(--wtw-theme-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px;
}

body.wtw-community-enhanced .community-post-action {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px;
  color: var(--wtw-theme-muted) !important;
  display: flex;
  font: 800 10px var(--font-body);
  gap: 7px;
  justify-content: center;
  min-height: 42px;
}

body.wtw-community-enhanced .community-post-action:hover,
body.wtw-community-enhanced .community-post-action.active {
  background: color-mix(in srgb, var(--wtw-theme-accent) 18%, transparent) !important;
  color: var(--wtw-theme-hot) !important;
}

body.wtw-community-enhanced .community-comments {
  background: var(--wtw-theme-panel-2);
  border-top: 1px solid var(--wtw-theme-line);
  padding: 14px 18px 18px;
}

body.wtw-community-enhanced .community-comments > div {
  border-radius: 12px;
  padding: 9px;
}

body.wtw-community-enhanced .community-comments form input {
  background: var(--wtw-theme-panel) !important;
  border: 1px solid var(--wtw-theme-line) !important;
  border-radius: 999px;
  color: var(--wtw-theme-text) !important;
  min-height: 42px;
  padding-inline: 15px;
}

.community-post--filtered {
  display: none !important;
}

.community-filter-empty {
  background: var(--wtw-theme-panel);
  border: 1px dashed var(--wtw-theme-line);
  border-radius: var(--community-radius);
  color: var(--wtw-theme-muted);
  padding: 28px;
  text-align: center;
}

body.wtw-community-enhanced .community-sidebar {
  background: var(--wtw-theme-bg);
  border-left: 1px solid var(--wtw-theme-line);
  box-shadow: -24px 0 80px rgba(0, 0, 0, .35);
  display: grid;
  gap: 12px;
  grid-auto-rows: max-content;
  height: 100dvh;
  max-width: 100%;
  overflow-y: auto;
  padding: 76px 16px 28px;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%) !important;
  transition: transform .26s ease, visibility .26s;
  visibility: hidden;
  width: min(430px, 100vw);
  z-index: 100002;
}

body.community-panel-open .community-sidebar {
  pointer-events: auto;
  transform: none !important;
  visibility: visible;
}

body.admin-bar.wtw-community-enhanced .community-sidebar {
  height: calc(100dvh - 32px);
  top: 32px;
}

.community-panel-backdrop {
  background: rgba(0, 0, 0, .68);
  border: 0;
  cursor: pointer;
  display: block;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity .22s;
  z-index: 100001;
}

body.community-panel-open {
  overflow: hidden;
}

body.community-panel-open .community-shell {
  z-index: 1000;
}

body.community-panel-open .community-panel-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.community-panel-header {
  align-items: center;
  background: color-mix(in srgb, var(--wtw-theme-bg) 94%, transparent);
  border-bottom: 1px solid var(--wtw-theme-line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 64px;
  padding: 10px 16px;
  position: absolute;
  right: 0;
  top: 0;
}

.community-panel-header > div {
  display: grid;
}

.community-panel-header strong {
  color: var(--wtw-theme-text);
  font: 800 24px var(--font-display);
  text-transform: uppercase;
}

.community-panel-header button {
  background: var(--wtw-theme-panel-2);
  border: 1px solid var(--wtw-theme-line);
  border-radius: 50%;
  color: var(--wtw-theme-text);
  cursor: pointer;
  font-size: 25px;
  height: 40px;
  width: 40px;
}

body.wtw-community-enhanced .community-sidebar > section {
  background: var(--wtw-theme-panel) !important;
  border: 1px solid var(--wtw-theme-line) !important;
  border-radius: 14px;
  box-shadow: none !important;
  overflow: hidden;
}

body.wtw-community-enhanced .community-profile-card {
  padding: 22px;
}

body.wtw-community-enhanced .community-profile-form {
  gap: 10px;
}

.community-profile-upload {
  align-items: center;
  background: var(--wtw-theme-panel-2);
  border: 1px solid var(--wtw-theme-line);
  border-radius: 12px;
  cursor: pointer;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 78px;
  padding: 10px !important;
  position: relative;
}

.community-profile-upload:hover {
  border-color: var(--wtw-theme-hot);
}

.community-profile-upload-preview {
  background-color: var(--wtw-theme-panel);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid var(--wtw-theme-line);
  border-radius: 50%;
  display: block;
  height: 56px;
  width: 56px;
}

.community-profile-upload--header .community-profile-upload-preview {
  border-radius: 7px;
}

.community-profile-upload-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.community-profile-upload-copy b {
  color: var(--wtw-theme-text);
  font: 800 12px var(--font-body);
}

.community-profile-upload-copy small {
  color: var(--wtw-theme-muted);
  font-size: 10px;
  line-height: 1.35;
}

.community-profile-upload input[type="file"] {
  height: 1px !important;
  left: 0;
  opacity: 0 !important;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 1px !important;
}

.community-profile-form button[type="submit"] {
  min-height: 48px;
}

.community-profile-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: .68;
}

.community-profile-save-status {
  background: color-mix(in srgb, var(--wtw-theme-accent) 16%, var(--wtw-theme-panel));
  border: 1px solid var(--wtw-theme-line);
  border-radius: 9px;
  color: var(--wtw-theme-text) !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  padding: 10px 11px;
  text-align: left;
}

.community-profile-save-status:empty {
  display: none;
}

.community-profile-save-status.is-error {
  background: color-mix(in srgb, #b3263e 18%, var(--wtw-theme-panel));
  border-color: #b3263e;
}

body.wtw-community-enhanced .community-sidebar section > header {
  background: var(--wtw-theme-accent-deep) !important;
  border-color: var(--wtw-theme-line) !important;
}

.community-floating-post {
  background: var(--wtw-theme-accent);
  border: 1px solid var(--wtw-theme-hot);
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  color: #fff;
  cursor: pointer;
  font: 400 31px/1 var(--font-body);
  height: 58px;
  position: fixed;
  right: 24px;
  width: 58px;
  z-index: 900;
}

.community-floating-post:hover {
  background: var(--wtw-theme-hot);
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 900px) {
  body.wtw-community-enhanced .community-shell {
    width: min(100% - 20px, 760px);
    padding-top: 12px;
  }

  .community-social-toolbar {
    align-items: stretch;
    display: grid;
    gap: 12px;
  }

  .community-social-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  }

  .community-feed-search input {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 782px) {
  body.admin-bar.wtw-community-enhanced .community-sidebar {
    height: calc(100dvh - 46px);
    top: 46px;
  }
}

@media (max-width: 620px) {
  body.wtw-community-enhanced .community-shell {
    width: calc(100% - 12px);
  }

  .community-social-toolbar,
  .community-people-strip,
  body.wtw-community-enhanced .community-composer.community-composer--social,
  body.wtw-community-enhanced .community-post,
  body.wtw-community-enhanced .community-hero.community-hero--compact {
    border-radius: 12px;
  }

  .community-social-actions {
    grid-template-columns: 1fr 1fr;
  }

  .community-feed-search {
    grid-column: 1 / -1;
  }

  .community-new-post,
  .community-edit-profile,
  .community-panel-toggle {
    width: 100%;
  }

  .community-panel-toggle {
    grid-column: 1 / -1;
  }

  body.wtw-community-enhanced .community-hero.community-hero--compact {
    align-items: center;
    gap: 13px;
    min-height: 124px;
    padding: 18px 14px;
  }

  body.wtw-community-enhanced .community-hero.community-hero--compact > img,
  body.wtw-community-enhanced .community-hero.community-hero--compact > .community-avatar-fallback {
    flex-basis: 72px;
    height: 72px;
    width: 72px;
  }

  body.wtw-community-enhanced .community-hero.community-hero--compact h1 {
    font-size: 34px;
  }

  body.wtw-community-enhanced .community-hero.community-hero--compact p {
    display: none;
  }

  .community-composer--social .community-composer-fields {
    grid-template-columns: 1fr 1fr;
  }

  .community-composer--social .community-composer-fields input[type="url"] {
    grid-column: 1 / -1;
  }

  .community-feed-filters {
    border-radius: 12px;
    overflow-x: auto;
  }

  .community-feed-filters button {
    flex: none;
  }

  .community-feed-filters > span {
    display: none;
  }

  body.wtw-community-enhanced .community-feed-title span {
    display: none;
  }

  body.wtw-community-enhanced .community-post > footer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.wtw-community-enhanced .community-post-action {
    font-size: 0;
  }

  body.wtw-community-enhanced .community-post-action svg {
    height: 21px;
    width: 21px;
  }

  .community-floating-post {
    display: none;
  }
}

/* Final player-chrome isolation. The video image stays untouched, while every
   control, queue, status strip and description panel follows its own theme. */
html body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .hero-player,
  .playlist-panel,
  .video-hub-player,
  .video-hub-queue,
  .single-rail-player,
  .player-controls,
  .video-description
) {
  background: var(--wtw-theme-panel) !important;
  background-image: none !important;
  border-color: var(--wtw-theme-line) !important;
  color: var(--wtw-theme-text) !important;
}

html body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .player-controls button,
  .player-controls .skip-control,
  .player-controls .skip-control small,
  .player-controls .speed-control,
  .player-controls .fullscreen-control small,
  .deck-timeline time,
  .deck-timeline time i,
  .video-description summary,
  .video-description summary b,
  .video-description p,
  .playlist-item,
  .playlist-item > strong,
  .playlist-copy b
) {
  color: var(--wtw-theme-text) !important;
  text-shadow: none !important;
}

html body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .playlist-copy small,
  .playlist-more,
  .video-description summary span,
  .video-description a
) {
  color: var(--wtw-theme-muted) !important;
}

html body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .player-controls .speed-control,
  .player-controls .fullscreen-control,
  .video-description,
  .video-description > div,
  .playlist-item
) {
  border-color: var(--wtw-theme-line) !important;
}

html body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) :is(
  .video-description summary i,
  .video-description[open] summary i
) {
  background: var(--wtw-theme-accent-deep) !important;
  border-color: var(--wtw-theme-line) !important;
  color: #fff !important;
}

html body.wtw-dashboard-theme[data-wtw-theme]:not([data-wtw-theme="maroon"]) .video-center-control small {
  color: #fff !important;
}

/* Light-surface themes use light queue and transport chrome as well. Keep the
   title drawn over the video white so footage remains readable. */
html body.wtw-dashboard-theme:is([data-wtw-theme="light"], [data-wtw-theme="gray"]) :is(
  .hero-player,
  .playlist-panel,
  .video-hub-player,
  .video-hub-queue,
  .single-rail-player,
  .player-controls,
  .video-description,
  .playlist-item
) {
  --text: var(--wtw-theme-text);
  --muted: var(--wtw-theme-muted);
  --panel: var(--wtw-theme-panel);
  --panel-2: var(--wtw-theme-panel-2);
  background: var(--wtw-theme-panel) !important;
  background-image: none !important;
  color: var(--wtw-theme-text) !important;
}

html body.wtw-dashboard-theme:is([data-wtw-theme="light"], [data-wtw-theme="gray"]) :is(
  .playlist-panel h2,
  .playlist-item > strong,
  .playlist-copy b,
  .playlist-copy span,
  .player-controls button,
  .player-controls .skip-control,
  .deck-timeline time,
  .video-description summary,
  .video-description p
) {
  color: var(--wtw-theme-text) !important;
}

html body.wtw-dashboard-theme:is([data-wtw-theme="light"], [data-wtw-theme="gray"]) :is(
  .playlist-copy small,
  .playlist-more,
  .skip-control small,
  .fullscreen-control small,
  .video-description summary b
) {
  color: var(--wtw-theme-muted) !important;
}

html body.wtw-dashboard-theme:is([data-wtw-theme="light"], [data-wtw-theme="gray"]) .video-stage :is(
  .video-copy,
  .video-copy h1,
  .video-copy span,
  .video-center-control,
  .video-center-control small
) {
  color: #fff !important;
}

html body.wtw-dashboard-theme:is([data-wtw-theme="light"], [data-wtw-theme="gray"]) .player-controls .deck-play {
  color: #fff !important;
}

.wtw-favorite-target { position: relative !important; }
.wtw-favorite-toggle {
  color: var(--wtw-theme-text);
  background: color-mix(in srgb, var(--wtw-theme-panel) 88%, transparent) !important;
  border: 1px solid var(--wtw-theme-line) !important;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 0 10px;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 4;
}
.wtw-favorite-toggle span { color: var(--wtw-theme-hot); font-size: 18px; line-height: 1; }
.wtw-favorite-toggle b { font: 800 9px var(--font-body); letter-spacing: .08em; }
.wtw-favorite-toggle:hover, .wtw-favorite-toggle.is-saved { border-color: var(--wtw-theme-hot) !important; background: color-mix(in srgb, var(--wtw-theme-accent) 34%, var(--wtw-theme-panel)) !important; }
.wtw-favorite-toggle.is-saved span { font-size: 0; }
.wtw-favorite-toggle.is-saved span::after { content: '★'; font-size: 18px; }

.wtw-favorites-access {
  color: var(--wtw-theme-text);
  background: transparent !important;
  border: 0 !important;
  cursor: pointer;
  align-items: center;
  gap: 5px;
  display: inline-flex;
  padding: 8px;
}
.wtw-favorites-access > span { color: var(--wtw-theme-hot); font-size: 18px; line-height: 1; }
.wtw-favorites-access b { font: 800 10px var(--font-display); letter-spacing: .08em; }
.wtw-favorites-access i { color: var(--wtw-theme-text); background: var(--wtw-theme-accent); border-radius: 999px; font: 800 9px var(--font-body); font-style: normal; min-width: 16px; padding: 2px 5px; }

.wtw-favorites-modal { z-index: 100100; background: rgba(0, 0, 0, .7); backdrop-filter: blur(9px); inset: 0; padding: 24px; place-items: center; position: fixed; }
.wtw-favorites-modal:not([hidden]) { display: grid; }
.wtw-favorites-dialog { background: var(--wtw-theme-panel); border: 1px solid var(--wtw-theme-line); box-shadow: 0 30px 90px rgba(0, 0, 0, .62); max-height: min(720px, calc(100vh - 48px)); overflow: auto; width: min(600px, 100%); }
.wtw-favorites-dialog > header { border-bottom: 1px solid var(--wtw-theme-line); display: flex; justify-content: space-between; padding: 20px; }
.wtw-favorites-dialog header span { color: var(--wtw-theme-hot); font: 800 9px var(--font-body); letter-spacing: .16em; }
.wtw-favorites-dialog h2 { color: var(--wtw-theme-text); font: 800 34px/.9 var(--font-display); margin: 5px 0 0; text-transform: uppercase; }
.wtw-favorites-dialog header button { color: var(--wtw-theme-text); background: transparent; border: 0; cursor: pointer; font-size: 26px; }
.wtw-favorites-empty { color: var(--wtw-theme-muted); line-height: 1.55; margin: 0; padding: 26px 20px; }
.wtw-favorite-entry { align-items: center; border-bottom: 1px solid var(--wtw-theme-line); cursor: pointer; display: flex; gap: 12px; justify-content: space-between; padding: 15px 20px; transition: background .18s ease, box-shadow .18s ease; }
.wtw-favorite-entry:hover, .wtw-favorite-entry:focus-visible { background: var(--wtw-theme-panel-2); box-shadow: inset 3px 0 var(--wtw-theme-hot); outline: 0; }
.wtw-favorite-entry a { display: grid; flex: 1; gap: 4px; min-width: 0; text-decoration: none; }
.wtw-favorite-entry small { color: var(--wtw-theme-hot); font: 800 9px var(--font-body); letter-spacing: .12em; }
.wtw-favorite-entry strong { color: var(--wtw-theme-text); display: -webkit-box; font: 700 15px/1.3 var(--font-body); overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wtw-favorite-entry button { align-items: center; background: transparent; border: 1px solid var(--wtw-theme-line); border-radius: 50%; color: var(--wtw-theme-hot); cursor: pointer; display: flex; flex: 0 0 38px; font-size: 18px; height: 38px; justify-content: center; padding: 0; width: 38px; }
.wtw-favorite-entry button:hover { background: var(--wtw-theme-hot); color: var(--wtw-theme-bg); }

/* Community-only rail: use the wide-screen space without changing the main
   site layout or bringing back the old permanent account panel. */
.wtw-community-sidecar { display: none; }

@media (min-width: 1280px) {
  body.wtw-community-enhanced .community-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 920px) 280px;
    align-items: start;
    gap: 28px;
    width: min(1535px, calc(100% - 48px));
  }
  body.wtw-community-enhanced .community-shell > main { grid-column: 2; }
  .wtw-community-sidecar { align-items: stretch; box-sizing: border-box; display: flex; flex-direction: column; gap: 18px; max-height: calc(100vh - 154px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 0 4px 24px 0; position: sticky; scrollbar-color: var(--wtw-theme-line) transparent; scrollbar-width: thin; top: 136px; }
  .wtw-community-sidecar--left { grid-column: 1; grid-row: 1; }
  .wtw-community-sidecar--right { grid-column: 3; grid-row: 1; }
  .wtw-community-ad-square, .wtw-community-media-rail {
    background: color-mix(in srgb, var(--wtw-theme-panel) 94%, transparent);
    border: 1px solid var(--wtw-theme-line);
    border-radius: 3px;
    box-shadow: 0 20px 54px rgba(0, 0, 0, .28);
    overflow: hidden;
    flex: 0 0 auto;
  }
  .wtw-community-ad-square {
    color: var(--wtw-theme-text);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    padding: 18px;
    position: relative;
    text-align: center;
  }
  .wtw-community-ad-square::before { background: radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--wtw-theme-hot) 26%, transparent), transparent 58%); content: ''; inset: 0; pointer-events: none; position: absolute; }
  .wtw-community-ad-square > * { position: relative; }
  .wtw-community-ad-square img { display: block; height: auto; margin: 0 auto; max-width: 100%; }
  .wtw-community-ad-square span { color: var(--wtw-theme-text); font: 800 22px/.95 var(--font-display); text-transform: uppercase; }
  .wtw-community-ad-square small { color: var(--wtw-theme-muted); font: 700 10px var(--font-body); }
  .wtw-community-media-rail > header { align-items: center; border-bottom: 1px solid var(--wtw-theme-line); display: flex; gap: 12px; justify-content: flex-end; padding: 12px 14px; }
  .wtw-community-media-rail header strong { color: var(--wtw-theme-text); font: 800 27px/.9 var(--font-display); text-transform: uppercase; }
  .wtw-community-rail-sort { border: 1px solid var(--wtw-theme-line); display: inline-grid; grid-template-columns: 1fr 1fr; margin-left: auto; padding: 2px; }
  .wtw-community-rail-sort button { background: transparent; border: 0; color: var(--wtw-theme-muted); cursor: pointer; font: 800 8px var(--font-body); letter-spacing: .09em; min-height: 25px; padding: 0 7px; text-transform: uppercase; }
  .wtw-community-rail-sort button.is-active { background: var(--wtw-theme-text); color: var(--wtw-theme-bg); }
  .wtw-community-rail-sort button:not(.is-active):hover { color: var(--wtw-theme-text); }
  .wtw-community-media-rail > div { display: grid; gap: 18px; padding: 14px; }
  .wtw-community-media-card { background: transparent; border: 0; color: inherit; cursor: pointer; display: grid; font: inherit; gap: 8px; padding: 0; text-align: left; width: 100%; }
  .wtw-community-media-art { aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--wtw-theme-surface) 88%, #000); display: grid; overflow: hidden; place-items: center; position: relative; }
  .wtw-community-media-art img { height: 100%; object-fit: cover; transition: transform .25s ease; width: 100%; }
  .wtw-community-media-card:hover .wtw-community-media-art img { transform: scale(1.04); }
  .wtw-community-media-art i { background: rgba(0,0,0,.74); border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: #fff; font-size: 13px; font-style: normal; height: 34px; line-height: 32px; padding-left: 2px; position: absolute; text-align: center; width: 34px; }
  .wtw-community-media-card small { color: var(--wtw-theme-hot); font: 800 8px var(--font-body); letter-spacing: .12em; }
  .wtw-community-media-card b { color: var(--wtw-theme-text); font: 700 13px/1.25 var(--font-body); }
  .wtw-community-media-rail p { color: var(--wtw-theme-muted); font-size: 12px; line-height: 1.5; margin: 0; }
  .wtw-community-rail-link { border-top: 1px solid var(--wtw-theme-line); color: var(--wtw-theme-text); font: 800 10px var(--font-body); letter-spacing: .08em; padding: 13px 14px; }
}

.wtw-detached-player { animation: wtw-player-rise .32s cubic-bezier(.2,.8,.2,1) both; background: var(--wtw-theme-panel, #080808); border: 1px solid var(--wtw-theme-line, #444); bottom: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.55); color: var(--wtw-theme-text, #fff); max-width: calc(100vw - 32px); position: fixed; right: 24px; width: min(520px, calc(100vw - 32px)); z-index: 100000; }
.wtw-detached-player.is-closing { animation: wtw-player-drop .24s ease-in both; pointer-events: none; }
.wtw-detached-player-bar { align-items: center; background: color-mix(in srgb, var(--wtw-theme-surface, #141414) 92%, #000); display: grid; gap: 10px; grid-template-columns: auto 1fr auto; min-height: 42px; padding: 0 10px; user-select: none; }
.wtw-detached-player-bar strong { font: 800 12px var(--font-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtw-detached-grip { color: var(--wtw-theme-hot, #ddd); font-size: 9px; }
.wtw-detached-player-bar button { background: transparent; border: 0; color: var(--wtw-theme-text, #fff); cursor: pointer; font-size: 25px; line-height: 1; padding: 2px 4px; }
.wtw-detached-player-body { background: #050505; height: auto !important; line-height: 0; min-height: 0 !important; }
.wtw-detached-player-body iframe { aspect-ratio: 16 / 9; border: 0; display: block; height: min(56.25vw, 293px) !important; max-height: 70vh; min-height: 0 !important; width: 100%; }
.wtw-detached-player-body iframe[src*="spotify.com"] { aspect-ratio: auto; background: #121212; height: 352px !important; }
.wtw-detached-player-body iframe[src*="soundcloud.com"] { aspect-ratio: auto; height: 166px !important; }
.wtw-detached-player-body video { display: block; max-height: 70vh; width: 100%; }
.wtw-detached-audio { display: grid; gap: 15px; min-height: 180px; padding: 28px; place-content: center; }
.wtw-detached-audio span { color: var(--wtw-theme-hot, #e7ac40); font: 800 10px var(--font-body); letter-spacing: .14em; }
.wtw-detached-audio strong { font: 800 24px/1 var(--font-display); text-transform: uppercase; }
.wtw-detached-audio small { color: var(--wtw-theme-muted, #aaa); }
.wtw-detached-audio audio { width: 100%; }
.wtw-detach-anchor { position: relative; }
.wtw-detach-inline { background: rgba(0,0,0,.82); border: 1px solid rgba(255,255,255,.56); color: #fff; cursor: pointer; font: 800 9px var(--font-body); letter-spacing: .08em; padding: 7px 9px; position: absolute; right: 8px; top: 8px; z-index: 4; }
.wtw-detach-inline:hover { background: var(--wtw-theme-accent, #8b1836); }
.wtw-persistent-site-frame { background: var(--wtw-theme-bg, #000); border: 0; height: 100dvh; inset: 0; position: fixed; width: 100%; z-index: 99990; }
body.wtw-persistent-site-active { overflow: hidden !important; }
@keyframes wtw-player-rise { from { opacity: 0; transform: translateY(calc(100% + 32px)); } to { opacity: 1; transform: translateY(0); } }
@keyframes wtw-player-drop { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(calc(100% + 32px)); } }

/* Community shares reuse the polished site share sheet while showing the
   exact media that social crawlers receive from the permanent post URL. */
.community-share-feature { aspect-ratio: 16 / 8; background: #020203; border: 1px solid var(--wtw-theme-line, #40202a); margin: 0 22px 16px; overflow: hidden; }
.community-share-feature img { height: 100%; object-fit: cover; width: 100%; }
.community-share-dialog .video-share-networks a > b { color: var(--network-color, #fff); font: 900 22px/1 var(--font-body); text-transform: none; }
.community-share-dialog .video-share-networks .share-facebook { --network-color: #1877f2; }
.community-share-dialog .video-share-networks .share-whatsapp { --network-color: #25d366; }
.community-share-dialog .video-share-networks .share-telegram { --network-color: #229ed9; }
.community-share-dialog .video-share-networks .share-reddit { --network-color: #ff4500; }
.community-share-dialog .video-share-networks .share-linkedin { --network-color: #0a66c2; }
.community-post--shared-target { border-color: var(--wtw-theme-hot, #e23c59) !important; box-shadow: 0 0 0 2px color-mix(in srgb, var(--wtw-theme-hot, #e23c59) 35%, transparent), 0 18px 52px #0009 !important; }

/* Keep long featured-video headlines editorial instead of billboard-sized. */
.video-copy h1 { font-size: clamp(24px, 2.05vw, 38px) !important; line-height: 1.02 !important; max-width: 78% !important; }

/* Theme-aware YouTube transport for videos shared inside Community posts. */
.wtw-community-video-player { background: #020203; overflow: hidden; }
.wtw-community-video-player iframe { position: absolute; inset: 0; }
.wtw-community-video-controls {
  align-items: center;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--wtw-theme-bg, #050505) 96%, transparent) 36%);
  bottom: 0;
  display: grid;
  gap: 9px;
  grid-template-columns: 42px 38px minmax(80px, 1fr) 42px 42px 42px;
  left: 0;
  min-height: 64px;
  opacity: 0;
  padding: 19px 12px 8px;
  pointer-events: none;
  position: absolute;
  right: 0;
  transition: opacity .2s ease;
  z-index: 6;
}
.wtw-community-video-player.is-ready .wtw-community-video-controls { opacity: 1; pointer-events: auto; }
.wtw-community-video-controls button {
  background: color-mix(in srgb, var(--wtw-theme-panel, #101114) 90%, transparent);
  border: 1px solid var(--wtw-theme-line, #40202a);
  color: var(--wtw-theme-text, #fff);
  cursor: pointer;
  height: 38px;
  padding: 0;
}
.wtw-community-video-controls button:hover,
.wtw-community-video-controls button:focus-visible { border-color: var(--wtw-theme-hot, #e23c59); color: var(--wtw-theme-hot, #e23c59); outline: none; }
.wtw-community-video-controls time { color: #fff; font: 800 9px var(--font-body); text-align: center; }
.wtw-community-video-timeline { accent-color: var(--wtw-theme-hot, #e23c59); cursor: pointer; min-width: 0; width: 100%; }
.wtw-community-video-center {
  align-content: center;
  background: color-mix(in srgb, var(--wtw-theme-accent, #7b1631) 90%, #000) !important;
  border: 1px solid color-mix(in srgb, var(--wtw-theme-hot, #e23c59) 75%, #fff) !important;
  border-radius: 50%;
  color: #fff !important;
  cursor: pointer;
  display: grid;
  height: 76px;
  justify-items: center;
  left: 50%;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease, transform .2s ease;
  width: 76px;
  z-index: 5;
}
.wtw-community-video-player.is-ready .wtw-community-video-center { opacity: 1; }
.wtw-community-video-player.is-playing .wtw-community-video-center { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.88); }
.wtw-community-video-center span { font-size: 22px; line-height: 1; }
.wtw-community-video-center small { font: 800 8px var(--font-body); letter-spacing: .12em; margin-top: 5px; }
.wtw-community-video-player > .wtw-detach-inline { border-color: var(--wtw-theme-line); background: color-mix(in srgb, var(--wtw-theme-panel) 92%, transparent); z-index: 8; }
.community-post .wtw-detach-inline { display: none !important; }
.wtw-community-video-player:fullscreen { aspect-ratio: auto; height: 100%; width: 100%; }
.wtw-community-video-player:fullscreen iframe { height: 100%; width: 100%; }

/* Owner controls for Community posts. */
.community-post > header > .wtw-community-post-owner-menu { display: block !important; flex: 0 0 auto !important; margin-left: 0; min-width: 0 !important; position: relative; width: auto !important; z-index: 20; }
.wtw-community-post-owner-toggle { align-items: center; background: var(--wtw-theme-panel-2, #111) !important; border: 1px solid var(--wtw-theme-line, #333) !important; border-radius: 18px; color: var(--wtw-theme-text, #fff) !important; cursor: pointer; display: flex !important; flex: 0 0 40px !important; font: 900 12px var(--font-body) !important; height: 34px; justify-content: center; letter-spacing: 2px; max-width: 40px !important; min-width: 40px !important; padding: 0 7px 3px 9px !important; width: 40px !important; }
.wtw-community-post-owner-toggle:hover,
.wtw-community-post-owner-toggle[aria-expanded="true"] { border-color: var(--wtw-theme-hot, #e23c59) !important; }
.community-post > header .wtw-community-post-owner-menu > div[hidden] { display: none !important; }
.community-post > header .wtw-community-post-owner-menu > div { background: var(--wtw-theme-panel, #09090b); border: 1px solid var(--wtw-theme-line, #333); border-radius: 7px; box-shadow: 0 18px 44px #000d; flex: none !important; min-width: 164px !important; padding: 6px !important; position: absolute; right: 0; top: calc(100% + 7px); width: 164px !important; z-index: 40; }
.community-post > header .wtw-community-post-owner-menu > div button { align-items: center; background: transparent !important; border: 0 !important; border-radius: 4px; color: var(--wtw-theme-text, #fff); cursor: pointer; display: flex !important; font: 800 9px var(--font-body) !important; justify-content: flex-start; letter-spacing: .08em; min-height: 38px; padding: 0 10px !important; text-align: left; width: 100%; }
.community-post > header .wtw-community-post-owner-menu > div button:hover { background: var(--wtw-theme-panel-2, #151515) !important; color: var(--wtw-theme-hot, #e23c59); }
.wtw-community-post-owner-menu [data-wtw-delete-post],
.wtw-community-post-owner-menu [data-wtw-remove-post-image] { border-top: 1px solid var(--wtw-theme-line, #333); }
.community-post > header .wtw-community-post-owner-menu [data-wtw-delete-post] { color: #ff6d82; }
.community-post > header > .wtw-community-favorite-inline { align-items: center; background: transparent !important; border: 1px solid var(--wtw-theme-line, #333) !important; border-radius: 18px; display: flex !important; flex: 0 0 38px; height: 34px; justify-content: center; min-width: 38px; padding: 0 !important; position: static !important; width: 38px; }
.community-post > header > .wtw-community-favorite-inline span { color: var(--wtw-theme-hot, #e23c59); font-size: 18px; }
.community-post > header > .wtw-community-favorite-inline b { display: none; }

.wtw-community-post-editor { align-items: center; backdrop-filter: blur(10px); background: rgba(0,0,0,.82); display: flex; inset: 0; justify-content: center; padding: 18px; position: fixed; z-index: 250000; }
.wtw-community-post-editor[hidden] { display: none; }
.wtw-community-post-editor-dialog { background: var(--wtw-theme-panel, #08090b); border: 1px solid var(--wtw-theme-line, #333); box-shadow: 0 30px 100px #000; color: var(--wtw-theme-text, #fff); max-height: calc(100dvh - 36px); overflow: auto; width: min(620px, 100%); }
.wtw-community-post-editor-dialog > header { align-items: center; background: var(--wtw-theme-accent-deep, #1b1b1b); border-bottom: 1px solid var(--wtw-theme-line, #333); display: flex; justify-content: space-between; padding: 18px 20px; }
.wtw-community-post-editor-dialog header small { color: var(--wtw-theme-hot, #e23c59); font: 800 9px var(--font-body); letter-spacing: .16em; }
.wtw-community-post-editor-dialog h2 { font: 800 30px/1 var(--font-display); margin: 3px 0 0; text-transform: uppercase; }
.wtw-community-post-editor-dialog header button { background: transparent; border: 0; color: var(--wtw-theme-text, #fff); cursor: pointer; font-size: 28px; }
.wtw-community-post-editor-dialog form { display: grid; gap: 16px; padding: 20px; }
.wtw-community-post-editor-fields { display: grid; gap: 13px; }
.wtw-community-post-editor-fields label { color: var(--wtw-theme-muted, #aaa); display: grid; font: 800 9px var(--font-body); gap: 7px; letter-spacing: .1em; }
.wtw-community-post-editor-fields textarea,
.wtw-community-post-editor-fields input,
.wtw-community-post-editor-fields select { background: var(--wtw-theme-bg, #050505); border: 1px solid var(--wtw-theme-line, #333); color: var(--wtw-theme-text, #fff); font: 500 14px var(--font-body); padding: 13px; width: 100%; }
.wtw-community-post-editor-fields textarea { min-height: 150px; resize: vertical; }
.wtw-community-post-delete-warning { background: color-mix(in srgb, var(--wtw-theme-hot, #e23c59) 10%, var(--wtw-theme-bg, #050505)); border: 1px solid color-mix(in srgb, var(--wtw-theme-hot, #e23c59) 55%, var(--wtw-theme-line, #333)); padding: 20px; }
.wtw-community-post-delete-warning strong { font: 800 24px var(--font-display); text-transform: uppercase; }
.wtw-community-post-delete-warning p { color: var(--wtw-theme-muted, #aaa); font-size: 12px; line-height: 1.55; margin: 8px 0 0; }
.wtw-community-post-editor-status { color: var(--wtw-theme-hot, #e23c59); font: 700 11px var(--font-body); margin: 0; min-height: 17px; }
.wtw-community-post-editor-dialog footer { display: flex; gap: 8px; justify-content: flex-end; }
.wtw-community-post-editor-dialog footer button { background: var(--wtw-theme-panel-2, #111); border: 1px solid var(--wtw-theme-line, #333); color: var(--wtw-theme-text, #fff); cursor: pointer; font: 800 10px var(--font-body); letter-spacing: .07em; min-height: 44px; padding: 0 16px; }
.wtw-community-post-editor-dialog [data-wtw-post-editor-save] { background: var(--wtw-theme-accent, #6c1630); border-color: var(--wtw-theme-hot, #e23c59); }
.wtw-community-post-editor-dialog [data-wtw-post-editor-delete] { background: #5e0e20; border-color: #d83a57; }
body.wtw-post-editor-open { overflow: hidden; }

/* Clear, previewable post image upload. */
.community-composer--social .wtw-post-image-picker { min-width: 150px; padding: 0 13px; }
.wtw-post-image-picker > span { align-items: center; display: grid; gap: 2px 7px; grid-template-columns: auto 1fr; text-align: left; }
.wtw-post-image-picker > span b { color: var(--wtw-theme-hot, #e23c59); font-size: 20px; grid-row: 1 / 3; }
.wtw-post-image-picker > span strong { color: var(--wtw-theme-text, #fff); font: 800 9px var(--font-body); max-width: 115px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtw-post-image-picker > span small { color: var(--wtw-theme-muted, #aaa); font: 600 7px var(--font-body); white-space: nowrap; }
.wtw-post-image-picker.has-image { border-color: var(--wtw-theme-hot, #e23c59) !important; }
.wtw-composer-image-preview { align-items: center; background: var(--wtw-theme-panel-2, #111); border: 1px solid var(--wtw-theme-line, #333); display: grid; gap: 14px; grid-template-columns: 116px minmax(0,1fr); margin-top: 10px; overflow: hidden; padding: 10px; }
.wtw-composer-image-preview img { aspect-ratio: 4 / 3; height: 100%; object-fit: cover; width: 116px; }
.wtw-composer-image-preview > div { align-content: center; display: grid; gap: 5px; min-width: 0; }
.wtw-composer-image-preview span { color: var(--wtw-theme-hot, #e23c59); font: 800 8px var(--font-body); letter-spacing: .13em; }
.wtw-composer-image-preview b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtw-composer-image-preview button { background: transparent; border: 1px solid var(--wtw-theme-line, #333); color: var(--wtw-theme-text, #fff); cursor: pointer; font: 800 8px var(--font-body); justify-self: start; min-height: 30px; padding: 0 10px; }

/* Profile gallery: a real image grid, still governed by each post's privacy. */
.community-shell > main.wtw-community-gallery-mode { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.community-shell > main.wtw-community-gallery-mode > :not(.community-post) { grid-column: 1 / -1; }
.community-shell > main.wtw-community-gallery-mode > .community-post { aspect-ratio: 1; border-radius: 8px; min-height: 0; position: relative; }
.wtw-community-gallery-mode .community-post > .community-post-copy,
.wtw-community-gallery-mode .community-post > footer,
.wtw-community-gallery-mode .community-post > .wtw-favorite-toggle { display: none !important; }
.wtw-community-gallery-mode .community-post > header { background: linear-gradient(0deg, rgba(0,0,0,.94), rgba(0,0,0,.64) 70%, transparent); border: 0 !important; bottom: 0; left: 0; padding: 34px 11px 10px !important; position: absolute; right: 0; z-index: 5; }
.wtw-community-gallery-mode .community-post > header > a img { height: 34px !important; width: 34px !important; }
.wtw-community-gallery-mode .community-post > header > button,
.wtw-community-gallery-mode .community-post > header > em { display: none; }
.wtw-community-gallery-mode .community-media-preview,
.wtw-community-gallery-mode .community-preview-image,
.wtw-community-gallery-mode .community-image-open { border: 0 !important; height: 100%; margin: 0; width: 100%; }
.wtw-community-gallery-mode .community-preview-image img { height: 100% !important; max-height: none !important; object-fit: cover !important; transition: transform .28s ease; width: 100%; }
.wtw-community-gallery-mode .community-post:hover .community-preview-image img { transform: scale(1.035); }
.wtw-community-gallery-mode .community-preview-image .community-image-open span { bottom: auto; left: 10px; right: auto; top: 10px; }
.wtw-community-gallery-mode .wtw-community-post-owner-menu { margin-left: auto; }
.wtw-community-gallery-mode .wtw-community-post-owner-menu > div { bottom: calc(100% + 6px); top: auto; }

@media (max-width: 1439px) {
  .wtw-community-sidecar { display: none !important; }
  body.wtw-community-enhanced .community-shell { display: block; width: min(920px, calc(100% - 40px)); }
}

@media (max-width: 980px) {
  .mobile-drawer { background: color-mix(in srgb, var(--wtw-theme-bg) 97%, transparent) !important; display: flex !important; flex-direction: column; inset: 0; opacity: 0; overflow-y: auto; padding: 22px; pointer-events: none; position: fixed; transform: translateX(-100%); transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1); visibility: hidden; z-index: 100100 !important; }
  .mobile-drawer.open { opacity: 1; pointer-events: auto; transform: translateX(0); visibility: visible; }
  .mobile-drawer > button { align-self: flex-end; background: transparent; border: 1px solid var(--wtw-theme-line); border-radius: 4px; color: var(--wtw-theme-text); cursor: pointer; font: 800 10px var(--font-body); letter-spacing: .08em; min-height: 40px; padding: 0 14px; }
  .mobile-drawer > a { border-bottom: 1px solid var(--wtw-theme-line); color: var(--wtw-theme-text); font: 800 clamp(25px, 8vw, 38px)/1 var(--font-display); padding: 18px 5px; text-transform: uppercase; }
  .mobile-drawer > a:hover, .mobile-drawer > a:focus-visible { color: var(--wtw-theme-hot); outline: none; }
  .mobile-drawer > .wtw-view-desktop { align-self: stretch; background: var(--wtw-theme-text); border: 0; color: var(--wtw-theme-bg); margin-top: auto; min-height: 48px; width: 100%; }
  body.wtw-mobile-menu-open { overflow: hidden !important; }
}

.wtw-view-mobile { background: rgba(0,0,0,.88); border: 1px solid rgba(255,255,255,.5); bottom: 14px; color: #fff; cursor: pointer; font: 800 10px var(--font-body); letter-spacing: .08em; min-height: 40px; padding: 0 14px; position: fixed; right: 14px; z-index: 100200; }

@media (max-width: 760px) {
  .community-share-feature { margin: 0 14px 12px; }
  .video-copy h1 { font-size: clamp(20px, 6.2vw, 30px) !important; max-width: 92% !important; }
  .wtw-community-video-controls { gap: 4px; grid-template-columns: 38px 32px minmax(54px, 1fr) 34px 38px; padding-inline: 7px; }
  .wtw-community-video-duration { display: none; }
  .wtw-community-video-center { height: 58px; width: 58px; }
  .wtw-community-video-center small { display: none; }
  .community-shell > main.wtw-community-gallery-mode { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .wtw-community-gallery-mode .community-post > header { padding: 28px 7px 7px !important; }
  .wtw-community-gallery-mode .community-post > header > a img { display: none; }
  .wtw-community-post-editor { padding: 8px; }
  .wtw-community-post-editor-dialog form { padding: 14px; }
  .community-composer--social .wtw-post-image-picker { min-width: 0; }
  .wtw-post-image-picker > span small { display: none; }
  .wtw-detached-player { bottom: 12px; right: 16px; }
  .wtw-favorite-toggle b, .wtw-favorites-access b { display: none; }
  .wtw-favorite-toggle { right: 8px; top: 8px; min-width: 34px; justify-content: center; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wtw-detached-player, .wtw-detached-player.is-closing { animation-duration: .01ms; }
}

/* News hub + compact editorial typography. */
.news-hub { width:min(1500px,calc(100% - 40px)); margin:28px auto 80px; }
.news-hub-header { background:color-mix(in srgb,var(--wtw-theme-panel,#090a0c) 94%,transparent); border:1px solid var(--wtw-theme-line,#333); border-top:3px solid var(--wtw-theme-hot,#e23c59); display:flex; justify-content:space-between; align-items:end; gap:28px; padding:26px 30px; margin-bottom:18px; }
.news-hub-header>div>span,.news-sort>span { color:var(--wtw-theme-hot,#e23c59); font:800 10px var(--font-body); letter-spacing:.17em; }
.news-hub-header h1 { font:800 clamp(40px,5vw,66px)/.88 var(--font-display); text-transform:uppercase; margin:7px 0 8px; }
.news-hub-header p { color:var(--wtw-theme-muted,#999); max-width:720px; margin:0; font-size:14px; line-height:1.5; }
.news-sort { display:grid; justify-items:end; gap:8px; flex:none; }
.news-sort>div,.article-rail-sort>div { border:1px solid var(--wtw-theme-line,#333); background:#050607; display:flex; padding:3px; }
.news-sort button,.article-rail-sort button { color:var(--wtw-theme-muted,#999); background:transparent; border:0; cursor:pointer; font:800 10px var(--font-body); letter-spacing:.08em; min-height:34px; padding:0 13px; }
.news-sort button:hover,.news-sort button.active,.article-rail-sort button:hover,.article-rail-sort button.active { color:#fff; background:var(--wtw-theme-accent,#5a1020); }
.news-lead-grid { display:grid; gap:18px; }
.news-lead-card { background:var(--wtw-theme-panel,#090a0c); border:1px solid var(--wtw-theme-line,#333); display:grid; grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr); min-height:420px; overflow:hidden; }
.news-lead-card .news-card-image { min-height:420px; }
.news-card-image { background:#050506; display:block; overflow:hidden; }
.news-card-image img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease,filter .35s ease; }
.news-lead-card:hover .news-card-image img,.news-card:hover .news-card-image img { filter:saturate(1.08) contrast(1.03); transform:scale(1.015); }
.news-card-copy { display:flex; flex-direction:column; justify-content:center; padding:24px; }
.news-card-copy>span { color:var(--wtw-theme-hot,#e23c59); font:800 10px var(--font-body); letter-spacing:.1em; text-transform:uppercase; }
.news-card-copy h2 { font:800 28px/.98 var(--font-display); margin:10px 0; }
.news-lead-card .news-card-copy h2 { font-size:clamp(34px,3.2vw,52px); }
.news-card-copy p { color:var(--wtw-theme-muted,#999); font-size:13px; line-height:1.55; margin:0 0 20px; }
.news-read { color:#fff; font:800 11px var(--font-body); letter-spacing:.08em; text-transform:uppercase; margin-top:auto; }
.news-read b { color:var(--wtw-theme-hot,#e23c59); margin-left:5px; }
.news-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.news-card { background:var(--wtw-theme-panel,#090a0c); border:1px solid var(--wtw-theme-line,#333); display:grid; grid-template-rows:210px 1fr; min-width:0; overflow:hidden; }
.news-empty { background:var(--wtw-theme-panel,#090a0c); border:1px solid var(--wtw-theme-line,#333); padding:36px; }

.single-layout { grid-template-columns:minmax(0,1fr) 420px; gap:22px; }
.single-heading h1 { font-size:clamp(36px,4vw,58px); line-height:.96; }
.single-content { font-size:17px; line-height:1.72; }
.article-social-actions--top,.article-social-actions { background:color-mix(in srgb,var(--wtw-theme-surface,#111) 86%,transparent); border-bottom:1px solid var(--wtw-theme-line,#333); gap:10px; margin:0 0 22px; padding:12px 0; }
.article-social-actions>button { min-height:42px; padding-inline:15px; }
.single-media-rail { gap:18px; }
.single-rail-player,.single-rail-album,.single-related { border-color:var(--wtw-theme-line,#333); box-shadow:0 18px 50px rgba(0,0,0,.28); }
.single-rail-player>header,.single-rail-album>header,.single-related>header { background:color-mix(in srgb,var(--wtw-theme-surface,#111) 92%,#000); border-bottom-color:var(--wtw-theme-line,#333); min-height:58px; padding:11px 14px; }
.article-rail-sort { align-items:center; background:var(--wtw-theme-surface,#111); border-bottom:1px solid var(--wtw-theme-line,#333); display:flex; justify-content:space-between; min-height:52px; padding:8px 10px 8px 14px; }
.article-rail-sort>span { color:var(--wtw-theme-muted,#999); font:800 9px var(--font-body); letter-spacing:.14em; }
.article-rail-sort button { min-height:29px; padding-inline:10px; font-size:9px; }
.single-rail-player>.single-rail-current { display:grid; }
.single-rail-player>.single-rail-queue { display:grid; max-height:520px; overflow-y:auto; overscroll-behavior:contain; scrollbar-color:var(--wtw-theme-hot,#e23c59) #08090a; }
.single-rail-player>.single-rail-queue[hidden] { display:none!important; }
.single-rail-player>.single-rail-stage { position:relative; }
.article-rail-react .wtw-video-deck { aspect-ratio:auto; background:#020203; }
.article-rail-react .wtw-video-deck .video-stage { aspect-ratio:16/9; min-height:0; }
.article-rail-react .wtw-video-deck--compact .video-copy { bottom:12px; left:12px; right:74px; max-width:none; }
.article-rail-react .wtw-video-deck--compact .video-copy span { display:none; }
.article-rail-react .wtw-video-deck--compact .video-copy h1 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:clamp(14px,1.25vw,18px); line-height:1.02; margin:0; max-width:100%; text-shadow:0 2px 12px #000; }
.article-rail-react .single-rail-current { background:var(--wtw-theme-surface,#111); border-bottom:1px solid var(--wtw-theme-line,#333); padding:14px 16px; }
.article-rail-react .single-rail-current strong { font-size:17px; line-height:1.08; }
.article-rail-react .single-rail-queue { max-height:520px; overflow-y:auto; overscroll-behavior:contain; scrollbar-color:var(--wtw-theme-hot,#e23c59) #08090a; }
.article-rail-react .single-rail-video { grid-template-columns:126px minmax(0,1fr); min-height:88px; padding:9px 11px; }
.article-rail-react .single-rail-video img { width:126px; }
.article-rail-react .single-rail-video b { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:14px; line-height:1.05; }

.video-copy h1 { font-size:clamp(27px,3.2vw,50px); line-height:.94; max-width:min(780px,76%); }
.article-custom-player .video-copy h1 { font-size:clamp(23px,2.8vw,40px); max-width:72%; }
.latest-dual-hero .story-card--lead .story-overlay h2 { font-size:clamp(30px,3vw,48px); line-height:.96; max-width:94%; }
.latest-dual-hero .story-card--lead .story-overlay p { max-width:78%; font-size:13px; line-height:1.5; }

/* A deliberate utility stack on the main player: actions, save, then detach. */
.hero-player>.wtw-favorite-toggle { top:56px; right:12px; }
.hero-player .video-stage>.wtw-detach-inline { top:98px; right:12px; }
.single-rail-stage>.wtw-detach-inline { top:10px; right:10px; }
.wtw-detach-inline { border-radius:999px; min-height:32px; padding:0 11px; box-shadow:0 8px 24px rgba(0,0,0,.34); }
.article-share-dialog .community-share-feature { aspect-ratio:16/9; }

@media (max-width:1120px) {
  .news-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .single-layout { grid-template-columns:minmax(0,1fr) 360px; }
}
@media (max-width:900px) {
  .news-lead-card,.single-layout { grid-template-columns:1fr; }
  .single-media-rail { position:static; }
}
@media (max-width:680px) {
  .news-hub { width:calc(100% - 20px); margin-top:14px; }
  .news-hub-header { align-items:stretch; flex-direction:column; padding:20px; }
  .news-sort { justify-items:stretch; }
  .news-sort>div { width:100%; }
  .news-sort button { flex:1; }
  .news-lead-card { min-height:0; }
  .news-lead-card .news-card-image { min-height:230px; }
  .news-card-grid { grid-template-columns:1fr; }
  .news-card { grid-template-rows:210px 1fr; }
  .single-story { padding:22px 18px; }
  .single-heading h1 { font-size:clamp(34px,11vw,48px); }
  .single-content { font-size:16px; }
  .video-copy h1,.article-custom-player .video-copy h1 { font-size:clamp(22px,7vw,34px); max-width:82%; }
  .latest-dual-hero .story-card--lead .story-overlay h2 { font-size:clamp(27px,8vw,38px); }
}
