/**
 * Trick or Talk forum - Halloweenradio.net
 */
/* Hidden from users; visible to simple bots that fill every input */
.hr-forum-guest-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hr-forum-header {
  background: linear-gradient(165deg, rgba(30, 18, 8, 0.95) 0%, rgba(18, 12, 28, 0.92) 55%, rgba(12, 8, 20, 0.98) 100%);
  border-bottom: 1px solid rgba(244, 131, 27, 0.2);
  position: relative;
  overflow: hidden;
}

.hr-forum-header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 90% 0%, rgba(244, 131, 27, 0.08), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(147, 112, 219, 0.06), transparent 45%);
}

.hr-forum-header .container {
  position: relative;
  z-index: 1;
}

.hr-forum-kicker {
  color: rgba(255, 200, 140, 0.9);
}

.hr-forum-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.hr-forum-breadcrumb a:hover {
  color: #f4831b;
}

.hr-forum-bc-sep {
  margin: 0 0.35rem;
  opacity: 0.35;
}

.hr-forum-section {
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(40, 24, 12, 0.35), transparent 50%),
    #0f0c12;
}

.hr-forum-stats-row .hr-forum-stat-card {
  background: linear-gradient(145deg, rgba(35, 22, 14, 0.95), rgba(20, 14, 28, 0.9));
  border: 1px solid rgba(244, 131, 27, 0.18);
  border-radius: 0.5rem;
  padding: 0.45rem 0.65rem;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.hr-forum-stats-row .hr-forum-stat-n {
  font-size: 1.1rem;
  line-height: 1.15;
}

.hr-forum-stat-n {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffc78a;
  line-height: 1.2;
}

.hr-forum-stats-row .hr-forum-stat-l {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}

.hr-forum-stat-l {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.hr-forum-cat-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(32, 20, 14, 0.92), rgba(18, 14, 26, 0.88));
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.hr-forum-cat-card:hover {
  border-color: rgba(244, 131, 27, 0.45);
  box-shadow: 0 0 20px rgba(244, 131, 27, 0.12);
  transform: translateY(-1px);
}

.hr-forum-cat-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 131, 27, 0.12);
  color: #f4831b;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hr-forum-cat-meta {
  color: rgba(255, 200, 160, 0.55);
}

.hr-forum-block-title {
  color: rgba(255, 220, 190, 0.95);
  margin-bottom: 0.75rem;
}

/* Forum home: offset sidebar so the first card tops align with category cards (lg+). */
@media (min-width: 992px) {
  .hr-forum-home-columns .hr-forum-home-sidebar {
    padding-top: calc(1.25rem * 1.2 + 0.75rem);
  }
}

.hr-forum-side-block {
  background: rgba(22, 16, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.65rem;
  padding: 1rem 1.1rem;
}

.hr-forum-mini-list li {
  margin-bottom: 0.45rem;
}

.hr-forum-mini-list a {
  color: rgba(255, 230, 210, 0.9);
  text-decoration: none;
}

.hr-forum-mini-list a:hover {
  color: #f4831b;
}

.hr-forum-topic-list .list-group-item {
  background: rgba(18, 14, 24, 0.75);
  border-color: rgba(255, 255, 255, 0.06);
  color: #eee;
}

/* Category and search: separated rows, clearer topic links */
.hr-forum-topic-list--cards.list-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  --bs-list-group-border-width: 0;
}

.hr-forum-topic-list--cards .list-group-item {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.55rem;
  padding: 0.9rem 1.05rem;
  background: rgba(22, 16, 30, 0.88);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.hr-forum-topic-list--cards .list-group-item:hover {
  border-color: rgba(244, 131, 27, 0.45);
  background: rgba(30, 22, 40, 0.95);
  box-shadow: 0 0 0 1px rgba(244, 131, 27, 0.14);
}

.hr-forum-topic-list--cards .list-group-item + .list-group-item {
  margin-top: 0;
  border-top-width: 1px;
}

.hr-forum-topic-title {
  color: #ffe8d4;
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.38;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.hr-forum-topic-title:hover {
  color: #ffc78a;
  text-decoration: underline;
}

.hr-forum-topic-title:focus-visible {
  outline: 2px solid rgba(244, 131, 27, 0.7);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

.hr-forum-topic-meta {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.45);
}

.hr-forum-badge-hot {
  background: linear-gradient(90deg, #c62828, #ff6f00);
  border: 0;
}

.hr-forum-card {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hr-forum-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed rgba(244, 131, 27, 0.25);
  border-radius: 0.75rem;
  background: rgba(20, 14, 22, 0.5);
}

.hr-forum-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 12px rgba(244, 131, 27, 0.25));
}

.hr-forum-avatar {
  border: 2px solid rgba(244, 131, 27, 0.35);
}

.hr-forum-avatar-guest {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.5rem;
}

.hr-forum-body {
  line-height: 1.55;
  word-break: break-word;
}

.hr-forum-body code {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.hr-forum-inline-emoji {
  vertical-align: -0.25em;
  margin: 0 0.05em;
}

.hr-forum-emoji-bar .btn {
  padding: 0.15rem 0.35rem;
}

/* Reply / new-topic composer: keep emoji tools visually quiet */
.hr-forum-composer-extras .hr-forum-format-toolbar .hr-forum-format-btn {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 230, 210, 0.65);
  background: rgba(0, 0, 0, 0.15);
  font-weight: 600;
}

.hr-forum-composer-extras .hr-forum-format-toolbar .hr-forum-format-btn:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 235, 215, 0.9);
  background: rgba(255, 255, 255, 0.04);
}

.hr-forum-composer-under {
  align-items: center;
}

.hr-forum-composer-under .hr-forum-emoji-picker-details {
  margin-top: 0;
}

/* Open picker drops to full width under the format buttons */
.hr-forum-composer-under .hr-forum-emoji-picker-details[open] {
  flex: 1 1 100%;
  width: 100%;
}

.hr-forum-emoji-picker-details {
  margin-top: 0.1rem;
}

.hr-forum-emoji-picker-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.hr-forum-emoji-picker-summary::-webkit-details-marker {
  display: none;
}

.hr-forum-emoji-picker-summary::before {
  content: '\25B6';
  flex-shrink: 0;
  font-size: 0.55em;
  opacity: 0.4;
  margin-right: 0.15rem;
  transition: transform 0.15s ease;
}

.hr-forum-emoji-picker-details[open] .hr-forum-emoji-picker-summary::before {
  transform: rotate(90deg);
}

.hr-forum-emoji-picker-summary:hover {
  border-color: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.72);
}

.hr-forum-emoji-picker-summary-title {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(255, 230, 200, 0.52);
}

.hr-forum-emoji-picker-summary-hint {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.34);
}

.hr-forum-emoji-picker-body {
  padding-top: 0.6rem;
}

.hr-forum-composer-extras .hr-forum-emoji-search {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 245, 235, 0.88);
}

.hr-forum-composer-extras .hr-forum-emoji-search::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.hr-forum-composer-extras .hr-forum-emoji-search:focus {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 0.12rem rgba(255, 255, 255, 0.06);
}

.hr-forum-like-btn.active {
  background: rgba(244, 131, 27, 0.25);
  border-color: #f4831b;
  color: #ffc78a;
}

.hr-forum-moderation-note summary {
  list-style: none;
  cursor: pointer;
}

.hr-forum-moderation-note summary::-webkit-details-marker {
  display: none;
}

.hr-forum-moderation-note summary::before {
  content: '\25B6';
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.65em;
  opacity: 0.65;
  transform: rotate(0deg);
  transition: transform 0.15s ease;
}

.hr-forum-moderation-note[open] summary::before {
  transform: rotate(90deg);
}

/* Forum home sidebar: tuck moderation copy under Latest active, low contrast */
.hr-forum-moderation-note--sidebar {
  padding: 0.5rem 0.65rem;
  border-radius: 0.55rem;
  background: rgba(18, 14, 24, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.035);
}

.hr-forum-moderation-note--sidebar summary {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.hr-forum-moderation-note--sidebar summary:hover {
  color: rgba(255, 255, 255, 0.48);
}

.hr-forum-moderation-note--sidebar summary::before {
  opacity: 0.35;
  font-size: 0.55em;
  margin-right: 0.28rem;
}

.hr-forum-moderation-note--sidebar p {
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.4);
}

.hr-forum-search-hero-form .input-group {
  max-width: 44rem;
}

.hr-forum-emoji-dock {
  padding: 0.55rem 0.65rem;
  border-radius: 0.45rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.hr-forum-emoji-dock-kicker {
  letter-spacing: 0.03em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
}

.hr-forum-emoji-dock-kicker i {
  margin-right: 0.35rem;
  opacity: 0.45;
}

.hr-forum-emoji-dock-kicker--sub {
  margin-top: 0.15rem;
}

.hr-forum-emoji-dock-muted {
  color: rgba(255, 255, 255, 0.28);
}

.hr-forum-emoji-grid {
  gap: 0.35rem;
  max-height: 6.75rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.1rem 0.15rem 0.2rem 0;
  scrollbar-width: thin;
}

.hr-forum-emoji-grid--custom {
  max-height: 5.25rem;
}

.hr-forum-emoji-tile {
  min-width: 1.75rem;
  min-height: 1.75rem;
  padding: 0.1rem 0.2rem;
  line-height: 1.1;
  font-size: 1.05rem;
  border-radius: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.12);
  color: inherit;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}

.hr-forum-emoji-tile:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  transform: none;
}

.hr-forum-emoji-custom.hr-forum-emoji-tile {
  font-size: 0;
  min-width: 1.85rem;
  min-height: 1.85rem;
  padding: 0.12rem;
}

.hr-forum-reply-card-title {
  color: rgba(255, 220, 190, 0.55);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hr-forum-reply-hint {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.78rem;
}

.hr-forum-body u {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
