Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
Created page with "CSS placed here will be applied to all skins: .item-layout { display: flex; flex-direction: row; align-items: flex-start; gap: 2em; } .item-main { flex: 1; min-width: 0; } .item-infobox { flex: 0 0 300px; max-width: 300px; border: 1px solid #ccc; padding: 1em; }"
 
No edit summary
 
(15 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 */
/* Item Layout */
.item-layout {
.item-layout {
   display: flex;
   display: flex;
Line 13: Line 15:


.item-infobox {
.item-infobox {
   flex: 0 0 300px;
   flex: 0 0 100px;
  max-width: 300px;
  border: 1px solid #ccc;
   padding: 1em;
   padding: 1em;
}
/* Responsive para item-layout en móviles */
@media (max-width: 768px) {
  .item-layout {
    flex-direction: column;
    gap: 1em;
  }
 
  .item-infobox {
    flex: 1 1 auto;
    width: 100%;
    padding: 0.75em;
  }
}
/* Recipe Container - Compatible con Citizen Theme */
.recipe-container {
  background: var(--color-surface-1);
  border: 1px solid var(--border-color-base);
  border-radius: 8px;
  padding: 1.5em;
  margin: 1.5em 0;
  box-shadow: var(--box-shadow-dialog);
}
.recipe-container .recipe-header {
  color: var(--color-progressive);
  font-size: 1.3em;
  padding-bottom: 0.75em;
  border-bottom: 2px solid var(--border-color-base);
  margin: 0 0 1.5em 0;
}
.recipe-container .recipe-section-title {
  color: var(--color-progressive);
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 1.1em;
}
/* Recipe Grid */
.recipe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
}
@media (max-width: 768px) {
  .recipe-grid {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
 
  .recipe-container {
    padding: 1em;
    margin: 1em 0;
  }
 
  .recipe-container .recipe-header {
    font-size: 1.2em;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
  }
 
  .recipe-container .recipe-section-title {
    font-size: 1em;
    margin-bottom: 0.75em;
  }
}
/* Table Styles */
.recipe-container .recipe-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 6px;
  overflow: hidden;
}
.recipe-container .recipe-table-header {
  background: var(--color-surface-2);
  border-bottom: 2px solid var(--border-color-base);
}
.recipe-container .recipe-table th {
  padding: 10px 8px;
  text-align: left;
  color: var(--color-progressive);
  font-weight: 600;
}
.recipe-container .recipe-table th:last-child {
  text-align: center;
  width: 70px;
}
.recipe-container .recipe-table th:first-child {
  width: 50px;
}
.recipe-container .recipe-table tr:not(.recipe-table-header) {
  background: var(--color-surface-0);
  transition: background 0.2s ease;
}
.recipe-container .recipe-table tr:not(.recipe-table-header):hover {
  background: var(--color-surface-2);
}
.recipe-container .recipe-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-color-subtle);
  color: var(--color-base);
}
.recipe-container .recipe-table tr:last-child td {
  border-bottom: none;
}
.recipe-container .recipe-table td:last-child {
  text-align: center;
  font-weight: 600;
  color: var(--color-emphasized);
}
/* Responsive para tablas en móviles */
@media (max-width: 768px) {
  .recipe-container .recipe-table th,
  .recipe-container .recipe-table td {
    padding: 8px 6px;
    font-size: 0.9em;
  }
 
  .recipe-container .recipe-table th:first-child {
    width: 40px;
  }
 
  .recipe-container .recipe-table th:last-child {
    width: 60px;
  }
}
/* Para tablas muy pequeñas, considera hacerlas scrolleables */
@media (max-width: 480px) {
  .recipe-container {
    overflow-x: auto;
  }
 
  .recipe-container .recipe-table {
    min-width: 100%;
  }
}
/* Crafting Details */
.crafting-details {
  background: var(--color-surface-2);
  border-radius: 8px;
  padding: 1em;
}
.detail-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75em;
  align-items: center;
  margin-bottom: 0.75em;
  padding: 0.75em;
  background: var(--color-surface-1);
  border: 1px solid var(--border-color-subtle);
  border-radius: 6px;
  transition: border-color 0.2s ease;
}
.detail-item:hover {
  border-color: var(--border-color-base);
}
.detail-item:last-child {
  margin-bottom: 0;
}
.detail-icon {
  width: 40px;
  height: 40px;
  background: var(--color-surface-0);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}
.detail-label {
  font-size: 0.85em;
  color: var(--color-base--subtle);
  margin-bottom: 0.25em;
}
.detail-value {
  font-weight: bold;
  color: var(--color-emphasized);
}
/* Responsive para detalles en móviles */
@media (max-width: 768px) {
  .crafting-details {
    padding: 0.75em;
  }
 
  .detail-item {
    padding: 0.6em;
    gap: 0.6em;
    margin-bottom: 0.6em;
  }
 
  .detail-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1em;
  }
 
  .detail-label {
    font-size: 0.8em;
  }
 
  .detail-value {
    font-size: 0.95em;
  }
}
/* Ajustes adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
  .detail-item {
    grid-template-columns: 32px 1fr;
  }
 
  .detail-icon {
    width: 32px;
    height: 32px;
    font-size: 1em;
  }
}
/* Responsive general */
@media (max-width: 768px) {
  .recipe-container > div > div:first-child {
    grid-template-columns: 1fr !important;
  }
}
.mainpage-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}
/* Hero Section */
.mainpage-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 60px 40px;
  margin-bottom: 40px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.hero-title {
  font-size: 3.5em;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 1.3em;
  margin: 0 0 30px 0;
  opacity: 0.95;
}
/* Search Box */
.hero-search {
  max-width: 700px;
  margin: 0 auto 30px auto;
}
.search-wrapper {
  display: flex;
  background: white;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease;
}
.search-wrapper:focus-within {
  box-shadow: 0 6px 30px rgba(0,0,0,0.25);
}
.search-input {
  flex: 1;
  padding: 18px 25px;
  border: none;
  font-size: 16px;
  outline: none;
  color: #333;
}
.search-input::placeholder {
  color: #999;
}
.search-button {
  background: #667eea;
  border: none;
  padding: 0 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.search-button:hover {
  background: #5568d3;
}
.search-icon {
  font-size: 20px;
  display: block;
}
/* Notice Banner */
.notice-banner {
  background: rgba(255, 243, 205, 0.95);
  border: 2px solid #ff9800;
  border-radius: 10px;
  padding: 20px 25px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  color: #664d00;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.notice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #cc5500;
  font-size: 18px;
}
.notice-icon {
  font-size: 24px;
}
.notice-banner p {
  margin: 8px 0;
  line-height: 1.6;
}
.notice-note {
  font-size: 0.95em;
  opacity: 0.9;
}
/* Quick Navigation Cards */
.mainpage-quicknav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.quicknav-card {
  background: var(--color-surface-1, #f8f9fa);
  border: 1px solid var(--color-surface-3, #e1e4e8);
  border-radius: 10px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.quicknav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: #667eea;
}
.card-icon {
  font-size: 3em;
  margin-bottom: 15px;
}
.quicknav-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.4em;
  color: var(--color-base--emphasized, #202122);
}
.quicknav-card p {
  margin: 0 0 15px 0;
  color: var(--color-base--subtle, #54595d);
  font-size: 0.95em;
}
.card-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.card-link:hover {
  color: #764ba2;
}
/* Main Grid */
.mainpage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}
.mainpage-section {
  background: var(--color-surface-1, #f8f9fa);
  border: 1px solid var(--color-surface-3, #e1e4e8);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
}
.section-title {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin: 0;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: 600;
}
.section-content {
  padding: 20px;
}
.featured-item {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-surface-3, #e1e4e8);
}
.featured-item:last-child {
  border-bottom: none;
}
.item-desc {
  color: var(--color-base--subtle, #54595d);
  font-size: 0.9em;
  margin-top: 4px;
}
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-surface-3, #e1e4e8);
}
.category-list li:last-child {
  border-bottom: none;
}
/* Stats Footer */
.mainpage-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: var(--color-surface-1, #f8f9fa);
  border: 1px solid var(--color-surface-3, #e1e4e8);
  border-radius: 10px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-size: 2.5em;
  font-weight: 700;
  color: #667eea;
  line-height: 1;
}
.stat-label {
  font-size: 1em;
  color: var(--color-base--subtle, #54595d);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85em;
}
.stat-divider {
  font-size: 2em;
  color: var(--color-surface-3, #e1e4e8);
}
/* Responsive Design */
@media (max-width: 768px) {
  .mainpage-hero {
    padding: 40px 20px;
  }
 
  .hero-title {
    font-size: 2.5em;
  }
 
  .mainpage-quicknav {
    grid-template-columns: 1fr;
  }
 
  .mainpage-grid {
    grid-template-columns: 1fr;
  }
}
/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .mainpage-section,
  .quicknav-card,
  .mainpage-stats {
    background: var(--color-surface-1, #1a1a1a);
    border-color: var(--color-surface-3, #3a3a3a);
  }
 
  .quicknav-card h3 {
    color: var(--color-base--emphasized, #ffffff);
  }
}
/* StateBlock */
.states-container {
  background: linear-gradient(135deg, var(--color-surface-0, #ffffff) 0%, var(--color-surface-1, #f8f9fa) 100%);
  border: 2px solid var(--border-color-base, #a2a9b1);
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.states-header {
  font-size: 1.5em;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-primary, #3366cc);
  color: var(--color-base, #202122);
  display: flex;
  align-items: center;
  gap: 10px;
}
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 768px) {
  .states-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-color-scheme: dark) {
  .states-container {
    background: linear-gradient(135deg, var(--color-surface-0, #1a1b1e) 0%, var(--color-surface-1, #27292d) 100%);
    border-color: var(--border-color-base, #404244);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }
 
  .states-header {
    color: var(--color-base, #eaecf0);
    border-color: var(--color-primary, #5b9eff);
  }
}
/* StateRow */
.state-card {
  background: var(--color-surface-0, #ffffff);
  border: 2px solid var(--border-color-subtle, #c8ccd1);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  min-height: 120px;
}
.state-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary, #3366cc);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.state-card:hover {
  border-color: var(--color-primary, #3366cc);
  box-shadow: 0 6px 12px rgba(51, 102, 204, 0.15);
  transform: translateY(-2px);
}
.state-card:hover::before {
  transform: scaleY(1);
}
.state-card-icon-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-1, #f8f9fa);
  border-radius: 8px;
  transition: transform 0.3s ease;
  position: relative;
}
.states-header {
  color: var(--color-progressive);
  font-size: 1.3em;
  padding-bottom: 0.75em;
  border-bottom: 2px solid var(--border-color-base);
  margin: 0 0 1.5em 0;
}
/* Eliminar TODOS los estilos de MediaWiki que causan scroll */
.state-card-icon-wrapper * {
  overflow: visible !important;
  max-width: none !important;
  max-height: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
.state-card-icon-wrapper img {
  width: 64px !important;
  height: 64px !important;
  display: block !important;
  object-fit: contain !important;
  background: transparent !important;
}
.state-card-icon-wrapper .thumbinner,
.state-card-icon-wrapper .thumbimage,
.state-card-icon-wrapper .thumb,
.state-card-icon-wrapper a {
  display: contents !important;
}
.state-card:hover .state-card-icon-wrapper {
  transform: scale(1.05) rotate(3deg);
}
.state-card-content {
  flex: 1;
  min-width: 0;
}
.state-card-name {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--color-base, #202122);
  word-wrap: break-word;
  line-height: 1.4;
}
@media (prefers-color-scheme: dark) {
  .state-card {
    background: var(--color-surface-0, #202122);
    border-color: var(--border-color-subtle, #404244);
  }
 
  .state-card:hover {
    border-color: var(--color-primary, #5b9eff);
    box-shadow: 0 6px 12px rgba(91, 158, 255, 0.2);
  }
 
  .state-card::before {
    background: var(--color-primary, #5b9eff);
  }
 
  .state-card-icon-wrapper {
    background: var(--color-surface-1, #27292d);
  }
 
  .state-card-name {
    color: var(--color-base, #eaecf0);
  }
}
}

Latest revision as of 21:31, 24 January 2026

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

/* Item Layout */
.item-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2em;
}

.item-main {
  flex: 1;
  min-width: 0;
}

.item-infobox {
  flex: 0 0 100px;
  padding: 1em;
}

/* Responsive para item-layout en móviles */
@media (max-width: 768px) {
  .item-layout {
    flex-direction: column;
    gap: 1em;
  }
  
  .item-infobox {
    flex: 1 1 auto;
    width: 100%;
    padding: 0.75em;
  }
}

/* Recipe Container - Compatible con Citizen Theme */
.recipe-container {
  background: var(--color-surface-1);
  border: 1px solid var(--border-color-base);
  border-radius: 8px;
  padding: 1.5em;
  margin: 1.5em 0;
  box-shadow: var(--box-shadow-dialog);
}

.recipe-container .recipe-header {
  color: var(--color-progressive);
  font-size: 1.3em;
  padding-bottom: 0.75em;
  border-bottom: 2px solid var(--border-color-base);
  margin: 0 0 1.5em 0;
}

.recipe-container .recipe-section-title {
  color: var(--color-progressive);
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 1.1em;
}

/* Recipe Grid */
.recipe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
}

@media (max-width: 768px) {
  .recipe-grid {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
  
  .recipe-container {
    padding: 1em;
    margin: 1em 0;
  }
  
  .recipe-container .recipe-header {
    font-size: 1.2em;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
  }
  
  .recipe-container .recipe-section-title {
    font-size: 1em;
    margin-bottom: 0.75em;
  }
}

/* Table Styles */
.recipe-container .recipe-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 6px;
  overflow: hidden;
}

.recipe-container .recipe-table-header {
  background: var(--color-surface-2);
  border-bottom: 2px solid var(--border-color-base);
}

.recipe-container .recipe-table th {
  padding: 10px 8px;
  text-align: left;
  color: var(--color-progressive);
  font-weight: 600;
}

.recipe-container .recipe-table th:last-child {
  text-align: center;
  width: 70px;
}

.recipe-container .recipe-table th:first-child {
  width: 50px;
}

.recipe-container .recipe-table tr:not(.recipe-table-header) {
  background: var(--color-surface-0);
  transition: background 0.2s ease;
}

.recipe-container .recipe-table tr:not(.recipe-table-header):hover {
  background: var(--color-surface-2);
}

.recipe-container .recipe-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-color-subtle);
  color: var(--color-base);
}

.recipe-container .recipe-table tr:last-child td {
  border-bottom: none;
}

.recipe-container .recipe-table td:last-child {
  text-align: center;
  font-weight: 600;
  color: var(--color-emphasized);
}

/* Responsive para tablas en móviles */
@media (max-width: 768px) {
  .recipe-container .recipe-table th,
  .recipe-container .recipe-table td {
    padding: 8px 6px;
    font-size: 0.9em;
  }
  
  .recipe-container .recipe-table th:first-child {
    width: 40px;
  }
  
  .recipe-container .recipe-table th:last-child {
    width: 60px;
  }
}

/* Para tablas muy pequeñas, considera hacerlas scrolleables */
@media (max-width: 480px) {
  .recipe-container {
    overflow-x: auto;
  }
  
  .recipe-container .recipe-table {
    min-width: 100%;
  }
}

/* Crafting Details */
.crafting-details {
  background: var(--color-surface-2);
  border-radius: 8px;
  padding: 1em;
}

.detail-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75em;
  align-items: center;
  margin-bottom: 0.75em;
  padding: 0.75em;
  background: var(--color-surface-1);
  border: 1px solid var(--border-color-subtle);
  border-radius: 6px;
  transition: border-color 0.2s ease;
}

.detail-item:hover {
  border-color: var(--border-color-base);
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-icon {
  width: 40px;
  height: 40px;
  background: var(--color-surface-0);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}

.detail-label {
  font-size: 0.85em;
  color: var(--color-base--subtle);
  margin-bottom: 0.25em;
}

.detail-value {
  font-weight: bold;
  color: var(--color-emphasized);
}

/* Responsive para detalles en móviles */
@media (max-width: 768px) {
  .crafting-details {
    padding: 0.75em;
  }
  
  .detail-item {
    padding: 0.6em;
    gap: 0.6em;
    margin-bottom: 0.6em;
  }
  
  .detail-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1em;
  }
  
  .detail-label {
    font-size: 0.8em;
  }
  
  .detail-value {
    font-size: 0.95em;
  }
}

/* Ajustes adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
  .detail-item {
    grid-template-columns: 32px 1fr;
  }
  
  .detail-icon {
    width: 32px;
    height: 32px;
    font-size: 1em;
  }
}

/* Responsive general */
@media (max-width: 768px) {
  .recipe-container > div > div:first-child {
    grid-template-columns: 1fr !important;
  }
}










.mainpage-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

/* Hero Section */
.mainpage-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 60px 40px;
  margin-bottom: 40px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-title {
  font-size: 3.5em;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.3em;
  margin: 0 0 30px 0;
  opacity: 0.95;
}

/* Search Box */
.hero-search {
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.search-wrapper {
  display: flex;
  background: white;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease;
}

.search-wrapper:focus-within {
  box-shadow: 0 6px 30px rgba(0,0,0,0.25);
}

.search-input {
  flex: 1;
  padding: 18px 25px;
  border: none;
  font-size: 16px;
  outline: none;
  color: #333;
}

.search-input::placeholder {
  color: #999;
}

.search-button {
  background: #667eea;
  border: none;
  padding: 0 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-button:hover {
  background: #5568d3;
}

.search-icon {
  font-size: 20px;
  display: block;
}

/* Notice Banner */
.notice-banner {
  background: rgba(255, 243, 205, 0.95);
  border: 2px solid #ff9800;
  border-radius: 10px;
  padding: 20px 25px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  color: #664d00;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #cc5500;
  font-size: 18px;
}

.notice-icon {
  font-size: 24px;
}

.notice-banner p {
  margin: 8px 0;
  line-height: 1.6;
}

.notice-note {
  font-size: 0.95em;
  opacity: 0.9;
}

/* Quick Navigation Cards */
.mainpage-quicknav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.quicknav-card {
  background: var(--color-surface-1, #f8f9fa);
  border: 1px solid var(--color-surface-3, #e1e4e8);
  border-radius: 10px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.quicknav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: #667eea;
}

.card-icon {
  font-size: 3em;
  margin-bottom: 15px;
}

.quicknav-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.4em;
  color: var(--color-base--emphasized, #202122);
}

.quicknav-card p {
  margin: 0 0 15px 0;
  color: var(--color-base--subtle, #54595d);
  font-size: 0.95em;
}

.card-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: #764ba2;
}

/* Main Grid */
.mainpage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.mainpage-section {
  background: var(--color-surface-1, #f8f9fa);
  border: 1px solid var(--color-surface-3, #e1e4e8);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
}

.section-title {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin: 0;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: 600;
}

.section-content {
  padding: 20px;
}

.featured-item {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-surface-3, #e1e4e8);
}

.featured-item:last-child {
  border-bottom: none;
}

.item-desc {
  color: var(--color-base--subtle, #54595d);
  font-size: 0.9em;
  margin-top: 4px;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-surface-3, #e1e4e8);
}

.category-list li:last-child {
  border-bottom: none;
}

/* Stats Footer */
.mainpage-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: var(--color-surface-1, #f8f9fa);
  border: 1px solid var(--color-surface-3, #e1e4e8);
  border-radius: 10px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5em;
  font-weight: 700;
  color: #667eea;
  line-height: 1;
}

.stat-label {
  font-size: 1em;
  color: var(--color-base--subtle, #54595d);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85em;
}

.stat-divider {
  font-size: 2em;
  color: var(--color-surface-3, #e1e4e8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mainpage-hero {
    padding: 40px 20px;
  }
  
  .hero-title {
    font-size: 2.5em;
  }
  
  .mainpage-quicknav {
    grid-template-columns: 1fr;
  }
  
  .mainpage-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .mainpage-section,
  .quicknav-card,
  .mainpage-stats {
    background: var(--color-surface-1, #1a1a1a);
    border-color: var(--color-surface-3, #3a3a3a);
  }
  
  .quicknav-card h3 {
    color: var(--color-base--emphasized, #ffffff);
  }
}

/* StateBlock */
.states-container {
  background: linear-gradient(135deg, var(--color-surface-0, #ffffff) 0%, var(--color-surface-1, #f8f9fa) 100%);
  border: 2px solid var(--border-color-base, #a2a9b1);
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.states-header {
  font-size: 1.5em;
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-primary, #3366cc);
  color: var(--color-base, #202122);
  display: flex;
  align-items: center;
  gap: 10px;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .states-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  .states-container {
    background: linear-gradient(135deg, var(--color-surface-0, #1a1b1e) 0%, var(--color-surface-1, #27292d) 100%);
    border-color: var(--border-color-base, #404244);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }
  
  .states-header {
    color: var(--color-base, #eaecf0);
    border-color: var(--color-primary, #5b9eff);
  }
}

/* StateRow */
.state-card {
  background: var(--color-surface-0, #ffffff);
  border: 2px solid var(--border-color-subtle, #c8ccd1);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  min-height: 120px;
}

.state-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary, #3366cc);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.state-card:hover {
  border-color: var(--color-primary, #3366cc);
  box-shadow: 0 6px 12px rgba(51, 102, 204, 0.15);
  transform: translateY(-2px);
}

.state-card:hover::before {
  transform: scaleY(1);
}

.state-card-icon-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-1, #f8f9fa);
  border-radius: 8px;
  transition: transform 0.3s ease;
  position: relative;
}

.states-header {
  color: var(--color-progressive);
  font-size: 1.3em;
  padding-bottom: 0.75em;
  border-bottom: 2px solid var(--border-color-base);
  margin: 0 0 1.5em 0;
}


/* Eliminar TODOS los estilos de MediaWiki que causan scroll */
.state-card-icon-wrapper * {
  overflow: visible !important;
  max-width: none !important;
  max-height: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.state-card-icon-wrapper img {
  width: 64px !important;
  height: 64px !important;
  display: block !important;
  object-fit: contain !important;
  background: transparent !important;
}

.state-card-icon-wrapper .thumbinner,
.state-card-icon-wrapper .thumbimage,
.state-card-icon-wrapper .thumb,
.state-card-icon-wrapper a {
  display: contents !important;
}

.state-card:hover .state-card-icon-wrapper {
  transform: scale(1.05) rotate(3deg);
}

.state-card-content {
  flex: 1;
  min-width: 0;
}

.state-card-name {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--color-base, #202122);
  word-wrap: break-word;
  line-height: 1.4;
}

@media (prefers-color-scheme: dark) {
  .state-card {
    background: var(--color-surface-0, #202122);
    border-color: var(--border-color-subtle, #404244);
  }
  
  .state-card:hover {
    border-color: var(--color-primary, #5b9eff);
    box-shadow: 0 6px 12px rgba(91, 158, 255, 0.2);
  }
  
  .state-card::before {
    background: var(--color-primary, #5b9eff);
  }
  
  .state-card-icon-wrapper {
    background: var(--color-surface-1, #27292d);
  }
  
  .state-card-name {
    color: var(--color-base, #eaecf0);
  }
}