/* Vibez shell. Load after Musicon, LoopBlock, PlayBlock and audit repairs. */
body.vibez-shell #main .vibez-welcome h1 {
  display: block;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.12;
  margin: .3rem 0 .8rem;
}
body.vibez-shell .vibez-welcome { padding: 1.75rem var(--x-gap) 1rem; }
body.vibez-shell .vibez-welcome p { margin: 0; color: var(--vibez-muted); }
body.vibez-shell .vibez-welcome .vibez-eyebrow { color: var(--color-primary); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.vibez-shell button.menu-toggle,
body.vibez-shell button#icon-search { display: inline-flex; align-items: center; justify-content: center; padding: 0; width: 44px; height: 44px; min-width: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; }
body.vibez-shell button.menu-toggle:hover,
body.vibez-shell button#icon-search:hover { background: var(--vibez-hover); }
body.vibez-shell .site-header #icon-search { position: relative; }
body.vibez-shell .site-title[hidden] { display: none !important; }
body.vibez-shell { padding-bottom: var(--mobile-menu-height, 0px); }
.open-player body.vibez-shell { padding-bottom: calc(var(--plyr-height, 0px) + var(--mobile-menu-height, 0px)); }
body.vibez-shell .site-header .menu-toggle { align-self: center; }
body.vibez-shell .header-station .station-content.moreless { position: relative; }
body.vibez-shell .site-header .nav .btn-link > a,
body.vibez-shell .site-header .nav a[href*="/login/"]:not(:first-child) { background: var(--vibez-gold); color: var(--vibez-gold-ink); }
body.vibez-shell #header #menu-item-5057 > a { background: var(--vibez-gold) !important; color: var(--vibez-gold-ink) !important; }
body.vibez-shell .home .vibez-welcome { margin-inline: 0; }
body.vibez-shell.home .entry-content > .wp-block-loop-slider:not(.block-loop-row) { --loop-columns: 3 !important; --loop-ratio: 1.15 !important; }
body.vibez-shell.home .block-loop-reverse .block-loop-item { flex-direction: column; }
body.vibez-shell.home .block-loop-reverse .block-loop-item .entry-header { padding-top: .8rem; }
body.vibez-shell #side-header .wp-block-group { padding: 1rem !important; }
body.vibez-shell #side-header .wp-block-button__link { display: block; padding: .7rem .5rem; font-size: .8rem; border-radius: 999px !important; background: var(--vibez-gold) !important; color: var(--vibez-gold-ink) !important; }
body.vibez-shell .vibez-footer-inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 1.5rem; padding: 2rem var(--x-gap) 1rem; background: var(--vibez-bg); }
body.vibez-shell .vibez-footer-inner p { margin: 0 0 .65rem; }
body.vibez-shell .vibez-footer-inner nav a { display: block; min-height: 32px; padding-block: .25rem; }
body.vibez-shell .vibez-footer-title { color: var(--vibez-text); font-size: 1.2rem; font-weight: 750; }
body.vibez-shell .vibez-footer-label { color: var(--vibez-text); font-weight: 650; }
body.vibez-shell .vibez-footer-bottom { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--vibez-line); }
@media (max-width: 1050px) {
  body.vibez-shell.home .entry-content > .wp-block-loop-slider:not(.block-loop-row) { --loop-columns: 2 !important; }
}
@media (max-width: 781px) {
  body.vibez-shell .vibez-welcome { padding-top: 1.25rem; }
  body.vibez-shell .vibez-footer-inner { grid-template-columns: 1fr 1fr; }
  body.vibez-shell .vibez-footer-brand { grid-column: 1 / -1; }
  body.vibez-shell .vibez-footer-inner nav[aria-label="Vibez social profiles"] { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: .5rem; }
  body.vibez-shell .vibez-footer-inner nav[aria-label="Vibez social profiles"] .vibez-footer-label { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  body.vibez-shell.home .entry-content > .wp-block-loop-slider:not(.block-loop-row) { --loop-columns: 1.35 !important; --loop-ratio: 1 !important; }
}
body.vibez-shell {
  --vibez-bg: #101214;
  --vibez-panel: #191b1e;
  --vibez-raised: #23262a;
  --vibez-hover: #2c3035;
  --vibez-text: #f5f5f2;
  --vibez-muted: #b0b4bb;
  --vibez-line: #363a40;
  --vibez-gold: #e8c667;
  --vibez-gold-ink: #1c190f;
  --vibez-focus: #f5d984;
  --vibez-font: "Vibez Sans", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --body-bg-color: var(--vibez-bg);
  --text-color: var(--vibez-text);
  --text-secondary-color: var(--vibez-muted);
  --color-primary: var(--vibez-gold);
  --color-secondary: var(--vibez-gold);
  --color-border: var(--vibez-line);
  --color-grey-500: var(--vibez-hover);
  --color-grey-600: var(--vibez-raised);
  --color-grey-700: var(--vibez-panel);
  --color-grey-800: var(--vibez-bg);
  --side-width: 15.5rem;
  --side-folded-width: 5rem;
  --side-menu-gap: 1.25rem;
  --side-menu-item-row-gap: .25rem;
  --side-nav-hover-background: var(--vibez-hover);
  --navbar-height: 4.5rem;
  --content-margin-top: calc(var(--navbar-height) + .5rem);
  --content-width: 88rem;
  --x-gap: clamp(1rem, 2.25vw, 2rem);
  --y-gap: 1.5rem;
  --font-size: .9375rem;
  --font-weight-heading: 700;
  --border-radius: .75rem;
  --button-radius: 999px;
  --input-radius: .5rem;
  --header-image-size: clamp(11rem, 20vw, 15rem);
  --header-title-size: clamp(2rem, 3.5vw, 3.75rem);
  --header-x-gap: clamp(1.25rem, 2.5vw, 2.5rem);
  --header-y-gap: 1.5rem;
  --ffl-player-bg: var(--vibez-panel);
  --ffl-player-fg: var(--vibez-text);
  --ffl-player-muted: var(--vibez-muted);
  --ffl-player-surface: var(--vibez-hover);
  --ffl-player-border: var(--vibez-line);
  --ffl-player-height: 5.5rem;
  --plyr-mini-player-height: 200px;
  --plyr-audio-controls-background: var(--vibez-panel);
  --plyr-audio-control-color: var(--vibez-text);
  --plyr-audio-control-color-hover: var(--vibez-gold-ink);
  --plyr-color-main: var(--vibez-gold);
  font-family: var(--vibez-font);
  font-size: var(--font-size);
  line-height: 1.5;
  color: var(--vibez-text);
  background: var(--vibez-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Musicon keeps the colour preference on the html element. */
html:not(.dark) body.vibez-shell {
  --vibez-bg: #eceeed;
  --vibez-panel: #fcfcfa;
  --vibez-raised: #f0f1ee;
  --vibez-hover: #e5e8e4;
  --vibez-text: #202523;
  --vibez-muted: #5c6560;
  --vibez-line: #cfd5ce;
  --vibez-focus: #796015;
  --color-primary: #806317;
  --color-secondary: #806317;
  --plyr-color-main: #806317;
}

body.vibez-shell :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--vibez-font);
  color: var(--vibez-text);
  font-weight: 700;
  letter-spacing: -.025em;
}
body.vibez-shell h2 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.2; }
body.vibez-shell h3 { line-height: 1.35; }
body.vibez-shell :is(.entry-content, .entry-description) p { text-wrap: pretty; }
body.vibez-shell :is(button, input, select, textarea) { font: inherit; }
body.vibez-shell :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--vibez-focus);
  outline-offset: 3px;
}
body.vibez-shell .skip-link:focus {
  top: calc(var(--adminbar-height) + .5rem);
  left: .5rem;
  padding: .75rem 1rem;
  background: var(--vibez-gold);
  color: var(--vibez-gold-ink);
}
body.vibez-shell :is(.entry-header, .entry-header-inner, .entry-meta, .entry-footer, .content-area, .site-main, .wp-block-column) { min-width: 0; }
body.vibez-shell :is(.play-duration, .play-count, .count, .plyr__time, .ffl-player-time) { font-variant-numeric: tabular-nums; }
body.vibez-shell :is(.btn, .button, .wp-block-button__link, .btn-play, .btn-follow, .btn-share, .btn-more, .btn-like, .nav a) {
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

/* Fixed shell retains the theme's menu checkbox and authenticated menu. */
body.vibez-shell .site-header {
  background: var(--vibez-bg);
  color: var(--vibez-text);
  box-shadow: none;
}
body.vibez-shell .header-container { padding-inline: 1rem; }
body.vibez-shell .site-navbar { gap: .5rem; }
body.vibez-shell .site-title { font-size: 1.2rem; font-weight: 750; }
body.vibez-shell .site-logo img { max-width: 9rem; object-fit: contain; }
body.vibez-shell .site-header .nav { gap: .25rem; }
body.vibez-shell .site-header .nav > li > a { min-height: 44px; display: inline-flex; align-items: center; }
body.vibez-shell .site-header .search-form {
  background: var(--vibez-raised);
  border: 1px solid var(--vibez-line);
  border-radius: 999px;
  color: var(--vibez-text);
  min-height: 44px;
  max-width: 38rem;
}
body.vibez-shell .site-header .search-form:focus-within { border-color: var(--vibez-focus); }
body.vibez-shell .site-header .search-form input {
  height: 44px;
  min-width: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  padding-inline: .5rem 1rem;
  box-shadow: none;
}
body.vibez-shell .site-header .search-form input::placeholder { color: var(--vibez-muted); opacity: 1; }
body.vibez-shell .site-header .search-form :is(#icon-search, #icon-search-close) { min-width: 44px; min-height: 44px; }
body.vibez-shell #search-state:checked ~ .site-header .search-form {
  background: var(--vibez-panel);
  color: var(--vibez-text);
  border-radius: .75rem;
  margin: .25rem;
}
body.vibez-shell .site-sidebar {
  background: var(--vibez-panel);
  color: var(--vibez-text);
  border: 1px solid var(--vibez-line);
  border-radius: .875rem;
  scrollbar-width: thin;
  scrollbar-color: var(--vibez-line) transparent;
  overscroll-behavior-y: contain;
}
body.vibez-shell .site-sidebar .site-brand { background: var(--vibez-panel); }
body.vibez-shell .site-sidebar .nav > li:not(.menu-header) > a {
  min-height: 44px;
  padding: .625rem .75rem;
  margin-inline: -.5rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--vibez-muted);
}
body.vibez-shell .site-sidebar .nav > li > a:hover,
body.vibez-shell .site-sidebar .nav li:is(.current-menu-item, .current_page_item) > a {
  color: var(--vibez-text);
  background: var(--vibez-hover);
}
body.vibez-shell .site-sidebar .nav li:is(.current-menu-item, .current_page_item) > a { box-shadow: inset 3px 0 0 var(--color-primary); }
body.vibez-shell .site-sidebar .menu-item:not(.btn-link) svg { color: currentColor; opacity: 1; }
body.vibez-shell .site-sidebar .menu-header { color: var(--vibez-muted); opacity: 1; font-size: .75rem; font-weight: 600; }
body.vibez-shell :is(.site-sidebar-header, .site-sidebar-footer) { color: var(--vibez-muted); line-height: 1.65; }
body.vibez-shell #side-header .has-text-color[style*="#888888"],
body.vibez-shell #side-footer .has-text-color[style*="#888888"] { color: var(--vibez-muted) !important; }
body.vibez-shell .site-content {
  background: var(--vibez-panel);
  border-radius: .875rem;
  margin-inline-end: .5rem;
  min-height: calc(100dvh - var(--navbar-height) - var(--adminbar-height) - 1rem);
  padding-bottom: 1.5rem;
  transition: none;
}
body.vibez-shell .site-main > .entry > .entry-content { padding-bottom: .5rem; }
body.vibez-shell :is(.page-header, .archive-header) { padding-top: 1.5rem; }
body.vibez-shell .site-footer { color: var(--vibez-muted); font-size: .8125rem; }
body.vibez-shell .site-footer :is(h2, h3) { font-size: 1rem; }
body.vibez-shell .site-footer p { line-height: 1.7; }
body.vibez-shell :is(.dropdown-menu, .sub-menu, .modal-content) {
  background-color: var(--vibez-raised);
  color: var(--vibez-text);
  border-color: var(--vibez-line);
  border-radius: .75rem;
  box-shadow: 0 12px 32px #080a0c33;
}
body.vibez-shell :is(.dropdown-item, .sub-menu a):hover { background-color: var(--vibez-hover); color: var(--vibez-text); }

/* Album art stays prominent without oversized two-column tiles. */
body.vibez-shell .wp-block-loop {
  --loop-grid-gap: clamp(.75rem, 1.5vw, 1.25rem);
  --loop-row-gap: .875rem;
  --loop-radius: .5rem;
  --loop-font-size: .9375rem;
  --loop-line: 2;
  --loop-line-height: 1.4;
}
body.vibez-shell .wp-block-loop:not(.block-loop-row):not(.block-loop-hero):not(.block-loop-snaps):not(.has-loop-posts) > .block-loop-items:not(.block-loop-slider) {
  grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr));
  align-items: start;
}
body.vibez-shell .wp-block-loop:not(.block-loop-row):not(.block-loop-hero):not(.block-loop-snaps) .block-loop-item {
  padding: .625rem;
  border-radius: .75rem;
  background: transparent;
  transition: background-color 140ms ease;
}
body.vibez-shell .wp-block-loop:not(.block-loop-row):not(.block-loop-hero):not(.block-loop-snaps) .block-loop-item:is(:hover, :focus-within, .active) { background: var(--vibez-hover); }
body.vibez-shell .block-loop-item .post-thumbnail { border-radius: .5rem; box-shadow: 0 4px 14px #080a0c26; }
body.vibez-shell .block-loop-item .entry-header { padding-block: .75rem .25rem; gap: .25rem; }
body.vibez-shell .block-loop-item .entry-title { font-size: .9375rem; font-weight: 650; letter-spacing: -.01em; }
body.vibez-shell .block-loop-item .entry-title a { line-height: 1.4; min-height: auto; }
body.vibez-shell .block-loop-item :is(.entry-artist, .byline) { color: var(--vibez-muted); font-size: .8125rem; line-height: 1.5; }
body.vibez-shell .block-loop-item .entry-meta { margin-top: .2rem; }
body.vibez-shell .block-loop-item .entry-action { background: #10121420; transition: opacity 140ms ease; }
body.vibez-shell .block-loop-item:focus-within .entry-action { opacity: 1; pointer-events: auto; }
body.vibez-shell .block-loop-item .entry-action .btn-play {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  margin: 0;
  background: var(--vibez-gold);
  color: var(--vibez-gold-ink);
  border: 0;
  box-shadow: 0 4px 12px #080a0c55;
  transform: none;
}
body.vibez-shell .block-loop-item .entry-action .btn-more {
  top: .375rem;
  right: .375rem;
  bottom: auto;
  margin: 0;
  color: #fff;
  background: #101214aa;
  border-radius: 50%;
}
body.vibez-shell .block-loop-item .entry-header-inner ~ .btn-more { opacity: 1; margin: 0; }
body.vibez-shell .block-loop-item .entry-action .btn-play:hover { background: #f4d780; }

/* Rows reserve separate space for art, a flexible title and aligned controls. */
body.vibez-shell .block-loop-row .block-loop-items { gap: .25rem; }
body.vibez-shell .block-loop-row .block-loop-item {
  min-width: 0;
  padding: .625rem .75rem;
  border-radius: .5rem;
  flex-wrap: nowrap;
  gap: .875rem;
}
body.vibez-shell .block-loop-row .block-loop-item:is(:hover, :focus-within, .active) { background: var(--vibez-hover); }
body.vibez-shell .block-loop-row .post-thumbnail { width: 3.5rem; min-width: 3.5rem; flex: 0 0 3.5rem; box-shadow: none; }
body.vibez-shell .block-loop-row .entry-header { display: flex; flex-wrap: nowrap; align-items: center; gap: .75rem; padding: 0; }
body.vibez-shell .block-loop-row .entry-header-inner { display: block; min-width: 0; flex: 1 1 0%; text-align: start; }
body.vibez-shell .block-loop-row .entry-header-inner .entry-title { min-width: 0; width: auto; }
body.vibez-shell .block-loop-row .entry-footer { flex: 0 0 auto; width: auto; margin: 0; gap: .125rem; }
body.vibez-shell .block-loop-row .entry-footer > :is(button, a) { position: relative; margin: 0; flex-shrink: 0; }
body.vibez-shell .block-loop-row .entry-footer .count { display: none; }
body.vibez-shell .block-loop-row .play-duration { color: var(--vibez-muted); min-width: 4ch; padding-inline: .375rem; }
body.vibez-shell .block-loop-row .post-thumbnail .entry-action .btn-play {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  transform: translate(-50%, -50%);
  box-shadow: none;
}
body.vibez-shell .wp-block-loop-user .entry-header-inner { text-align: start; }
body.vibez-shell .wp-block-loop-user .entry-title { justify-content: flex-start; }
body.vibez-shell .wp-block-loop-user .post-thumbnail { border-radius: 50%; }

/* Feature slides keep their source artwork and working slider controls. */
body.vibez-shell .block-loop-hero { --loop-line: 2; }
body.vibez-shell .block-loop-hero .block-loop-item { border-radius: .875rem; overflow: hidden; }
body.vibez-shell .block-loop-hero .post-thumbnail { min-height: 18rem; max-height: 26rem; border-radius: inherit; }
body.vibez-shell .block-loop-hero .post-thumbnail::after { padding-top: 48%; }
body.vibez-shell .block-loop-hero .entry-header { padding: clamp(1.5rem, 3vw, 2.5rem); background: linear-gradient(90deg, #101214ed 0%, #10121480 65%, #10121426 100%); }
body.vibez-shell .block-loop-hero .entry-header .entry-title { max-width: 20ch; font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1.12; color: #fff; font-weight: 750; }
body.vibez-shell .block-loop-hero :is(.entry-info, .entry-meta, .entry-artist) { color: #e3e5e8; }
body.vibez-shell .block-loop-hero .block-loop-nav { bottom: 1rem; padding-inline: 1rem; }

/* Song and artist headers never depend on a reveal animation. */
body.vibez-shell :is(.header-station, .header-user) {
  --header-image-size: inherit;
  --header-title-size: inherit;
  position: relative;
  top: auto;
  z-index: auto;
  align-items: flex-end;
  gap: var(--header-y-gap) var(--header-x-gap);
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--x-gap) 1.75rem;
  margin-bottom: 0;
  background: linear-gradient(180deg, var(--vibez-raised), var(--vibez-panel));
  border-radius: .875rem .875rem 0 0;
  box-shadow: none;
}
body.vibez-shell :is(.header-station, .header-user) > .post-thumbnail {
  width: var(--header-image-size);
  border-radius: .75rem;
  align-self: flex-start;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
  box-shadow: 0 8px 24px #080a0c33;
}
body.vibez-shell .header-user > .post-thumbnail { border-radius: 50%; }
body.vibez-shell .header-station > .post-thumbnail::before { display: none; }
body.vibez-shell :is(.header-station, .header-user) > .entry-header { flex: 1 1 15rem; min-width: 0; margin: 0; }
body.vibez-shell :is(.header-station, .header-user) > .entry-header .entry-title {
  display: block;
  margin: .5rem 0 .875rem;
  font-size: var(--header-title-size);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -.04em;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
  text-wrap: balance;
  clip-path: none;
  transform: none;
  transition: none;
  opacity: 1;
  visibility: visible;
  -webkit-line-clamp: unset;
}
body.vibez-shell :is(.header-station, .header-user) .entry-title a { display: inline; min-height: auto; font-size: inherit; line-height: inherit; }
body.vibez-shell .header-station > .entry-header .entry-artist { display: block; font-size: 1.05rem; line-height: 1.5; font-weight: 600; color: var(--text-secondary-color); margin: 0 0 .75rem; }
body.vibez-shell :is(.header-station, .header-user) :is(.entry-info, .entry-tag, .byline, .waveform, .station-content) {
  position: static;
  visibility: visible;
  opacity: 1;
}
body.vibez-shell .header-station .entry-info { margin-bottom: .5rem; }
body.vibez-shell :is(.header-station, .header-user) .entry-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .625rem; margin: 1rem 0 0; width: 100%; }
body.vibez-shell .header-station > .entry-meta { border-top: 1px solid var(--vibez-line); padding-top: 1.25rem; margin-top: .25rem; }
body.vibez-shell :is(.header-station, .header-user) .entry-meta > :is(button, a) { position: relative; flex-shrink: 0; }
body.vibez-shell :is(.header-station, .header-user) .entry-meta .btn-play {
  width: auto;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  background: var(--vibez-gold);
  color: var(--vibez-gold-ink);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
}
/* Supersede saved YellowPencil padding that displaced the header play icon. */
body.vibez-shell #main :is(.header-station, .header-user) .entry-meta .btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 6.5rem;
  padding: 0 1.25rem !important;
  gap: .625rem;
  text-indent: 0;
  line-height: 1;
  transform: none;
}
body.vibez-shell #main :is(.header-station, .header-user) .entry-meta .btn-play span { display: inline; margin: 0; }
body.vibez-shell :is(.header-station, .header-user) .entry-meta :is(.btn-follow, .btn-share, .btn-repost, .btn-presave) { min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--vibez-line); border-radius: 999px; font-weight: 600; }
body.vibez-shell .btn-follow.active { background: var(--vibez-hover); color: var(--vibez-text); }
body.vibez-shell .btn-follow.active span { color: inherit; }
body.vibez-shell .user-links { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
body.vibez-shell .user-links a { min-width: 44px; min-height: 44px; display: inline-flex; justify-content: center; align-items: center; border-radius: 50%; }
body.vibez-shell .user-links a:hover { background: var(--vibez-hover); }
body.vibez-shell .header-user .entry-description { max-width: 65ch; color: var(--vibez-muted); }
body.vibez-shell .user-navigation { width: 100%; box-shadow: none; border-bottom: 1px solid var(--vibez-line); margin-bottom: 1.5rem; }
body.vibez-shell .navigation { position: relative; top: auto; z-index: auto; background: var(--vibez-panel); }
body.vibez-shell .navigation .nav { gap: 1.5rem; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
body.vibez-shell .navigation .nav > li { flex: 0 0 auto; }
body.vibez-shell .navigation .nav > li > a { padding-block: .875rem; min-height: 48px; color: var(--vibez-muted); font-weight: 600; }
body.vibez-shell .navigation .nav > li:is(.active, .current_page_item) > a { color: var(--vibez-text); border-bottom-color: var(--vibez-gold); }

/* Readable forms, dialogs and empty states use the same surfaces. */
body.vibez-shell form label { font-size: .875rem; font-weight: 600; line-height: 1.5; }
body.vibez-shell :is(.site-content, .modal-content) :is(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="date"], select, textarea) {
  min-height: 44px;
  height: auto;
  padding: .625rem .75rem;
  border: 1px solid var(--vibez-line);
  border-radius: .5rem;
  background: var(--vibez-bg);
  color: var(--vibez-text);
  box-shadow: none;
}
body.vibez-shell textarea { min-height: 8rem; resize: vertical; }
body.vibez-shell :is(.block-loop-empty, .not-found) { padding: 2rem 1.25rem; color: var(--vibez-muted); }
body.vibez-shell :is(.btn-primary, .button-primary, input[type="submit"], .btn-primary.wp-block-button__link) { background: var(--vibez-gold); color: var(--vibez-gold-ink); font-weight: 650; min-height: 44px; }

/* Keep video visible at the existing 200px minimum and avoid duplicate offsets. */
body.vibez-shell .plyr-playlist {
  font-family: var(--vibez-font);
  background: var(--vibez-panel);
  color: var(--vibez-text);
  border-top: 1px solid var(--vibez-line);
  box-shadow: 0 -4px 18px #080a0c26;
  z-index: 1050;
}
body.vibez-shell .plyr-playlist :is(.plyr, .plyr-list) { background-color: var(--vibez-panel); }
body.vibez-shell .plyr-playlist .plyr-list { width: min(25rem, calc(100vw - 1.5rem)); max-height: min(60dvh, 38rem); border: 1px solid var(--vibez-line); border-radius: .875rem; }
body.vibez-shell .plyr-item { padding: .625rem .875rem; }
body.vibez-shell .plyr-item:is(:hover, .active) { background: var(--vibez-hover); }
body.vibez-shell .plyr-playlist .plyr:not(.plyr-fullscreen) .plyr__video-wrapper {
  width: min(356px, calc(100vw - 1.5rem));
  min-width: 200px;
  min-height: 200px;
  border-radius: .5rem;
}
body.vibez-shell .ffl-player-root { bottom: var(--mobile-menu-height); z-index: 1060; }
body.vibez-shell .ffl-player-bar { grid-template-columns: 52px minmax(100px, 1.2fr) auto minmax(100px, 1.5fr) auto; gap: .75rem; backdrop-filter: none; box-shadow: none; }
body.vibez-shell .ffl-player-toggle { color: var(--vibez-gold-ink) !important; background: var(--vibez-gold) !important; }
body.vibez-shell .ffl-player-controls button, body.vibez-shell .ffl-player-actions button { min-width: 44px; min-height: 44px; }
body.vibez-shell .ffl-queue-panel { bottom: calc(var(--ffl-player-height) + var(--mobile-menu-height) + .75rem); max-height: 60dvh; }
body.vibez-shell .ffl-toast { bottom: calc(var(--ffl-player-height) + var(--mobile-menu-height) + 1rem); max-width: calc(100vw - 2rem); }
body.vibez-shell.has-mini-player { padding-bottom: calc(var(--ffl-player-height) + var(--mobile-menu-height)); }

@media (min-width: 782px) {
  body.vibez-shell .site-sidebar { top: calc(var(--adminbar-height) + .5rem); left: .5rem; bottom: .5rem; width: calc(var(--side-width) - 1rem); }
  body.vibez-shell #menu-state:checked ~ .site-sidebar { width: calc(var(--side-folded-width) - 1rem); }
  body.vibez-shell #menu-state:checked ~ .site-sidebar .nav { padding-inline: .5rem; }
  body.vibez-shell #menu-state:checked ~ .site-sidebar .nav > li > a { margin-inline: 0; min-width: 44px; }
  body.vibez-shell #menu-state:checked ~ .site-sidebar .site-brand { padding-inline: 0; }
  body.vibez-shell .site-header .site-brand { width: calc(var(--side-width) - 3.625rem); }
  body.vibez-shell #menu-state:checked ~ .site-header .site-brand { width: calc(var(--side-folded-width) - 3.625rem); }
  .open-player body.vibez-shell .site-sidebar { bottom: calc(var(--plyr-height) + .5rem); }
  body.vibez-shell.has-mini-player .site-sidebar { bottom: calc(var(--ffl-player-height) + .5rem); }
}

@media (max-width: 1050px) {
  body.vibez-shell .ffl-player-bar { grid-template-columns: 44px minmax(100px, 1fr) auto auto; }
  body.vibez-shell .ffl-player-progress { display: none; }
  body.vibez-shell .ffl-player-actions .ffl-player-volume { display: none; }
}

@media (max-width: 781px) {
  body.vibez-shell { --navbar-height: 4rem; --side-width: 17.5rem; --header-image-size: 11rem; --header-title-size: clamp(1.875rem, 5.25vw, 3rem); --x-gap: 1.25rem; }
  body.vibez-shell .site-content { margin-inline: .5rem; }
  body.vibez-shell .header-container { padding-inline: .5rem; }
  body.vibez-shell .site-sidebar { top: .5rem; left: .5rem; bottom: .5rem; }
  body.vibez-shell #menu-state:checked ~ .site-sidebar { top: .5rem; width: min(19rem, calc(100vw - 3rem)); padding-bottom: env(safe-area-inset-bottom); }
  body.vibez-shell .site-header .site-brand { width: auto; }
  body.vibez-shell .site-header .site-brand .site-logo img { max-width: 6.5rem; }
  body.vibez-shell .site-header .search-form { margin: 0; }
  body.vibez-shell .block-loop-row .entry-footer > .play-count { display: none; }
  body.vibez-shell .header-user .entry-header { text-align: start; }
}

@media (max-width: 599px) {
  body.vibez-shell { --x-gap: 1rem; --header-image-size: 12rem; --header-title-size: clamp(1.8rem, 8vw, 2.4rem); --ffl-player-height: 7.25rem; }
  body.vibez-shell.with-mobile-menu { --mobile-menu-height: calc(3.5rem + env(safe-area-inset-bottom)); }
  body.vibez-shell .site-navbar { gap: .125rem; }
  body.vibez-shell .site-header .search-form { border: 0; background: transparent; min-width: 44px; }
  body.vibez-shell .site-header .menu-toggle { padding-inline: .625rem; }
  body.vibez-shell .site-header .nav > li.menu-has-icon { min-width: 44px; }
  body.vibez-shell .mobile-menu { background: var(--vibez-panel); color: var(--vibez-muted); border-top: 1px solid var(--vibez-line); padding-bottom: env(safe-area-inset-bottom); }
  body.vibez-shell .mobile-menu .nav { min-height: 3.5rem; }
  body.vibez-shell .mobile-menu .nav li > a { min-height: 48px; gap: .25rem; font-size: .6875rem; }
  body.vibez-shell .mobile-menu :is(.current-menu-item, .current_page_item) > a { color: var(--color-primary); }
  body.vibez-shell .wp-block-loop { --loop-grid-gap: .5rem; }
  body.vibez-shell .wp-block-loop:not(.block-loop-row):not(.block-loop-hero):not(.block-loop-snaps):not(.has-loop-posts) > .block-loop-items:not(.block-loop-slider) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.vibez-shell .wp-block-loop:not(.block-loop-row):not(.block-loop-hero):not(.block-loop-snaps) .block-loop-item { padding: .375rem; }
  body.vibez-shell .block-loop-item .entry-title { font-size: .875rem; }
  body.vibez-shell .block-loop-item .entry-action .btn-play { right: .5rem; bottom: .5rem; }
  body.vibez-shell .block-loop-row .block-loop-item { padding: .5rem .125rem; gap: .625rem; }
  body.vibez-shell .block-loop-row .post-thumbnail { width: 3rem; min-width: 3rem; flex-basis: 3rem; }
  body.vibez-shell .block-loop-row .entry-header { gap: .25rem; }
  body.vibez-shell .block-loop-row .entry-footer { gap: 0; }
  body.vibez-shell .block-loop-row:not(.has-loop-posts):not(.block-loop-xs):not(.block-loop-inline) .block-loop-item:not(.block-loop-inline) .entry-footer { flex: 0 0 auto; width: auto; }
  body.vibez-shell .block-loop-row .entry-footer > .play-duration { display: none; }
  body.vibez-shell .block-loop-row .entry-footer .btn-like { min-width: 44px; padding-inline: 0; }
  body.vibez-shell .block-loop-hero .post-thumbnail { min-height: 17rem; }
  body.vibez-shell .block-loop-hero .entry-header { padding: 1.5rem; }
  body.vibez-shell .block-loop-hero .entry-header .entry-title { font-size: 1.875rem; }
  body.vibez-shell :is(.header-station, .header-user) { flex-direction: column; align-items: stretch; gap: 1.25rem; padding-top: 1.5rem; }
  body.vibez-shell :is(.header-station, .header-user) > .post-thumbnail { align-self: center; }
  body.vibez-shell .header-user > .post-thumbnail { width: 10rem; }
  body.vibez-shell :is(.header-station, .header-user) > .entry-header { flex: 0 1 auto; width: 100%; }
  body.vibez-shell .header-user :is(.entry-title, .entry-description) { justify-content: flex-start; text-align: start; }
  body.vibez-shell .header-user .entry-meta { justify-content: flex-start; }
  body.vibez-shell .header-station > .entry-meta { gap: .5rem; }
  body.vibez-shell .navigation .nav { gap: 1.25rem; }
  body.vibez-shell :is(.site-content, .modal-content) :is(input, select, textarea) { font-size: 1rem; }
  body.vibez-shell .ffl-player-bar { height: var(--ffl-player-height); grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: 44px 44px; gap: .25rem .5rem; padding: .625rem .75rem; }
  body.vibez-shell .ffl-player-controls { grid-column: 3; grid-row: 1; }
  body.vibez-shell .ffl-player-actions { grid-column: 2 / 4; grid-row: 2; justify-content: flex-end; }
  body.vibez-shell .ffl-player-art { width: 44px; height: 44px; }
  body.vibez-shell .ffl-player-controls { gap: 0; }
  body.vibez-shell .ffl-player-controls button { padding: .375rem; }
  body.vibez-shell .plyr-playlist .plyr:not(.plyr-fullscreen) .plyr__video-wrapper { right: .75rem; }
}

@media (hover: none) {
  body.vibez-shell .block-loop-item .entry-action { opacity: 1; pointer-events: auto; background: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  body.vibez-shell *, body.vibez-shell *::before, body.vibez-shell *::after { scroll-behavior: auto; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
