@import "https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&family=Silkscreen:wght@400;700&display=swap";
:root {
  --bg:#111214;
  --surface:#17181b;
  --ink:#ecedee;
  --muted:#9a9ca3;
  --line:#24262b;
  --accent:#5bd46a;
  --pixel-font:"Silkscreen",monospace;
  --mono-font:"Geist Mono",monospace;
  font-family:
    "Geist",
    system-ui,
    sans-serif;
}
body {
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}
html {
  scroll-padding-top: 100px;
}
button,
input,
textarea,
select {
  font-family: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:not(:disabled),
a {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
  opacity: .45;
}
input::placeholder {
  color: #7c7f87;
}
img[src*=mc-heads],
canvas {
  image-rendering: pixelated;
}
.shell {
  width: calc(100% - 64px);
  max-width: 1176px;
}
main {
  min-width: 0;
}
.site-header.shell {
  position: sticky;
  top: 0;
  z-index: 30;
  max-width: none;
  width: 100%;
  min-height: 64px;
  height: auto;
  margin: 0;
  padding: 12px max(32px, calc((100% - 1176px)/2));
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 20px;
  background: rgba(17, 18, 20, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  font-family: inherit;
}
.site-header .brand.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  font: 400 19px/1.2 var(--pixel-font);
  letter-spacing: .01em;
  color: var(--ink);
}
.site-header .brand.wordmark:before,
.site-footer-brand:before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-inline-end: 10px;
  background: var(--accent);
  box-shadow: inset -4px -4px #3a9a48, inset 4px 4px #8be695;
}
.site-header .brand.wordmark span:first-child,
.site-header .brand.wordmark span {
  color: var(--ink);
}
.site-header nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 2px;
  min-width: 0;
}
.site-header nav a {
  min-height: 36px;
  padding: 9px 12px;
  border: 0;
  border-radius: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #9a9ca3;
  background: transparent;
}
.site-header nav a:hover {
  color: var(--ink);
  background: #1f2125;
}
.site-header nav a[aria-current=page] {
  color: var(--accent);
  background: #1d2a20;
  box-shadow: inset 0 -2px var(--accent);
}
.site-header .header-controls {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}
.site-header .account-actions {
  display: flex;
  gap: 8px;
  min-width: 0;
}
.site-header .account-actions button {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  background: #1f2125;
  color: #fff;
}
.site-header #login-open {
  background: #5865f2;
  box-shadow: inset -3px -3px #0004, inset 3px 3px #ffffff2e;
}
.site-header #login-open:hover {
  background: #6773f5;
}
.site-header .account-details {
  max-width: 100px;
}
.site-header #account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 0;
}
.site-header #account-profile {
  border-radius: 0;
}
main.materials,
main.support-page {
  padding-block: 40px 64px;
}
.materials-heading {
  margin-bottom: 14px;
}
.materials-heading h1,
.support-heading h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.materials-heading > span {
  font-size: 26px;
}
.stats-intro,
.ranks-intro {
  font-size: 15px;
  line-height: 1.7;
  max-width: 650px;
  margin-bottom: 28px;
}
.materials h2,
.support-panel h2 {
  font-weight: 600;
  letter-spacing: -.02em;
}
.materials button,
.support-page button,
.model-actions a,
.skin-editor-launch {
  border-radius: 0;
  font-size: 13px;
  background: #1f2125;
  border: 1px solid #2f3137;
  color: var(--ink);
  font-weight: 500;
}
.materials button:hover:not(:disabled),
.support-page button:hover:not(:disabled) {
  background: #26282d;
  border-color: #45484f;
}
.materials button.primary,
.support-page button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #0b1a0d;
  font-weight: 700;
  box-shadow: inset -3px -3px #0003, inset 3px 3px #ffffff40;
}
.materials input,
.materials textarea,
.materials select,
.support-form input,
.support-form textarea,
.support-form select {
  border-radius: 0;
  background: #191a1d;
  border-color: #2f3137;
}
.stats-search {
  max-width: 680px;
}
.stats-search > label {
  font-size: 12px;
  margin-bottom: 10px;
}
.search-row {
  gap: 0;
  padding: 6px;
  border: 1px solid #2f3137;
  background: #191a1d;
}
.search-row input {
  border: 0;
  background: transparent;
  font-size: 16px;
  padding: 10px 12px;
}
.search-row input:focus-visible {
  outline-offset: -2px;
}
.search-row button {
  min-height: 44px;
}
.stats-empty {
  background: var(--surface);
  border-color: var(--line);
  padding: 32px;
  margin-top: 32px;
}
.stats-empty > span,
.ranks-eyebrow,
.ranks-overall,
.profile-label {
  font-family: var(--pixel-font);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--accent);
}
.stat-card,
.profile-card,
.support-panel,
.ranks-panel,
.catalog-skin-card,
.skin-history-card,
.minecraft-section,
.profile-favorites {
  border-radius: 0;
  border-color: var(--line);
  background: var(--surface);
  box-shadow: none;
}
.stat-card {
  padding: 22px;
}
.stat-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.stat-heading h3 {
  font-size: 16px;
  font-weight: 600;
}
.source-note,
.provider-state {
  line-height: 1.7;
}
.provider-choice,
.ranks-provider {
  border-radius: 0;
  background: var(--surface);
  border-color: #2c2e34;
  min-width: 0;
}
.provider-choice strong,
.ranks-provider strong {
  font-size: 15px;
}
.provider-choice[aria-pressed=true],
.ranks-provider[aria-pressed=true] {
  background: #1b2b20;
  border-color: #35623c;
  box-shadow: inset 0 3px var(--accent);
  color: #8be695;
}
.provider-choice[aria-pressed=true] strong,
.ranks-provider[aria-pressed=true] strong {
  color: #8be695;
}
.ranks-providers {
  gap: 8px;
}
.ranks-table th {
  font: 500 11px var(--mono-font);
  text-transform: uppercase;
  color: var(--muted);
  background: #191a1d;
}
.ranks-table td {
  border-color: var(--line);
}
.rank-position,
.rank-score,
.stat-values dd,
.player-views,
.skin-views {
  font-family: var(--mono-font);
}
.ranks-table tr:hover td {
  background: #1f2125;
}
.rank-avatar,
.tier-item,
.mcci-card,
.provider-selector,
.pvphq-mode,
.pvphq-mode-heading,
.skin-layer-controls,
.skin-layer-buttons button,
.skin-animations button {
  border-radius: 0;
}
.skin-stage,
#selected-stage,
.skin-card-preview,
.recommended-skin {
  border-radius: 0;
  background-color: #191d22;
  background-image:
    linear-gradient(#ffffff05 1px, transparent 1px),
    linear-gradient(
      90deg,
      #ffffff05 1px,
      transparent 1px);
  background-size: 24px 24px;
}
.skin-card-preview {
  border: 0;
}
.skin-card-link {
  padding: 12px;
}
.skin-card-name {
  font-weight: 600;
  font-size: 14px;
}
.catalog-skin-card:hover,
.skin-history-card:hover {
  border-color: #35623c;
  background: #1c1d21;
}
.skin-card-sort,
.recommendation-sort {
  gap: 4px;
}
.skin-card-sort button,
.recommendation-sort button {
  border-color: var(--line);
  font-size: 12px;
}
.skin-card-sort button[aria-pressed=true],
.recommendation-sort button[aria-pressed=true] {
  background: #1d2a20;
  border-color: #35623c;
  color: var(--accent);
}
.player-reaction,
.skin-reaction,
.skin-select,
.skin-badge,
.support-badge,
.favorite-card,
.minecraft-account,
.card-editor-preview,
.card-editor-controls fieldset {
  border-radius: 0;
}
.player-reaction[aria-pressed=true],
.skin-reaction[aria-pressed=true] {
  border-color: var(--accent);
  color: var(--accent);
  background: #1b2b20;
}
.support-heading {
  margin-bottom: 32px;
}
.support-heading p {
  max-width: 660px;
  line-height: 1.8;
  color: var(--muted);
}
.support-panel {
  padding: 24px;
}
.support-list li {
  border-color: var(--line);
}
.skin-editor,
.skin-editor button,
.skin-editor select,
.skin-editor-atlas-panel {
  border-radius: 0;
}
.skin-editor {
  background: var(--bg);
  border-color: var(--line);
}
.skin-editor header,
.skin-editor-tools,
.skin-editor-atlas-panel {
  background: var(--surface);
  border-color: var(--line);
}
.skin-editor button {
  background: #1f2125;
  border-color: #2f3137;
}
.skin-editor button[aria-pressed=true] {
  background: #1d2a20;
  border-color: var(--accent);
  color: var(--accent);
}
.skin-editor-viewport {
  background-color: #14171c;
}
.privacy,
.terms {
  max-width: 850px;
  padding-block: 48px 64px;
  line-height: 1.85;
}
.privacy h1,
.terms h1 {
  font-size: 40px;
  letter-spacing: -.03em;
}
.privacy h2,
.terms h2 {
  font-size: 20px;
  margin-top: 32px;
}
.privacy p,
.terms p {
  color: var(--muted);
  font-size: 14px;
}
.privacy a,
.terms a {
  color: var(--accent);
}
.community-main {
  padding-block: 0 64px;
}
.community-main .home-welcome {
  isolation: isolate;
  position: relative;
  padding: 96px 24px 76px;
  margin-inline: calc((min(1176px, 100vw - 64px) - 100vw)/2);
  overflow: hidden;
  text-align: center;
}
.community-main .home-welcome:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(#ffffff09 1px, transparent 1px),
    linear-gradient(
      90deg,
      #ffffff09 1px,
      transparent 1px);
  background-size: 32px 32px;
  mask-image:
    radial-gradient(
      ellipse 65% 90% at 50% 15%,
      #000 10%,
      transparent 80%);
  animation: none;
  transform: none;
}
.pixel-label {
  font: 400 11px/1.6 var(--pixel-font);
  letter-spacing: .04em;
  color: var(--muted);
}
.hero-label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #8be695;
  margin: 0 0 22px;
}
.hero-label:before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.community-main .home-welcome h1 {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.04em;
  overflow-wrap: normal;
  text-wrap: balance;
}
.community-main .home-welcome .community-description {
  max-width: 560px;
  margin: 22px auto 32px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}
.home-search {
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 12px;
  min-height: 68px;
  background: #191a1d;
  border: 2px solid #2f3137;
  box-shadow: 0 24px 60px #0006;
  text-align: start;
}
.home-search label {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #24262b;
  font: 400 22px var(--pixel-font);
  color: var(--accent);
}
.home-search input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 8px 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
}
.home-search input:focus-visible {
  outline-offset: 0;
}
.pixel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  min-height: 48px;
  border: 0;
  background: var(--accent);
  color: #0b1a0d;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset -4px -4px #0003, inset 4px 4px #ffffff59;
}
.pixel-button:hover {
  background: #6fe07d;
}
.pixel-button kbd {
  font: 500 12px var(--mono-font);
  opacity: .7;
}
.hero-trending {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px auto 0;
  max-width: 800px;
  min-height: 32px;
  font-size: 12px;
  color: var(--muted);
}
.hero-trending a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  background: #1b1c20;
  border: 1px solid #2c2e34;
  color: #d5d7db;
}
.hero-trending a:hover {
  background: #24262b;
  color: #fff;
}
.hero-trending img {
  width: 24px;
  height: 24px;
  background: #24262b;
  image-rendering: pixelated;
}
.grass-divider {
  position: relative;
  height: 28px;
  margin-inline: calc((min(1176px, 100vw - 64px) - 100vw)/2);
  background:
    linear-gradient(
      #5bd46a 0 8px,
      #45a853 8px 12px,
      #7a5434 12px 20px,
      #5e3f26 20px);
}
.grass-divider:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      #0002 0 8px,
      transparent 8px 16px,
      #ffffff0f 16px 24px,
      transparent 24px 40px);
}
.community-main .home-players {
  margin: 64px 0;
}
.home-players-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.home-players-heading h2,
.home-section-heading h2,
.home-community-heading h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
  text-align: start;
  margin: 6px 0 0;
}
.home-period {
  margin: 0;
  font: 400 11px var(--mono-font);
  color: var(--muted);
  padding: 8px 10px;
  border: 1px solid #2c2e34;
  background: #191a1d;
}
.community-main .home-player-rankings {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.home-player-category {
  padding: 0;
  border-radius: 0;
  background: var(--surface);
  border: 1px solid var(--line);
}
.home-player-category h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  text-align: start;
  font-size: 14px;
  font-weight: 600;
}
.home-player-category h3:before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
}
.home-player-category:nth-child(2) h3:before {
  background: #f4cb64;
}
.home-player-category:nth-child(3) h3:before {
  background: #ec8b99;
}
.home-player-category ol {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 6px;
}
.community-main .home-player-card,
.community-main .home-player-card[data-card-design] {
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: background .15s;
}
.community-main .home-player-card:hover {
  background: #1f2125;
  box-shadow: none;
  transform: none;
}
.home-player-card > a {
  display: grid;
  grid-template-columns: 24px 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 72px;
  height: auto;
  padding: 10px;
  text-align: start;
  border-radius: 0;
}
.home-player-info {
  grid-column: 3;
  grid-row: 1;
  padding: 0;
  min-width: 0;
}
.home-player-info strong {
  font-size: 14px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-player-skin {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
  background: none;
  width: 36px;
  height: 36px;
  min-height: 0;
}
.home-player-skin img,
.home-player-card[data-rank] .home-player-skin img {
  width: 36px;
  height: 36px;
  max-height: 36px;
  object-fit: contain;
}
.home-player-skin-status {
  font-size: 8px;
  padding: 0;
}
.home-player-card .home-player-podium {
  display: contents;
}
.home-player-card .home-player-rank,
.home-player-card[data-rank] .home-player-rank {
  grid-column: 1;
  grid-row: 1;
  color: var(--muted);
  font: 400 12px var(--pixel-font);
  text-shadow: none;
}
.home-player-count {
  grid-column: 4;
  grid-row: 1;
  max-width: 72px;
  text-align: end;
  color: #d5d7db;
  font: 400 10px/1.6 var(--mono-font);
}
.home-player-status {
  padding: 16px;
  margin: 0;
}
.home-section {
  margin-block: 64px;
}
.home-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}
.home-section-heading a {
  color: var(--accent);
  font-size: 13px;
}
.home-skin-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
}
.home-skin-grid li {
  min-width: 0;
}
.home-skin-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .15s, background .15s;
}
.home-skin-grid a:hover {
  transform: translateY(-3px);
  background: #1c1d21;
}
.home-skin-image {
  height: 170px;
  display: grid;
  place-items: center;
  width: 100%;
  color: var(--muted);
  font-size: 11px;
}
.home-skin-image img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px #0008);
  image-rendering: pixelated;
}
.home-skin-grid strong {
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
}
.home-section-status {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.home-section-status:empty {
  display: none;
}
.home-section-retry {
  border: 1px solid var(--line);
  background: #1f2125;
  color: var(--ink);
  padding: 10px 14px;
  cursor: pointer;
}
.home-sources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.home-sources a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 22px;
  background: #141518;
}
.home-sources a:hover {
  background: #1c1d21;
}
.source-bar {
  width: 20px;
  height: 4px;
  background: var(--accent);
}
.home-sources a:nth-child(2) .source-bar {
  background: #dba968;
}
.home-sources a:nth-child(3) .source-bar {
  background: #a29bf8;
}
.home-sources a:nth-child(4) .source-bar {
  background: #69b9ed;
}
.home-sources strong {
  font-size: 16px;
  font-weight: 600;
}
.home-sources .pixel-label {
  font-size: 9px;
}
.home-community-heading {
  margin-bottom: 22px;
}
.home-community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
}
.community-main .home-suggestions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.home-suggestion-panel {
  border-radius: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
}
.home-suggestion-panel h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.home-suggestion-panel li {
  padding: 14px 18px;
  border-color: var(--line);
}
.home-suggestion-panel .home-suggestion-status,
.home-suggestion-panel .home-suggestion-note {
  padding-inline: 18px;
}
.home-contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  background: var(--accent);
  color: #0b1a0d;
  box-shadow: inset -5px -5px #0003, inset 5px 5px #ffffff4d;
}
.home-contact .pixel-label {
  color: inherit;
}
.home-contact h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 10px 0 0;
}
.home-contact a {
  display: inline-flex;
  padding: 14px 16px;
  background: #0b1a0d;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.home-contact a:hover {
  background: #1a2e1d;
}
.site-bottom-ad {
  margin-block: 24px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.site-footer-brand {
  display: inline-flex;
  align-items: center;
  font: 400 18px var(--pixel-font);
  gap: 0;
  color: var(--ink);
}
.site-footer-brand span,
.site-footer-brand span:first-child {
  color: var(--ink);
}
.site-footer-description,
.site-footer-links,
.site-footer-email,
.site-footer-owner {
  font-size: 12px;
  line-height: 1.8;
}
.site-footer-label {
  font: 400 10px var(--pixel-font);
  letter-spacing: .02em;
}
.site-footer-meta,
.site-disclaimer {
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 1150px) {
  .site-header.shell {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .site-header nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
  .site-header .header-controls {
    display: flex;
  }
  .site-header nav a {
    flex: 1;
    max-width: 160px;
  }
  .home-player-card > a {
    gap: 7px;
    padding: 8px;
  }
  .home-player-info strong {
    font-size: 12px;
  }
  .home-player-count {
    font-size: 9px;
    max-width: 60px;
  }
  .home-community-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .home-skin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .community-main .home-player-rankings {
    grid-template-columns: 1fr;
  }
  .home-player-info strong {
    font-size: 15px;
  }
  .home-player-count {
    max-width: none;
    font-size: 11px;
  }
  .home-player-card > a {
    padding: 12px;
    grid-template-columns: 28px 36px minmax(0, 1fr) auto;
    gap: 12px;
  }
  .home-community-grid {
    grid-template-columns: 1fr;
  }
  .home-contact {
    min-height: 220px;
  }
  .home-sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-sources a {
    padding: 22px;
  }
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer-identity {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 160px;
  }
  .shell {
    width: calc(100% - 32px);
  }
  .site-header.shell {
    padding: 12px 16px;
    gap: 12px;
  }
  .site-header .brand.wordmark {
    font-size: 16px;
  }
  .site-header .brand.wordmark:before {
    width: 18px;
    height: 18px;
    margin-inline-end: 7px;
  }
  .site-header .header-controls {
    gap: 8px;
  }
  .site-header .account-actions button {
    font-size: 10px;
    padding: 0 8px;
    height: 36px;
    max-width: 150px;
    white-space: normal;
  }
  .site-header .account-details {
    display: none;
  }
  .site-header nav {
    display: flex;
    width: 100%;
    gap: 0;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: thin;
  }
  .site-header nav a {
    flex: 1 0 auto;
    font-size: 11px;
    padding: 9px 8px;
    min-height: 36px;
  }
  .site-header #account-avatar {
    width: 26px;
    height: 26px;
  }
  .community-main .home-welcome {
    margin-inline: -16px;
    padding: 60px 16px 48px;
  }
  .community-main .home-welcome h1 {
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -.04em;
  }
  .community-main .home-welcome .community-description {
    font-size: 15px;
    max-width: 360px;
    margin: 20px auto 28px;
  }
  .hero-label {
    font-size: 9px;
  }
  .home-search {
    min-height: 60px;
    padding: 6px;
    gap: 8px;
  }
  .home-search label {
    width: 32px;
    height: 36px;
    font-size: 18px;
  }
  .home-search input {
    font-size: 15px;
    height: 44px;
  }
  .pixel-button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }
  .pixel-button kbd {
    display: none;
  }
  .hero-trending {
    gap: 6px;
    font-size: 11px;
  }
  .grass-divider {
    margin-inline: -16px;
    height: 24px;
  }
  .community-main .home-players,
  .home-section {
    margin-block: 40px;
  }
  .home-players-heading h2,
  .home-section-heading h2,
  .home-community-heading h2 {
    font-size: 26px;
  }
  .home-period {
    font-size: 9px;
    padding: 7px;
  }
  .pixel-label {
    font-size: 9px;
  }
  .home-skin-grid {
    gap: 8px;
  }
  .home-skin-grid a {
    padding: 12px 6px;
    gap: 8px;
  }
  .home-skin-image,
  .home-skin-image img {
    height: 130px;
  }
  .home-skin-grid strong {
    font-size: 11px;
  }
  .home-sources strong {
    font-size: 14px;
  }
  .home-sources a {
    padding: 18px 14px;
  }
  .home-sources .pixel-label {
    font-size: 8px;
  }
  .community-main .home-suggestions {
    grid-template-columns: 1fr;
  }
  .home-contact {
    padding: 24px;
  }
  .home-section-heading > a {
    font-size: 11px;
  }
  .home-section-heading {
    gap: 10px;
  }
  .home-players-heading {
    gap: 10px;
    flex-wrap: wrap;
  }
  main.materials,
  main.support-page {
    padding-block: 28px 40px;
  }
  .materials-heading h1,
  .support-heading h1 {
    font-size: 34px;
  }
  .materials-heading > span {
    font-size: 22px;
  }
  .stat-card,
  .support-panel {
    padding: 18px;
  }
  .stats-empty {
    padding: 22px 16px;
  }
  .stats-dashboard {
    grid-template-columns: 1fr;
  }
  .stats-dashboard > .skin-card {
    max-width: none;
    width: 100%;
  }
  .provider-selector {
    gap: 6px;
  }
  .provider-choice {
    padding: 12px 6px;
  }
  .provider-choice strong {
    font-size: 12px;
  }
  .provider-choice span {
    font-size: 9px;
  }
  .ranks-provider {
    min-height: 52px;
    padding: 10px 6px;
  }
  .ranks-provider strong {
    font-size: 13px;
  }
  .site-footer-grid {
    grid-template-columns: 1fr;
  }
  .site-footer-identity {
    grid-column: auto;
  }
  .site-footer-brand {
    font-size: 17px;
  }
  .site-footer-meta {
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
  }
  .privacy h1,
  .terms h1 {
    font-size: 32px;
  }
}
@media (max-width: 360px) {
  .site-header.shell {
    gap: 10px 4px;
  }
  .site-header .header-controls {
    gap: 4px;
  }
  .site-header .account-actions button {
    max-width: 118px;
    font-size: 9px;
    padding: 0 6px;
  }
  .site-header .brand.wordmark {
    font-size: 14px;
  }
  .site-header nav a {
    padding-inline: 6px;
  }
  .community-main .home-welcome h1 {
    font-size: 36px;
  }
  .home-search label {
    display: none;
  }
  .home-search input {
    padding-inline: 4px;
    font-size: 14px;
  }
  .home-skin-image,
  .home-skin-image img {
    height: 112px;
  }
  .home-player-card > a {
    gap: 8px;
    padding: 10px 6px;
  }
  .home-player-info strong {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Keep navigation immediate and avoid overlapping document transitions. */
@view-transition { navigation: none; }

/* Enlarge the shared header by 20%, with wrapping controls on narrow screens. */
.site-header.shell{min-height:76.8px;padding-block:14.4px;gap:24px}
.site-header .brand.wordmark{font-size:22.8px}
.site-header .brand.wordmark:before{width:26.4px;height:26.4px;margin-inline-end:12px;box-shadow:inset -4.8px -4.8px #3a9a48,inset 4.8px 4.8px #8be695}
.site-header nav{gap:2.4px;flex-wrap:wrap}
.site-header nav a{font-size:15.6px;min-height:43.2px;padding:10.8px 14.4px}
.site-header .header-controls{gap:14.4px}
.site-header .account-actions{gap:9.6px}
.site-header .account-actions button{font-size:14.4px;height:45.6px;padding-inline:16.8px}
.site-header .account-details{max-width:120px}
.site-header #account-name{font-size:14.4px}
.site-header #account-id{font-size:13.2px}
.site-header #account-avatar{width:36px;height:36px}
@media(max-width:1280px){
 .site-header.shell{flex-wrap:wrap;gap:14.4px 24px}
 .site-header nav{order:3;flex:1 0 100%;justify-content:center;border-top:1px solid var(--line);padding-top:9.6px}
 .site-header nav a{flex:1;max-width:192px}
 html{scroll-padding-top:180px}
}
@media(max-width:600px){
 .site-header.shell{padding:14.4px 16px;gap:14.4px}
 .site-header .brand.wordmark{font-size:19.2px}
 .site-header .brand.wordmark:before{width:21.6px;height:21.6px;margin-inline-end:8.4px}
 .site-header .header-controls{flex:1;flex-wrap:wrap;gap:7.2px;justify-content:flex-end}
 .site-header .account-actions{justify-content:flex-end}
 .site-header .account-actions button{font-size:12px;padding-inline:9.6px;height:43.2px;max-width:180px}
 .site-header nav{gap:0;justify-content:flex-start;flex-wrap:nowrap}
 .site-header nav a{flex:1 0 auto;font-size:13.2px;padding:10.8px 9.6px;min-height:43.2px}
 .site-header #account-avatar{width:31.2px;height:31.2px}
 html{scroll-padding-top:220px}
}
@media(max-width:360px){
 .site-header.shell{gap:12px 4.8px}
 .site-header .header-controls{gap:4.8px}
 .site-header .account-actions button{max-width:141.6px;font-size:10.8px;padding-inline:7.2px}
 .site-header .brand.wordmark{font-size:16.8px}
 .site-header nav a{padding-inline:7.2px}
}
