@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --text:    #1c1c1e;
  --muted:   #6c6c70;
  --ios-blue:   #007aff;
  --ios-green:  #34c759;
  --ios-orange: #ff9500;
  --ios-red:    #ff3b30;
  --ios-purple: #af52de;
  --glass:        rgba(255,255,255,0.13);
  --glass-mid:    rgba(255,255,255,0.22);
  --glass-strong: rgba(255,255,255,0.34);
  --glass-border: rgba(255,255,255,0.55);
  --glass-spec:   inset 0 1.5px 0 rgba(255,255,255,0.68);
  --glass-blur:   blur(38px) saturate(200%) brightness(108%);
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.14);
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background-color: #f0f4f9;
  background-image:
    radial-gradient(ellipse 900px 600px at 0% 0%, rgba(0,122,255,0.13), transparent 54%),
    radial-gradient(ellipse 700px 500px at 100% 5%, rgba(52,199,89,0.11), transparent 52%),
    radial-gradient(ellipse 600px 440px at 55% 98%, rgba(255,149,0,0.09), transparent 50%),
    radial-gradient(ellipse 500px 400px at 12% 80%, rgba(175,82,222,0.08), transparent 50%),
    linear-gradient(170deg, #f6f9fd 0%, #eef2f8 55%, #f1f5fa 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}

.bg-orb {
  position: fixed; border-radius: 50%;
  filter: blur(72px); opacity: 0.52;
  z-index: -1; pointer-events: none;
  animation: float 13s ease-in-out infinite;
}
.orb-a {
  width:52vmax; height:52vmax; top:-22vmax; left:-18vmax;
  background: radial-gradient(circle, rgba(200,220,255,0.75), rgba(150,190,255,0.18));
}
.orb-b {
  width:46vmax; height:46vmax; bottom:-20vmax; right:-16vmax;
  background: radial-gradient(circle, rgba(190,245,210,0.65), rgba(130,215,170,0.15));
  animation-delay: 2s;
}

.site-header, main, .site-footer { width: min(1080px,88vw); margin:0 auto; }

.site-header {
  margin-top: 18px; padding: 10px 14px;
  border-radius: 22px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-spec), var(--shadow-md);
  display: flex; justify-content: center; align-items: center;
  position: sticky; top: 14px; z-index: 50; overflow: visible;
}

nav { display: flex; gap: 6px; align-items: center; overflow: visible; }

nav a {
  color: var(--muted); text-decoration: none;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem; font-weight: 500;
  transition: all 0.22s ease;
}
nav a:hover, nav a.active {
  color: var(--text);
  background: var(--glass-mid);
  border-color: var(--glass-border);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.65);
}

.hero, .section, .card, .doc-head, .doc-block, .feature-list li, .search-box input, .status-item {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-spec), var(--shadow-md);
}

main { padding: 40px 0 64px; }

.hero {
  position: relative; overflow: hidden;
  border-radius: 36px;
  padding: clamp(44px,9vw,120px);
}
.hero::after {
  content: ""; position: absolute;
  right: -60px; top: -70px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(200,220,255,0.22) 60%, transparent 72%);
  filter: blur(4px); pointer-events: none;
}
.hero-compact { padding-bottom: 36px; }

.hero-with-cta {
  min-height: clamp(220px, 34vh, 340px);
  padding: clamp(14px,4vw,30px) clamp(12px,3.5vw,30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  background: rgba(8, 14, 24, 0.07) !important;
  border-color: rgba(255,255,255,0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 8px 20px rgba(0,0,0,0.12) !important;
}

.hero-with-cta::after {
  display: none;
}

.survival-hero {
  font-size: clamp(4.5rem,13vw,10rem);
  font-weight: 800;
  color: var(--ios-green);
  letter-spacing: -0.05em;
  line-height: 1; margin: 0 0 12px;
  text-shadow: 0 0 50px rgba(52,199,89,0.35), 0 0 100px rgba(52,199,89,0.16);
}

.eyebrow {
  color: var(--ios-blue); text-transform: uppercase;
  letter-spacing: 0.15em; font-size: 0.75rem; font-weight: 600; margin: 0 0 10px;
}
h1,h2,h3 { margin:0; letter-spacing:-0.03em; line-height:1.06; }
h1 { font-size: clamp(1.45rem,4.3vw,2.9rem); font-weight:700; }
h2 { font-size: clamp(1.4rem,2.4vw,2.1rem); font-weight:650; }
h3 { font-size: 1.1rem; font-weight:640; }
.lead { color:var(--muted); font-size:1.04rem; max-width:62ch; margin-top:14px; }

.hero-title-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  margin: 0;
}

.hero-logo {
  display: block;
  height: 56px;
  width: auto;
  max-height: none;
  object-fit: contain;
  transform: scale(1.75);
  transform-origin: center center;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.hero-title-fallback {
  display: none;
}

.hero-title-brand.logo-fallback .hero-title-fallback {
  display: inline;
}

.hero-actions { display:flex; gap:10px; margin-top:24px; flex-wrap:wrap; }

.hero-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 999px;
  background: rgba(10, 16, 30, 0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px) saturate(120%);
}

.hero-with-cta .hero-cta {
  position: static;
  transform: none;
}

.ip-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(52,199,89,0.04);
  border: 1px solid rgba(52,199,89,0.36);
  color: #62ef97;
  font-family: "SF Mono", Consolas, monospace;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 14px rgba(52,199,89,0.10);
}

.hero-cta .btn {
  min-width: 98px;
  text-align: center;
}

.hero-with-cta .btn-primary {
  background: rgba(0,122,255,0.55);
  border-color: rgba(255,255,255,0.40);
  backdrop-filter: blur(8px) saturate(130%);
}

.hero-with-cta .btn-copy-clear {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.38);
  color: #eef4ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24);
}

.hero-with-cta .btn-copy-clear:hover {
  background: rgba(255,255,255,0.16);
}

.hero-with-cta .btn-primary:hover {
  background: rgba(0,122,255,0.72);
}

.scene-showcase {
  position: relative;
  overflow: hidden;
}

.scene-showcase::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 140%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 20%, rgba(114, 198, 255, 0.25), transparent 55%),
    radial-gradient(ellipse at 82% 24%, rgba(255, 156, 77, 0.20), transparent 54%);
}

.scene-lead {
  margin-top: 6px;
}

.scene-wrap {
  position: relative;
  margin-top: 14px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.26);
  background: linear-gradient(160deg, rgba(8, 18, 32, 0.56), rgba(13, 10, 8, 0.38));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 16px 32px rgba(0,0,0,0.20);
  min-height: clamp(340px, 56vh, 560px);
}

#xyn3dCanvas {
  width: 100%;
  height: clamp(340px, 56vh, 560px);
  display: block;
  cursor: grab;
  touch-action: none;
}

#xyn3dCanvas:active {
  cursor: grabbing;
}

.hero-with-cta .btn-ghost {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.34);
  color: #eef4ff;
  backdrop-filter: blur(8px) saturate(120%);
}

.hero-with-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.18);
}

.btn {
  display: inline-block; text-decoration: none;
  font-size: 0.95rem; font-weight: 600;
  padding: 10px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34,1.3,0.64,1);
}

.btn-primary {
  background: rgba(0,122,255,0.84);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  color: #fff; border-color: rgba(255,255,255,0.28);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.42), 0 6px 22px rgba(0,122,255,0.30);
}
.btn-primary:hover {
  background: rgba(0,122,255,0.96);
  transform: translateY(-2px) scale(1.03);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.50), 0 10px 28px rgba(0,122,255,0.36);
}

.btn-ghost {
  background: var(--glass-mid);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  color: var(--text); border-color: var(--glass-border);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.60);
}
.btn-ghost:hover { background: var(--glass-strong); transform: translateY(-2px) scale(1.03); }

.btn-green {
  background: rgba(52,199,89,0.82);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  color: #fff; border-color: rgba(255,255,255,0.28);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.38), 0 6px 22px rgba(52,199,89,0.28);
}
.btn-green:hover {
  background: rgba(52,199,89,0.96); transform: translateY(-2px) scale(1.03);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.48), 0 10px 28px rgba(52,199,89,0.36);
}

.section { margin-top: 22px; border-radius: 32px; padding: clamp(20px,3.5vw,36px); }
.section-head { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:18px; }
.section-head a, .card-link, .site-footer a { color:var(--ios-blue); text-decoration:none; font-weight:600; font-size:0.9rem; }

.card-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:12px; }
.card { border-radius: 26px; padding: 20px; transition: transform 0.24s cubic-bezier(0.34,1.3,0.64,1), box-shadow 0.24s ease; }
.card:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--glass-spec), var(--shadow-lg); }
.card p { color: var(--muted); }

.tag {
  display: inline-block; font-size: 0.70rem; text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 700; margin-bottom: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(52,199,89,0.12); color: #1e9e40; border: 1px solid rgba(52,199,89,0.25);
}
.tag-blue   { background:rgba(0,122,255,0.10);  color:var(--ios-blue);  border-color:rgba(0,122,255,0.22); }
.tag-orange { background:rgba(255,149,0,0.10);  color:#b86d00;          border-color:rgba(255,149,0,0.22); }
.tag-red    { background:rgba(255,59,48,0.10);  color:#c4281e;          border-color:rgba(255,59,48,0.22); }
.tag-purple { background:rgba(175,82,222,0.10); color:#7e33b0;          border-color:rgba(175,82,222,0.22); }

.split { display:grid; gap:16px; grid-template-columns:1.3fr 1fr; }
.feature-list { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.feature-list li { border-radius:18px; padding:12px 16px; }

.status-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.status-item { border-radius:24px; padding:18px; }
.status-item h3 { font-size:1rem; margin-bottom:6px; }
.status-item p { font-size:0.88rem; color:var(--muted); margin:0 0 12px; }
.status-pill { display:inline-block; font-size:0.74rem; font-weight:700; padding:4px 12px; border-radius:999px; letter-spacing:0.06em; }
.is-ok   { background:rgba(52,199,89,0.12); color:#1e9e40; border:1px solid rgba(52,199,89,0.30); }
.is-warn { background:rgba(255,149,0,0.12); color:#b86d00; border:1px solid rgba(255,149,0,0.30); }

.search-box { margin-top:18px; }
.search-box input { width:min(600px,100%); border-radius:18px; color:var(--text); padding:12px 16px; font:inherit; outline:none; }
.search-box input::placeholder { color:#999; }
.search-box input:focus { border-color:rgba(0,122,255,0.45); box-shadow: var(--glass-spec), 0 0 0 3px rgba(0,122,255,0.12); }

.hidden { display:none; }
.empty-state { color:var(--muted); margin-top:16px; }

/* LEFT SIDEBAR doc layout */
.doc-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 18px;
  margin-top: 22px;
  align-items: start;
}
.doc-sidebar {
  position: sticky; top: 90px;
  border-radius: 28px; padding: 16px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-spec), var(--shadow-sm);
  display: flex; flex-direction: column; gap: 3px;
}
.sidebar-label {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--muted); padding: 8px 12px 4px;
}
.sidebar-link {
  display: block; color: var(--muted); text-decoration: none;
  padding: 9px 13px; border-radius: 14px;
  font-size: 0.92rem; font-weight: 500;
  border: 1px solid transparent; transition: all 0.18s ease;
}
.sidebar-link:hover {
  color: var(--text); background: var(--glass-mid);
  border-color: var(--glass-border); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.sidebar-link.active {
  color: var(--ios-green); background: rgba(52,199,89,0.10);
  border-color: rgba(52,199,89,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.doc-content { display:grid; gap:14px; }
.doc-page { margin-top:22px; display:grid; gap:14px; }
.doc-head, .doc-block { border-radius:26px; padding:22px; }
.doc-block h2 { font-size:1.2rem; margin-bottom:12px; }
.doc-block pre {
  margin:0; padding:14px; border-radius:16px;
  background:rgba(255,255,255,0.55); border:1px solid rgba(255,255,255,0.65);
  overflow-x:auto; font-size:0.9rem;
}
.doc-block ol, .doc-block ul { padding-left:20px; color:var(--muted); line-height:1.8; }

.site-footer { color:var(--muted); font-size:0.9rem; padding:0 0 36px; }

.reveal { opacity:0; transform:translateY(12px) scale(0.994); animation: revealIn 0.72s cubic-bezier(0.22,1,0.36,1) forwards; }
.reveal:nth-child(2) { animation-delay:0.07s; }
.reveal:nth-child(3) { animation-delay:0.14s; }
.reveal:nth-child(4) { animation-delay:0.21s; }

@keyframes revealIn { to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes float { 0%,100% { transform:translateY(0) rotate(0deg); } 50% { transform:translateY(20px) rotate(2deg); } }

@media (max-width: 900px) {
  .doc-layout { grid-template-columns:1fr; }
  .doc-sidebar { position:static; flex-direction:row; flex-wrap:wrap; }
  .sidebar-label { width:100%; }
}
@media (max-width: 840px) {
  .site-header { position:static; }
  .split { grid-template-columns:1fr; }
  .section-head { flex-direction:column; align-items:flex-start; }
  h1 { max-width:none; }
}

/* Shared Minecraft shader theme */
body.minecraft-theme {
  position: relative;
  isolation: isolate;
  background: #070f1b;
  color: #ecf4ff;
}

body.minecraft-theme::before {
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(transparent, rgba(0,0,0,0.36));
  background-size: 28px 28px, 100% 100%;
  z-index: -2;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.minecraft-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(180deg, rgba(5,12,24,0.20), rgba(6,11,18,0.68)),
    url("bg-art-4k-blue.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.minecraft-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 16% 12%, rgba(90,150,255,0.22), transparent 45%),
    radial-gradient(ellipse at 80% 24%, rgba(125,185,255,0.14), transparent 46%),
    linear-gradient(180deg, rgba(10,21,41,0.10), rgba(3,8,14,0.46));
}

body.minecraft-theme .site-header {
  background: rgba(10, 16, 26, 0.56);
  border-color: rgba(255,255,255,0.18);
  z-index: 5000;
}

body.minecraft-theme nav a { color: rgba(255,255,255,0.70); }

body.minecraft-theme nav a:hover,
body.minecraft-theme nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.26);
}

body.minecraft-theme .hero,
body.minecraft-theme .section,
body.minecraft-theme .card,
body.minecraft-theme .doc-head,
body.minecraft-theme .doc-block,
body.minecraft-theme .feature-list li,
body.minecraft-theme .status-item,
body.minecraft-theme .doc-sidebar,
body.minecraft-theme .search-box input {
  background: rgba(10, 20, 34, 0.58);
  border-color: rgba(255,255,255,0.17);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.14), 0 16px 48px rgba(0,0,0,0.38);
}

body.minecraft-theme h1,
body.minecraft-theme h2,
body.minecraft-theme h3 { color: #fff; }

body.minecraft-theme .lead,
body.minecraft-theme .card p,
body.minecraft-theme .doc-block p,
body.minecraft-theme .doc-block li,
body.minecraft-theme .empty-state,
body.minecraft-theme .site-footer,
body.minecraft-theme .search-box input,
body.minecraft-theme .sidebar-label,
body.minecraft-theme .sidebar-link,
body.minecraft-theme .status-item p {
  color: rgba(230,241,255,0.74);
}

body.minecraft-theme .search-box input::placeholder {
  color: rgba(230,241,255,0.55);
}

body.minecraft-theme .site-footer a,
body.minecraft-theme .section-head a,
body.minecraft-theme .card-link {
  color: #6de394;
}

body.minecraft-theme .eyebrow { color: #6de394; }

body.minecraft-theme .btn-ghost {
  color: #ecf4ff;
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.32);
}

body.minecraft-theme .btn-ghost:hover {
  background: rgba(255,255,255,0.20);
}

/* Wiki subtabs */
.tabs {
  border-radius: 22px;
}

/* ── Language Switcher ────────────────────────────────────────────────── */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  cursor: pointer;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.18);
  transition: all 0.22s ease;
  user-select: none;
  white-space: nowrap;
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

.lang-btn .lang-flag { font-size: 1.05rem; line-height: 1; }

.lang-btn .lang-arrow {
  font-size: 0.55rem;
  opacity: 0.65;
  transition: transform 0.2s ease;
  margin-left: 1px;
}

.lang-switcher.open .lang-btn .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  background: rgba(12, 20, 34, 0.96);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.12);
  z-index: 999;
}

.lang-switcher.open .lang-dropdown {
  display: block;
  animation: langFadeIn 0.18s cubic-bezier(0.22,1,0.36,1);
}

@keyframes langFadeIn {
  from { opacity:0; transform:translateY(-6px) scale(0.97); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(230,241,255,0.75);
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: rgba(255,255,255,0.09); color: #fff; }
.lang-option.active { color: #6de394; font-weight: 700; }
.lang-option .lang-flag { font-size: 1.1rem; }

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tab-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.10);
  color: inherit;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.18);
}

.tab-btn.active {
  background: rgba(52,199,89,0.22);
  border-color: rgba(52,199,89,0.48);
  color: #d9ffe7;
  box-shadow: 0 0 18px rgba(52,199,89,0.22);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 840px) {
  .grid-two,
  .grid-three {
    grid-template-columns: 1fr;
  }

  .hero-with-cta {
    min-height: auto;
    padding: clamp(12px, 4.2vw, 20px) clamp(8px, 3.5vw, 12px);
    gap: 8px;
  }

  .hero-with-cta .hero-cta {
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .hero-logo {
    height: 44px;
    transform: scale(1.55);
  }

  .scene-wrap,
  #xyn3dCanvas {
    min-height: 290px;
    height: 290px;
  }
}

.split-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 900px) {
  .split-two {
    grid-template-columns: 1fr;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── Shop Warning Overlay ────────────────────────────────────────────── */
.shop-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(12, 0, 0, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.shop-overlay.show {
  opacity: 1;
  visibility: visible;
}

.shop-overlay-text {
  color: #ff2d2d;
  text-align: center;
  font-size: clamp(2rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.08;
  text-shadow:
    0 0 10px rgba(255, 45, 45, 0.45),
    0 0 24px rgba(255, 45, 45, 0.42),
    0 0 50px rgba(255, 45, 45, 0.36);
  padding: 0 18px;
}

/* Survival rank permission table */
.rank-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 14, 28, 0.45);
  -webkit-overflow-scrolling: touch;
}

.rank-perm-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.rank-perm-table th,
.rank-perm-table td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.rank-perm-table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.rank-perm-table th:first-child,
.rank-perm-table td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 1;
  background: rgba(10, 16, 30, 0.96);
  box-shadow: 4px 0 8px rgba(0, 0, 0, 0.18);
}

.rank-perm-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.rank-perm-table tbody tr:hover td:first-child {
  background: rgba(12, 18, 34, 0.98);
}

.cmd-label {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 0.78rem;
  color: #b8d4ff;
}

.rank-name {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.84rem;
}

.rank-player { color: #cbd5e1; }
.rank-legacy { color: #b91c1c; }
.rank-premium { color: #f87171; }
.rank-cloud { color: #86efac; }
.rank-reaper { color: #fb923c; }
.rank-ethereal { color: #e879f9; }
.rank-celestial { color: #22d3ee; }
.rank-divine { color: #c4b5fd; }

.perm-yes {
  color: #4ade80;
  font-weight: 700;
}

.perm-no {
  color: rgba(248, 113, 113, 0.72);
  font-weight: 600;
}

.perm-num {
  color: #93c5fd;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.doc-block code {
  font-family: "SF Mono", Consolas, monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

/* ── Supporter shop ──────────────────────────────────────────────────── */
.price-card { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin-bottom:6px; }
.price-value { font-size:2.2rem; font-weight:800; letter-spacing:-0.02em; }
.price-note { color:var(--muted); font-size:0.9rem; }

.stock-block { margin-top:16px; }
.stock-bar { height:10px; border-radius:999px; background:rgba(0,0,0,0.08); overflow:hidden; }
.stock-bar-fill { height:100%; border-radius:999px; background:linear-gradient(90deg,var(--ios-green),var(--ios-blue)); transition:width 0.3s ease; }
.stock-text { margin:8px 0 0; font-size:0.88rem; font-weight:600; color:var(--muted); }
.stock-block.sold-out .stock-bar-fill { background:var(--ios-red); }
.stock-block.sold-out .stock-text { color:#c4281e; }

.pay-card { border-radius:20px; padding:16px 18px; display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.pay-card-label { font-size:0.78rem; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted); margin:0 0 4px; }
.pay-card-value { font-family:"SF Mono", Consolas, monospace; font-size:1rem; font-weight:600; word-break:break-all; }

.btn.disabled, a.btn[aria-disabled="true"] { opacity:0.45; pointer-events:none; filter:grayscale(0.4); }

/* ── Shop page (redesign 2026-09-20) - everything scoped to body.shop-page, nothing else on the site changes ── */
body.shop-page main.shop { margin-top: 24px; display: grid; gap: 56px; padding-bottom: 32px; }
.shop-page main.shop a:not(.btn) { color: #9cc8ff; text-decoration: underline; text-decoration-color: rgba(156,200,255,0.35); text-underline-offset: 3px; }
.shop-page main.shop a:not(.btn):hover { text-decoration-color: currentColor; }
.shop-page main.shop code { font-family: "SF Mono", Consolas, monospace; font-size: 0.86em; padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,0.10); color: #f2f4f8; }

/* lala: shop-wide maintenance banner - same pill language as .shop-eyebrow, amber for "paused", not "broken" */
.shop-maintenance { text-align: center; padding: 18px 22px; margin: 18px 0 0; border-radius: 16px; background: rgba(255,153,51,0.08); border: 1px solid rgba(255,153,51,0.28); }
.shop-eyebrow-maint { background: rgba(255,153,51,0.16); border-color: rgba(255,153,51,0.42); color: #ffb366; margin-bottom: 8px; }
.shop-maintenance p { margin: 0; color: #d8dee8; font-size: 0.95rem; }

.shop-hero { text-align: center; padding: 52px 0 4px; }
.shop-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,204,86,0.12); border: 1px solid rgba(255,204,86,0.30); color: #ffd680; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.shop-hero h1 { margin: 18px 0 14px; font-size: clamp(2.4rem, 6vw, 3.9rem); line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.shop-lead { max-width: 560px; margin: 0 auto; color: #c3cad6; font-size: 1.1rem; line-height: 1.55; }
.shop-star { color: #ffcc56; }
.shop-hero-cta { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.shop-chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.shop-chip { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: #dfe5ee; font-size: 0.85rem; }

.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.shop-col { display: grid; gap: 52px; min-width: 0; }
.shop-section h2 { margin: 0 0 18px; font-size: 1.45rem; letter-spacing: -0.02em; color: #fff; }

.shop-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shop-feature { padding: 20px; border-radius: 18px; background: rgba(10,14,26,0.58); border: 1px solid rgba(255,255,255,0.09); backdrop-filter: blur(18px); }
.shop-feature svg { width: 26px; height: 26px; color: #ffd680; margin-bottom: 12px; display: block; }
.shop-feature h3 { margin: 0 0 4px; font-size: 1.02rem; color: #fff; }
.shop-feature p { margin: 0; color: #b6bfcd; font-size: 0.93rem; line-height: 1.45; }

.shop-preview { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.mc-chat, .mc-menu { border-radius: 16px; background: rgba(6,8,14,0.72); border: 1px solid rgba(255,255,255,0.09); padding: 16px; }
.mc-chat { font-family: "SF Mono", Consolas, monospace; font-size: 0.82rem; line-height: 2.1; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.mc-lv { color: #55FF55; } .mc-rank { color: #aaaaaa; } .mc-sep { color: #666; }
.mc-menu-title { color: #cfd6e2; font-size: 0.8rem; letter-spacing: 0.06em; margin-bottom: 12px; }
.mc-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mc-swatches i { aspect-ratio: 1; border-radius: 6px; border: 1px solid rgba(255,255,255,0.18); }
.mc-swatches i.on { outline: 2px solid #fff; outline-offset: 2px; }
.mc-menu-row { display: flex; gap: 8px; margin-top: 12px; }
.mc-toggle { flex: 1; text-align: center; padding: 7px 4px; border-radius: 8px; background: rgba(255,204,86,0.14); color: #ffd680; font-size: 0.74rem; }
.mc-toggle.off { background: rgba(255,255,255,0.08); color: #b6bfcd; }
.shop-note { margin: 14px 0 0; color: #98a2b3; font-size: 0.9rem; }

.shop-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shop-steps li { padding: 20px; border-radius: 18px; background: rgba(10,14,26,0.58); border: 1px solid rgba(255,255,255,0.09); }
.shop-step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0a84ff; color: #fff; font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; }
.shop-steps h3 { margin: 0 0 4px; font-size: 1.02rem; color: #fff; }
.shop-steps p { margin: 0; color: #b6bfcd; font-size: 0.93rem; line-height: 1.45; }

.shop-use { margin: 0; padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: #c3cad6; font-size: 0.95rem; }
.shop-use strong { color: #fff; }

.shop-wall-empty { margin: 0; color: #98a2b3; }
.shop-wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.shop-wall li { padding: 7px 14px; border-radius: 999px; background: rgba(255,204,86,0.12); border: 1px solid rgba(255,204,86,0.28); color: #ffe3a3; }

.shop-legal { color: #98a2b3; font-size: 0.86rem; }
.shop-legal summary { cursor: pointer; color: #aab3c2; }
.shop-legal p { margin: 10px 0 0; line-height: 1.6; }

.shop-aside { position: sticky; top: 22px; }
.shop-buy { padding: 26px; border-radius: 22px; background: rgba(10,14,26,0.72); border: 1px solid rgba(255,255,255,0.13); backdrop-filter: blur(24px); box-shadow: 0 24px 64px rgba(0,0,0,0.35); }
.shop-buy-label { margin: 0 0 10px; color: #ffd680; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.shop-buy-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.shop-buy .price-value { color: #fff; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.shop-buy .price-note { color: #98a2b3; font-size: 0.85rem; }
.shop-buy .stock-bar { background: rgba(255,255,255,0.12); }
.shop-buy .stock-text { color: #dfe5ee; }
.shop-buy .stock-block.sold-out .stock-text { color: #ff8a80; }
.shop-buy-until { margin: 6px 0 20px; color: #98a2b3; font-size: 0.85rem; }
.shop-buy-ref { margin: 2px 0 4px; color: #ffd680; font-size: 0.85rem; font-weight: 600; }
.shop-ref-copy { display: inline-block; width: auto; margin: 0 0 14px; padding: 6px 12px; font-size: 0.68rem; }
.shop-buy-btn { display: block; width: 100%; text-align: center; box-sizing: border-box; margin-top: 10px; }
.shop-iban { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.10); color: #aab3c2; font-size: 0.9rem; }
.shop-iban summary { cursor: pointer; }
.shop-iban .pay-card-label { color: #98a2b3; margin: 12px 0 4px; }
.shop-iban .pay-card-value { color: #fff; font-size: 0.98rem; margin: 0; }
.shop-iban-owner { margin: 4px 0 10px; color: #98a2b3; font-size: 0.82rem; }
.shop-buy-list { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,0.10); display: grid; gap: 8px; color: #b6bfcd; font-size: 0.88rem; }
.shop-buy-list li::before { content: "✓"; color: #34c759; font-weight: 700; margin-right: 8px; }

@media (max-width: 920px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-aside { position: static; order: -1; }
  .shop-steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .shop-features, .shop-preview { grid-template-columns: 1fr; }
  body.shop-page main.shop { gap: 40px; }
}

/* ── Homepage slimming (2026-09-20): slim one-row strips + one quiet facts line ── */
.hero-meta { margin: 14px 0 0; color: rgba(255,255,255,0.55); font-size: 0.85rem; text-align: center; }
.discord-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.discord-strip h2 { margin: 0 0 4px; }
.discord-strip .lead { margin: 0; }

/* ── Two-language content (2026-09-20): every text exists as <... data-l="en"> and <... data-l="de">; the active
   content language is set on <html data-content-lang> by i18n.js (and by a tiny inline script before first paint) ── */
html[data-content-lang="de"] [data-l="en"], html[data-content-lang="de"] [data-l="pl"],
html[data-content-lang="pl"] [data-l="en"], html[data-content-lang="pl"] [data-l="de"],
html:not([data-content-lang="de"]):not([data-content-lang="pl"]) [data-l="de"],
html:not([data-content-lang="de"]):not([data-content-lang="pl"]) [data-l="pl"] { display: none !important; }

/* ── Homepage, Apple-style (2026-09-20): big type, the IP is the button, large mode tiles. scoped to body.home-page ── */
body.home-page main.home { margin-top: 12px; display: grid; gap: 120px; padding-bottom: 60px; }
.home-hero { text-align: center; padding: 64px 0 0; }
.home-eyebrow { margin: 0; color: rgba(255,255,255,0.6); font-size: 1rem; letter-spacing: 0.02em; }
.home-logo { margin: 18px 0 0; }
.home-logo .hero-logo { width: min(560px, 82%); height: auto; filter: drop-shadow(0 12px 40px rgba(0,0,0,0.45)); }
.home-tagline { margin: 26px 0 0; font-size: clamp(1.6rem, 4.6vw, 3rem); font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.home-sub { margin: 8px 0 0; color: rgba(255,255,255,0.65); font-size: 1.15rem; }
.ip-chip { margin-top: 34px; display: inline-flex; align-items: center; gap: 14px; padding: 16px 30px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.10); color: #fff; font: inherit; font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 700; letter-spacing: -0.02em; cursor: pointer; backdrop-filter: blur(22px); box-shadow: 0 10px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25); transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.ip-chip:hover { transform: scale(1.03); background: rgba(255,255,255,0.16); }
.ip-chip:active { transform: scale(0.98); }
.ip-chip:focus-visible { outline: 3px solid #0a84ff; outline-offset: 4px; }
.ip-chip-icon { width: 1.1em; height: 1.1em; opacity: 0.75; }
.ip-chip .ip-icon-done { display: none; color: #34c759; opacity: 1; }
.ip-chip.copied { border-color: rgba(52,199,89,0.6); }
.ip-chip.copied .ip-icon-copy { display: none; }
.ip-chip.copied .ip-icon-done { display: block; }
.ip-hint { margin: 14px 0 0; min-height: 1.3em; color: rgba(255,255,255,0.55); font-size: 0.92rem; }
.ip-hint-done { display: none; color: #34c759; }
.ip-chip.copied + .ip-hint .ip-hint-idle { display: none; }
.ip-chip.copied + .ip-hint .ip-hint-done { display: inline; }
.home-hero .hero-meta { margin-top: 6px; color: rgba(255,255,255,0.45); }

.home-section h2 { margin: 0 0 32px; text-align: center; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -0.035em; color: #fff; }
.mode-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mode-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 30px; border-radius: 30px; overflow: hidden; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 24px 60px rgba(0,0,0,0.35); transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease; }
.mode-tile:hover { transform: translateY(-6px) scale(1.012); box-shadow: 0 34px 80px rgba(0,0,0,0.45); }
.tile-survival { background: radial-gradient(120% 90% at 20% 0%, rgba(52,199,89,0.55), rgba(8,20,16,0.95) 70%); }
.tile-bedwars { background: radial-gradient(120% 90% at 20% 0%, rgba(255,149,0,0.6), rgba(24,12,6,0.95) 70%); }
.tile-permdeath { background: radial-gradient(120% 90% at 20% 0%, rgba(255,59,48,0.6), rgba(22,8,14,0.95) 70%); }
.mode-label { position: absolute; top: 26px; left: 30px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.mode-tile h3 { margin: 0 0 8px; font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -0.03em; }
.mode-tile p { margin: 0 0 18px; color: rgba(255,255,255,0.78); font-size: 1.05rem; line-height: 1.4; }
.mode-more { color: #64b5ff; font-weight: 600; font-size: 0.98rem; }
.mode-soon { margin: 22px 0 0; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.95rem; }

.join-switch { display: flex; justify-content: center; gap: 6px; width: fit-content; margin: 0 auto 30px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); }
.join-tab { border: 0; background: transparent; color: rgba(255,255,255,0.7); font: inherit; font-weight: 600; padding: 9px 26px; border-radius: 999px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.join-tab.active { background: #fff; color: #111; }
.join-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.join-steps li { padding: 28px; border-radius: 26px; background: rgba(10,14,26,0.6); border: 1px solid rgba(255,255,255,0.10); backdrop-filter: blur(18px); }
.join-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #0a84ff; color: #fff; font-weight: 700; margin-bottom: 16px; }
.join-steps h3 { margin: 0 0 6px; font-size: 1.25rem; letter-spacing: -0.02em; color: #fff; }
.join-steps p { margin: 0; color: rgba(255,255,255,0.7); }

.home-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-link { display: block; padding: 26px; border-radius: 26px; background: rgba(10,14,26,0.6); border: 1px solid rgba(255,255,255,0.10); backdrop-filter: blur(18px); color: #fff; text-decoration: none; transition: transform .25s ease, background .25s ease; }
.home-link:hover { transform: translateY(-4px); background: rgba(20,28,48,0.75); }
.home-link h3 { margin: 0 0 6px; font-size: 1.35rem; letter-spacing: -0.02em; }
.home-link p { margin: 0 0 14px; color: rgba(255,255,255,0.68); font-size: 0.97rem; }

@media (max-width: 980px) {
  .mode-tiles, .join-steps { grid-template-columns: 1fr; }
  .mode-tile { min-height: 260px; }
  .home-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home-page main.home { gap: 84px; }
}
@media (max-width: 560px) {
  .home-links { grid-template-columns: 1fr; }
  .home-hero { padding-top: 36px; }
}

/* ── Wiki hub (2026-09-20) ── */
.wiki-hub { display: grid; gap: 64px; margin-top: 36px; }
.wiki-hub-section h2 { margin: 0 0 6px; font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -0.03em; color: #fff; }
.wiki-hub-sub { margin: 0 0 22px; color: rgba(255,255,255,0.6); }
.home-logo { display: block; text-align: center; }
.home-logo .hero-logo { display: block; margin: 0 auto; transform: none; height: auto; max-width: 100%; width: min(560px, 82%); }
.home-logo .hero-title-fallback { display: none; font-size: clamp(2.4rem, 8vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.home-logo.logo-fallback .hero-title-fallback { display: inline; }

/* inline links inside wiki / rules / legal text (2026-09-20) */
.doc-content p a:not(.btn), .doc-content li a:not(.btn), .doc-block p a:not(.btn), .doc-block li a:not(.btn), .doc-head p a:not(.btn) {
  color: #6cb6ff;
  text-decoration: underline;
  text-decoration-color: rgba(108, 182, 255, 0.4);
  text-underline-offset: 3px;
}
.doc-content p a:not(.btn):hover, .doc-content li a:not(.btn):hover, .doc-block p a:not(.btn):hover, .doc-block li a:not(.btn):hover, .doc-head p a:not(.btn):hover {
  color: #a5d2ff;
  text-decoration-color: currentColor;
}

.ip-hint-done { visibility: visible; }

/* hero: version line sits right under the IP; the "copied" note floats below it (no reserved gap) */
.home-hero .ip-hint { margin: 0; min-height: 0; height: 0; position: relative; }
.home-hero .ip-hint .ip-hint-done { position: absolute; left: 0; right: 0; top: 3.2em; }
.home-hero .hero-meta { margin-top: 14px; }

/* legal links live in the footer only */
.footer-legal { margin: 8px 0 0; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-legal a { color: rgba(255,255,255,0.55); }
.footer-legal a:hover { color: #fff; }

/* nav: Home hard left, language switch hard right, the rest centred between them */
.site-header nav { width: 100%; }
.site-header nav > a:first-child { margin-right: auto; }
.site-header nav > .lang-switcher { margin-left: auto; }
@media (max-width: 900px) {
  .site-header nav { flex-wrap: nowrap; justify-content: flex-start; gap: 2px; }
}
@media (max-width: 560px) {
  .site-header { padding: 8px 8px; }
  .site-header nav a { padding: 7px 9px; font-size: 0.85rem; }
}
.home-hero .home-sub { margin-top: 20px; }

/* 4th tile: Zonelimit, in maintenance (not clickable) */
.mode-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile-zonelimit { background: radial-gradient(120% 90% at 20% 0%, rgba(142,142,147,0.4), rgba(14,14,18,0.95) 70%); cursor: default; }
.tile-zonelimit h3 { color: rgba(255,255,255,0.7); margin-bottom: 0; }
.tile-zonelimit:hover { transform: none; box-shadow: none; }
.mode-tile { padding: 26px; }
.mode-label { left: 26px; }
@media (max-width: 1180px) { .mode-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .mode-tiles { grid-template-columns: 1fr; } }
.tile-zonelimit { min-height: 360px; }
@media (max-width: 1180px) { .tile-zonelimit { min-height: 260px; } }
.home-hero .home-eyebrow { color: #fff; font-size: 1.15rem; font-weight: 600; letter-spacing: 0.04em; text-shadow: 0 2px 14px rgba(0,0,0,0.9), 0 0 3px rgba(0,0,0,0.8); }
.home-hero .hero-meta, .home-hero .home-sub { text-shadow: 0 2px 12px rgba(0,0,0,0.85); }
.home-hero .hero-meta { color: rgba(255,255,255,0.72); }
.home-hero { position: relative; isolation: isolate; }
.home-hero .home-sub { color: rgba(255,255,255,0.85); }
html, body { overflow-x: clip; }

/* compact hero: much less empty space above/left of the title */
.hero.hero-compact { padding: clamp(26px, 3.6vw, 46px) clamp(24px, 4.5vw, 60px) 30px; }
main { padding-top: 32px; }
main { padding-top: 46px; }

.wiki-hub-section.is-off { display: none; }
.wiki-hub { margin-top: 28px; }

/* symmetric cards: equal height per row, the action link always sits on the same line at the bottom */
.card { display: flex; flex-direction: column; }
.card > .card-link { margin-top: auto; align-self: flex-start; }
.card > p:last-of-type:not(:only-child) { margin-bottom: 14px; }
.home-link { display: flex; flex-direction: column; }
.home-link .mode-more, .home-link > span:last-child { margin-top: auto; }

/* wiki hub grids: centred rows (an incomplete last row stays symmetric), tags never stretch */
.wiki-hub .card-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.wiki-hub .card-grid > .card { flex: 0 0 calc((100% - 3 * 14px) / 4); min-width: 230px; }
@media (max-width: 1100px) { .wiki-hub .card-grid > .card { flex-basis: calc((100% - 2 * 14px) / 3); } }
@media (max-width: 820px)  { .wiki-hub .card-grid > .card { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 520px)  { .wiki-hub .card-grid > .card { flex-basis: 100%; } }
.card > .tag { align-self: flex-start; }

h1, h2, h3 { font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; letter-spacing: -0.03em; }
button, input, select, textarea { font-family: inherit; }
.mode-tile h3 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); }

/* tile titles scale with the tile itself (never cut off, on any screen) */
.mode-tile { container-type: inline-size; }
.mode-tile h3 { font-size: clamp(1.25rem, 9cqw, 2.1rem); overflow-wrap: anywhere; hyphens: auto; max-width: 100%; }
.mode-tile p { font-size: clamp(0.92rem, 4.4cqw, 1.05rem); }
@media (max-width: 700px) { .mode-tile { padding: 22px; } .mode-label { left: 22px; top: 22px; } }

/* tiles: label, title, text and link stacked tightly (no big empty gap); link pinned to the bottom edge */
.mode-tile { justify-content: flex-start; min-height: 0; padding: 26px; }
.tile-zonelimit, .tile-zonelimit { min-height: 0; }
.mode-tile .mode-label { position: static; display: block; margin: 0 0 22px; }
.mode-tile h3 { margin: 0 0 10px; }
.mode-tile p { margin: 0 0 22px; }
.mode-tile .mode-more { margin-top: auto; }
.tile-zonelimit h3 { margin-bottom: 0; }
@media (max-width: 1180px) { .tile-zonelimit { min-height: 0; } }
.mode-tile h3 { font-size: clamp(1.3rem, 12cqw, 2.1rem); }

/* discord tile: the logo is the title */
.home-link .dc-title { display: flex; align-items: center; height: 1.6rem; }
.dc-logo { height: 1.75rem; width: auto; color: #5865F2; transition: transform .25s ease, color .25s ease; }
.home-link:hover .dc-logo { transform: scale(1.12); color: #7983f5; }
.home-link h3 { display: flex; align-items: center; height: 2.3rem; margin-bottom: 8px; }
.home-link .dc-title { height: 2.3rem; }
.dc-logo { height: 2.3rem; }
.home-link .dc-title { justify-content: center; }

/* nav: discord logo on the right, next to the language switch */
.site-header nav > .nav-discord { margin-left: auto; margin-right: 6px; padding: 7px 10px; display: inline-flex; align-items: center; color: #8f9bff; border-radius: 999px; }
.site-header nav > .nav-discord svg { height: 1.35rem; width: auto; fill: currentColor; }
.site-header nav > .nav-discord:hover { color: #fff; background: #5865F2; border-color: transparent; box-shadow: none; }
.site-header nav > .nav-discord + .lang-switcher { margin-left: 0; }

/* nav v3: Home left | Rules Wiki Shop truly centred | Discord + language right */
.site-header nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; }
.site-header nav > a:first-child { justify-self: start; margin-right: 0; }
.site-header nav .nav-mid { display: flex; align-items: center; gap: 6px; }
.site-header nav .nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.site-header nav .nav-right > .nav-discord { margin: 0; }
.site-header nav .nav-right > .lang-switcher { margin: 0; }
@media (max-width: 900px) { .site-header nav { flex-wrap: nowrap; justify-content: initial; gap: 0; } }
@media (max-width: 620px) {
  .site-header nav { grid-template-columns: auto 1fr auto; }
  .site-header nav .nav-mid { justify-content: center; gap: 0; }
  .site-header nav .nav-mid a { padding: 7px 8px; }
}
.site-header nav .nav-discord { display: inline-flex; align-items: center; padding: 7px 10px; color: #8f9bff; border-radius: 999px; border: 1px solid transparent; }
.site-header nav .nav-discord svg { height: 1.4rem; width: 1.4rem; fill: currentColor; display: block; }
.site-header nav .nav-discord:hover { color: #fff; background: #5865F2; box-shadow: none; }

.site-header nav .nav-tiktok { color: #e8e8ec; }
.site-header nav .nav-tiktok:hover { color: #fff; background: linear-gradient(135deg, #25f4ee, #fe2c55); }
.site-header nav .nav-tiktok svg { height: 1.25rem; width: 1.25rem; }

/* ═══ nav v4: slim full-width bar, one hairline, no pills ═══════════════════ */
body.minecraft-theme .site-header, .site-header {
  width: 100%; margin: 0; padding: 0; border-radius: 0;
  border: 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(8, 12, 20, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: none;
  position: sticky; top: 0; z-index: 5000;
}
.site-header nav { width: min(1080px, 88vw); margin: 0 auto; height: 46px; }
.site-header nav a, body.minecraft-theme .site-header nav a {
  padding: 0 12px; height: 46px; display: inline-flex; align-items: center;
  border-radius: 0; border: 0; background: none; box-shadow: none;
  font-size: 0.84rem; font-weight: 500; letter-spacing: 0.01em; color: rgba(255,255,255,0.66); position: relative;
}
.site-header nav > a:first-child { padding-left: 0; }
.site-header nav a:hover, body.minecraft-theme .site-header nav a:hover { color: #fff; background: none; box-shadow: none; }
.site-header nav a.active, body.minecraft-theme .site-header nav a.active { color: #fff; background: none; box-shadow: none; }
.site-header nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: #fff; border-radius: 2px; }
.site-header nav > a.active:first-child::after { left: 0; }
.site-header nav .nav-right { gap: 2px; }
.site-header nav .nav-discord, .site-header nav .nav-tiktok { padding: 0 9px; height: 46px; border-radius: 0; background: none; }
.site-header nav .nav-discord:hover, .site-header nav .nav-tiktok:hover { background: none; }
.site-header nav .nav-discord:hover { color: #7983f5; }
.site-header nav .nav-tiktok:hover { color: #25f4ee; }
.site-header nav .nav-discord svg { height: 1.25rem; width: 1.25rem; }
.site-header nav .nav-tiktok svg { height: 1.1rem; width: 1.1rem; }
.lang-btn { padding: 4px 10px; font-size: 0.74rem; background: none; border: 1px solid rgba(255,255,255,0.22); margin-left: 6px; }
@media (max-width: 840px) { .site-header { position: sticky; } }
@media (max-width: 620px) { .site-header nav .nav-mid a { padding: 0 8px; } .site-header nav > a:first-child { padding-right: 6px; } }
main { padding-top: 34px; }
/* home link: text flush with the content edge, underline exactly as wide as the text */
body.minecraft-theme .site-header nav > a:first-child { padding-left: 0; }
body.minecraft-theme .site-header nav > a.active:first-child::after { left: 0; right: 12px; }

.home-hero::before { content: none; }

/* background art: crop away the dark letterbox bars of the source image so no faint box/edge shows */
.minecraft-bg { background-size: 100% 100%, auto 197%; background-position: center center, center center; background-repeat: no-repeat, no-repeat; }

/* nav icons: the original hover (filled round pill in the brand colour, white icon) */
.site-header nav .nav-discord, .site-header nav .nav-tiktok { height: 32px; margin: 7px 0; padding: 0 10px; border-radius: 999px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.site-header nav .nav-discord:hover { background: #5865F2; color: #fff; transform: translateY(-1px); }
.site-header nav .nav-tiktok:hover { background: linear-gradient(135deg, #25f4ee, #fe2c55); color: #fff; transform: translateY(-1px); }

/* bigger hero logo */
.home-logo .hero-logo { width: min(760px, 92%); }
.home-logo { margin-top: 26px; }

/* nav icons: hover = filled round pill in the brand colour (beats the theme's nav-link hover rule) */
body.minecraft-theme .site-header nav a.nav-discord:hover { background: #5865F2; color: #fff; box-shadow: 0 6px 18px rgba(88,101,242,0.45); transform: translateY(-1px); }
body.minecraft-theme .site-header nav a.nav-tiktok:hover { background: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%); color: #fff; box-shadow: 0 6px 18px rgba(254,44,85,0.4); transform: translateY(-1px); }
.home-hero .home-logo { margin-bottom: -28px; }

/* nav: a bit larger (56px bar) */
.site-header nav { height: 56px; }
.site-header nav a, body.minecraft-theme .site-header nav a { height: 56px; font-size: 0.96rem; padding: 0 15px; }
body.minecraft-theme .site-header nav > a:first-child { padding-left: 0; }
.site-header nav a.active::after { left: 15px; right: 15px; height: 2px; }
body.minecraft-theme .site-header nav > a.active:first-child::after { left: 0; right: 15px; }
.site-header nav .nav-discord, .site-header nav .nav-tiktok, .site-header nav .nav-login { height: 38px; margin: 9px 0; padding: 0 12px; }
.site-header nav .nav-discord svg { height: 1.5rem; width: 1.5rem; }
.site-header nav .nav-tiktok svg { height: 1.3rem; width: 1.3rem; }
.site-header nav .nav-login { display: inline-flex; align-items: center; color: #8f9bff; border-radius: 999px; }
.site-header nav .nav-login svg { height: 1.35rem; width: 1.35rem; fill: currentColor; }
body.minecraft-theme .site-header nav a.nav-login:hover { background: #e8a83c; color: #241a0a; box-shadow: 0 6px 18px rgba(232,168,60,0.4); transform: translateY(-1px); }
.lang-btn { padding: 6px 13px; font-size: 0.8rem; }
@media (max-width: 620px) { .site-header nav a, body.minecraft-theme .site-header nav a { font-size: 0.88rem; } .site-header nav .nav-mid a { padding: 0 9px; } .site-header nav a.active::after { left: 9px; right: 9px; } .site-header nav .nav-discord, .site-header nav .nav-tiktok, .site-header nav .nav-login { padding: 0 9px; } }
main { padding-top: 40px; }

/* rank table: no red 'No' words — a quiet dash for 'not included', a tick for 'included' */
.perm-no { color: rgba(255,255,255,0.22) !important; font-weight: 400 !important; }
.perm-yes { color: #34c759 !important; font-weight: 700 !important; }
.perm-yes, .perm-no, .perm-num { text-align: center; }

/* one typeface everywhere (Inter): commands, code, numbers, chat preview, IBAN */
code, kbd, pre, samp, .cmd-label, .mc-chat, .pay-card-value, .shop-page main.shop code, .ip-chip, .doc-table, .rank-perm-table { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; }
code, kbd, samp, .cmd-label { font-weight: 600; letter-spacing: 0; }
table, .rank-perm-table, .doc-table { font-variant-numeric: tabular-nums; }

/* home link tiles: three, centred */
.home-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.home-links > .home-link { flex: 0 0 min(300px, 100%); }
/* footer: always centred */
.site-footer, .site-footer p { text-align: center; }
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.site-footer .footer-legal { justify-content: center; }

/* ═══ signature look: Inter, capitals, wide tracking (the sidebar-label style) — used for every UI label ═══ */
.site-header nav a, body.minecraft-theme .site-header nav a { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.76rem; font-weight: 600; padding: 0 16px; }
body.minecraft-theme .site-header nav > a:first-child { padding-left: 0; }
.site-header nav a.active::after { left: 16px; right: 16px; }
body.minecraft-theme .site-header nav > a.active:first-child::after { left: 0; right: 16px; }
.lang-btn { letter-spacing: 0.14em; font-weight: 700; }
.btn, .card-link, .mode-more, .home-link .mode-more, .section-head a, .tag, .eyebrow, .shop-eyebrow, .shop-chip, .mode-label, .join-tabs button, .lang-option,
.doc-table th, .rank-perm-table th, .pay-card-label, .price-note, .sidebar-label, .footer-legal a {
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.74rem;
}
.btn { font-size: 0.78rem; }
.card-link, .mode-more { font-size: 0.72rem; letter-spacing: 0.14em; }
.sidebar-link { text-transform: none; }
.site-footer, .site-footer p { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; }
.site-footer a { font-weight: 700; }
.home-eyebrow { text-transform: uppercase; letter-spacing: 0.3em !important; font-size: 0.82rem !important; font-weight: 600 !important; }
.home-sub { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.9rem !important; }
.hero-meta { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem !important; }
.home-section h2, .wiki-hub-section h2, .shop-section h2 { letter-spacing: -0.02em; }

/* IP: no box at all — just the address and the copy icon (tap = copy) */
.ip-chip { background: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 6px 4px; border-radius: 8px; text-shadow: 0 2px 18px rgba(0,0,0,0.75); }
.ip-chip:hover { background: none !important; transform: scale(1.04); }
.ip-chip:hover .ip-chip-text { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: rgba(255,255,255,0.55); }
.ip-chip.copied { border: 0 !important; }

/* new background art (full-bleed, no letterbox): normal cover, a stronger dark wash so text stays readable */
.minecraft-bg { background-size: 100% 100%, cover; background-image: linear-gradient(180deg, rgba(5,10,20,0.50), rgba(4,8,16,0.84)), url("bg-art-4k-blue.webp"); }

/* Zonelimit tile: yellow instead of grey/black */
.tile-zonelimit { background: radial-gradient(120% 90% at 20% 0%, rgba(255,214,10,0.62), rgba(26,20,4,0.95) 70%); }
.tile-zonelimit h3 { color: #fff; }
.tile-zonelimit .mode-label { color: #ff2d2d; text-shadow: 0 0 14px rgba(255,45,45,0.55); font-weight: 800; }
.tile-zonelimit .mode-label { display: inline-block; background: #ff1f1f; color: #fff; text-shadow: none; padding: 5px 11px; border-radius: 7px; box-shadow: 0 0 18px rgba(255,31,31,0.55); }
.tile-zonelimit .mode-label { align-self: flex-start; margin: -5px 0 17px -4px; }

/* the bar is always there: no fade/slide-in on page load (that left a strip above it while navigating) */
.site-header.reveal, .site-header { animation: none !important; opacity: 1 !important; transform: none !important; top: 0; margin-top: 0; }
html, body { margin: 0; padding: 0; }

/* no bright glow blob in the corner of hero boxes */
.hero::after, .hero-with-cta::after, .hero-compact::after { content: none !important; display: none !important; }

/* ═══ shop v3: one centred column, one place to buy ═══ */
.shop-flow { max-width: 900px; margin: 0 auto; display: grid; gap: 56px; }
.shop-flow .shop-section { margin: 0; }
.shop-flow h2 { text-align: center; margin-bottom: 22px; }
.shop-flow .shop-features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-flow .shop-note, .shop-flow .shop-use, .shop-flow .shop-wall-empty { text-align: center; }
.shop-flow .shop-aside { position: static; width: auto; }
.shop-flow .shop-buy { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 34px; align-items: center; }
.shop-buy-right { display: grid; gap: 12px; }
.shop-buy-right .shop-buy-btn { margin: 0; width: 100%; text-align: center; }
.shop-flow .price-note { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.9rem; }
.shop-iban { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.10); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
.shop-iban .shop-iban-title { grid-column: 1 / -1; margin: 0 0 6px; color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.shop-iban .pay-card-label { display: none; }
.shop-iban .pay-card-value { margin: 0; white-space: nowrap; font-size: clamp(0.9rem, 2.4vw, 1.05rem); font-weight: 600; letter-spacing: 0.02em; }
.shop-iban .shop-iban-owner { margin: 0; grid-column: 1; color: rgba(255,255,255,0.5); font-size: 0.8rem; }
.shop-iban .shop-iban-copy { grid-column: 2; grid-row: 2 / span 2; margin: 0; padding: 7px 12px; font-size: 0.68rem; }
@media (max-width: 820px) { .shop-flow .shop-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shop-flow .shop-buy { grid-template-columns: 1fr; gap: 24px; padding: 24px; } }
.shop-steps code { white-space: nowrap; }
.shop-flow .mc-chat { padding-top: 22px; padding-bottom: 22px; }
.shop-flow .shop-preview { align-items: center; }

/* shop: limited badge + live countdown side by side */
.shop-eyebrow-row { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.shop-eyebrow-timer { font-variant-numeric: tabular-nums; color: #fff !important; border-color: rgba(255,255,255,0.28) !important; background: rgba(255,255,255,0.08) !important; }
.shop-buy-until .shop-countdown { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mc-chat .mc-rank[class*="rank-"] { font-weight: 700; }
.mc-chat .rank-legacy { color: #ef4444; }

/* ═══ stats page (2026-09-22) — leaderboards in the home look: glass rows, capitals, symmetric ═══ */
.stats { display: grid; gap: 28px; max-width: 900px; margin: 0 auto; padding-bottom: 40px; }
.stats-head h2 { margin-bottom: 10px; }
.stats-sub { margin: 0; text-align: center; color: rgba(255,255,255,0.72); font-size: 1.02rem; }
.stats-controls { display: grid; gap: 16px; justify-items: center; }
.stats-search { display: flex; align-items: center; gap: 10px; width: min(520px, 100%); padding: 0 18px; height: 48px; border-radius: 999px;
  background: var(--glass-mid); border: 1px solid var(--glass-border); box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.5); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.stats-search svg { width: 18px; height: 18px; color: rgba(255,255,255,0.7); flex: none; }
.stats-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 0.98rem; }
.stats-search input::placeholder { color: rgba(255,255,255,0.55); }
.stats-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.stats-modes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid var(--glass-border); margin-bottom: 4px; }
.stats-range { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); width: fit-content; min-width: min(360px, 100%); max-width: 100%; box-sizing: border-box; }
.stats-range-btn { flex: 1 0 auto; border: 0; background: none; color: rgba(255,255,255,0.7); padding: 7px 14px; border-radius: 999px; cursor: pointer; font: inherit;
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; font-size: 0.68rem; white-space: nowrap; text-align: center; transition: background .2s ease, color .2s ease; }
.stats-range-btn.is-on { background: rgba(255,255,255,0.9); color: #111; }
@media (max-width: 420px) { .stats-range { gap: 2px; } .stats-range-btn { padding: 7px 9px; letter-spacing: 0.03em; } }
.stats-board-wrap { display: grid; gap: 14px; }
.stats-board { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stats-row { display: grid; grid-template-columns: 48px 40px 1fr auto; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border-radius: 20px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); color: #fff;
  transition: transform .22s cubic-bezier(.22,1,.36,1), background .22s ease; }
.stats-row:hover { transform: translateY(-2px); background: rgba(255,255,255,0.16); }
.stats-rank { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto; border-radius: 12px; background: rgba(255,255,255,0.10); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; }
.stats-row.top-1 .stats-rank { background: rgba(255,204,0,0.92); color: #1a1400; }
.stats-row.top-2 .stats-rank { background: rgba(230,230,235,0.92); color: #1c1c1e; }
.stats-row.top-3 .stats-rank { background: rgba(255,149,0,0.9); color: #1a0e00; }
.stats-row.is-top { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); }
.stats-head-img { width: 40px; height: 40px; border-radius: 10px; image-rendering: pixelated; background: rgba(0,0,0,0.25); }
.stats-name { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-value { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 0.98rem; }
.stats-empty { margin: 8px 0; text-align: center; color: rgba(255,255,255,0.7); }
.stats-updated { margin: 0; text-align: center; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.68rem; }
@media (max-width: 600px) { .stats-row { grid-template-columns: 40px 36px 1fr auto; gap: 10px; padding: 10px 14px 10px 10px; } .stats-rank { width: 34px; height: 34px; } .stats-head-img { width: 36px; height: 36px; } .stats-tabs .btn { padding: 9px 16px; } }

/* ═══ stats/prices switch + shop prices page (2026-09-22) ═══ */
.stats-switch { display: flex; justify-content: center; gap: 6px; margin: 0 auto 22px; padding: 4px; width: max-content; max-width: 100%; border-radius: 999px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); }
.stats-switch-btn { text-decoration: none; color: rgba(255,255,255,0.72); padding: 8px 18px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.72rem; transition: background .2s ease, color .2s ease; }
.stats-switch-btn:hover { color: #fff; }
.stats-switch-btn.is-on { background: rgba(255,255,255,0.9); color: #111; }
/* four tabs since 2026-09-25: 2×2 on phones so the page never gets wider than the screen */
@media (max-width: 620px) { .stats-switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; box-sizing: border-box; border-radius: 22px; }
  .stats-switch-btn { text-align: center; padding: 9px 6px; letter-spacing: 0.08em; font-size: 0.68rem; } }
.stats-hot { display: grid; gap: 10px; justify-items: center; }
.stats-hot-label { margin: 0; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.72rem; }
.stats-hot-bonus { color: #ffcc00; }
.stats-hot-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.prices-hot-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; color: #fff; font-size: 0.92rem;
  background: rgba(255,204,0,0.16); border: 1px solid rgba(255,204,0,0.45); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); }
.prices-hot-chip .prices-icon { width: 26px; height: 26px; }
.prices-hot-chip strong { color: #ffcc00; font-variant-numeric: tabular-nums; }
.prices-cols { display: grid; grid-template-columns: 48px 1fr 150px 150px; gap: 16px; padding: 0 18px 0 12px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.68rem; }
.prices-cols span:nth-child(n+3) { text-align: right; }
.prices-row { grid-template-columns: 48px 1fr 150px 150px; }
.prices-rank { background: rgba(0,0,0,0.22); }
.prices-icon { width: 32px; height: 32px; image-rendering: pixelated; }
.prices-buy, .prices-sell { text-align: right; display: inline-flex; justify-content: flex-end; align-items: center; gap: 6px; }
.prices-muted { color: rgba(255,255,255,0.45); font-weight: 500; font-size: 0.82rem; }
.prices-trend { font-size: 0.7rem; }
.prices-trend.is-up { color: #34c759; }
.prices-trend.is-down { color: #ff453a; }
.prices-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; vertical-align: middle; background: rgba(255,204,0,0.9); color: #1a1400; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; font-size: 0.6rem; }
.stats-row.is-hot { border-color: rgba(255,204,0,0.45); }
@media (max-width: 640px) { .prices-cols { display: none; } .prices-row { grid-template-columns: 40px 1fr; grid-template-areas: "icon name" "icon prices"; row-gap: 4px; }
  .prices-row .prices-rank { grid-area: icon; } .prices-row .stats-name { grid-area: name; white-space: normal; }
  .prices-row .prices-buy, .prices-row .prices-sell { grid-area: prices; justify-content: flex-start; font-size: 0.86rem; }
  .prices-row .prices-sell { justify-self: end; } }

/* top of the week card (stats page) */
.stats-weekly { display: grid; justify-items: center; }
.stats-weekly-card { width: min(560px, 100%); padding: 18px 22px; border-radius: 22px; text-align: center; color: #fff;
  background: rgba(255,204,0,0.12); border: 1px solid rgba(255,204,0,0.38); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); }
.stats-weekly-label { margin: 0 0 8px; color: #ffcc00; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; font-size: 0.72rem; }
.stats-weekly-text { margin: 0; color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.55; }
.stats-weekly-text strong { color: #ffcc00; }
.stats-weekly-last { margin: 10px 0 0; color: rgba(255,255,255,0.7); font-size: 0.86rem; }
.stats-weekly-last strong { color: #fff; }
.stats-weekly-week { color: rgba(255,255,255,0.5); }

/* shop ranks (2026-09-22) */
.rank-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rank-card { display: flex; flex-direction: column; padding: 22px 20px; border-radius: 22px; background: rgba(10,14,26,0.58); border: 1px solid rgba(255,255,255,0.10); backdrop-filter: blur(18px); color: #fff; }
.rank-card-name { margin: 0 0 6px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; font-size: 0.8rem; }
.rank-card-price { margin: 0 0 14px; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; display: flex; flex-direction: column; }
.rank-card-once { color: #b6bfcd; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.66rem; margin-top: 2px; }
.rank-card-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; color: #b6bfcd; font-size: 0.9rem; line-height: 1.4; flex: 1; }
.rank-card-list li::before { content: "·"; color: #fff; margin-right: 8px; }
.rank-card-list strong { color: #fff; }
.rank-card-btn { align-self: center; }
@media (max-width: 860px) { .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .rank-grid { grid-template-columns: 1fr; } }

/* stats: board with the top-of-the-week card beside it */
.stats-wide { max-width: 1180px; }
.stats-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.stats-layout .stats-weekly { position: sticky; top: 76px; }
.stats-layout .stats-weekly-card { width: 100%; text-align: left; padding: 20px; }
.stats-layout .stats-weekly-text br { display: block; content: ""; margin-top: 8px; }
@media (max-width: 900px) { .stats-layout { grid-template-columns: 1fr; } .stats-layout .stats-weekly { position: static; order: -1; } .stats-layout .stats-weekly-card { text-align: center; } }
/* owner: the box further out on the right, square, the board stays centred */
.stats-wide { max-width: 900px; }
.stats-layout { grid-template-columns: 1fr; position: relative; }
.stats-layout .stats-weekly { position: absolute; left: calc(100% + 48px); top: 0; width: 250px; }
.stats-layout .stats-weekly-card { min-height: 250px; display: flex; flex-direction: column; justify-content: center; padding: 22px; }
.stats-layout .stats-weekly-text { font-size: 0.9rem; }
@media (max-width: 1440px) { .stats-layout .stats-weekly { position: static; width: min(520px, 100%); margin: 0 auto; order: -1; } .stats-layout .stats-weekly-card { min-height: 0; text-align: center; } }
/* owner: a bit higher, a bit wider towards the board */
.stats-layout .stats-weekly { left: calc(100% + 28px); top: -44px; width: 290px; }

/* lou bundles + "pay to win is uncool" (owner 2026-09-22) */
.rank-banner { margin: -10px 0 18px; text-align: center; color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.rank-banner-sub { display: block; margin-top: 4px; color: #b6bfcd; font-size: 0.92rem; font-weight: 500; }
.rank-banner a, .rank-card-hint a { color: #7dc4ff; }
.rank-card-hint { margin: 0 0 12px; text-align: center; color: #ffd680; font-size: 0.8rem; font-weight: 700; }

/* ═══ first-visit guided tour (2026-09-22, cutout rework 2026-09-23) — blurred backdrop with a real hole
   over the spotlighted element (four strips around it, not one layer + z-index - z-index promotion broke
   on elements with their own stacking context, e.g. `.home-hero`'s `isolation: isolate`) ═══ */
body.xyn-tour-lock { overflow: hidden; }
.xyn-tour-overlay { position: fixed; inset: 0; z-index: 9000; pointer-events: none; }
.xyn-tour-strip {
  position: absolute; top: 0; left: 0; width: 0; height: 0;
  background: rgba(6,8,14,0.72);
  -webkit-backdrop-filter: blur(7px) saturate(1.1); backdrop-filter: blur(7px) saturate(1.1);
  opacity: 0; pointer-events: none; transition: opacity .35s ease, top .3s ease, left .3s ease, width .3s ease, height .3s ease;
}
.xyn-tour-overlay.is-on .xyn-tour-strip { opacity: 1; pointer-events: auto; }
.xyn-tour-ring {
  position: fixed; z-index: 9001; border-radius: 22px; pointer-events: none;
  box-shadow: 0 0 0 3px rgba(0,122,255,0.55), 0 0 70px rgba(0,122,255,0.35);
  opacity: 0; transition: opacity .3s ease, top .3s ease, left .3s ease, width .3s ease, height .3s ease;
}
.xyn-tour-ring.is-on { opacity: 1; }
.xyn-tour-card {
  position: fixed; z-index: 9002; top: 50%; left: 50%;
  width: min(440px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  background: var(--glass-mid); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-radius: 26px; padding: 28px 26px 22px; color: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, top .4s cubic-bezier(.22,1,.36,1);
}
.xyn-tour-card.is-on { opacity: 1; pointer-events: auto; }
.xyn-tour-card:not(.xyn-tour-card-centered) { transform: translateX(-50%); }
.xyn-tour-pointer {
  position: absolute; display: none; width: 18px; height: 18px;
  background: var(--glass-mid);
  border-top: 1px solid var(--glass-border); border-left: 1px solid var(--glass-border);
  border-right: none; border-bottom: none;
  transform: translateX(-50%) rotate(45deg); border-radius: 3px 0 0 0;
}
.xyn-tour-pointer-up { top: -10px; }
.xyn-tour-pointer-down { bottom: -10px; transform: translateX(-50%) rotate(225deg); }
.xyn-tour-skip {
  position: absolute; top: 16px; right: 18px; background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 0.66rem;
  font-family: inherit; padding: 4px;
}
.xyn-tour-skip:hover { color: #fff; }
.xyn-tour-dots { display: flex; gap: 6px; margin-bottom: 16px; }
.xyn-tour-dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.25); transition: background .2s ease, width .2s ease; }
.xyn-tour-dots span.is-on { background: #007AFF; width: 18px; }
.xyn-tour-text { font-size: 1.02rem; line-height: 1.6; color: rgba(255,255,255,0.92); margin: 0 0 22px; padding-right: 8px; }
.xyn-tour-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
@media (max-width: 480px) { .xyn-tour-card { padding: 24px 20px 18px; } .xyn-tour-text { font-size: 0.96rem; } }
.xyn-tour-replay { color: rgba(255,255,255,0.55); text-decoration: underline; text-underline-offset: 2px; }
.xyn-tour-replay:hover { color: rgba(255,255,255,0.85); }

/* ═══ account overlay (login + dashboard) — liquid glass sheet over the page, nav stays on top ═══ */
html.acct-lock { overflow: hidden; }
.acct-overlay {
  position: fixed; inset: 0; z-index: 4000;            /* header is 5000 → nav stays clickable */
  display: flex; align-items: center; justify-content: center;
  padding: 72px 16px 16px;
  background: rgba(4, 7, 12, 0.38);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.acct-overlay.open { opacity: 1; pointer-events: auto; }
.acct-sheet {
  position: relative; width: min(720px, 100%); max-height: calc(100vh - 96px); overflow: auto;
  padding: 34px 32px 30px; border-radius: 28px; color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  -webkit-backdrop-filter: blur(38px) saturate(200%) brightness(108%); backdrop-filter: blur(38px) saturate(200%) brightness(108%);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.45), 0 24px 64px rgba(0,0,0,0.45);
  transform: translateY(10px) scale(.98); transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.acct-overlay.open .acct-sheet { transform: none; }
.acct-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.8);
  cursor: pointer; font-size: 0.9rem; transition: background .2s ease;
}
.acct-close:hover { background: rgba(255,255,255,0.22); color: #fff; }
.acct-title { margin: 0 0 6px; font-size: 1.8rem; font-weight: 800; text-align: center; color: #fff; }
.acct-sub { margin: 0 0 24px; text-align: center; color: rgba(255,255,255,0.66); }
.acct-steps { display: grid; gap: 10px; margin-bottom: 22px; }
.acct-step {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.88);
}
.acct-step span {
  flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.9); color: #0b0f18; font-weight: 800; font-size: .82rem;
}
.acct-step code { background: rgba(0,0,0,0.35); padding: 1px 7px; border-radius: 6px; color: #ffcf6b; }
.acct-label { display: block; margin: 0 0 6px 4px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.acct-input {
  width: 100%; padding: 14px 16px; margin-bottom: 14px; border-radius: 16px; outline: none;
  background: rgba(0,0,0,0.28); border: 1px solid rgba(255,255,255,0.22); color: #fff;
  font-size: 1.15rem; letter-spacing: .14em; text-align: center; font-family: ui-monospace, "SF Mono", Consolas, monospace;
}
.acct-input:focus { border-color: rgba(255,255,255,0.55); box-shadow: 0 0 0 3px rgba(255,255,255,0.10); }
.acct-btn {
  width: 100%; padding: 14px; border-radius: 16px; cursor: pointer; font-weight: 700; font-size: 1rem;
  background: rgba(255,255,255,0.92); color: #0b0f18; border: 0;
  box-shadow: inset 0 1.5px 0 #fff, 0 10px 26px rgba(0,0,0,0.3); transition: transform .2s ease, background .2s ease;
}
.acct-btn:hover:not(:disabled) { transform: translateY(-1px); background: #fff; }
.acct-btn:disabled { opacity: .6; cursor: default; }
.acct-msg { min-height: 20px; margin-top: 10px; text-align: center; font-size: .9rem; }
.acct-msg.err { color: #ff8a80; }
.acct-msg.ok { color: #7ee2a0; }
.acct-loading { text-align: center; padding: 40px 0; color: rgba(255,255,255,0.6); }
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 44px 22px 0; }
.acct-hi { color: rgba(255,255,255,0.6); font-size: .9rem; }
.acct-name { text-align: left; margin: 0; }
.acct-out {
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: .88rem;
  background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.25);
}
.acct-out:hover { background: rgba(255,255,255,0.22); color: #fff; }
.acct-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .acct-grid { grid-template-columns: repeat(2, 1fr); } }
.acct-card {
  padding: 18px; border-radius: 20px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.acct-card-h { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.acct-big { font-size: 1.6rem; font-weight: 800; margin: 6px 0 10px; color: #fff; }
.acct-row { display: flex; justify-content: space-between; font-size: .9rem; color: rgba(255,255,255,0.62); padding: 3px 0; }
.acct-row b { color: #fff; font-weight: 600; }
@media (max-width: 640px) { .acct-grid { grid-template-columns: 1fr; } .acct-sheet { padding: 28px 18px 22px; } }

/* nav login icon: same size as discord, hover fills the full bar height (owner: "bis zum ende vom viereck"),
   green dot when logged in */
.site-header nav .nav-login, body.minecraft-theme .site-header nav a.nav-login {
  height: 56px; margin: 0; padding: 0 14px; border-radius: 0; color: rgba(255,255,255,0.85); position: relative;
}
.site-header nav .nav-login svg { height: 1.5rem; width: 1.5rem; }
body.minecraft-theme .site-header nav a.nav-login:hover { transform: none; box-shadow: none; }
.site-header nav .nav-login.is-in::after {
  content: ""; position: absolute; right: 9px; top: 14px; width: 7px; height: 7px; border-radius: 50%;
  background: #7ee2a0; box-shadow: 0 0 0 2px rgba(8,12,20,0.9);
}
@media (max-width: 620px) { .site-header nav .nav-login, body.minecraft-theme .site-header nav a.nav-login { padding: 0 10px; } }
/* login icon + overlay accents: no gold — plain white like the other nav links (owner: "ganz simple, reinpassend") */
body.minecraft-theme .site-header nav a.nav-login:hover, .site-header nav .nav-login:hover { background: none; color: #fff; box-shadow: none; transform: none; }
.acct-step code { color: #fff; background: rgba(255,255,255,0.14); }
/* dashboard with 5 cards, symmetric: Lou + Level on top (half each), the three modes below (a third each) */
.acct-grid { grid-template-columns: repeat(6, 1fr); }
.acct-grid .acct-card { grid-column: span 2; }
.acct-grid .acct-card.acct-wide { grid-column: span 3; }
.acct-unit { font-size: 0.95rem; font-weight: 600; color: rgba(255,255,255,0.6); }
@media (max-width: 640px) { .acct-grid { grid-template-columns: 1fr; } .acct-grid .acct-card, .acct-grid .acct-card.acct-wide { grid-column: auto; } }

/* survival map page */
.map-main { max-width: 1280px; }
.map-section { display: grid; gap: 14px; }
.map-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.map-online { margin: 0; color: rgba(255,255,255,0.72); font-size: 0.98rem; }
.map-online strong { color: #ffb347; margin-right: 8px; }
.map-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 420px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); background: #0b0f16; box-shadow: 0 20px 60px rgba(0,0,0,0.45); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-wrap:fullscreen { border-radius: 0; border: 0; }
.map-hint { margin: 0; text-align: center; font-size: 0.88rem; color: rgba(255,255,255,0.55); }
@media (max-width: 640px) { .map-wrap { aspect-ratio: 3 / 4; min-height: 0; border-radius: 14px; } .map-hint { display: none; } }

/* ═══ market pages (2026-09-25): shop prices detail, auction house, orders — same glass rows/pills as stats ═══ */
.stats-market { max-width: 1120px; }
.stats-head .mk-views { margin: 18px auto 0; }
.mk-count { color: #ffcc00; font-variant-numeric: tabular-nums; }
.mk-live, .mk-history { display: grid; gap: 22px; }
.mk-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.mk-toolbar .stats-search { width: min(460px, 100%); }
.mk-sort { min-width: 0; }
.stats-controls .mk-sort { margin-top: 2px; }
.mk-label { margin: 0 0 12px; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.72rem; }
.mk-label::before { content: ""; display: inline-block; width: 18px; height: 2px; margin: 0 10px 3px 0; border-radius: 2px; background: #ffcc00; vertical-align: middle; }
.mk-gold { color: #ffcc00; }

/* most offered / most wanted strip */
.stats-market [hidden], .mk-detail[hidden], .mk-tip[hidden] { display: none !important; }
.mk-top-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mk-top-card { flex: 0 1 calc((100% - 48px) / 5); padding: 12px; border-radius: 18px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); color: #fff; min-width: 0; }
.mk-top-name { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 600; font-size: 0.92rem; min-width: 0; }
.mk-top-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-top-name .prices-icon { width: 22px; height: 22px; flex: none; }
.mk-rank { color: rgba(255,255,255,0.5); font-weight: 700; font-size: 0.8rem; flex: none; }
.mk-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mk-mini { display: grid; justify-items: center; gap: 2px; padding: 7px 4px; border-radius: 12px; background: rgba(0,0,0,0.22); text-align: center; min-width: 0; }
.mk-mini em { font-style: normal; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 0.58rem; white-space: nowrap; }
.mk-mini strong { font-size: 0.95rem; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mk-mini i { font-style: normal; font-size: 0.62rem; color: rgba(255,255,255,0.5); white-space: nowrap; }
@media (max-width: 980px) { .mk-top-card { flex-basis: calc((100% - 24px) / 3); } }
@media (max-width: 620px) { .mk-top-card { flex-basis: 100%; } }

/* offer / order cards */
.mk-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.mk-grid > .mk-card { flex: 0 1 calc((100% - 28px) / 3); }
.mk-card { display: flex; flex-direction: column; padding: 18px; border-radius: 22px; color: #fff; min-width: 0;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform .22s cubic-bezier(.22,1,.36,1), background .22s ease; }
.mk-card:hover { transform: translateY(-2px); background: rgba(255,255,255,0.15); }
.mk-card-top { display: flex; gap: 14px; align-items: flex-start; min-height: 52px; }
.mk-icon { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(0,0,0,0.25); }
.mk-icon .prices-icon { width: 32px; height: 32px; }
.mk-icon-lg { width: 60px; height: 60px; border-radius: 16px; }
.mk-icon-lg .prices-icon { width: 40px; height: 40px; }
.mk-qty { position: absolute; right: -8px; bottom: -6px; padding: 1px 6px; border-radius: 999px; background: #ffcc00; color: #1a1400; font-size: 0.66rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.mk-card-title { min-width: 0; }
.mk-card-title h3 { margin: 2px 0 0; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-ench { margin: 3px 0 0; color: #c9b8ff; font-size: 0.82rem; line-height: 1.35; }
.mk-want { margin: 3px 0 0; color: rgba(255,255,255,0.65); font-size: 0.84rem; }
.mk-want strong { color: #fff; }
.mk-price { margin: 16px 0 0; color: #ffcc00; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mk-price small { color: rgba(255,255,255,0.6); font-size: 0.8rem; font-weight: 600; letter-spacing: 0; }
.mk-per { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 4px 0 0; color: rgba(255,255,255,0.55); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.mk-per b { color: #fff; font-weight: 700; }
.mk-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); font-size: 0.84rem; }
.mk-per + .mk-card-foot, .mk-progress + .mk-per + .mk-card-foot { margin-top: 14px; }
.mk-card > .mk-per:last-of-type { margin-bottom: auto; }
.mk-who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-weight: 600; }
.mk-head { width: 20px; height: 20px; border-radius: 5px; image-rendering: pixelated; flex: none; }
.mk-when { white-space: nowrap; }
.mk-progress { height: 8px; margin-top: 12px; border-radius: 999px; background: rgba(0,0,0,0.3); overflow: hidden; }
.mk-progress i { display: block; height: 100%; min-width: 4px; border-radius: 999px; background: linear-gradient(90deg, #ffb300, #ffcc00); }
.mk-howto { margin: 0; text-align: center; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.mk-howto code { padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,0.14); color: #fff; }
@media (max-width: 980px) { .mk-grid > .mk-card { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 620px) { .mk-grid > .mk-card { flex-basis: 100%; } .mk-toolbar { justify-content: center; } }

/* trend chip */
.mk-trend { font-weight: 700; font-size: 0.78rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mk-trend.is-up { color: #34c759; }
.mk-trend.is-down { color: #ff453a; }
.mk-trend.is-flat { color: rgba(255,255,255,0.5); }

/* shop price list: sell · stack · buy · trend */
.mk-prices-cols, .mk-prow { grid-template-columns: 48px minmax(0, 1fr) 118px 118px 104px 92px; }
.mk-prices-cols > span:nth-child(n+3) { text-align: right; }
.mk-prow { cursor: pointer; }
.mk-prow:focus-visible { outline: none; border-color: rgba(255,255,255,.35); }
.mk-prow .prices-sell { color: #ffcc00; }
.mk-stack, .mk-ptrend { text-align: right; }
.mk-stack { color: rgba(255,255,255,0.65); font-weight: 600; }
.mk-prow .prices-buy { color: rgba(255,255,255,0.85); font-weight: 600; }
@media (max-width: 760px) {
  .mk-prices-cols { display: none; }
  .mk-prow { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "icon name trend" "icon sell buy"; row-gap: 4px; }
  .mk-prow .prices-rank { grid-area: icon; } .mk-prow .stats-name { grid-area: name; white-space: normal; }
  .mk-prow .prices-sell { grid-area: sell; justify-content: flex-start; justify-self: start; text-align: left; font-size: 0.9rem; } .mk-prow .prices-buy { grid-area: buy; font-size: 0.86rem; }
  .mk-prow .mk-ptrend { grid-area: trend; } .mk-prow .mk-stack { display: none; } }

/* history list (auction house) */
.mk-cols { display: grid; gap: 16px; padding: 0 18px 0 12px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.68rem; }
.mk-cols-hist, .mk-row-hist { grid-template-columns: 48px minmax(0, 1fr) 110px 130px 130px; }
.mk-cols-hist > span:nth-child(n+3), .mk-row-hist .stats-value { text-align: right; }
.mk-row { cursor: pointer; }
.mk-row:focus-visible { outline: none; border-color: rgba(255,255,255,.35); }
@media (max-width: 640px) { .mk-cols-hist { display: none; } .mk-row-hist { grid-template-columns: 40px minmax(0, 1fr) auto; } .mk-row-hist .stats-value:nth-of-type(1), .mk-row-hist .stats-value:nth-of-type(2) { display: none; } }

/* detail view (price item / auction item) */
.mk-detail { display: grid; gap: 18px; }
.mk-detail-head { display: flex; align-items: center; gap: 16px; }
.mk-detail-head h3 { margin: 0; flex: 1; min-width: 0; color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.mk-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mk-tile { display: grid; gap: 4px; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); color: #fff; }
.mk-tile em { font-style: normal; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.68rem; }
.mk-tile strong { color: #ffcc00; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mk-tile strong .mk-trend { font-size: 1.35rem; }
.mk-tile span { color: rgba(255,255,255,0.6); font-size: 0.84rem; }
.mk-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-link { display: grid; gap: 4px; padding: 14px 18px; border-radius: 18px; text-decoration: none; color: #fff; background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.12); transition: background .2s ease; }
.mk-link:hover { background: rgba(255,255,255,0.12); }
.mk-link em { font-style: normal; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.66rem; }
.mk-link em::after { content: " →"; }
.mk-link strong { font-weight: 600; font-size: 0.95rem; }
.mk-h { margin: 8px 0 -6px; color: #fff; font-size: 1.05rem; font-weight: 700; }
.mk-h::before { content: ""; display: inline-block; width: 18px; height: 2px; margin: 0 10px 4px 0; border-radius: 2px; background: #ffcc00; vertical-align: middle; }
.mk-h small { margin-left: 6px; color: rgba(255,255,255,0.55); font-size: 0.82rem; font-weight: 500; }
@media (max-width: 700px) { .mk-tiles, .mk-links { grid-template-columns: 1fr; } .mk-detail-head h3 { font-size: 1.25rem; } }

/* charts: single series, recessive axes, hover crosshair + tooltip */
.mk-chart { padding: 16px 16px 8px; border-radius: 20px; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.12); }
.mk-chart-plot { position: relative; }
.mk-chart-svg { display: block; width: 100%; height: 210px; overflow: visible; }
.mk-chart-svg:has(.mk-bar) { height: 150px; }
.mk-axis { stroke: rgba(255,255,255,0.22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mk-gridline { stroke: rgba(255,255,255,0.08); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.mk-line { fill: none; stroke: #ffcc00; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mk-chart-buy .mk-line { stroke: #8fb8ff; }
.mk-area { fill: rgba(255,204,0,0.10); stroke: none; }
.mk-chart-buy .mk-area { fill: rgba(143,184,255,0.10); }
.mk-bar { fill: #ffcc00; }
.mk-cross { position: absolute; top: 0; bottom: 26px; width: 1px; background: rgba(255,255,255,0.35); opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.mk-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #ffcc00; box-shadow: 0 0 0 2px #1a1a1a; opacity: 0; pointer-events: none; }
.mk-chart-buy .mk-dot { background: #8fb8ff; }
.mk-tip { position: absolute; top: -6px; transform: translate(-50%, -100%); display: grid; gap: 1px; padding: 6px 10px; border-radius: 10px; background: rgba(12,14,20,0.92); border: 1px solid rgba(255,255,255,0.16); color: #fff; font-size: 0.78rem; white-space: nowrap; pointer-events: none; text-align: center; }
.mk-tip span { color: rgba(255,255,255,0.6); font-size: 0.7rem; }
.mk-tip strong { font-variant-numeric: tabular-nums; }
.mk-chart-x { position: relative; height: 18px; margin-top: 4px; color: rgba(255,255,255,0.5); font-size: 0.7rem; font-variant-numeric: tabular-nums; }
.mk-chart-x span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.mk-chart-x span:first-child { transform: none; }
.mk-chart-x span:last-child { transform: translateX(-100%); }
.mk-chart-empty { margin: 26px 0; text-align: center; color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.mk-ylab { position: absolute; left: 0; transform: translateY(-120%); padding: 0 6px; border-radius: 6px; background: rgba(12,14,20,0.55); color: rgba(255,255,255,0.7); font-size: 0.7rem; font-variant-numeric: tabular-nums; pointer-events: none; }



/* lala: lou bundles v6 — 5 bundles as one clean list: icon | title + line | price + buy */
/* shop grids never grow wider than a small phone (grid items default to min-width: auto) */
main.shop > *, .shop-flow > *, .shop-preview > * { min-width: 0; }
.lou-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 760px; margin: 26px auto 0; }
.lou-card { position: relative; min-width: 0; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 20px; align-items: center;
  padding: 20px 24px; border-radius: 20px; color: #fff; text-align: left;
  background: rgba(10,14,26,0.62); border: 1px solid rgba(255,255,255,0.10); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: transform .24s cubic-bezier(0.34,1.3,0.64,1), border-color .24s ease; }
.lou-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.22); }
.lou-card.is-popular { border-color: rgba(0,122,255,0.70); box-shadow: 0 0 0 1px rgba(0,122,255,0.30), 0 18px 50px rgba(0,122,255,0.16); }
.lou-card.is-value { border-color: rgba(255,214,128,0.55); box-shadow: 0 0 0 1px rgba(255,214,128,0.18), 0 18px 50px rgba(255,180,60,0.10); }
.lou-card-badge, .lou-card-save { position: absolute; top: -10px; margin: 0; padding: 2px 10px; border-radius: 999px; white-space: nowrap; font-weight: 800; line-height: 1.6; }
.lou-card-badge { left: 24px; background: #007aff; color: #fff; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.62rem; }
.lou-card.is-value .lou-card-badge { background: #ffd680; color: #241a0a; }
.lou-card-save { right: 24px; background: #10301c; border: 1px solid rgba(52,199,89,0.45); color: #6de394; font-size: 0.72rem; }
.lou-card-icon { grid-row: 1 / 3; display: block; height: 64px; width: auto; margin: 0 auto; filter: drop-shadow(0 8px 18px rgba(70,140,255,0.35)); }
.lou-card.is-value .lou-card-icon { filter: hue-rotate(190deg) saturate(1.35) brightness(1.08) drop-shadow(0 8px 18px rgba(255,190,80,0.40)); }
.lou-card-title { grid-column: 2; align-self: end; margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lou-card-desc { grid-column: 2; grid-row: 2; align-self: start; margin: 4px 0 0; color: #b6bfcd; font-size: 0.86rem; line-height: 1.45; }
.lou-card-desc strong { color: #e6ecf5; font-weight: 700; }
.lou-card-foot { grid-column: 3; grid-row: 1 / 3; display: flex; align-items: center; gap: 16px; }
.lou-card-price { color: #ffd680; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 4.6em; text-align: right; }
.lou-card-btn, a.btn.lou-card-btn { padding: 9px 20px; font-size: 0.8rem; letter-spacing: 0.06em; white-space: nowrap; }
/* phone: price above the button, short line only */
@media (max-width: 560px) {
  .lou-grid { gap: 12px; }
  .lou-card { grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 14px; padding: 18px 14px 16px; }
  .lou-card-badge { left: 14px; }
  .lou-card-save { right: 14px; }
  .lou-card-icon { height: 50px; }
  .lou-card-title { font-size: min(1.1rem, 4.6vw); }
  .lou-card-desc { font-size: min(0.78rem, 3.6vw); }
  .lou-card-desc .lou-card-more { display: none; }
  .lou-card-desc strong { font-weight: 500; color: #b6bfcd; }
  .lou-card-foot { flex-direction: column; align-items: stretch; gap: 6px; text-align: center; }
  .lou-card-price { font-size: min(1.1rem, 4.6vw); min-width: 0; text-align: center; }
  .lou-card-btn, a.btn.lou-card-btn { font-size: min(0.78rem, 3.4vw); padding: 8px 12px; }
}

/* lala: a11y + seo helpers */
/* page heading on stats / prices / map: h1 for search engines, same look as the old h2 */
.stats-head .stats-title { margin: 0 0 10px; text-align: center; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; color: #fff; }
/* visible keyboard focus, never on mouse click */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible, select:focus-visible { outline: none; box-shadow: 0 0 0 1px rgba(255,255,255,.35), inset 0 0 10px rgba(255,255,255,.08); }
input:focus-visible { box-shadow: none; }
/* people who turned animations off in their system get a calm page */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
/* store checkout (assets/store.js) - same white glass sheet as the account overlay */
.store-code-row { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.store-code-row .store-code { margin: 0; flex: 1; font-weight: 700; user-select: all; }
.store-small { font-size: .85rem; margin-bottom: 18px; }
.store-mini { padding: 3px 10px; font-size: .78rem; margin-left: 6px; }
.store-file { font-size: .9rem; letter-spacing: 0; text-align: left; padding: 11px 14px; }
.store-cancel { display: block; margin: 14px auto 0; }
.store-link { color: #fff; text-decoration: underline; }
.store-state { display: block; font-size: .72rem; opacity: .85; margin-top: 2px; }
.btn.disabled, .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.shop-wall-n { opacity: .55; font-variant-numeric: tabular-nums; margin-right: 4px; }

/* lala: phone nav — two rows so every link stays reachable (before: map, shop, socials, login and language were clipped off-screen) */
@media (max-width: 620px) {
  .site-header nav { grid-template-columns: 1fr auto; grid-template-rows: auto auto; height: auto; }
  .site-header nav > a:first-child { grid-column: 1; grid-row: 1; }
  .site-header nav .nav-right { grid-column: 2; grid-row: 1; }
  .site-header nav .nav-mid { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.08); }
  .site-header nav .nav-mid a, body.minecraft-theme .site-header nav .nav-mid a { height: 42px; padding: 0 4px; }
  .site-header nav .nav-mid a.active::after { left: 4px; right: 4px; }
  .site-header nav .nav-mid a:first-child { padding-left: 0; }
  .site-header nav .nav-mid a:first-child.active::after { left: 0; }
  .site-header nav .nav-mid a:last-child { padding-right: 0; }
  .site-header nav .nav-mid a:last-child.active::after { right: 0; }
}
/* very small phones (iPhone SE): a touch tighter so the second row never clips */
@media (max-width: 380px) {
  .site-header nav { width: calc(100vw - 28px); }
  .site-header nav a, body.minecraft-theme .site-header nav a { font-size: 0.74rem; letter-spacing: 0.02em; }
  .site-header nav .nav-discord, .site-header nav .nav-tiktok, .site-header nav .nav-login,
  body.minecraft-theme .site-header nav a.nav-login { padding: 0 5px; }
  .site-header .lang-btn { padding: 4px 8px; }
}
.acct-orders { margin-top: 14px; }

/* lala: anchor jumps land below the sticky header (the buy box title was hidden under it) */
[id] { scroll-margin-top: 76px; }
@media (max-width: 620px) { [id] { scroll-margin-top: 116px; } }

/* lala: playtime calendar (click a player on a playtime board) */
.stats-board.is-calendar .stats-row { cursor: pointer; }
.stats-board.is-calendar .stats-row:focus-visible { outline: none; border-color: rgba(255,255,255,.35); }
.pcal-hint { margin: 0 0 10px; text-align: center; color: rgba(230,241,255,0.6); font-size: 0.82rem; }
.pcal-sheet { width: min(460px, 100%); padding: 28px 26px 22px; }
.pcal-head { display: flex; align-items: center; gap: 14px; margin: 0 40px 20px 0; }
.pcal-head img { border-radius: 12px; image-rendering: pixelated; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.pcal-name { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.pcal-where { margin: 2px 0 0; color: rgba(230,241,255,0.66); font-size: 0.86rem; }
.pcal-nav { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; margin-bottom: 12px; }
.pcal-month { text-align: center; font-size: 1rem; font-weight: 700; text-transform: capitalize; }
.pcal-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08);
  color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; transition: background .2s ease; }
.pcal-arrow:hover:not(:disabled) { background: rgba(255,255,255,0.18); }
.pcal-arrow:disabled { opacity: 0.3; cursor: default; }
.pcal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pcal-wd { margin-bottom: 6px; }
.pcal-wd span { text-align: center; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(230,241,255,0.5); }
.pcal-day { aspect-ratio: 1; min-width: 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; font: inherit;
  font-size: 0.84rem; font-weight: 700; color: #fff; border: 1px solid transparent; cursor: default; font-variant-numeric: tabular-nums; }
.pcal-day.is-pad { visibility: hidden; }
.pcal-day.is-played { background: rgba(52,199,89,0.45); border-color: rgba(52,199,89,0.65); }
.pcal-day.is-played.lv2 { background: rgba(52,199,89,0.65); }
.pcal-day.is-played.lv3 { background: rgba(52,199,89,0.88); border-color: #6de394; }
.pcal-day.is-idle { background: rgba(255,59,48,0.28); border-color: rgba(255,59,48,0.45); color: rgba(255,255,255,0.85); }
.pcal-day.is-none { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.35); }
.pcal-day.is-today { box-shadow: 0 0 0 2px #fff inset; }
.pcal-day:not(.is-pad):hover { transform: translateY(-1px); filter: brightness(1.12); }
.pcal-sum { margin: 16px 0 10px; text-align: center; color: rgba(230,241,255,0.74); font-size: 0.88rem; }
.pcal-sum strong { color: #fff; }
.pcal-legend { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; color: rgba(230,241,255,0.6); font-size: 0.76rem; }
.pcal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pcal-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.pcal-legend i.is-played { background: rgba(52,199,89,0.75); }
.pcal-legend i.is-idle { background: rgba(255,59,48,0.45); }
.pcal-legend i.is-none { background: rgba(255,255,255,0.12); }
.pcal-tip { position: absolute; z-index: 2; padding: 6px 10px; border-radius: 10px; white-space: nowrap; pointer-events: none;
  background: rgba(8,12,20,0.94); border: 1px solid rgba(255,255,255,0.18); color: rgba(230,241,255,0.85); font-size: 0.8rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45); }
.pcal-tip strong { color: #fff; }
@media (max-width: 480px) { .pcal-sheet { padding: 24px 14px 18px; } .pcal-grid { gap: 4px; } .pcal-day { border-radius: 8px; font-size: 0.76rem; } }
/* lala: calendar tooltip per-server split */
.pcal-tip { white-space: normal; min-width: 190px; }
.pcal-tip-head { white-space: nowrap; }
.pcal-tip-split { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 3px; margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.78rem; }
.pcal-tip-split span { color: rgba(230,241,255,0.66); }
.pcal-tip-split b { color: #fff; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcal-tip-split b.is-zero { color: rgba(230,241,255,0.35); font-weight: 500; }

/* players page = owner only (2026-10-11): the nav link only shows for the owner login (i18n.js sets html.xyn-owner) */
html:not(.xyn-owner) .site-header nav a[data-i18n="nav_players"] { display: none !important; }
/* auction house nav (2026-10-11): "AUKTIONSHAUS" is longer than "SHOP", so on small phones the second nav row gets a touch tighter and never clips */
@media (max-width: 400px) {
  .site-header nav .nav-mid a, body.minecraft-theme .site-header nav .nav-mid a { letter-spacing: 0; padding: 0 3px; }
}
@media (max-width: 370px) {
  .site-header nav .nav-mid a, body.minecraft-theme .site-header nav .nav-mid a { font-size: 0.68rem; }
}
@media (max-width: 340px) {
  .site-header nav .nav-mid a, body.minecraft-theme .site-header nav .nav-mid a { font-size: 0.64rem; }
}

/* ═══ lala: glass v2 (2026-10-11) — owner's light liquid glass for the WHOLE site ══════════════════
   owner: "ganze websiten disign soll eig so sein" + his .glass-card css. light 0.21 fill, 5px blur,
   1px white frame, top + left light lines. the two light lines are background layers (not ::before /
   ::after) so they never collide with pseudo elements that components already use. */
:root {
  --g2-fill: rgba(255, 255, 255, 0.11);
  --g2-border: 1px solid rgba(255, 255, 255, 0.3);
  --g2-lines:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent) top left / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(255,255,255,0.8), transparent, rgba(255,255,255,0.3)) top left / 1px 100% no-repeat;
  --g2-shadow: 0 8px 32px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -1px 0 rgba(255,255,255,0.1);
  --g2-blur: blur(14px) saturate(170%);
  --g2-radius: 20px;
}
html body.minecraft-theme :is(.hero, .section, .card, .doc-head, .doc-block, .feature-list li, .status-item,
  .doc-sidebar, .shop-feature, .shop-steps li, .shop-buy, .join-steps li, .home-link, .rank-card, .lou-card,
  .mode-tile, .dcp-card, .xyn-tour-card, .table-wrap, .stats-board-wrap, .kw-glass) {
  background: var(--g2-lines), var(--g2-fill);
  border: var(--g2-border);
  border-radius: var(--g2-radius);
  box-shadow: var(--g2-shadow);
  -webkit-backdrop-filter: var(--g2-blur); backdrop-filter: var(--g2-blur);
}
/* white text on light glass: a soft shadow keeps it readable over bright lava / grass */
html body.minecraft-theme :is(.hero, .section, .card, .doc-head, .doc-block, .doc-sidebar, .join-steps li,
  .home-link, .rank-card, .lou-card, .mode-tile, .shop-feature, .shop-buy, .kw-glass) {
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}
html body.minecraft-theme :is(.lead, .card p, .doc-block p, .doc-block li, .sidebar-link, .home-link p, .join-steps p) {
  color: rgba(255,255,255,0.9);
}
/* inner items on the glass stay glass too, never grey boxes */
html body.minecraft-theme .search-box input {
  background: rgba(255,255,255,0.14); border: var(--g2-border); border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4); color: #fff;
}
html body.minecraft-theme .search-box input::placeholder { color: rgba(255,255,255,0.7); }
html body.minecraft-theme .sidebar-link.active, html body.minecraft-theme .sidebar-link:hover {
  background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); color: #fff;
}
/* header: same glass as one slim bar */
html body.minecraft-theme .site-header {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent) bottom left / 100% 1px no-repeat,
    rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
}
html body.minecraft-theme .card:hover, html body.minecraft-theme .home-link:hover {
  background: var(--g2-lines), rgba(255,255,255,0.27);
}
html body.minecraft-theme :is(.tag, .btn, .status-pill) { text-shadow: none; }

/* floating cards over content need a stronger blur to stay readable (owner rule since 2026-09-30) */
html body.minecraft-theme :is(.xyn-tour-card, .kw-sheet, .kw-results) {
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  background: var(--g2-lines), rgba(255, 255, 255, 0.12);
}

/* ═══ lala: kid wiki start page (2026-10-11) — 3 steps, 5 rules, 6 tiles, sheets, question search ═══ */
.kw-main { width: min(1080px, 88vw); margin: 0 auto; padding: 34px 0 20px; display: grid; gap: 46px; }
.kw-hero { text-align: center; }
.kw-hero h1 { margin: 6px 0 10px; }
.kw-hero .lead { margin: 0 auto; max-width: 560px; font-size: 1.12rem; }
.kw-ico { width: 26px; height: 26px; flex: none; }
.kw-ico-s { width: 20px; height: 20px; }
.kw-search { position: relative; max-width: 560px; margin: 24px auto 0; }
.kw-search-ico { position: absolute; z-index: 2; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: rgba(255,255,255,0.8); pointer-events: none; }
.kw-search input { width: 100%; box-sizing: border-box; padding: 15px 20px 15px 50px; font: inherit; font-size: 1.05rem; color: #fff;
  background: rgba(255,255,255,0.11); border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; outline: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.5);
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); -webkit-appearance: none; appearance: none; }
.kw-search input::placeholder { color: rgba(255,255,255,0.72); }
.kw-search input:focus { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.22); }
.kw-search input::-webkit-search-cancel-button { display: none; }
.kw-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; padding: 6px; display: grid; text-align: left;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.kw-results[hidden] { display: none; }
.kw-res { display: block; width: 100%; padding: 11px 14px; border: 0; border-radius: 14px; background: none; color: #fff; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.kw-res:hover, .kw-res:focus-visible { background: rgba(255,255,255,0.16); outline: none; }
.kw-res.is-tile { font-weight: 650; }
.kw-res.is-tile::after { content: " \203A"; opacity: 0.7; }
.kw-res-empty { margin: 0; padding: 11px 14px; color: rgba(255,255,255,0.8); }

.kw-block h2 { margin: 0 0 16px; text-align: center; }
.kw-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,0.9); color: #0b1220; font-weight: 800; font-size: 0.9rem; text-shadow: none; }

.kw-start { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kw-start li { position: relative; padding: 22px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.kw-start li > svg { position: absolute; right: 18px; top: 20px; width: 30px; height: 30px; opacity: 0.85; }
.kw-start h3 { margin: 4px 0 0; }
.kw-start p { margin: 0; color: rgba(255,255,255,0.88); }
.kw-ip { position: relative; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); cursor: pointer;
  background: rgba(255,255,255,0.18); color: #fff; font: 700 1.15rem "SF Mono", Consolas, monospace; box-shadow: inset 0 1px 0 rgba(255,255,255,0.5); }
.kw-ip:hover { background: rgba(255,255,255,0.26); }
.kw-ip-ok { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: #34c759; font: 700 0.95rem Inter, sans-serif; opacity: 0; transition: opacity .2s ease; text-shadow: none; }
.kw-ip.copied .kw-ip-ok { opacity: 1; }

.kw-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.kw-rule { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; text-align: center; font-weight: 600; line-height: 1.3; }
.kw-rule .kw-ico { width: 34px; height: 34px; }
.kw-after { margin: 14px 0 0; text-align: center; color: rgba(255,255,255,0.85); text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.kw-after a, .kw-pro-links a { color: #fff; font-weight: 650; }

.kw-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kw-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 230px; padding: 22px 22px 20px;
  color: #fff; font: inherit; text-align: left; cursor: pointer;
  transition: transform .24s cubic-bezier(0.34,1.3,0.64,1), background .24s ease; }
.kw-tile:hover, .kw-tile:focus-visible { transform: translateY(-4px); outline: none; }
html body.minecraft-theme .kw-tile:hover, html body.minecraft-theme .kw-tile:focus-visible { background: var(--g2-lines), rgba(255,255,255,0.28); }
.kw-tile-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 8px;
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); }
.kw-tile-ico .kw-ico { width: 30px; height: 30px; }
.kw-tile-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.kw-tile-title { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.kw-tile-line { color: rgba(255,255,255,0.88); }
.kw-tile-more { margin-top: auto; padding-top: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.kw-sheet { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow: auto; box-sizing: border-box;
  margin: auto; padding: 24px; color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.kw-sheet[open] { animation: kwIn .32s cubic-bezier(0.22,1,0.36,1); }
.kw-sheet::backdrop { background: rgba(4,8,14,0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes kwIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.kw-sheet-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.kw-sheet-head .kw-tile-ico { margin: 0; width: 46px; height: 46px; }
.kw-sheet-head h2 { margin: 0; flex: 1; font-size: 1.5rem; }
.kw-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.14);
  color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.kw-close:hover { background: rgba(255,255,255,0.26); }
.kw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kw-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
.kw-steps p { margin: 2px 0 0; font-size: 1.05rem; line-height: 1.45; }
.kw-cmd { display: inline-block; padding: 1px 8px; border-radius: 8px; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.35);
  font: 600 0.92em "SF Mono", Consolas, monospace; white-space: nowrap; text-shadow: none; color: #fff; }
.kw-note { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 11px 14px; border-radius: 14px; line-height: 1.4; }
.kw-note-warn { background: rgba(255,149,0,0.18); border: 1px solid rgba(255,180,80,0.45); }
.kw-note-warn .kw-ico { color: #ffc266; }
.kw-note-tip { background: rgba(52,199,89,0.16); border: 1px solid rgba(109,227,148,0.42); }
.kw-note-tip .kw-ico { color: #6de394; }
.kw-pro { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.18); }
.kw-pro-label { display: block; margin-bottom: 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.kw-pro-links { display: flex; flex-wrap: wrap; gap: 8px; }
.kw-pro-links a { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); text-decoration: none; font-size: 0.9rem; }
.kw-pro-links a:hover { background: rgba(255,255,255,0.22); }

.kw-all { margin: 0; text-align: center; }
.kw-all-link { display: inline-block; padding: 13px 24px; color: #fff; font-weight: 650; text-decoration: none; border-radius: 999px !important; }

@media (max-width: 840px) {
  .kw-start, .kw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kw-start li:first-child { grid-column: 1 / -1; }
  .kw-rules { grid-template-columns: 1fr; gap: 8px; }
  .kw-rule { flex-direction: row; justify-content: flex-start; padding: 12px 16px; text-align: left; }
  .kw-rule .kw-ico { width: 26px; height: 26px; }
}
@media (max-width: 560px) {
  .kw-main { width: auto; margin: 0 16px; gap: 36px; padding-top: 22px; }
  .kw-start { grid-template-columns: 1fr; }
  .kw-tiles { gap: 10px; }
  .kw-tile { min-height: 0; padding: 16px 14px; }
  .kw-tile-ico { width: 44px; height: 44px; margin-bottom: 4px; }
  .kw-tile-title { font-size: 1.08rem; }
  .kw-tile-line { font-size: 0.88rem; line-height: 1.35; }
  .kw-tile-tag { font-size: 0.62rem; }
  .kw-sheet { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .kw-tile, .kw-sheet[open] { transition: none; animation: none; } }
/* tags on light glass: dark pill + bright tint, otherwise red/purple text drowns in the blur */
html body.minecraft-theme .tag { background: rgba(10,14,22,0.55); border-color: rgba(255,255,255,0.22); color: #fff; }
html body.minecraft-theme .tag-blue   { color: #6cb4ff; border-color: rgba(108,180,255,0.45); }
html body.minecraft-theme .tag-orange { color: #ffb84d; border-color: rgba(255,184,77,0.45); }
html body.minecraft-theme .tag-red    { color: #ff7a70; border-color: rgba(255,122,112,0.45); }
html body.minecraft-theme .tag-purple { color: #d49bff; border-color: rgba(212,155,255,0.45); }
html body.minecraft-theme .tag-green  { color: #6de394; border-color: rgba(109,227,148,0.45); }

/* dashboard skin hologram (owner 2026-10-19: "sein skin so als holo"): css-3d skin left, stats right.
   silver only, no light cone (owner: "taschenlampe" removed), static scanlines, one intro turn + drag to rotate, no endless animation */
.acct-sheet:has(.acct-dash) { width: min(900px, 100%); }
.acct-dash { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: center; }
.acct-main { min-width: 0; }
.ach { --s: 7px; position: relative; display: grid; justify-items: center; }
.ach-target { position: relative; width: 176px; height: 264px; }
.ach-br { position: absolute; width: 20px; height: 20px; border: 0 solid rgba(240,245,252,0.8); filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); pointer-events: none; }
.ach-br.tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; border-top-left-radius: 6px; }
.ach-br.tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; border-top-right-radius: 6px; }
.ach-br.bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; border-bottom-left-radius: 6px; }
.ach-br.br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; border-bottom-right-radius: 6px; }
.ach-model { position: absolute; inset: 8px 0 6px; display: grid; place-items: center; z-index: 1;
  filter: saturate(0.82) brightness(1.06) drop-shadow(0 0 10px rgba(220,232,250,0.38)); opacity: 0.94; }
.ach-model.is-spin { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ach-model.is-drag { cursor: grabbing; }
.ach-lines { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 6px; opacity: 0.55;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.38) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.ach-wait { width: 64px; height: 128px; border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)); }
.ach.is-off .ach-model { display: none; }
.ach-flat { height: 228px; width: auto; image-rendering: pixelated; animation: achMat .7s ease-out backwards; }
.ach-scene { width: calc(16 * var(--s)); height: calc(32 * var(--s)); perspective: 900px; animation: achMat .7s .1s ease-out backwards; }
.ach-fig { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-8deg) rotateY(-28deg); will-change: transform; }
.ach-part { position: absolute; left: calc(var(--x) * var(--s)); top: calc(var(--y) * var(--s)); width: calc(var(--bw) * var(--s)); height: calc(var(--bh) * var(--s)); transform-style: preserve-3d; }
.ach-box { position: absolute; inset: 0; transform-style: preserve-3d; }
.ach-box.is-ov { transform: scale3d(1.07, 1.04, 1.12); }
.p-head .ach-box.is-ov { transform: scale3d(1.125, 1.125, 1.125); }
.ach-f { position: absolute; left: calc((var(--bw) - var(--fw)) * var(--s) / 2); top: calc((var(--bh) - var(--fh)) * var(--s) / 2);
  width: calc(var(--fw) * var(--s)); height: calc(var(--fh) * var(--s));
  background-image: var(--skin); background-repeat: no-repeat; background-size: calc(64 * var(--s)) calc(var(--th) * var(--s));
  background-position: calc(var(--u) * var(--s) * -1) calc(var(--v) * var(--s) * -1);
  image-rendering: pixelated; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.ach-f.f-front { transform: translateZ(calc(var(--bd) * var(--s) / 2)); }
.ach-f.f-back { transform: rotateY(180deg) translateZ(calc(var(--bd) * var(--s) / 2)); }
.ach-f.f-right { transform: rotateY(-90deg) translateZ(calc(var(--bw) * var(--s) / 2)); }
.ach-f.f-left { transform: rotateY(90deg) translateZ(calc(var(--bw) * var(--s) / 2)); }
.ach-f.f-top { transform: rotateX(90deg) translateZ(calc(var(--bh) * var(--s) / 2)); }
.ach-f.f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--bh) * var(--s) / 2)); }
.ach-pad { position: relative; width: 176px; height: 38px; margin-top: 2px; }
.ach-pad i { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.ach-pad .r1 { width: 172px; height: 34px; border: 1px solid rgba(235,242,252,0.28); }
.ach-pad .r2 { width: 124px; height: 24px; border: 1px dashed rgba(235,242,252,0.42); }
.ach-pad .r3 { width: 80px; height: 15px; border: 1px solid rgba(235,242,252,0.6); }
.ach-pad .core { width: 54px; height: 8px; background: radial-gradient(closest-side, #fff, rgba(225,235,250,0.5) 50%, transparent); filter: blur(1px); }
.ach-cap { display: flex; gap: 8px; align-items: baseline; margin-top: 2px; font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 0.66rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); white-space: nowrap; }
.ach-cap b { color: #f3f6fb; font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes achMat { from { opacity: 0; clip-path: inset(100% 0 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@media (max-width: 640px) {
  .acct-dash { grid-template-columns: 1fr; gap: 10px; }
  .acct-holo { order: -1; }
  .ach { --s: 5px; }
  .ach-target { width: 132px; height: 194px; }
  .ach-flat { height: 168px; }
  .ach-pad { transform: scale(0.8); margin-top: -4px; }
}
@media (prefers-reduced-motion: reduce) { .ach-scene, .ach-flat { animation: none; } }
/* holo interference bursts (skinGlitch in i18n.js): torn slices + noise + jitter, only for ~0.2 s at a time */
.ach-model > * { grid-area: 1 / 1; }
.ach-ghost { animation: none !important; pointer-events: none; opacity: 0.95; filter: brightness(1.9) contrast(1.3) drop-shadow(0 0 6px rgba(240,245,255,0.7)); }
.ach-ghost .ach-fig { will-change: auto; }
.ach-noise { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; border-radius: 6px; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -0.45'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ach.is-glitch .ach-noise { opacity: 0.5; background-position: calc(var(--gx, 0) * 1px) 0; }
.ach.is-glitch .ach-model { opacity: 0.72; filter: saturate(0.5) brightness(1.3) drop-shadow(0 0 14px rgba(230,238,252,0.6)); }
.ach.is-glitch .ach-model > .ach-scene:not(.ach-ghost), .ach.is-glitch .ach-model > .ach-flat:not(.ach-ghost) { transform: translateX(-2px) skewX(-3deg); }
.ach.is-glitch2 .ach-model > .ach-scene:not(.ach-ghost), .ach.is-glitch2 .ach-model > .ach-flat:not(.ach-ghost) { transform: translateX(3px) scaleY(1.02); opacity: 0.55; }
.ach.is-glitch .ach-lines { opacity: 0.9; transform: translateY(1px); }
.ach.is-glitch .ach-br { transform: translateX(1px); opacity: 0.6; }
.ach-target::after { content: ""; position: absolute; left: 4px; right: 4px; top: var(--tear, 40%); height: 2px; z-index: 4; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95) 20%, rgba(255,255,255,0.95) 80%, transparent); box-shadow: 0 0 10px 2px rgba(235,242,255,0.5), 0 9px 0 -0.5px rgba(255,255,255,0.45); }
.ach.is-glitch .ach-target::after { opacity: 1; }
.stats-row.top-1 { position: relative; overflow: visible; }
.stats-row.top-1::before { content: ""; position: absolute; left: 83px; top: -10px; width: 26px; height: 20px; pointer-events: none; z-index: 2; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 26 20%27%3E%3Cpath d=%27M2 6l5.5 5L13 2l5.5 9L24 6l-2 11H4z%27 fill=%27%23ffcc00%27 stroke=%27%23a87400%27 stroke-width=%271.4%27 stroke-linejoin=%27round%27/%3E%3Ccircle cx=%2713%27 cy=%2712.5%27 r=%271.6%27 fill=%27%23ff3b30%27/%3E%3C/svg%3E") no-repeat center / contain; }
@media (max-width: 600px) { .stats-row.top-1::before { left: 67px; top: -9px; width: 22px; height: 17px; } }
.stats-row.top-2 { position: relative; overflow: visible; }
.stats-row.top-2::before { content: ""; position: absolute; left: 83px; top: -10px; width: 26px; height: 20px; pointer-events: none; z-index: 2; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 26 20%27%3E%3Cpath d=%27M2 6l5.5 5L13 2l5.5 9L24 6l-2 11H4z%27 fill=%27%23e3e6ec%27 stroke=%27%23868b94%27 stroke-width=%271.4%27 stroke-linejoin=%27round%27/%3E%3Ccircle cx=%2713%27 cy=%2712.5%27 r=%271.6%27 fill=%27%23aeb4be%27/%3E%3C/svg%3E") no-repeat center / contain; }
@media (max-width: 600px) { .stats-row.top-2::before { left: 67px; top: -9px; width: 22px; height: 17px; } }
.stats-row.top-3 { position: relative; overflow: visible; }
.stats-row.top-3::before { content: ""; position: absolute; left: 76px; top: 23px; width: 40px; height: 52px; pointer-events: none; z-index: 2; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5));
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 40 52%27%3E%3Cpath d=%27M5 28l13 13M35 28L22 41%27 stroke=%27%237a4a24%27 stroke-width=%273.2%27 stroke-linecap=%27round%27/%3E%3Ccircle cx=%2720%27 cy=%2742%27 r=%277.5%27 fill=%27%23cd7f32%27 stroke=%27%238a5323%27 stroke-width=%271.4%27/%3E%3Ccircle cx=%2720%27 cy=%2742%27 r=%274.6%27 fill=%27none%27 stroke=%27%23f0b27a%27 stroke-width=%271%27/%3E%3C/svg%3E") no-repeat center / contain; }
@media (max-width: 600px) { .stats-row.top-3::before { left: 60px; top: 19px; width: 36px; height: 47px; } }

/* lala 2026-10-30: wiki search results on top + solid (no glass) */
.kw-hero { position: relative; z-index: 60; }
html body.minecraft-theme .kw-results { background: #15171c !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border: 1px solid rgba(255,255,255,.14) !important; border-radius: 10px !important; box-shadow: 0 18px 40px rgba(0,0,0,.6) !important; }
.kw-res { border-radius: 8px; }
html body.minecraft-theme .kw-search, html body.minecraft-theme .kw-search input { border-radius: 10px !important; }
/* lala 2026-10-30: footer links same size as the grey text */
html body .site-footer a { font-size: inherit !important; font-weight: 600 !important; letter-spacing: inherit !important; }

/* frame1: page fixed to viewport, only main scrolls (header + footer always visible) */
@media (min-width: 841px) {
  html:has(body.minecraft-theme > .site-footer) { height: 100%; overflow: hidden; }
  body.minecraft-theme:has(> .site-footer) { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
  body.minecraft-theme:has(> .site-footer) > .site-header,
  body.minecraft-theme:has(> .site-footer) > .site-footer { flex: 0 0 auto; }
  body.minecraft-theme:has(> .site-footer) > .site-header { position: relative; top: auto; }
  body.minecraft-theme:has(> .site-footer) > main {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    width: min(1112px, calc(88vw + 32px)); padding: 18px 16px 24px; margin: 0 auto;
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.28) transparent;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 24px), transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 24px), transparent 100%);
  }
  body.minecraft-theme:has(> .site-footer) > .site-footer { padding: 10px 0 14px; }
  body.minecraft-theme:has(> .site-footer) .doc-sidebar { top: 0; }
}

/* silver primary buttons (owner 2026-10-31): no ios-blue fill anywhere - dark glass, silver edge, hover a bit lighter + soft silver glow */
html body .btn-primary, html body .hero-with-cta .btn-primary {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)), rgba(10,10,14,.6);
  border-color: rgba(255,255,255,.4); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 18px rgba(0,0,0,.3);
}
html body .btn-primary:hover, html body .hero-with-cta .btn-primary:hover, html body .btn-primary.is-hover {
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.08)), rgba(10,10,14,.55);
  border-color: rgba(255,255,255,.6); transform: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 18px rgba(220,224,230,.18), 0 6px 18px rgba(0,0,0,.3);
}
html body .btn-primary:disabled { opacity: .5; box-shadow: none; }


/* ── tab switch v2 (2026-11-20): fixed slim capsule, text centred ── */
.stats-switch { height: 46px; box-sizing: border-box; align-items: center; padding: 4px; }
.stats-switch-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; box-sizing: border-box; padding: 0 18px; line-height: 1; }
.stats-switch-btn:hover { background: rgba(255,255,255,0.10); }
@media (max-width: 620px) { .stats-switch { height: auto; } .stats-switch-btn { height: 34px; padding: 0 6px; } }
