MediaWiki:Common.css: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


.pro-table {
.pro-table {
Line 292: Line 294:
}
}


.mw-parser-output excavation > home-card__background img {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
}


.mw-parser-output .home-card__background img {
.mw-parser-output .home-card__background img {
Line 1,067: Line 1,063:




/* KEITA-TEST [SAFE TO REMOVE PAST 10 September] */
/* KEITA-TEST [DO NOT DELETE] */


.popular-categories {
.popular-categories {
   display: grid;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   grid-template-columns: repeat(3, 1fr);
gap: 1rem;
  gap: 1rem;
  margin-block-start: 2rem;
}
}


.category-card {
.category-card {
background-size:cover;
  display: flex;
background-position: center;
  flex-direction: column;
background-repeat: no-repeat;
  justify-content: flex-end;
  align-items: flex-start;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-block-size: 100px;
  border: 4px solid rgb(0 0 0);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: scale(1);
  transition: all 0.25s ease-out !important;
  z-index: 1;
  opacity: 1 !important;
}
 
.category-card > pre {
  all: unset !important;
}
 
.card-text {
  padding: 0.3rem;
  z-index: 1;
  font-weight: 700;
  backdrop-filter: blur(9.5px);
  background-color: rgba(0, 0, 0, 0.8);
  width: fit-content;
  text-align: start;
  align-self: start;
  font-size: 1rem;
  padding-inline: 2rem;
  text-transform: uppercase;
  margin: 0 !important;
  color: white;
  border-radius: 0px 8px 0px 0px;
  font-family: "Inter", sans-serif;
  border-radius: 0px 8px 0px 8px;
  font-family: "Inter", sans-serif;
  clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 0% 100%);
  margin-bottom: -1px !important;
 
}
 
/* Set everything to important cause MediaWiki override them */
.popular-categories .category-card:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
  z-index: 10 !important;
}
 
.popular-categories:has(> :hover) .category-card:not(:hover) {
  opacity: 0.5 !important;
}
 
.logo-homepage {
  display: flex;
  justify-content: center;
}
 
.logo-homepage img {
  width: 230px;
  height: auto;
}
.logo-homepage > pre {
  all: unset;
}
 
.wiki-introduction-homepage {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
 
.homepage-want-to-help-header {
  margin-bottom: 0 !important;
  margin-top: 0.6rem !important;
}
 
.homepage-want-to-help-text {
  margin: 0 !important;
}
}


Line 1,084: Line 1,159:
   background-image: url(/images/1/1f/Excavationcard2.png);
   background-image: url(/images/1/1f/Excavationcard2.png);
}
}
.bosses {
  background-image: url(/images/4/42/Newtest.png);
}
.events {
  background-image: url(/images/b/b8/Eventform.png);
}
.guides {
  background-image: url(/images/1/1a/Schooltest.png);
}
.beginner-guide {
  background-image: url(/images/0/07/Storywalkt.png);
}
.dungeons {
  background-image: url(/images/5/50/Testdungeon3.png);
}
@media (min-width: 1673px) {
  .popular-categories {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1307px) and (max-width: 1672px) {
  .popular-categories {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 941px) and (max-width: 1306px) {
  .popular-categories {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 940px) {
  .popular-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 750px) {
  .popular-categories {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 574px) {
  .popular-categories {
    grid-template-columns: 1fr;
  }
}


/* END OF REMOVABLE PART */
/* DO NOT DELETE THE ABOVE PART */

Latest revision as of 21:28, 4 September 2025

/* CSS placed here will be applied to all skins */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.pro-table {
    background-color: #333333;
    border: 5px solid #000000;
    border-radius: 20px;
    padding: 3px;
    cellspacing: 2px;
    cellpadding: 2px;
    border-spacing: 5px 5px;
    color: white;
}

.pro-table-header {
    background-color: #1B1A1A;
    color: #FFB600;
    border-radius: 30px;
    border: 1px solid #000000;
    font-weight: bold;
    font-size: 125%;
    text-align: center;
    padding: 4px;
}

.pro-table-header-cell {
    padding: 7px;
    border: 3px solid #000000;
}

.pro-table-row {
    background-color: #DDD;
    color: #000000;
}

.divRow {
    display: table;
    width: 100%;
    text-align: center;
    table-layout: fixed; 
    border-spacing: 10px; 
}
.divColumn {
    display: table-cell;
    background-color: white; 
}

.circular-icon {
    width: 55px;
    height: 55px;
    border-radius: 35px;
    border: 3px solid #000000;
    background-color: white;
    text-align: center;
    padding: 5px;
    align: left;
}

.pro-table-cell {
    background-color: #666666;
    border-radius: 20px;
    border: 1px solid #000000;
    padding: 4px;
}

.informational-box {
margin-left: 15px;
margin-top: 5px;
margin-bottom: 5px;
cellspacing: 2px;
float: right;
text-align: center;
padding: 3px;
}

.top-align {
    vertical-align: top;
}

.middle-align {
    vertical-align: middle;
}

.tab {
  text-align: center;
}

.tab td {
  float: left;
  border: 1px solid {{#var:border}};
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  border-radius: 25px 25px 1px 1px;
}

.tab td:hover {
  text-decoration: underline;
}

.tab td.active {
  background-color: {{#var:background}};
  font-weight: bold; 
  color: {{#var:border}};
}

.tabcontent {
  display: none;
  background-color: none;
  border: none;
  border-top: none;
}

#n-PRO-Wiki-Discord a {
    background-image: url("https://i.imgur.com/4TeLNLE.png");
    background-position: left;
    color: white !important;
    background-repeat: no-repeat;
    font-size: 10px;
    font-weight: bold;
    border-radius: 25px;
    border: 1px solid #2b44a1;
    background-color: #7289da;
    display: block;
    position: relative;
    padding-left: 32px;
    padding-bottom: 7px;
    padding-top: 7px;
    padding-right: 7px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease;
}

.collapsible span.collapsible-toggle {
    float: right;
}

.border-top-radius {
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
}

.border-bottom-radius {
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
}

colgroup {
  display: table-column-group;
}

col {
  display: table-column;
}

.4w td {
  width: 4%;
}




/* KEITA'S HOME PAGE */

.mw-parser-output .home-grid {
    display: grid;
    grid: auto-flow dense/repeat(auto-fit,minmax(18.75rem,1fr));
    grid-auto-rows: minmax(4.875rem,auto);
    grid-gap: var(--space-sm);
}


@media only screen and (max-width: 1030px) {
	.mw-parser-output .home-grid {
        row-gap: 1rem;
        column-gap: var(--space-sm);
        grid: auto-flow dense/repeat(auto-fit,minmax(28%,1fr));
        grid-auto-rows: minmax(4.875rem,auto);
	}
}

@media only screen and (max-width: 720px) {
	.mw-parser-output .home-grid {
        row-gap: 1rem;
        column-gap: var(--space-sm);
        grid: auto-flow dense/repeat(auto-fit,minmax(48%,1fr));
        grid-auto-rows: minmax(4.175rem,auto);
	}
}


.mw-parser-output .home-card {
    position: relative;
    padding: var(--space-md);
    background: var(--color-surface-1);
    border: 1px solid var(--border-color-base);
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.04), 0 3px 6px rgba(0,0,0,0.0575);
    font-size: 0.875rem;
}


.mw-parser-output .home-card--button a {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 0 var(--space-md);
    background: transparent;
    color: #fff;
    font-weight: 500;
}

.mw-parser-output .home-card__background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #242a31;
    border-radius: 8px;
}



.mw-parser-output .home-card.home-card--button {
    overflow: hidden;
    padding: 0;
    background: #242a31;
    border: 0;
}


.mw-parser-output .home-card__foreground {
    position: absolute;
    top: 40%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xxs);
    color: #fff;
    line-height: var(--line-height-xs);
    pointer-events: none;
    font-size: 1.20rem;
    font-weight: 700;
}

.mw-parser-output .home-card__foreground2 {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xxs);
    color: #fff;
    line-height: var(--line-height-xs);
    pointer-events: none;
    font-size: 1.20rem;
    font-weight: 500;
}



.mw-parser-output .home-card--button .home-card__background a {
    padding: 0;
}


.mw-parser-output .home-card__background:after {
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent 63%);
    content: "";
}

.mw-parser-output .home-card__foreground {
  
}


.mw-parser-output .home-card__background img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}


/* TEST FOR 2ND IMAGE */

.mw-parser-output .home-card__background2 img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.mw-parser-output .home-card__background2 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 8px;
}

.mw-parser-output .home-card__background2:after {
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent 63%);
    content: "";
}


/* SIDE MENU AREA MAPS */

.table-container {
    width:420px;
    border-radius: 25px; 
    padding: 5px; 
    text-align: center;
}


.AreaMapName {
    border-radius: 25px; 
    font-weight: bold; 
    font-size: 20px;
}

.MapsInfoBox {
    text-align: center; 
    width: 100%; 
    padding: 6px; 
}

.LocationInfoBox {
    border-radius: 25px; 
}


.LocationHeader {
    margin-bottom: 5px; 
    font-weight: bold;
}

.CategoryInfoBox {
    border-radius: 25px; 
    margin: auto auto; 
}


.Table-CategoryInfoBox {
    width: 100%; 
    padding: 7px;
}

.CategoryHeaders {
    margin-bottom: 5px; 
    margin: auto auto; 
    font-weight: bold; 
    font-size: 18px;
}

.CategoryCell-CellContainer {
    border-radius: 25px; 
    padding: 5px;
}

.CategoryCell-Title {
    border-radius: 25px; 
    font-weight: bold; 
    padding: 3px; 
    margin-bottom: 7px;
}

.CategoryCell-ValueInfo {
    background-color: #FFFFFF; 
    border-radius: 25px; 
    padding: 3px;
}

.AdjacentMapsNorth {
    background-color:#FFFFFF; 
    border-radius: 100px 100px 1px 1px; 
    margin: auto auto; 
    padding: 5px;
}

.AdjacentMapsWest {
    background-color:#FFFFFF; 
    border-radius: 100px 1px 1px 100px; 
    padding: 5px;
}

.AdjacentMapsNameCenter {
    background-color:#FFFFFF; 
    margin: auto auto; 
    padding: 5px;
}

.AdjacentMapsEast {
    background-color:#FFFFFF; 
    border-radius: 1px 100px 100px 1px; 
    padding: 5px; 
}


.AdjacentMapsSouth {
    background-color:#FFFFFF; 
    border-radius: 1px 1px 100px 100px; 
    padding: 8px;
}



/* KEITA MENU CARD BUTTONS UPDATED */


.mw-parser-output .grid-menu {
    display:grid;
    max-width: 1080px;
    margin: 0 auto;
}

.mw-parser-output .menu__homepage {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}


.mw-parser-output .menu-homepage__cards {
    color: white;
    position:relative;
    display: grid;
    width: 350px;
    height: 90px;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    transition: all .23s cubic-bezier(0.4, 0, 1, 1) !important;
    cursors: pointer;
}


.mw-parser-output .menu-homepage__cards:nth-child(1) {
    background-image: url(/images/4/42/Newtest.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards:nth-child(2) {
    background-image: url(/images/1/1f/Excavationcard2.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards:nth-child(3) {
    background-image: url(/images/5/50/Testdungeon3.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards:nth-child(4) {
    background-image: url(/images/b/b8/Eventform.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards:nth-child(5) {
    background-image: url(/images/0/07/Storywalkt.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards:nth-child(6) {
    background-image: url(/images/1/1a/Schooltest.png);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mw-parser-output .menu-homepage__cards::after {
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right, #000 15%, transparent 70%);
    content: "";
    border-radius: 10px;
    cursor: pointer;
}

.mw-parser-output .menu-homepage__cards:hover,
.mw-parser-output .menu-homepage__cards:focus {
  box-shadow: 0 0.55em 0.5em -0.4em black;
  transform: translateY(-0.15em);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) { /* Tablet */
    .mw-parser-output .menu-homepage__cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        margin: 0 auto;
    }
}

@media (max-width: 480px) { /* Mobile */
    .mw-parser-output .menu-homepage__cards {
        grid-template-columns: 1fr;
        margin: 0 auto;
    }
}

.mw-parser-output .card-category {
    z-index: 3;
    color:white;
    margin: 0;
    position: absolute;
    top: 55%;
    padding-left: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1.243rem;
    font-weight: 700;
    transition: all .30s cubic-bezier(0.4, 0, 1, 1) !important;
}

.menu-headers {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    font-weight: bold;
    margin-block-end: 0;
    color: black;
}

.wiki-home-introduction {
    margin-block-start: 0;
    margin-block-end: 0;
    text-align: center;
}

.first-header {
    margin-top: 1.5rem;
}


/* REMOVES THE DUMB ZOOM-IN EFFECT WHEN HOVERING IMAGES. CODED VERY BAD CAUSE IMAGE IS RESTRICTED INTO A SMALL SPACE, SO THE ZOOM IN JUST DOES NOT ZOOM BUT CUT THE IMAGE MAKING IT NOT USEFUL TO ITS SCOPE */
  figure[typeof~='mw:File'] > a:first-child:hover:not( .lazy ):not( .new ) img,
  figure[typeof~='mw:File/Frameless'] > a:first-child:hover:not( .lazy ):not( .new ) img,
  figure[typeof~='mw:File/Thumb'] > a:first-child:hover:not( .lazy ):not( .new ) img,
  figure[typeof~='mw:File/Frame'] > a:first-child:hover:not( .lazy ):not( .new ) img,
  figure[typeof~='mw:File'] > a:first-child:hover:not( .lazy ):not( .new ) source,
  figure[typeof~='mw:File/Frameless'] > a:first-child:hover:not( .lazy ):not( .new ) source,
  figure[typeof~='mw:File/Thumb'] > a:first-child:hover:not( .lazy ):not( .new ) source,
  figure[typeof~='mw:File/Frame'] > a:first-child:hover:not( .lazy ):not( .new ) source {
    transform: none !important;
  }




/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/* -------------------------KEITA AREA TEMPLATE-------------------------------------- */
/* -------------------------KEITA AREA TEMPLATE-------------------------------------- */

.infobox {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 30%);
  border: 1px solid rgb(0 0 0 / 60%);
  max-width: 360px;
  margin: 20px auto;
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
  padding-bottom: 15px;
}
.infobox-header {
  background-color: #d1c17d;
  color: #000000;
  font-weight: bold;
  padding: 8px;
  text-align: center;
  font-size: 1.5em;
}

.infobox-section {
  padding: 15px 15px 15px 15px; /* Padding applied to sections */
  margin-block-start: -10px;
}
.infobox-section h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333;
}
.infoxbox_table_container {
  border-radius: 8px; /* Curved borders for the table container */
  overflow: hidden; /* Ensures the table respects the rounded corners */
  border: 2px solid #000000; /* Border for the container */
  margin-top: 4px;
padding: 0;
}
.infobox-section table {
  width: 100%;
  border-spacing: 0; /* Remove spacing between cells */
}
.infobox-section table td {
  padding: 8px;
  border: 1px solid #000000; /* Black border for all cells */
}
/* Remove outer borders to respect rounded corners */
.infobox-section table tr:first-child td {
  border-top: none;
}
.infobox-section table tr:last-child td {
  border-bottom: none;
}
.infobox-section table td:first-child {
  border-left: none;
}
.infobox-section table td:last-child {
  border-right: none;
}
.infobox-section table td:first-child {
  font-weight: bold;
  width: 50%; /* Adjust width for the key column */
  background-color: #d1c17d; /* Background color for left cells */
  color: #333; /* Text color for left cells */
}
.infobox-section table td:last-child {
  text-align: right;
}

.single-map > pre {
padding: 0 !important;
margin: 0 !important;
border: 0px;
object-fit: contain;
max-width: 100%;
display: block;
height: auto;
}

.infobox pre {
all: unset !important;
}

.map-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border-bottom: 2px solid rgb(0 0 0 / 60%);
}

.map-image > a > img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0;
    padding: 0;
}


.minimap {
  margin-block-start: 8px;
  border: 1px solid rgb(0 0 0 / 60%);
  border-radius: 8px;
  margin-top: 0;
  background-color: #d1c17d;
}
.MinimapLocation {
  font-size: 1rem;
  font-weight: bold;
  text-align-last: center;
  margin: 0;
  padding-top: 4px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 600px) {
  .infobox {
    max-width: 400px;
  }
}

.grid-keita {
  grid-template-columns:
    minmax(80px, 90px) minmax(40px, 50px) minmax(50px, 50px)
    minmax(40px, 50px) minmax(80px, 90px);
  display: grid;
  gap: 0.25rem;
  word-break: break-word;
}

.box {
  background-color: #d1c17d;
  height: auto;
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
  border-radius: 8px;
  border: 2px solid #000000;
}

.north,
.south {
  grid-column: 2 / 5;
}

.west {
  grid-column: 1 / 3;
}

.east {
  grid-column: 4/ 6;
}

.plus {
  display: grid;
  place-items: center;
}

.plus img {
  width: 40px;
height: 40px;
}

.center-grid-keita {
  display: flex;
  justify-content: center;
  padding-left: 15px;
  padding-right: 15px;
  font-weight: bold;
  font-size: 1rem;
}

/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */


/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
COUNTERPARTS/EVENT-FORM HEADERS STYLING


li[id="toc-Valentine's_Day-themed_Pokémon"] > .citizen-toc-link > .citizen-toc-content > .citizen-toc-text > .citizen-toc-heading {
font-size: 0.95rem !important;
font-weight: bold !important;
}

li#toc-Valentine\'s_Day-themed_Pokémon > .citizen-toc-link > .citizen-toc-content > .citizen-toc-text > .citizen-toc-heading {
font-size: 0.95rem !important;
font-weight: bold !important;
}


li#toc-Easter-themed_Pokémon > .citizen-toc-link > .citizen-toc-content > .citizen-toc-text > .citizen-toc-heading {
font-size: 0.95rem;
font-weight: bold;
}

li#toc-Christmas-themed_Pokémon > .citizen-toc-link > .citizen-toc-content > .citizen-toc-text > .citizen-toc-heading {
font-size: 0.95rem;
font-weight: bold;
}

li#toc-May_4th_Star_Wars_Event > .citizen-toc-link > .citizen-toc-content > .citizen-toc-text > .citizen-toc-heading {
font-size: 0.95rem;
font-weight: bold;
}

li#toc-Summer-themed_Pokémon > .citizen-toc-link > .citizen-toc-content > .citizen-toc-text > .citizen-toc-heading {
font-size: 0.95rem;
font-weight: bold;
}

li#toc-Halloween-themed_Pokémon > .citizen-toc-link > .citizen-toc-content > .citizen-toc-text > .citizen-toc-heading {
font-size: 0.95rem;
font-weight: bold;
}

li#toc-Christmas-themed_Pokémon > .citizen-toc-link > .citizen-toc-content > .citizen-toc-text > .citizen-toc-heading {
font-size: 0.95rem;
font-weight: bold;
}

.citizen-toc__listItem.citizen-toc-level--1 > .citizen-toc-link > .citizen-toc-content > div.citizen-toc-text > span.citizen-toc-heading {
font-size: 0.95rem;
font-weight: bold;
}



/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/* -------------------------KeitaNPCLineup + Correlated Template -------------------------------------- */


/* Responsive styles for KeitaBossNPCLineup */
@media (max-width: 768px) {
  .keita-boss-table th div {
    width: 90% !important;
    font-size: 0.9em;
  }
  
  .keita-lineup-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .keita-lineup-row > td {
    min-width: 280px !important;
    margin: 5px !important;
  }
}

@media (max-width: 480px) {
  .keita-boss-table {
    border-radius: 15px !important;
    padding: 3px !important;
  }
  
  .keita-boss-table th div {
    width: 100% !important;
    font-size: 0.8em;
    padding: 5px !important;
  }
  
  .keita-lineup-row > td {
    min-width: 100% !important;
    margin: 5px 0 !important;
  }
}






/* Responsive styles for KeitaNPCMove */
@media (max-width: 480px) {
  .keita-move-row td {
    padding: 2px !important;
    font-size: 0.8em;
  }
}



/* Responsive styles for KeitaBossPokemon */
@media (max-width: 768px) {
  .keita-pokemon-cell {
    min-width: 280px !important;
    padding: 8px !important;
  }
  
  .keita-pokemon-cell table th,
  .keita-pokemon-cell table td {
    padding: 3px !important;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .keita-pokemon-cell {
    border-radius: 15px !important;
    padding: 5px !important;
  }
  
  .keita-moves-table th,
  .keita-moves-table td {
    padding: 2px !important;
    font-size: 0.8em;
  }
  
  .keita-show-moves-btn {
    padding: 3px 10px !important;
    font-size: 0.9em;
  }
}

.keita-boss-container pre {
all: unset !important;
}





.mw-collapsed .keita-collapsible-content {
  display: none;
}

.keita-collapsible-content {
  display: block;
}


/---RESPONSIVE GYMNPCLINEUP---/
/* ----- Pokemon Grid Layout ----- */
.pokemon-grid-container {
    display: grid;
    gap: 8px; /* Adjust spacing between items */
    padding: 5px 0; /* Add some padding around the grid */

    /* Responsive Grid Columns:
       - Default (Mobile): As many columns as fit, minimum 140px wide.
       - Medium screens: Switch to 3 columns.
       - Large screens: Switch to 6 columns (like original table). */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));

    /* Clear floats if necessary, though grid usually handles this */
    clear: both;
}

/* Adjust columns for medium screens */
@media (min-width: 600px) {
    .pokemon-grid-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
    }
}

/* Adjust columns for large screens */
@media (min-width: 992px) {
    .pokemon-grid-container {
        grid-template-columns: repeat(6, 1fr); /* 6 columns */
    }
}


/* ----- Individual Pokemon Item Styling ----- */
.pokemon-grid-item {
    /* Use CSS variables set inline for dynamic colors/borders */
    border: 1px solid var(--grid-border-color, #AAA); /* Fallback border color */
    background-color: var(--grid-cell-color, #F9F9F9); /* Fallback cell color */

    border-radius: 25px;
    padding: 5px;
    display: flex; /* Use flexbox for internal alignment */
    align-items: center; /* Vertically center icon and name */
    gap: 8px; /* Space between icon wrapper and name */
    min-height: 54px; /* Ensure consistent height (adjust as needed based on content) */
    box-sizing: border-box;
    overflow: hidden; /* Prevent content spillover */
}

/* Styling for the wrapper around the icon */
.pokemon-icon-wrapper {
    border-radius: 50%; /* Make it circular */
    border: 3px solid var(--grid-border-color, #AAA);
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
    padding: 2px;
    display: flex; /* Center the icon inside */
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent icon wrapper from shrinking */
    box-sizing: border-box;
}

.pokemon-icon-wrapper img {
    display: block; /* Remove extra space below image */
    max-width: 100%;
    max-height: 100%;
}

/* Styling for the Pokemon name */
.pokemon-name {
    flex-grow: 1; /* Allow name to take remaining space */
    font-size: 0.9em; /* Adjust as needed */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis if name is too long */
    white-space: nowrap; /* Prevent name wrapping */
}
.pokemon-name a {
    color: inherit; /* Use parent text color */
    text-decoration: none;
}
.pokemon-name a:hover {
    text-decoration: underline;
}

/* ----- Styling for Empty Slots ----- */
.pokemon-grid-item.item-empty {
    background-color: var(--grid-border-color, #AAA); /* Use border color for empty background */
    border-color: var(--grid-border-color, #AAA);
}

.pokemon-grid-item.item-empty .pokemon-icon-wrapper {
    background-color: var(--grid-border-color, #AAA);
    border-color: var(--grid-border-color, #AAA);
}

/* Optional: Hide icon/name text completely in empty slots */
.pokemon-grid-item.item-empty .pokemon-icon-wrapper,
.pokemon-grid-item.item-empty .pokemon-name {
    visibility: hidden;
}


/* ----- Bonus Payout Row Styling ----- */
.bonus-payout-row {
    background-color: var(--grid-cell-color, #F9F9F9);
    padding: 5px 15px; /* Adjusted padding */
    text-align: left;
    border-radius: 25px;
    border: 3px solid var(--grid-border-color, #AAA);
    margin-top: 10px; /* Add space above this row */
    box-sizing: border-box;
}

/* Add styles for the bold text inside payout row if needed */
.bonus-payout-row span {
   /* color is set inline via CSS variable */
   margin-right: 5px; /* Add space after label */
}


/* KEITA-TEST [DO NOT DELETE] */

.popular-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-block-start: 2rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-block-size: 100px;
  border: 4px solid rgb(0 0 0);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: scale(1);
  transition: all 0.25s ease-out !important;
  z-index: 1;
  opacity: 1 !important;
}

.category-card > pre {
  all: unset !important;
}

.card-text {
  padding: 0.3rem;
  z-index: 1;
  font-weight: 700;
  backdrop-filter: blur(9.5px);
  background-color: rgba(0, 0, 0, 0.8);
  width: fit-content;
  text-align: start;
  align-self: start;
  font-size: 1rem;
  padding-inline: 2rem;
  text-transform: uppercase;
  margin: 0 !important;
  color: white;
  border-radius: 0px 8px 0px 0px;
  font-family: "Inter", sans-serif;
  border-radius: 0px 8px 0px 8px;
  font-family: "Inter", sans-serif;
  clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 0% 100%);
  margin-bottom: -1px !important;

}

/* Set everything to important cause MediaWiki override them */
.popular-categories .category-card:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
  z-index: 10 !important;
}

.popular-categories:has(> :hover) .category-card:not(:hover) {
  opacity: 0.5 !important;
}

.logo-homepage {
  display: flex;
  justify-content: center;
}

.logo-homepage img {
  width: 230px;
  height: auto;
}
.logo-homepage > pre {
  all: unset;
}

.wiki-introduction-homepage {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.homepage-want-to-help-header {
  margin-bottom: 0 !important;
  margin-top: 0.6rem !important;
}

.homepage-want-to-help-text {
  margin: 0 !important;
}

.excavation {
  background-image: url(/images/1/1f/Excavationcard2.png);
}
.bosses {
  background-image: url(/images/4/42/Newtest.png);
}
.events {
  background-image: url(/images/b/b8/Eventform.png);
}
.guides {
  background-image: url(/images/1/1a/Schooltest.png);
}
.beginner-guide {
  background-image: url(/images/0/07/Storywalkt.png);
}
.dungeons {
  background-image: url(/images/5/50/Testdungeon3.png);
}

@media (min-width: 1673px) {
  .popular-categories {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1307px) and (max-width: 1672px) {
  .popular-categories {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 941px) and (max-width: 1306px) {
  .popular-categories {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 940px) {
  .popular-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 750px) {
  .popular-categories {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 574px) {
  .popular-categories {
    grid-template-columns: 1fr;
  }
}


/* DO NOT DELETE THE ABOVE PART */