/*
Theme Name: FCBayern Daily
Theme URI: https://example.com/
Author: OpenAI
Description: Eigenes WordPress-Theme für FCBAYERN DAILY mit Startseite, Tickets-Seite und responsivem Menü.
Version: 3.1.9
Text Domain: fcbayern-daily
*/

:root{
  --bd-red:#dc052d;
  --bd-darkred:#8c0018;
  --bd-blue:#003b7a;
  --bd-navy:#070719;
  --bd-white:#fff;
  --bd-light:#f4f5f7;
  --bd-text:#111322;
  --bd-radius:14px;
  --bd-shadow:0 14px 40px rgba(0,0,0,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bd-white);
  color:var(--bd-text);
}
a{color:inherit}
img{max-width:100%;height:auto}
.bd-container{width:min(1180px,calc(100% - 32px));margin-inline:auto}

.site-header{
  position:sticky;top:0;z-index:1000;
  background:#fff;
  border-bottom:5px solid var(--bd-red);
  box-shadow:0 8px 24px rgba(0,0,0,.10);
}
.header-inner{
  min-height:84px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.site-branding{display:flex;align-items:center;gap:14px;text-decoration:none}
.site-logo{width:95px;height:54px;object-fit:contain;display:block}
.site-title{font-weight:900;font-size:clamp(20px,2.5vw,34px);letter-spacing:-1px;white-space:nowrap;color:var(--bd-navy)}
.menu-toggle{
  border:0;background:var(--bd-red);color:#fff;
  width:54px;height:48px;border-radius:8px;
  font-size:25px;cursor:pointer;font-weight:900;
}
.main-nav{
  display:none;position:absolute;right:16px;top:92px;
  width:min(320px,calc(100vw - 32px));
  background:#fff;border-top:5px solid var(--bd-red);
  border-radius:10px;box-shadow:var(--bd-shadow);padding:10px;
}
.main-nav.is-open{display:block}
.main-nav a{
  display:block;text-decoration:none;padding:14px 16px;
  border-radius:8px;font-weight:800;color:var(--bd-navy);
}
.main-nav a:hover,.main-nav .current-menu-item>a{background:var(--bd-red);color:#fff}

.hero{
  min-height:520px;
  display:flex;align-items:center;
  color:#fff;position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 78% 30%,rgba(255,255,255,.14),transparent 35%),
    linear-gradient(110deg,rgba(4,4,18,.98),rgba(130,0,25,.90) 55%,rgba(220,5,45,.70)),
    linear-gradient(135deg,#080820,#dc052d);
}
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(135deg,transparent 60%,rgba(255,255,255,.08) 60%,rgba(255,255,255,.08) 65%,transparent 65%);
}
.hero-content{position:relative;z-index:1;max-width:760px;padding:72px 0}
.eyebrow{font-size:14px;letter-spacing:3px;text-transform:uppercase;font-weight:900;margin:0 0 14px}
.hero h1{margin:0 0 20px;font-size:clamp(48px,9vw,96px);line-height:.92;letter-spacing:-4px;text-transform:uppercase}
.hero h1 span{color:#ff2048}
.hero p{font-size:clamp(17px,2vw,21px);line-height:1.65;max-width:680px}
.button{
  display:inline-block;padding:14px 22px;border-radius:8px;
  text-decoration:none;background:var(--bd-red);color:#fff;
  font-weight:900;border:2px solid var(--bd-red);
  transition:.2s ease;
}
.button:hover{background:#fff;color:var(--bd-red);border-color:#fff;transform:translateY(-2px)}
.button.secondary{background:var(--bd-navy);border-color:var(--bd-navy)}
.button.secondary:hover{background:var(--bd-blue);color:#fff;border-color:var(--bd-blue)}
.red-line{height:7px;background:linear-gradient(90deg,var(--bd-darkred),var(--bd-red),var(--bd-darkred))}
.section{padding:70px 0}
.section.light{background:var(--bd-light)}
.section-title{font-size:clamp(30px,4vw,48px);line-height:1.1;margin:0 0 20px}
.lead{font-size:19px;line-height:1.75;max-width:900px}
.motto{border-left:6px solid var(--bd-red);padding:10px 0 10px 18px;font-weight:900}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{
  background:#fff;border-radius:var(--bd-radius);box-shadow:var(--bd-shadow);
  overflow:hidden;border-top:6px solid var(--bd-red);
  padding:28px;min-height:220px;
}
.card h3{font-size:24px;margin:0 0 12px}
.card p{line-height:1.65}
.card-link{font-weight:900;color:var(--bd-red);text-decoration:none}

.ticket-hero{
  min-height:430px;display:flex;align-items:center;color:#fff;
  background:
    linear-gradient(110deg,rgba(4,4,18,.96),rgba(120,0,25,.86)),
    linear-gradient(135deg,#080820,#dc052d);
}
.ticket-box{
  background:#fff;border-radius:var(--bd-radius);box-shadow:var(--bd-shadow);
  padding:30px;border-left:7px solid var(--bd-red);
}
.faq details{
  background:#fff;border-radius:10px;padding:16px 18px;margin-bottom:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.08)
}
.faq summary{cursor:pointer;font-weight:900}

.site-footer{
  background:var(--bd-navy);color:#fff;border-top:6px solid var(--bd-red);
  padding:34px 0;text-align:center;
}
.site-footer p{margin:8px 0 0;color:#d8d9e0;font-size:14px}

@media (min-width:960px){
  .menu-toggle{display:none}
  .main-nav{
    display:flex!important;position:static;width:auto;padding:0;box-shadow:none;
    border:0;border-radius:0;gap:4px;background:transparent;
  }
  .main-nav a{padding:12px 13px;font-size:15px}
}
@media (max-width:820px){
  .card-grid{grid-template-columns:1fr}
  .hero{min-height:470px}
}
@media (max-width:560px){
  .header-inner{min-height:74px}
  .site-logo{width:68px;height:42px}
  .site-title{font-size:18px}
  .main-nav{top:82px}
  .hero-content{padding:55px 0}
  .hero h1{letter-spacing:-2px}
  .section{padding:50px 0}
}


/* Modern cleaner footer */
.site-footer{
  background:linear-gradient(180deg,#09091b 0%,#050510 100%);
  color:#fff;
  border-top:5px solid var(--bd-red);
  padding:58px 0 0;
  text-align:left;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:48px;
  align-items:start;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}
.footer-logo{
  width:72px;
  height:44px;
  object-fit:contain;
  background:#fff;
  border-radius:8px;
  padding:4px;
}
.footer-title{
  font-size:24px;
  font-weight:900;
  letter-spacing:-.6px;
}
.footer-copy{
  color:#c9cbd6;
  line-height:1.7;
  max-width:460px;
  margin:0;
}
.footer-heading{
  margin:0 0 15px;
  color:#fff;
  font-size:15px;
  letter-spacing:1.4px;
  text-transform:uppercase;
}
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-links li{margin:9px 0}
.footer-links a{
  color:#c9cbd6;
  text-decoration:none;
  transition:.2s ease;
}
.footer-links a:hover{
  color:#fff;
  padding-left:4px;
}
.footer-social{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.footer-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:44px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  transition:.2s ease;
}
.footer-social a:hover{
  background:var(--bd-red);
  border-color:var(--bd-red);
  transform:translateY(-2px);
}
.footer-bottom{
  margin-top:42px;
  padding:20px 0;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  color:#aeb1bf;
  font-size:13px;
}
.footer-bottom p{margin:0;color:#aeb1bf}
.back-to-top{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--bd-red);
  color:#fff;
  text-decoration:none;
  font-weight:900;
}

/* Contact form */
.bd-contact-wrap{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:34px;
  align-items:start;
}
.bd-contact-card,
.bd-contact-form{
  background:#fff;
  border-radius:var(--bd-radius);
  box-shadow:var(--bd-shadow);
  padding:30px;
}
.bd-contact-card{
  border-top:6px solid var(--bd-red);
}
.bd-contact-form label{
  display:block;
  font-weight:800;
  margin-bottom:8px;
}
.bd-contact-form input,
.bd-contact-form textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid #d9dbe2;
  border-radius:8px;
  font:inherit;
  margin-bottom:18px;
  background:#fff;
}
.bd-contact-form textarea{
  min-height:170px;
  resize:vertical;
}
.bd-contact-form input:focus,
.bd-contact-form textarea:focus{
  outline:2px solid rgba(220,5,45,.18);
  border-color:var(--bd-red);
}
.bd-notice{
  padding:14px 16px;
  border-radius:8px;
  margin-bottom:18px;
  font-weight:700;
}
.bd-notice.success{
  background:#eaf8ef;
  color:#176b35;
  border:1px solid #bfe8cc;
}
.bd-notice.error{
  background:#fff0f2;
  color:#8f1027;
  border:1px solid #f1c2cb;
}
.bd-hp{position:absolute!important;left:-9999px!important}

@media (max-width:820px){
  .footer-grid{grid-template-columns:1fr 1fr}
  .bd-contact-wrap{grid-template-columns:1fr}
}
@media (max-width:560px){
  .footer-grid{grid-template-columns:1fr;gap:30px}
  .footer-bottom{align-items:flex-start;flex-direction:column}
}


/* Animated breaking-news ticker */
.bd-news-ticker{
  position:relative;z-index:90;width:100%;min-height:46px;
  display:grid;grid-template-columns:auto 1fr auto;align-items:stretch;
  overflow:hidden;background:var(--bd-navy);color:#fff;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.bd-ticker-label{
  position:relative;z-index:3;display:flex;align-items:center;gap:8px;
  padding:0 18px;background:var(--bd-red);color:#fff;font-size:12px;
  font-weight:900;letter-spacing:1.4px;text-transform:uppercase;white-space:nowrap;
}
.bd-live-dot{
  width:8px;height:8px;border-radius:50%;background:#fff;
  box-shadow:0 0 0 0 rgba(255,255,255,.65);animation:bdPulse 1.8s infinite;
}
.bd-ticker-window{
  min-width:0;overflow:hidden;display:flex;align-items:center;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);
}
.bd-ticker-track{
  display:flex;width:max-content;animation:bdTickerScroll 65s linear infinite;
  will-change:transform;
}
.bd-news-ticker:hover .bd-ticker-track,
.bd-news-ticker.is-paused .bd-ticker-track{animation-play-state:paused}
.bd-ticker-group{display:flex;align-items:center;flex-shrink:0}
.bd-ticker-item{
  display:inline-flex;align-items:center;gap:9px;padding:0 17px;color:#fff;
  text-decoration:none;white-space:nowrap;font-size:14px;line-height:46px;
}
.bd-ticker-item:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.bd-ticker-source{
  color:#ff6d86;font-size:11px;font-weight:900;letter-spacing:.7px;text-transform:uppercase;
}
.bd-ticker-separator{color:var(--bd-red);font-size:8px}
.bd-ticker-toggle{
  width:48px;border:0;border-left:1px solid rgba(255,255,255,.10);
  background:#0e0e24;color:#fff;cursor:pointer;font-weight:900;
}
.bd-ticker-toggle:hover{background:var(--bd-red)}
@keyframes bdTickerScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes bdPulse{
  0%{box-shadow:0 0 0 0 rgba(255,255,255,.65)}
  70%{box-shadow:0 0 0 7px rgba(255,255,255,0)}
  100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}
}
@media (prefers-reduced-motion:reduce){
  .bd-ticker-track{animation:none}
  .bd-live-dot{animation:none}
  .bd-ticker-window{overflow-x:auto}
}
@media (max-width:560px){
  .bd-news-ticker{min-height:42px;grid-template-columns:auto 1fr}
  .bd-ticker-label{padding:0 11px;font-size:10px;letter-spacing:.8px}
  .bd-ticker-toggle{display:none}
  .bd-ticker-item{line-height:42px;font-size:13px;padding:0 14px}
}


/* Testbereich: Anmeldung, Konto und Moderation */
.bd-account-link{
  margin-left:auto;
  padding:10px 14px;
  border:1px solid #e1e2e8;
  border-radius:8px;
  color:var(--bd-navy);
  text-decoration:none;
  font-weight:800;
  white-space:nowrap;
}
.bd-account-link:hover{
  background:var(--bd-red);
  border-color:var(--bd-red);
  color:#fff;
}
.bd-auth-shell{
  display:flex;
  justify-content:center;
}
.bd-auth-card{
  width:min(560px,100%);
  background:#fff;
  border-radius:var(--bd-radius);
  box-shadow:var(--bd-shadow);
  padding:32px;
  border-top:6px solid var(--bd-red);
}
.bd-auth-card form label,
.bd-account-card form label{
  display:block;
  margin:0 0 7px;
  font-weight:800;
}
.bd-auth-card input[type="text"],
.bd-auth-card input[type="email"],
.bd-auth-card input[type="password"],
.bd-account-card input[type="text"],
.bd-user-search input{
  width:100%;
  padding:13px 14px;
  border:1px solid #d9dbe2;
  border-radius:8px;
  margin:0 0 17px;
  font:inherit;
}
.bd-auth-card input[type="submit"]{
  border:0;
  padding:14px 22px;
  border-radius:8px;
  background:var(--bd-red);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.bd-auth-links{
  margin-top:22px;
  line-height:1.8;
}
.bd-account-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:30px;
}
.bd-account-grid{
  display:grid;
  grid-template-columns:1.3fr .8fr;
  gap:26px;
}
.bd-account-card{
  background:#fff;
  border-radius:var(--bd-radius);
  box-shadow:var(--bd-shadow);
  padding:28px;
  border-top:5px solid var(--bd-red);
}
.bd-user-search{
  background:#fff;
  border-radius:12px;
  padding:22px;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
  margin-bottom:24px;
}
.bd-user-search label{
  display:block;
  margin-bottom:8px;
  font-weight:900;
}
.bd-user-search>div{
  display:flex;
  gap:10px;
}
.bd-user-search input{
  margin:0;
}
.bd-user-table-wrap{
  overflow:auto;
  background:#fff;
  border-radius:12px;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
}
.bd-user-table{
  width:100%;
  border-collapse:collapse;
  min-width:850px;
}
.bd-user-table th,
.bd-user-table td{
  padding:15px;
  text-align:left;
  border-bottom:1px solid #ececf1;
  vertical-align:top;
}
.bd-user-table th{
  background:var(--bd-navy);
  color:#fff;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.7px;
}
.bd-inline-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.bd-small-button{
  border:0;
  border-radius:6px;
  padding:8px 10px;
  background:var(--bd-navy);
  color:#fff;
  cursor:pointer;
  font-weight:800;
}
.bd-small-button.danger{
  background:var(--bd-red);
}
.bd-status{
  display:inline-block;
  padding:5px 9px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}
.bd-status.active{
  background:#e7f7ed;
  color:#176b35;
}
.bd-status.suspended{
  background:#fff0f2;
  color:#8f1027;
}
@media (max-width:900px){
  .bd-account-link{display:none}
}
@media (max-width:700px){
  .bd-account-grid{grid-template-columns:1fr}
  .bd-account-header{align-items:flex-start;flex-direction:column}
  .bd-user-search>div{flex-direction:column}
}


/* Konto direkt im Hauptmenü */
.main-nav .bd-menu-account,
.main-nav .bd-menu-moderation{
  display:block;
  text-decoration:none;
  padding:14px 16px;
  border-radius:8px;
  font-weight:900;
  color:var(--bd-navy);
}
.main-nav .bd-menu-account{
  margin-top:6px;
  background:#f2f3f6;
}
.main-nav .bd-menu-moderation{
  margin-top:6px;
  background:var(--bd-navy);
  color:#fff;
}
.main-nav .bd-menu-account:hover,
.main-nav .bd-menu-moderation:hover{
  background:var(--bd-red);
  color:#fff;
}
@media (min-width:960px){
  .main-nav .bd-menu-account,
  .main-nav .bd-menu-moderation{
    display:inline-flex;
    align-items:center;
    margin-top:0;
    margin-left:4px;
    padding:12px 13px;
    font-size:15px;
  }
}


.bd-account-quicklinks{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:24px;
}
.bd-account-quicklinks a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:64px;
  padding:12px;
  border-radius:10px;
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.08);
  text-decoration:none;
  font-weight:900;
  color:var(--bd-navy);
}
.bd-account-quicklinks a:hover{
  background:var(--bd-red);
  color:#fff;
}
@media (max-width:700px){
  .bd-account-quicklinks{
    grid-template-columns:1fr 1fr;
  }
}


/* E-Mail-Bestätigung und Moderator-E-Mail-Änderung */
.bd-email-change-row{
  display:flex;
  gap:7px;
  width:100%;
  margin-top:7px;
}
.bd-email-change-row input{
  min-width:210px;
  flex:1;
  padding:8px 9px;
  border:1px solid #d9dbe2;
  border-radius:6px;
  font:inherit;
  font-size:13px;
}
@media (max-width:900px){
  .bd-email-change-row{
    flex-direction:column;
  }
}


/* Small fixes: compact header + working dark mode */
:root{
  --bd-page-bg:#ffffff;
  --bd-surface:#ffffff;
  --bd-surface-soft:#f4f5f7;
  --bd-body-text:#111322;
  --bd-muted:#646978;
  --bd-border:#e3e5eb;
}

body{
  background:var(--bd-page-bg);
  color:var(--bd-body-text);
  transition:background-color .25s ease,color .25s ease;
}

.site-header{
  background:var(--bd-surface);
  border-bottom:0;
  box-shadow:0 5px 18px rgba(0,0,0,.08);
}

.header-inner{
  min-height:76px;
  gap:12px;
}

.site-branding{
  gap:10px;
  min-width:0;
}

.site-logo{
  width:82px;
  height:46px;
}

.site-title{
  font-size:clamp(18px,2.2vw,29px);
  letter-spacing:-.8px;
}

.bd-dark-toggle,
.menu-toggle{
  flex:0 0 auto;
  width:46px;
  height:46px;
  border:0;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.bd-dark-toggle{
  margin-left:auto;
  background:var(--bd-surface-soft);
  color:var(--bd-body-text);
  font-size:20px;
  border:1px solid var(--bd-border);
}

.bd-dark-toggle:hover{
  transform:translateY(-1px);
}

.menu-toggle{
  background:var(--bd-red);
  color:#fff;
  font-size:23px;
}

.main-nav{
  top:84px;
}

.card,
.ticket-box,
.bd-auth-card,
.bd-account-card,
.bd-contact-card,
.bd-contact-form,
.bd-user-search,
.bd-user-table-wrap,
.faq details{
  background:var(--bd-surface);
  color:var(--bd-body-text);
}

.section.light,
.bd-contact-page{
  background:var(--bd-surface-soft);
}

input,
textarea,
select{
  background:var(--bd-surface);
  color:var(--bd-body-text);
  border-color:var(--bd-border);
}

/* Dark mode */
html.bd-dark{
  --bd-page-bg:#0b0c12;
  --bd-surface:#141620;
  --bd-surface-soft:#0f1119;
  --bd-body-text:#f2f3f7;
  --bd-muted:#b7bbc7;
  --bd-border:#2a2e3a;
}

html.bd-dark .site-header,
html.bd-dark .main-nav{
  background:var(--bd-surface);
}

html.bd-dark .site-title,
html.bd-dark .main-nav a,
html.bd-dark .bd-account-link,
html.bd-dark .bd-menu-account{
  color:var(--bd-body-text);
}

html.bd-dark .main-nav a:hover,
html.bd-dark .main-nav .current-menu-item>a{
  color:#fff;
}

html.bd-dark .lead,
html.bd-dark p,
html.bd-dark li,
html.bd-dark label,
html.bd-dark td,
html.bd-dark h1,
html.bd-dark h2,
html.bd-dark h3,
html.bd-dark h4{
  color:var(--bd-body-text);
}

html.bd-dark .card,
html.bd-dark .ticket-box,
html.bd-dark .bd-auth-card,
html.bd-dark .bd-account-card,
html.bd-dark .bd-contact-card,
html.bd-dark .bd-contact-form,
html.bd-dark .bd-user-search,
html.bd-dark .bd-user-table-wrap,
html.bd-dark .faq details{
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}

html.bd-dark input,
html.bd-dark textarea,
html.bd-dark select{
  background:#10121a;
  color:#fff;
}

html.bd-dark .bd-dark-icon::before{
  content:"";
}

@media (max-width:560px){
  .header-inner{
    min-height:70px;
  }
  .site-logo{
    width:64px;
    height:38px;
  }
  .site-title{
    font-size:17px;
  }
  .bd-dark-toggle,
  .menu-toggle{
    width:42px;
    height:42px;
    border-radius:9px;
  }
  .main-nav{
    top:78px;
  }
}


/* Step fix: menu bullets, logo visibility, clean account icon */

/* Remove unwanted bullets/markers from the mobile menu */
.main-nav,
.main-nav ul,
.main-nav li{
  list-style:none !important;
  margin:0 !important;
  padding-left:0 !important;
}
.main-nav li::marker,
.main-nav a::marker{
  content:"" !important;
}
.main-nav > li,
.main-nav ul > li{
  display:block !important;
  width:100% !important;
}

/* Keep the dropdown visually clean and aligned */
.main-nav{
  padding:12px !important;
}
.main-nav a{
  position:relative;
  display:flex !important;
  align-items:center;
  gap:12px;
  min-height:48px;
  padding:12px 14px !important;
}

/* Clean account icon drawn with CSS instead of an emoji */
.main-nav .bd-menu-account::before{
  content:"";
  flex:0 0 22px;
  width:22px;
  height:22px;
  background:
    radial-gradient(circle at 50% 29%, currentColor 0 18%, transparent 20%),
    radial-gradient(ellipse at 50% 86%, transparent 0 35%, currentColor 37% 45%, transparent 47%);
  opacity:.95;
}
.main-nav .bd-menu-account{
  border:1px solid var(--bd-border);
  background:var(--bd-surface-soft) !important;
  color:var(--bd-body-text) !important;
}
.main-nav .bd-menu-account:hover{
  background:var(--bd-red) !important;
  color:#fff !important;
  border-color:var(--bd-red);
}

/* Clean moderator shield icon */
.main-nav .bd-menu-moderation::before{
  content:"";
  flex:0 0 20px;
  width:20px;
  height:22px;
  background:currentColor;
  clip-path:polygon(50% 0,92% 16%,86% 67%,50% 100%,14% 67%,8% 16%);
  opacity:.95;
}

/* Make the uploaded logo readable in dark mode */
html.bd-dark .site-logo,
html.bd-dark .footer-logo{
  background:#fff;
  border-radius:10px;
  padding:4px 6px;
  box-shadow:0 6px 18px rgba(0,0,0,.28);
}

/* If WordPress outputs a custom-logo wrapper, style that as well */
.site-branding .custom-logo-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
html.bd-dark .site-branding .custom-logo{
  background:#fff;
  border-radius:10px;
  padding:4px 6px;
  box-shadow:0 6px 18px rgba(0,0,0,.28);
}

/* Slightly cleaner mobile menu proportions */
@media (max-width:560px){
  .main-nav{
    left:14px !important;
    right:14px !important;
    width:auto !important;
    max-height:calc(100vh - 100px);
    overflow-y:auto;
    border-radius:14px;
  }
  .main-nav a{
    font-size:17px;
    min-height:52px;
  }
}


/* Step 2: dark logo swap + SVG account icon */
.bd-logo-switch{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:82px;
  height:46px;
  flex:0 0 auto;
}

.bd-logo-switch .site-logo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  background:transparent !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  transition:opacity .2s ease;
}

.bd-logo-dark{
  opacity:0;
  pointer-events:none;
}

html.bd-dark .bd-logo-light{
  opacity:0;
}

html.bd-dark .bd-logo-dark{
  opacity:1;
}

/* Remove the older white-box dark-mode treatment */
html.bd-dark .site-logo,
html.bd-dark .footer-logo,
html.bd-dark .site-branding .custom-logo{
  background:transparent !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
}

.bd-account-svg{
  width:21px;
  height:21px;
  flex:0 0 21px;
  fill:currentColor;
  display:block;
}

/* Disable the previous CSS-drawn account icon */
.main-nav .bd-menu-account::before{
  content:none !important;
  display:none !important;
}

.main-nav .bd-menu-account{
  gap:10px;
}

@media (max-width:560px){
  .bd-logo-switch{
    width:64px;
    height:38px;
  }
}


/* Step 3: header account icon beside theme toggle */
.bd-header-account{
  flex:0 0 auto;
  width:46px;
  height:46px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--bd-body-text);
  background:var(--bd-surface-soft);
  border:1px solid var(--bd-border);
  text-decoration:none;
  transition:transform .18s ease, background-color .18s ease, color .18s ease;
}

.bd-header-account svg{
  width:22px;
  height:22px;
  fill:currentColor;
  display:block;
}

.bd-header-account:hover{
  transform:translateY(-1px);
  background:var(--bd-red);
  border-color:var(--bd-red);
  color:#fff;
}

/* Keep all three controls aligned: theme, account, menu */
.bd-dark-toggle,
.bd-header-account,
.menu-toggle{
  align-self:center;
}

html.bd-dark .bd-header-account{
  color:#fff;
  background:#20232f;
  border-color:#343846;
}

html.bd-dark .bd-header-account:hover{
  background:var(--bd-red);
  border-color:var(--bd-red);
}

/* No duplicate account item in dropdown */
.main-nav .bd-menu-account{
  display:none !important;
}

@media (max-width:560px){
  .bd-header-account{
    width:42px;
    height:42px;
    border-radius:9px;
  }

  .bd-header-account svg{
    width:21px;
    height:21px;
  }
}


/* Footer step: modern clean footer */
.bd-modern-footer{
  margin-top:0;
  padding:0;
  color:#fff;
  background:
    radial-gradient(circle at 12% 0%,rgba(220,5,45,.16),transparent 26%),
    linear-gradient(180deg,#0a0b13 0%,#05060b 100%);
  border-top:4px solid var(--bd-red);
  text-align:left;
}

.bd-modern-footer .bd-container{
  padding-top:52px;
}

.bd-footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(160px,.75fr) minmax(180px,.8fr);
  gap:52px;
  align-items:start;
}

.bd-footer-brand-row{
  display:flex;
  align-items:center;
  gap:13px;
}

.bd-footer-logo-wrap{
  position:relative;
  display:inline-flex;
  width:66px;
  height:40px;
  flex:0 0 66px;
}

.bd-footer-logo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  transition:opacity .2s ease;
}

.bd-footer-logo-dark{
  opacity:1;
}

.bd-footer-logo-light{
  opacity:0;
}

html:not(.bd-dark) .bd-footer-logo-dark{
  opacity:1;
}

html:not(.bd-dark) .bd-footer-logo-light{
  opacity:0;
}

.bd-footer-brand-name{
  font-size:23px;
  line-height:1;
  letter-spacing:-.5px;
}

.bd-footer-description{
  max-width:460px;
  margin:18px 0 22px;
  color:#b9bdc9 !important;
  font-size:15px;
  line-height:1.75;
}

.bd-footer-social{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

.bd-footer-social a{
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  transition:transform .18s ease,background-color .18s ease,border-color .18s ease;
}

.bd-footer-social a:hover{
  transform:translateY(-2px);
  background:var(--bd-red);
  border-color:var(--bd-red);
}

.bd-footer-column h2{
  margin:4px 0 17px;
  color:#fff !important;
  font-size:13px;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.bd-footer-column ul{
  list-style:none;
  margin:0;
  padding:0;
}

.bd-footer-column li{
  margin:0 0 11px;
}

.bd-footer-column a{
  color:#c7cad4;
  text-decoration:none;
  font-size:15px;
  transition:color .18s ease,transform .18s ease;
}

.bd-footer-column a:hover{
  color:#fff;
}

.bd-footer-contact{
  display:inline-block;
  margin-top:17px;
  padding-top:17px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#fff !important;
  font-weight:800;
}

.bd-footer-bottom{
  margin-top:42px;
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid rgba(255,255,255,.1);
}

.bd-footer-bottom p{
  margin:0;
  color:#8f94a3 !important;
  font-size:12px;
  line-height:1.6;
}

.bd-footer-top{
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#fff;
  background:var(--bd-red);
  text-decoration:none;
  font-size:20px;
  font-weight:900;
  box-shadow:0 8px 20px rgba(220,5,45,.28);
  transition:transform .18s ease;
}

.bd-footer-top:hover{
  transform:translateY(-2px);
  color:#fff;
}

@media (max-width:820px){
  .bd-footer-grid{
    grid-template-columns:1.2fr .8fr;
    gap:38px 28px;
  }

  .bd-footer-column:last-child{
    grid-column:2;
  }
}

@media (max-width:560px){
  .bd-modern-footer .bd-container{
    padding-top:38px;
  }

  .bd-footer-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .bd-footer-column:last-child{
    grid-column:auto;
  }

  .bd-footer-brand-name{
    font-size:20px;
  }

  .bd-footer-description{
    margin-top:15px;
  }

  .bd-footer-bottom{
    min-height:auto;
    padding:18px 0 22px;
    align-items:flex-start;
  }

  .bd-footer-bottom p{
    max-width:82%;
  }
}


/* Footer step 2: Instagram and X only */
.bd-footer-social a{
  width:44px;
  height:44px;
}

.bd-footer-social svg{
  width:20px;
  height:20px;
  display:block;
  fill:currentColor;
}

/* The email address was removed, so this old separator is no longer needed. */
.bd-footer-contact{
  display:none !important;
}


/* Language step: first-visit selector and DE/EN switch */
.bd-language-switch{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  height:46px;
  padding:0 11px;
  border:1px solid var(--bd-border);
  border-radius:10px;
  background:var(--bd-surface-soft);
  color:var(--bd-body-text);
  font-size:12px;
  font-weight:900;
}

.bd-lang-button{
  border:0;
  padding:0;
  background:transparent;
  color:inherit;
  cursor:pointer;
  font:inherit;
  opacity:.55;
}

.bd-lang-button.is-active{
  color:var(--bd-red);
  opacity:1;
}

.bd-language-modal[hidden]{
  display:none !important;
}

.bd-language-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:20px;
}

.bd-language-backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,4,10,.82);
  backdrop-filter:blur(8px);
}

.bd-language-dialog{
  position:relative;
  width:min(520px,100%);
  padding:30px;
  border-radius:18px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  border:1px solid var(--bd-border);
  box-shadow:0 24px 70px rgba(0,0,0,.38);
}

.bd-language-kicker{
  margin:0 0 8px !important;
  color:var(--bd-red) !important;
  font-size:12px;
  font-weight:900;
  letter-spacing:1.8px;
}

.bd-language-dialog h2{
  margin:0 0 10px;
  font-size:clamp(26px,5vw,38px);
  line-height:1.1;
}

.bd-language-dialog>p:not(.bd-language-kicker){
  margin:0 0 22px !important;
  color:var(--bd-muted) !important;
  line-height:1.6;
}

.bd-language-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.bd-language-option{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:92px;
  padding:16px;
  border:1px solid var(--bd-border);
  border-radius:13px;
  background:var(--bd-surface-soft);
  color:var(--bd-body-text);
  cursor:pointer;
  text-align:left;
  transition:transform .18s ease,border-color .18s ease,background-color .18s ease;
}

.bd-language-option:hover{
  transform:translateY(-2px);
  border-color:var(--bd-red);
}

.bd-language-flag{
  font-size:28px;
}

.bd-language-option strong,
.bd-language-option small{
  display:block;
}

.bd-language-option small{
  margin-top:4px;
  color:var(--bd-muted);
  line-height:1.35;
}

html.bd-language-modal-open,
html.bd-language-modal-open body{
  overflow:hidden;
}

@media (max-width:700px){
  .bd-language-switch{
    order:4;
    height:42px;
    padding:0 8px;
    border-radius:9px;
    font-size:11px;
  }
}

@media (max-width:520px){
  .bd-language-dialog{
    padding:24px 20px;
  }

  .bd-language-options{
    grid-template-columns:1fr;
  }
}


/* Step 7: language in account + modern home feature cards */

/* Header language switch removed to avoid mobile overlap. */
.header-inner > .bd-language-switch{
  display:none !important;
}

/* Account language settings */
.bd-language-settings-card{
  grid-column:1 / -1;
}

.bd-account-language-options{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.bd-account-language-button{
  min-width:150px;
  min-height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border:1px solid var(--bd-border);
  border-radius:10px;
  background:var(--bd-surface-soft);
  color:var(--bd-body-text);
  cursor:pointer;
  font:inherit;
  font-weight:900;
  opacity:1;
}

.bd-account-language-button:hover,
.bd-account-language-button.is-active{
  background:var(--bd-red);
  border-color:var(--bd-red);
  color:#fff;
}

/* Modern image cards */
.bd-feature-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.bd-feature-card{
  position:relative;
  overflow:hidden;
  min-height:450px;
  padding:0 !important;
  border-radius:20px !important;
  border-top:0 !important;
  background:#11131d !important;
  box-shadow:0 16px 42px rgba(0,0,0,.16) !important;
}

.bd-feature-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(5,6,12,.03) 0%,rgba(5,6,12,.15) 38%,rgba(5,6,12,.96) 78%);
  pointer-events:none;
}

.bd-feature-media{
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  transition:transform .45s ease;
}

.bd-feature-news .bd-feature-media{
  background-image:url("assets/images/home-news.svg");
}

.bd-feature-tickets .bd-feature-media{
  background-image:url("assets/images/home-tickets.svg");
}

.bd-feature-social .bd-feature-media{
  background-image:url("assets/images/home-social.svg");
}

.bd-feature-card:hover .bd-feature-media{
  transform:scale(1.045);
}

.bd-feature-content{
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:0;
  padding:28px;
  color:#fff;
}

.bd-feature-number{
  display:inline-flex;
  margin-bottom:10px;
  color:#ff3659;
  font-size:12px;
  font-weight:900;
  letter-spacing:1.6px;
}

.bd-feature-card h3{
  margin:0 0 12px;
  color:#fff !important;
  font-size:clamp(30px,4vw,42px);
}

.bd-feature-card p{
  margin:0 0 20px;
  color:#e7e8ed !important;
  font-size:16px;
  line-height:1.65;
}

.bd-feature-card .card-link{
  color:#ff2d53 !important;
  font-weight:900;
  text-decoration:none;
}

.bd-feature-card .card-link:hover{
  color:#fff !important;
}

@media (max-width:900px){
  .bd-feature-grid{
    grid-template-columns:1fr;
  }

  .bd-feature-card{
    min-height:390px;
  }
}

@media (max-width:560px){
  .bd-feature-card{
    min-height:360px;
    border-radius:16px !important;
  }

  .bd-feature-content{
    padding:24px;
  }

  .bd-account-language-options{
    flex-direction:column;
  }

  .bd-account-language-button{
    width:100%;
  }
}


/* Step 10: automatic next match and live score */
.bd-next-match{
  padding:34px 0;
  background:
    radial-gradient(circle at 15% 0%,rgba(220,5,45,.18),transparent 32%),
    var(--bd-surface-soft);
}

.bd-next-match-card{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  padding:28px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.98),rgba(246,247,250,.96));
  border:1px solid var(--bd-border);
  box-shadow:0 18px 48px rgba(0,0,0,.12);
}

html.bd-dark .bd-next-match-card{
  background:
    linear-gradient(135deg,rgba(20,22,32,.98),rgba(12,14,22,.98));
}

.bd-next-match-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:5px;
  background:linear-gradient(90deg,var(--bd-red),#ff5470);
}

.bd-match-topline{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
}

.bd-match-topline .eyebrow{
  margin:0 0 6px;
  color:var(--bd-red);
}

.bd-match-competition{
  color:var(--bd-muted);
  font-size:14px;
  font-weight:800;
}

.bd-match-status{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  background:var(--bd-surface-soft);
  color:var(--bd-muted);
  font-size:11px;
  font-weight:900;
  letter-spacing:1px;
}

.bd-match-status.is-live{
  background:var(--bd-red);
  color:#fff;
  animation:bdLivePulse 1.8s infinite;
}

.bd-match-teams{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
  margin:28px 0 20px;
}

.bd-match-team{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:13px;
  text-align:center;
}

.bd-match-team strong{
  font-size:clamp(18px,3vw,27px);
  line-height:1.15;
}

.bd-match-crest,
.bd-match-crest-fallback{
  width:92px;
  height:92px;
  object-fit:contain;
}

.bd-match-crest-fallback{
  display:grid;
  place-items:center;
  font-size:54px;
}

.bd-match-score{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--bd-body-text);
  font-size:clamp(36px,7vw,64px);
  font-weight:950;
}

.bd-match-score small{
  font-size:.55em;
}

.bd-match-vs{
  color:var(--bd-red);
  font-size:clamp(22px,5vw,38px);
  letter-spacing:2px;
}

.bd-match-meta{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px 22px;
  color:var(--bd-muted);
  font-size:14px;
  font-weight:800;
}

.bd-match-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.bd-match-source{
  margin:18px 0 0 !important;
  text-align:center;
  color:var(--bd-muted) !important;
  font-size:12px;
}

.bd-next-match-empty{
  padding:30px;
  border-radius:18px;
  background:var(--bd-surface);
  border:1px solid var(--bd-border);
  box-shadow:0 14px 34px rgba(0,0,0,.10);
  text-align:center;
}

.bd-next-match-empty h2{
  margin:6px 0 12px;
}

.bd-match-admin-link{
  display:inline-block;
  margin-left:14px;
  color:var(--bd-red);
  font-weight:900;
  text-decoration:none;
}

.bd-fixtures-list{
  display:grid;
  gap:12px;
}

.bd-fixture-row{
  display:grid;
  grid-template-columns:minmax(170px,.9fr) 1fr auto 1fr;
  align-items:center;
  gap:18px;
  padding:18px 20px;
  border-radius:14px;
  background:var(--bd-surface);
  border:1px solid var(--bd-border);
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.bd-fixture-date{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.bd-fixture-date span{
  color:var(--bd-muted);
  font-size:13px;
}

.bd-fixture-team{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
}

.bd-fixture-team .bd-match-crest,
.bd-fixture-team .bd-match-crest-fallback{
  width:42px;
  height:42px;
}

.bd-fixture-score{
  min-width:56px;
  text-align:center;
  color:var(--bd-red);
  font-weight:950;
}

.bd-fixture-score.is-live{
  color:#fff;
  background:var(--bd-red);
  border-radius:999px;
  padding:7px 10px;
}

@keyframes bdLivePulse{
  0%,100%{box-shadow:0 0 0 0 rgba(220,5,45,.42)}
  50%{box-shadow:0 0 0 8px rgba(220,5,45,0)}
}

@media (max-width:760px){
  .bd-next-match{
    padding:24px 0;
  }

  .bd-next-match-card{
    padding:23px 18px;
    border-radius:17px;
  }

  .bd-match-teams{
    gap:10px;
  }

  .bd-match-crest,
  .bd-match-crest-fallback{
    width:68px;
    height:68px;
  }

  .bd-match-team strong{
    font-size:16px;
  }

  .bd-fixture-row{
    grid-template-columns:1fr auto;
  }

  .bd-fixture-date{
    grid-column:1 / -1;
    padding-bottom:10px;
    border-bottom:1px solid var(--bd-border);
  }

  .bd-fixture-team:nth-of-type(2),
  .bd-fixture-team:nth-of-type(4){
    justify-content:flex-start;
  }
}

@media (max-width:430px){
  .bd-match-topline{
    align-items:center;
  }

  .bd-match-teams{
    grid-template-columns:1fr 50px 1fr;
  }

  .bd-match-crest,
  .bd-match-crest-fallback{
    width:56px;
    height:56px;
  }

  .bd-match-meta{
    flex-direction:column;
    align-items:center;
    gap:5px;
  }

  .bd-match-actions .button{
    width:100%;
    text-align:center;
  }

  .bd-match-admin-link{
    display:block;
    margin:14px 0 0;
  }
}


/* Step 12: gated live ticker */
.bd-live-ticker-button.is-locked,
.bd-fixture-live-button.is-locked{
  opacity:.55;
  cursor:not-allowed;
}

.bd-fixture-row{
  grid-template-columns:minmax(170px,.9fr) 1fr auto auto 1fr;
}

.bd-fixture-live-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  background:var(--bd-red);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

.bd-live-ticker-panel{
  border-radius:20px;
  overflow:hidden;
  background:var(--bd-surface);
  border:1px solid var(--bd-border);
  box-shadow:0 16px 44px rgba(0,0,0,.12);
}

.bd-live-ticker-score{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
  padding:30px;
  background:
    radial-gradient(circle at 50% 0%,rgba(220,5,45,.15),transparent 42%),
    var(--bd-surface);
}

.bd-live-team{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  text-align:center;
}

.bd-live-team strong{
  font-size:clamp(17px,3vw,25px);
}

.bd-live-score-centre{
  text-align:center;
}

.bd-live-state{
  display:inline-flex;
  min-height:30px;
  align-items:center;
  padding:0 11px;
  border-radius:999px;
  background:var(--bd-surface-soft);
  color:var(--bd-muted);
  font-size:11px;
  font-weight:900;
}

.bd-live-state.is-live{
  background:var(--bd-red);
  color:#fff;
}

.bd-live-score-value{
  display:flex;
  align-items:center;
  gap:10px;
  margin:12px 0 5px;
  font-size:clamp(42px,8vw,72px);
  font-weight:950;
}

.bd-live-score-value small{
  font-size:.55em;
}

.bd-live-minute{
  color:var(--bd-red);
  font-weight:900;
}

.bd-live-meta{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px 22px;
  padding:15px 20px;
  border-top:1px solid var(--bd-border);
  border-bottom:1px solid var(--bd-border);
  color:var(--bd-muted);
  font-size:13px;
  font-weight:800;
}

.bd-live-events{
  padding:26px;
}

.bd-live-events h2{
  margin-top:0;
}

.bd-live-event-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.bd-live-event-list li{
  display:grid;
  grid-template-columns:52px 120px 1fr;
  gap:12px;
  padding:14px 16px;
  border-radius:10px;
  background:var(--bd-surface-soft);
}

.bd-live-event-list p{
  margin:0 !important;
}

.bd-live-empty,
.bd-live-locked-page{
  text-align:center;
}

@media (max-width:760px){
  .bd-fixture-row{
    grid-template-columns:1fr auto;
  }

  .bd-fixture-live-button{
    grid-column:1 / -1;
  }

  .bd-live-ticker-score{
    gap:10px;
    padding:24px 15px;
  }

  .bd-live-event-list li{
    grid-template-columns:42px 1fr;
  }

  .bd-live-event-list p{
    grid-column:2;
  }
}


/* Step 13: match preview and custom site modal */
.bd-fixture-actions{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.bd-fixture-preview-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  background:var(--bd-surface-soft);
  color:var(--bd-body-text);
  border:1px solid var(--bd-border);
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

.bd-preview-card{
  overflow:hidden;
  border-radius:22px;
  background:var(--bd-surface);
  border:1px solid var(--bd-border);
  box-shadow:0 18px 48px rgba(0,0,0,.12);
}

.bd-preview-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:28px;
  border-bottom:1px solid var(--bd-border);
}

.bd-preview-heading .section-title{
  margin:0 0 8px;
}

.bd-preview-heading p,
.bd-preview-heading>span{
  color:var(--bd-muted);
  font-weight:800;
}

.bd-preview-teams{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
  padding:34px 28px;
  background:
    radial-gradient(circle at 50% 0%,rgba(220,5,45,.13),transparent 45%),
    var(--bd-surface);
}

.bd-preview-team{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  text-align:center;
}

.bd-preview-team strong{
  font-size:clamp(18px,3vw,27px);
}

.bd-preview-vs{
  color:var(--bd-red);
  font-size:clamp(24px,5vw,42px);
  font-weight:950;
}

.bd-preview-info-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  background:var(--bd-border);
}

.bd-preview-info-grid section{
  padding:20px;
  background:var(--bd-surface);
}

.bd-preview-info-grid span,
.bd-preview-info-grid strong{
  display:block;
}

.bd-preview-info-grid span{
  margin-bottom:7px;
  color:var(--bd-muted);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
}

.bd-preview-text{
  padding:28px;
}

.bd-preview-text h2{
  margin-top:0;
}

.bd-preview-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding:0 28px 30px;
}

.bd-site-modal[hidden]{
  display:none !important;
}

.bd-site-modal{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:center;
  padding:20px;
}

.bd-site-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,3,8,.78);
  backdrop-filter:blur(7px);
}

.bd-site-modal-dialog{
  position:relative;
  width:min(430px,100%);
  padding:30px;
  border-radius:18px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  border:1px solid var(--bd-border);
  box-shadow:0 24px 70px rgba(0,0,0,.4);
  text-align:center;
}

.bd-site-modal-dialog h2{
  margin:0 0 12px;
}

.bd-site-modal-dialog p{
  margin:0 0 22px !important;
  color:var(--bd-muted) !important;
  line-height:1.65;
}

.bd-site-modal-close{
  position:absolute;
  top:10px;
  right:12px;
  width:36px;
  height:36px;
  border:0;
  background:transparent;
  color:var(--bd-muted);
  font-size:28px;
  cursor:pointer;
}

html.bd-site-modal-open,
html.bd-site-modal-open body{
  overflow:hidden;
}

@media (max-width:760px){
  .bd-fixture-actions{
    grid-column:1 / -1;
    flex-direction:row;
  }

  .bd-fixture-actions a{
    flex:1;
  }

  .bd-preview-heading{
    flex-direction:column;
  }

  .bd-preview-info-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:480px){
  .bd-preview-teams{
    gap:10px;
    padding:28px 14px;
  }

  .bd-preview-info-grid{
    grid-template-columns:1fr;
  }
}


/* Step 14: branded password reset flow */
.bd-password-page{
  min-height:60vh;
  display:flex;
  align-items:center;
}

.bd-password-card{
  width:min(620px,100%);
  margin:0 auto;
  padding:32px;
  border-radius:20px;
  background:var(--bd-surface);
  border:1px solid var(--bd-border);
  box-shadow:0 18px 48px rgba(0,0,0,.12);
}

.bd-password-card h1{
  margin:0 0 14px;
  font-size:clamp(30px,6vw,48px);
}

.bd-password-card>p:not(.eyebrow){
  color:var(--bd-muted) !important;
  line-height:1.7;
}

.bd-password-form{
  display:grid;
  gap:12px;
  margin-top:24px;
}

.bd-password-form label{
  font-weight:900;
}

.bd-password-form input{
  width:100%;
  min-height:52px;
  padding:12px 14px;
  border:1px solid var(--bd-border);
  border-radius:10px;
  background:var(--bd-surface-soft);
  color:var(--bd-body-text);
  font:inherit;
}

.bd-password-form .button{
  margin-top:8px;
  border:0;
  cursor:pointer;
}

.bd-password-back{
  display:inline-block;
  margin-top:22px;
  color:var(--bd-red);
  text-decoration:none;
  font-weight:900;
}

.bd-form-message{
  margin:20px 0;
  padding:14px 16px;
  border-radius:10px;
  font-weight:800;
  line-height:1.55;
}

.bd-form-message.success{
  color:#0d5b35;
  background:#e4f7ed;
  border:1px solid #a9dfc2;
}

.bd-form-message.error{
  color:#8f1025;
  background:#fde9ed;
  border:1px solid #f3b3bf;
}

html.bd-dark .bd-form-message.success{
  color:#c4f5da;
  background:#123324;
  border-color:#255d41;
}

html.bd-dark .bd-form-message.error{
  color:#ffd6dd;
  background:#3c1720;
  border-color:#743041;
}

@media (max-width:560px){
  .bd-password-card{
    padding:25px 20px;
    border-radius:16px;
  }
}


/* Step 15: modern profile system */
.bd-account-page{
  background:
    radial-gradient(circle at 10% 0%,rgba(220,5,45,.10),transparent 26%),
    var(--bd-surface-soft);
}

.bd-profile-hero{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:20px;
  margin-bottom:22px;
  padding:24px;
  border-radius:20px;
  background:var(--bd-surface);
  border:1px solid var(--bd-border);
  box-shadow:0 14px 36px rgba(0,0,0,.10);
}

.bd-profile-avatar-wrap{
  width:96px;
  height:96px;
  border-radius:50%;
  overflow:hidden;
  border:4px solid var(--bd-red);
  background:var(--bd-surface-soft);
}

.bd-profile-avatar{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.bd-profile-hero-copy .eyebrow{
  margin:0 0 6px;
  color:var(--bd-red);
}

.bd-profile-hero-copy h1{
  margin:0;
  font-size:clamp(30px,5vw,48px);
}

.bd-profile-hero-copy p:last-child{
  margin:6px 0 0 !important;
  color:var(--bd-muted) !important;
}

.bd-profile-logout{
  white-space:nowrap;
}

.bd-account-quicklinks{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:22px;
}

.bd-account-quicklinks a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:62px;
  padding:14px 16px;
  border-radius:14px;
  background:var(--bd-surface);
  border:1px solid var(--bd-border);
  color:var(--bd-body-text);
  text-decoration:none;
  font-weight:900;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
  transition:transform .18s ease,border-color .18s ease;
}

.bd-account-quicklinks a:hover{
  transform:translateY(-2px);
  border-color:var(--bd-red);
}

.bd-profile-layout{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);
  gap:22px;
  align-items:start;
}

.bd-profile-sidebar{
  display:grid;
  gap:22px;
}

.bd-profile-main-card{
  min-width:0;
}

.bd-account-card-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:20px;
}

.bd-account-card-heading h2{
  margin:0;
}

.bd-profile-form{
  display:grid;
  gap:22px;
}

.bd-profile-image-field{
  display:grid;
  grid-template-columns:96px 1fr;
  align-items:center;
  gap:18px;
  padding:18px;
  border-radius:14px;
  background:var(--bd-surface-soft);
  border:1px solid var(--bd-border);
}

.bd-profile-avatar-preview{
  width:96px;
  height:96px;
  border-radius:50%;
  border:3px solid var(--bd-red);
}

.bd-profile-image-field label{
  display:block;
  margin-bottom:8px;
  font-weight:900;
}

.bd-profile-image-field input[type="file"]{
  width:100%;
}

.bd-profile-image-field small{
  display:block;
  margin-top:7px;
  color:var(--bd-muted);
  line-height:1.45;
}

.bd-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.bd-field-group{
  display:grid;
  gap:8px;
}

.bd-field-group label{
  font-weight:900;
}

.bd-field-group input{
  width:100%;
  min-height:52px;
  padding:12px 14px;
  border:1px solid var(--bd-border);
  border-radius:10px;
  background:var(--bd-surface-soft);
  color:var(--bd-body-text);
  font:inherit;
}

.bd-field-group input[readonly]{
  opacity:.72;
  cursor:not-allowed;
}

.bd-field-group small{
  color:var(--bd-muted);
  line-height:1.45;
}

.bd-field-note-warning{
  color:#d08b00 !important;
  font-weight:800;
}

.bd-account-data-list{
  display:grid;
  gap:0;
  margin:0;
}

.bd-account-data-list>div{
  padding:14px 0;
  border-bottom:1px solid var(--bd-border);
}

.bd-account-data-list>div:last-child{
  border-bottom:0;
}

.bd-account-data-list dt{
  margin-bottom:5px;
  color:var(--bd-muted);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
}

.bd-account-data-list dd{
  margin:0;
  font-weight:900;
  word-break:break-word;
}

@media (max-width:880px){
  .bd-profile-layout{
    grid-template-columns:1fr;
  }

  .bd-account-quicklinks{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:620px){
  .bd-profile-hero{
    grid-template-columns:auto 1fr;
  }

  .bd-profile-logout{
    grid-column:1 / -1;
    width:100%;
    text-align:center;
  }

  .bd-account-quicklinks{
    grid-template-columns:1fr 1fr;
  }

  .bd-form-grid{
    grid-template-columns:1fr;
  }

  .bd-profile-image-field{
    grid-template-columns:1fr;
    text-align:center;
  }

  .bd-profile-avatar-preview{
    margin:0 auto;
  }
}

@media (max-width:420px){
  .bd-account-quicklinks{
    grid-template-columns:1fr;
  }

  .bd-profile-hero{
    grid-template-columns:1fr;
    text-align:center;
  }

  .bd-profile-avatar-wrap{
    margin:0 auto;
  }
}


/* Step 17: custom login and community roles */
.bd-custom-login-form{
  display:grid;
  gap:10px;
}

.bd-custom-login-form label{
  font-weight:900;
}

.bd-custom-login-form input[type="text"],
.bd-custom-login-form input[type="password"]{
  width:100%;
  min-height:52px;
  padding:12px 14px;
  border:1px solid var(--bd-border);
  border-radius:10px;
  background:var(--bd-surface-soft);
  color:var(--bd-body-text);
  font:inherit;
}

.bd-login-remember{
  display:flex !important;
  align-items:center;
  gap:9px;
  margin:4px 0 8px !important;
  font-weight:700 !important;
}

.bd-login-remember input{
  width:auto !important;
  min-height:auto !important;
}

.bd-role-badge{
  --badge-color:#dc052d;
  --badge-bg:rgba(220,5,45,.12);
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:30px;
  padding:5px 11px;
  border:1px solid color-mix(in srgb,var(--badge-color) 68%,transparent);
  border-radius:999px;
  color:var(--badge-color);
  background:var(--badge-bg);
  font-size:12px;
  font-weight:950;
  letter-spacing:.35px;
  white-space:nowrap;
  box-shadow:
    0 0 8px color-mix(in srgb,var(--badge-color) 28%,transparent),
    inset 0 0 10px color-mix(in srgb,var(--badge-color) 9%,transparent);
  animation:bdRoleGlow 2.8s ease-in-out infinite;
}

.bd-role-administrator{
  --badge-color:#ffcc48;
  --badge-bg:linear-gradient(110deg,rgba(220,5,45,.22),rgba(255,204,72,.15));
}

.bd-role-moderator{
  --badge-color:#ff7a2f;
  --badge-bg:rgba(255,122,47,.13);
}

.bd-role-helper{
  --badge-color:#ff3659;
  --badge-bg:rgba(255,54,89,.12);
}

.bd-role-vip{
  --badge-color:#ffd75a;
  --badge-bg:rgba(255,215,90,.13);
}

.bd-role-bayern-member{
  --badge-color:#ff1744;
  --badge-bg:rgba(130,0,25,.26);
}

.bd-role-volunteer{
  --badge-color:#51d68a;
  --badge-bg:rgba(81,214,138,.12);
}

.bd-role-member{
  --badge-color:#aeb4c5;
  --badge-bg:rgba(174,180,197,.10);
}

@keyframes bdRoleGlow{
  0%,100%{
    filter:brightness(1);
    box-shadow:0 0 6px color-mix(in srgb,var(--badge-color) 22%,transparent);
  }
  50%{
    filter:brightness(1.15);
    box-shadow:0 0 15px color-mix(in srgb,var(--badge-color) 48%,transparent);
  }
}

@media (prefers-reduced-motion:reduce){
  .bd-role-badge{animation:none}
}

.bd-profile-role{
  margin-top:10px;
}

.bd-role-assignment{
  display:grid;
  grid-template-columns:1fr auto;
  gap:7px;
  width:100%;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid var(--bd-border);
}

.bd-role-assignment label{
  grid-column:1 / -1;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.bd-role-assignment select{
  min-width:160px;
  min-height:36px;
  padding:6px 9px;
  border:1px solid var(--bd-border);
  border-radius:7px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
}

@media (max-width:760px){
  .bd-role-assignment{
    grid-template-columns:1fr;
  }

  .bd-role-assignment label{
    grid-column:auto;
  }
}


/* Step 19: public member profiles */
.bd-members-page,
.bd-public-profile-page{
  background:
    radial-gradient(circle at 12% 0%,rgba(220,5,45,.10),transparent 28%),
    var(--bd-surface-soft);
}

.bd-members-heading{
  margin-bottom:22px;
}

.bd-members-heading p{
  color:var(--bd-muted) !important;
}

.bd-member-search{
  display:grid;
  gap:8px;
  margin-bottom:26px;
  padding:20px;
  border-radius:16px;
  background:var(--bd-surface);
  border:1px solid var(--bd-border);
  box-shadow:0 10px 28px rgba(0,0,0,.07);
}

.bd-member-search label{
  font-weight:900;
}

.bd-member-search>div{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
}

.bd-member-search input{
  width:100%;
  min-height:50px;
  padding:12px 14px;
  border:1px solid var(--bd-border);
  border-radius:10px;
  background:var(--bd-surface-soft);
  color:var(--bd-body-text);
  font:inherit;
}

.bd-member-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.bd-member-card{
  display:grid;
  gap:15px;
  padding:22px;
  border-radius:18px;
  background:var(--bd-surface);
  border:1px solid var(--bd-border);
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  transition:transform .18s ease,border-color .18s ease;
}

.bd-member-card:hover{
  transform:translateY(-3px);
  border-color:var(--bd-red);
}

.bd-member-avatar-link{
  display:block;
  width:82px;
  height:82px;
}

.bd-member-avatar{
  width:82px;
  height:82px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid var(--bd-red);
}

.bd-member-card-copy h2{
  margin:0 0 4px;
  font-size:22px;
}

.bd-member-card-copy h2 a{
  color:var(--bd-body-text);
  text-decoration:none;
}

.bd-member-card-copy p{
  margin:0 0 11px !important;
  color:var(--bd-muted) !important;
}

.bd-member-profile-link{
  color:var(--bd-red);
  text-decoration:none;
  font-weight:900;
}

.bd-public-profile-card{
  overflow:hidden;
  border-radius:22px;
  background:var(--bd-surface);
  border:1px solid var(--bd-border);
  box-shadow:0 18px 48px rgba(0,0,0,.12);
}

.bd-public-profile-cover{
  min-height:150px;
  background:
    radial-gradient(circle at 75% 25%,rgba(255,255,255,.15),transparent 28%),
    linear-gradient(120deg,#080a16,#750016 55%,#dc052d);
}

.bd-public-profile-body{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:end;
  gap:22px;
  padding:0 28px 28px;
}

.bd-public-profile-avatar{
  width:150px;
  height:150px;
  margin-top:-74px;
  border-radius:50%;
  object-fit:cover;
  border:6px solid var(--bd-surface);
  box-shadow:0 10px 28px rgba(0,0,0,.2);
}

.bd-public-profile-copy .eyebrow{
  margin:0 0 6px;
  color:var(--bd-red);
}

.bd-public-profile-copy h1{
  margin:0;
  font-size:clamp(32px,6vw,54px);
}

.bd-public-username{
  margin:6px 0 12px !important;
  color:var(--bd-muted) !important;
  font-weight:800;
}

.bd-public-profile-details{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:var(--bd-border);
  border-top:1px solid var(--bd-border);
}

.bd-public-profile-details section{
  padding:22px 28px;
  background:var(--bd-surface);
}

.bd-public-profile-details span,
.bd-public-profile-details strong{
  display:block;
}

.bd-public-profile-details span{
  margin-bottom:7px;
  color:var(--bd-muted);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
}

.bd-public-profile-missing,
.bd-members-empty{
  text-align:center;
}

@media (max-width:900px){
  .bd-member-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:660px){
  .bd-member-grid{
    grid-template-columns:1fr;
  }

  .bd-public-profile-body{
    grid-template-columns:1fr;
    align-items:start;
    text-align:center;
  }

  .bd-public-profile-avatar{
    margin:-74px auto 0;
  }

  .bd-public-profile-body .button{
    width:100%;
    text-align:center;
  }
}

@media (max-width:480px){
  .bd-member-search>div{
    grid-template-columns:1fr;
  }

  .bd-public-profile-details{
    grid-template-columns:1fr;
  }
}


/* Step 20: passwords, usernames, likes and instant roles */
.bd-password-input-wrap{
  position:relative;
  width:100%;
}

.bd-password-input-wrap input{
  width:100%;
  padding-right:52px !important;
}

.bd-password-visibility{
  position:absolute;
  top:50%;
  right:8px;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--bd-body-text);
  cursor:pointer;
  font-size:19px;
}

.bd-password-visibility:hover{
  background:var(--bd-surface-soft);
}

.bd-field-help{
  display:block;
  margin:-8px 0 16px;
  color:var(--bd-muted);
  font-size:12px;
  line-height:1.45;
}

.bd-public-profile-actions{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
}

.bd-profile-like-button{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border:1px solid var(--bd-border);
  border-radius:10px;
  background:var(--bd-surface-soft);
  color:var(--bd-body-text);
  font:inherit;
  font-weight:900;
  cursor:pointer;
  transition:transform .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease;
}

.bd-profile-like-button:hover:not(:disabled){
  transform:translateY(-1px);
  border-color:var(--bd-red);
}

.bd-profile-like-button.is-liked{
  background:var(--bd-red);
  border-color:var(--bd-red);
  color:#fff;
  box-shadow:0 0 18px rgba(220,5,45,.28);
}

.bd-profile-like-button:disabled{
  opacity:.58;
  cursor:not-allowed;
}

.bd-profile-like-button strong{
  min-width:25px;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
}

.bd-action-toast{
  position:fixed;
  top:22px;
  left:50%;
  z-index:100001;
  width:min(440px,calc(100% - 32px));
  padding:14px 18px;
  transform:translate(-50%,-18px);
  opacity:0;
  border-radius:12px;
  color:#fff;
  font-weight:900;
  text-align:center;
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
  box-shadow:0 16px 44px rgba(0,0,0,.22);
}

.bd-action-toast.is-visible{
  transform:translate(-50%,0);
  opacity:1;
}

.bd-action-toast.success{
  background:#177245;
}

.bd-action-toast.error{
  background:#a5162f;
}

@media (max-width:660px){
  .bd-public-profile-actions{
    width:100%;
  }
}


/* Step 21: reliable likes, credits and role feedback */
.bd-profile-credit-line{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
  color:var(--bd-muted);
  font-size:14px;
  font-weight:800;
}

.bd-profile-credit-line strong{
  color:var(--bd-body-text);
}

.bd-credit-help{
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--bd-border);
  border-radius:50%;
  background:var(--bd-surface-soft);
  color:var(--bd-body-text);
  cursor:pointer;
  font-weight:950;
}

.bd-credit-help:hover{
  border-color:var(--bd-red);
  color:var(--bd-red);
}

.bd-role-status{
  margin-bottom:18px;
  padding:14px 16px;
  border-radius:11px;
  font-weight:900;
}

.bd-role-status.success{
  color:#d9ffe9;
  background:#12603b;
  border:1px solid #2f8d61;
}

.bd-role-status.error{
  color:#ffe0e6;
  background:#7d1428;
  border:1px solid #ad3650;
}

.bd-profile-like-button{
  pointer-events:auto !important;
  position:relative;
  z-index:2;
}

.bd-profile-like-button:disabled{
  opacity:.72;
}


/* Step 22: gold credit badge matching role badge */
.bd-profile-credit-line{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.bd-credit-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:30px;
  padding:5px 11px;
  border:1px solid rgba(255,215,90,.72);
  border-radius:999px;
  color:#ffd75a;
  background:rgba(255,215,90,.12);
  font-size:12px;
  font-weight:950;
  letter-spacing:.35px;
  white-space:nowrap;
  box-shadow:
    0 0 8px rgba(255,215,90,.30),
    inset 0 0 10px rgba(255,215,90,.09);
  animation:bdCreditGlow 2.8s ease-in-out infinite;
}

.bd-credit-badge strong{
  color:inherit;
  font-weight:950;
}

.bd-credit-help{
  width:30px;
  height:30px;
  border-color:rgba(255,215,90,.55);
  color:#ffd75a;
  background:rgba(255,215,90,.08);
  box-shadow:0 0 7px rgba(255,215,90,.18);
}

.bd-credit-help:hover{
  border-color:#ffd75a;
  color:#fff1ad;
  box-shadow:0 0 12px rgba(255,215,90,.42);
}

@keyframes bdCreditGlow{
  0%,100%{
    filter:brightness(1);
    box-shadow:0 0 6px rgba(255,215,90,.24);
  }
  50%{
    filter:brightness(1.14);
    box-shadow:0 0 15px rgba(255,215,90,.50);
  }
}

@media (prefers-reduced-motion:reduce){
  .bd-credit-badge{animation:none}
}


/* Step 25: smaller centered credit badge */
.bd-profile-credit-line{
  justify-content:center;
  width:100%;
  margin-top:12px;
  gap:7px;
}

.bd-profile-credit-line > span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:5px 13px;
  border:1px solid #d8b63f;
  border-radius:999px;
  background:rgba(216,182,63,.08);
  color:#f1d35a;
  font-size:12px;
  font-weight:900;
  letter-spacing:.15px;
  box-shadow:0 0 10px rgba(216,182,63,.22);
  animation:bdCreditGlowCompact 3s ease-in-out infinite;
}

.bd-profile-credit-line > span::before{
  content:"◆";
  margin-right:7px;
  font-size:10px;
}

.bd-profile-credit-line .bd-credit-help{
  width:32px;
  height:32px;
  flex:0 0 32px;
  border-color:#d8b63f;
  color:#f1d35a;
  background:rgba(216,182,63,.06);
  box-shadow:0 0 8px rgba(216,182,63,.16);
}

@keyframes bdCreditGlowCompact{
  0%,100%{box-shadow:0 0 8px rgba(216,182,63,.18)}
  50%{box-shadow:0 0 14px rgba(216,182,63,.34)}
}

@media (prefers-reduced-motion:reduce){
  .bd-profile-credit-line > span{animation:none}
}


/* Step 26: private points and real-time inbox */
.bd-header-inbox{
  position:relative;
  width:54px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--bd-border);
  border-radius:8px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  text-decoration:none;
}

.bd-header-inbox svg{
  width:24px;
  height:24px;
  fill:currentColor;
}

.bd-inbox-count{
  position:absolute;
  top:-7px;
  right:-7px;
  min-width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 6px;
  border:2px solid var(--bd-surface);
  border-radius:999px;
  background:var(--bd-red);
  color:#fff;
  font-size:11px;
  font-weight:950;
  box-shadow:0 0 12px rgba(220,5,45,.45);
}

.bd-inbox-page{
  min-height:60vh;
  background:
    radial-gradient(circle at 10% 0%,rgba(220,5,45,.10),transparent 28%),
    var(--bd-surface-soft);
}

.bd-inbox-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
}

.bd-inbox-heading p:last-child{
  color:var(--bd-muted) !important;
}

.bd-inbox-list{
  display:grid;
  gap:12px;
}

.bd-inbox-item{
  display:grid;
  grid-template-columns:58px 1fr auto;
  align-items:center;
  gap:15px;
  padding:17px;
  border:1px solid var(--bd-border);
  border-radius:15px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  text-decoration:none;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.bd-inbox-item.is-unread{
  border-left:5px solid var(--bd-red);
  background:
    linear-gradient(90deg,rgba(220,5,45,.09),transparent 35%),
    var(--bd-surface);
}

.bd-inbox-item img{
  width:58px;
  height:58px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid var(--bd-red);
}

.bd-inbox-item strong,
.bd-inbox-item time{
  display:block;
}

.bd-inbox-item time{
  margin-top:5px;
  color:var(--bd-muted);
  font-size:12px;
}

.bd-inbox-empty{
  text-align:center;
  padding:42px;
}

.bd-inbox-empty > span{
  display:block;
  margin-bottom:12px;
  font-size:42px;
}

@media (max-width:700px){
  .bd-inbox-heading{
    flex-direction:column;
  }

  .bd-inbox-heading .button{
    width:100%;
    text-align:center;
  }
}


/* Step 27: responsive header fit */
.header-inner{
  min-height:88px;
}

.bd-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
  flex:0 0 auto;
}

.bd-dark-toggle,
.bd-header-inbox,
.bd-header-account,
.menu-toggle{
  width:54px;
  height:48px;
  flex:0 0 54px;
}

.bd-header-inbox,
.bd-header-account{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
}

.bd-header-account svg,
.bd-header-inbox svg{
  width:24px;
  height:24px;
}

@media (max-width:860px){
  .header-inner{
    min-height:82px;
    gap:12px;
  }

  .site-branding{
    min-width:0;
    gap:10px;
  }

  .site-logo{
    width:64px;
    height:42px;
  }

  .site-title{
    max-width:220px;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:21px;
  }

  .bd-header-actions{
    gap:8px;
  }

  .bd-dark-toggle,
  .bd-header-inbox,
  .bd-header-account,
  .menu-toggle{
    width:48px;
    height:46px;
    flex-basis:48px;
  }
}

@media (max-width:700px){
  .bd-container.header-inner{
    width:min(100% - 20px,1180px);
  }

  .header-inner{
    min-height:76px;
  }

  .site-logo{
    width:52px;
    height:36px;
  }

  .site-title{
    max-width:170px;
    font-size:18px;
    letter-spacing:-.5px;
  }

  .bd-header-actions{
    gap:6px;
  }

  .bd-dark-toggle,
  .bd-header-inbox,
  .bd-header-account,
  .menu-toggle{
    width:44px;
    height:44px;
    flex-basis:44px;
    border-radius:9px;
  }

  .bd-header-account svg,
  .bd-header-inbox svg{
    width:22px;
    height:22px;
  }

  .bd-inbox-count{
    top:-6px;
    right:-5px;
    min-width:20px;
    height:20px;
    font-size:10px;
  }
}

@media (max-width:560px){
  .site-title{
    max-width:145px;
    font-size:17px;
  }

  .bd-header-actions{
    gap:5px;
  }

  .bd-dark-toggle,
  .bd-header-inbox,
  .bd-header-account,
  .menu-toggle{
    width:42px;
    height:42px;
    flex-basis:42px;
  }
}

@media (max-width:430px){
  .bd-container.header-inner{
    width:calc(100% - 14px);
  }

  .header-inner{
    gap:7px;
  }

  .site-branding{
    gap:7px;
  }

  .site-logo{
    width:44px;
    height:32px;
  }

  .site-title{
    max-width:128px;
    font-size:15px;
  }

  .bd-header-actions{
    gap:4px;
  }

  .bd-dark-toggle,
  .bd-header-inbox,
  .bd-header-account,
  .menu-toggle{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .bd-dark-icon{
    font-size:18px;
  }
}

@media (max-width:370px){
  .site-title{
    display:none;
  }

  .site-logo{
    width:50px;
  }

  .bd-header-actions{
    margin-left:auto;
  }
}


/* Step 28: manual administrator account activation */
.bd-verification-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:950;
  white-space:nowrap;
}

.bd-verification-status.verified{
  color:#176b35;
  background:#e8f8ef;
  border:1px solid #b9e5ca;
}

.bd-verification-status.unverified{
  color:#8a6110;
  background:#fff5d8;
  border:1px solid #ead28c;
}

html.bd-dark .bd-verification-status.verified{
  color:#c9f6da;
  background:#123324;
  border-color:#285d43;
}

html.bd-dark .bd-verification-status.unverified{
  color:#ffe5a1;
  background:#3c3012;
  border-color:#6c571e;
}

.bd-manual-verify-button{
  background:#177245 !important;
  border-color:#177245 !important;
  color:#fff !important;
}


/* Step 29: profile-only shortcut cards */
.bd-profile-shortcuts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:24px;
}

.bd-profile-shortcut{
  display:grid;
  grid-template-columns:48px 1fr;
  align-items:center;
  gap:14px;
  min-height:112px;
  padding:18px;
  border:1px solid var(--bd-border);
  border-radius:16px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  text-decoration:none;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.bd-profile-shortcut:hover{
  transform:translateY(-2px);
  border-color:var(--bd-red);
  box-shadow:0 14px 34px rgba(0,0,0,.10);
}

.bd-profile-shortcut-icon{
  width:48px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:13px;
  background:rgba(220,5,45,.10);
  color:var(--bd-red);
  font-size:22px;
  font-weight:950;
}

.bd-profile-shortcut strong,
.bd-profile-shortcut small{
  display:block;
}

.bd-profile-shortcut strong{
  margin-bottom:5px;
  font-size:18px;
}

.bd-profile-shortcut small{
  color:var(--bd-muted);
  line-height:1.45;
}

@media (max-width:900px){
  .bd-profile-shortcuts{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:620px){
  .bd-profile-shortcuts{
    grid-template-columns:1fr;
  }

  .bd-profile-shortcut{
    min-height:96px;
  }
}


/* Step 30: complete community suite */
.bd-account-level{margin-top:12px;display:grid;gap:6px;width:min(420px,100%);margin-inline:auto}
.bd-account-level span{color:var(--bd-muted);font-size:12px}
.bd-account-level i,.bd-level-card i{height:8px;border-radius:999px;background:var(--bd-surface-soft);overflow:hidden}
.bd-account-level i b,.bd-level-card i b{display:block;height:100%;background:linear-gradient(90deg,var(--bd-red),#ffcc48)}
.bd-level-badge{display:inline-flex;margin-top:10px;padding:5px 11px;border-radius:999px;background:var(--bd-surface-soft);border:1px solid var(--bd-border);font-size:12px;font-weight:900}
.bd-public-achievements{padding:24px 28px;border-top:1px solid var(--bd-border)}
.bd-achievement-grid{display:flex;flex-wrap:wrap;gap:10px}
.bd-achievement{opacity:.42;display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;border:1px solid var(--bd-border);background:var(--bd-surface-soft);font-size:12px;font-weight:900}
.bd-achievement.is-earned{opacity:1;border-color:#d8b63f;box-shadow:0 0 10px rgba(216,182,63,.2)}
.bd-suite-page{min-height:60vh}
.bd-level-card{display:grid;gap:8px;padding:22px;border-radius:16px;background:var(--bd-surface);border:1px solid var(--bd-border);margin-bottom:22px}
.bd-achievement-page-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.bd-achievement-card{opacity:.45;padding:22px;border-radius:16px;background:var(--bd-surface);border:1px solid var(--bd-border)}
.bd-achievement-card.is-earned{opacity:1;border-color:#d8b63f}
.bd-achievement-card>span{font-size:34px}
.bd-ranking-list,.bd-message-list{display:grid;gap:10px}
.bd-ranking-item{display:grid;grid-template-columns:55px 55px 1fr auto auto auto;align-items:center;gap:12px;padding:14px;border-radius:14px;background:var(--bd-surface);border:1px solid var(--bd-border);text-decoration:none}
.bd-ranking-item img{width:55px;height:55px;border-radius:50%;object-fit:cover}
.bd-ranking-item span>strong{display:block;margin-bottom:5px}
.bd-ranking-item em,.bd-ranking-item i{font-style:normal;font-weight:900}
.bd-message-compose,.bd-message-item{padding:20px;border-radius:16px;background:var(--bd-surface);border:1px solid var(--bd-border);margin-bottom:16px}
.bd-message-compose textarea{width:100%;padding:14px;border:1px solid var(--bd-border);border-radius:10px;background:var(--bd-surface-soft);color:var(--bd-body-text);font:inherit;margin-bottom:10px}
.bd-message-item{display:grid;grid-template-columns:60px 1fr auto;gap:14px}
.bd-message-item.is-unread{border-left:5px solid var(--bd-red)}
.bd-message-item img{width:60px;height:60px;border-radius:50%;object-fit:cover}
.bd-message-item p{white-space:pre-wrap}
.bd-message-item time{font-size:12px;color:var(--bd-muted)}
.bd-shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.bd-shop-card{padding:24px;border-radius:16px;background:var(--bd-surface);border:1px solid var(--bd-border);text-align:center}
.bd-shop-card>span{font-size:44px}
.bd-frame-red{box-shadow:0 0 0 6px #dc052d,0 0 22px rgba(220,5,45,.5)!important}
.bd-frame-gold{box-shadow:0 0 0 6px #d8b63f,0 0 24px rgba(216,182,63,.55)!important}
.bd-frame-glow{box-shadow:0 0 0 5px #fff,0 0 32px rgba(255,255,255,.75),0 0 50px rgba(220,5,45,.5)!important}
.bd-browser-notification-button{margin-bottom:14px;width:100%}

@media(max-width:850px){
  .bd-achievement-page-grid,.bd-shop-grid{grid-template-columns:1fr 1fr}
  .bd-ranking-item{grid-template-columns:45px 50px 1fr}.bd-ranking-item em,.bd-ranking-item i,.bd-ranking-item small{grid-column:3}
}
@media(max-width:560px){
  .bd-achievement-page-grid,.bd-shop-grid{grid-template-columns:1fr}
  .bd-message-item{grid-template-columns:50px 1fr}.bd-message-item>a{grid-column:2}
}


/* Step 31: moderator rewards and support live chat */
.bd-reward-tools{margin-top:12px;padding-top:10px;border-top:1px solid var(--bd-border)}
.bd-reward-tools summary{cursor:pointer;font-weight:900}
.bd-reward-tools-grid{display:grid;gap:12px;margin-top:12px}
.bd-reward-tools form{display:grid;gap:7px;padding:10px;border-radius:10px;background:var(--bd-surface-soft)}
.bd-reward-tools input,.bd-reward-tools select{width:100%;min-height:38px;padding:7px 9px;border:1px solid var(--bd-border);border-radius:7px;background:var(--bd-surface);color:var(--bd-body-text)}
.bd-reward-button-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.bd-small-button.danger{background:#8d1630!important;border-color:#8d1630!important}

.bd-support-page{min-height:65vh}
.bd-support-layout{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(0,1.5fr);gap:22px;align-items:start}
.bd-support-sidebar{display:grid;gap:18px}
.bd-support-create-form{display:grid;gap:9px}
.bd-support-create-form input,.bd-support-create-form select,.bd-support-create-form textarea,.bd-support-reply-form textarea,.bd-support-status-form select{width:100%;padding:11px 12px;border:1px solid var(--bd-border);border-radius:9px;background:var(--bd-surface-soft);color:var(--bd-body-text);font:inherit}
.bd-support-ticket-list{display:grid;gap:8px}
.bd-support-ticket-list>a{display:grid;gap:4px;padding:13px;border:1px solid var(--bd-border);border-radius:11px;background:var(--bd-surface);text-decoration:none}
.bd-support-ticket-list>a.is-active{border-color:var(--bd-red);box-shadow:0 0 0 2px rgba(220,5,45,.12)}
.bd-support-ticket-list small{color:var(--bd-muted)}
.bd-support-ticket{border:1px solid var(--bd-border);border-radius:17px;background:var(--bd-surface);overflow:hidden}
.bd-support-ticket>header{display:flex;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid var(--bd-border)}
.bd-support-ticket>header h2{margin:4px 0 0}
.bd-support-ticket>header>strong{align-self:center;padding:6px 10px;border-radius:999px;background:var(--bd-surface-soft)}
.bd-support-status-form{display:flex;gap:9px;padding:12px 20px;border-bottom:1px solid var(--bd-border)}
.bd-support-messages{height:430px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:20px;background:var(--bd-surface-soft)}
.bd-support-message{max-width:78%;align-self:flex-start;padding:12px 14px;border-radius:14px 14px 14px 4px;background:var(--bd-surface);border:1px solid var(--bd-border)}
.bd-support-message.is-mine{align-self:flex-end;border-radius:14px 14px 4px 14px;background:rgba(220,5,45,.11);border-color:rgba(220,5,45,.35)}
.bd-support-message p{margin:6px 0;line-height:1.5}
.bd-support-message time{font-size:11px;color:var(--bd-muted)}
.bd-support-reply-form{display:grid;grid-template-columns:1fr auto;gap:10px;padding:16px;border-top:1px solid var(--bd-border)}
.bd-support-placeholder{text-align:center;padding:50px}
.bd-support-placeholder>span{font-size:48px}

@media(max-width:900px){
  .bd-support-layout{grid-template-columns:1fr}
}
@media(max-width:560px){
  .bd-support-reply-form,.bd-support-status-form{grid-template-columns:1fr;display:grid}
  .bd-support-message{max-width:92%}
}


/* Step 32: verified badge and double-confirmed direct email changes */
.bd-verified-name{
  display:inline-flex;
  align-items:center;
  gap:7px;
  vertical-align:middle;
}

.bd-verified-badge{
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 20px;
  color:#fff;
  filter:drop-shadow(0 0 5px rgba(29,155,240,.45));
  vertical-align:middle;
}

.bd-verified-badge svg{
  width:100%;
  height:100%;
  fill:#1d9bf0;
}

.bd-account-management-tools{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid var(--bd-border);
}

.bd-account-management-tools summary{
  cursor:pointer;
  font-weight:900;
}

.bd-email-change-panel{
  display:grid;
  gap:8px;
  margin-top:12px;
  padding:12px;
  border-radius:10px;
  background:var(--bd-surface-soft);
  border:1px solid var(--bd-border);
}

.bd-email-change-panel strong,
.bd-email-change-panel small{
  display:block;
}

.bd-email-change-panel small{
  margin-top:4px;
  color:var(--bd-muted);
  line-height:1.4;
}

.bd-email-change-panel input{
  width:100%;
  min-height:40px;
  padding:8px 10px;
  border:1px solid var(--bd-border);
  border-radius:8px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  font:inherit;
}

.bd-direct-email-panel{
  border-left:4px solid #d8b63f;
}

.bd-verified-control{
  display:grid;
  gap:9px;
  margin-top:12px;
  padding:12px;
  border-radius:10px;
  border:1px solid rgba(29,155,240,.35);
  background:rgba(29,155,240,.07);
}

.bd-verified-control > span{
  display:flex;
  align-items:center;
  gap:7px;
  font-weight:900;
}


/* Step 33: maintenance, timed suspensions, footer social and recruitment */
.bd-maintenance-control{
  display:grid;
  grid-template-columns:1fr auto;
  gap:22px;
  align-items:center;
  margin:22px 0;
  padding:22px;
  border-radius:16px;
  border:1px solid var(--bd-border);
  background:var(--bd-surface);
  box-shadow:0 10px 28px rgba(0,0,0,.07);
}

.bd-maintenance-control.is-active{
  border-color:#d8b63f;
  box-shadow:0 0 22px rgba(216,182,63,.18);
}

.bd-maintenance-control h2,
.bd-maintenance-control p{
  margin-top:0;
}

.bd-maintenance-control form{
  display:grid;
  gap:10px;
  min-width:210px;
}

.bd-maintenance-switch{
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:900;
}

.bd-suspension-tools{
  margin-top:10px;
  padding:10px;
  border:1px solid rgba(220,5,45,.28);
  border-radius:10px;
  background:rgba(220,5,45,.05);
}

.bd-suspension-tools summary{
  cursor:pointer;
  color:var(--bd-red);
  font-weight:900;
}

.bd-suspension-tools label{
  display:block;
  margin:10px 0 5px;
  font-size:12px;
  font-weight:900;
}

.bd-suspension-tools select,
.bd-suspension-tools textarea{
  width:100%;
  padding:8px 9px;
  border:1px solid var(--bd-border);
  border-radius:7px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  font:inherit;
}

.bd-current-suspension{
  display:grid;
  gap:4px;
  margin-bottom:9px;
  padding:10px;
  border-radius:9px;
  background:rgba(220,5,45,.09);
  border:1px solid rgba(220,5,45,.25);
}

.bd-current-suspension small{
  color:var(--bd-muted);
}

.bd-suspension-warning{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
  padding:20px;
  border:1px solid #ef9caf;
  border-left:6px solid var(--bd-red);
  border-radius:14px;
  background:#fff0f3;
  color:#731127;
  box-shadow:0 12px 32px rgba(0,0,0,.09);
  animation:bdSuspensionAppear .3s ease both;
}

.bd-suspension-warning p{
  margin:5px 0 !important;
  color:inherit !important;
}

.bd-suspension-warning.is-dismissed{
  display:none;
}

@keyframes bdSuspensionAppear{
  from{opacity:0;transform:translateY(-12px)}
  to{opacity:1;transform:translateY(0)}
}

.bd-footer-legal-social{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.12);
}

.bd-footer-legal-social>span{
  display:block;
  margin-bottom:11px;
  color:#aeb1bf;
  font-size:12px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
}

.bd-footer-legal-social .bd-footer-social{
  display:flex;
  gap:10px;
}

.bd-moderator-recruitment{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:14px;
  margin-top:38px;
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  background:linear-gradient(100deg,rgba(220,5,45,.18),rgba(255,255,255,.04),rgba(220,5,45,.18));
  color:#fff;
  text-decoration:none;
}

.bd-moderator-recruitment::before{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  animation:bdRecruitmentShine 4s linear infinite;
}

.bd-moderator-recruitment>span{
  color:#ff3659;
  font-size:18px;
  animation:bdRecruitmentPulse 1.7s ease-in-out infinite;
}

.bd-recruitment-track{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  align-items:center;
}

.bd-recruitment-track strong{
  font-size:16px;
}

.bd-recruitment-track em{
  color:#cfd1dc;
  font-style:normal;
}

.bd-moderator-recruitment>b{
  color:#fff;
  white-space:nowrap;
}

@keyframes bdRecruitmentShine{
  to{transform:translateX(100%)}
}

@keyframes bdRecruitmentPulse{
  50%{transform:scale(1.35);filter:drop-shadow(0 0 7px #ff3659)}
}

@media (prefers-reduced-motion:reduce){
  .bd-moderator-recruitment::before,
  .bd-moderator-recruitment>span{
    animation:none;
  }
}

@media (max-width:720px){
  .bd-maintenance-control{
    grid-template-columns:1fr;
  }

  .bd-maintenance-control form{
    min-width:0;
  }

  .bd-suspension-warning{
    align-items:stretch;
    flex-direction:column;
  }

  .bd-moderator-recruitment{
    grid-template-columns:auto 1fr;
  }

  .bd-moderator-recruitment>b{
    grid-column:2;
  }
}

/* Step 34: stability and community safety */
.bd-moderation-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 24px;padding:8px;border:1px solid var(--bd-border);border-radius:14px;background:var(--bd-surface)}
.bd-moderation-tabs a{padding:10px 14px;border-radius:9px;text-decoration:none;font-weight:900}
.bd-moderation-tabs a:hover,.bd-moderation-tabs a.is-active{background:var(--bd-red);color:#fff}
.bd-moderation-report-list{display:grid;gap:14px;margin-top:28px}
.bd-report-card{padding:18px;border:1px solid var(--bd-border);border-radius:14px;background:var(--bd-surface)}
.bd-report-card header{display:flex;justify-content:space-between;gap:12px}
.bd-report-card form{display:flex;gap:8px;flex-wrap:wrap}
.bd-profile-safety-tools{margin-top:10px;padding:10px;border:1px solid var(--bd-border);border-radius:10px}
.bd-profile-safety-tools summary{cursor:pointer;font-weight:900}
.bd-profile-safety-tools form{display:grid;gap:8px;margin-top:10px}
.bd-profile-safety-tools textarea{width:100%;padding:10px;border:1px solid var(--bd-border);border-radius:8px;background:var(--bd-surface-soft);color:var(--bd-body-text)}
.bd-rules-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.bd-rules-grid article{padding:22px;border:1px solid var(--bd-border);border-radius:16px;background:var(--bd-surface)}
.bd-rules-grid article>span{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--bd-red);color:#fff;font-weight:950}
.bd-delete-confirm{display:flex!important;align-items:flex-start;gap:10px;margin:18px 0!important}
.bd-danger-button{background:#8d1630!important;border-color:#8d1630!important}
@media(max-width:820px){.bd-rules-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.bd-rules-grid{grid-template-columns:1fr}}


/* Step 35: global back button and reliable manual verification */
.bd-global-back-wrap{
  width:min(1180px,calc(100% - 32px));
  margin:14px auto 0;
}

.bd-global-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:9px 14px;
  border:1px solid var(--bd-border);
  border-radius:999px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  font:inherit;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.07);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.bd-global-back:hover{
  transform:translateX(-2px);
  border-color:var(--bd-red);
  background:rgba(220,5,45,.06);
}

.bd-global-back>span:first-child{
  color:var(--bd-red);
  font-size:20px;
  line-height:1;
}

.bd-manual-verify-wrap{
  display:grid;
  gap:9px;
  margin-top:10px;
}

.bd-manual-verify-form{
  display:grid;
  gap:10px;
  padding:12px;
  border:1px solid #b9e5ca;
  border-radius:10px;
  background:#edf9f1;
  color:#155d31;
}

.bd-manual-verify-form[hidden]{
  display:none!important;
}

.bd-manual-verify-form p{
  margin:0;
  line-height:1.45;
}

.bd-manual-verify-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.bd-small-button.secondary{
  background:var(--bd-surface)!important;
  border-color:var(--bd-border)!important;
  color:var(--bd-body-text)!important;
}

html.bd-dark .bd-manual-verify-form{
  background:#123324;
  border-color:#285d43;
  color:#d1f8df;
}

@media(max-width:560px){
  .bd-global-back-wrap{
    width:calc(100% - 20px);
    margin-top:10px;
  }

  .bd-global-back{
    min-height:38px;
    padding:7px 12px;
  }
}


/* Step 36: floating back control and corrected manual verification */
.bd-global-back-wrap{
  position:fixed;
  left:18px;
  bottom:22px;
  z-index:1200;
  width:auto;
  margin:0;
  pointer-events:none;
}

.bd-global-back{
  pointer-events:auto;
  min-width:46px;
  min-height:46px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.16);
  background:linear-gradient(135deg,#dc052d,#8c0018);
  color:#fff;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}

.bd-global-back:hover{
  transform:translateX(-3px);
  border-color:#fff;
  background:linear-gradient(135deg,#ed1640,#a60022);
}

.bd-global-back>span:first-child{
  color:#fff;
}

.bd-manual-verify-wrap{
  margin-top:10px;
}

.bd-manual-verify-button{
  width:100%;
  background:#177245!important;
  border-color:#177245!important;
  color:#fff!important;
}

@media(max-width:560px){
  .bd-global-back-wrap{
    left:12px;
    bottom:14px;
  }

  .bd-global-back{
    width:46px;
    height:46px;
    min-width:46px;
    min-height:46px;
    padding:0;
    border-radius:50%;
  }

  .bd-global-back>span:last-child{
    display:none;
  }
}


/* Step 37: AJAX verification feedback */
.bd-manual-verify-button:disabled{
  opacity:.7;
  cursor:wait;
}


/* Step 38: one-time password */
.bd-one-time-password-control{
  display:grid;
  gap:6px;
  margin-top:10px;
  padding:10px;
  border:1px solid var(--bd-border);
  border-radius:10px;
  background:var(--bd-surface-soft);
}

.bd-one-time-password-control small{
  color:var(--bd-muted);
  line-height:1.4;
}

.bd-one-time-expiry{
  margin:16px 0;
  padding:12px;
  border-left:4px solid #d8b63f;
  border-radius:8px;
  background:rgba(216,182,63,.10);
}

.bd-one-time-password-form{
  display:grid;
  gap:10px;
  margin-top:18px;
}

.bd-password-field{
  position:relative;
}

.bd-password-field input{
  width:100%;
  min-height:48px;
  padding:11px 52px 11px 12px;
  border:1px solid var(--bd-border);
  border-radius:9px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  font:inherit;
}

.bd-password-field button{
  position:absolute;
  top:50%;
  right:7px;
  width:38px;
  height:36px;
  transform:translateY(-50%);
  border:0;
  border-radius:8px;
  background:var(--bd-surface-soft);
  cursor:pointer;
}

.bd-one-time-support-note{
  margin-top:18px;
  color:var(--bd-muted);
}

.bd-copy-one-time-password{
  margin-right:8px;
}


/* Step 39: dedicated moderation pages */
.bd-moderation-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
.bd-moderation-overview>a,.bd-misc-grid>a{display:grid;grid-template-columns:58px 1fr auto;gap:14px;align-items:center;padding:22px;border:1px solid var(--bd-border);border-radius:17px;background:var(--bd-surface);text-decoration:none;box-shadow:0 10px 28px rgba(0,0,0,.07)}
.bd-moderation-overview>a:hover,.bd-misc-grid>a:hover{border-color:var(--bd-red);transform:translateY(-2px)}
.bd-moderation-overview span,.bd-misc-grid span{font-size:34px}.bd-moderation-overview strong,.bd-misc-grid strong{font-size:20px}.bd-moderation-overview small,.bd-misc-grid small{grid-column:2;color:var(--bd-muted)}.bd-moderation-overview b{grid-row:1/3;grid-column:3;padding:7px 10px;border-radius:999px;background:var(--bd-surface-soft);font-size:12px}
.bd-section-nav{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 26px;padding:8px;border:1px solid var(--bd-border);border-radius:14px;background:var(--bd-surface)}
.bd-section-nav a{padding:10px 14px;border-radius:9px;text-decoration:none;font-weight:900}.bd-section-nav a.is-active,.bd-section-nav a:hover{background:var(--bd-red);color:#fff}
.bd-misc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.bd-misc-grid>a{grid-template-columns:50px 1fr}.bd-log-card>div{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;padding:11px 0;border-bottom:1px solid var(--bd-border)}.bd-log-card time{color:var(--bd-muted);font-size:12px}
.bd-site-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
@media(max-width:800px){.bd-moderation-overview{grid-template-columns:1fr}.bd-misc-grid{grid-template-columns:1fr}}
@media(max-width:560px){.bd-moderation-overview>a{grid-template-columns:48px 1fr}.bd-moderation-overview b{grid-column:2;grid-row:auto;justify-self:start}.bd-log-card>div{grid-template-columns:1fr}}


/* Version 3.0 Part 1: notification center */
.bd-header-inbox{border:1px solid var(--bd-border);cursor:pointer}
.bd-notification-panel{
  position:absolute;
  top:76px;
  right:82px;
  width:min(430px,calc(100vw - 24px));
  max-height:620px;
  overflow:hidden;
  border:1px solid var(--bd-border);
  border-radius:17px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  box-shadow:0 24px 65px rgba(0,0,0,.26);
  z-index:1600;
}
.bd-notification-panel[hidden]{display:none!important}
.bd-notification-panel>header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:17px 18px;border-bottom:1px solid var(--bd-border)
}
.bd-notification-panel>header strong,.bd-notification-panel>header small{display:block}
.bd-notification-panel>header small{margin-top:4px;color:var(--bd-muted)}
.bd-notification-panel>header button{
  width:34px;height:34px;border:0;border-radius:8px;background:var(--bd-surface-soft);
  color:var(--bd-body-text);font-size:22px;cursor:pointer
}
.bd-notification-filters{
  display:flex;gap:7px;overflow:auto;padding:10px 12px;border-bottom:1px solid var(--bd-border)
}
.bd-notification-filters button{
  flex:0 0 auto;padding:7px 10px;border:1px solid var(--bd-border);border-radius:999px;
  background:var(--bd-surface-soft);color:var(--bd-body-text);font-weight:850;cursor:pointer
}
.bd-notification-filters button.is-active{background:var(--bd-red);border-color:var(--bd-red);color:#fff}
.bd-notification-items{max-height:410px;overflow:auto;padding:10px}
.bd-notification-item{
  display:grid;grid-template-columns:40px 1fr 32px;gap:10px;align-items:center;
  padding:11px;border-radius:12px
}
.bd-notification-item.is-unread{background:rgba(220,5,45,.08)}
.bd-notification-item-icon{
  width:40px;height:40px;display:flex;align-items:center;justify-content:center;
  border-radius:11px;background:var(--bd-surface-soft);font-size:18px
}
.bd-notification-item>a{text-decoration:none}
.bd-notification-item strong,.bd-notification-item small{display:block}
.bd-notification-item small{margin-top:4px;color:var(--bd-muted);font-size:11px}
.bd-notification-item>button{
  width:30px;height:30px;border:0;border-radius:8px;background:transparent;
  color:var(--bd-muted);font-size:20px;cursor:pointer
}
.bd-notification-panel>footer{
  display:flex;justify-content:space-between;gap:8px;padding:12px;border-top:1px solid var(--bd-border)
}
.bd-notification-loading,.bd-notification-empty{padding:24px;text-align:center;color:var(--bd-muted)}
.bd-notification-settings-card form{display:grid;gap:16px}
.bd-settings-toggle{display:flex!important;align-items:center;gap:10px}
.bd-settings-toggle input{width:19px;height:19px}
.bd-notification-category-settings{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bd-notification-settings-actions{display:flex;flex-wrap:wrap;gap:10px}
.bd-notification-settings-card input[type="range"]{width:100%;margin-top:8px}
.bd-toast-container{
  position:fixed;top:98px;right:18px;z-index:2200;display:grid;gap:10px;
  width:min(360px,calc(100vw - 24px));pointer-events:none
}
.bd-site-toast{
  display:grid;grid-template-columns:36px 1fr;align-items:center;gap:10px;
  padding:14px 16px;border:1px solid rgba(255,255,255,.16);border-radius:14px;
  background:linear-gradient(135deg,#101329,#5d0015);color:#fff;
  box-shadow:0 16px 40px rgba(0,0,0,.3);opacity:0;transform:translateX(20px);
  transition:.24s ease
}
.bd-site-toast.is-visible{opacity:1;transform:translateX(0)}
.bd-site-toast span{font-size:22px}
@media(max-width:700px){
  .bd-notification-panel{position:fixed;top:82px;right:10px;left:10px;width:auto}
  .bd-notification-category-settings{grid-template-columns:1fr}
  .bd-toast-container{top:84px;right:10px}
}


/* Version 3.0 Part 2: rebuilt mobile header */
.site-header{
  overflow:visible;
}

.header-inner{
  position:relative;
  min-height:82px;
  gap:14px;
}

.site-branding{
  min-width:0;
  flex:1 1 auto;
}

.site-logo{
  width:64px;
  height:42px;
}

.site-title{
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:clamp(17px,2.2vw,25px);
}

.bd-header-actions{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex:0 0 auto;
}

.bd-header-action{
  position:relative;
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--bd-border);
  border-radius:12px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.bd-header-action:hover{
  transform:translateY(-2px);
  border-color:var(--bd-red);
}

.bd-header-action svg{
  width:23px;
  height:23px;
  fill:currentColor;
}

.bd-header-action.menu-toggle{
  background:var(--bd-red);
  border-color:var(--bd-red);
  color:#fff;
  font-size:24px;
}

.bd-dark-icon{
  font-size:21px;
  line-height:1;
}

.bd-inbox-count{
  position:absolute;
  top:-7px;
  right:-7px;
  min-width:22px;
  height:22px;
  padding:0 5px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid var(--bd-surface);
  border-radius:999px;
  background:var(--bd-red);
  color:#fff;
  font-size:11px;
  font-weight:950;
}

.bd-notification-panel{
  top:58px;
  right:58px;
}

.bd-global-back-wrap{
  position:static;
  width:min(1180px,calc(100% - 24px));
  margin:12px auto 4px;
  pointer-events:auto;
}

.bd-global-back{
  width:auto;
  height:auto;
  min-width:0;
  min-height:38px;
  padding:7px 12px;
  border-radius:999px;
  background:var(--bd-surface);
  color:var(--bd-body-text);
  border:1px solid var(--bd-border);
  box-shadow:none;
}

.bd-global-back:hover{
  background:rgba(220,5,45,.07);
  color:var(--bd-body-text);
}

.bd-global-back>span:first-child{
  color:var(--bd-red);
}

@media(max-width:760px){
  .bd-container.header-inner{
    width:calc(100% - 20px);
  }

  .header-inner{
    min-height:76px;
    gap:8px;
  }

  .site-branding{
    gap:8px;
  }

  .site-logo{
    width:48px;
    height:34px;
  }

  .site-title{
    max-width:150px;
    font-size:16px;
  }

  .bd-header-actions{
    gap:5px;
  }

  .bd-header-action{
    width:42px;
    height:42px;
    flex-basis:42px;
    border-radius:10px;
  }

  .bd-header-action svg{
    width:21px;
    height:21px;
  }

  .bd-notification-panel{
    position:fixed;
    top:78px;
    left:10px;
    right:10px;
    width:auto;
    max-height:calc(100vh - 94px);
  }
}

@media(max-width:430px){
  .site-title{
    display:none;
  }

  .site-logo{
    width:50px;
  }

  .bd-header-actions{
    margin-left:auto;
  }

  .bd-header-action{
    width:41px;
    height:41px;
    flex-basis:41px;
  }

  .bd-global-back-wrap{
    width:calc(100% - 18px);
    margin-top:8px;
  }

  .bd-global-back{
    min-height:34px;
    padding:6px 10px;
    font-size:13px;
  }
}


/* Version 3.0 Part 3: chats, dashboard and editorial hubs */
.bd-chat-layout{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:650px;border:1px solid var(--bd-border);border-radius:20px;background:var(--bd-surface);overflow:hidden;box-shadow:0 18px 48px rgba(0,0,0,.08)}
.bd-chat-list{border-right:1px solid var(--bd-border);background:var(--bd-surface)}
.bd-chat-list>header{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid var(--bd-border)}
.bd-chat-list>header a{font-size:13px;color:var(--bd-red);font-weight:900}
.bd-chat-list-item{position:relative;display:grid;grid-template-columns:54px 1fr auto;gap:11px;align-items:center;padding:14px;border-bottom:1px solid var(--bd-border);text-decoration:none}
.bd-chat-list-item:hover,.bd-chat-list-item.is-active{background:rgba(220,5,45,.08)}
.bd-chat-list-item strong,.bd-chat-list-item small{display:block}
.bd-chat-list-item small{margin-top:5px;color:var(--bd-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.bd-chat-list-item time{font-size:11px;color:var(--bd-muted)}
.bd-chat-list-item>b{position:absolute;right:13px;bottom:12px;min-width:20px;height:20px;padding:0 5px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:var(--bd-red);color:#fff;font-size:10px}
.bd-chat-avatar-wrap{position:relative;display:inline-flex}
.bd-chat-avatar-wrap img{width:54px;height:54px;border-radius:50%;object-fit:cover}
.bd-chat-avatar-wrap i{position:absolute;right:0;bottom:2px;width:13px;height:13px;border:3px solid var(--bd-surface);border-radius:50%;background:#8b8e98}
.bd-chat-avatar-wrap i.is-online{background:#24c875}
.bd-chat-window{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;background:var(--bd-surface-soft)}
.bd-chat-window-header{padding:14px 18px;border-bottom:1px solid var(--bd-border);background:var(--bd-surface)}
.bd-chat-window-header>a{display:flex;align-items:center;gap:12px;text-decoration:none}
.bd-chat-window-header .bd-chat-avatar-wrap img{width:46px;height:46px}
.bd-chat-window-header strong,.bd-chat-window-header small{display:block}.bd-chat-window-header small{margin-top:3px;color:var(--bd-muted)}
.bd-chat-messages{height:500px;overflow:auto;display:flex;flex-direction:column;gap:9px;padding:22px}
.bd-chat-bubble{align-self:flex-start;max-width:min(76%,620px);padding:11px 14px;border:1px solid var(--bd-border);border-radius:16px 16px 16px 4px;background:var(--bd-surface)}
.bd-chat-bubble.is-mine{align-self:flex-end;border-color:rgba(220,5,45,.35);border-radius:16px 16px 4px 16px;background:rgba(220,5,45,.12)}
.bd-chat-bubble p{margin:0;line-height:1.5}.bd-chat-bubble time{display:block;margin-top:6px;color:var(--bd-muted);font-size:10px;text-align:right}
.bd-chat-composer{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;border-top:1px solid var(--bd-border);background:var(--bd-surface)}
.bd-chat-composer textarea{width:100%;resize:none;padding:12px;border:1px solid var(--bd-border);border-radius:12px;background:var(--bd-surface-soft);color:var(--bd-body-text);font:inherit}
.bd-chat-placeholder,.bd-chat-empty{display:grid;place-items:center;align-content:center;gap:8px;padding:40px;text-align:center;color:var(--bd-muted)}.bd-chat-placeholder{min-height:600px}.bd-chat-placeholder>span,.bd-chat-empty>span{font-size:44px}
.bd-chat-start-note{align-self:center;margin:auto;padding:12px 16px;border-radius:999px;background:var(--bd-surface);color:var(--bd-muted);font-size:13px}

.bd-admin-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:26px 0}
.bd-admin-stat-grid>a{display:grid;grid-template-columns:46px 1fr;grid-template-rows:auto auto;gap:3px 11px;padding:17px;border:1px solid var(--bd-border);border-radius:15px;background:var(--bd-surface);text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.bd-admin-stat-grid>a:hover{border-color:var(--bd-red);transform:translateY(-2px)}
.bd-admin-stat-grid span{grid-row:1/3;align-self:center;font-size:29px}.bd-admin-stat-grid small{color:var(--bd-muted);font-weight:800}.bd-admin-stat-grid strong{font-size:25px}
.bd-moderation-section-links{margin-top:22px}

.bd-editorial-hero{padding:92px 0;color:#fff;background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.12),transparent 32%),linear-gradient(120deg,#070719,#6b0019 58%,#dc052d)}
.bd-editorial-hero h1{margin:0 0 16px;font-size:clamp(52px,9vw,92px);letter-spacing:-3px}.bd-editorial-hero p{max-width:760px;font-size:20px;line-height:1.65}
.bd-topic-strip{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:24px}.bd-topic-strip span{font-weight:950}.bd-topic-strip a{padding:8px 12px;border-radius:999px;background:var(--bd-surface);border:1px solid var(--bd-border);text-decoration:none;font-weight:800}
.bd-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.bd-news-card{overflow:hidden;border:1px solid var(--bd-border);border-radius:17px;background:var(--bd-surface)}.bd-news-card-image{height:190px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(135deg,#11091c,#dc052d);color:#fff;text-decoration:none;font-size:28px;font-weight:950}.bd-news-card-image img{width:100%;height:100%;object-fit:cover}.bd-news-card>div{padding:18px}.bd-news-card small{color:var(--bd-muted)}.bd-news-card h2{font-size:22px}.bd-news-card h2 a{text-decoration:none}.bd-news-card p{line-height:1.55;color:var(--bd-muted)}.bd-card-arrow{color:var(--bd-red);font-weight:900;text-decoration:none}
.bd-club-hero{background:radial-gradient(circle at 75% 25%,rgba(255,255,255,.12),transparent 30%),linear-gradient(120deg,#070719,#003b7a 48%,#dc052d)}
.bd-club-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.bd-club-feature-grid article{padding:24px;border:1px solid var(--bd-border);border-radius:17px;background:var(--bd-surface)}.bd-club-feature-grid article>span{font-size:31px;color:var(--bd-red);font-weight:950}.bd-club-feature-grid p{color:var(--bd-muted);line-height:1.6}.bd-club-feature-grid a{color:var(--bd-red);font-weight:900}.bd-info-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding:22px;border-radius:16px;background:var(--bd-navy);color:#fff}.bd-info-banner p{margin:6px 0 0;color:#d3d5df}
.bd-social-hero{background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.13),transparent 32%),linear-gradient(120deg,#070719,#330438 55%,#dc052d)}
.bd-social-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.bd-social-grid>a{display:grid;gap:8px;padding:25px;border:1px solid var(--bd-border);border-radius:18px;background:var(--bd-surface);text-decoration:none}.bd-social-grid span{font-size:35px}.bd-social-grid strong{font-size:23px}.bd-social-grid small{color:var(--bd-muted);line-height:1.5}.bd-social-grid b{color:var(--bd-red)}
.bd-social-guidelines{margin-top:34px}.bd-social-guidelines>div{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.bd-social-guidelines article{padding:20px;border-left:4px solid var(--bd-red);background:var(--bd-surface);border-radius:10px}
.bd-ticket-actions{display:flex;flex-wrap:wrap;gap:10px}.bd-ticket-step-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.bd-ticket-step-grid article{padding:22px;border:1px solid var(--bd-border);border-radius:15px;background:var(--bd-surface)}.bd-ticket-step-grid span{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--bd-red);color:#fff;font-weight:950}

@media(max-width:960px){
  .bd-chat-layout{grid-template-columns:280px minmax(0,1fr)}
  .bd-admin-stat-grid,.bd-news-grid,.bd-club-feature-grid,.bd-social-grid{grid-template-columns:repeat(2,1fr)}
  .bd-ticket-step-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .bd-chat-layout{grid-template-columns:1fr;min-height:0}.bd-chat-list{border-right:0;border-bottom:1px solid var(--bd-border);max-height:330px;overflow:auto}.bd-chat-window{min-height:560px}.bd-chat-messages{height:420px}.bd-chat-bubble{max-width:88%}
  .bd-admin-stat-grid,.bd-news-grid,.bd-club-feature-grid,.bd-social-grid,.bd-social-guidelines>div,.bd-ticket-step-grid{grid-template-columns:1fr}
  .bd-info-banner{align-items:flex-start;flex-direction:column}
  .bd-editorial-hero{padding:65px 0}.bd-editorial-hero h1{letter-spacing:-2px}
}


/* Version 3.0 Part 4: membership page */
.bd-membership-page{overflow:hidden;background:#070719;color:#fff}
.bd-membership-hero{position:relative;padding:92px 0 110px;background:radial-gradient(circle at 78% 25%,rgba(255,215,96,.19),transparent 30%),radial-gradient(circle at 15% 10%,rgba(220,5,45,.28),transparent 34%),linear-gradient(125deg,#060616,#15091e 55%,#5b0017)}
.bd-membership-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,transparent 68%,rgba(255,255,255,.035) 68%,rgba(255,255,255,.035) 72%,transparent 72%)}
.bd-membership-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:64px;align-items:center}
.bd-membership-kicker,.bd-membership-section-heading>span,.bd-membership-cancel span,.bd-membership-disclaimer-box>span,.bd-membership-final>div>span{display:inline-block;color:#f0cd62;font-size:13px;font-weight:950;letter-spacing:2.7px}
.bd-membership-copy h1{margin:17px 0 20px;font-size:clamp(49px,8vw,84px);line-height:.96;letter-spacing:-3.5px}.bd-membership-copy h1 em{color:#f1cf68;font-style:normal}.bd-membership-copy>p{max-width:690px;color:#d8d9e3;font-size:19px;line-height:1.7}
.bd-membership-price{display:flex;align-items:flex-end;gap:11px;margin:28px 0 15px}.bd-membership-price strong{font-size:52px;line-height:1}.bd-membership-price span{padding-bottom:6px;color:#c6c8d2}
.bd-membership-quickfacts{display:flex;flex-wrap:wrap;gap:10px 22px;padding:0;margin:0 0 28px;list-style:none;color:#e2e3e9;font-weight:800}
.bd-membership-cta{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-width:285px;padding:16px 21px;border:1px solid #f0cf68;border-radius:11px;background:linear-gradient(135deg,#f6dc83,#c99b27);color:#171008;text-decoration:none;font:inherit;font-size:16px;font-weight:950;cursor:pointer;box-shadow:0 0 30px rgba(240,207,104,.22)}
.bd-membership-cta::before{content:"";position:absolute;inset:0;transform:translateX(-120%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.52),transparent);animation:bdMembershipShine 4s ease-in-out infinite}.bd-membership-cta span{font-size:22px}.bd-membership-cta:hover{transform:translateY(-2px);box-shadow:0 0 42px rgba(240,207,104,.35)}
@keyframes bdMembershipShine{0%,58%{transform:translateX(-120%)}85%,100%{transform:translateX(120%)}}
.bd-membership-payment-note{display:block;margin-top:13px;color:#9ea1af}
.bd-membership-card{position:relative;overflow:hidden;min-height:430px;padding:34px;border:1px solid rgba(240,207,104,.42);border-radius:26px;background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.025));box-shadow:0 28px 80px rgba(0,0,0,.42);backdrop-filter:blur(16px)}
.bd-membership-card-glow{position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:rgba(240,207,104,.19);filter:blur(18px)}.bd-membership-badge{position:relative;display:inline-flex;padding:8px 11px;border:1px solid rgba(240,207,104,.42);border-radius:999px;color:#f4d978;font-size:11px;font-weight:950;letter-spacing:1.8px}.bd-membership-card-mark{position:relative;margin:52px 0 28px;font-size:62px;color:#f2d474;text-shadow:0 0 24px rgba(242,212,116,.55)}.bd-membership-card h2{position:relative;margin:0;font-size:31px}.bd-membership-card p{position:relative;color:#c8cad3;line-height:1.6}.bd-membership-card-line{height:1px;margin:30px 0;background:linear-gradient(90deg,rgba(240,207,104,.6),transparent)}.bd-membership-card>strong{display:block;font-size:28px;color:#f4d978}.bd-membership-card>small{display:block;margin-top:7px;color:#aaaeba}
.bd-membership-benefits,.bd-membership-how{padding:92px 0;background:#f5f6f8;color:#111322}.bd-membership-section-heading{max-width:770px;margin-bottom:36px}.bd-membership-section-heading h2{margin:12px 0 12px;font-size:clamp(34px,5vw,55px);line-height:1.06}.bd-membership-section-heading p{color:#646875;font-size:18px;line-height:1.65}
.bd-membership-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.bd-membership-benefit-grid article{padding:27px;border:1px solid #dfe1e6;border-radius:18px;background:#fff;box-shadow:0 11px 32px rgba(0,0,0,.055);transition:.2s ease}.bd-membership-benefit-grid article:hover{transform:translateY(-4px);border-color:#d9b84d}.bd-membership-benefit-grid article>span{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#111322;color:#f0cf68;font-size:22px}.bd-membership-benefit-grid h3{margin:20px 0 10px;font-size:21px}.bd-membership-benefit-grid p{margin:0;color:#696d78;line-height:1.6}
.bd-membership-how{background:#fff}.bd-membership-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.bd-membership-steps article{position:relative;padding:28px;border-radius:17px;background:#0b0c1b;color:#fff}.bd-membership-steps b{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f0cf68;color:#171008}.bd-membership-steps p{color:#c7c9d2;line-height:1.55}
.bd-membership-cancel{padding:76px 0;background:linear-gradient(120deg,#120b1d,#680019);color:#fff}.bd-membership-cancel-inner{display:flex;align-items:center;justify-content:space-between;gap:36px}.bd-membership-cancel h2{margin:10px 0;font-size:44px}.bd-membership-cancel p{max-width:760px;color:#d7d8df;line-height:1.7}.bd-membership-cancel-icon{width:110px;height:110px;display:flex;align-items:center;justify-content:center;flex:0 0 110px;border:1px solid #f0cf68;border-radius:50%;color:#f0cf68;font-size:50px;box-shadow:0 0 35px rgba(240,207,104,.18)}
.bd-membership-disclaimer{padding:76px 0;background:#f5f6f8;color:#111322}.bd-membership-disclaimer-box{padding:32px;border:1px solid #e0c86c;border-left:7px solid #d7ad29;border-radius:17px;background:#fffaf0;box-shadow:0 13px 36px rgba(0,0,0,.06)}.bd-membership-disclaimer-box h2{margin:12px 0 13px;font-size:32px}.bd-membership-disclaimer-box p{color:#555b68;line-height:1.7}
.bd-membership-final{padding:90px 0;text-align:center;background:radial-gradient(circle at 50% 10%,rgba(240,207,104,.16),transparent 31%),#070719}.bd-membership-final h2{max-width:800px;margin:14px auto;font-size:clamp(38px,6vw,65px);line-height:1.04}.bd-membership-final p{margin-bottom:28px;color:#c7c9d2}
.bd-membership-checkout-settings form{display:grid;gap:12px}.bd-membership-checkout-settings input{width:100%;padding:12px;border:1px solid var(--bd-border);border-radius:9px;background:var(--bd-surface-soft);color:var(--bd-body-text);font:inherit}
@media(prefers-reduced-motion:reduce){.bd-membership-cta::before{animation:none}}
@media(max-width:900px){.bd-membership-hero-grid{grid-template-columns:1fr}.bd-membership-card{max-width:620px}.bd-membership-benefit-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.bd-membership-hero{padding:65px 0 72px}.bd-membership-copy h1{letter-spacing:-2px}.bd-membership-benefit-grid,.bd-membership-steps{grid-template-columns:1fr}.bd-membership-cancel-inner{align-items:flex-start;flex-direction:column}.bd-membership-cancel-icon{width:82px;height:82px;flex-basis:82px}.bd-membership-cta{width:100%;min-width:0}.bd-membership-card{min-height:380px}.bd-membership-benefits,.bd-membership-how{padding:66px 0}}


/* Version 3.0 Part 5: consistent profile styling, player picker and build notice */
.bd-account-page,.bd-chat-page,.bd-moderation-dashboard,.bd-profile-page{
  --bd-page-card-radius:18px;
}
.bd-account-card,.bd-profile-shortcut,.bd-profile-hero,.bd-chat-layout,.bd-report-card{
  border-radius:var(--bd-page-card-radius)!important;
  border-color:var(--bd-border)!important;
}
.bd-profile-credit-line{display:flex;justify-content:center;align-items:center;gap:9px;margin:18px 0 15px}
.bd-credit-badge{display:inline-flex!important;align-items:center;gap:8px;padding:10px 15px!important;border:1px solid rgba(231,194,57,.7)!important;border-radius:999px!important;background:rgba(231,194,57,.07)!important;box-shadow:0 5px 18px rgba(231,194,57,.12)!important;font-size:14px!important;letter-spacing:0!important}
.bd-credit-badge .bd-credit-icon{font-size:12px}.bd-credit-badge strong{font-size:18px}.bd-credit-badge small{color:inherit;font-size:11px;opacity:.78}
.bd-credit-help{width:38px!important;height:38px!important}
.bd-favourite-player-display{display:inline-flex;align-items:center;gap:8px;margin-top:13px;padding:8px 12px;border:1px solid var(--bd-border);border-radius:999px;background:var(--bd-surface-soft)}
.bd-favourite-player-display span{color:var(--bd-muted);font-size:11px;text-transform:uppercase;letter-spacing:1px}
.bd-favourite-player-display strong{font-size:13px}
.bd-field-note-admin{color:#e3bb3f!important;font-weight:850}
.bd-player-select-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border:1px solid var(--bd-border);border-radius:11px;background:var(--bd-surface-soft);color:var(--bd-body-text);font:inherit;text-align:left;cursor:pointer}
.bd-player-select-button span small,.bd-player-select-button span strong{display:block}.bd-player-select-button span small{color:var(--bd-muted);font-size:10px;text-transform:uppercase;letter-spacing:1px}.bd-player-select-button span strong{margin-top:5px}.bd-player-select-button b{color:var(--bd-red)}
.bd-public-profile-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px}.bd-public-profile-meta>span{padding:7px 10px;border:1px solid var(--bd-border);border-radius:999px;background:var(--bd-surface-soft);color:var(--bd-muted);font-size:12px}
.bd-player-picker-dialog{position:relative;width:min(840px,100%);max-height:min(760px,calc(100vh - 32px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--bd-border);border-radius:21px;background:var(--bd-surface);color:var(--bd-body-text);box-shadow:0 28px 90px rgba(0,0,0,.48)}
.bd-player-picker-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;padding:22px;border-bottom:1px solid var(--bd-border)}.bd-player-picker-dialog h2{margin:5px 0 0}.bd-player-picker-dialog>header>button{width:38px;height:38px;border:0;border-radius:10px;background:var(--bd-surface-soft);color:var(--bd-body-text);font-size:24px;cursor:pointer}
.bd-player-picker-search{padding:13px 18px;border-bottom:1px solid var(--bd-border)}.bd-player-picker-search input{width:100%;padding:12px 14px;border:1px solid var(--bd-border);border-radius:10px;background:var(--bd-surface-soft);color:var(--bd-body-text);font:inherit}
.bd-player-picker-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;overflow:auto;padding:17px}.bd-player-picker-grid button{display:grid;grid-template-columns:42px 1fr;gap:2px 10px;align-items:center;padding:12px;border:1px solid var(--bd-border);border-radius:13px;background:var(--bd-surface-soft);color:var(--bd-body-text);text-align:left;cursor:pointer}.bd-player-picker-grid button>span{grid-row:1/3;width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--bd-navy);color:#fff;font-weight:950}.bd-player-picker-grid button strong,.bd-player-picker-grid button small{display:block}.bd-player-picker-grid button small{color:var(--bd-muted)}.bd-player-picker-grid button.is-selected{border-color:#e2bd3f;background:rgba(226,189,63,.11);box-shadow:0 0 0 2px rgba(226,189,63,.12)}
.bd-player-picker-dialog>footer{display:flex;justify-content:flex-end;gap:9px;padding:14px 18px;border-top:1px solid var(--bd-border)}


/* Version 3.0 Part 6: unified pages, password controls and ticker positioning */
.bd-account-top-feedback{position:relative;z-index:2;margin:0 0 16px}
.bd-account-top-feedback:empty{display:none}
.bd-account-top-feedback .bd-form-message{margin:0;border-radius:14px;padding:15px 18px}

.bd-account-password-card p{color:var(--bd-muted)}
.bd-account-row-link{display:grid;grid-template-columns:50px 1fr auto;gap:13px;align-items:center;margin-top:16px;padding:14px;border:1px solid var(--bd-border);border-radius:13px;background:var(--bd-surface-soft);text-decoration:none}
.bd-account-row-link:hover{border-color:var(--bd-red);transform:translateY(-1px)}
.bd-account-row-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:rgba(220,5,45,.1);color:var(--bd-red)}
.bd-account-row-icon svg{width:24px;height:24px;fill:currentColor}
.bd-account-row-link span strong,.bd-account-row-link span small{display:block}.bd-account-row-link span small{margin-top:5px;color:var(--bd-muted)}.bd-account-row-link>b{color:var(--bd-red);font-size:22px}

.bd-password-input-wrap{position:relative}
.bd-password-input-wrap input{width:100%;padding-right:54px!important}
.bd-password-visibility{position:absolute;top:50%;right:7px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;transform:translateY(-50%);border:1px solid var(--bd-border);border-radius:9px;background:var(--bd-surface-soft);color:var(--bd-muted);cursor:pointer}
.bd-password-visibility:hover,.bd-password-visibility.is-visible{color:var(--bd-red);border-color:var(--bd-red)}
.bd-password-visibility svg{width:22px;height:22px;fill:currentColor}
.bd-modern-password-form{display:grid;gap:10px}.bd-modern-password-form>label{margin-top:7px;font-weight:900}.bd-modern-password-form>small{color:var(--bd-muted)}
.bd-form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}

.bd-unified-community-page{min-height:70vh;background:var(--bd-body-bg,#f4f5f7)}
.bd-unified-page-hero{display:grid;grid-template-columns:74px 1fr;gap:20px;align-items:center;margin-bottom:20px;padding:25px;border:1px solid var(--bd-border);border-radius:19px;background:var(--bd-surface);box-shadow:0 10px 32px rgba(0,0,0,.065)}
.bd-unified-page-hero h1{margin:5px 0 7px;font-size:clamp(31px,5vw,49px)}.bd-unified-page-hero p{margin:0;color:var(--bd-muted);line-height:1.6}
.bd-unified-page-icon{width:68px;height:68px;display:flex;align-items:center;justify-content:center;border-radius:18px;background:rgba(220,5,45,.1);color:var(--bd-red)}
.bd-unified-page-icon.is-danger{background:rgba(155,22,48,.13);color:#b11c3a}.bd-unified-page-icon svg{width:32px;height:32px;fill:currentColor}
.bd-unified-content-card{padding:25px;border:1px solid var(--bd-border);border-radius:19px;background:var(--bd-surface);box-shadow:0 10px 32px rgba(0,0,0,.065)}
.bd-unified-content-card>h2{margin-top:0}.bd-unified-content-card>p{color:var(--bd-muted);line-height:1.65}
.bd-members-directory-card{display:grid;gap:22px}
.bd-delete-information-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:22px 0}.bd-delete-information-grid article{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--bd-border);border-radius:12px;background:var(--bd-surface-soft)}.bd-delete-information-grid strong{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--bd-red);color:#fff}
.bd-delete-confirm{display:flex!important;align-items:flex-start;gap:10px;padding:15px;border:1px solid var(--bd-border);border-radius:12px;background:var(--bd-surface-soft)}

.bd-global-back-wrap{position:relative!important;left:auto!important;bottom:auto!important;width:min(1180px,calc(100% - 24px))!important;margin:10px auto 6px!important;z-index:85!important}
.bd-global-back{min-height:36px!important;padding:6px 11px!important;border-radius:999px!important;box-shadow:none!important}
.bd-news-ticker{z-index:90}
.bd-news-ticker + .bd-global-back-wrap{margin-top:10px!important}

@media(max-width:650px){
  .bd-unified-page-hero{grid-template-columns:55px 1fr;padding:18px;gap:14px}.bd-unified-page-icon{width:54px;height:54px;border-radius:14px}.bd-unified-page-icon svg{width:26px;height:26px}
  .bd-unified-content-card{padding:18px}.bd-delete-information-grid{grid-template-columns:1fr}
  .bd-account-row-link{grid-template-columns:44px 1fr auto}.bd-account-row-icon{width:44px;height:44px}
}


/* Version 3.0 Part 7: account hierarchy and unified large account cards */
.bd-profile-role{display:flex;justify-content:center;margin-top:16px}
.bd-profile-credit-line{margin:10px 0 0!important;gap:7px!important}
.bd-credit-badge{
  min-height:42px!important;
  padding:8px 17px!important;
  font-size:14px!important;
  gap:7px!important;
  border-width:1px!important;
  box-shadow:0 0 15px rgba(231,194,57,.25)!important;
}
.bd-credit-badge strong{font-size:16px!important}
.bd-credit-badge small{font-size:11px!important}
.bd-credit-help{width:42px!important;height:42px!important;flex:0 0 42px!important}
.bd-favourite-player-display{margin-top:10px!important}

.bd-profile-shortcuts{
  grid-template-columns:1fr!important;
  gap:14px!important;
}
.bd-profile-shortcut{
  grid-template-columns:62px minmax(0,1fr) auto!important;
  min-height:128px!important;
  padding:22px 24px!important;
  border-radius:20px!important;
  background:
    radial-gradient(circle at 92% 20%,rgba(220,5,45,.09),transparent 32%),
    var(--bd-surface)!important;
  box-shadow:0 13px 34px rgba(0,0,0,.08)!important;
}
.bd-profile-shortcut-icon{
  width:62px!important;
  height:62px!important;
  border-radius:17px!important;
  font-size:25px!important;
}
.bd-profile-shortcut-icon svg{width:27px;height:27px;fill:currentColor}
.bd-profile-shortcut strong{font-size:24px!important;margin-bottom:8px!important}
.bd-profile-shortcut small{font-size:15px!important;line-height:1.5!important}
.bd-profile-shortcut>b{color:var(--bd-red);font-size:25px}
.bd-profile-shortcut-button{width:100%;border:1px solid var(--bd-border);color:var(--bd-body-text);font:inherit;text-align:left;cursor:pointer}
.bd-profile-shortcut-button:hover{border-color:var(--bd-red)}

.bd-account-edit-modal[hidden]{display:none!important}
.bd-account-edit-modal{position:fixed;inset:0;z-index:3100;display:grid;place-items:center;padding:16px}
.bd-account-edit-backdrop{position:absolute;inset:0;background:rgba(2,3,12,.82);backdrop-filter:blur(9px)}
.bd-account-edit-dialog{
  position:relative;
  width:min(690px,100%);
  max-height:calc(100vh - 32px);
  overflow:auto;
  border:1px solid rgba(255,255,255,.13);
  border-radius:24px;
  background:
    radial-gradient(circle at 90% 8%,rgba(220,5,45,.16),transparent 30%),
    linear-gradient(145deg,#131525,#090a17);
  color:#fff;
  box-shadow:0 30px 100px rgba(0,0,0,.56)
}
.bd-account-edit-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:26px;border-bottom:1px solid rgba(255,255,255,.11)}
.bd-account-edit-dialog>header h2{margin:6px 0 8px;font-size:34px}.bd-account-edit-dialog>header p:last-child{margin:0;color:#bfc2cd}
.bd-account-edit-dialog>header>button{width:40px;height:40px;border:1px solid rgba(255,255,255,.12);border-radius:11px;background:rgba(255,255,255,.06);color:#fff;font-size:24px;cursor:pointer}
.bd-account-edit-options{display:grid;gap:10px;padding:18px}
.bd-account-edit-options>a,.bd-account-edit-options>button{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  gap:13px;
  align-items:center;
  width:100%;
  padding:15px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:15px;
  background:rgba(255,255,255,.045);
  color:#fff;
  font:inherit;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}
.bd-account-edit-options>a:hover,.bd-account-edit-options>button:hover{border-color:var(--bd-red);background:rgba(220,5,45,.1)}
.bd-account-edit-option-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:rgba(220,5,45,.14);color:#ff2149}
.bd-account-edit-option-icon svg{width:25px;height:25px;fill:currentColor}
.bd-account-edit-options strong,.bd-account-edit-options small{display:block}.bd-account-edit-options strong{font-size:18px}.bd-account-edit-options small{margin-top:5px;color:#b8bbc6;line-height:1.4}.bd-account-edit-options b{color:#ff2149;font-size:22px}
html.bd-account-edit-open{overflow:hidden}
.bd-edit-target-highlight{animation:bdEditTargetHighlight 1.8s ease}
@keyframes bdEditTargetHighlight{0%,100%{box-shadow:none}35%{box-shadow:0 0 0 3px rgba(220,5,45,.3),0 0 30px rgba(220,5,45,.18)}}

@media(max-width:620px){
  .bd-profile-shortcut{grid-template-columns:54px minmax(0,1fr) auto!important;min-height:112px!important;padding:18px!important}
  .bd-profile-shortcut-icon{width:54px!important;height:54px!important}
  .bd-profile-shortcut strong{font-size:20px!important}
  .bd-profile-shortcut small{font-size:14px!important}
  .bd-account-edit-dialog>header{padding:21px}.bd-account-edit-dialog>header h2{font-size:28px}
  .bd-account-edit-options{padding:13px}.bd-account-edit-options>a,.bd-account-edit-options>button{grid-template-columns:46px minmax(0,1fr) auto;padding:13px}.bd-account-edit-option-icon{width:46px;height:46px}
}


/* Version 3.0 Part 8: dedicated account pages and compact credit */
.bd-profile-credit-line{margin-top:9px!important}
.bd-credit-badge{
  min-height:31px!important;
  padding:5px 11px!important;
  font-size:12px!important;
  line-height:1!important;
  box-shadow:0 0 8px rgba(231,194,57,.17)!important;
}
.bd-credit-help{width:31px!important;height:31px!important;flex-basis:31px!important;font-size:12px!important}
.bd-favourite-player-display{margin-top:9px!important}

.bd-account-overview-card{margin-top:22px}
.bd-account-language-inline{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding-top:20px;border-top:1px solid var(--bd-border)}
.bd-account-language-inline strong,.bd-account-language-inline small{display:block}.bd-account-language-inline small{margin-top:5px;color:var(--bd-muted)}

.bd-account-edit-options>a.is-danger{border-color:rgba(220,5,45,.34);background:rgba(220,5,45,.075)}
.bd-account-edit-options>a.is-danger .bd-account-edit-option-icon{background:rgba(220,5,45,.2)}
.bd-account-edit-options>a.is-danger strong{color:#ff5570}

.bd-profile-setting-page .bd-container{max-width:900px}
.bd-profile-setting-form{display:grid;gap:12px}
.bd-profile-setting-form>label{margin-top:5px;font-weight:900}
.bd-profile-setting-form>input[type="text"],
.bd-profile-setting-form>input[type="file"]{width:100%;padding:13px 14px;border:1px solid var(--bd-border);border-radius:11px;background:var(--bd-surface-soft);color:var(--bd-body-text);font:inherit}
.bd-profile-setting-form>small{color:var(--bd-muted);line-height:1.5}

.bd-dedicated-player-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.bd-dedicated-player-grid label{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:10px;padding:12px;border:1px solid var(--bd-border);border-radius:13px;background:var(--bd-surface-soft);cursor:pointer}
.bd-dedicated-player-grid label:hover,.bd-dedicated-player-grid label:has(input:checked){border-color:#dfbc40;background:rgba(223,188,64,.1)}
.bd-dedicated-player-grid input{position:absolute;opacity:0;pointer-events:none}
.bd-dedicated-player-grid span{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--bd-navy);color:#fff;font-weight:950}
.bd-player-none-option{display:flex!important;align-items:center;gap:9px;margin-top:8px;padding:13px;border:1px solid var(--bd-border);border-radius:12px;background:var(--bd-surface-soft)}

.bd-profile-image-setting-preview{display:flex;align-items:center;gap:18px;margin-bottom:8px;padding:17px;border:1px solid var(--bd-border);border-radius:15px;background:var(--bd-surface-soft)}
.bd-profile-image-setting-preview img{width:110px;height:110px;object-fit:cover;border:4px solid var(--bd-red);border-radius:50%}
.bd-profile-image-setting-preview strong,.bd-profile-image-setting-preview small{display:block}.bd-profile-image-setting-preview small{margin-top:6px;color:var(--bd-muted);line-height:1.5}

.bd-delete-secure-card{border-color:rgba(220,5,45,.28)}
.bd-delete-warning{margin-bottom:18px;padding:16px;border-left:5px solid var(--bd-red);border-radius:11px;background:rgba(220,5,45,.07)}
.bd-delete-warning p{margin:7px 0 0;color:var(--bd-muted);line-height:1.6}
.bd-danger-button{background:#a50b2a!important;border-color:#a50b2a!important}
.bd-danger-button:hover{background:#7f071f!important;color:#fff!important}

@media(max-width:720px){
  .bd-dedicated-player-grid{grid-template-columns:1fr}
  .bd-account-language-inline{align-items:flex-start;flex-direction:column}
  .bd-profile-image-setting-preview{align-items:flex-start;flex-direction:column}
}


/* Version 3.1.0: unified design system and motion */
:root{
  --bd-radius-xs:8px;
  --bd-radius-sm:12px;
  --bd-radius-md:16px;
  --bd-radius-lg:22px;
  --bd-card-border:rgba(140,146,166,.24);
  --bd-card-shadow:0 14px 40px rgba(0,0,0,.10);
  --bd-card-shadow-hover:0 20px 54px rgba(0,0,0,.16);
  --bd-transition-fast:160ms ease;
  --bd-transition:240ms ease;
  --bd-gold:#e4bd45;
  --bd-success:#1f9d62;
  --bd-warning:#d58a17;
  --bd-danger:#bd1637;
}

body{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

.section.light,
.bd-unified-community-page,
.bd-account-page,
.bd-chat-page,
.bd-moderation-dashboard{
  background:
    radial-gradient(circle at 8% 0%,rgba(220,5,45,.035),transparent 28%),
    var(--bd-body-bg,var(--bd-light));
}

.bd-account-card,
.bd-profile-shortcut,
.bd-profile-hero,
.bd-unified-page-hero,
.bd-unified-content-card,
.bd-chat-layout,
.bd-news-card,
.bd-report-card,
.bd-admin-stat-grid > a,
.bd-moderation-overview > a,
.bd-social-grid > a,
.bd-club-feature-grid article{
  border:1px solid var(--bd-card-border)!important;
  border-radius:var(--bd-radius-lg)!important;
  box-shadow:var(--bd-card-shadow)!important;
  transition:
    transform var(--bd-transition),
    box-shadow var(--bd-transition),
    border-color var(--bd-transition),
    background-color var(--bd-transition);
}

.bd-profile-shortcut:hover,
.bd-news-card:hover,
.bd-admin-stat-grid > a:hover,
.bd-moderation-overview > a:hover,
.bd-social-grid > a:hover,
.bd-club-feature-grid article:hover{
  transform:translateY(-4px);
  border-color:rgba(220,5,45,.48)!important;
  box-shadow:var(--bd-card-shadow-hover)!important;
}

.button,
.bd-small-button,
.bd-header-action,
.bd-account-edit-options > a,
.bd-account-edit-options > button{
  transition:
    transform var(--bd-transition-fast),
    box-shadow var(--bd-transition-fast),
    border-color var(--bd-transition-fast),
    background-color var(--bd-transition-fast),
    color var(--bd-transition-fast);
}

.button:active,
.bd-small-button:active,
.bd-header-action:active{
  transform:scale(.97);
}

.button:disabled,
.bd-small-button:disabled{
  cursor:wait;
  opacity:.66;
  transform:none!important;
}

input,
textarea,
select,
.bd-player-select-button{
  transition:
    border-color var(--bd-transition-fast),
    box-shadow var(--bd-transition-fast),
    background-color var(--bd-transition-fast);
}

input:focus,
textarea:focus,
select:focus{
  outline:none;
  border-color:var(--bd-red)!important;
  box-shadow:0 0 0 3px rgba(220,5,45,.14)!important;
}

.bd-form-message{
  border-radius:var(--bd-radius-md)!important;
  animation:bdMessageIn .32s ease both;
}
@keyframes bdMessageIn{
  from{opacity:0;transform:translateY(-8px)}
  to{opacity:1;transform:translateY(0)}
}

.bd-site-modal:not([hidden]),
.bd-account-edit-modal:not([hidden]),
.bd-player-picker:not([hidden]),
  animation:bdBackdropIn .2s ease both;
}
.bd-site-modal:not([hidden]) > *,
.bd-account-edit-modal:not([hidden]) .bd-account-edit-dialog,
.bd-player-picker:not([hidden]) .bd-player-picker-dialog,
  animation:bdDialogIn .28s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes bdBackdropIn{from{opacity:0}to{opacity:1}}
@keyframes bdDialogIn{
  from{opacity:0;transform:translateY(14px) scale(.975)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

.bd-reveal{
  opacity:0;
  transform:translateY(18px);
  transition:
    opacity .5s ease var(--bd-reveal-delay,0ms),
    transform .5s ease var(--bd-reveal-delay,0ms);
}
.bd-reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

html.bd-page-leaving body{
  opacity:.82;
  transform:scale(.997);
  transition:opacity .16s ease,transform .16s ease;
}

.bd-account-level i{
  overflow:hidden;
}
.bd-account-level i > b,
[data-bd-progress-bar]{
  transition:width .85s cubic-bezier(.2,.8,.2,1)!important;
}

.bd-inbox-count:not([hidden]){
  animation:bdBadgePop .32s cubic-bezier(.2,.9,.3,1.35);
}
@keyframes bdBadgePop{
  from{transform:scale(.4);opacity:0}
  to{transform:scale(1);opacity:1}
}

.bd-header-notifications:has(.bd-inbox-count:not([hidden])) svg{
  animation:bdBellRing 1.2s ease 1;
  transform-origin:50% 10%;
}
@keyframes bdBellRing{
  0%,100%{transform:rotate(0)}
  15%{transform:rotate(12deg)}
  30%{transform:rotate(-10deg)}
  45%{transform:rotate(8deg)}
  60%{transform:rotate(-5deg)}
  75%{transform:rotate(2deg)}
}

.bd-spinner{
  width:30px;
  height:30px;
  display:inline-block;
  border:3px solid rgba(255,255,255,.22);
  border-top-color:#fff;
  border-radius:50%;
  animation:bdSpin .75s linear infinite;
}
@keyframes bdSpin{to{transform:rotate(360deg)}}

.bd-global-loader[hidden]{display:none!important}
.bd-global-loader{
  position:fixed;
  inset:0;
  z-index:5000;
  display:grid;
  place-items:center;
  background:rgba(4,5,14,.72);
  backdrop-filter:blur(5px);
}
.bd-global-loader-card{
  display:flex;
  align-items:center;
  gap:13px;
  padding:18px 22px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--bd-radius-md);
  background:#111326;
  color:#fff;
  box-shadow:0 22px 70px rgba(0,0,0,.45);
}
html.bd-loading-open{overflow:hidden}

.bd-mobile-bottom-nav{
  display:none;
}

@media(max-width:760px){
  body{
    padding-bottom:76px;
  }

  .bd-mobile-bottom-nav{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:1900;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:4px;
    padding:7px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:20px;
    background:rgba(9,10,23,.92);
    box-shadow:0 18px 50px rgba(0,0,0,.38);
    backdrop-filter:blur(16px);
  }

  .bd-mobile-bottom-nav a{
    display:grid;
    justify-items:center;
    gap:4px;
    padding:8px 5px;
    border-radius:14px;
    color:#d7d9e2;
    text-decoration:none;
    font-size:10px;
    font-weight:850;
  }

  .bd-mobile-bottom-nav a:hover,
  .bd-mobile-bottom-nav a:focus{
    background:rgba(220,5,45,.16);
    color:#fff;
  }

  .bd-mobile-bottom-nav svg{
    width:22px;
    height:22px;
    fill:currentColor;
  }

  .site-footer{
    padding-bottom:90px;
  }
}

@media(prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }

  .bd-reveal{
    opacity:1!important;
    transform:none!important;
  }
}


/* Version 3.1.1: simplified header, bottom inbox and clean account hero */
.bd-header-actions{
  gap:7px;
}
.bd-header-actions .bd-header-account,
.bd-header-actions .menu-toggle,
.bd-header-actions .bd-dark-toggle{
  display:inline-flex;
}
.bd-header-notifications,
.bd-header-messages,
.bd-notification-panel{
  display:none!important;
}

.bd-mobile-nav-icon-wrap{
  position:relative;
  display:inline-flex;
}
.bd-mobile-inbox-link b{
  position:absolute;
  top:-7px;
  right:-11px;
  min-width:19px;
  height:19px;
  padding:0 5px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #101120;
  border-radius:999px;
  background:var(--bd-red);
  color:#fff;
  font-size:9px;
  line-height:1;
  font-weight:950;
}
.bd-mobile-inbox-link b:empty::after{
  content:"0";
}

.bd-profile-online-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:10px;
  padding:7px 12px;
  border:1px solid rgba(38,199,117,.34);
  border-radius:999px;
  background:rgba(38,199,117,.075);
  color:#5ee59e;
  font-size:13px;
}
.bd-profile-online-status>span{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#26c775;
  box-shadow:0 0 0 4px rgba(38,199,117,.12),0 0 14px rgba(38,199,117,.58);
  animation:bdOnlinePulse 2.2s ease-in-out infinite;
}
@keyframes bdOnlinePulse{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(.82);opacity:.72}
}

.bd-profile-credit-line,
.bd-favourite-player-display{
  display:none!important;
}

@media(max-width:430px){
  .bd-header-actions{
    gap:6px;
  }
}


/* Version 3.1.2: fully unified dark mode across all pages */
html.bd-dark{
  color-scheme:dark;
  --bd-page-bg:#080914;
  --bd-body-bg:#080914;
  --bd-light:#0c0e18;
  --bd-white:#121522;
  --bd-text:#f4f5f8;
  --bd-surface:#131622;
  --bd-surface-soft:#0d101a;
  --bd-body-text:#f4f5f8;
  --bd-muted:#aeb3c2;
  --bd-border:#2a2f3d;
  --bd-card-border:rgba(153,160,181,.22);
}

html.bd-dark,
html.bd-dark body{
  background:#080914!important;
  color:var(--bd-body-text)!important;
}

html.bd-dark body::before,
html.bd-dark body::after{
  background-color:#080914!important;
}

html.bd-dark main,
html.bd-dark .site-main,
html.bd-dark .section,
html.bd-dark .section.light,
html.bd-dark .bd-account-page,
html.bd-dark .bd-chat-page,
html.bd-dark .bd-members-page,
html.bd-dark .bd-profile-page,
html.bd-dark .bd-moderation-dashboard,
html.bd-dark .bd-unified-community-page,
html.bd-dark .bd-contact-page,
html.bd-dark .bd-social-page,
html.bd-dark .bd-club-page,
html.bd-dark .bd-editorial-page,
html.bd-dark .bd-membership-benefits,
html.bd-dark .bd-membership-how,
html.bd-dark .bd-membership-disclaimer,
html.bd-dark .faq,
html.bd-dark .ticket-section,
html.bd-dark .tickets-section{
  background:
    radial-gradient(circle at 10% 0%,rgba(220,5,45,.035),transparent 30%),
    #080914!important;
  color:var(--bd-body-text)!important;
}

html.bd-dark .site-header{
  background:#0e111d!important;
  border-bottom-color:rgba(220,5,45,.82)!important;
}

html.bd-dark .header-inner,
html.bd-dark .site-branding,
html.bd-dark .bd-header-actions{
  background:transparent!important;
}

html.bd-dark .main-nav{
  background:
    radial-gradient(circle at 100% 0%,rgba(220,5,45,.12),transparent 35%),
    #111421!important;
  border-color:#2a2f3d!important;
  box-shadow:0 24px 70px rgba(0,0,0,.52)!important;
}

html.bd-dark .main-nav a{
  color:#f5f6f9!important;
}

html.bd-dark .main-nav a:hover,
html.bd-dark .main-nav .current-menu-item>a{
  background:linear-gradient(135deg,#ea0032,#c8052b)!important;
  color:#fff!important;
}

html.bd-dark .bd-global-back{
  background:#131622!important;
  color:#f4f5f8!important;
  border-color:#2a2f3d!important;
}

html.bd-dark .bd-news-ticker{
  background:#050616!important;
  border-color:#2a2f3d!important;
}

html.bd-dark .bd-news-ticker-track,
html.bd-dark .bd-news-ticker a{
  color:#f4f5f8!important;
}

/* All cards and content surfaces */
html.bd-dark .card,
html.bd-dark .ticket-box,
html.bd-dark .bd-auth-card,
html.bd-dark .bd-account-card,
html.bd-dark .bd-profile-hero,
html.bd-dark .bd-profile-shortcut,
html.bd-dark .bd-contact-card,
html.bd-dark .bd-contact-form,
html.bd-dark .bd-user-search,
html.bd-dark .bd-user-table-wrap,
html.bd-dark .bd-unified-page-hero,
html.bd-dark .bd-unified-content-card,
html.bd-dark .bd-chat-layout,
html.bd-dark .bd-chat-list,
html.bd-dark .bd-chat-window,
html.bd-dark .bd-chat-window-header,
html.bd-dark .bd-chat-composer,
html.bd-dark .bd-news-card,
html.bd-dark .bd-report-card,
html.bd-dark .bd-admin-stat-grid>a,
html.bd-dark .bd-moderation-overview>a,
html.bd-dark .bd-social-grid>a,
html.bd-dark .bd-club-feature-grid article,
html.bd-dark .bd-ticket-step-grid article,
html.bd-dark .bd-membership-benefit-grid article,
html.bd-dark .bd-membership-steps article,
html.bd-dark .bd-info-banner,
html.bd-dark .bd-topic-strip a,
html.bd-dark .faq details,
html.bd-dark table,
html.bd-dark thead,
html.bd-dark tbody,
html.bd-dark tr,
html.bd-dark td,
html.bd-dark th{
  background:#131622!important;
  color:#f4f5f8!important;
  border-color:#2a2f3d!important;
  box-shadow:0 14px 40px rgba(0,0,0,.28)!important;
}

html.bd-dark .bd-chat-window,
html.bd-dark .bd-chat-messages,
html.bd-dark .bd-chat-list-item,
html.bd-dark .bd-account-data-list>div,
html.bd-dark .bd-account-language-inline,
html.bd-dark .bd-delete-information-grid article,
html.bd-dark .bd-profile-image-setting-preview,
html.bd-dark .bd-player-none-option,
html.bd-dark .bd-dedicated-player-grid label{
  background:#0f121d!important;
  border-color:#2a2f3d!important;
}

html.bd-dark .bd-chat-list-item:hover,
html.bd-dark .bd-chat-list-item.is-active,
html.bd-dark .bd-dedicated-player-grid label:hover,
html.bd-dark .bd-dedicated-player-grid label:has(input:checked){
  background:rgba(220,5,45,.12)!important;
  border-color:rgba(220,5,45,.55)!important;
}

/* Form elements */
html.bd-dark input,
html.bd-dark textarea,
html.bd-dark select,
html.bd-dark .bd-player-select-button,
html.bd-dark input[type="file"]{
  background:#0b0e18!important;
  color:#f4f5f8!important;
  border-color:#303545!important;
}

html.bd-dark input::placeholder,
html.bd-dark textarea::placeholder{
  color:#777e90!important;
}

html.bd-dark input[type="file"]::file-selector-button{
  background:#1a1e2b!important;
  color:#f4f5f8!important;
  border:1px solid #343a4b!important;
  border-radius:9px!important;
  padding:8px 12px!important;
}

/* Text hierarchy */
html.bd-dark p,
html.bd-dark li,
html.bd-dark label,
html.bd-dark dt,
html.bd-dark dd,
html.bd-dark small,
html.bd-dark span,
html.bd-dark strong,
html.bd-dark h1,
html.bd-dark h2,
html.bd-dark h3,
html.bd-dark h4,
html.bd-dark h5{
  color:inherit;
}

html.bd-dark .lead,
html.bd-dark .bd-muted,
html.bd-dark .bd-news-card p,
html.bd-dark .bd-club-feature-grid p,
html.bd-dark .bd-social-grid small,
html.bd-dark .bd-chat-list-item small,
html.bd-dark .bd-chat-bubble time,
html.bd-dark .bd-account-data-list dt,
html.bd-dark .bd-account-row-link small,
html.bd-dark .bd-profile-setting-form>small{
  color:var(--bd-muted)!important;
}

/* Keep intentional branded/hero sections */
html.bd-dark .hero,
html.bd-dark .ticket-hero,
html.bd-dark .bd-editorial-hero,
html.bd-dark .bd-membership-hero,
html.bd-dark .bd-membership-cancel,
html.bd-dark .bd-membership-final,
html.bd-dark .site-footer{
  color:#fff!important;
}

html.bd-dark .hero *,
html.bd-dark .ticket-hero *,
html.bd-dark .bd-editorial-hero *,
html.bd-dark .bd-membership-hero *,
html.bd-dark .bd-membership-cancel *,
html.bd-dark .bd-membership-final *,
html.bd-dark .site-footer *{
  color:inherit;
}

/* Popups and overlays */
html.bd-dark .bd-site-modal-dialog,
html.bd-dark .bd-account-edit-dialog,
html.bd-dark .bd-player-picker-dialog,
html.bd-dark .bd-notification-panel{
  background:
    radial-gradient(circle at 95% 0%,rgba(220,5,45,.13),transparent 32%),
    #111421!important;
  color:#f4f5f8!important;
  border-color:#303545!important;
}

html.bd-dark .bd-site-modal-dialog *,
html.bd-dark .bd-account-edit-dialog *,
html.bd-dark .bd-player-picker-dialog *,
html.bd-dark .bd-notification-panel *{
  color:inherit;
}

html.bd-dark .bd-account-edit-options>a,
html.bd-dark .bd-account-edit-options>button,
html.bd-dark .bd-notification-filters button,
html.bd-dark .bd-notification-item,
html.bd-dark .bd-player-picker-grid button{
  background:#171b29!important;
  border-color:#303545!important;
  color:#f4f5f8!important;
}

/* Footer and mobile navigation */
html.bd-dark .site-footer{
  background:#070812!important;
  border-color:#242938!important;
}

html.bd-dark .bd-mobile-bottom-nav{
  background:rgba(9,10,23,.96)!important;
  border-color:#303545!important;
}

html.bd-dark .bd-mobile-bottom-nav a{
  color:#d8dae3!important;
}

html.bd-dark .bd-mobile-bottom-nav a:hover,
html.bd-dark .bd-mobile-bottom-nav a:focus{
  background:rgba(220,5,45,.18)!important;
  color:#fff!important;
}

/* Buttons remain clear and consistent */
html.bd-dark .button.secondary,
html.bd-dark .bd-small-button{
  background:#1a1e2c!important;
  border-color:#343a4b!important;
  color:#fff!important;
}

html.bd-dark .button.secondary:hover,
html.bd-dark .bd-small-button:hover{
  background:#252a3b!important;
  border-color:#4a5268!important;
}

/* Browser and WordPress-generated areas */
html.bd-dark .wp-block-group,
html.bd-dark .wp-block-columns,
html.bd-dark .wp-block-column,
html.bd-dark .entry-content,
html.bd-dark .page-content,
html.bd-dark article,
html.bd-dark aside{
  color:var(--bd-body-text);
}

html.bd-dark .wp-block-group.has-background,
html.bd-dark .wp-block-column.has-background,
html.bd-dark .has-white-background-color,
html.bd-dark .has-background{
  background-color:#131622!important;
  color:#f4f5f8!important;
}

/* Remove accidental white strips from older page templates */
html.bd-dark main > section:not(.hero):not(.ticket-hero):not(.bd-editorial-hero):not(.bd-membership-hero):not(.bd-membership-cancel):not(.bd-membership-final),
html.bd-dark main > div,
html.bd-dark .section > .bd-container{
  border-color:#2a2f3d;
}

@media(max-width:760px){
  html.bd-dark body{
    background:#080914!important;
  }

  html.bd-dark .main-nav{
    background:#111421!important;
  }
}


/* Version 3.1.3: FC Bayern page, facts and Bundesliga table */
.bd-fcb-page{
  background:var(--bd-body-bg,var(--bd-light));
}
.bd-fcb-page .bd-club-hero{
  background:
    radial-gradient(circle at 82% 20%,rgba(255,255,255,.12),transparent 30%),
    linear-gradient(120deg,#090a18 0%,#4b0015 55%,#dc052d 100%)!important;
}
.bd-fcb-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}
.bd-fcb-facts-section,
.bd-bundesliga-table-section,
.bd-fcb-identity-section{
  padding:76px 0;
  background:var(--bd-body-bg,var(--bd-light));
  color:var(--bd-body-text,var(--bd-text));
}
.bd-bundesliga-table-section{
  background:var(--bd-surface-soft,#eef0f4);
}
.bd-club-section-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:28px;
}
.bd-club-section-heading h2{
  margin:7px 0 8px;
  font-size:clamp(34px,5vw,56px);
}
.bd-club-section-heading p{
  max-width:760px;
  margin:0;
  color:var(--bd-muted,#666b78);
  line-height:1.65;
}
.bd-club-section-heading>a{
  flex:0 0 auto;
  color:var(--bd-red);
  font-weight:900;
  text-decoration:none;
}
.bd-fcb-fact-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.bd-fcb-fact-grid article{
  padding:24px;
  border:1px solid var(--bd-border,#d9dce4);
  border-radius:20px;
  background:var(--bd-surface,#fff);
  box-shadow:var(--bd-card-shadow,0 14px 40px rgba(0,0,0,.08));
}
.bd-fcb-fact-grid article>span{
  display:block;
  color:var(--bd-red);
  font-size:32px;
  font-weight:950;
}
.bd-fcb-fact-grid h3{
  margin:13px 0 8px;
}
.bd-fcb-fact-grid p{
  margin:0;
  color:var(--bd-muted,#686d78);
  line-height:1.6;
}
.bd-fcb-source-row{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:18px;
}
.bd-fcb-source-row a{
  padding:8px 11px;
  border:1px solid var(--bd-border,#d9dce4);
  border-radius:999px;
  background:var(--bd-surface,#fff);
  color:var(--bd-body-text,var(--bd-text));
  text-decoration:none;
  font-size:12px;
  font-weight:850;
}
.bd-bundesliga-table-wrap{
  overflow:auto;
  border:1px solid var(--bd-border,#d9dce4);
  border-radius:20px;
  background:var(--bd-surface,#fff);
  box-shadow:var(--bd-card-shadow,0 14px 40px rgba(0,0,0,.08));
}
.bd-bundesliga-table{
  width:100%;
  min-width:780px;
  border-collapse:collapse;
}
.bd-bundesliga-table th,
.bd-bundesliga-table td{
  padding:13px 14px;
  border-bottom:1px solid var(--bd-border,#e1e3e8);
  text-align:center;
  white-space:nowrap;
}
.bd-bundesliga-table th:nth-child(2),
.bd-bundesliga-table td:nth-child(2){
  text-align:left;
}
.bd-bundesliga-table thead{
  background:var(--bd-navy);
  color:#fff;
}
.bd-bundesliga-table tbody tr:last-child td{
  border-bottom:0;
}
.bd-bundesliga-table tbody tr{
  transition:background .16s ease;
}
.bd-bundesliga-table tbody tr:hover{
  background:rgba(220,5,45,.055);
}
.bd-bundesliga-table tbody tr.is-bayern{
  background:linear-gradient(90deg,rgba(220,5,45,.16),rgba(228,189,69,.08));
  box-shadow:inset 4px 0 0 var(--bd-red);
}
.bd-table-club{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.bd-table-club img{
  width:27px;
  height:27px;
  object-fit:contain;
}
.bd-table-updated{
  display:block;
  margin-top:12px;
  color:var(--bd-muted,#686d78);
}
.bd-table-unavailable{
  padding:26px;
  border:1px solid var(--bd-border,#d9dce4);
  border-radius:20px;
  background:var(--bd-surface,#fff);
}
.bd-table-unavailable p{
  color:var(--bd-muted,#686d78);
}
.bd-fcb-identity-section .bd-club-feature-grid article{
  background:var(--bd-surface,#fff)!important;
  color:var(--bd-body-text,var(--bd-text))!important;
}
.bd-fcb-identity-section .bd-info-banner{
  background:linear-gradient(120deg,#111426,#4b0015)!important;
  color:#fff!important;
}

html.bd-dark .bd-fcb-page,
html.bd-dark .bd-fcb-facts-section,
html.bd-dark .bd-bundesliga-table-section,
html.bd-dark .bd-fcb-identity-section{
  background:#080914!important;
  color:#f4f5f8!important;
}
html.bd-dark .bd-bundesliga-table-section{
  background:#0b0d17!important;
}
html.bd-dark .bd-fcb-fact-grid article,
html.bd-dark .bd-fcb-source-row a,
html.bd-dark .bd-bundesliga-table-wrap,
html.bd-dark .bd-table-unavailable,
html.bd-dark .bd-fcb-identity-section .bd-club-feature-grid article{
  background:#131622!important;
  border-color:#2a2f3d!important;
  color:#f4f5f8!important;
}
html.bd-dark .bd-bundesliga-table thead{
  background:#070914!important;
}
html.bd-dark .bd-bundesliga-table tbody tr{
  background:#131622!important;
}
html.bd-dark .bd-bundesliga-table tbody tr:nth-child(even){
  background:#10131e!important;
}
html.bd-dark .bd-bundesliga-table tbody tr.is-bayern{
  background:linear-gradient(90deg,rgba(220,5,45,.22),rgba(228,189,69,.08))!important;
}
html.bd-dark .bd-bundesliga-table tbody tr:hover{
  background:#1a1e2b!important;
}

@media(max-width:980px){
  .bd-fcb-fact-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
  .bd-fcb-facts-section,
  .bd-bundesliga-table-section,
  .bd-fcb-identity-section{padding:55px 0}
  .bd-club-section-heading{align-items:flex-start;flex-direction:column}
  .bd-fcb-fact-grid{grid-template-columns:1fr}
  .bd-fcb-fact-grid article{padding:20px}
}


/* ==========================================================================
   FCBAYERN DAILY 2.0 – PART 1 FOUNDATION
   ========================================================================== */

:root{
  --bd-v2-bg:#f3f5f8;
  --bd-v2-surface:#ffffff;
  --bd-v2-surface-soft:#f8f9fb;
  --bd-v2-text:#111421;
  --bd-v2-muted:#687080;
  --bd-v2-border:#dfe3ea;
  --bd-v2-red:#dc052d;
  --bd-v2-red-dark:#a90022;
  --bd-v2-navy:#080a17;
  --bd-v2-gold:#e0b93d;
  --bd-v2-success:#20a467;
  --bd-v2-warning:#d98b18;
  --bd-v2-danger:#bd1738;

  --bd-v2-radius-sm:10px;
  --bd-v2-radius-md:16px;
  --bd-v2-radius-lg:22px;
  --bd-v2-shadow:0 14px 38px rgba(10,15,30,.09);
  --bd-v2-shadow-hover:0 22px 58px rgba(10,15,30,.15);
  --bd-v2-transition:220ms cubic-bezier(.2,.8,.2,1);
}

html.bd-dark{
  --bd-v2-bg:#080a13;
  --bd-v2-surface:#121521;
  --bd-v2-surface-soft:#0d101a;
  --bd-v2-text:#f5f6f9;
  --bd-v2-muted:#aab0bf;
  --bd-v2-border:#292f3d;
  --bd-v2-shadow:0 16px 46px rgba(0,0,0,.28);
  --bd-v2-shadow-hover:0 24px 64px rgba(0,0,0,.42);
}

body.bd-v2{
  background:var(--bd-v2-bg)!important;
  color:var(--bd-v2-text)!important;
}

body.bd-v2 main,
body.bd-v2 .section,
body.bd-v2 .section.light{
  color:var(--bd-v2-text);
}

body.bd-v2 .section.light,
body.bd-v2 .bd-unified-community-page,
body.bd-v2 .bd-account-page,
body.bd-v2 .bd-chat-page,
body.bd-v2 .bd-members-page,
body.bd-v2 .bd-moderation-dashboard{
  background:
    radial-gradient(circle at 10% 0%,rgba(220,5,45,.035),transparent 30%),
    var(--bd-v2-bg)!important;
}

body.bd-v2 .bd-container{
  width:min(1180px,calc(100% - 28px));
}

body.bd-v2 .site-header{
  background:color-mix(in srgb,var(--bd-v2-surface) 94%,transparent)!important;
  border-bottom:4px solid var(--bd-v2-red)!important;
  backdrop-filter:blur(16px);
}

body.bd-v2 .site-title{
  color:var(--bd-v2-text)!important;
}

body.bd-v2 .bd-header-action{
  background:var(--bd-v2-surface-soft)!important;
  border-color:var(--bd-v2-border)!important;
  color:var(--bd-v2-text)!important;
}

body.bd-v2 .main-nav{
  background:var(--bd-v2-surface)!important;
  border-color:var(--bd-v2-border)!important;
  box-shadow:var(--bd-v2-shadow-hover)!important;
}

body.bd-v2 .main-nav a{
  color:var(--bd-v2-text)!important;
}

body.bd-v2 .main-nav a:hover,
body.bd-v2 .main-nav a.is-current,
body.bd-v2 .main-nav .current-menu-item>a{
  background:var(--bd-v2-red)!important;
  color:#fff!important;
}

body.bd-v2 .bd-profile-hero,
body.bd-v2 .bd-profile-shortcut,
body.bd-v2 .bd-account-card,
body.bd-v2 .bd-unified-page-hero,
body.bd-v2 .bd-unified-content-card,
body.bd-v2 .bd-chat-layout,
body.bd-v2 .bd-news-card,
body.bd-v2 .bd-report-card,
body.bd-v2 .bd-admin-stat-grid>a,
body.bd-v2 .bd-moderation-overview>a,
body.bd-v2 .bd-social-grid>a,
body.bd-v2 .bd-club-feature-grid article,
body.bd-v2 .bd-fcb-fact-grid article,
body.bd-v2 .bd-bundesliga-table-wrap,
body.bd-v2 .card,
body.bd-v2 .ticket-box,
body.bd-v2 .faq details{
  background:var(--bd-v2-surface)!important;
  color:var(--bd-v2-text)!important;
  border:1px solid var(--bd-v2-border)!important;
  border-radius:var(--bd-v2-radius-lg)!important;
  box-shadow:var(--bd-v2-shadow)!important;
}

body.bd-v2 .bd-profile-shortcut:hover,
body.bd-v2 .bd-news-card:hover,
body.bd-v2 .bd-admin-stat-grid>a:hover,
body.bd-v2 .bd-moderation-overview>a:hover,
body.bd-v2 .bd-social-grid>a:hover,
body.bd-v2 .bd-club-feature-grid article:hover{
  transform:translateY(-4px);
  border-color:rgba(220,5,45,.5)!important;
  box-shadow:var(--bd-v2-shadow-hover)!important;
}

body.bd-v2 input,
body.bd-v2 textarea,
body.bd-v2 select,
body.bd-v2 input[type="file"]{
  background:var(--bd-v2-surface-soft)!important;
  color:var(--bd-v2-text)!important;
  border:1px solid var(--bd-v2-border)!important;
  border-radius:var(--bd-v2-radius-sm)!important;
}

body.bd-v2 input:focus,
body.bd-v2 textarea:focus,
body.bd-v2 select:focus{
  outline:none!important;
  border-color:var(--bd-v2-red)!important;
  box-shadow:0 0 0 3px rgba(220,5,45,.15)!important;
}

body.bd-v2 .button{
  border-radius:var(--bd-v2-radius-sm)!important;
  background:var(--bd-v2-red)!important;
  border-color:var(--bd-v2-red)!important;
  color:#fff!important;
  box-shadow:none!important;
}

body.bd-v2 .button:hover{
  background:var(--bd-v2-red-dark)!important;
  border-color:var(--bd-v2-red-dark)!important;
  color:#fff!important;
}

body.bd-v2 .button.secondary{
  background:var(--bd-v2-navy)!important;
  border-color:var(--bd-v2-navy)!important;
}

body.bd-v2 .eyebrow{
  color:var(--bd-v2-red);
}

body.bd-v2 .lead,
body.bd-v2 small,
body.bd-v2 .bd-muted{
  color:var(--bd-v2-muted);
}

body.bd-v2 .bd-form-message.success,
body.bd-v2 .bd-notice.success{
  background:rgba(32,164,103,.11)!important;
  color:color-mix(in srgb,var(--bd-v2-success) 80%,var(--bd-v2-text))!important;
  border-color:rgba(32,164,103,.34)!important;
}

body.bd-v2 .bd-form-message.error,
body.bd-v2 .bd-notice.error{
  background:rgba(189,23,56,.11)!important;
  color:color-mix(in srgb,var(--bd-v2-danger) 80%,var(--bd-v2-text))!important;
  border-color:rgba(189,23,56,.34)!important;
}

body.bd-v2 .bd-mobile-bottom-nav{
  background:rgba(8,10,23,.94)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 18px 50px rgba(0,0,0,.38)!important;
}

body.bd-v2 .bd-mobile-bottom-nav a.is-current{
  background:rgba(220,5,45,.22);
  color:#fff!important;
}

body.bd-v2 .site-footer{
  background:#070812!important;
  border-top:4px solid var(--bd-v2-red)!important;
}

/* Membership system intentionally removed in FCBAYERN DAILY 2.0. */
.bd-membership-page,
.bd-membership-checkout-settings{
  display:none!important;
}

@media(max-width:760px){
  body.bd-v2 .section{
    padding-block:48px;
  }

  body.bd-v2 .bd-profile-shortcut{
    min-height:auto!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.bd-v2 *,
  body.bd-v2 *::before,
  body.bd-v2 *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}


/* ==========================================================================
   FCBAYERN DAILY 2.0 – PART 2: LAYOUT, HEADER, FOOTER, HOME
   ========================================================================== */

.bd-skip-link{
  position:fixed;
  left:12px;
  top:-80px;
  z-index:9999;
  padding:10px 14px;
  border-radius:10px;
  background:var(--bd-v2-red);
  color:#fff;
  font-weight:900;
}
.bd-skip-link:focus{top:12px}

.bd-v2-header{
  position:sticky;
  top:0;
  z-index:1800;
}
.bd-v2-header-inner{
  min-height:76px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:28px;
  align-items:center;
}
.bd-v2-brand-mark{
  width:52px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:12px;
  background:var(--bd-v2-red);
  color:#fff;
  font-size:18px;
  font-style:italic;
}
.bd-v2-brand-mark .site-logo{
  width:100%;
  height:100%;
  object-fit:contain;
}
.bd-v2-brand-copy strong,
.bd-v2-brand-copy small{display:block}
.bd-v2-brand-copy strong{font-size:19px;letter-spacing:-.6px}
.bd-v2-brand-copy small{margin-top:2px;color:var(--bd-v2-muted);font-size:10px}
.bd-v2-main-nav{
  position:static;
  display:flex;
  justify-content:center;
  gap:3px;
  width:auto;
  padding:0;
  border:0;
  box-shadow:none!important;
  background:transparent!important;
}
.bd-v2-main-nav a{
  padding:10px 12px;
  border-radius:10px;
  text-decoration:none;
  font-size:13px;
  font-weight:850;
}
.bd-v2-header-actions{
  display:flex;
  align-items:center;
  gap:7px;
}
.bd-v2-header-actions .bd-header-action{
  width:43px;
  height:43px;
  flex:0 0 43px;
}
.bd-v2-header-actions svg{
  width:21px;
  height:21px;
  fill:currentColor;
}
.bd-v2-header-actions .menu-toggle{
  display:none;
  background:var(--bd-v2-red)!important;
  color:#fff!important;
  font-size:22px;
}

.bd-v2-ticker{
  position:relative;
  z-index:1600;
}

.bd-v2-page-shell{
  padding:20px 0 10px;
  background:var(--bd-v2-bg);
}
.bd-v2-back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  border:1px solid var(--bd-v2-border);
  border-radius:999px;
  background:var(--bd-v2-surface);
  color:var(--bd-v2-text);
  font:inherit;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
}
.bd-v2-back-link span:first-child{color:var(--bd-v2-red)}
.bd-v2-page-heading{
  margin-top:17px;
  padding:24px 27px;
  border:1px solid var(--bd-v2-border);
  border-radius:var(--bd-v2-radius-lg);
  background:
    radial-gradient(circle at 90% 20%,rgba(220,5,45,.08),transparent 30%),
    var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-page-heading h1{
  margin:5px 0 8px;
  font-size:clamp(34px,5vw,56px);
}
.bd-v2-page-heading>p:last-child{
  margin:0;
  color:var(--bd-v2-muted);
  line-height:1.6;
}

/* Home dashboard */
.bd-v2-home{background:var(--bd-v2-bg)}
.bd-v2-home-hero{
  padding:86px 0;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 82% 18%,rgba(255,255,255,.11),transparent 28%),
    radial-gradient(circle at 15% 10%,rgba(220,5,45,.28),transparent 32%),
    linear-gradient(125deg,#080916,#3e0013 62%,#dc052d);
}
.bd-v2-home-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
  gap:55px;
  align-items:center;
}
.bd-v2-home-hero h1{
  margin:12px 0 20px;
  font-size:clamp(52px,8vw,90px);
  line-height:.95;
  letter-spacing:-4px;
}
.bd-v2-home-hero h1 span{color:#ff3157}
.bd-v2-home-hero p{
  max-width:730px;
  color:#d7d9e2;
  font-size:18px;
  line-height:1.7;
}
.bd-v2-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.bd-v2-home-panel{
  padding:25px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:24px;
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(14px);
  box-shadow:0 25px 75px rgba(0,0,0,.33);
}
.bd-v2-home-panel-label{
  display:block;
  margin-bottom:18px;
  color:#ffb5c2;
  font-size:11px;
  font-weight:950;
  letter-spacing:2px;
}
.bd-v2-home-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px;
}
.bd-v2-home-stats>div{
  padding:15px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;
  background:rgba(0,0,0,.15);
}
.bd-v2-home-stats strong,
.bd-v2-home-stats small{display:block}
.bd-v2-home-stats strong{font-size:29px}
.bd-v2-home-stats small{margin-top:5px;color:#bec1cc}

.bd-v2-home-section{padding:75px 0;background:var(--bd-v2-bg)}
.bd-v2-home-section.is-soft{background:var(--bd-v2-surface-soft)}
.bd-v2-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  margin-bottom:27px;
}
.bd-v2-section-heading h2{
  margin:5px 0 7px;
  font-size:clamp(34px,5vw,54px);
}
.bd-v2-section-heading p{margin:0;color:var(--bd-v2-muted)}
.bd-v2-section-heading>a{
  flex:0 0 auto;
  color:var(--bd-v2-red);
  text-decoration:none;
  font-weight:900;
}
.bd-v2-news-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.bd-v2-news-card{
  overflow:hidden;
  border:1px solid var(--bd-v2-border);
  border-radius:var(--bd-v2-radius-lg);
  background:var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-news-image{
  height:205px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:linear-gradient(135deg,#090a18,#dc052d);
  color:#fff;
  text-decoration:none;
  font-size:30px;
  font-weight:950;
}
.bd-v2-news-image img{width:100%;height:100%;object-fit:cover}
.bd-v2-news-card>div{padding:19px}
.bd-v2-news-card small{color:var(--bd-v2-muted)}
.bd-v2-news-card h3{margin:8px 0 10px;font-size:22px}
.bd-v2-news-card h3 a{text-decoration:none}
.bd-v2-news-card p{color:var(--bd-v2-muted);line-height:1.55}
.bd-v2-news-card>div>a{color:var(--bd-v2-red);font-weight:900;text-decoration:none}

.bd-v2-action-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.bd-v2-action-grid>a{
  display:grid;
  grid-template-columns:48px 1fr auto;
  gap:9px 12px;
  align-items:center;
  padding:20px;
  border:1px solid var(--bd-v2-border);
  border-radius:18px;
  background:var(--bd-v2-surface);
  color:var(--bd-v2-text);
  text-decoration:none;
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-action-grid>a>span{
  grid-row:1/3;
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:13px;
  background:rgba(220,5,45,.1);
  color:var(--bd-v2-red);
  font-weight:950;
}
.bd-v2-action-grid strong{font-size:18px}
.bd-v2-action-grid small{color:var(--bd-v2-muted)}
.bd-v2-action-grid b{grid-column:3;grid-row:1/3;color:var(--bd-v2-red)}

.bd-v2-home-cta{
  padding:64px 0;
  color:#fff;
  background:linear-gradient(120deg,#101321,#520016);
}
.bd-v2-home-cta>.bd-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.bd-v2-home-cta h2{margin:5px 0 10px;font-size:clamp(30px,5vw,48px)}
.bd-v2-home-cta p{max-width:760px;margin:0;color:#cfd1da;line-height:1.65}

/* Footer */
.bd-v2-footer{
  padding:58px 0 90px!important;
  text-align:left!important;
}
.bd-v2-footer-grid{
  display:grid;
  grid-template-columns:1.5fr .8fr .8fr .8fr;
  gap:36px;
}
.bd-v2-footer-grid h2{
  margin:0 0 14px;
  font-size:13px;
  letter-spacing:1.6px;
  text-transform:uppercase;
}
.bd-v2-footer-grid nav{display:grid;align-content:start;gap:9px}
.bd-v2-footer-grid nav a{
  color:#c4c7d1;
  text-decoration:none;
}
.bd-v2-footer-grid nav a:hover{color:#fff}
.bd-v2-footer-grid section>p{max-width:430px;color:#b9bdc9;line-height:1.65}
.bd-v2-footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.bd-v2-footer-brand>span{
  width:48px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:var(--bd-v2-red);
  font-weight:950;
  font-style:italic;
}
.bd-v2-footer-brand strong,
.bd-v2-footer-brand small{display:block}
.bd-v2-footer-brand small{margin-top:3px;color:#aeb2c0;font-size:10px}
.bd-v2-social-links{display:flex;flex-wrap:wrap;gap:8px}
.bd-v2-social-links a{
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:999px;
  color:#fff;
  text-decoration:none;
}
.bd-v2-recruitment{
  display:grid;
  grid-template-columns:12px auto 1fr auto;
  gap:12px;
  align-items:center;
  margin-top:34px;
  padding:15px 18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:15px;
  background:rgba(255,255,255,.04);
  color:#fff;
  text-decoration:none;
}
.bd-v2-recruitment>span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#30d681;
  box-shadow:0 0 14px rgba(48,214,129,.5);
}
.bd-v2-recruitment small{color:#b9bdc9}
.bd-v2-recruitment b{color:#ff4c6b}
.bd-v2-footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.1);
  color:#9499aa;
  font-size:12px;
}

@media(max-width:980px){
  .bd-v2-main-nav{display:none}
  .bd-v2-main-nav.is-open{
    position:absolute;
    top:70px;
    right:14px;
    display:grid;
    width:min(330px,calc(100vw - 28px));
    padding:10px;
    border:1px solid var(--bd-v2-border);
    border-radius:16px;
    background:var(--bd-v2-surface)!important;
  }
  .bd-v2-header-actions .menu-toggle{display:inline-flex}
  .bd-v2-home-hero-grid{grid-template-columns:1fr}
  .bd-v2-home-panel{max-width:620px}
  .bd-v2-news-grid{grid-template-columns:repeat(2,1fr)}
  .bd-v2-action-grid{grid-template-columns:repeat(2,1fr)}
  .bd-v2-footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
  .bd-v2-header-inner{grid-template-columns:1fr auto;gap:10px}
  .bd-v2-brand-copy small{display:none}
  .bd-v2-brand-copy strong{font-size:16px}
  .bd-v2-home-hero{padding:62px 0}
  .bd-v2-home-hero h1{letter-spacing:-2.5px}
  .bd-v2-home-stats{grid-template-columns:1fr 1fr}
  .bd-v2-news-grid,
  .bd-v2-action-grid,
  .bd-v2-footer-grid{grid-template-columns:1fr}
  .bd-v2-section-heading,
  .bd-v2-home-cta>.bd-container{align-items:flex-start;flex-direction:column}
  .bd-v2-recruitment{grid-template-columns:12px 1fr}.bd-v2-recruitment small{grid-column:2}.bd-v2-recruitment b{grid-column:2}
  .bd-v2-footer-bottom{flex-direction:column}
  .bd-v2-page-heading{padding:20px}
}


/* ==========================================================================
   FCBAYERN DAILY 2.0 – PART 3: COMMUNITY & PROFILES
   ========================================================================== */

.bd-v2-community-page{
  min-height:70vh;
  padding:28px 0 76px;
  background:var(--bd-v2-bg);
}
.bd-v2-community-section{margin-top:34px}

.bd-v2-profile-hero{
  position:relative;
  overflow:hidden;
  border:1px solid var(--bd-v2-border);
  border-radius:26px;
  background:var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-profile-banner{
  position:relative;
  height:190px;
  overflow:hidden;
  background:#3f0013;
}
.bd-v2-profile-banner::before,
.bd-v2-profile-banner::after{
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(5px);
}
.bd-v2-profile-banner::before{width:280px;height:280px;right:-80px;top:-110px;background:rgba(255,255,255,.12)}
.bd-v2-profile-banner::after{width:220px;height:220px;left:-70px;bottom:-140px;background:rgba(220,5,45,.28)}
.bd-v2-profile-banner>span,
.bd-v2-profile-banner>i{
  position:absolute;
  right:25px;
  bottom:18px;
  color:rgba(255,255,255,.55);
  font-size:12px;
  font-weight:950;
  font-style:normal;
  letter-spacing:3px;
}
.bd-v2-banner-red-night{background:linear-gradient(125deg,#080916,#560018 60%,#dc052d)}
.bd-v2-banner-arena{background:radial-gradient(circle at 70% 45%,rgba(255,255,255,.19),transparent 24%),linear-gradient(125deg,#060817,#001f49 54%,#dc052d)}
.bd-v2-banner-munich{background:linear-gradient(135deg,#1b2437,#52677d 48%,#b20a31)}
.bd-v2-banner-gold{background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.24),transparent 30%),linear-gradient(135deg,#171006,#735516,#d7ae35)}
.bd-v2-banner-navy{background:linear-gradient(135deg,#040714,#111a35 58%,#223b77)}

.bd-v2-profile-hero-content{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:22px;
  align-items:end;
  margin-top:-62px;
  padding:0 28px 28px;
  position:relative;
  z-index:2;
}
.bd-v2-avatar-shell{position:relative}
.bd-v2-avatar-shell img{
  width:142px;
  height:142px;
  display:block;
  object-fit:cover;
  border:6px solid var(--bd-v2-surface);
  border-radius:50%;
  box-shadow:0 12px 35px rgba(0,0,0,.22);
}
.bd-v2-avatar-shell>span,
.bd-v2-member-avatar>span{
  position:absolute;
  right:7px;
  bottom:10px;
  width:20px;
  height:20px;
  border:4px solid var(--bd-v2-surface);
  border-radius:50%;
  background:#7c8291;
}
.bd-v2-avatar-shell>span.is-online,
.bd-v2-member-avatar>span.is-online{background:var(--bd-v2-success);box-shadow:0 0 16px rgba(32,164,103,.5)}
.bd-v2-profile-identity{padding-bottom:7px}
.bd-v2-profile-name-line{display:flex;align-items:center;gap:10px}
.bd-v2-profile-name-line h1{margin:0;font-size:clamp(31px,5vw,48px)}
.bd-v2-verified{
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#1888ef;
  color:#fff;
  font-size:14px;
  font-weight:950;
}
.bd-v2-profile-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.bd-v2-online-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border:1px solid var(--bd-v2-border);
  border-radius:999px;
  color:var(--bd-v2-muted);
  font-size:12px;
  font-weight:850;
}
.bd-v2-online-pill i{width:8px;height:8px;border-radius:50%;background:#7c8291}
.bd-v2-online-pill.is-online{border-color:rgba(32,164,103,.35);color:var(--bd-v2-success)}
.bd-v2-online-pill.is-online i{background:var(--bd-v2-success)}
.bd-v2-profile-identity>p{margin:10px 0 0;color:var(--bd-v2-muted)}

.bd-v2-account-overview,
.bd-v2-public-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:18px;
}
.bd-v2-account-overview article,
.bd-v2-public-stats article{
  padding:20px;
  border:1px solid var(--bd-v2-border);
  border-radius:18px;
  background:var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-account-overview span,
.bd-v2-public-stats strong{display:block;font-size:29px;font-weight:950}
.bd-v2-account-overview strong{display:block;margin-top:4px}
.bd-v2-account-overview small,
.bd-v2-public-stats small{display:block;margin-top:5px;color:var(--bd-v2-muted)}

.bd-v2-account-action-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.bd-v2-account-action-grid>a{
  display:grid;
  grid-template-columns:58px 1fr auto;
  gap:13px;
  align-items:center;
  padding:19px;
  border:1px solid var(--bd-v2-border);
  border-radius:18px;
  background:var(--bd-v2-surface);
  color:var(--bd-v2-text);
  text-decoration:none;
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-action-icon{
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:15px;
  background:rgba(220,5,45,.1);
  color:var(--bd-v2-red);
}
.bd-v2-action-icon svg{width:27px;height:27px;fill:currentColor}
.bd-v2-account-action-grid strong,.bd-v2-account-action-grid small{display:block}
.bd-v2-account-action-grid strong{font-size:19px}
.bd-v2-account-action-grid small{margin-top:6px;color:var(--bd-v2-muted);line-height:1.45}
.bd-v2-account-action-grid b{color:var(--bd-v2-red);font-size:22px}

.bd-v2-account-data-card{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:end;
  padding:24px;
  border:1px solid var(--bd-v2-border);
  border-radius:20px;
  background:var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-account-data-card dl{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0;
  margin:0;
}
.bd-v2-account-data-card dl>div{padding:14px;border-bottom:1px solid var(--bd-v2-border)}
.bd-v2-account-data-card dt{color:var(--bd-v2-muted);font-size:12px}
.bd-v2-account-data-card dd{margin:5px 0 0;font-weight:850}

.bd-v2-settings-hub,
.bd-v2-setting-card,
.bd-v2-directory-toolbar{
  padding:26px;
  border:1px solid var(--bd-v2-border);
  border-radius:22px;
  background:var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.bd-v2-settings-grid>a{
  display:grid;
  grid-template-columns:54px 1fr auto;
  gap:12px;
  align-items:center;
  padding:16px;
  border:1px solid var(--bd-v2-border);
  border-radius:15px;
  background:var(--bd-v2-surface-soft);
  color:var(--bd-v2-text);
  text-decoration:none;
}
.bd-v2-settings-grid>a>span{
  width:54px;height:54px;display:flex;align-items:center;justify-content:center;
  border-radius:14px;background:rgba(220,5,45,.1);color:var(--bd-v2-red)
}
.bd-v2-settings-grid svg{width:25px;height:25px;fill:currentColor}
.bd-v2-settings-grid strong,.bd-v2-settings-grid small{display:block}
.bd-v2-settings-grid small{margin-top:5px;color:var(--bd-v2-muted)}
.bd-v2-settings-grid b{color:var(--bd-v2-red)}
.bd-v2-settings-grid>a.is-danger{border-color:rgba(189,23,56,.3)}
.bd-v2-settings-grid>a.is-danger strong{color:var(--bd-v2-danger)}

.bd-v2-setting-page .bd-container{max-width:880px}
.bd-v2-setting-heading{display:grid;grid-template-columns:60px 1fr;gap:15px;align-items:center;margin-bottom:22px}
.bd-v2-setting-heading>span{width:60px;height:60px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:rgba(220,5,45,.1);color:var(--bd-v2-red)}
.bd-v2-setting-heading svg{width:28px;height:28px;fill:currentColor}
.bd-v2-setting-heading h2{margin:4px 0 7px;font-size:35px}
.bd-v2-setting-heading p:last-child{margin:0;color:var(--bd-v2-muted)}
.bd-v2-setting-form{display:grid;gap:11px}
.bd-v2-setting-form>label{margin-top:6px;font-weight:900}
.bd-v2-setting-form input,.bd-v2-setting-form select{width:100%;padding:13px 14px}
.bd-v2-banner-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.bd-v2-banner-picker label{
  padding:10px;border:1px solid var(--bd-v2-border);border-radius:16px;background:var(--bd-v2-surface-soft);cursor:pointer
}
.bd-v2-banner-picker input{position:absolute;opacity:0}
.bd-v2-banner-picker label:has(input:checked){border-color:var(--bd-v2-gold);box-shadow:0 0 0 2px rgba(224,185,61,.15)}
.bd-v2-banner-picker .bd-v2-profile-banner{height:120px;border-radius:12px}
.bd-v2-banner-picker strong{display:block;padding:10px 3px 3px}

.bd-v2-public-profile-actions{display:flex;flex-wrap:wrap;gap:8px}
.bd-v2-like-button.is-liked{background:#a00024!important}
.bd-v2-like-button span{margin-right:7px}
.bd-v2-public-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.bd-v2-public-info-grid article{
  display:grid;grid-template-columns:52px 1fr;gap:12px;padding:19px;border:1px solid var(--bd-v2-border);
  border-radius:17px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)
}
.bd-v2-public-info-grid article>span{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:rgba(220,5,45,.1);color:var(--bd-v2-red)}
.bd-v2-public-info-grid svg{width:25px;height:25px;fill:currentColor}
.bd-v2-public-info-grid p{margin:6px 0 0;color:var(--bd-v2-muted);line-height:1.5}

.bd-v2-directory-toolbar{display:grid;gap:20px;margin-bottom:20px}
.bd-v2-directory-toolbar h2{margin:5px 0 0;font-size:35px}
.bd-v2-member-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;align-items:end}
.bd-v2-member-filters label>span{display:block;margin-bottom:7px;font-size:12px;font-weight:850;color:var(--bd-v2-muted)}
.bd-v2-member-filters input,.bd-v2-member-filters select{width:100%;padding:12px}
.bd-v2-member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.bd-v2-member-card{overflow:hidden;border:1px solid var(--bd-v2-border);border-radius:20px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)}
.bd-v2-profile-banner.is-card{height:105px}
.bd-v2-member-card-body{padding:0 18px 18px;text-align:center}
.bd-v2-member-avatar{position:relative;width:88px;margin:-44px auto 0}
.bd-v2-member-avatar img{width:88px;height:88px;object-fit:cover;border:5px solid var(--bd-v2-surface);border-radius:50%}
.bd-v2-member-avatar>span{right:2px;bottom:5px;width:17px;height:17px;border-width:3px}
.bd-v2-member-name{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:10px}
.bd-v2-member-name h3{margin:0;font-size:21px}
.bd-v2-member-name .bd-v2-verified{width:20px;height:20px;font-size:11px}
.bd-v2-member-card .bd-role-badge{margin-top:9px}
.bd-v2-member-card p{min-height:38px;color:var(--bd-v2-muted);font-size:13px}
.bd-v2-member-meta{display:flex;justify-content:center;gap:8px;margin-bottom:14px}
.bd-v2-member-meta span{padding:6px 9px;border:1px solid var(--bd-v2-border);border-radius:999px;font-size:11px}
.bd-v2-member-card .button{width:100%}

.bd-v2-empty-state{
  padding:48px 24px;border:1px dashed var(--bd-v2-border);border-radius:20px;background:var(--bd-v2-surface);
  text-align:center;box-shadow:var(--bd-v2-shadow)
}
.bd-v2-empty-state p{color:var(--bd-v2-muted)}

@media(max-width:960px){
  .bd-v2-member-grid{grid-template-columns:repeat(2,1fr)}
  .bd-v2-member-filters{grid-template-columns:1fr 1fr}
  .bd-v2-member-filters button{width:100%}
}
@media(max-width:720px){
  .bd-v2-profile-banner{height:145px}
  .bd-v2-profile-hero-content{grid-template-columns:1fr;margin-top:-52px;padding:0 18px 22px;text-align:center}
  .bd-v2-avatar-shell{justify-self:center}
  .bd-v2-avatar-shell img{width:116px;height:116px}
  .bd-v2-profile-name-line,.bd-v2-profile-badges{justify-content:center}
  .bd-v2-profile-hero-content>.button,.bd-v2-public-profile-actions{justify-self:center}
  .bd-v2-account-overview,.bd-v2-public-stats{grid-template-columns:repeat(2,1fr)}
  .bd-v2-account-action-grid,.bd-v2-settings-grid,.bd-v2-public-info-grid,.bd-v2-banner-picker{grid-template-columns:1fr}
  .bd-v2-account-data-card{grid-template-columns:1fr}
  .bd-v2-account-data-card dl{grid-template-columns:1fr}
  .bd-v2-member-grid{grid-template-columns:1fr}
  .bd-v2-member-filters{grid-template-columns:1fr}
}


/* ==========================================================================
   FCBAYERN DAILY 2.0 – PART 4: CHATS & INBOX
   ========================================================================== */

.bd-v2-messenger{
  display:grid;
  grid-template-columns:340px minmax(0,1fr);
  min-height:690px;
  overflow:hidden;
  border:1px solid var(--bd-v2-border);
  border-radius:24px;
  background:var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-conversation-sidebar{
  min-width:0;
  border-right:1px solid var(--bd-v2-border);
  background:var(--bd-v2-surface);
}
.bd-v2-conversation-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:19px;
  border-bottom:1px solid var(--bd-v2-border);
}
.bd-v2-conversation-heading h2{margin:3px 0 0;font-size:29px}
.bd-v2-conversation-heading>a{
  width:42px;height:42px;display:flex;align-items:center;justify-content:center;
  border-radius:12px;background:var(--bd-v2-red);color:#fff;text-decoration:none;font-size:25px
}
.bd-v2-chat-search{
  position:relative;
  padding:13px;
  border-bottom:1px solid var(--bd-v2-border);
}
.bd-v2-chat-search svg{
  position:absolute;left:25px;top:50%;width:19px;height:19px;transform:translateY(-50%);fill:var(--bd-v2-muted)
}
.bd-v2-chat-search input{width:100%;padding:11px 12px 11px 40px!important}
.bd-v2-conversation-list{max-height:605px;overflow:auto}
.bd-v2-conversation-item{
  display:grid;
  grid-template-columns:54px minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
  padding:13px 14px;
  border-bottom:1px solid var(--bd-v2-border);
  color:var(--bd-v2-text);
  text-decoration:none;
}
.bd-v2-conversation-item:hover,
.bd-v2-conversation-item.is-active{background:rgba(220,5,45,.075)}
.bd-v2-chat-avatar{position:relative;display:inline-flex}
.bd-v2-chat-avatar img{width:54px;height:54px;object-fit:cover;border-radius:50%}
.bd-v2-chat-avatar i{
  position:absolute;right:0;bottom:1px;width:14px;height:14px;border:3px solid var(--bd-v2-surface);
  border-radius:50%;background:#7d8392
}
.bd-v2-chat-avatar i.is-online{background:var(--bd-v2-success);box-shadow:0 0 10px rgba(32,164,103,.5)}
.bd-v2-conversation-copy{min-width:0}
.bd-v2-conversation-copy strong,.bd-v2-conversation-copy small{display:block}
.bd-v2-conversation-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bd-v2-conversation-copy small{
  margin-top:5px;color:var(--bd-v2-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.bd-v2-conversation-side{display:grid;justify-items:end;gap:7px}
.bd-v2-conversation-side time{color:var(--bd-v2-muted);font-size:10px}
.bd-v2-conversation-side b{
  min-width:20px;height:20px;padding:0 5px;display:flex;align-items:center;justify-content:center;
  border-radius:999px;background:var(--bd-v2-red);color:#fff;font-size:10px
}

.bd-v2-chat-room{
  min-width:0;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  background:
    radial-gradient(circle at 85% 15%,rgba(220,5,45,.035),transparent 28%),
    var(--bd-v2-surface-soft);
}
.bd-v2-chat-room-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:76px;
  padding:11px 17px;
  border-bottom:1px solid var(--bd-v2-border);
  background:var(--bd-v2-surface);
}
.bd-v2-chat-room-header>a:not(.bd-v2-mobile-chat-back){
  display:flex;align-items:center;gap:11px;color:var(--bd-v2-text);text-decoration:none
}
.bd-v2-chat-room-header .bd-v2-chat-avatar img{width:49px;height:49px}
.bd-v2-chat-room-header strong,.bd-v2-chat-room-header small{display:block}
.bd-v2-chat-room-header small{margin-top:4px;color:var(--bd-v2-muted)}
.bd-v2-chat-profile-meta{display:flex;align-items:center;gap:8px}
.bd-v2-chat-profile-meta>span{
  padding:7px 9px;border:1px solid var(--bd-v2-border);border-radius:999px;color:var(--bd-v2-muted);font-size:11px
}
.bd-v2-mobile-chat-back{display:none}

.bd-v2-chat-messages{
  height:535px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:22px;
  scroll-behavior:smooth;
}
.bd-v2-chat-day{display:flex;justify-content:center;margin:4px 0 12px}
.bd-v2-chat-day span,.bd-v2-chat-start-note{
  padding:7px 11px;border:1px solid var(--bd-v2-border);border-radius:999px;
  background:var(--bd-v2-surface);color:var(--bd-v2-muted);font-size:11px
}
.bd-v2-chat-start-note{align-self:center;margin:auto}
.bd-v2-chat-bubble{
  max-width:min(74%,640px);
  align-self:flex-start;
  padding:10px 13px 7px;
  border:1px solid var(--bd-v2-border);
  border-radius:17px 17px 17px 5px;
  background:var(--bd-v2-surface);
  box-shadow:0 5px 14px rgba(0,0,0,.045);
  animation:bdV2BubbleIn .22s ease both;
}
.bd-v2-chat-bubble.is-mine{
  align-self:flex-end;
  border-color:rgba(220,5,45,.28);
  border-radius:17px 17px 5px 17px;
  background:linear-gradient(135deg,rgba(220,5,45,.16),rgba(220,5,45,.09));
}
.bd-v2-chat-bubble p{margin:0;line-height:1.52;word-break:break-word}
.bd-v2-chat-bubble footer{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-top:5px}
.bd-v2-chat-bubble time,.bd-v2-chat-bubble footer span{color:var(--bd-v2-muted);font-size:9px}
.bd-v2-chat-bubble.is-mine footer span{color:var(--bd-v2-red)}
@keyframes bdV2BubbleIn{from{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:none}}

.bd-v2-chat-composer{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:8px;
  align-items:end;
  padding:12px;
  border-top:1px solid var(--bd-v2-border);
  background:var(--bd-v2-surface);
}
.bd-v2-chat-composer textarea{
  max-height:130px;
  min-height:46px;
  resize:none;
  padding:12px 13px!important;
  line-height:1.45;
}
.bd-v2-emoji-button,.bd-v2-send-button{
  width:46px;height:46px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--bd-v2-border);border-radius:13px;background:var(--bd-v2-surface-soft);
  color:var(--bd-v2-text);cursor:pointer;font-size:21px
}
.bd-v2-send-button{background:var(--bd-v2-red);border-color:var(--bd-v2-red);color:#fff}
.bd-v2-send-button svg{width:22px;height:22px;fill:currentColor}
.bd-v2-emoji-menu{
  position:absolute;left:12px;bottom:70px;z-index:20;display:grid;grid-template-columns:repeat(5,38px);gap:4px;
  padding:8px;border:1px solid var(--bd-v2-border);border-radius:14px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)
}
.bd-v2-emoji-menu[hidden]{display:none}
.bd-v2-emoji-menu button{width:38px;height:38px;border:0;border-radius:9px;background:transparent;cursor:pointer;font-size:20px}
.bd-v2-emoji-menu button:hover{background:var(--bd-v2-surface-soft)}

.bd-v2-chat-placeholder,.bd-v2-chat-empty{
  display:grid;place-items:center;align-content:center;gap:9px;padding:35px;text-align:center;color:var(--bd-v2-muted)
}
.bd-v2-chat-placeholder{min-height:650px}
.bd-v2-chat-placeholder>span,.bd-v2-chat-empty>span{
  width:66px;height:66px;display:flex;align-items:center;justify-content:center;
  border-radius:19px;background:rgba(220,5,45,.1);color:var(--bd-v2-red)
}
.bd-v2-chat-placeholder svg,.bd-v2-chat-empty svg{width:31px;height:31px;fill:currentColor}
.bd-v2-chat-placeholder h2,.bd-v2-chat-empty h3{margin:5px 0 0;color:var(--bd-v2-text)}
.bd-v2-chat-placeholder p,.bd-v2-chat-empty p{max-width:430px;margin:0;line-height:1.55}

/* Inbox */
.bd-v2-inbox-toolbar{
  display:flex;align-items:flex-end;justify-content:space-between;gap:22px;
  padding:25px;border:1px solid var(--bd-v2-border);border-radius:22px;
  background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)
}
.bd-v2-inbox-toolbar h2{margin:4px 0 7px;font-size:40px}
.bd-v2-inbox-toolbar p:last-child{margin:0;color:var(--bd-v2-muted)}
.bd-v2-inbox-actions{display:flex;flex-wrap:wrap;gap:8px}
.bd-v2-inbox-filters{
  display:flex;gap:7px;overflow:auto;margin:16px 0;padding:7px;border:1px solid var(--bd-v2-border);
  border-radius:16px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)
}
.bd-v2-inbox-filters a{
  flex:0 0 auto;display:flex;align-items:center;gap:7px;padding:9px 11px;border-radius:11px;
  color:var(--bd-v2-muted);text-decoration:none;font-size:12px;font-weight:850
}
.bd-v2-inbox-filters a b{
  min-width:21px;height:21px;padding:0 5px;display:flex;align-items:center;justify-content:center;
  border-radius:999px;background:var(--bd-v2-surface-soft);font-size:9px
}
.bd-v2-inbox-filters a.is-active{background:var(--bd-v2-red);color:#fff}
.bd-v2-inbox-filters a.is-active b{background:rgba(255,255,255,.18)}
.bd-v2-inbox-list{display:grid;gap:9px}
.bd-v2-inbox-item{
  display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:14px;align-items:center;
  padding:15px 16px;border:1px solid var(--bd-v2-border);border-radius:16px;
  background:var(--bd-v2-surface);box-shadow:0 8px 24px rgba(0,0,0,.055)
}
.bd-v2-inbox-item.is-unread{
  border-color:rgba(220,5,45,.32);
  background:linear-gradient(90deg,rgba(220,5,45,.08),var(--bd-v2-surface) 44%);
  box-shadow:inset 4px 0 0 var(--bd-v2-red),0 8px 24px rgba(0,0,0,.055)
}
.bd-v2-inbox-icon{
  width:54px;height:54px;display:flex;align-items:center;justify-content:center;border-radius:15px;
  background:rgba(220,5,45,.1);color:var(--bd-v2-red)
}
.bd-v2-inbox-icon svg{width:26px;height:26px;fill:currentColor}
.bd-v2-inbox-icon.is-support{background:rgba(27,126,220,.12);color:#1b7edc}
.bd-v2-inbox-icon.is-moderation{background:rgba(218,139,24,.13);color:#d98b18}
.bd-v2-inbox-icon.is-points,.bd-v2-inbox-icon.is-achievements{background:rgba(224,185,61,.14);color:#c49711}
.bd-v2-inbox-icon.is-system{background:rgba(105,112,130,.13);color:var(--bd-v2-muted)}
.bd-v2-inbox-copy{min-width:0}
.bd-v2-inbox-meta{display:flex;align-items:center;gap:7px;margin-bottom:5px}
.bd-v2-inbox-meta span{color:var(--bd-v2-muted);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:1px}
.bd-v2-inbox-meta b{padding:3px 6px;border-radius:999px;background:var(--bd-v2-red);color:#fff;font-size:8px}
.bd-v2-inbox-copy>strong{display:block;line-height:1.45}
.bd-v2-inbox-copy>small{display:block;margin-top:6px;color:var(--bd-v2-muted)}
.bd-v2-inbox-item-actions{display:flex;align-items:center;gap:6px}
.bd-v2-inbox-item-actions a,.bd-v2-inbox-item-actions button{
  width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid var(--bd-v2-border);
  border-radius:10px;background:var(--bd-v2-surface-soft);color:var(--bd-v2-text);text-decoration:none;cursor:pointer;font-size:19px
}
.bd-v2-inbox-item-actions a:hover{background:var(--bd-v2-red);border-color:var(--bd-v2-red);color:#fff}
.bd-v2-inbox-item-actions button:hover{background:rgba(189,23,56,.12);border-color:rgba(189,23,56,.35);color:var(--bd-v2-danger)}
.bd-v2-inbox-empty{
  display:grid;place-items:center;gap:9px;padding:55px 25px;border:1px dashed var(--bd-v2-border);
  border-radius:20px;background:var(--bd-v2-surface);text-align:center
}
.bd-v2-inbox-empty>span{
  width:70px;height:70px;display:flex;align-items:center;justify-content:center;border-radius:20px;
  background:rgba(220,5,45,.1);color:var(--bd-v2-red)
}
.bd-v2-inbox-empty svg{width:32px;height:32px;fill:currentColor}
.bd-v2-inbox-empty h2{margin:4px 0 0}
.bd-v2-inbox-empty p{margin:0;color:var(--bd-v2-muted)}

html.bd-dark .bd-v2-chat-bubble.is-mine{
  background:linear-gradient(135deg,rgba(220,5,45,.25),rgba(220,5,45,.13));
}
html.bd-dark .bd-v2-inbox-item.is-unread{
  background:linear-gradient(90deg,rgba(220,5,45,.16),var(--bd-v2-surface) 50%);
}

@media(max-width:860px){
  .bd-v2-messenger{grid-template-columns:290px minmax(0,1fr)}
  .bd-v2-chat-profile-meta{display:none}
}
@media(max-width:680px){
  .bd-v2-messenger{display:block;min-height:620px}
  .bd-v2-conversation-sidebar.has-selection{display:none}
  .bd-v2-chat-room:not(.is-open){display:none}
  .bd-v2-chat-room.is-open{display:grid;min-height:620px}
  .bd-v2-mobile-chat-back{display:flex!important;width:38px;height:38px;align-items:center;justify-content:center;border-radius:10px;background:var(--bd-v2-surface-soft);text-decoration:none}
  .bd-v2-chat-room-header{justify-content:flex-start}
  .bd-v2-chat-room-header>a:not(.bd-v2-mobile-chat-back){min-width:0}
  .bd-v2-chat-messages{height:455px;padding:14px}
  .bd-v2-chat-bubble{max-width:88%}
  .bd-v2-conversation-list{max-height:590px}
  .bd-v2-inbox-toolbar{align-items:flex-start;flex-direction:column}
  .bd-v2-inbox-item{grid-template-columns:48px minmax(0,1fr);padding:13px}
  .bd-v2-inbox-icon{width:48px;height:48px}
  .bd-v2-inbox-item-actions{grid-column:2;justify-content:flex-end}
}

/* Community Update 4.5 */
.bd-v2-profile-status{
  display:inline-block;margin:13px 0 0;padding:9px 12px;border-left:4px solid var(--bd-v2-red);
  border-radius:0 10px 10px 0;background:var(--bd-v2-surface-soft);color:var(--bd-v2-muted);font-style:normal
}
.bd-v2-status-form{display:grid;grid-template-columns:1fr auto;gap:10px;padding:20px;border:1px solid var(--bd-v2-border);border-radius:17px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)}
.bd-v2-status-form input{width:100%;padding:12px 13px}
.bd-v2-inline-action{display:inline-flex}
.bd-v2-chat-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px 12px 0}
.bd-v2-chat-tabs a{padding:8px;border-radius:9px;color:var(--bd-v2-muted);text-align:center;text-decoration:none;font-size:12px;font-weight:900}
.bd-v2-chat-tabs a.is-active{background:rgba(220,5,45,.1);color:var(--bd-v2-red)}
.bd-v2-pinned-label{display:block;margin-bottom:2px;color:var(--bd-v2-red);font-size:9px;font-style:normal;text-transform:uppercase;letter-spacing:1px}
.bd-v2-chat-profile-meta button{width:36px;height:36px;border:1px solid var(--bd-v2-border);border-radius:10px;background:var(--bd-v2-surface-soft);cursor:pointer}
.bd-v2-chat-profile-meta button.is-active{border-color:var(--bd-v2-red);background:rgba(220,5,45,.1)}
.bd-v2-message-reactions{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}
.bd-v2-message-reactions button{padding:4px 7px;border:1px solid var(--bd-v2-border);border-radius:999px;background:var(--bd-v2-surface-soft);color:var(--bd-v2-muted);cursor:pointer;font-size:10px}
.bd-v2-message-reactions button.is-active{border-color:var(--bd-v2-red);color:var(--bd-v2-red)}
.bd-v2-message-reactions b{margin-left:3px}
@media(max-width:680px){.bd-v2-status-form{grid-template-columns:1fr}}

/* Part 5 moderation center foundation */
.bd-v2-mod-nav{display:flex;gap:6px;overflow:auto;margin-bottom:16px;padding:7px;border:1px solid var(--bd-v2-border);border-radius:15px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)}
.bd-v2-mod-nav a{flex:0 0 auto;padding:9px 12px;border-radius:10px;color:var(--bd-v2-muted);text-decoration:none;font-size:12px;font-weight:900}
.bd-v2-mod-nav a.is-active{background:var(--bd-v2-red);color:#fff}
.bd-v2-mod-hero,.bd-v2-mod-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;padding:27px;border:1px solid var(--bd-v2-border);border-radius:22px;background:radial-gradient(circle at 90% 15%,rgba(220,5,45,.12),transparent 32%),var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)}
.bd-v2-mod-hero h1,.bd-v2-mod-page-heading h1{margin:5px 0 8px;font-size:clamp(35px,5vw,56px)}
.bd-v2-mod-hero p:last-child,.bd-v2-mod-page-heading p:last-child{margin:0;color:var(--bd-v2-muted)}
.bd-v2-mod-live{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid rgba(32,164,103,.32);border-radius:999px;color:var(--bd-v2-success);font-size:12px;font-weight:900}
.bd-v2-mod-live i{width:9px;height:9px;border-radius:50%;background:var(--bd-v2-success);box-shadow:0 0 12px rgba(32,164,103,.6)}
.bd-v2-mod-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:17px 0}
.bd-v2-mod-stat-grid>a{display:grid;gap:6px;padding:19px;border:1px solid var(--bd-v2-border);border-radius:17px;background:var(--bd-v2-surface);color:var(--bd-v2-text);text-decoration:none;box-shadow:var(--bd-v2-shadow)}
.bd-v2-mod-stat-grid small{color:var(--bd-v2-muted);font-weight:850}.bd-v2-mod-stat-grid strong{font-size:31px}.bd-v2-mod-stat-grid span{color:var(--bd-v2-red);font-size:11px;font-weight:900}
.bd-v2-mod-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bd-v2-mod-panel{padding:22px;border:1px solid var(--bd-v2-border);border-radius:20px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)}
.bd-v2-mod-panel-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:15px}.bd-v2-mod-panel-heading h2{margin:4px 0 0}.bd-v2-mod-panel-heading>a{color:var(--bd-v2-red);font-size:12px;font-weight:900;text-decoration:none}
.bd-v2-mod-links{display:grid;gap:8px}.bd-v2-mod-links>a{display:grid;grid-template-columns:1fr auto;gap:4px;padding:14px;border:1px solid var(--bd-v2-border);border-radius:13px;background:var(--bd-v2-surface-soft);color:var(--bd-v2-text);text-decoration:none}.bd-v2-mod-links small{color:var(--bd-v2-muted)}.bd-v2-mod-links b{grid-column:2;grid-row:1/3;color:var(--bd-v2-red)}
.bd-v2-mod-activity{display:grid;gap:5px}.bd-v2-mod-activity article{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:10px;border-bottom:1px solid var(--bd-v2-border)}.bd-v2-mod-activity article>span{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:rgba(220,5,45,.1);color:var(--bd-v2-red);font-weight:950}.bd-v2-mod-activity strong,.bd-v2-mod-activity small{display:block}.bd-v2-mod-activity small,.bd-v2-mod-activity time{margin-top:3px;color:var(--bd-v2-muted);font-size:10px}
.bd-v2-mod-page-heading{margin-bottom:18px}
@media(max-width:850px){.bd-v2-mod-stat-grid{grid-template-columns:repeat(2,1fr)}.bd-v2-mod-grid{grid-template-columns:1fr}}
@media(max-width:560px){.bd-v2-mod-stat-grid{grid-template-columns:1fr}.bd-v2-mod-hero,.bd-v2-mod-page-heading{align-items:flex-start;flex-direction:column}}


/* ==========================================================================
   FCBAYERN DAILY 2.0 – PART 5 COMPLETE MODERATION CENTER
   ========================================================================== */

.bd-v2-mod-user-hero{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:18px;
  align-items:center;
  padding:24px;
  margin-bottom:18px;
  border:1px solid var(--bd-v2-border);
  border-radius:22px;
  background:
    radial-gradient(circle at 90% 10%,rgba(220,5,45,.1),transparent 30%),
    var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-mod-user-avatar{position:relative}
.bd-v2-mod-user-avatar img{
  width:100px;height:100px;object-fit:cover;border-radius:50%;
  border:5px solid var(--bd-v2-surface);box-shadow:0 10px 28px rgba(0,0,0,.18)
}
.bd-v2-mod-user-avatar span{
  position:absolute;right:4px;bottom:8px;width:17px;height:17px;
  border:3px solid var(--bd-v2-surface);border-radius:50%;background:#777e8d
}
.bd-v2-mod-user-avatar span.is-online{background:var(--bd-v2-success)}
.bd-v2-mod-user-hero h1{margin:4px 0 8px;font-size:clamp(32px,5vw,48px)}
.bd-v2-mod-user-hero p:last-child{margin:9px 0 0;color:var(--bd-v2-muted)}

.bd-v2-mod-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.bd-v2-mod-panel-wide{grid-column:1/-1}
.bd-v2-mod-definition-list{display:grid;margin:0}
.bd-v2-mod-definition-list>div{
  display:grid;grid-template-columns:1fr auto;gap:15px;
  padding:11px 0;border-bottom:1px solid var(--bd-v2-border)
}
.bd-v2-mod-definition-list>div:last-child{border-bottom:0}
.bd-v2-mod-definition-list dt{color:var(--bd-v2-muted)}
.bd-v2-mod-definition-list dd{margin:0;font-weight:850;text-align:right}
.bd-v2-mod-action-stack{display:flex;flex-wrap:wrap;gap:8px}
.bd-v2-mod-form{display:grid;gap:10px}
.bd-v2-mod-form input,.bd-v2-mod-form select,.bd-v2-mod-form textarea{width:100%;padding:12px 13px}
.bd-v2-table-detail-link{display:inline-block;margin-top:5px;color:var(--bd-v2-red);font-size:11px;font-weight:900;text-decoration:none}

/* Support center */
.bd-v2-mod-filter-nav{
  display:flex;gap:6px;overflow:auto;margin:16px 0;padding:7px;
  border:1px solid var(--bd-v2-border);border-radius:15px;background:var(--bd-v2-surface)
}
.bd-v2-mod-filter-nav a{
  flex:0 0 auto;padding:8px 11px;border-radius:9px;color:var(--bd-v2-muted);
  text-decoration:none;font-size:12px;font-weight:900
}
.bd-v2-mod-filter-nav a.is-active{background:var(--bd-v2-red);color:#fff}
.bd-v2-ticket-center{
  display:grid;grid-template-columns:330px minmax(0,1fr);min-height:650px;
  overflow:hidden;border:1px solid var(--bd-v2-border);border-radius:20px;
  background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)
}
.bd-v2-ticket-list{
  overflow:auto;border-right:1px solid var(--bd-v2-border);background:var(--bd-v2-surface)
}
.bd-v2-ticket-list>a{
  display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:center;
  padding:14px;border-bottom:1px solid var(--bd-v2-border);color:var(--bd-v2-text);text-decoration:none
}
.bd-v2-ticket-list>a:hover,.bd-v2-ticket-list>a.is-active{background:rgba(220,5,45,.08)}
.bd-v2-ticket-list strong,.bd-v2-ticket-list small{display:block}
.bd-v2-ticket-list small{margin-top:4px;color:var(--bd-v2-muted)}
.bd-v2-ticket-list>a>b{font-size:9px;text-transform:uppercase;color:var(--bd-v2-muted)}
.bd-v2-ticket-priority{width:8px;height:34px;border-radius:999px;background:#8b91a0}
.bd-v2-ticket-priority.is-low{background:#3ba56e}.bd-v2-ticket-priority.is-high{background:#dc8d1b}.bd-v2-ticket-priority.is-urgent{background:var(--bd-v2-danger)}
.bd-v2-ticket-detail{min-width:0;padding:20px;background:var(--bd-v2-surface-soft)}
.bd-v2-ticket-detail>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:18px;border:1px solid var(--bd-v2-border);border-radius:16px;background:var(--bd-v2-surface)}
.bd-v2-ticket-detail>header h2{margin:4px 0 7px}.bd-v2-ticket-detail>header p:last-child{margin:0;color:var(--bd-v2-muted)}
.bd-v2-ticket-detail>header>span{padding:7px 10px;border-radius:999px;background:rgba(220,5,45,.1);color:var(--bd-v2-red);font-size:11px;font-weight:900}
.bd-v2-ticket-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.bd-v2-ticket-tools form{display:flex;gap:6px}.bd-v2-ticket-tools select{padding:9px}
.bd-v2-ticket-thread{display:grid;gap:9px}
.bd-v2-ticket-thread article{
  padding:14px;border:1px solid var(--bd-v2-border);border-radius:14px;background:var(--bd-v2-surface)
}
.bd-v2-ticket-thread article.is-team{border-color:rgba(220,5,45,.28);background:rgba(220,5,45,.055)}
.bd-v2-ticket-thread header{display:flex;justify-content:space-between;gap:10px}
.bd-v2-ticket-thread time{color:var(--bd-v2-muted);font-size:10px}
.bd-v2-ticket-thread p{margin:9px 0 0;line-height:1.55}
.bd-v2-internal-notes{margin-top:14px;padding:16px;border:1px dashed var(--bd-v2-border);border-radius:15px;background:var(--bd-v2-surface)}
.bd-v2-internal-notes>article{padding:10px;border-bottom:1px solid var(--bd-v2-border)}
.bd-v2-internal-notes>article p{margin:6px 0}.bd-v2-internal-notes>article small{color:var(--bd-v2-muted)}
.bd-v2-internal-notes form{display:grid;gap:8px;margin-top:12px}.bd-v2-internal-notes textarea{width:100%;padding:11px}

/* Reports */
.bd-v2-report-center{display:grid;gap:13px}
.bd-v2-report-case{
  padding:20px;border:1px solid var(--bd-v2-border);border-radius:19px;
  background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)
}
.bd-v2-report-case>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.bd-v2-report-case>header h2{margin:4px 0}.bd-v2-report-case>header>span{padding:7px 10px;border-radius:999px;background:var(--bd-v2-surface-soft);font-size:10px;font-weight:900}
.bd-v2-report-people{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0}
.bd-v2-report-people>div{padding:11px;border:1px solid var(--bd-v2-border);border-radius:12px;background:var(--bd-v2-surface-soft)}
.bd-v2-report-people small,.bd-v2-report-people strong{display:block}.bd-v2-report-people small{color:var(--bd-v2-muted);margin-bottom:4px}
.bd-v2-report-case blockquote{margin:12px 0;padding:14px;border-left:4px solid var(--bd-v2-red);background:var(--bd-v2-surface-soft);line-height:1.55}
.bd-v2-report-actions{display:flex;flex-wrap:wrap;gap:8px}.bd-v2-report-actions form{display:flex;gap:6px}.bd-v2-report-actions select{padding:9px}

/* Logs and broadcast */
.bd-v2-log-filters{display:grid;grid-template-columns:1fr 240px auto;gap:8px;margin:16px 0}.bd-v2-log-filters input,.bd-v2-log-filters select{padding:11px}
.bd-v2-log-list{display:grid;gap:7px}
.bd-v2-log-list article{
  display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;
  padding:13px;border:1px solid var(--bd-v2-border);border-radius:14px;background:var(--bd-v2-surface)
}
.bd-v2-log-list article>span{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:rgba(220,5,45,.1);color:var(--bd-v2-red);font-weight:950}
.bd-v2-log-list strong,.bd-v2-log-list small{display:block}.bd-v2-log-list small,.bd-v2-log-list time{margin-top:4px;color:var(--bd-v2-muted);font-size:10px}
.bd-v2-broadcast-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:14px;margin-top:17px}
.bd-v2-guideline-list{margin:0;padding-left:20px;color:var(--bd-v2-muted)}.bd-v2-guideline-list li{margin:10px 0;line-height:1.5}

/* System */
.bd-v2-system-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:17px 0}
.bd-v2-mod-panel.is-warning{border-color:rgba(217,139,24,.4)}
.bd-v2-system-settings{margin-bottom:14px}
.bd-v2-toggle-row{
  display:grid!important;grid-template-columns:auto 1fr;gap:11px;align-items:center;
  padding:13px;border:1px solid var(--bd-v2-border);border-radius:13px;background:var(--bd-v2-surface-soft);cursor:pointer
}
.bd-v2-toggle-row input{width:19px!important;height:19px}.bd-v2-toggle-row strong,.bd-v2-toggle-row small{display:block}.bd-v2-toggle-row small{margin-top:3px;color:var(--bd-v2-muted)}
.bd-v2-system-tools{display:flex;flex-wrap:wrap;gap:8px}

@media(max-width:900px){
  .bd-v2-ticket-center{grid-template-columns:1fr}
  .bd-v2-ticket-list{max-height:330px;border-right:0;border-bottom:1px solid var(--bd-v2-border)}
  .bd-v2-broadcast-layout,.bd-v2-system-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .bd-v2-mod-user-hero{grid-template-columns:1fr;text-align:center}
  .bd-v2-mod-user-avatar{justify-self:center}
  .bd-v2-mod-detail-grid{grid-template-columns:1fr}
  .bd-v2-mod-panel-wide{grid-column:auto}
  .bd-v2-report-people{grid-template-columns:1fr}
  .bd-v2-log-filters{grid-template-columns:1fr}
  .bd-v2-log-list article{grid-template-columns:42px 1fr}.bd-v2-log-list time{grid-column:2}
  .bd-v2-ticket-tools form,.bd-v2-report-actions form{width:100%;flex-direction:column}
}


/* ==========================================================================
   FCBAYERN DAILY 2.0 – PART 6 CONTENT & FC BAYERN
   ========================================================================== */

.bd-v2-fcb-page,.bd-v2-content-page,.bd-v2-article-page{background:var(--bd-v2-bg);color:var(--bd-v2-text)}
.bd-v2-fcb-hero,.bd-v2-content-hero{
  padding:82px 0;color:#fff;
  background:radial-gradient(circle at 82% 18%,rgba(255,255,255,.12),transparent 28%),linear-gradient(125deg,#080916,#4b0016 60%,#dc052d)
}
.bd-v2-fcb-hero h1,.bd-v2-content-hero h1{margin:10px 0 18px;font-size:clamp(52px,8vw,88px);line-height:.96;letter-spacing:-3px}
.bd-v2-fcb-hero h1 span{color:#ff3157}
.bd-v2-fcb-hero p,.bd-v2-content-hero p{max-width:780px;color:#d7d9e2;font-size:18px;line-height:1.65}
.bd-v2-content-section{padding:72px 0;background:var(--bd-v2-bg)}
.bd-v2-content-section.is-soft{background:var(--bd-v2-surface-soft)}
.bd-v2-section-gap{margin-top:55px}

.bd-v2-fcb-dashboard{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.bd-v2-fcb-dashboard article{padding:22px;border:1px solid var(--bd-v2-border);border-radius:18px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)}
.bd-v2-fcb-dashboard small,.bd-v2-fcb-dashboard strong,.bd-v2-fcb-dashboard span{display:block}
.bd-v2-fcb-dashboard small{color:var(--bd-v2-muted);font-weight:850}.bd-v2-fcb-dashboard strong{margin:8px 0;font-size:32px}.bd-v2-fcb-dashboard span{color:var(--bd-v2-muted)}
.bd-v2-fcb-dashboard a{color:var(--bd-v2-red);text-decoration:none;font-weight:900}

.bd-v2-fact-grid,.bd-v2-content-link-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.bd-v2-fact-grid article,.bd-v2-content-link-grid a{padding:21px;border:1px solid var(--bd-v2-border);border-radius:18px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)}
.bd-v2-fact-grid article>strong{color:var(--bd-v2-red);font-size:27px}.bd-v2-fact-grid h3{margin:11px 0 8px}.bd-v2-fact-grid p{margin:0;color:var(--bd-v2-muted);line-height:1.55}
.bd-v2-source-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.bd-v2-source-links a{padding:8px 11px;border:1px solid var(--bd-v2-border);border-radius:999px;background:var(--bd-v2-surface);text-decoration:none;font-size:12px;font-weight:850}
.bd-v2-content-link-grid a{display:grid;grid-template-columns:1fr auto;gap:6px;color:var(--bd-v2-text);text-decoration:none}.bd-v2-content-link-grid small{color:var(--bd-v2-muted)}.bd-v2-content-link-grid b{grid-column:2;grid-row:1/3;color:var(--bd-v2-red)}
.bd-v2-independent-note{padding:38px 0;background:#080a17;color:#fff}.bd-v2-independent-note>.bd-container{display:flex;align-items:center;gap:18px}.bd-v2-independent-note p{margin:0;color:#c7cad5}.bd-v2-independent-note a{margin-left:auto;color:#fff}

.bd-v2-table-wrap{overflow:auto;border:1px solid var(--bd-v2-border);border-radius:20px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)}
.bd-v2-league-table{width:100%;min-width:780px;border-collapse:collapse}.bd-v2-league-table th,.bd-v2-league-table td{padding:13px;border-bottom:1px solid var(--bd-v2-border);text-align:center}.bd-v2-league-table th:nth-child(2),.bd-v2-league-table td:nth-child(2){text-align:left}.bd-v2-league-table thead{background:#080a17;color:#fff}.bd-v2-league-table tr.is-bayern{background:linear-gradient(90deg,rgba(220,5,45,.17),rgba(224,185,61,.07));box-shadow:inset 4px 0 0 var(--bd-v2-red)}
.bd-v2-table-team{display:flex;align-items:center;gap:9px}.bd-v2-table-team img{width:27px;height:27px;object-fit:contain}.bd-v2-updated{display:block;margin-top:11px;color:var(--bd-v2-muted)}

.bd-v2-fixture-list{display:grid;gap:10px}.bd-v2-fixture-list article{display:grid;grid-template-columns:95px 1fr 240px;gap:16px;align-items:center;padding:17px;border:1px solid var(--bd-v2-border);border-radius:16px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)}
.bd-v2-fixture-date strong,.bd-v2-fixture-date small,.bd-v2-fixture-meta strong,.bd-v2-fixture-meta small{display:block}.bd-v2-fixture-date strong{font-size:23px}.bd-v2-fixture-date small,.bd-v2-fixture-meta small{margin-top:4px;color:var(--bd-v2-muted)}
.bd-v2-fixture-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center}.bd-v2-fixture-teams strong:last-child{text-align:right}.bd-v2-fixture-teams span{color:var(--bd-v2-muted);font-size:12px}.bd-v2-fixture-teams .bd-v2-score{padding:7px 10px;border-radius:9px;background:var(--bd-v2-red);color:#fff;font-size:17px;font-weight:950}

.bd-v2-squad-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.bd-v2-squad-grid article{position:relative;overflow:hidden;padding:20px;border:1px solid var(--bd-v2-border);border-radius:18px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow);text-align:center}.bd-v2-squad-grid article>span{position:absolute;right:13px;top:9px;color:rgba(220,5,45,.18);font-size:38px;font-weight:950}.bd-v2-player-placeholder{width:86px;height:86px;display:flex;align-items:center;justify-content:center;margin:10px auto;border-radius:50%;background:linear-gradient(135deg,#080a17,#dc052d);color:#fff;font-size:34px;font-weight:950}.bd-v2-squad-grid h3{margin:12px 0 6px}.bd-v2-squad-grid p{margin:0;color:var(--bd-v2-muted)}

.bd-v2-data-empty{padding:38px;border:1px dashed var(--bd-v2-border);border-radius:20px;background:var(--bd-v2-surface);text-align:center}.bd-v2-data-empty p{color:var(--bd-v2-muted)}
.bd-v2-featured-news{display:grid;grid-template-columns:1.1fr .9fr;overflow:hidden;margin-bottom:22px;border:1px solid var(--bd-v2-border);border-radius:22px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)}.bd-v2-featured-image{min-height:340px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#080a17,#dc052d);color:#fff;font-size:40px;font-weight:950}.bd-v2-featured-image img{width:100%;height:100%;object-fit:cover}.bd-v2-featured-news>div{padding:30px;align-self:center}.bd-v2-featured-news h2{font-size:clamp(30px,4vw,48px);margin:8px 0 12px}.bd-v2-featured-news h2 a{text-decoration:none}.bd-v2-featured-news p{color:var(--bd-v2-muted);line-height:1.6}
.bd-v2-news-filter{display:grid;grid-template-columns:1fr 240px auto;gap:8px;margin:18px 0 24px}.bd-v2-news-filter input,.bd-v2-news-filter select{padding:12px}
.bd-v2-pagination{display:flex;justify-content:center;gap:6px;margin-top:30px}.bd-v2-pagination .page-numbers{padding:8px 11px;border:1px solid var(--bd-v2-border);border-radius:9px;background:var(--bd-v2-surface);text-decoration:none}.bd-v2-pagination .current{background:var(--bd-v2-red);color:#fff}

.bd-v2-article-page{padding:48px 0 80px}.bd-v2-article{max-width:900px;margin:auto}.bd-v2-article>header{padding:28px;border:1px solid var(--bd-v2-border);border-radius:22px;background:var(--bd-v2-surface);box-shadow:var(--bd-v2-shadow)}.bd-v2-article h1{font-size:clamp(40px,7vw,72px);line-height:1.02;margin:8px 0 17px}.bd-v2-article-meta{display:flex;gap:14px;color:var(--bd-v2-muted);font-size:12px}.bd-v2-article>figure{margin:18px 0}.bd-v2-article>figure img{width:100%;border-radius:20px}.bd-v2-article-content{padding:30px;border:1px solid var(--bd-v2-border);border-radius:20px;background:var(--bd-v2-surface);font-size:18px;line-height:1.75}.bd-v2-article-content h2,.bd-v2-article-content h3{margin-top:32px}.bd-v2-article>footer{margin-top:18px}

@media(max-width:960px){.bd-v2-fcb-dashboard,.bd-v2-fact-grid,.bd-v2-content-link-grid,.bd-v2-squad-grid{grid-template-columns:repeat(2,1fr)}.bd-v2-fixture-list article{grid-template-columns:80px 1fr}.bd-v2-fixture-meta{grid-column:2}.bd-v2-featured-news{grid-template-columns:1fr}.bd-v2-featured-image{min-height:260px}}
@media(max-width:650px){.bd-v2-fcb-dashboard,.bd-v2-fact-grid,.bd-v2-content-link-grid,.bd-v2-squad-grid{grid-template-columns:1fr}.bd-v2-news-filter{grid-template-columns:1fr}.bd-v2-fixture-list article{grid-template-columns:1fr}.bd-v2-fixture-meta{grid-column:auto}.bd-v2-fixture-teams{grid-template-columns:1fr;text-align:center}.bd-v2-fixture-teams strong:last-child{text-align:center}.bd-v2-independent-note>.bd-container{align-items:flex-start;flex-direction:column}.bd-v2-independent-note a{margin-left:0}}


/* ==========================================================================
   FCBAYERN DAILY 2.0 – GLOBAL DESIGN AUDIT
   ========================================================================== */

:root{
  --bd-space-1:4px;
  --bd-space-2:8px;
  --bd-space-3:12px;
  --bd-space-4:16px;
  --bd-space-5:20px;
  --bd-space-6:24px;
  --bd-space-7:32px;
  --bd-space-8:40px;
  --bd-space-9:56px;
  --bd-space-10:72px;

  --bd-font-xs:11px;
  --bd-font-sm:13px;
  --bd-font-md:16px;
  --bd-font-lg:20px;
  --bd-font-xl:28px;
  --bd-font-2xl:40px;
  --bd-font-3xl:clamp(44px,7vw,76px);

  --bd-radius-control:12px;
  --bd-radius-card:18px;
  --bd-radius-panel:24px;

  --bd-focus:0 0 0 3px rgba(220,5,45,.22);
  --bd-ease:cubic-bezier(.2,.8,.2,1);
}

body.bd-audit-ready{
  font-size:var(--bd-font-md);
  line-height:1.55;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

body.bd-audit-ready main{
  min-height:52vh;
}

body.bd-audit-ready h1,
body.bd-audit-ready h2,
body.bd-audit-ready h3{
  color:var(--bd-v2-text);
  text-wrap:balance;
}

body.bd-audit-ready p{
  text-wrap:pretty;
}

body.bd-audit-ready .eyebrow{
  margin:0;
  color:var(--bd-v2-red)!important;
  font-size:var(--bd-font-xs);
  font-weight:950;
  letter-spacing:2.3px;
}

body.bd-audit-ready .section,
body.bd-audit-ready .bd-v2-community-page,
body.bd-audit-ready .bd-v2-content-section{
  padding-block:var(--bd-space-10);
}

body.bd-audit-ready .bd-container{
  width:min(1180px,calc(100% - 32px));
}

/* Unified surfaces */
body.bd-audit-ready :is(
  .bd-account-card,
  .bd-unified-content-card,
  .bd-profile-shortcut,
  .bd-report-card,
  .bd-news-card,
  .bd-v2-mod-panel,
  .bd-v2-setting-card,
  .bd-v2-settings-hub,
  .bd-v2-directory-toolbar,
  .bd-v2-inbox-toolbar,
  .bd-v2-ticket-detail,
  .bd-v2-ticket-center,
  .bd-v2-report-case,
  .bd-v2-featured-news,
  .bd-v2-article>header,
  .bd-v2-article-content
){
  border:1px solid var(--bd-v2-border)!important;
  border-radius:var(--bd-radius-card)!important;
  background:var(--bd-v2-surface)!important;
  color:var(--bd-v2-text)!important;
  box-shadow:var(--bd-v2-shadow)!important;
}

/* Unified controls */
body.bd-audit-ready :is(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  input[type="number"],
  input[type="file"],
  textarea,
  select
){
  min-height:46px;
  padding:11px 13px!important;
  border:1px solid var(--bd-v2-border)!important;
  border-radius:var(--bd-radius-control)!important;
  background:var(--bd-v2-surface-soft)!important;
  color:var(--bd-v2-text)!important;
  font:inherit;
  transition:border-color 160ms var(--bd-ease),box-shadow 160ms var(--bd-ease),background 160ms var(--bd-ease);
}

body.bd-audit-ready textarea{
  min-height:120px;
  resize:vertical;
}

body.bd-audit-ready :is(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  input[type="number"],
  input[type="file"],
  textarea,
  select,
  button,
  a
):focus-visible{
  outline:none!important;
  box-shadow:var(--bd-focus)!important;
}

body.bd-audit-ready label{
  color:var(--bd-v2-text);
  font-weight:850;
}

/* Buttons */
body.bd-audit-ready .button,
body.bd-audit-ready button.button,
body.bd-audit-ready input[type="submit"]{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 17px!important;
  border:1px solid var(--bd-v2-red)!important;
  border-radius:var(--bd-radius-control)!important;
  background:var(--bd-v2-red)!important;
  color:#fff!important;
  font-weight:900;
  line-height:1.2;
  text-decoration:none;
  cursor:pointer;
  transition:transform 160ms var(--bd-ease),background 160ms var(--bd-ease),box-shadow 160ms var(--bd-ease);
}

body.bd-audit-ready .button:hover,
body.bd-audit-ready button.button:hover,
body.bd-audit-ready input[type="submit"]:hover{
  transform:translateY(-2px);
  background:var(--bd-v2-red-dark)!important;
  box-shadow:0 12px 26px rgba(220,5,45,.22)!important;
}

body.bd-audit-ready .button:active,
body.bd-audit-ready button.button:active{
  transform:translateY(0) scale(.985);
}

body.bd-audit-ready .button.secondary{
  border-color:var(--bd-v2-border)!important;
  background:var(--bd-v2-surface-soft)!important;
  color:var(--bd-v2-text)!important;
}

body.bd-audit-ready .button.secondary:hover{
  border-color:rgba(220,5,45,.45)!important;
  color:var(--bd-v2-red)!important;
  box-shadow:none!important;
}

body.bd-audit-ready .bd-danger-button,
body.bd-audit-ready .button.danger{
  background:var(--bd-v2-danger)!important;
  border-color:var(--bd-v2-danger)!important;
}

/* Page headings */
body.bd-audit-ready .bd-v2-page-heading,
body.bd-audit-ready .bd-v2-mod-page-heading,
body.bd-audit-ready .bd-v2-mod-hero{
  padding:var(--bd-space-7)!important;
  border-radius:var(--bd-radius-panel)!important;
}

body.bd-audit-ready .bd-v2-page-heading h1,
body.bd-audit-ready .bd-v2-mod-page-heading h1,
body.bd-audit-ready .bd-v2-mod-hero h1{
  margin:6px 0 10px;
  font-size:clamp(36px,5vw,60px);
  line-height:1.02;
  letter-spacing:-1.6px;
}

/* Unified section headings */
body.bd-audit-ready .bd-v2-section-heading{
  margin-bottom:var(--bd-space-7);
}

body.bd-audit-ready .bd-v2-section-heading h2{
  margin:5px 0 7px;
  font-size:clamp(32px,4.5vw,52px);
  line-height:1.04;
  letter-spacing:-1.1px;
}

/* Tables */
body.bd-audit-ready table{
  border-collapse:separate;
  border-spacing:0;
}

body.bd-audit-ready :is(.bd-user-table-wrap,.bd-v2-table-wrap){
  overflow:auto;
  border:1px solid var(--bd-v2-border)!important;
  border-radius:var(--bd-radius-card)!important;
  background:var(--bd-v2-surface)!important;
  box-shadow:var(--bd-v2-shadow)!important;
}

body.bd-audit-ready :is(.bd-user-table,.bd-v2-league-table){
  width:100%;
}

body.bd-audit-ready :is(.bd-user-table,.bd-v2-league-table) th{
  position:sticky;
  top:0;
  z-index:2;
  background:#0a0c18!important;
  color:#fff!important;
  font-size:var(--bd-font-xs);
  text-transform:uppercase;
  letter-spacing:.8px;
}

body.bd-audit-ready :is(.bd-user-table,.bd-v2-league-table) td,
body.bd-audit-ready :is(.bd-user-table,.bd-v2-league-table) th{
  padding:13px 14px!important;
  border-bottom:1px solid var(--bd-v2-border)!important;
}

/* Notices / Toasts */
body.bd-audit-ready :is(.bd-notice,.bd-form-message){
  padding:14px 16px!important;
  border-radius:var(--bd-radius-control)!important;
  box-shadow:none!important;
}

body.bd-audit-ready .bd-audit-toast-stack{
  position:fixed;
  top:96px;
  right:18px;
  z-index:5000;
  display:grid;
  gap:8px;
  width:min(390px,calc(100vw - 36px));
  pointer-events:none;
}

body.bd-audit-ready .bd-audit-toast{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:11px;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--bd-v2-border);
  border-radius:14px;
  background:var(--bd-v2-surface);
  color:var(--bd-v2-text);
  box-shadow:var(--bd-v2-shadow-hover);
  transform:translateX(18px);
  opacity:0;
  animation:bdAuditToastIn 220ms var(--bd-ease) forwards;
  pointer-events:auto;
}

body.bd-audit-ready .bd-audit-toast.is-success{border-left:4px solid var(--bd-v2-success)}
body.bd-audit-ready .bd-audit-toast.is-error{border-left:4px solid var(--bd-v2-danger)}
body.bd-audit-ready .bd-audit-toast.is-info{border-left:4px solid var(--bd-v2-red)}
body.bd-audit-ready .bd-audit-toast>span{
  width:30px;height:30px;display:flex;align-items:center;justify-content:center;
  border-radius:9px;background:var(--bd-v2-surface-soft);font-weight:950
}
body.bd-audit-ready .bd-audit-toast button{
  width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:var(--bd-v2-muted);cursor:pointer
}
@keyframes bdAuditToastIn{to{transform:none;opacity:1}}

/* Consistent dialogs */
  border:1px solid var(--bd-v2-border)!important;
  border-radius:var(--bd-radius-panel)!important;
  background:var(--bd-v2-surface)!important;
  color:var(--bd-v2-text)!important;
  box-shadow:0 30px 90px rgba(0,0,0,.32)!important;
}

/* Common card motion */
body.bd-audit-ready :is(
  .bd-v2-news-card,
  .bd-v2-member-card,
  .bd-v2-account-action-grid>a,
  .bd-v2-action-grid>a,
  .bd-v2-content-link-grid>a,
  .bd-v2-squad-grid article,
  .bd-v2-fact-grid article,
  .bd-v2-mod-stat-grid>a
){
  transition:transform 180ms var(--bd-ease),border-color 180ms var(--bd-ease),box-shadow 180ms var(--bd-ease);
}

body.bd-audit-ready :is(
  .bd-v2-news-card,
  .bd-v2-member-card,
  .bd-v2-account-action-grid>a,
  .bd-v2-action-grid>a,
  .bd-v2-content-link-grid>a,
  .bd-v2-squad-grid article,
  .bd-v2-fact-grid article,
  .bd-v2-mod-stat-grid>a
):hover{
  transform:translateY(-4px);
  border-color:rgba(220,5,45,.42)!important;
  box-shadow:var(--bd-v2-shadow-hover)!important;
}

/* Empty and loading states */
body.bd-audit-ready :is(.bd-v2-empty-state,.bd-v2-data-empty,.bd-v2-inbox-empty){
  padding:var(--bd-space-9) var(--bd-space-6)!important;
  border:1px dashed var(--bd-v2-border)!important;
  border-radius:var(--bd-radius-card)!important;
  background:var(--bd-v2-surface)!important;
}

.bd-audit-skeleton{
  position:relative;
  overflow:hidden;
  background:var(--bd-v2-surface-soft)!important;
  color:transparent!important;
}

.bd-audit-skeleton::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);
  animation:bdAuditSkeleton 1.25s linear infinite;
}

@keyframes bdAuditSkeleton{to{transform:translateX(100%)}}

/* Dark mode correction layer */
html.bd-dark body.bd-audit-ready{
  background:var(--bd-v2-bg)!important;
}

html.bd-dark body.bd-audit-ready :is(
  .section.light,
  .bd-account-page,
  .bd-unified-community-page,
  .bd-members-page,
  .bd-chat-page,
  .bd-v2-content-page,
  .bd-v2-article-page,
  .bd-v2-mod-center
){
  background:var(--bd-v2-bg)!important;
  color:var(--bd-v2-text)!important;
}

html.bd-dark body.bd-audit-ready :is(
  .bd-account-card,
  .bd-user-table-wrap,
  .bd-contact-card,
  .bd-contact-form,
  .ticket-box,
  .faq details
){
  background:var(--bd-v2-surface)!important;
  color:var(--bd-v2-text)!important;
  border-color:var(--bd-v2-border)!important;
}

/* Mobile audit */
@media(max-width:760px){
  body.bd-audit-ready .section,
  body.bd-audit-ready .bd-v2-community-page,
  body.bd-audit-ready .bd-v2-content-section{
    padding-block:var(--bd-space-9);
  }

  body.bd-audit-ready .bd-container{
    width:min(100% - 22px,1180px);
  }

  body.bd-audit-ready .bd-v2-page-heading,
  body.bd-audit-ready .bd-v2-mod-page-heading,
  body.bd-audit-ready .bd-v2-mod-hero{
    padding:var(--bd-space-5)!important;
  }

  body.bd-audit-ready .bd-v2-page-heading h1,
  body.bd-audit-ready .bd-v2-mod-page-heading h1,
  body.bd-audit-ready .bd-v2-mod-hero h1{
    font-size:36px;
  }

  body.bd-audit-ready .button{
    min-height:46px;
  }

  body.bd-audit-ready .bd-audit-toast-stack{
    top:auto;
    bottom:92px;
    right:11px;
    left:11px;
    width:auto;
  }
}

@media(prefers-reduced-motion:reduce){
  body.bd-audit-ready *,
  body.bd-audit-ready *::before,
  body.bd-audit-ready *::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}


/* ==========================================================================
   FCBAYERN DAILY 2.0 – PART 7 PREMIUM
   ========================================================================== */

.bd-v2-level-card{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  align-items:center;
  padding:22px;
  border:1px solid var(--bd-v2-border);
  border-radius:20px;
  background:
    radial-gradient(circle at 90% 15%,rgba(224,185,61,.13),transparent 30%),
    var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-level-card h2{margin:5px 0 7px}
.bd-v2-level-card p{margin:0;color:var(--bd-v2-muted)}
.bd-v2-level-card>strong{font-size:25px;color:var(--bd-v2-gold)}
.bd-v2-level-track,.bd-v2-public-level>div{
  grid-column:1/-1;
  height:11px;
  overflow:hidden;
  border-radius:999px;
  background:var(--bd-v2-surface-soft);
}
.bd-v2-level-track span,.bd-v2-public-level>div span{
  display:block;height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--bd-v2-red),var(--bd-v2-gold));
}

.bd-v2-achievement-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.bd-v2-achievement-grid article{
  display:grid;
  gap:6px;
  padding:17px;
  border:1px solid var(--bd-v2-border);
  border-radius:16px;
  background:var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-achievement-grid article>span{font-size:28px}
.bd-v2-achievement-grid article small{color:var(--bd-v2-muted)}
.bd-v2-achievement-grid article.is-locked{opacity:.42;filter:grayscale(1)}
.bd-v2-achievement-grid article.is-unlocked{
  border-color:rgba(224,185,61,.42);
  background:linear-gradient(145deg,rgba(224,185,61,.08),var(--bd-v2-surface));
}

.bd-v2-activity-list{display:grid;gap:8px}
.bd-v2-activity-list article{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
  padding:12px 14px;
  border:1px solid var(--bd-v2-border);
  border-radius:14px;
  background:var(--bd-v2-surface);
}
.bd-v2-activity-list article>span{
  width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  background:var(--bd-v2-surface-soft);
}
.bd-v2-activity-list strong,.bd-v2-activity-list small{display:block}
.bd-v2-activity-list small,.bd-v2-activity-list time{margin-top:4px;color:var(--bd-v2-muted);font-size:11px}

.bd-v2-public-level{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:center;
  margin-bottom:15px;
  padding:15px;
  border:1px solid var(--bd-v2-border);
  border-radius:15px;
  background:var(--bd-v2-surface);
}
.bd-v2-public-level>div{grid-column:auto;height:10px}

/* Comments */
.bd-v2-comments{
  max-width:900px;
  margin:28px auto 0;
  padding:24px;
  border:1px solid var(--bd-v2-border);
  border-radius:22px;
  background:var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v2-comment-list{display:grid;gap:12px;padding:0;list-style:none}
.bd-v2-comment-list .children{display:grid;gap:10px;margin:10px 0 0 28px;padding:0;list-style:none}
.bd-v2-comment>article{
  padding:15px;
  border:1px solid var(--bd-v2-border);
  border-radius:15px;
  background:var(--bd-v2-surface-soft);
}
.bd-v2-comment header{display:flex;gap:10px;align-items:center}
.bd-v2-comment header img{border-radius:50%}
.bd-v2-comment header strong,.bd-v2-comment header small{display:block}
.bd-v2-comment header small{margin-top:3px;color:var(--bd-v2-muted)}
.bd-v2-comment article>div{margin-top:12px;line-height:1.6}
.bd-v2-comment footer{margin-top:10px}
.bd-v2-comment footer a{color:var(--bd-v2-red);font-size:12px;font-weight:900;text-decoration:none}
.bd-v2-comment-form-title{margin-top:28px}
.bd-v2-comments form{display:grid;gap:10px}
.bd-v2-comments textarea{width:100%}

/* Live pulse */
.bd-v2-live-pulse{
  animation:bdV2LivePulse .35s ease;
}
@keyframes bdV2LivePulse{
  50%{transform:scale(1.1);color:var(--bd-v2-red)}
}

@media(max-width:900px){
  .bd-v2-achievement-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
  .bd-v2-achievement-grid{grid-template-columns:1fr}
  .bd-v2-level-card{grid-template-columns:1fr}
  .bd-v2-level-card>strong{justify-self:start}
  .bd-v2-activity-list article{grid-template-columns:42px 1fr}
  .bd-v2-activity-list time{grid-column:2}
  .bd-v2-public-level{grid-template-columns:1fr}
  .bd-v2-comment-list .children{margin-left:12px}
}


/* ==========================================================================
   FCBAYERN DAILY 3.0 – FINAL RELEASE POLISH
   ========================================================================== */

html{
  scroll-behavior:smooth;
  background:var(--bd-v2-bg);
}

body.bd-release-3{
  min-width:320px;
  overflow-x:hidden;
}

body.bd-release-3 img{
  max-width:100%;
  height:auto;
}

body.bd-release-3 .site-header{
  isolation:isolate;
}

body.bd-release-3 .is-submitting{
  position:relative;
  opacity:.72;
  pointer-events:none;
}

body.bd-release-3 .is-submitting::after{
  content:"";
  width:14px;
  height:14px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:bdReleaseSpin .65s linear infinite;
}

@keyframes bdReleaseSpin{
  to{transform:rotate(360deg)}
}

body.bd-release-3 :is(a,button,input,textarea,select){
  -webkit-tap-highlight-color:transparent;
}

body.bd-release-3 :is(.button,button,input,select,textarea):disabled{
  opacity:.52;
  cursor:not-allowed;
  transform:none!important;
  box-shadow:none!important;
}

body.bd-release-3 .bd-v2-table-wrap,
body.bd-release-3 .bd-user-table-wrap{
  scrollbar-width:thin;
  scrollbar-color:var(--bd-v2-red) var(--bd-v2-surface-soft);
}

body.bd-release-3 .bd-v2-chat-messages,
body.bd-release-3 .bd-v2-conversation-list{
  overscroll-behavior:contain;
  scrollbar-width:thin;
}

body.bd-release-3 .bd-v2-back-link{
  position:relative;
  z-index:3;
}

body.bd-release-3 .bd-v2-empty-state h2,
body.bd-release-3 .bd-v2-data-empty h2{
  margin-top:0;
}

body.bd-release-3 .bd-audit-toast{
  will-change:transform,opacity;
}

body.bd-release-3 .bd-v2-news-image img,
body.bd-release-3 .bd-v2-featured-image img,
body.bd-release-3 .bd-v2-member-avatar img,
body.bd-release-3 .bd-v2-avatar-shell img{
  background:var(--bd-v2-surface-soft);
}

@media(max-width:680px){
  body.bd-release-3{
    padding-bottom:78px;
  }

  body.bd-release-3:not(.bd-v2-authenticated){
    padding-bottom:0;
  }

  body.bd-release-3 .bd-v2-ticker{
    font-size:12px;
  }

  body.bd-release-3 .bd-v2-home-hero h1,
  body.bd-release-3 .bd-v2-fcb-hero h1,
  body.bd-release-3 .bd-v2-content-hero h1{
    word-break:normal;
    overflow-wrap:anywhere;
  }
}

@media print{
  .site-header,
  .site-footer,
  .bd-news-ticker,
  .bd-mobile-bottom-nav,
  .bd-v2-back-link,
  .bd-audit-toast-stack{
    display:none!important;
  }

  body{
    background:#fff!important;
    color:#000!important;
  }

  main{
    padding:0!important;
  }
}


/* Version 3.0.1 bugfix: mobile menu, global logo and fresh news */
.bd-v2-brand-mark{
  flex:0 0 auto;
  width:84px!important;
  height:54px!important;
  padding:7px 9px!important;
  overflow:hidden;
  border-radius:14px!important;
  background:#fff!important;
}
.bd-v2-brand-mark .site-logo{
  width:100%!important;height:100%!important;object-fit:contain!important;display:block!important;
}
.bd-v2-footer-logo{width:70px!important;height:44px!important;padding:5px 7px!important;display:flex!important;align-items:center;justify-content:center;border-radius:10px!important;background:#fff!important}
.bd-v2-footer-logo img img{width:100%;height:100%;object-fit:contain;display:block}
.bd-v301-placeholder-logo{width:62%;height:62%;object-fit:contain;background:#fff;border-radius:14px;padding:10px}

.menu-toggle .bd-menu-icon,
.menu-toggle .bd-menu-icon::before,
.menu-toggle .bd-menu-icon::after{
  width:22px;height:2px;border-radius:999px;background:currentColor;display:block;position:relative;transition:transform .18s ease,opacity .18s ease;
}
.menu-toggle .bd-menu-icon::before,.menu-toggle .bd-menu-icon::after{content:"";position:absolute;left:0}
.menu-toggle .bd-menu-icon::before{top:-7px}.menu-toggle .bd-menu-icon::after{top:7px}
.menu-toggle.is-open .bd-menu-icon{background:transparent}
.menu-toggle.is-open .bd-menu-icon::before{top:0;transform:rotate(45deg)}
.menu-toggle.is-open .bd-menu-icon::after{top:0;transform:rotate(-45deg)}



.bd-v302-news-logo{
  background:linear-gradient(135deg,#f8f8fa,#e8e9ee)!important;
}
html.bd-dark .bd-v302-news-logo{
  background:linear-gradient(135deg,#1b1d29,#0d0f18)!important;
}

@media(max-width:620px){
  .bd-v2-brand-mark{
    width:64px!important;
    height:43px!important;
  }
}


/* ==========================================================================
   VERSION 3.0.3 – DARK LOGO, UPDATE NOTICE, PLAYER IMAGES, TEAM CRESTS
   ========================================================================== */

/* Preserve the real red/black logo in both modes. */
.bd-v2-brand-mark,
.bd-v2-footer-logo{
  background:transparent!important;
}

.bd-v2-brand-mark img,
.bd-v2-footer-logo img img,
html.bd-dark .bd-v2-brand-mark img,
html.bd-dark .bd-v2-footer-logo img{
  background:transparent!important;
  filter:drop-shadow(0 3px 7px rgba(0,0,0,.22))!important;
  mix-blend-mode:normal!important;
  opacity:1!important;
}

html.bd-dark .bd-v2-footer-logo{
  padding:6px!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.92)!important;
}

/* Player media */
.bd-v2-player-media{
  width:100%;
  height:210px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:hidden;
  margin:-20px -20px 15px;
  width:calc(100% + 40px);
  background:
    radial-gradient(circle at 50% 25%,rgba(220,5,45,.16),transparent 35%),
    var(--bd-v2-surface-soft);
}
.bd-v2-player-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.bd-v2-player-media .bd-v2-player-placeholder{
  margin:auto;
}
.bd-v2-squad-grid article{
  padding-top:20px;
}

/* Team crests */
.bd-v303-fixture-team{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
}
.bd-v303-fixture-team.is-away{
  justify-content:flex-end;
}
.bd-v303-fixture-team img{
  width:38px;
  height:38px;
  flex:0 0 38px;
  object-fit:contain;
  background:rgba(255,255,255,.95);
  border-radius:9px;
  padding:4px;
}
.bd-v303-fixture-team strong{
  min-width:0;
}

@media(max-width:650px){
  .bd-v303-update-dialog{padding:20px}
  .bd-v303-update-heading{grid-template-columns:48px 1fr}
  .bd-v303-update-heading>span{width:48px;height:48px}
  .bd-v2-player-media{height:250px}
  .bd-v303-fixture-team,
  .bd-v303-fixture-team.is-away{
    justify-content:center;
  }
}





/* Version 3.0.4 – admin email test suite */
.bd-v304-email-test{
  margin-bottom:14px;
}
.bd-v304-email-test>p:not(.eyebrow){
  color:var(--bd-v2-muted);
}
.bd-v304-email-types{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:5px 0 10px;
}
.bd-v304-email-types span{
  padding:6px 9px;
  border:1px solid var(--bd-v2-border);
  border-radius:999px;
  background:var(--bd-v2-surface-soft);
  color:var(--bd-v2-muted);
  font-size:11px;
  font-weight:850;
}


/* ==========================================================================
   VERSION 3.0.6 – MOBILE MENU CLEAN REBUILD
   ========================================================================== */

.bd-v306-menu-overlay{
  position:fixed;
  inset:0;
  z-index:9998;
  background:rgba(3,5,12,.62);
  backdrop-filter:blur(4px);
  opacity:0;
  transition:opacity .2s ease;
}
.bd-v306-menu-overlay[hidden]{
  display:none!important;
}
.bd-v306-menu-overlay.is-open{
  display:block!important;
  opacity:1;
}

@media(max-width:959px){
  .site-header,
  .bd-v2-header{
    overflow:visible!important;
    z-index:10000!important;
  }

  #site-navigation.bd-v2-main-nav{
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    z-index:9999!important;
    width:min(86vw,360px)!important;
    max-width:360px!important;
    height:100dvh!important;
    display:flex!important;
    flex-direction:column!important;
    gap:6px!important;
    padding:88px 16px 24px!important;
    border:0!important;
    border-left:1px solid var(--bd-v2-border)!important;
    border-radius:0!important;
    background:var(--bd-v2-surface)!important;
    color:var(--bd-v2-text)!important;
    box-shadow:-24px 0 70px rgba(0,0,0,.38)!important;
    overflow-y:auto!important;
    transform:translateX(105%)!important;
    transition:transform .24s cubic-bezier(.2,.8,.2,1)!important;
    visibility:hidden!important;
  }

  #site-navigation.bd-v2-main-nav.is-open{
    transform:translateX(0)!important;
    visibility:visible!important;
  }

  #site-navigation.bd-v2-main-nav a{
    display:flex!important;
    align-items:center!important;
    min-height:50px!important;
    padding:13px 14px!important;
    border-radius:12px!important;
    background:transparent!important;
    color:var(--bd-v2-text)!important;
    text-decoration:none!important;
    font-size:15px!important;
    font-weight:850!important;
  }

  #site-navigation.bd-v2-main-nav a:hover,
  #site-navigation.bd-v2-main-nav a:active{
    background:rgba(220,5,45,.1)!important;
    color:var(--bd-v2-red)!important;
  }

  .menu-toggle{
    position:relative!important;
    z-index:10001!important;
  }

  body.bd-mobile-menu-open{
    overflow:hidden!important;
  }
}

@media(min-width:960px){
  .bd-v306-menu-overlay{
    display:none!important;
  }
}


/* ==========================================================================
   VERSION 3.1.0 – VISITOR HOTBAR AND MATCHCENTER
   ========================================================================== */

@media(max-width:760px){
  .bd-mobile-bottom-nav{
    display:grid!important;
    grid-template-columns:repeat(4,1fr)!important;
  }
}

/* Matchcenter */
.bd-v310-match-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.bd-v310-match-card{
  overflow:hidden;
  border:1px solid var(--bd-v2-border);
  border-radius:20px;
  background:var(--bd-v2-surface);
  box-shadow:var(--bd-v2-shadow);
}
.bd-v310-match-card.is-featured{
  grid-column:1/-1;
  border-color:rgba(220,5,45,.48);
  background:
    radial-gradient(circle at 50% 0%,rgba(220,5,45,.12),transparent 43%),
    var(--bd-v2-surface);
}
.bd-v310-match-card>header,
.bd-v310-match-card>footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 15px;
  background:var(--bd-v2-surface-soft);
  color:var(--bd-v2-muted);
  font-size:11px;
}
.bd-v310-match-card>header span{
  color:var(--bd-v2-red);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.7px;
}
.bd-v310-clubs{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  padding:27px 18px;
}
.bd-v310-clubs>div{
  display:grid;
  justify-items:center;
  gap:10px;
  text-align:center;
}
.bd-v310-clubs img{
  width:74px;
  height:74px;
  object-fit:contain;
  padding:7px;
  border-radius:17px;
  background:rgba(255,255,255,.96);
  box-shadow:0 8px 22px rgba(0,0,0,.1);
}
.bd-v310-match-card.is-featured .bd-v310-clubs img{
  width:94px;
  height:94px;
}
.bd-v310-clubs>b{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--bd-v2-red);
  color:#fff;
  font-size:12px;
}
.bd-v310-results-list{
  display:grid;
  gap:8px;
}
.bd-v310-results-list article{
  display:grid;
  grid-template-columns:90px 1fr 70px 1fr;
  gap:12px;
  align-items:center;
  padding:12px 14px;
  border:1px solid var(--bd-v2-border);
  border-radius:14px;
  background:var(--bd-v2-surface);
}
.bd-v310-results-list time{
  color:var(--bd-v2-muted);
  font-size:11px;
}
.bd-v310-results-list article>div{
  display:flex;
  align-items:center;
  gap:9px;
}
.bd-v310-results-list article>div.is-away{
  justify-content:flex-end;
}
.bd-v310-results-list img{
  width:34px;
  height:34px;
  object-fit:contain;
  padding:3px;
  border-radius:8px;
  background:#fff;
}
.bd-v310-results-list article>b{
  padding:7px 9px;
  border-radius:9px;
  background:var(--bd-v2-red);
  color:#fff;
  text-align:center;
}
.bd-v310-all-matches{
  margin-top:20px;
}

@media(max-width:760px){
  .bd-v310-match-grid{
    grid-template-columns:1fr;
  }
  .bd-v310-match-card.is-featured{
    grid-column:auto;
  }
  .bd-v310-clubs{
    gap:9px;
    padding:22px 10px;
  }
  .bd-v310-clubs img,
  .bd-v310-match-card.is-featured .bd-v310-clubs img{
    width:62px;
    height:62px;
  }
  .bd-v310-results-list article{
    grid-template-columns:1fr auto 1fr;
  }
  .bd-v310-results-list time{
    grid-column:1/-1;
  }
  .bd-v310-results-list article>div{
    flex-direction:column;
    text-align:center;
  }
  .bd-v310-results-list article>div.is-away{
    flex-direction:column-reverse;
  }
}


/* Version 3.1.1 – real article images */
.bd-v2-news-image:not(.bd-v302-news-logo) img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  padding:0!important;
  background:transparent!important;
  filter:none!important;
}


/* ==========================================================================
   VERSION 3.1.2 – MENU REDESIGN AND PROFILE DELETE
   ========================================================================== */

@media(max-width:959px){
  #site-navigation.bd-v2-main-nav{
    width:min(92vw,410px)!important;
    max-width:410px!important;
    padding:0 15px 22px!important;
    gap:0!important;
    background:var(--bd-v2-bg)!important;
  }

  .bd-v312-menu-head{
    position:sticky;
    top:0;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:18px 2px 15px;
    background:linear-gradient(180deg,var(--bd-v2-bg) 82%,transparent);
  }
  .bd-v312-menu-brand{
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    min-height:0!important;
    padding:0!important;
    background:transparent!important;
  }
  .bd-v312-menu-brand img{
    width:56px;height:36px;object-fit:contain
  }
  .bd-v312-menu-brand span,.bd-v312-menu-brand strong,.bd-v312-menu-brand small{display:block}
  .bd-v312-menu-brand small{margin-top:2px;color:var(--bd-v2-muted);font-size:10px}
  .bd-v312-menu-close{
    width:43px;height:43px;border:1px solid var(--bd-v2-border);border-radius:13px;
    background:var(--bd-v2-surface);color:var(--bd-v2-text);font-size:25px;cursor:pointer
  }

  .bd-v312-menu-account{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:11px;
    align-items:center;
    margin:7px 0 18px;
    padding:14px;
    border:1px solid var(--bd-v2-border);
    border-radius:17px;
    background:linear-gradient(135deg,rgba(220,5,45,.1),var(--bd-v2-surface));
  }
  .bd-v312-menu-account img{
    width:48px;height:48px;border-radius:50%;object-fit:cover
  }
  .bd-v312-menu-account-icon{
    width:48px;height:48px;display:flex;align-items:center;justify-content:center;
    border-radius:50%;background:var(--bd-v2-surface-soft);font-size:26px
  }
  .bd-v312-menu-account small,.bd-v312-menu-account strong{display:block}
  .bd-v312-menu-account small{color:var(--bd-v2-muted);font-size:10px}
  .bd-v312-menu-account>a{
    min-height:0!important;padding:8px 10px!important;border-radius:9px!important;
    background:var(--bd-v2-red)!important;color:#fff!important;font-size:11px!important
  }

  .bd-v312-menu-group{
    display:grid;
    gap:6px;
    margin-bottom:18px;
  }
  .bd-v312-menu-label{
    padding:0 7px 4px;
    color:var(--bd-v2-muted);
    font-size:10px;
    font-weight:950;
    letter-spacing:1.5px;
    text-transform:uppercase;
  }
  #site-navigation.bd-v2-main-nav .bd-v312-menu-group>a{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) auto!important;
    gap:11px!important;
    min-height:64px!important;
    padding:10px 12px!important;
    border:1px solid transparent!important;
    border-radius:14px!important;
    background:var(--bd-v2-surface)!important;
  }
  .bd-v312-menu-group>a>i{
    width:42px;height:42px;display:flex;align-items:center;justify-content:center;
    border-radius:12px;background:rgba(220,5,45,.1);color:var(--bd-v2-red);
    font-style:normal;font-size:18px;font-weight:900
  }
  .bd-v312-menu-group>a>span,.bd-v312-menu-group>a strong,.bd-v312-menu-group>a small{display:block}
  .bd-v312-menu-group>a small{margin-top:3px;color:var(--bd-v2-muted);font-size:10px;font-weight:600}
  .bd-v312-menu-group>a>b{color:var(--bd-v2-muted);font-size:24px}
  #site-navigation.bd-v2-main-nav .bd-v312-menu-group>a:hover{
    border-color:rgba(220,5,45,.35)!important;
    background:rgba(220,5,45,.07)!important;
  }
  .bd-v312-menu-footer{
    display:flex;
    gap:8px;
    padding-top:2px;
  }
  #site-navigation.bd-v2-main-nav .bd-v312-menu-footer>a{
    min-height:0!important;
    padding:8px 10px!important;
    border:1px solid var(--bd-v2-border)!important;
    border-radius:9px!important;
    background:transparent!important;
    color:var(--bd-v2-muted)!important;
    font-size:10px!important;
  }
}

@media(min-width:960px){
  .bd-v312-menu-head,.bd-v312-menu-account,.bd-v312-menu-label,.bd-v312-menu-footer{
    display:none!important;
  }
  .bd-v312-menu-group{
    display:contents;
  }
  .bd-v312-menu-group>a i,.bd-v312-menu-group>a small,.bd-v312-menu-group>a b{
    display:none!important;
  }
}

/* Moderation danger zone */
.bd-v312-danger-zone{
  border-color:rgba(220,38,38,.42)!important;
  background:linear-gradient(145deg,rgba(220,38,38,.055),var(--bd-v2-surface))!important;
}
.bd-v312-danger-heading{
  display:flex;justify-content:space-between;gap:20px;align-items:flex-start
}
.bd-v312-danger-heading h2{margin:5px 0 8px}
.bd-v312-danger-heading p:last-child{margin:0;color:var(--bd-v2-muted)}
.bd-v312-danger-heading>span{
  padding:7px 10px;border-radius:999px;background:rgba(220,38,38,.12);
  color:var(--bd-v2-danger);font-size:10px;font-weight:950;text-transform:uppercase
}
.bd-v312-delete-form{margin-top:18px}
.bd-v312-delete-check{
  display:grid!important;grid-template-columns:auto 1fr;gap:10px;align-items:center;
  padding:12px;border:1px solid rgba(220,38,38,.25);border-radius:12px;background:rgba(220,38,38,.05)
}
.bd-v312-delete-check input{width:19px!important;height:19px!important;min-height:0!important}
.bd-v312-delete-form .button.danger{
  justify-self:start;background:var(--bd-v2-danger)!important;border-color:var(--bd-v2-danger)!important
}
@media(max-width:650px){
  .bd-v312-danger-heading{display:grid}
  .bd-v312-danger-heading>span{justify-self:start}
}


/* ==========================================================================
   VERSION 3.1.3 – MENU SPACING AND DARK-ONLY MODE
   ========================================================================== */

/* Dark mode is temporarily the only available appearance. */
html,
html.bd-dark,
body,
body.bd-release-3{
  color-scheme:dark;
  background:var(--bd-v2-bg)!important;
}

.bd-dark-toggle{
  display:none!important;
}

/* Prevent the menu panel from colliding with the fixed website header. */
@media(max-width:959px){
  #site-navigation.bd-v2-main-nav{
    top:0!important;
    padding-top:calc(104px + env(safe-area-inset-top))!important;
  }

  .bd-v312-menu-head{
    position:relative!important;
    top:auto!important;
    margin-top:0!important;
    padding:15px 2px!important;
    background:transparent!important;
  }

  /* The main hamburger becomes the visible top close button while open. */
  body.bd-mobile-menu-open .menu-toggle{
    position:fixed!important;
    top:calc(14px + env(safe-area-inset-top))!important;
    right:14px!important;
    z-index:10005!important;
  }

  body.bd-mobile-menu-open .menu-toggle .bd-menu-icon{
    display:none!important;
  }

  body.bd-mobile-menu-open .menu-toggle::before,
  body.bd-mobile-menu-open .menu-toggle::after{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    width:27px!important;
    height:3px!important;
    border-radius:3px!important;
    background:currentColor!important;
  }

  body.bd-mobile-menu-open .menu-toggle::before{
    transform:translate(-50%,-50%) rotate(45deg)!important;
  }

  body.bd-mobile-menu-open .menu-toggle::after{
    transform:translate(-50%,-50%) rotate(-45deg)!important;
  }

  /* Remove the second close button inside the drawer to avoid overlap. */
  .bd-v312-menu-close{
    display:none!important;
  }

  .bd-v312-menu-account{
    margin-top:2px!important;
  }

  /* Ensure the first card never sits under the drawer header. */
  .bd-v312-menu-group:first-of-type{
    margin-top:4px!important;
  }
}

/* Hard dark-mode correction for previously light surfaces. */
html:not(.bd-dark){
  background:#080b14!important;
}
html:not(.bd-dark) body,
html:not(.bd-dark) .section,
html:not(.bd-dark) main,
html:not(.bd-dark) .site-footer,
html:not(.bd-dark) .bd-v2-content-page,
html:not(.bd-dark) .bd-v2-community-page{
  background:var(--bd-v2-bg)!important;
  color:var(--bd-v2-text)!important;
}


/* ==========================================================================
   VERSION 3.1.4 – PRIVATE PERSONAL DATA
   ========================================================================== */

.bd-v314-privacy-note{
  margin-bottom:18px;
  padding:15px;
  border:1px solid rgba(32,164,103,.28);
  border-radius:14px;
  background:rgba(32,164,103,.07);
}
.bd-v314-privacy-note strong{
  display:block;
  color:var(--bd-v2-text);
}
.bd-v314-privacy-note p{
  margin:5px 0 0;
  color:var(--bd-v2-muted);
  font-size:12px;
  line-height:1.55;
}

.bd-v314-name-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.bd-v314-name-grid>div{
  display:grid;
  gap:7px;
}

.bd-v314-personal-data-card{
  max-width:820px;
  margin-inline:auto;
}

.bd-v314-visibility-option{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr);
  gap:11px;
  align-items:flex-start;
  padding:14px;
  border:1px solid var(--bd-v2-border);
  border-radius:14px;
  background:var(--bd-v2-surface-soft);
  cursor:pointer;
}
.bd-v314-visibility-option input{
  width:20px!important;
  height:20px!important;
  min-height:0!important;
  margin-top:2px;
}
.bd-v314-visibility-option strong,
.bd-v314-visibility-option small{
  display:block;
}
.bd-v314-visibility-option small{
  margin-top:4px;
  color:var(--bd-v2-muted);
  font-weight:600;
}

.bd-v314-private-summary{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:center;
  padding:12px 14px;
  border-left:4px solid var(--bd-v2-red);
  border-radius:12px;
  background:rgba(220,5,45,.06);
}
.bd-v314-private-summary span{
  padding:5px 8px;
  border-radius:999px;
  background:rgba(220,5,45,.12);
  color:var(--bd-v2-red);
  font-size:10px;
  font-weight:950;
  text-transform:uppercase;
}
.bd-v314-private-summary p{
  margin:0;
  color:var(--bd-v2-muted);
  font-size:12px;
}

@media(max-width:620px){
  .bd-v314-name-grid{
    grid-template-columns:1fr;
  }
}


/* Version 3.1.5 – registration confirmation on login */
.bd-v315-registration-success{
  padding:16px!important;
  border:1px solid rgba(32,164,103,.34)!important;
  border-radius:15px!important;
  background:rgba(32,164,103,.09)!important;
}
.bd-v315-registration-success strong{
  display:block;
  margin-bottom:5px;
  font-size:16px;
}
.bd-v315-registration-success p{
  margin:0;
  line-height:1.55;
}
.bd-v315-registration-success small{
  display:block;
  margin-top:8px;
  color:var(--bd-v2-muted);
}


/* Version 3.1.6 – verification resend */
.bd-v316-resend-box{
  margin-top:18px;
  border:1px solid var(--bd-v2-border);
  border-radius:14px;
  background:var(--bd-v2-surface-soft);
}
.bd-v316-resend-box summary{
  padding:14px 15px;
  color:var(--bd-v2-text);
  font-weight:900;
  cursor:pointer;
}
.bd-v316-resend-box form{
  display:grid;
  gap:9px;
  padding:0 15px 15px;
}
.bd-v316-resend-box small{
  color:var(--bd-v2-muted);
}
