body.howler-bg {
  background: linear-gradient(180deg, #f4f6fb 0%, #e8edf7 100%);
  min-height: 100vh;
  color: #2e2e2e;
}

.navbar {
  background: #cc0000 !important;
  border-bottom: 1px solid #990000 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.navbar .navbar-brand {
  color: white !important;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.navbar-main-link {
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.navbar-main-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.navbar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid white;
  background: white;
  color: #cc0000 !important;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.navbar-pill:hover {
  background: #990000;
  color: white !important;
  border-color: #990000;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.navbar-pill.logout-pill {
  background: transparent;
  color: white !important;
  border-color: white;
}

.navbar-pill.logout-pill:hover {
  background: white;
  color: #cc0000 !important;
}

.btn-dark {
  background: #cc0000 !important;
  border-color: #cc0000 !important;
  border-radius: 14px !important;
  font-weight: 700;
  padding: 8px 16px;
}

.btn-dark:hover {
  background: #990000 !important;
  border-color: #990000 !important;
}

.btn-outline-dark {
  color: #cc0000 !important;
  border-color: #cc0000 !important;
  border-radius: 14px !important;
  font-weight: 700;
  padding: 8px 16px;
}

.btn-outline-dark:hover {
  background: #cc0000 !important;
  color: white !important;
}

.card {
  border-radius: 22px !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.card .fw-semibold {
  font-size: 1rem;
}

.card small {
  font-size: 0.85rem;
}

.avatar-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.page-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #222;
  letter-spacing: -0.02em;
}

.feed-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 0;
}

.howl-text {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #2e2e2e;
  margin-top: 14px;
}

.text-muted {
  color: #62666d !important;
}

a.text-decoration-none.text-dark:hover {
  opacity: 0.9;
  cursor: pointer;
}

a.text-decoration-none.text-dark:hover .fw-semibold,
a.text-decoration-none.text-dark:hover .text-muted {
  text-decoration: underline;
}

.profile-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  border-radius: 20px;
  padding: 20px;
}

.profile-name {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.profile-username {
  font-size: 1.15rem;
  color: #666 !important;
}

/* follows dropdown style */
.follows-details {
  border: 1px solid #dee2e6;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.follows-summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.follows-summary::-webkit-details-marker {
  display: none;
}

.follows-summary::after {
  content: "▼";
  font-size: 0.95rem;
  transition: transform 160ms ease;
}

.follows-details[open] .follows-summary::after {
  transform: rotate(180deg);
}

.following-row {
  border-radius: 12px;
  padding: 10px 10px;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.following-row:hover {
  background: #f5f7fb;
  transform: translateX(4px);
}

.user-clickable {
  cursor: pointer;
  border-radius: 14px;
  padding: 6px;
  transition: background 140ms ease;
}

.user-clickable:hover {
  background: rgba(0, 0, 0, 0.04);
}

.back-button {
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 1rem;
  color: #cc0000;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 10px;

  transition:
    background 150ms ease,
    transform 150ms ease;
}

.back-button:hover {
  background: rgba(204, 0, 0, 0.1);
  transform: translateX(-2px);
}

.top-button {
  position: fixed;
  bottom: 24px;
  right: 24px;

  width: 44px;
  height: 44px;

  border: none;
  border-radius: 50%;

  background: #cc0000;
  color: white;
  font-size: 20px;
  font-weight: bold;

  cursor: pointer;

  display: none; /* hidden by default */

  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);

  transition:
    opacity 200ms ease,
    transform 200ms ease,
    background 150ms ease;
}

.top-button:hover {
  background: #990000;
  transform: translateY(-3px);
}
