/* =========================================================================
   Accueil du Wiki Brainrot Fortnite — /wiki (portail, maquette v5)
   Feuille dediee : elle ne cible que .wiki-home-page. Les guides internes
   continuent d'utiliser wiki.css sans modification.
   ========================================================================= */

.wiki-home-page {
  --whome-surface: #12172b;
  --whome-surface-2: #171d35;
  --whome-line: rgba(130, 150, 255, .14);
  --whome-muted: #9aa4c0;
  --whome-purple: #8b5cf6;
  --whome-purple-2: #a78bfa;
  --whome-radius: 12px;
}

/* ---------- Gabarit : plus large que la grille par defaut ---------------- */
.wiki-home-page .content-grid.wiki-shell {
  width: 100%;
  max-width: min(1540px, calc(100vw - 200px));
  padding: 20px 24px 80px;
  margin: 0 auto;
}
.wiki-home-page .sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Hero ------------------------------------------------------------ */
.wiki-home-page .whome-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  min-height: 348px;
  padding: 34px 26px 26px 56px;
  border-radius: 14px;
  background: #0d1124;
}
.wiki-home-page .whome-hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 50%;
}
.wiki-home-page .whome-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 15, 31, .88) 0%, rgba(11, 15, 31, .6) 38%, rgba(11, 15, 31, 0) 58%, rgba(11, 15, 31, 0) 80%, rgba(11, 15, 31, .35) 100%),
    linear-gradient(0deg, rgba(11, 15, 31, .55) 0%, transparent 30%);
  pointer-events: none;
}

.wiki-home-page .whome-hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  max-width: 700px;
}
.wiki-home-page .whome-kicker {
  padding: 4px 11px;
  border-radius: 7px;
  color: #fff;
  background: #6d3fe0;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.wiki-home-page .whome-title {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.wiki-home-page .whome-title em {
  font-style: normal;
  color: #b07cff;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.wiki-home-page .whome-subtitle { margin: 0; color: #fff; font-size: 1.1rem; font-weight: 800; line-height: 1.35; }
.wiki-home-page .whome-description { margin: 0; max-width: 62ch; color: #c9d0e4; font-size: .9rem; line-height: 1.6; }

/* Recherche */
.wiki-home-page .whome-searchbar {
  display: flex;
  align-items: stretch;
  width: min(680px, 100%);
  margin-top: 14px;
  padding: 4px;
  border: 1px solid rgba(139, 92, 246, .55);
  border-radius: 12px;
  background: rgba(11, 15, 31, .82);
}
.wiki-home-page .whome-searchbar:focus-within { border-color: var(--whome-purple); box-shadow: 0 0 0 3px rgba(139, 92, 246, .25); }
.wiki-home-page .wiki-search.whome-search {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.wiki-home-page .whome-search-icon { flex: 0 0 auto; width: 20px; height: 20px; fill: #c9d0e4; }
.wiki-home-page .wiki-search.whome-search input {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: .95rem;
  box-shadow: none;
}
.wiki-home-page .wiki-search.whome-search input::placeholder { color: #8a93ad; }
.wiki-home-page .whome-search-clear {
  flex: 0 0 auto;
  width: auto !important;
  min-height: 36px;
  padding: 0 6px;
  border: 0;
  color: #8a93ad;
  background: none;
  font-size: .75rem;
}
.wiki-home-page .whome-search:has(input:placeholder-shown) .whome-search-clear { display: none; }
.wiki-home-page .whome-search-submit {
  flex: 0 0 auto;
  width: auto !important;
  max-width: none;
  min-height: 46px;
  padding: 0 26px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d3fe0);
  font-size: .95rem;
  font-weight: 800;
  cursor: pointer;
  transition: filter .18s ease;
}
.wiki-home-page .whome-search-submit:hover { filter: brightness(1.12); }

.wiki-home-page .whome-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.wiki-home-page .whome-chips-label { color: #c9d0e4; font-size: .82rem; margin-right: 4px; }
.wiki-home-page .whome-chips .whome-chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto !important;
  min-height: 28px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #e8ecf9;
  background: rgba(20, 25, 46, .82);
  font-size: .74rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.wiki-home-page .whome-chips .whome-chip:hover,
.wiki-home-page .whome-chips .whome-chip:focus-visible { border-color: var(--whome-purple); background: rgba(139, 92, 246, .25); outline: none; }

/* Colonne droite : langues + statistiques */
.wiki-home-page .whome-hero-side {
  position: relative;
  display: flex;
  flex: 0 0 250px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}
.wiki-home-page .whome-hero-side .wiki-language-bar {
  display: inline-flex;
  gap: 2px;
  margin: 0;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9px;
  background: rgba(11, 15, 31, .7);
}
.wiki-home-page .whome-hero-side .wiki-language-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wiki-home-page .whome-hero-side .wiki-language-link {
  min-width: 36px;
  min-height: 26px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  color: #b9c2da;
  background: transparent;
  font-size: .72rem;
  font-weight: 800;
}
.wiki-home-page .whome-hero-side .wiki-language-link.is-current { color: #fff; background: var(--whome-purple); }

.wiki-home-page .whome-stats {
  display: grid;
  gap: 16px;
  width: 250px;
  margin: 0;
  padding: 20px 22px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(17, 21, 40, .86);
  backdrop-filter: blur(6px);
}
.wiki-home-page .whome-stat {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
}
.wiki-home-page .whome-stat-icon { grid-row: 1 / span 2; width: 32px; height: 32px; }
.wiki-home-page .whome-stat--purple .whome-stat-icon { fill: #b07cff; }
.wiki-home-page .whome-stat--blue .whome-stat-icon { fill: #8b8cff; }
.wiki-home-page .whome-stat--gold .whome-stat-icon { fill: #fbbf24; }
.wiki-home-page .whome-stat--green .whome-stat-icon { fill: #34d399; }
.wiki-home-page .whome-stat strong { color: #fff; font-size: 1.15rem; font-weight: 900; line-height: 1.1; }
.wiki-home-page .whome-stat-label { color: #c9d0e4; font-size: .82rem; line-height: 1.2; }

/* ---------- Resultats de recherche ---------------------------------------- */
.wiki-home-page .whome-results {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--whome-line);
  border-radius: var(--whome-radius);
  background: var(--whome-surface);
}
.wiki-home-page .whome-section-intro { margin: 0; color: var(--whome-muted); font-size: .8rem; }

/* ---------- Cartes de rubriques -------------------------------------------- */
.wiki-home-page .whome-explore { margin-top: 20px; }
.wiki-home-page .whome-cards {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wiki-home-page .whome-cards > li { min-width: 0; }
.wiki-home-page .whome-card {
  --tone: #8b5cf6;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent);
  border-radius: var(--whome-radius);
  color: inherit;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 14%, #12172b), #12172b 70%);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.wiki-home-page .whome-card:hover,
.wiki-home-page .whome-card:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--tone) 70%, transparent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  outline: none;
}
.wiki-home-page .whome-card--red    { --tone: #ef4444; }
.wiki-home-page .whome-card--blue   { --tone: #3b82f6; }
.wiki-home-page .whome-card--orange { --tone: #f59e0b; }
.wiki-home-page .whome-card--green  { --tone: #22c55e; }
.wiki-home-page .whome-card--pink   { --tone: #d946ef; }
.wiki-home-page .whome-card--sky    { --tone: #3b82f6; }
.wiki-home-page .whome-card--teal   { --tone: #14b8a6; }
.wiki-home-page .whome-card--slate  { --tone: #94a3b8; }

.wiki-home-page .whome-card-art { display: block; aspect-ratio: 170 / 86; background: color-mix(in srgb, var(--tone) 30%, #0d1124); }
.wiki-home-page .whome-card-art img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.wiki-home-page .whome-card-body {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 10px 10px 12px;
}
.wiki-home-page .whome-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--tone);
}
.wiki-home-page .whome-card-icon svg { width: 18px; height: 18px; fill: #fff; }
.wiki-home-page .whome-card-text { display: grid; gap: 3px; min-width: 0; }
.wiki-home-page .whome-card-text strong { color: #fff; font-size: .86rem; font-weight: 800; line-height: 1.2; }
.wiki-home-page .whome-card-text small { color: var(--whome-muted); font-size: .72rem; line-height: 1.35; }
.wiki-home-page .whome-card-arrow { align-self: center; color: var(--tone); font-size: 1.05rem; font-weight: 800; }
.wiki-home-page .whome-cards > li:has(.whome-card[hidden]) { display: none; }

/* Navigation secondaire : toutes les autres rubriques restent accessibles */
.wiki-home-page .whome-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.wiki-home-page .whome-more-label { color: var(--whome-muted); font-size: .78rem; margin-right: 4px; }
.wiki-home-page .whome-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--whome-line);
  border-radius: 999px;
  color: #dbe1f0;
  background: var(--whome-surface);
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}
.wiki-home-page .whome-more-link svg { width: 14px; height: 14px; fill: var(--whome-purple-2); }
.wiki-home-page .whome-more-link:hover,
.wiki-home-page .whome-more-link:focus-visible { color: #fff; border-color: var(--whome-purple); outline: none; }
.wiki-home-page .whome-more-link[hidden] { display: none; }
.wiki-home-page .wiki-empty { display: none; }
.wiki-home-page .wiki-empty.is-visible { display: block; margin: 12px 0 0; color: var(--whome-muted); font-size: .85rem; }

/* ---------- Panneaux ------------------------------------------------------- */
.wiki-home-page .whome-panels {
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 59fr);
  gap: 16px;
  margin-top: 18px;
}
.wiki-home-page .whome-panel {
  min-width: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--whome-line);
  border-radius: var(--whome-radius);
  background: var(--whome-surface);
}
.wiki-home-page .whome-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.wiki-home-page .whome-panel-head h2 { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: #fff; font-size: 1.15rem; font-weight: 900; }
.wiki-home-page .whome-panel-icon { width: 24px; height: 24px; }
.wiki-home-page .whome-panel-icon--purple { fill: #a78bfa; }
.wiki-home-page .whome-panel-icon--gold { fill: #fbbf24; }
.wiki-home-page .whome-section-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--whome-line);
  border-radius: 8px;
  color: #dbe1f0;
  background: var(--whome-surface-2);
  font-size: .74rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.wiki-home-page .whome-section-action:hover { color: #fff; border-color: rgba(139, 92, 246, .6); }

.wiki-home-page .whome-recent-list,
.wiki-home-page .whome-pop-grid { margin: 0; padding: 0; list-style: none; }
.wiki-home-page .whome-recent-list { display: grid; gap: 6px; }
.wiki-home-page .whome-recent {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto auto 18px;
  align-items: center;
  gap: 12px;
  padding: 3px 4px 3px 2px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: background .18s ease;
}
.wiki-home-page .whome-recent:hover,
.wiki-home-page .whome-recent:focus-visible { background: rgba(255, 255, 255, .04); outline: none; }
.wiki-home-page .whome-recent-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 70px;
  height: 40px;
  border-radius: 6px;
  background: var(--whome-surface-2);
}
.wiki-home-page .whome-recent-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.wiki-home-page .whome-recent-media svg { width: 18px; height: 18px; fill: #6f7ca0; }
.wiki-home-page .whome-recent-title { overflow: hidden; color: #fff; font-size: .82rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.wiki-home-page .whome-recent-tag {
  max-width: 150px;
  overflow: hidden;
  padding: 4px 12px;
  border-radius: 999px;
  color: #c4b5fd;
  background: rgba(124, 92, 246, .3);
  font-size: .7rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wiki-home-page .whome-recent-tag--spawn,
.wiki-home-page .whome-recent-tag--luck,
.wiki-home-page .whome-recent-tag--wheel { color: #a5c4ff; background: rgba(59, 90, 140, .45); }
.wiki-home-page .whome-recent-tag--box,
.wiki-home-page .whome-recent-tag--eternal { color: #fcd9a0; background: rgba(120, 90, 40, .5); }
.wiki-home-page .whome-recent-date { color: var(--whome-muted); font-size: .74rem; }
.wiki-home-page .whome-recent-arrow { color: #cbd3e8; text-align: center; }
.wiki-home-page .whome-empty-note { margin: 0; color: var(--whome-muted); font-size: .85rem; }

/* Brainrots populaires */
.wiki-home-page .whome-pop-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.wiki-home-page .whome-pop {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 160 / 150;
  border: 1px solid var(--whome-line);
  border-radius: 10px;
  color: inherit;
  background: radial-gradient(circle at 50% 35%, #2a3150, #141a30 70%);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.wiki-home-page .whome-pop:hover,
.wiki-home-page .whome-pop:focus-visible { transform: translateY(-2px); border-color: rgba(139, 92, 246, .7); outline: none; }
.wiki-home-page .whome-pop-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.wiki-home-page .whome-pop-info {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  justify-items: start;
  gap: 5px;
  padding: 24px 10px 8px;
  background: linear-gradient(180deg, transparent, rgba(11, 15, 31, .92) 55%);
}
.wiki-home-page .whome-pop-name { max-width: 100%; overflow: hidden; color: #fff; font-size: .84rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.wiki-home-page .whome-pop-rarity { padding: 1px 10px; border-radius: 5px; color: #fff; background: #c026d3; font-size: .68rem; font-weight: 900; }
.wiki-home-page .whome-pop-rarity--ss { color: #4a044e; background: #f0abfc; }
.wiki-home-page .whome-pop-rarity--s { background: #2563eb; }

/* ---------- Bandeau de contribution --------------------------------------- */
.wiki-home-page .whome-contrib {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 18px;
  padding: 18px 24px;
  border: 1px solid rgba(139, 92, 246, .5);
  border-radius: var(--whome-radius);
  background: linear-gradient(90deg, #1a1a4a, #1d1745 50%, #1a1a4a);
}
.wiki-home-page .whome-contrib-art { position: absolute; bottom: 0; z-index: -1; height: 100%; width: auto; max-width: none; pointer-events: none; }
.wiki-home-page .whome-contrib-art--left { left: 40px; -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
.wiki-home-page .whome-contrib-art--right { right: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%); mask-image: linear-gradient(90deg, transparent, #000 20%); }
.wiki-home-page .whome-contrib-main { display: flex; align-items: center; justify-content: center; gap: 18px 28px; min-height: 64px; }
.wiki-home-page .whome-contrib-bulb { flex: 0 0 auto; width: 44px; height: 44px; fill: #c084fc; filter: drop-shadow(0 0 10px rgba(192, 132, 252, .5)); }
.wiki-home-page .whome-contrib-copy h2 { margin: 0 0 4px; color: #fff; font-size: 1.05rem; font-weight: 900; }
.wiki-home-page .whome-contrib-copy p { margin: 0; max-width: 46ch; color: #c9d0e4; font-size: .8rem; line-height: 1.5; }
.wiki-home-page .whome-contrib-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  width: auto !important;
  min-height: 40px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d3fe0);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.wiki-home-page .whome-contrib-cta:hover { color: #fff; filter: brightness(1.12); }
.wiki-home-page .whome-contrib-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 16px auto 0;
  padding: 16px;
  border-radius: 10px;
  background: rgba(11, 15, 31, .88);
}
.wiki-home-page .whome-contrib-form[hidden] { display: none; }
.wiki-home-page .whome-contrib-form label { display: grid; gap: 5px; color: #cbd3e8; font-size: .78rem; font-weight: 700; }
.wiki-home-page .whome-contrib-form label.is-wide,
.wiki-home-page .whome-contrib-actions { grid-column: 1 / -1; }
.wiki-home-page .whome-contrib-form input[type="text"],
.wiki-home-page .whome-contrib-form select,
.wiki-home-page .whome-contrib-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--whome-line);
  border-radius: 8px;
  color: #fff;
  background: #0d1124;
  font-size: .88rem;
}
.wiki-home-page .whome-contrib-form :focus-visible { outline: 2px solid var(--whome-purple); outline-offset: 1px; }
.wiki-home-page .whome-contrib-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.wiki-home-page .whome-contrib-status { margin: 0; color: #c4b5fd; font-size: .82rem; }
.wiki-home-page .whome-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Responsive ----------------------------------------------------- */
@media (max-width: 1366px) {
  .wiki-home-page .content-grid.wiki-shell { padding: 20px 20px 80px; }
}
@media (max-width: 1280px) {
  .wiki-home-page .whome-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wiki-home-page .whome-panels { grid-template-columns: minmax(0, 1fr); }
  .wiki-home-page .whome-contrib-art { opacity: .35; }
}
@media (max-width: 1024px) {
  .wiki-home-page .whome-hero { flex-direction: column; padding: 28px 24px 24px; }
  .wiki-home-page .whome-hero-art { right: 0; width: 100%; opacity: .45; -webkit-mask-image: none; mask-image: none; }
  .wiki-home-page .whome-hero::before { background: linear-gradient(180deg, rgba(11, 15, 31, .75), rgba(11, 15, 31, .9)); }
  .wiki-home-page .whome-hero-side { flex: none; flex-direction: row-reverse; align-items: flex-start; justify-content: space-between; }
  .wiki-home-page .whome-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); width: auto; flex: 1 1 auto; padding: 14px; }
  .wiki-home-page .whome-pop-grid { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
}
@media (max-width: 680px) {
  .wiki-home-page .content-grid.wiki-shell { width: 100%; max-width: 100%; padding: 84px 16px 120px; }
  .wiki-home-page .whome-hero { padding: 22px 16px 18px; border-radius: 12px; }
  .wiki-home-page .whome-title { font-size: 2rem; }
  .wiki-home-page .whome-subtitle { font-size: .98rem; }
  .wiki-home-page .whome-description { font-size: .84rem; }
  .wiki-home-page .whome-searchbar { flex-wrap: wrap; }
  .wiki-home-page .wiki-search.whome-search { flex: 1 1 100%; }
  .wiki-home-page .whome-search-submit { flex: 1 1 100%; width: 100% !important; margin-top: 4px; }
  .wiki-home-page .whome-chips-label { flex: 1 1 100%; }
  .wiki-home-page .whome-hero-side { flex-direction: column-reverse; align-items: stretch; }
  .wiki-home-page .whome-hero-side .wiki-language-bar { align-self: flex-start; }
  .wiki-home-page .whome-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .wiki-home-page .whome-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wiki-home-page .whome-card-body { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
  .wiki-home-page .whome-card-icon { width: 28px; height: 28px; }
  .wiki-home-page .whome-card-arrow { display: none; }
  .wiki-home-page .whome-recent { grid-template-columns: 56px minmax(0, 1fr) 16px; }
  .wiki-home-page .whome-recent-media { width: 56px; }
  .wiki-home-page .whome-recent-title { white-space: normal; }
  .wiki-home-page .whome-recent-tag,
  .wiki-home-page .whome-recent-date { display: none; }
  .wiki-home-page .whome-pop-grid { grid-template-columns: repeat(5, 132px); }
  .wiki-home-page .whome-contrib { padding: 18px 16px; }
  .wiki-home-page .whome-contrib-art { display: none; }
  .wiki-home-page .whome-contrib-main { flex-direction: column; align-items: flex-start; }
  .wiki-home-page .whome-contrib-cta { width: 100% !important; justify-content: center; }
  .wiki-home-page .whome-contrib-form { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .wiki-home-page .whome-card,
  .wiki-home-page .whome-pop,
  .wiki-home-page .whome-recent,
  .wiki-home-page .whome-chip,
  .wiki-home-page .whome-search-submit { transition: none; }
  .wiki-home-page .whome-card:hover,
  .wiki-home-page .whome-pop:hover { transform: none; }
}
