Zum Inhalt springen

MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Pixopedia
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(64 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 3: Zeile 3:
*******************************/
*******************************/
body {
body {
background-color: #060e12;
  background-color: #060e12;
padding-top: 5.5rem;
  padding-top: 5.5rem;


background-image:
  background-image:
radial-gradient(
    radial-gradient(
ellipse 10% 100% at calc(50% - 800px) center,
      ellipse 10% 100% at calc(50% - 800px) center,
#112733 20%,
      #112733 20%,
#060e12 75%,
      #060e12 75%,
transparent 100%
      transparent 100%
),
    ),
radial-gradient(
    radial-gradient(
ellipse 10% 100% at calc(50% + 800px) center,
      ellipse 10% 100% at calc(50% + 800px) center,
#112733 20%,
      #112733 20%,
#060e12 75%,
      #060e12 75%,
transparent 100%
      transparent 100%
);
    );


background-repeat: no-repeat;
  background-repeat: no-repeat;
background-size: auto 100%, auto 100%;
  background-size: auto 100%, auto 100%;
background-attachment: fixed;
  background-attachment: fixed;
}
}


Zeile 29: Zeile 29:
*******************************/
*******************************/
.mw-page-container {
.mw-page-container {
background-color: #060e1275 !important;
  background-color: #060e1275 !important;
background-repeat: no-repeat !important;
  background-repeat: no-repeat !important;
background-size: 100% 100%, 100% 100%;
  background-size: 100% 100%, 100% 100%;


border-bottom-left-radius: 30px !important;
  border-bottom-left-radius: 30px !important;
border-bottom-right-radius: 30px !important;
  border-bottom-right-radius: 30px !important;
padding: 20px !important;
  padding: 20px !important;
margin: 0 auto !important;
  margin: 0 auto !important;
max-width: 1600px;
  max-width: 1600px;
margin-top: -4rem;
  margin-top: -4rem;
}
}


.mw-page-container .mw-content-container {
.mw-page-container .mw-content-container {
background: transparent !important;
  background: transparent !important;
}
}


Zeile 49: Zeile 49:
*******************************/
*******************************/
#pixo-custom-header {
#pixo-custom-header {
position: fixed;
  position: fixed;
top: 0;
  top: 0;
left: 0;
  left: 0;
right: 0;
  right: 0;
height: 5.5rem;
  height: 5.5rem;
z-index: 1000;
  z-index: 1000;
background: transparent;
  background: transparent;
}
}


/* Inhalt des Headers auf Containerbreite begrenzen */
/* Inhalt des Headers auf Containerbreite begrenzen */
#pixo-custom-header-inner {
#pixo-custom-header-inner {
box-sizing: border-box;
  box-sizing: border-box;
max-width: 1600px;
  max-width: 1600px;
margin: 0 auto;
  margin: 0 auto;
padding: 0 3rem;
  padding: 0 3rem;
height: 100%;
  height: 100%;
display: flex;
  display: flex;
align-items: center;
  align-items: center;
background-color: #060e12f0;
  background-color: #060e12f0;
border-bottom: 1px solid #112733;
  border-bottom: 1px solid #112733;
backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
border-bottom-left-radius: 30px;
  border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
  border-bottom-right-radius: 30px;
}
}


Zeile 78: Zeile 78:
#pixo-custom-header-center,
#pixo-custom-header-center,
#pixo-custom-header-right {
#pixo-custom-header-right {
flex: 1 1 0;
  flex: 1 1 0;
display: flex;
  display: flex;
align-items: center;
  align-items: center;
gap: .75rem;
  gap: .75rem;
}
}


#pixo-custom-header-left {
#pixo-custom-header-left {
justify-content: flex-start;
  justify-content: flex-start;
}
}


#pixo-custom-header-center {
#pixo-custom-header-center {
justify-content: center;
  justify-content: center;
}
}


#pixo-custom-header-right {
#pixo-custom-header-right {
justify-content: flex-end;
  justify-content: flex-end;
}
}


/* Suchbox optional etwas begrenzen, falls im Custom-Header verwendet */
/* Suchbox optional etwas begrenzen, falls im Custom-Header verwendet */
#pixo-custom-header-left .vector-search-box-vue {
#pixo-custom-header-left .vector-search-box-vue {
max-width: 260px;
  max-width: 260px;
}
}


Zeile 105: Zeile 105:
*******************************/
*******************************/
.pixo-header-icon {
.pixo-header-icon {
min-width: 2.25rem;
  min-width: 2.25rem;
height: 2.25rem;
  height: 2.25rem;
border-radius: 999px;
  border-radius: 999px;
display: inline-flex;
  display: inline-flex;
align-items: center;
  align-items: center;
justify-content: center;
  justify-content: center;
padding: 0 .6rem;
  padding: 0 .6rem;
font-size: 0.9rem;
  font-size: 0.9rem;
text-decoration: none;
  text-decoration: none;
border: none;
  border: none;
cursor: pointer;
  cursor: pointer;
}
}


Zeile 122: Zeile 122:
.vector-menu.mw-portlet.pixo-header-icon,
.vector-menu.mw-portlet.pixo-header-icon,
.vector-dropdown.vector-user-menu.vector-button-flush-right.pixo-header-icon {
.vector-dropdown.vector-user-menu.vector-button-flush-right.pixo-header-icon {
background: linear-gradient(90deg, #182436 0%, #263b57 100%);
  background: linear-gradient(90deg, #182436 0%, #263b57 100%);
color: #e5f3ff;
  color: #e5f3ff;
border: 1px solid #243242;
  border: 1px solid #243242;
}
}


Zeile 131: Zeile 131:
.vector-menu.mw-portlet.pixo-header-icon:hover,
.vector-menu.mw-portlet.pixo-header-icon:hover,
.vector-dropdown.vector-user-menu.vector-button-flush-right.pixo-header-icon:hover {
.vector-dropdown.vector-user-menu.vector-button-flush-right.pixo-header-icon:hover {
background: linear-gradient(90deg, #22324a 0%, #314868 100%);
  background: linear-gradient(90deg, #22324a 0%, #314868 100%);
}
}


/* Logo-Link im Header etwas anpassen */
/* Logo-Link im Header etwas anpassen */
#pixo-custom-header-center .mw-logo {
#pixo-custom-header-center .mw-logo {
margin: 0;
  margin: 0;
display: flex;
  display: flex;
align-items: center;
  align-items: center;
  height: 3.15rem !important;
  width: 4rem !important;
}
 
/* Vector 2022: Icon-Größe übersteuern */
#pixo-custom-header-center .mw-logo-icon,
#pixo-custom-header-center .mw-logo-icon img {
  width: 4rem !important;
  height: 3.15rem !important;
  max-width: 100% !important;
  max-height: 100% !important;
}
 
/** Padding bei externen Links entfernen **/
a.external {
  padding: 0 !important;
  background: none !important;
}
}


Zeile 144: Zeile 161:
Pixo-Kacheln (Spiel-Grid)
Pixo-Kacheln (Spiel-Grid)
======================================== */
======================================== */
/* Grid-Container für Start-Kacheln */
/* Basis-Grid: flexible Spalten */
.pixo-grid {
.pixo-grid {
display: grid;
  display: grid;
grid-template-columns: repeat(3, 1fr);
  grid-template-columns: repeat(3, 1fr);
gap: 16px;
  width: 100%;
width: 100%;
  gap: 1rem;
justify-content: center; /* zentriert das Grid, wenn es schmaler ist */
  justify-content: center; /* Inhalt immer zentrieren, wenn weniger Spalten voll werden */
}
}


/* BASIS-KARTE */
.pixo-card {
.pixo-card {
display: block;
  display: block;
width: 100%;
  width: 100%;
min-height: 105%;
  max-width: 420px;
margin: 0;
  min-height: 105%;
border-radius: 25px;
  margin: 0 auto;
background: #31313131;
  border-radius: 25px;
border: 1px solid #f0f0f099;
  background: #31313131;
box-shadow: 0 5px 16px #00000080;
  border: 1px solid #f0f0f099;
overflow: hidden;
  box-shadow: 0 5px 16px #00000080;
font-family: inherit;
  overflow: hidden;
flex-direction: column; /* Links untereinander */
  font-family: inherit;
align-items: center; /* horizontal zentrieren */
  flex-direction: column;
text-align: center; /* Text in den Links zentrieren */
  align-items: center;
gap: 0.25rem; /* Abstand zwischen Links */
  text-align: center;
  gap: 0.25rem;
}
}


/* Normale Karte mit Hero-Bild */
.pixo-card-hero {
.pixo-card-hero {
position: relative;
  position: relative;
width: 100%;
  width: 100%;
height: 150px;
  height: 150px;
background: transparent;
  background: transparent;
overflow: hidden;
  overflow: hidden;
}
}


/* Bild im Hero-Bereich */
.pixo-card-hero img {
.pixo-card-hero img {
width: 100%;
  display: block;
height: 180px;
  width: 100%;
object-fit: cover;
  height: 180px;
border-radius: 20px;
  object-fit: cover;
background: transparent;
  border-radius: 20px;
display: block;
  background: transparent;
}
}


/* Karten OHNE Hero-Bild */
.pixo-card--nohero .pixo-card-hero {
.pixo-card--nohero .pixo-card-hero {
height: auto; /* keine feste Höhe */
  height: auto;
padding: 0;
  padding: 0;
margin: 0;
  margin: 0;
border-radius: 20px;
  border-radius: 20px;
background: #31313131;
  background: #31313131;
border: 0;
  border: 0;
}
}


/* Falls irgendwo Standard-Rand auf Bildern sitzt, hier nochmal hart entfernen */
.pixo-card-hero a,
.pixo-card-hero a,
.pixo-card-hero img {
.pixo-card-hero img {
border: 0 !important;
  border: 0 !important;
margin: 0 !important;
  margin: 0 !important;
padding: 0 !important;
  padding: 0 !important;
background: transparent !important;
  background: transparent !important;
box-shadow: none !important;
  box-shadow: none !important;
}
}
/* Schwarzer Balken unter dem Hero-Bild */
 
.pixo-card-title-bar {
.pixo-card-title-bar {
display: flex;
  display: flex;
align-items: center;
  align-items: center;
justify-content: flex-end;
  justify-content: flex-end;
width: 100%;
  width: 100%;
height: 30px;
  height: 30px;
background: #0a0a0ab3;
  background: #0a0a0ab3;
padding: 6px 12px;
  padding: 6px 12px;
box-sizing: border-box;
  box-sizing: border-box;
}
}


/* Titel rechtsbündig auf der Title-Bar */
.pixo-card-title-text {
.pixo-card-title-text {
position: static;
  position: static;
display: block;
  display: block;
font-size: 1.3rem;
  font-size: 1.3rem;
font-weight: 700;
  font-weight: 700;
color: #fff;
  color: #fff;
text-shadow: 0 0 4px #000000e6;
  text-shadow: 0 0 4px #000000e6;
white-space: nowrap;
  white-space: nowrap;
padding: 0px 0px 2px 0px;
  padding: 0px 0px 2px 0px;
text-align: right;
  text-align: right;
}
}


.pixo-card-hero-inner {
.pixo-card-hero-inner {
display: inline-block;
  display: inline-block;
}
}
.pixo-card-body ul {
.pixo-card-body ul {
list-style: none; /* keine Punkte */
  list-style: none;
margin: 0;
  margin: 0;
padding: 0;
  padding: 0;
}
}


.pixo-card-body li {
.pixo-card-body li {
margin: 0.1rem 0;
  margin: 0.1rem 0;
}
}


/* Einzelne Kachel zentriert über die mittlere Spalte setzen */
/* genau 1 Kachel: mittlere Spalte, zentriert */
.pixo-grid > .pixo-card:only-child {
.pixo-grid > .pixo-card:only-child {
grid-column: 2 / 3; /* mittlere von 3 Spalten */
  grid-column: 2 / 3;
  justify-self: center;
}
}


Zeile 255: Zeile 268:
* Hunt Turnier Infobox – Layout & Struktur
* Hunt Turnier Infobox – Layout & Struktur
*********************************************/
*********************************************/
.hunt-infobox.fo-nttax-infobox {
.hunt-infobox.fo-nttax-infobox {
float: right;
  float: right;
clear: right;
  clear: right;
width: 320px;
  width: 320px;
max-width: 100%;
  max-width: 100%;
margin: 0 0 1em 1em;
  margin: 0 0 1em 1em;
/* margin-bottom: 1.5rem; */
  box-sizing: border-box;
box-sizing: border-box;
  border-radius: 12px;
border-radius: 12px;
  overflow: hidden;
overflow: hidden;
  font-size: 0.9rem;
font-size: 0.9rem;
  line-height: 1.4;
line-height: 1.4;
  border: 1px solid var(--hunt-infobox-border-color);
border: 1px solid var(--hunt-infobox-border-color);
  background: var(--hunt-infobox-bg);
background: var(--hunt-infobox-bg);
  box-shadow: 0 8px 24px var(--hunt-infobox-shadow-color);
box-shadow: 0 8px 24px var(--hunt-infobox-shadow-color);
}
}


/* Kopf: Titel + Bild */
/* Kopf: Titel + Bild */
.hunt-infobox-header {
.hunt-infobox-header {
display: flex;
  display: flex;
flex-direction: column;
  flex-direction: column;
align-items: stretch;
  align-items: stretch;
background: var(--hunt-infobox-header-bg);
  background: var(--hunt-infobox-header-bg);
color: var(--hunt-infobox-header-text);
  color: var(--hunt-infobox-header-text);
}
}


.hunt-infobox-title {
.hunt-infobox-title {
padding: 8px 12px;
  padding: 8px 12px;
text-align: center;
  text-align: center;
font-size: 1.1rem;
  font-size: 1.1rem;
font-weight: 700;
  font-weight: 700;
text-transform: uppercase;
  text-transform: uppercase;
letter-spacing: 0.03em;
  letter-spacing: 0.03em;
margin: 0 !important;
  margin: 0 !important;
background: transparent !important;
  background: transparent !important;
border: none !important;
  border: none !important;
box-shadow: none !important;
  box-shadow: none !important;
}
}


/* Bildbereich – feste Höhe ~30% der Infobox */
.hunt-infobox-image {
.hunt-infobox-image {
position: relative;
  position: relative;
padding: 0;
  padding: 0;
text-align: center;
  text-align: center;
background: var(--hunt-infobox-header-image-bg);
  background: var(--hunt-infobox-header-image-bg);
height: 30%; /* grob 30% der Box-Höhe */
  height: 30%;
min-height: 90px; /* Fallback für sehr kleine Boxen */
  min-height: 90px;
}
}


/* Bild selbst skalieren und zentrieren */
.hunt-infobox-image img {
.hunt-infobox-image img {
max-width: 100%;
  max-width: 100%;
max-height: 100%;
  max-height: 100%;
height: 100%;
  height: 100%;
width: auto;
  width: auto;
object-fit: contain;
  object-fit: contain;
border-radius: 0;
  border-radius: 0;
box-shadow: none;
  box-shadow: none;
display: block;
  display: block;
margin: 0 auto;
  margin: 0 auto;
}
}


/* Untertitel direkt unter dem Bild */
.hunt-infobox-subtitle {
.hunt-infobox-subtitle {
padding: 4px 12px 6px 12px;
  padding: 4px 12px 6px 12px;
text-align: center;
  text-align: center;
font-size: 0.85rem;
  font-size: 0.85rem;
font-weight: 600;
  font-weight: 600;
text-transform: uppercase;
  text-transform: uppercase;
letter-spacing: 0.08em;
  letter-spacing: 0.08em;
color: var(--hunt-infobox-label-text);
  color: var(--hunt-infobox-label-text);
background: rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.25);
}
}


/* Logo in der Infobox rahmenlos, wie bei Liquipedia */
.hunt-infobox-image a,
.hunt-infobox-image a,
.hunt-infobox-image a img {
.hunt-infobox-image a img {
border: none !important;
  border: none !important;
background: transparent !important;
  background: transparent !important;
box-shadow: none !important;
  box-shadow: none !important;
}
}


/* optional: Logo optisch nicht als Link */
.hunt-infobox-image a {
.hunt-infobox-image a {
pointer-events: none;
  pointer-events: none;
cursor: default;
  cursor: default;
}
}


/* Generelle Abschnittsbox */
.hunt-infobox-section {
.hunt-infobox-section {
padding: 6px 10px;
  padding: 6px 10px;
}
 
/* Discord-Icon vor Discord-Einladungslinks (Infobox & allgemein) */
.hunt-infobox a.external[href*="discord.gg"]::before,
.hunt-infobox a.external[href*="discord.com"]::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: text-bottom;
  background: url("https://favicon.im/discord.com") no-repeat center center;
  background-size: contain;
}
}


/* Zeilen: Label links, Wert rechts */
 
.hunt-infobox-row {
.hunt-infobox-row {
display: grid;
  display: grid;
grid-template-columns: 40% 60%;
  grid-template-columns: 1fr 1fr;  
column-gap: 6px;
  column-gap: 1.5rem;            
padding: 4px 4px;
  align-items: flex-start;
align-items: flex-start;
  padding: 4px 4px;
}
}


/* Alternierende Zeilen (Liquipedia-like) */
/* Alternierende Zeilen */
.hunt-infobox-section .hunt-infobox-row:nth-child(odd) {
.hunt-infobox-section .hunt-infobox-row:nth-child(odd) {
background: var(--hunt-infobox-row-bg-odd);
  background: var(--hunt-infobox-row-bg-odd);
}
}
.hunt-infobox-section .hunt-infobox-row:nth-child(even) {
.hunt-infobox-section .hunt-infobox-row:nth-child(even) {
background: var(--hunt-infobox-row-bg-even);
  background: var(--hunt-infobox-row-bg-even);
}
}


/* Label-Spalte */
/* Label-Spalte */
.hunt-infobox-label {
.hunt-infobox-label {
font-weight: 600;
  font-weight: 600;
text-align: right;
  text-align: right;
padding-right: 4px;
  color: var(--hunt-infobox-label-text);
color: var(--hunt-infobox-label-text);
  white-space: nowrap;
white-space: nowrap;
}
}


/* Wert-Spalte */
/* Wert-Spalte */
.hunt-infobox-value {
.hunt-infobox-value {
text-align: left;
  text-align: left;
color: var(--hunt-infobox-value-text);
  color: var(--hunt-infobox-value-text);
border: none !important;
  border: none !important;
box-shadow: none !important;
  box-shadow: none !important;
background: transparent !important;
  background: transparent !important;
}
}


/* Links innerhalb der Infobox */
/* Links innerhalb der Infobox */
.hunt-infobox a {
.hunt-infobox a {
color: var(--hunt-infobox-link-color);
  color: var(--hunt-infobox-link-color);
text-decoration: none;
  text-decoration: none;
font-weight: 500;
  font-weight: 500;
}
}
.hunt-infobox a:hover {
.hunt-infobox a:hover {
text-decoration: underline;
  text-decoration: underline;
color: var(--hunt-infobox-link-hover);
  color: var(--hunt-infobox-link-hover);
}
 
/* Link-Zeile (Discord etc.) etwas luftiger */
.hunt-infobox-section-links .hunt-infobox-row {
align-items: center;
}
 
.hunt-infobox-section-links .hunt-infobox-value {
display: flex;
flex-wrap: wrap;
gap: 4px;
align-items: center;
}
 
.hunt-infobox-link img {
vertical-align: middle;
}
}
/* Alte Tabellen-Infobox-Reste für .hunt-infobox neutralisieren */
.hunt-infobox.fo-nttax-infobox table,
.hunt-infobox.fo-nttax-infobox tr,
.hunt-infobox.fo-nttax-infobox td,
.hunt-infobox.fo-nttax-infobox th {
border: none !important;
background: transparent !important;
padding: 0 !important;
margin: 0 !important;
}
/* Caster-Liste */
.hunt-infobox-casterlist {
margin: 0;
padding-left: 1.2em;
}
.hunt-infobox-casterlist li {
margin: 0;
}
/* Caster-Abschnitt ohne extra Box */
.hunt-infobox-section:last-of-type {
padding: 6px 10px !important;
background: transparent !important;
border-top: 1px solid transparent !important;
box-shadow: none !important;
}
/* Mobile/kleine Screens: Infobox nicht zu klein, unten statt rechts */
@media (max-width: 800px) {
.hunt-infobox.fo-nttax-infobox {
float: none;
margin: 0 auto 1em auto;
width: 100%;
max-width: 420px;
}
}


/*********************************************
/*********************************************
* Hunt-Turnier Tabellen
* Hunt-Turnier Tabellen (Styling)
*********************************************/
*********************************************/
.hunt-table {
.hunt-table {
width: 50%; /* nur halbe Content-Breite */
  width: 80%;
border-collapse: separate;
  max-width: 100%;
border-spacing: 0; /* kein Abstand zwischen Zeilen */
  border-collapse: separate;
background: transparent;
  border-spacing: 0;
margin-top: 0.5rem;
  background: transparent;
border: none; /* kein Rahmen um die gesamte Tabelle */
  margin: 0.5rem auto 0;
  border: none;
}
}


Zeile 469: Zeile 428:
.hunt-table th,
.hunt-table th,
.hunt-table td {
.hunt-table td {
padding: 8px 12px; /* etwas mehr Innenabstand pro Zeile */
  padding: 8px 12px;
border: none;
  border: none;
color: #f5f7fb;
  color: #f5f7fb;
}
}


/* Headerzeile wie Infobox-Titel */
/* Headerzeile wie Infobox-Titel */
.hunt-table th {
.hunt-table th {
background: linear-gradient(90deg, #182436 0%, #263b57 100%);
  background: radial-gradient(circle at center top, #070d15 40%, #182436 100%);
color: #ffffff;
  color: #ffffff;
font-weight: 700;
  font-weight: 700;
text-align: left;
  text-align: left;
}
}


/* Zeilen-Hintergrund abwechselnd wie Infobox */
/* Zeilen-Hintergrund abwechselnd */
.hunt-table tr:nth-child(odd) td {
.hunt-table tr:nth-child(odd) td {
background: rgba(255, 255, 255, 0.02);
  background: rgba(255, 255, 255, 0.02);
}
}
.hunt-table tr:nth-child(even) td {
.hunt-table tr:nth-child(even) td {
background: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.06);
}
}


/* „Rahmen“ nur um jede Zeile durch Hintergrund + abgerundete Ecken */
/* „Rahmen“ nur um jede Zeile */
.hunt-table tr td:first-child {
.hunt-table tr td:first-child {
border-top-left-radius: 8px;
  border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.hunt-table tr td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
}


.hunt-table tr td:last-child {
/* Twitch-Icon vor allen externen Links zu twitch.tv einblenden */
border-top-right-radius: 8px;
.mw-body a.external[href*="twitch.tv/"]::before {
border-bottom-right-radius: 8px;
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: text-bottom;
    background: url("https://static.twitchcdn.net/assets/favicon-32-e29e246c157142c94346.png") no-repeat center center;
    background-size: contain;
}
}


Zeile 505: Zeile 474:
* Hunt Turnier Infobox – Farben & Theme
* Hunt Turnier Infobox – Farben & Theme
*********************************************/
*********************************************/
:root {
:root {
/* Grundbox */
  --hunt-infobox-bg: #060e12f0;
--hunt-infobox-bg: #060e12f0; /* dunkles semi-transparentes Panel */
  --hunt-infobox-border-color: #243242;
--hunt-infobox-border-color: #243242;
  --hunt-infobox-shadow-color: rgba(0, 0, 0, 0.5);
--hunt-infobox-shadow-color: rgba(0, 0, 0, 0.5);
  --hunt-infobox-header-bg: radial-gradient(circle at top, #182436 0%, #263b57 100%);
 
  --hunt-infobox-header-text: #ffffff;
/* Header */
  --hunt-infobox-header-image-bg: #060e12;
--hunt-infobox-header-bg: linear-gradient(90deg, #182436 0%, #263b57 100%);
  --hunt-infobox-image-shadow: rgba(0, 0, 0, 0.6);
--hunt-infobox-header-text: #ffffff;
  --hunt-infobox-row-bg-odd: rgba(255, 255, 255, 0.02);
--hunt-infobox-header-image-bg: #060e12;
  --hunt-infobox-row-bg-even: rgba(255, 255, 255, 0.06);
 
  --hunt-infobox-label-text: #c3d4e6;
/* Bildschatten */
  --hunt-infobox-value-text: #f5f7fb;
--hunt-infobox-image-shadow: rgba(0, 0, 0, 0.6);
  --hunt-infobox-link-color: #6cb6ff;
 
  --hunt-infobox-link-hover: #9dd1ff;
/* Zeilen-Hintergründe */
--hunt-infobox-row-bg-odd: rgba(255, 255, 255, 0.02);
--hunt-infobox-row-bg-even: rgba(255, 255, 255, 0.06);
 
/* Textfarben */
--hunt-infobox-label-text: #c3d4e6;
--hunt-infobox-value-text: #f5f7fb;
 
/* Links */
--hunt-infobox-link-color: #6cb6ff;
--hunt-infobox-link-hover: #9dd1ff;
}
 
/*********************************************
* Hunt Turnier Portal-Boxen (3-Spalten-Layout)
*********************************************/
 
.hunt-portal-row {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
 
.hunt-portal-box {
flex: 1 1 0;
min-width: 0;
border-radius: 12px;
box-shadow: 0 6px 18px rgba(0,0,0,0.6);
background: #060e12f0;
border: 1px solid #243242;
overflow: hidden;
font-size: 0.9rem;
position: relative;
}
 
/* Titel-Leiste – gleicher Verlauf wie Infobox/Tabellen-Header */
.hunt-portal-box-title {
padding: 6px 10px;
text-align: center;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #ffffff;
background: linear-gradient(90deg, #182436 0%, #263b57 100%);
}
 
/* Inhalt */
.hunt-portal-box-body {
padding: 8px 16px; /* etwas mehr Innenabstand */
}
 
/* UL/LI als normale Aufzählung, Marker klar innerhalb der Box */
.hunt-portal-box-body ul {
margin: 0 !important;
padding-left: .75rem !important;
list-style-position: outside;
list-style-type: square;
}
 
.hunt-portal-box-body li {
margin: 0.15rem 0;
}
 
/* Links im Portal */
.hunt-portal-box a {
color: var(--hunt-infobox-link-color, #6cb6ff);
text-decoration: none;
font-weight: 500;
}
 
.hunt-portal-box a:hover {
text-decoration: underline;
color: var(--hunt-infobox-link-hover, #9dd1ff);
}
 
/* Mobile: Boxen untereinander */
@media (max-width: 900px) {
.hunt-portal-row {
flex-direction: column;
}
}
}


/*****************************
/*****************************
* HuntPixo-Regeln Box
* HuntPixo-Regeln Box (Styling)
****************************/
*****************************/
 
.huntpixo-regeln {
.huntpixo-regeln {
border: 1px solid #333;
  border: 1px solid #333;
border-radius: 6px;
  border-radius: 6px;
padding: 1rem 1.2rem 1.1rem 1.2rem;
  padding: 1rem 1.2rem 1.1rem 1.2rem;
margin: 1.5rem 0;
  margin: 1.5rem 0;
background: transparent;
  background: transparent;
color: #f5f5f5;
  color: #f5f5f5;
box-shadow: 0 0 10px rgba(0,0,0,0.4);
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
font-size: 0.95rem;
  font-size: 0.95rem;
}
}


/* Hauptüberschrift im Block */
/* Hauptüberschrift im Block */
.huntpixo-regeln-header {
.huntpixo-regeln-header {
font-size: 1.2rem;
  font-size: 1.2rem;
font-weight: 600;
  font-weight: 600;
text-transform: uppercase;
  text-transform: uppercase;
letter-spacing: 0.06em;
  letter-spacing: 0.06em;
margin-bottom: 0.75rem;
  margin-bottom: 0.75rem;
border-bottom: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
padding-bottom: 0.35rem;
  padding-bottom: 0.35rem;
}
}


/* Sekundäre Abschnittsüberschriften */
/* Sekundäre Abschnittsüberschriften */
.huntpixo-section-header {
.huntpixo-section-header {
margin-top: 1.2rem;
  margin-top: 1.2rem;
margin-bottom: 0.4rem;
  margin-bottom: 0.4rem;
font-weight: 600;
  font-weight: 600;
font-size: 1rem;
  font-size: 1rem;
text-transform: uppercase;
  text-transform: uppercase;
letter-spacing: 0.04em;
  letter-spacing: 0.04em;
color: #ffd77a;
  color: #ffd77a;
}
}


/* Grid für die allgemeinen UND spezifischen Regeln (Label/Value) */
/* Grid für Regeln & Info-Zeilen */
.huntpixo-regeln-grid {
.huntpixo-regeln-grid,
display: grid;
.huntpixo-info-grid {
grid-template-columns: 1fr;
  display: grid;
gap: 0.35rem;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}
}


/* Einzelne Zeile */
/* Einzelne Zeile */
.huntpixo-row {
.huntpixo-row {
display: grid;
  display: grid;
grid-template-columns: minmax(8rem, 10rem) minmax(0, 1fr);
  grid-template-columns: minmax(8rem, 10rem) minmax(0, 1fr);
column-gap: 0.75rem;
  column-gap: 0.75rem;
row-gap: 0.1rem;
  row-gap: 0.1rem;
align-items: flex-start;
  align-items: flex-start;
padding: 0.25rem 0.4rem;
  padding: 0.25rem 0.4rem;
border-radius: 4px;
  border-radius: 4px;
background: rgba(255,255,255,0.02);
  background: rgba(255,255,255,0.02);
}
}
.huntpixo-row:nth-child(odd) {
.huntpixo-row:nth-child(odd) {
background: rgba(255,255,255,0.035);
  background: rgba(255,255,255,0.035);
}
}


/* Label-Spalte */
/* Label-Spalte */
.huntpixo-label {
.huntpixo-label {
font-weight: 600;
  font-weight: 600;
color: #e0e0e0;
  color: #e0e0e0;
white-space: nowrap;
  white-space: nowrap;
}
}


/* Wert-Spalte */
/* Wert-Spalte */
.huntpixo-value {
.huntpixo-value {
color: #f5f5f5;
  color: #f5f5f5;
}
}


/* (Alt) Turnierspezifische Regeln als Liste – falls irgendwo noch genutzt */
/* Einleitungs-Zeile: keine Label-Spalte */
.huntpixo-regeln-spezifisch {
.huntpixo-row-intro .huntpixo-label {
padding: 0.3rem 0.4rem 0.4rem 0.4rem;
  display: none;
background: rgba(255,255,255,0.02);
border-radius: 4px;
}
}
 
.huntpixo-row-intro {
.huntpixo-regeln-spezifisch ul,
  grid-template-columns: minmax(0, 1fr);
.huntpixo-regeln-spezifisch ol {
margin: 0.1rem 0 0.1rem 1.3rem;
}
}


/* Punkte-Box */
/* Punkte-Box */
.huntpixo-punkte-box {
.huntpixo-punkte-box {
padding: 0.5rem 0.6rem;
  padding: 0.5rem 0.6rem;
border-radius: 4px;
  border-radius: 4px;
background: radial-gradient(circle at left top, #070d15 40%, #182436 100%);
  background: radial-gradient(circle at center top, #070d15 40%, #182436 100%);
border: 1px solid rgba(180,255,180,0.25);
  border: 1px solid rgba(180,255,180,0.25);
color: #eafbe4;
  color: #eafbe4;
}
}
/* Wrapper für den Wikitext in punktevergabe */
.huntpixo-punkte-list {
.huntpixo-punkte-list {
display: block;
  display: block;
}
}
.huntpixo-punkte-list p {
.huntpixo-punkte-list p {
margin: 0.15rem 0;
  margin: 0.15rem 0;
}
}


/* Option: Labels in punktevergabe fett (wenn du '''Label:''' verwendest) */
/* Leitfaden-Box */
.huntpixo-punkte-list b {
font-weight: 600;
}
 
/* Leitfaden-Box – JS-gesteuert, immer sichtbar */
.huntpixo-leitfaden-box {
.huntpixo-leitfaden-box {
   margin-top: 1rem;
   margin-top: 1rem;
   margin-bottom: 2rem;  
   margin-bottom: 2rem;
   border-radius: 4px;
   border-radius: 4px;
   background: #05080d;
   background: #05080d;
Zeile 719: Zeile 593:
   box-shadow: 0 0 6px rgba(0,0,0,0.6);
   box-shadow: 0 0 6px rgba(0,0,0,0.6);
}
}
/* Kopf wie im Screenshot (eingeklappter Zustand) */
.huntpixo-leitfaden-kopf {
.huntpixo-leitfaden-kopf {
position: relative;
  position: relative;
padding: 0.45rem 0.9rem 0.45rem 1.8rem;
  padding: 0.45rem 0.9rem 0.45rem 1.8rem;
cursor: pointer;
  cursor: pointer;
font-weight: 600;
  font-weight: 600;
text-transform: uppercase;
  text-transform: uppercase;
letter-spacing: 0.05em;
  letter-spacing: 0.05em;
font-size: 0.8rem;
  font-size: 0.8rem;
color: #dfe6f3;
  color: #dfe6f3;
border-bottom: 1px solid #0c1119;
  border-bottom: 1px solid #0c1119;
background: linear-gradient(90deg, #070d15 40%, #182436);
  background: radial-gradient(circle at center top, #070d15 40%, #182436);
}
}


/* Pfeil links */
.huntpixo-leitfaden-kopf::before {
.huntpixo-leitfaden-kopf::before {
content: "▶";
  content: "▶";
position: absolute;
  position: absolute;
left: 0.8rem;
  left: 0.8rem;
top: 50%;
  top: 50%;
transform: translateY(-50%);
  transform: translateY(-50%);
font-size: 0.75rem;
  font-size: 0.75rem;
color: #dfe6f3;
  color: #dfe6f3;
transition: transform 0.15s ease-out;
  transition: transform 0.15s ease-out;
}
.huntpixo-leitfaden-inhalt {
  display: none;
  padding: 0.55rem 0.9rem 0.7rem 0.9rem;
  background: #0e1620;
  font-size: 0.9rem;
}
.huntpixo-leitfaden-open .huntpixo-leitfaden-kopf::before {
  transform: translateY(-50%) rotate(90deg);
}
.huntpixo-leitfaden-open .huntpixo-leitfaden-inhalt {
  display: block;
}
}


/* Inhalt – standardmäßig versteckt, wird per JS-Klasse angezeigt */
/*********************************************
.huntpixo-leitfaden-inhalt {
* Turnier-Seiten-Layout (nur Positionierung)
display: none;
*********************************************/
padding: 0.55rem 0.9rem 0.7rem 0.9rem;
 
background: #0e1620;
/* Grid-Container für Regelbox (links) + Infobox (rechts) */
font-size: 0.9rem;
.hunt-tournament-layout {
  display: grid;
  grid-template-columns: minmax(0, 70%) minmax(0, 30%);
  column-gap: 6rem;
  align-items: flex-start;
  margin-top: 1rem;
}
 
/* Infobox immer in Spalte 2, erste Zeile */
.hunt-tournament-layout > .hunt-infobox.fo-nttax-infobox {
  grid-column: 2;
  grid-row: 1;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none;
  margin: 1.5rem 0 0 auto;
}
}


/* Zustand „geöffnet“, JS setzt .huntpixo-leitfaden-open auf die Box */
/* Regelbox in Spalte 1, erste Zeile */
.huntpixo-leitfaden-open .huntpixo-leitfaden-kopf::before {
.hunt-tournament-layout > .huntpixo-regeln {
transform: translateY(-50%) rotate(90deg);
  grid-column: 1;
  grid-row: 1;
}
}


.huntpixo-leitfaden-open .huntpixo-leitfaden-inhalt {
 
display: block;
 
/*********************************************
* Hunt Turnier Portal-Boxen (Portal:Turniere)
*********************************************/
.hunt-portal-box {
  width: 80%;
  max-width: 100%;
  margin: 2rem auto 6rem auto;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
}


/* Wrapper für Leitfaden-Wikitext */
/* Titelzeile – wie Tabellen-Header */
.huntpixo-leitfaden-body p {
.hunt-portal-box-title {
margin: 0.15rem 0;
  padding: 0.6rem 1.2rem;
  font-size: 1.0rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: radial-gradient(circle at center top, #070d15 40%, #182436 100%);
  color: #ffffff;
}
}


/* Responsiv etwas enger für schmale Screens */
.hunt-portal-box-subtitle {
@media (max-width: 720px) {
  padding: 0.25rem 1.2rem 0.5rem 1.2rem;
.huntpixo-row {
  font-size: 0.8rem;
grid-template-columns: 1fr;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  color: #c3d4e6;
  background: rgba(0, 0, 0, 0.35);
}
}
.huntpixo-label {
 
margin-bottom: 0.05rem;
 
/* Inhalt */
.hunt-portal-box-body {
  background: transparent;
  font-size: 0.95rem;
  color: #f5f7fb;
  padding: 0;
}
}
/* Liste in der Box zurücksetzen */
.hunt-portal-box-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
}


/****************************************
/* Zeilen – wie Tabellenzeilen */
* HuntPixoInfo Optik wie Regel BoX
.hunt-portal-box-body li {
****************************************/
   position: relative;
.huntpixo-info {
  padding: 8px;
   margin-bottom: 1.5rem;
  padding-left: 3rem;
  border: none;
}
}


/* Einleitungstext */
/* künstliches Bullet vor jedem Eintrag */
.huntpixo-info-intro {
.hunt-portal-box-body li::before {
   padding: 0.4rem 0.2rem 0.6rem 0.2rem;
   content: "■";       
  position: absolute;
  left: 1.5rem;       
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6rem;
  color: #ffd77a;     
}
}


/* Tabellen-Wrapper */
.hunt-portal-box-body li:nth-child(odd) {
.huntpixo-info-table-wrapper {
   background: rgba(255, 255, 255, 0.02);
   margin: 0.3rem 0 0.8rem 0;
  border-radius: 4px;
  overflow: hidden;
}
}


/* Info-Tabellen im Stil der Regelbox */
.hunt-portal-box-body li:nth-child(even) {
.huntpixo-info-table {
   background: rgba(255, 255, 255, 0.06);
  width: 100%;
  border-collapse: collapse;
   background: #101015;
  color: #f5f5f5;
  font-size: 0.9rem;
}
}


.huntpixo-info-table thead th {
/* Links in der Box */
  background: #1d82c2;              /* dein blau aus dem Screenshot */
.hunt-portal-box-body a {
   color: #ffffff;
   color: #9dd1ff;
  padding: 0.35rem 0.5rem;
   text-decoration: none;
   text-align: left;
  font-weight: 600;
  border-bottom: 1px solid #333;
}
}


.huntpixo-info-table tbody td {
.hunt-portal-box-body a:hover {
   padding: 0.35rem 0.5rem;
   text-decoration: underline;
   border-bottom: 1px solid rgba(255,255,255,0.06);
   color: #c4e2ff;
}
}


.huntpixo-info-table tbody tr:nth-child(odd) {
/******************************************************
   background: rgba(255,255,255,0.02);
* Leere Absatz-Wrapper (nur <br>) ausblenden
******************************************************/
.mw-parser-output p:only-child br:only-child,
.mw-parser-output p > br:only-child {
  display: none;
}
.mw-parser-output p:only-child br:only-child::before,
.mw-parser-output p > br:only-child::before {
  content: "";
}
.mw-parser-output p:has(> br:only-child) {
   margin-top: 0;
  margin-bottom: 0;
}
}


.huntpixo-info-table tbody tr:nth-child(even) {
/* Zusätzliche leere p-Tags direkt im Turnier-Layout ausblenden */
   background: rgba(255,255,255,0.06);
.hunt-tournament-layout > p:only-child,
.hunt-tournament-layout > p:only-child br:only-child,
.hunt-tournament-layout > p > br:only-child {
   display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
}

Aktuelle Version vom 9. März 2026, 23:17 Uhr

/*******************************
* Hintergrund & Body (global)
*******************************/
body {
  background-color: #060e12;
  padding-top: 5.5rem;

  background-image:
    radial-gradient(
      ellipse 10% 100% at calc(50% - 800px) center,
      #112733 20%,
      #060e12 75%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 10% 100% at calc(50% + 800px) center,
      #112733 20%,
      #060e12 75%,
      transparent 100%
    );

  background-repeat: no-repeat;
  background-size: auto 100%, auto 100%;
  background-attachment: fixed;
}

/*******************************
* Content-Container (global)
*******************************/
.mw-page-container {
  background-color: #060e1275 !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100%, 100% 100%;

  border-bottom-left-radius: 30px !important;
  border-bottom-right-radius: 30px !important;
  padding: 20px !important;
  margin: 0 auto !important;
  max-width: 1600px;
  margin-top: -4rem;
}

.mw-page-container .mw-content-container {
  background: transparent !important;
}

/*******************************
* Eigener Sticky-Header (global)
*******************************/
#pixo-custom-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 5.5rem;
  z-index: 1000;
  background: transparent;
}

/* Inhalt des Headers auf Containerbreite begrenzen */
#pixo-custom-header-inner {
  box-sizing: border-box;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 3rem;
  height: 100%;
  display: flex;
  align-items: center;
  background-color: #060e12f0;
  border-bottom: 1px solid #112733;
  backdrop-filter: blur(8px);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

/* Slots */
#pixo-custom-header-left,
#pixo-custom-header-center,
#pixo-custom-header-right {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: .75rem;
}

#pixo-custom-header-left {
  justify-content: flex-start;
}

#pixo-custom-header-center {
  justify-content: center;
}

#pixo-custom-header-right {
  justify-content: flex-end;
}

/* Suchbox optional etwas begrenzen, falls im Custom-Header verwendet */
#pixo-custom-header-left .vector-search-box-vue {
  max-width: 260px;
}

/*******************************
* Icon-Buttons im Header (global)
*******************************/
.pixo-header-icon {
  min-width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .6rem;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* Header-Buttons mit gleichem Verlauf wie Tabellen-Header */
.pixo-header-icon,
.vector-menu.mw-portlet.pixo-header-icon,
.vector-dropdown.vector-user-menu.vector-button-flush-right.pixo-header-icon {
  background: linear-gradient(90deg, #182436 0%, #263b57 100%);
  color: #e5f3ff;
  border: 1px solid #243242;
}

/* Hover etwas heller */
.pixo-header-icon:hover,
.vector-menu.mw-portlet.pixo-header-icon:hover,
.vector-dropdown.vector-user-menu.vector-button-flush-right.pixo-header-icon:hover {
  background: linear-gradient(90deg, #22324a 0%, #314868 100%);
}

/* Logo-Link im Header etwas anpassen */
#pixo-custom-header-center .mw-logo {
  margin: 0;
  display: flex;
  align-items: center;
  height: 3.15rem !important;
  width: 4rem !important;
}

/* Vector 2022: Icon-Größe übersteuern */
#pixo-custom-header-center .mw-logo-icon,
#pixo-custom-header-center .mw-logo-icon img {
  width: 4rem !important;
  height: 3.15rem !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

/** Padding bei externen Links entfernen **/
a.external {
  padding: 0 !important;
  background: none !important;
}

/* ========================================
Pixo-Kacheln (Spiel-Grid)
======================================== */
/* Basis-Grid: flexible Spalten */
.pixo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 1rem;
  justify-content: center;  /* Inhalt immer zentrieren, wenn weniger Spalten voll werden */
}

.pixo-card {
  display: block;
  width: 100%;
  max-width: 420px;
  min-height: 105%;
  margin: 0 auto;
  border-radius: 25px;
  background: #31313131;
  border: 1px solid #f0f0f099;
  box-shadow: 0 5px 16px #00000080;
  overflow: hidden;
  font-family: inherit;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.pixo-card-hero {
  position: relative;
  width: 100%;
  height: 150px;
  background: transparent;
  overflow: hidden;
}

.pixo-card-hero img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 20px;
  background: transparent;
}

.pixo-card--nohero .pixo-card-hero {
  height: auto;
  padding: 0;
  margin: 0;
  border-radius: 20px;
  background: #31313131;
  border: 0;
}

.pixo-card-hero a,
.pixo-card-hero img {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pixo-card-title-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 30px;
  background: #0a0a0ab3;
  padding: 6px 12px;
  box-sizing: border-box;
}

.pixo-card-title-text {
  position: static;
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 4px #000000e6;
  white-space: nowrap;
  padding: 0px 0px 2px 0px;
  text-align: right;
}

.pixo-card-hero-inner {
  display: inline-block;
}
.pixo-card-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pixo-card-body li {
  margin: 0.1rem 0;
}

/* genau 1 Kachel: mittlere Spalte, zentriert */
.pixo-grid > .pixo-card:only-child {
  grid-column: 2 / 3;
  justify-self: center;
}

/*********************************************
* Hunt Turnier Infobox – Layout & Struktur
*********************************************/
.hunt-infobox.fo-nttax-infobox {
  float: right;
  clear: right;
  width: 320px;
  max-width: 100%;
  margin: 0 0 1em 1em;
  box-sizing: border-box;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.4;
  border: 1px solid var(--hunt-infobox-border-color);
  background: var(--hunt-infobox-bg);
  box-shadow: 0 8px 24px var(--hunt-infobox-shadow-color);
}

/* Kopf: Titel + Bild */
.hunt-infobox-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--hunt-infobox-header-bg);
  color: var(--hunt-infobox-header-text);
}

.hunt-infobox-title {
  padding: 8px 12px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hunt-infobox-image {
  position: relative;
  padding: 0;
  text-align: center;
  background: var(--hunt-infobox-header-image-bg);
  height: 30%;
  min-height: 90px;
}

.hunt-infobox-image img {
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  display: block;
  margin: 0 auto;
}

.hunt-infobox-subtitle {
  padding: 4px 12px 6px 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hunt-infobox-label-text);
  background: rgba(0, 0, 0, 0.25);
}

.hunt-infobox-image a,
.hunt-infobox-image a img {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hunt-infobox-image a {
  pointer-events: none;
  cursor: default;
}

.hunt-infobox-section {
  padding: 6px 10px;
}

/* Discord-Icon vor Discord-Einladungslinks (Infobox & allgemein) */
.hunt-infobox a.external[href*="discord.gg"]::before,
.hunt-infobox a.external[href*="discord.com"]::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: text-bottom;
  background: url("https://favicon.im/discord.com") no-repeat center center;
  background-size: contain;
}


.hunt-infobox-row {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  column-gap: 1.5rem;              
  align-items: flex-start;
  padding: 4px 4px;
}

/* Alternierende Zeilen */
.hunt-infobox-section .hunt-infobox-row:nth-child(odd) {
  background: var(--hunt-infobox-row-bg-odd);
}
.hunt-infobox-section .hunt-infobox-row:nth-child(even) {
  background: var(--hunt-infobox-row-bg-even);
}

/* Label-Spalte */
.hunt-infobox-label {
  font-weight: 600;
  text-align: right;
  color: var(--hunt-infobox-label-text);
  white-space: nowrap;
}

/* Wert-Spalte */
.hunt-infobox-value {
  text-align: left;
  color: var(--hunt-infobox-value-text);
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Links innerhalb der Infobox */
.hunt-infobox a {
  color: var(--hunt-infobox-link-color);
  text-decoration: none;
  font-weight: 500;
}
.hunt-infobox a:hover {
  text-decoration: underline;
  color: var(--hunt-infobox-link-hover);
}

/*********************************************
* Hunt-Turnier Tabellen (Styling)
*********************************************/
.hunt-table {
  width: 80%;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  margin: 0.5rem auto 0;
  border: none;
}

/* Zellen */
.hunt-table th,
.hunt-table td {
  padding: 8px 12px;
  border: none;
  color: #f5f7fb;
}

/* Headerzeile wie Infobox-Titel */
.hunt-table th {
  background: radial-gradient(circle at center top, #070d15 40%, #182436 100%);
  color: #ffffff;
  font-weight: 700;
  text-align: left;
}

/* Zeilen-Hintergrund abwechselnd */
.hunt-table tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.02);
}
.hunt-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.06);
}

/* „Rahmen“ nur um jede Zeile */
.hunt-table tr td:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.hunt-table tr td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Twitch-Icon vor allen externen Links zu twitch.tv einblenden */
.mw-body a.external[href*="twitch.tv/"]::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: text-bottom;
    background: url("https://static.twitchcdn.net/assets/favicon-32-e29e246c157142c94346.png") no-repeat center center;
    background-size: contain;
}

/*********************************************
* Hunt Turnier Infobox – Farben & Theme
*********************************************/
:root {
  --hunt-infobox-bg: #060e12f0;
  --hunt-infobox-border-color: #243242;
  --hunt-infobox-shadow-color: rgba(0, 0, 0, 0.5);
  --hunt-infobox-header-bg: radial-gradient(circle at top, #182436 0%, #263b57 100%);
  --hunt-infobox-header-text: #ffffff;
  --hunt-infobox-header-image-bg: #060e12;
  --hunt-infobox-image-shadow: rgba(0, 0, 0, 0.6);
  --hunt-infobox-row-bg-odd: rgba(255, 255, 255, 0.02);
  --hunt-infobox-row-bg-even: rgba(255, 255, 255, 0.06);
  --hunt-infobox-label-text: #c3d4e6;
  --hunt-infobox-value-text: #f5f7fb;
  --hunt-infobox-link-color: #6cb6ff;
  --hunt-infobox-link-hover: #9dd1ff;
}

/*****************************
* HuntPixo-Regeln Box (Styling)
*****************************/
.huntpixo-regeln {
  border: 1px solid #333;
  border-radius: 6px;
  padding: 1rem 1.2rem 1.1rem 1.2rem;
  margin: 1.5rem 0;
  background: transparent;
  color: #f5f5f5;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  font-size: 0.95rem;
}

/* Hauptüberschrift im Block */
.huntpixo-regeln-header {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0.35rem;
}

/* Sekundäre Abschnittsüberschriften */
.huntpixo-section-header {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffd77a;
}

/* Grid für Regeln & Info-Zeilen */
.huntpixo-regeln-grid,
.huntpixo-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

/* Einzelne Zeile */
.huntpixo-row {
  display: grid;
  grid-template-columns: minmax(8rem, 10rem) minmax(0, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.1rem;
  align-items: flex-start;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.02);
}
.huntpixo-row:nth-child(odd) {
  background: rgba(255,255,255,0.035);
}

/* Label-Spalte */
.huntpixo-label {
  font-weight: 600;
  color: #e0e0e0;
  white-space: nowrap;
}

/* Wert-Spalte */
.huntpixo-value {
  color: #f5f5f5;
}

/* Einleitungs-Zeile: keine Label-Spalte */
.huntpixo-row-intro .huntpixo-label {
  display: none;
}
.huntpixo-row-intro {
  grid-template-columns: minmax(0, 1fr);
}

/* Punkte-Box */
.huntpixo-punkte-box {
  padding: 0.5rem 0.6rem;
  border-radius: 4px;
  background: radial-gradient(circle at center top, #070d15 40%, #182436 100%);
  border: 1px solid rgba(180,255,180,0.25);
  color: #eafbe4;
}
.huntpixo-punkte-list {
  display: block;
}
.huntpixo-punkte-list p {
  margin: 0.15rem 0;
}

/* Leitfaden-Box */
.huntpixo-leitfaden-box {
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-radius: 4px;
  background: #05080d;
  border: 1px solid #111821;
  box-shadow: 0 0 6px rgba(0,0,0,0.6);
}
.huntpixo-leitfaden-kopf {
  position: relative;
  padding: 0.45rem 0.9rem 0.45rem 1.8rem;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  color: #dfe6f3;
  border-bottom: 1px solid #0c1119;
  background: radial-gradient(circle at center top, #070d15 40%, #182436);
}

.huntpixo-leitfaden-kopf::before {
  content: "▶";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: #dfe6f3;
  transition: transform 0.15s ease-out;
}
.huntpixo-leitfaden-inhalt {
  display: none;
  padding: 0.55rem 0.9rem 0.7rem 0.9rem;
  background: #0e1620;
  font-size: 0.9rem;
}
.huntpixo-leitfaden-open .huntpixo-leitfaden-kopf::before {
  transform: translateY(-50%) rotate(90deg);
}
.huntpixo-leitfaden-open .huntpixo-leitfaden-inhalt {
  display: block;
}

/*********************************************
* Turnier-Seiten-Layout (nur Positionierung)
*********************************************/

/* Grid-Container für Regelbox (links) + Infobox (rechts) */
.hunt-tournament-layout {
  display: grid;
  grid-template-columns: minmax(0, 70%) minmax(0, 30%);
  column-gap: 6rem;
  align-items: flex-start;
  margin-top: 1rem;
}

/* Infobox immer in Spalte 2, erste Zeile */
.hunt-tournament-layout > .hunt-infobox.fo-nttax-infobox {
  grid-column: 2;
  grid-row: 1;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none;
  margin: 1.5rem 0 0 auto;
}

/* Regelbox in Spalte 1, erste Zeile */
.hunt-tournament-layout > .huntpixo-regeln {
  grid-column: 1;
  grid-row: 1;
}



/*********************************************
* Hunt Turnier Portal-Boxen (Portal:Turniere)
*********************************************/
.hunt-portal-box {
  width: 80%;
  max-width: 100%;
  margin: 2rem auto 6rem auto;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

/* Titelzeile – wie Tabellen-Header */
.hunt-portal-box-title {
  padding: 0.6rem 1.2rem;
  font-size: 1.0rem;
  font-weight: 700;
  text-align: center; 
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: radial-gradient(circle at center top, #070d15 40%, #182436 100%);
  color: #ffffff;
}

.hunt-portal-box-subtitle {
  padding: 0.25rem 1.2rem 0.5rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  color: #c3d4e6;
  background: rgba(0, 0, 0, 0.35);
}


/* Inhalt */
.hunt-portal-box-body {
  background: transparent;
  font-size: 0.95rem;
  color: #f5f7fb;
  padding: 0;
}

/* Liste in der Box zurücksetzen */
.hunt-portal-box-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Zeilen – wie Tabellenzeilen */
.hunt-portal-box-body li {
  position: relative;
  padding: 8px;
  padding-left: 3rem;
  border: none;
}

/* künstliches Bullet vor jedem Eintrag */
.hunt-portal-box-body li::before {
  content: "■";         
  position: absolute;
  left: 1.5rem;         
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6rem;
  color: #ffd77a;       
}

.hunt-portal-box-body li:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.hunt-portal-box-body li:nth-child(even) {
  background: rgba(255, 255, 255, 0.06);
}

/* Links in der Box */
.hunt-portal-box-body a {
  color: #9dd1ff;
  text-decoration: none;
}

.hunt-portal-box-body a:hover {
  text-decoration: underline;
  color: #c4e2ff;
}

/******************************************************
* Leere Absatz-Wrapper (nur <br>) ausblenden
******************************************************/
.mw-parser-output p:only-child br:only-child,
.mw-parser-output p > br:only-child {
  display: none;
}
.mw-parser-output p:only-child br:only-child::before,
.mw-parser-output p > br:only-child::before {
  content: "";
}
.mw-parser-output p:has(> br:only-child) {
  margin-top: 0;
  margin-bottom: 0;
}

/* Zusätzliche leere p-Tags direkt im Turnier-Layout ausblenden */
.hunt-tournament-layout > p:only-child,
.hunt-tournament-layout > p:only-child br:only-child,
.hunt-tournament-layout > p > br:only-child {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}