.gbc-refresh-hidden { display: none !important; }

.gbc-refresh-panel {
  box-sizing: border-box;
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid #ded7e4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(37, 19, 42, .07);
  color: #17233a;
}

.gbc-refresh-panel h2 {
  margin: 0 0 12px;
  color: #a50067;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
}

.gbc-refresh-intro,
.gbc-refresh-note,
.gbc-refresh-feed-note {
  color: #596273;
  line-height: 1.6;
}

.gbc-refresh-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.gbc-refresh-field { display: grid; gap: 6px; font-weight: 600; }
.gbc-refresh-field select {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #c9cbd2;
  border-radius: 8px;
  background: #fff;
  color: #17233a;
  font: inherit;
}

.gbc-refresh-news { border-top: 4px solid #d00079; }
.gbc-refresh-chat { border-top: 4px solid #4340d9; }
.gbc-refresh-stories { display: grid; gap: 10px; margin-top: 12px; }
.gbc-refresh-story { padding: 12px 14px; border: 1px solid #ece7ee; border-radius: 10px; background: #fff; }
.gbc-refresh-story a { color: #18233b; font-weight: 700; line-height: 1.45; text-decoration: none; }
.gbc-refresh-story a:hover { color: #a50067; text-decoration: underline; }
.gbc-refresh-story p { margin: 6px 0 0; color: #737986; font-size: 13px; }
.gbc-refresh-sponsors {
  max-width: 1180px;
  margin: 36px auto;
  border-top: 4px solid #d00079;
  text-align: center;
}
.gbc-refresh-sponsor-link {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #a50067;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}
.gbc-refresh-admin-notice {
  margin: 0 0 14px;
  padding: 11px 14px;
  border-left: 4px solid #a50067;
  background: #fff4fa;
  color: #5c1742;
  font-weight: 600;
}

.gbc-refresh-top-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 2vw, 34px);
}
.gbc-refresh-top-row > .gbc-refresh-video-column,
.gbc-refresh-top-row > .gbc-refresh-content-column { min-width: 0; }

[id^="gbc-cn-"].gbc-refresh-rss,
[id^="gbc-hmc-"].gbc-refresh-wheel { max-width: 100%; }

@media (max-width: 760px) {
  .gbc-refresh-top-row { grid-template-columns: minmax(0, 1fr); }
  .gbc-refresh-controls { grid-template-columns: minmax(0, 1fr); }
  .gbc-refresh-panel { padding: 17px; }
}


.gbc-refresh-ticker {
  display: grid;
  gap: 10px;
  min-height: 142px;
  padding: 16px 18px;
  border: 1px solid #eadde8;
  border-left: 4px solid #d00079;
  border-radius: 12px;
  background: #fffafd;
}
.gbc-refresh-ticker-meta {
  margin: 0;
  color: #7a6878;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.gbc-refresh-ticker-title {
  display: -webkit-box;
  overflow: hidden;
  color: #17233a;
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.gbc-refresh-ticker-title:hover { color: #a50067; text-decoration: underline; }
.gbc-refresh-ticker-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.gbc-refresh-ticker-button {
  padding: 7px 11px;
  border: 1px solid #d9c4d4;
  border-radius: 7px;
  background: #fff;
  color: #7e0050;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.gbc-refresh-ticker-button:hover { border-color: #d00079; background: #fff2f9; }
.gbc-refresh-ticker-count { color: #746a73; font-size: 13px; font-variant-numeric: tabular-nums; }

/* Latest Buzz displays all returned headlines as a vertical list. */
.gbc-refresh-buzz-story { padding: 12px 2px; border-bottom: 1px solid #eadde8; }
.gbc-refresh-buzz-meta { margin: 0 0 5px; color: #7a6878; font-size: 12px; font-weight: 700; }
.gbc-refresh-buzz-title { color: #17233a; font-size: 15px; font-weight: 700; line-height: 1.45; text-decoration: none; }
.gbc-refresh-buzz-title:hover { color: #a50067; text-decoration: underline; }
.gbc-refresh-buzz-story { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:14px; }
.gbc-refresh-buzz-details { display:inline-block; padding:8px 12px; border-radius:7px; background:#d00079; color:#fff !important; font-size:12px; font-weight:700; text-decoration:none !important; white-space:nowrap; }
.gbc-refresh-buzz-details:hover { background:#a50067; }
@media (max-width:560px) { .gbc-refresh-buzz-story { grid-template-columns:minmax(0,1fr); } .gbc-refresh-buzz-details { justify-self:start; } }

/* Match the RSS panel's card and title styling. */
.gbc-refresh-news {
  box-sizing: border-box;
  width: 100%;
  padding: 22px;
  border: 1px solid #f0cadd;
  border-top: 4px solid #d00079;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(90, 22, 59, .08);
  color: #182536;
}
.gbc-refresh-news h2 {
  margin: 4px 0 0;
  color: #182536;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.15;
}
.gbc-refresh-news .gbc-refresh-stories {
  max-height: 600px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
}
@media (max-width: 560px) {
  .gbc-refresh-news { padding: 17px; }
}
