/* ==========================================================
   DUST IN THE WIND 2.0
   BOARDSTATS – MINISTERIUMSREGISTER
   ========================================================== */

.smoke-stats{
  --ss-bg:#100805;
  --ss-deep:#0c0604;
  --ss-panel:#160d08;
  --ss-panel-soft:#24140c;
  --ss-line:#5a341d;
  --ss-line-soft:rgba(197,139,69,.20);
  --ss-gold:#c58b45;
  --ss-gold-light:#e0b36a;
  --ss-text:#ead0a1;
  --ss-muted:#c8a878;

  width:100%;
  margin:20px auto;

  color:var(--ss-text);

  box-sizing:border-box;
}

.smoke-stats *,
.smoke-stats *:before,
.smoke-stats *:after{
  box-sizing:border-box;
}

/* ==========================================================
   BANNER
   ========================================================== */

.smoke-stats-banner{
  display:block;

  width:100%;
  margin:0 0 16px;

  overflow:hidden;

  background:#100805;

  border:1px solid rgba(197,139,69,.35);
  border-bottom:3px solid #8a4e22;

  box-shadow:0 14px 30px rgba(0,0,0,.27);
}

.smoke-stats-banner img{
  display:block;

  width:100%;
  height:auto;

  margin:0;
  padding:0;

  border:0;
}

/* ==========================================================
   GRUNDKARTE
   ========================================================== */

.smoke-stats-card{
  position:relative;

  min-width:0;
  overflow:hidden;

  color:var(--ss-text);

  background:
    linear-gradient(
      110deg,
      rgba(197,139,69,.04),
      transparent 42%
    ),
    linear-gradient(
      135deg,
      #120906,
      #24140c 65%,
      #170b07
    );

  border:1px solid rgba(197,139,69,.34);
  border-left:4px solid #8a4e22;

  box-shadow:
    0 12px 26px rgba(0,0,0,.24),
    inset 0 1px rgba(255,255,255,.02);
}

.smoke-stats-cardhead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  min-height:48px;
  padding:10px 13px;

  background:
    linear-gradient(
      90deg,
      rgba(197,139,69,.075),
      transparent 58%
    ),
    var(--ss-panel);

  border-bottom:2px solid #8a4e22;
}

.smoke-stats-cardhead h3{
  margin:0;
  padding:0;

  color:var(--ss-gold-light);

  font-family:Cinzel,Georgia,serif;
  font-size:15px;
  font-weight:700;
  line-height:1.2;

  letter-spacing:.7px;
  text-transform:uppercase;
}

.smoke-stats-cardhead h3 a{
  color:inherit;
  text-decoration:none;
}

.smoke-stats-cardhead h3 a:hover{
  color:#f3ddb9;
}

.smoke-stats-cardhead > span{
  color:rgba(234,208,161,.24);

  font-family:Antonio,Arial,sans-serif;
  font-size:7px;
  font-weight:700;
  line-height:1;

  letter-spacing:1.7px;
  text-transform:uppercase;
}

.smoke-stats-cardbody{
  padding:13px;

  color:var(--ss-text);

  font-family:Spectral,Georgia,serif;
  font-size:12px;
  line-height:1.55;

  text-align:justify;
}

/* ==========================================================
   HAUPTGRID
   ========================================================== */

.smoke-stats-grid{
  display:grid;
  grid-template-columns:1.12fr 1fr 1fr;
  gap:14px;

  width:100%;
}

.smoke-stats-residents{
  grid-row:span 2;
}

.smoke-stats-online,
.smoke-stats-today{
  min-height:210px;
}

.smoke-stats-away,
.smoke-stats-newest,
.smoke-stats-credits{
  min-height:150px;
}

/* ==========================================================
   EINWOHNER
   ========================================================== */

.smoke-stats-gender{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;

  margin-bottom:13px;
}

.smoke-stats-genderbit{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  min-height:72px;
  padding:9px;

  background:rgba(8,4,3,.40);

  border:1px solid rgba(197,139,69,.17);
  border-top:2px solid #8a4e22;

  text-align:center;
}

.smoke-stats-number{
  color:var(--ss-text);

  font-family:Antonio,Arial,sans-serif;
  font-size:23px;
  font-weight:700;
  line-height:1;

  letter-spacing:1px;
}

.smoke-stats-genderbit small{
  display:block;

  margin-top:7px;

  color:#a98761;

  font-family:Antonio,Arial,sans-serif;
  font-size:8px;
  font-weight:700;
  line-height:1;

  letter-spacing:1.2px;
  text-transform:uppercase;
}

.smoke-stats-male{
  border-top-color:#688d89;
}

.smoke-stats-female{
  border-top-color:#9b6569;
}

.smoke-stats-groups{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
}

.smoke-stats-group{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;

  min-width:0;
  padding:7px 9px;

  color:#d9bd96;
  background:rgba(8,4,3,.33);

  border-left:3px solid #8a4e22;

  font-family:Antonio,Arial,sans-serif;
  font-size:9px;
  font-weight:700;
  line-height:1.25;

  letter-spacing:.5px;
  text-transform:uppercase;
}

.smoke-stats-group span{
  overflow:hidden;

  text-overflow:ellipsis;
  white-space:nowrap;
}

.smoke-stats-group strong{
  color:var(--ss-text);
  font-size:12px;
}

.smoke-group-gryffindor{
  border-left-color:#853c3c;
}

.smoke-group-hufflepuff{
  border-left-color:#b28337;
}

.smoke-group-ravenclaw{
  border-left-color:#415f7c;
}

.smoke-group-slytherin{
  border-left-color:#49684d;
}

.smoke-group-staff{
  border-left-color:#b7aa98;
}

.smoke-group-wizards{
  border-left-color:#697575;
}

.smoke-group-deatheaters{
  border-left-color:#65426f;
}

.smoke-group-order{
  border-left-color:#5f8f8f;
}

/* ==========================================================
   SCROLLBEREICHE
   ========================================================== */

.smoke-stats-scroll{
  height:156px;
  overflow:auto;

  scrollbar-width:thin;
  scrollbar-color:#8a5a31 #160d08;
}

.smoke-stats-scroll::-webkit-scrollbar{
  width:6px;
}

.smoke-stats-scroll::-webkit-scrollbar-track{
  background:#160d08;
}

.smoke-stats-scroll::-webkit-scrollbar-thumb{
  background:#8a5a31;
}

/* Plugininterne Onlinebox */

.smoke-stats .statswionlinebox{
  width:auto;
  height:auto;

  margin:0;
  padding:0;

  overflow:visible;

  color:inherit;
  background:transparent;

  font:inherit;
  text-align:inherit;
}

/* ==========================================================
   NEUSTER USER
   ========================================================== */

.smoke-stats-newestbody{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  min-height:100px;
  padding:14px;

  text-align:center;
}

.smoke-stats-newestbody i{
  margin:0 0 10px;

  color:var(--ss-gold);

  font-size:24px;
}

.smoke-stats-newestuser{
  color:var(--ss-text);

  font-family:Antonio,Arial,sans-serif;
  font-size:14px;
  line-height:1.45;

  letter-spacing:.5px;
}

.smoke-stats-newestuser a{
  color:var(--ss-gold-light);
  text-decoration:none;
}

/* ==========================================================
   BUTTON
   ========================================================== */

.smoke-stats-button,
.smoke-stats-headlink{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:28px;
  padding:5px 9px;

  color:var(--ss-muted);
  background:#24140c;

  border:1px solid rgba(197,139,69,.25);

  font-family:Antonio,Arial,sans-serif;
  font-size:9px;
  font-weight:700;
  line-height:1;

  letter-spacing:.8px;
  text-decoration:none;
  text-transform:uppercase;
}

.smoke-stats-button:hover,
.smoke-stats-headlink:hover{
  color:var(--ss-text);
  background:#3a2416;

  border-color:var(--ss-gold);
}

/* ==========================================================
   SCHWESTERBOARDS & STYLEWECHSLER
   ========================================================== */

.smoke-stats-secondary{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(250px,1fr);
  gap:14px;

  margin-top:14px;
}

.smoke-stats-sisterlist{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:8px;

  height:72px;
  padding:10px 12px;

  overflow-x:auto;
  overflow-y:hidden;

  scrollbar-width:thin;
  scrollbar-color:#8a5a31 #160d08;
}

.smoke-stats-sisterlist::-webkit-scrollbar{
  height:6px;
}

.smoke-stats-sisterlist::-webkit-scrollbar-track{
  background:#160d08;
}

.smoke-stats-sisterlist::-webkit-scrollbar-thumb{
  background:#8a5a31;
}

.smoke-stats-sisterlist a{
  flex:0 0 auto;

  display:block;
  padding:4px;

  background:#100805;

  border:1px solid rgba(197,139,69,.20);
}

.smoke-stats-sisterlist img{
  display:block;

  max-width:120px;
  height:40px;

  object-fit:cover;
}

.smoke-stats-stylechanger{
  display:flex;
  align-items:center;
  justify-content:center;

  min-height:72px;
  padding:12px;
}

.smoke-stats-stylechanger select{
  width:100%;
  max-width:260px;

  padding:8px 10px;

  color:var(--ss-text);
  background:#160d08;

  border:1px solid rgba(197,139,69,.28);
  border-radius:0;
}

/* ==========================================================
   RPG-STATISTIK
   ========================================================== */

.smoke-stats-rpg{
  margin-top:14px;
}

.smoke-stats-rpggrid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;

  padding:14px;
}

.smoke-stats-rpgbit{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  min-width:0;
  min-height:78px;
  padding:9px;

  color:var(--ss-text);
  background:rgba(8,4,3,.38);

  border:1px solid rgba(197,139,69,.16);
  border-top:2px solid #8a4e22;

  text-align:center;
}

.smoke-stats-rpgbit strong{
  display:block;

  max-width:100%;
  overflow:hidden;

  color:var(--ss-gold-light);

  font-family:Antonio,Arial,sans-serif;
  font-size:17px;
  font-weight:700;
  line-height:1.1;

  text-overflow:ellipsis;
}

.smoke-stats-rpgbit span{
  display:block;

  margin-top:6px;

  color:#a98761;

  font-family:Antonio,Arial,sans-serif;
  font-size:8px;
  font-weight:700;
  line-height:1.3;

  letter-spacing:1px;
  text-transform:uppercase;
}

.smoke-stats-rpgbit small{
  display:block;

  margin-top:3px;

  font-size:7px;
  letter-spacing:.4px;
}

/* ==========================================================
   ZITATE UND GERÜCHTE
   ========================================================== */

.smoke-stats-community{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;

  margin-top:14px;
}

.smoke-stats-community .smoke-stats-scroll{
  height:180px;
}

/* Zitat-Plugin neutralisieren */

.smoke-stats .gossipquote{
  margin:0;
  padding:12px;

  color:var(--ss-text);
  background:rgba(8,4,3,.34);

  border:1px solid rgba(197,139,69,.16);

  font-family:Spectral,Georgia,serif;
  font-size:15px;
  line-height:1.55;

  letter-spacing:.6px;
  text-align:center;
}

.smoke-stats .gossipbox{
  display:block;

  width:auto;
  margin:0;
}

.smoke-stats .gossipperson{
  float:none;

  margin:8px 0 0;

  color:#a98761;

  text-align:right;
}

.smoke-stats .goslink{
  margin:8px 0 0;

  font-size:10px;
  text-align:right;
}

.smoke-stats .goslink a{
  color:var(--ss-gold);
  text-decoration:none;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media screen and (max-width:950px){

  .smoke-stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .smoke-stats-residents{
    grid-row:auto;
  }

  .smoke-stats-rpggrid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media screen and (max-width:680px){

  .smoke-stats-grid,
  .smoke-stats-secondary,
  .smoke-stats-community{
    grid-template-columns:1fr;
  }

  .smoke-stats-groups{
    grid-template-columns:1fr;
  }

  .smoke-stats-rpggrid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .smoke-stats-cardhead{
    align-items:flex-start;
    flex-direction:column;
  }

  .smoke-stats-headlink{
    align-self:flex-start;
  }
}

@media screen and (max-width:420px){

  .smoke-stats-gender{
    grid-template-columns:1fr;
  }

  .smoke-stats-rpggrid{
    grid-template-columns:1fr;
  }
}