/**
 * Bandeau menu (Accueil / Manga / …) hors page d’accueil — reprend l’esprit du home.
 */

.dsc-site-header-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px 0;
  box-sizing: border-box;
}

.dsc-site-header {
  margin: 0 auto 16px;
  max-width: min(1100px, 100%);
  padding: 12px 14px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 38, 88, 0.12);
  background:
    radial-gradient(900px 220px at 18% 0%, rgba(255, 31, 63, 0.22), transparent 55%),
    radial-gradient(700px 260px at 88% 35%, rgba(255, 149, 0, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(15, 16, 26, 0.94), rgba(7, 8, 13, 0.92));
  box-shadow:
    0 22px 72px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 31, 63, 0.08) inset;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 20;
  overflow: visible;
}

.dsc-site-header__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dsc-site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: clamp(15px, 1.2vw, 20px);
  letter-spacing: 1px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: normal;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(16, 17, 26, 0.85), rgba(10, 11, 16, 0.55));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  color: inherit;
}

.dsc-site-header__brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.dsc-site-header__brand-text span {
  display: block;
}

.dsc-site-header__site-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  object-fit: cover;
  margin-left: 2px;
  padding: 3px;
  background:
    radial-gradient(circle at 50% 45%, rgba(10, 11, 16, 0.96) 0%, rgba(10, 11, 16, 0.96) 62%, rgba(0, 0, 0, 0) 63%),
    linear-gradient(135deg, rgba(255, 59, 92, 1), rgba(255, 179, 0, 0.98));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 0 22px rgba(255, 31, 63, 0.22);
  transform: translateY(-1px);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  filter: saturate(1.12) contrast(1.05);
}

.dsc-site-header__brand:hover .dsc-site-header__site-icon {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 32px rgba(255, 31, 63, 0.32);
  filter: saturate(1.2) contrast(1.08);
}

.dsc-site-header__logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 31, 63, 0.2);
  font-weight: 900;
}

.dsc-site-header__brand-text {
  background: linear-gradient(90deg, #ff1f3f, #ff7a90 55%, #ffd1d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dsc-site-header__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
  justify-content: flex-end;
  min-width: 0;
  overflow: visible;
}

.dsc-menu-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dsc-menu-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dsc-menu-dropdown__chev {
  opacity: 0.85;
  font-size: 12px;
  transform: translateY(-1px);
}

.dsc-menu-dropdown__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(16, 17, 26, 0.98), rgba(10, 11, 16, 0.98));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 50;
}

.dsc-menu-dropdown.is-open .dsc-menu-dropdown__panel,
.dsc-menu-dropdown:focus-within .dsc-menu-dropdown__panel {
  display: block;
}

.dsc-menu-dropdown__item {
  display: block;
  padding: 9px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #e6e8ef;
  font-size: 13px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.dsc-menu-dropdown__item:hover,
.dsc-menu-dropdown__item:focus-visible {
  border-color: rgba(255, 31, 63, 0.35);
  background: rgba(43, 13, 21, 0.55);
  transform: translateY(-1px);
  outline: none;
}

.dsc-menu-dropdown__section-label {
  display: block;
  padding: 10px 10px 4px;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(229, 231, 235, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dsc-site-header .menu-pill {
  font-size: 13px;
  color: #e6e8ef;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 9px 13px;
  white-space: nowrap;
  background: rgba(16, 17, 26, 0.65);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.dsc-site-header .menu-pill:hover {
  border-color: rgba(255, 31, 63, 0.35);
  background: rgba(43, 13, 21, 0.65);
  transform: translateY(-1px);
}

.dsc-site-header .menu-pill--active,
.dsc-site-header .menu-pill.active {
  border-color: rgba(255, 31, 63, 0.55);
  background: linear-gradient(180deg, rgba(255, 31, 63, 0.22), rgba(43, 13, 21, 0.62));
  color: #ffd2da;
  box-shadow: 0 10px 28px rgba(255, 31, 63, 0.1);
}

.dsc-site-header__account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.dsc-site-header__account-btn {
  font-size: 13px;
  color: #e7e9f0;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 9px 13px;
  white-space: nowrap;
  background: rgba(16, 17, 26, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.dsc-site-header__account-btn:hover {
  border-color: rgba(255, 31, 63, 0.35);
  background: rgba(43, 13, 21, 0.55);
  transform: translateY(-1px);
}

.dsc-site-header__account-btn--active {
  border-color: rgba(255, 31, 63, 0.45);
  background: rgba(43, 13, 21, 0.45);
}

.dsc-site-header__account-icon {
  flex-shrink: 0;
}

