/* ============================================================
   JABBOK RADIO — Bright Theme
   High-contrast, sunlight-readable, mobile-first
   ============================================================ */
:root {
  --white:   #ffffff;
  --off:     #f7f3ec;
  --cream:   #f0e9d8;
  --red:     #c42d14;
  --red-dk:  #9a2010;
  --gold:    #b8920e;
  --black:   #0f0f0f;
  --text:    #1a1a1a;
  --muted:   #555555;
  --border:  #d5ccc0;
  --nav-h:   60px;
  --shadow:  0 2px 16px rgba(0,0,0,0.10);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body { background: var(--off); color: var(--text); font-family: 'DM Sans', sans-serif; font-weight: 400; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── Nav ────────────────────────────────────────────────── */
.jbr-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  background: #fff;
  border-bottom: 3px solid var(--red);
  box-shadow: var(--shadow);
}
.jbr-nav-logo img { height: 34px; width: auto; object-fit: contain; }
.jbr-nav-links { display: flex; align-items: center; gap: 20px; }
.jbr-nav-links a {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); font-weight: 500; transition: color .2s;
}
.jbr-nav-links a:hover { color: var(--red); }
.jbr-nav-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); font-weight: 700;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  animation: livePulse 1.4s ease infinite; flex-shrink: 0;
}
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:.3;transform:scale(.7);} }
.jbr-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.jbr-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: all .3s; }
.jbr-mobile-menu {
  display: none; position: fixed; inset: 0; background: #fff; z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.jbr-mobile-menu.open { display: flex; }
.jbr-mobile-menu a { font-family: 'Bebas Neue', sans-serif; font-size: 36px; letter-spacing: 3px; color: var(--text); }
.jbr-mobile-menu a:hover { color: var(--red); }
.jbr-mobile-close { position: absolute; top: 20px; right: 24px; font-size: 28px; background: none; border: none; cursor: pointer; }

/* ── Hero ───────────────────────────────────────────────── */
.jbr-hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 32px) 20px 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #fff 0%, #f7f0e4 50%, #ede4d0 100%);
  position: relative; overflow: hidden;
}
.jbr-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(196,45,20,.04) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(196,45,20,.1); animation: ringPulse 4s ease-out infinite; }
.ring:nth-child(1){width:220px;height:220px;animation-delay:0s;}
.ring:nth-child(2){width:380px;height:380px;animation-delay:1s;}
.ring:nth-child(3){width:540px;height:540px;animation-delay:2s;}
.ring:nth-child(4){width:700px;height:700px;animation-delay:3s;}
@keyframes ringPulse { 0%{opacity:.5;transform:scale(.9);}100%{opacity:0;transform:scale(1.05);} }
.jbr-hero-content { position: relative; z-index: 2; width: 100%; max-width: 460px; margin: 0 auto; }
.jbr-eyebrow {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.jbr-eyebrow::before, .jbr-eyebrow::after { content: ''; display: inline-block; width: 22px; height: 2px; background: var(--red); }
.jbr-hero-logo { margin: 0 auto 10px; max-width: 160px; }
.jbr-hero-logo img { width: 100%; height: auto; }
.jbr-tagline {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: clamp(15px, 4vw, 20px); color: var(--gold);
  margin-bottom: 28px; line-height: 1.4;
}

/* ── Player ─────────────────────────────────────────────── */
.jbr-player {
  background: #fff;
  border: 2px solid var(--border);
  border-top: 4px solid var(--red);
  padding: 24px 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
}
.jbr-visualizer { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 36px; margin-bottom: 16px; }
.vbar { width: 4px; border-radius: 2px; background: var(--red); opacity: .15; transition: height .15s ease; flex-shrink: 0; }
.vbar.on { opacity: .85; }
.jbr-player-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 4px; }
.player-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: livePulse 1.4s ease infinite; flex-shrink: 0; }
.jbr-status-text { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.jbr-now-playing { font-size: 13px; color: var(--muted); margin-bottom: 20px; min-height: 20px; line-height: 1.5; }
.jbr-play-wrap { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.jbr-play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--red); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; font-weight: bold;
  transition: background .2s, transform .15s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 20px rgba(196,45,20,.4);
}
.jbr-play-btn:active { transform: scale(.93); }
.jbr-play-btn.playing { animation: playerPulse 2s ease infinite; }
@keyframes playerPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(196,45,20,.4), 0 0 0 8px rgba(196,45,20,.1); }
  50%      { box-shadow: 0 4px 20px rgba(196,45,20,.4), 0 0 0 16px rgba(196,45,20,.05); }
}
.jbr-vol-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.jbr-vol-icon { font-size: 18px; cursor: pointer; padding: 4px; -webkit-tap-highlight-color: transparent; color: var(--muted); }
input[type=range].jbr-vol {
  -webkit-appearance: none; appearance: none;
  width: 130px; height: 5px;
  background: var(--border); border-radius: 3px; outline: none; cursor: pointer;
}
input[type=range].jbr-vol::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--red); cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
input[type=range].jbr-vol::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: none;
}
.jbr-player-actions {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}
.jbr-action-btn {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); background: #fff; border: 2px solid var(--border);
  padding: 9px 14px; cursor: pointer; font-weight: 600;
  transition: all .2s; display: inline-flex; align-items: center; gap: 5px;
  -webkit-tap-highlight-color: transparent;
}
.jbr-action-btn:hover, .jbr-action-btn:active { border-color: var(--red); color: var(--red); }
.jbr-station-link { font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.jbr-station-link a { color: var(--gold); font-weight: 600; border-bottom: 1px solid rgba(184,146,14,.4); }

/* ── Ticker ─────────────────────────────────────────────── */
.jbr-ticker { background: var(--red); padding: 10px 0; overflow: hidden; }
.ticker-inner { display: flex; gap: 56px; animation: tickerScroll 30s linear infinite; white-space: nowrap; }
.ticker-inner span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.95); font-weight: 600; flex-shrink: 0; }
.ticker-inner .dot { opacity: .5; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section base ───────────────────────────────────────── */
.jbr-section { padding: 52px 20px; }
.jbr-section.bg-white  { background: #fff; }
.jbr-section.bg-off    { background: var(--off); }
.jbr-section.bg-cream  { background: var(--cream); }
.sec-tag {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.sec-tag::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--red); }
.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 7vw, 64px);
  line-height: .95; color: var(--black); margin-bottom: 24px;
}
.sec-title em { font-family: 'DM Serif Display', serif; font-style: italic; color: var(--gold); }

/* ── Schedule ───────────────────────────────────────────── */
.jbr-schedule-note {
  font-size: 13px; color: var(--muted); margin-bottom: 20px;
  padding: 12px 16px; background: #fff8f0;
  border-left: 3px solid var(--gold); line-height: 1.6;
  display: none; /* hidden from visitors, shown in WP admin preview */
}
.sched-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 16px; }
.sched-tab {
  padding: 9px 14px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  background: #fff; border: 2px solid var(--border); color: var(--muted);
  cursor: pointer; font-weight: 700; transition: all .2s;
  -webkit-tap-highlight-color: transparent; min-width: 44px;
}
.sched-tab.active { border-color: var(--red); color: var(--red); background: #fff5f3; }
.sched-lists { }
.sched-list { display: none; flex-direction: column; gap: 2px; }
.sched-list.active { display: flex; }
.sched-row {
  background: #fff; padding: 14px 18px;
  display: flex; align-items: flex-start; gap: 14px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--border);
  transition: border-color .2s;
}
.sched-row:hover { border-left-color: var(--red); }
.sched-time { font-size: 12px; color: var(--red); letter-spacing: 1px; font-weight: 700; min-width: 76px; flex-shrink: 0; margin-top: 2px; }
.sched-body { flex: 1; }
.sched-show { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 2px; }
.sched-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.sched-empty { padding: 32px; text-align: center; color: var(--muted); font-size: 14px; background: #fff; border: 1px dashed var(--border); }

/* ── News ───────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 3px; margin-top: 20px; }
.news-card {
  background: #fff; display: flex; cursor: pointer;
  transition: box-shadow .2s, border-color .2s;
  border: 1px solid var(--border); border-left: 4px solid transparent; overflow: hidden;
}
.news-card:hover { border-left-color: var(--red); box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.news-thumb {
  width: 80px; height: 80px; flex-shrink: 0;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  border-right: 1px solid var(--border); position: relative; overflow: hidden;
}
.news-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-body { flex: 1; min-width: 0; padding: 14px 16px; }
.news-tag { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 5px; }
.news-title { font-family: 'DM Serif Display', serif; font-size: 16px; line-height: 1.3; color: var(--black); margin-bottom: 5px; }
.news-title a { color: inherit; }
.news-title a:hover { color: var(--red); }
.news-meta { font-size: 11px; color: var(--muted); }
.news-no-posts { padding: 32px; text-align: center; color: var(--muted); font-size: 14px; background: #fff; border: 1px dashed var(--border); }

/* ── Stats / About ──────────────────────────────────────── */
.about-text { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 10px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 20px; }
.stat-box { background: #fff; padding: 20px 12px; text-align: center; border: 1px solid var(--border); border-top: 4px solid var(--red); }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 44px; line-height: 1; color: var(--red); }
.stat-lbl { font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 4px; line-height: 1.4; }

/* ── Footer ─────────────────────────────────────────────── */
.jbr-footer { background: var(--black); color: rgba(255,255,255,.7); padding: 32px 20px; text-align: center; }
.jbr-footer-logo { margin: 0 auto 16px; max-width: 110px; }
.jbr-footer-logo img { width: 100%; height: auto; margin: 0 auto; }
.jbr-footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.jbr-footer-links a { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 500; transition: color .2s; }
.jbr-footer-links a:hover { color: #fff; }
.jbr-footer-copy { font-size: 11px; color: rgba(255,255,255,.22); }
.jbr-footer-main { margin-top: 8px; }
.jbr-footer-main a { font-size: 11px; color: var(--gold); border-bottom: 1px solid rgba(184,146,14,.4); }

/* ── Toast ──────────────────────────────────────────────── */
.jbr-toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(70px);
  background: var(--black); color: #fff; padding: 12px 22px;
  font-size: 12px; letter-spacing: 1px; z-index: 999;
  transition: transform .3s; pointer-events: none; white-space: nowrap;
  border-left: 3px solid var(--red);
}
.jbr-toast.show { transform: translateX(-50%) translateY(0); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .jbr-nav-links a:not(.jbr-nav-live) { display: none; }
  .jbr-hamburger { display: flex; }
}
@media (min-width: 600px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:first-child { grid-column: span 2; }
  .news-card:first-child .news-thumb { width: 110px; height: auto; }
}
@media (min-width: 900px) {
  .jbr-nav { padding: 0 48px; }
  .jbr-hero { padding: calc(var(--nav-h) + 48px) 40px 60px; }
  .jbr-player { padding: 32px 36px; max-width: 500px; margin: 0 auto 20px; }
  .jbr-section { padding: 72px 60px; }
  .news-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .news-card:first-child { grid-column: span 1; flex-direction: column; }
  .news-card:first-child .news-thumb { width: 100%; height: 140px; border-right: none; border-bottom: 1px solid var(--border); }
}

/* ── Footer contact ─────────────────────────────────────── */
.jbr-footer-contact {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.jbr-footer-contact a {
  font-size: 13px; color: rgba(255,255,255,.75);
  font-weight: 500; transition: color .2s;
}
.jbr-footer-contact a:hover { color: #fff; }
.jbr-footer-sep { color: rgba(255,255,255,.25); }

/* ── About page ─────────────────────────────────────────── */
.jbr-about-hero {
  padding: calc(var(--nav-h) + 48px) 20px 48px;
  background: linear-gradient(160deg, #fff 0%, #f7f0e4 60%, #ede4d0 100%);
  text-align: center; position: relative; overflow: hidden;
}
.jbr-about-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(196,45,20,.04) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.jbr-about-hero-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.jbr-about-hero img { height: 120px; width: auto; margin: 0 auto 20px; }
.jbr-about-lead {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: clamp(18px, 4vw, 26px); color: var(--gold);
  line-height: 1.4; margin-bottom: 16px;
}
.jbr-about-body { font-size: 16px; line-height: 1.8; color: var(--muted); }
.jbr-contact-cards {
  display: grid; grid-template-columns: 1fr;
  gap: 3px; margin-top: 8px;
}
.jbr-contact-card {
  background: #fff; padding: 24px 20px;
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--border); border-left: 4px solid var(--red);
}
.jbr-contact-card-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(196,45,20,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.jbr-contact-card-label {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 4px;
}
.jbr-contact-card-value {
  font-size: 16px; font-weight: 600; color: var(--black);
}
.jbr-contact-card-value a { color: var(--red); }
.jbr-contact-card-value a:hover { text-decoration: underline; }
@media (min-width: 600px) {
  .jbr-contact-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .jbr-about-hero { padding: calc(var(--nav-h) + 64px) 60px 64px; }
  .jbr-contact-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ── Nav menu from WordPress ────────────────────────────── */
.jbr-nav-menu { display:flex; align-items:center; gap:20px; list-style:none; margin:0; padding:0; }
.jbr-nav-menu li a { font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--muted); font-weight:500; transition:color .2s; }
.jbr-nav-menu li a:hover,
.jbr-nav-menu li.current-menu-item a { color:var(--red); }
.jbr-mobile-nav-menu { display:flex; flex-direction:column; align-items:center; gap:28px; list-style:none; margin:0; padding:0; }
.jbr-mobile-nav-menu li a { font-family:'Bebas Neue',sans-serif; font-size:36px; letter-spacing:3px; color:var(--text); transition:color .2s; }
.jbr-mobile-nav-menu li a:hover { color:var(--red); }

/* ── Schedule preview card (homepage) ───────────────────── */
.jbr-sched-preview {
  background:#fff; border:2px solid var(--border); border-left:5px solid var(--red);
  padding:28px 24px;
  display:flex; flex-direction:column; gap:16px;
  box-shadow:0 2px 16px rgba(0,0,0,.06);
}
.jbr-sched-preview-icon { font-size:40px; }
.jbr-sched-preview-title {
  font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:1px;
  color:var(--black); margin-bottom:6px;
}
.jbr-sched-preview-desc { font-size:14px; color:var(--muted); line-height:1.7; }
.jbr-sched-preview-btn {
  display:inline-block; align-self:flex-start;
  background:var(--red); color:#fff;
  padding:13px 28px; font-size:11px; letter-spacing:2px; text-transform:uppercase; font-weight:700;
  transition:background .2s;
}
.jbr-sched-preview-btn:hover { background:var(--red-dk); }
@media(min-width:700px) {
  .jbr-sched-preview { flex-direction:row; align-items:center; }
  .jbr-sched-preview-body { flex:1; }
  .jbr-sched-preview-btn { align-self:center; white-space:nowrap; flex-shrink:0; }
}

/* ── Schedule page — WordPress editor content ───────────── */
.jbr-schedule-editor-content { max-width:760px; margin:0 auto; }
.jbr-schedule-editor-content h2 {
  font-family:'Bebas Neue',sans-serif; font-size:clamp(28px,5vw,40px);
  color:var(--black); margin:36px 0 12px;
  padding-bottom:8px; border-bottom:3px solid var(--red);
  letter-spacing:1px;
}
.jbr-schedule-editor-content h3 {
  font-family:'DM Sans',sans-serif; font-size:16px; font-weight:700;
  color:var(--black); margin:20px 0 6px;
}
.jbr-schedule-editor-content p {
  font-size:15px; color:var(--muted); line-height:1.8; margin-bottom:10px;
}
.jbr-schedule-editor-content ul,
.jbr-schedule-editor-content ol {
  margin:0 0 16px 20px; padding:0;
}
.jbr-schedule-editor-content li {
  font-size:15px; color:var(--text); line-height:1.8; margin-bottom:4px;
}
.jbr-schedule-editor-content strong { color:var(--black); }
.jbr-schedule-editor-content table {
  width:100%; border-collapse:collapse; margin-bottom:24px;
}
.jbr-schedule-editor-content table th {
  background:var(--red); color:#fff;
  padding:10px 14px; font-size:11px; letter-spacing:2px; text-transform:uppercase;
  text-align:left; font-weight:700;
}
.jbr-schedule-editor-content table td {
  padding:12px 14px; border-bottom:1px solid var(--border);
  font-size:14px; color:var(--text); vertical-align:top;
  background:#fff;
}
.jbr-schedule-editor-content table tr:hover td { background:#fff8f5; }
.jbr-schedule-editor-content table td:first-child {
  font-weight:700; color:var(--red); white-space:nowrap; width:90px;
}

/* ── Floating Mini Player Bubble ────────────────────────── */
.jbr-bubble {
  position: fixed; bottom: 24px; right: 20px; z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end;
  pointer-events: none;
}
.jbr-bubble-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; pointer-events: all;
  box-shadow: 0 4px 20px rgba(196,45,20,.45);
  position: relative; transition: transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.jbr-bubble-icon:active { transform: scale(.93); }
.jbr-bubble-icon .jbr-bubble-live-dot { position: absolute; top: 7px; right: 7px; }
.jbr-bubble.collapsed .jbr-bubble-icon  { display: flex; }
.jbr-bubble.collapsed .jbr-bubble-panel { display: none; }

.jbr-bubble-panel {
  background: #fff; border: 2px solid var(--border);
  border-top: 4px solid var(--red);
  box-shadow: 0 8px 32px rgba(0,0,0,.16);
  width: 248px; pointer-events: all;
  animation: bubbleIn .25s ease;
}
@keyframes bubbleIn {
  from { opacity:0; transform:translateY(12px) scale(.96); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
.jbr-bubble-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 8px; border-bottom: 1px solid var(--border);
}
.jbr-bubble-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--black);
}
.jbr-bubble-live-badge {
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); font-weight: 700;
}
.jbr-bubble-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); flex-shrink: 0;
  animation: livePulse 1.4s ease infinite;
}
.jbr-bubble-collapse {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 18px; line-height: 1;
  padding: 2px 6px; -webkit-tap-highlight-color: transparent;
  transition: color .2s;
}
.jbr-bubble-collapse:hover { color: var(--red); }
.jbr-bubble-track-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-bottom: 1px solid var(--border);
  min-height: 48px;
}
.jbr-bubble-viz {
  display: flex; align-items: flex-end; gap: 2px;
  height: 20px; flex-shrink: 0;
}
.jbr-bubble-bar {
  width: 3px; border-radius: 2px; background: var(--red);
  opacity: .25; transition: height .18s ease;
}
.jbr-bubble.playing .jbr-bubble-bar { opacity: .85; }
.jbr-bubble-track {
  font-size: 12px; color: var(--text); font-weight: 500;
  line-height: 1.4; flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jbr-bubble-controls {
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.jbr-bubble-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); border: none; color: #fff;
  font-size: 16px; cursor: pointer; font-weight: bold;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(196,45,20,.35);
  transition: background .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.jbr-bubble-btn:active { transform: scale(.92); }

/* ── WhatsApp action button ─────────────────────────────── */
.jbr-wa-btn {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
}
.jbr-wa-btn:hover, .jbr-wa-btn:active {
  background: #1ebe5d !important;
  border-color: #1ebe5d !important;
  color: #fff !important;
}

/* ── Quick links grid ───────────────────────────────────── */
.jbr-quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  margin-top: 16px;
}
.jbr-quick-card {
  background: #fff;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.jbr-quick-card:hover {
  border-left-color: var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.jbr-quick-icon {
  font-size: 28px; flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
}
.jbr-quick-body { flex: 1; min-width: 0; }
.jbr-quick-title {
  font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 3px;
}
.jbr-quick-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.jbr-quick-arrow {
  font-size: 20px; color: var(--red); font-weight: 700;
  flex-shrink: 0; transition: transform .2s;
}
.jbr-quick-card:hover .jbr-quick-arrow { transform: translateX(4px); }

@media (min-width: 700px) {
  .jbr-quick-links { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .jbr-quick-links { grid-template-columns: repeat(3, 1fr); }
}

/* ── Floating WhatsApp Button ───────────────────────────── */
.jbr-wa-float {
  position: fixed; bottom: 90px; right: 20px; z-index: 190;
  background: #25d366;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,.40);
  color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .5px;
  transition: background .2s, box-shadow .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.jbr-wa-float:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,.50); }
.jbr-wa-float:active { transform: scale(.95); }
.jbr-wa-float-label { white-space: nowrap; }

/* On very small screens, collapse to icon only */
@media (max-width: 380px) {
  .jbr-wa-float-label { display: none; }
  .jbr-wa-float { padding: 12px; border-radius: 50%; }
}

/* Push WhatsApp button up when bubble is expanded */
.jbr-bubble:not(.collapsed) ~ .jbr-wa-float,
.jbr-wa-float { bottom: 96px; }
