/* Майнкрафт ПЕ — тема «Хотбар версий»: пиксельные ячейки инвентаря, земля под травой, золотые подписи */
@import url("/site-assets/fonts.css");
:root {
  --bg: #211A14; --surface: #2F2720; --surface-2: #3A3028; --surface-dark: #141010;
  --border: #4A3E32; --border-strong: #6A5A48;
  --text: #F4F1E8; --text-2: #E2DCCB; --muted: #C9C4B5;
  --accent: #4F8F22; --accent-hover: #5DA42A; --accent-soft: #2E3A1E; --accent-ink: #FFFFFF;
  --link: #9ED46A; --ok: #7CC443; --ok-soft: #2E3A1E; --warn: #F7D046; --warn-soft: #3D3214;
  --radius-sm: 0; --radius-md: 0; --radius-lg: 0;
  --shadow-sm: 0 0 0 3px #000;
  --font-sans: 'Golos Text', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Golos Text', -apple-system, sans-serif;
  --font-px: 'Press Start 2P', ui-monospace, monospace;
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
body { background: var(--bg); }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--font-display); }
.dl-fan-bar { background: #141010; border-bottom: 0; color: #BDB3A5; }
.dl-fan-bar a { color: #BDB3A5; }
.dl-fan-inner::before { border-color: #5A4A3A; color: #BDB3A5; }
.dl-header { background: rgba(20, 16, 12, .94); border-bottom: 4px solid #0D0A08; color: var(--text); backdrop-filter: blur(8px); }
.dl-brand { color: #fff; font-family: var(--font-px); font-weight: 400; font-size: .78rem; letter-spacing: .02em; }
.dl-brand-mark { width: 30px; height: 30px; border-radius: 0; background: linear-gradient(#7CC443 0 34%, #5D9B2E 34% 44%, #7A5332 44%); box-shadow: inset -4px -4px 0 rgba(0,0,0,.25), inset 4px 4px 0 rgba(255,255,255,.18); }
.dl-brand-mark svg { display: none; }
.dl-brand-ver { background: #3A3028; color: #F7D046; font-family: var(--font-px); font-size: .55rem; border-radius: 0; }
.dl-nav a { color: var(--muted); font-weight: 600; border-radius: 0; }
.dl-nav a:hover, .dl-nav a.active { background: #3A3028; color: #fff; }
.dl-nav-cta { border-radius: 0; background: #4F8F22; color: #fff; font-family: var(--font-px); font-size: .62rem; box-shadow: inset 0 -4px 0 #356818, inset 2px 2px 0 #86CF52, 0 0 0 2px #000; }
.dl-nav-cta:hover { background: #5DA42A; color: #fff; }
.dl-burger { color: #fff; background: #3A3028; border-color: #5A4A3A; border-radius: 0; }
.dl-mobile-nav { background: #1A1410; border-color: #3A3028; }
.dl-mobile-nav a { color: #fff; background: #2F2720; border-radius: 0; }
.dl-btn { border-radius: 0; background: #4F8F22; color: #fff; box-shadow: inset 0 -5px 0 #356818, inset 3px 3px 0 #86CF52, inset -3px -3px 0 #2C5512, 0 0 0 3px #000; text-shadow: 1px 1px 0 #2C5512; }
.dl-btn:hover { background: #5DA42A; color: #fff; }
.dl-btn--sec { background: #6C6C6C; color: #fff; box-shadow: inset 0 -5px 0 #4A4A4A, inset 3px 3px 0 #A5A5A5, inset -3px -3px 0 #3A3A3A, 0 0 0 3px #000; text-shadow: 1px 1px 0 #333; }
.dl-btn--sec:hover { background: #7A7A7A; }
.dl-panel { box-shadow: 0 0 0 3px #000, inset 0 0 0 3px #4A3E32; border: 0; }
.dl-prose h2, .p3-h2 { font-family: var(--font-px); font-weight: 400; font-size: clamp(.9rem, .6vw + .6rem, 1.15rem); line-height: 1.6; color: #fff; text-shadow: 2px 2px 0 #000; }
.dl-prose th { background: var(--surface-2); }
.dl-prose code { font-family: var(--font-mono); font-size: .86em; background: #141010; color: #F7D046; padding: 1px 6px; }
.dl-faq details { border: 0; box-shadow: 0 0 0 3px #000, inset 0 0 0 3px #4A3E32; }
.dl-faq summary::after { color: #F7D046; }
.dl-side-links a { color: var(--text); }
.dl-side-links a:hover { background: var(--accent-soft); color: #fff; }
.dl-vt { border-radius: 0; }
.dl-sticky-mob { background: #1A1410; border-top: 3px solid #000; }
.dl-top-btn { border-radius: 0; background: #3A3028; color: #fff; border-color: #000; }
.dl-footer { background: #141010; border-top: 4px solid #0D0A08; color: #9C9180; }
.dl-footer a { color: #E2DCCB; }

/* Главная */
.mc-hero { position: relative; padding: 48px 0 40px; min-height: 640px; background: #211A14 var(--mc-hero, none) center 35% / cover no-repeat; }
.mc-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,14,10,.84) 0%, rgba(18,14,10,.58) 42%, rgba(18,14,10,0) 72%), linear-gradient(0deg, #211A14 0%, rgba(33,26,20,0) 30%); }
.mc-wrap { position: relative; }
.mc-eyebrow { font-family: var(--font-px); font-size: .7rem; color: #F7D046; text-shadow: 2px 2px 0 #3D2C00; letter-spacing: .04em; text-transform: uppercase; }
.mc-hero h1 { font-size: clamp(2.1rem, 3.4vw + 1rem, 3.9rem); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; margin: 16px 0 14px; max-width: 640px; text-shadow: 0 3px 0 rgba(0,0,0,.35); text-wrap: balance; }
.mc-lead { max-width: 540px; font-size: 1.12rem; line-height: 1.55; color: #E8E2D3; }
.mc-inv { margin-top: 30px; max-width: 660px; background: #C6C6C6; color: #1D1D1D; padding: 14px 14px 16px; box-shadow: inset 4px 4px 0 #fff, inset -4px -4px 0 #555, 0 0 0 4px #000; }
.mc-inv-t { font-family: var(--font-px); font-size: .62rem; color: #404040; margin: 2px 2px 10px; text-transform: uppercase; }
.mc-bar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.mc-slot { position: relative; aspect-ratio: 1; background: #8B8B8B; box-shadow: inset 3px 3px 0 #373737, inset -3px -3px 0 #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-decoration: none; font-family: var(--font-px); font-size: .6rem; color: #fff; text-shadow: 2px 2px 0 #3F3F3F; min-width: 0; }
.mc-slot b { display: block; width: 44%; aspect-ratio: 1; background: var(--c); box-shadow: inset -4px -4px 0 rgba(0,0,0,.28), inset 4px 4px 0 rgba(255,255,255,.25); }
.mc-slot .mc-v { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; }
.mc-slot:hover { background: #9C9C9C; color: #fff; }
.mc-slot.on { outline: 4px solid #fff; outline-offset: -1px; z-index: 1; }
.mc-slot:focus-visible { outline: 4px solid #F7D046; outline-offset: -1px; }
.mc-n { position: absolute; right: 5px; bottom: 4px; font-size: .5rem; }
.mc-card { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; background: #8B8B8B; padding: 14px 16px; box-shadow: inset 3px 3px 0 #373737, inset -3px -3px 0 #fff; }
.mc-card-t { font-family: var(--font-px); font-weight: 400; font-size: .8rem; color: #fff; text-shadow: 2px 2px 0 #3F3F3F; line-height: 1.6; }
.mc-card-m { margin-top: 6px; font-size: .88rem; color: #1D1D1D; font-weight: 500; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.mc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px; background: #4F8F22; color: #fff; text-decoration: none; font-family: var(--font-px); font-size: .72rem; text-shadow: 2px 2px 0 #333; white-space: nowrap; box-shadow: inset 0 -6px 0 #356818, inset 3px 3px 0 #86CF52, inset -3px -3px 0 #2C5512, 0 0 0 3px #000; }
.mc-btn:hover { filter: brightness(1.1); color: #fff; }
.mc-meta { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-top: 18px; font-size: .9rem; color: #DDD5C3; }
.mc-meta b { color: #fff; }
.mc-sec { padding: 56px 0 24px; background: #211A14 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Crect width='16' height='16' fill='%23261e17'/%3E%3Crect x='16' y='16' width='16' height='16' fill='%23261e17'/%3E%3C/svg%3E"); }
.mc-h2 { font-family: var(--font-px); font-weight: 400; font-size: clamp(.95rem, 1.2vw + .5rem, 1.4rem); line-height: 1.5; color: #fff; text-shadow: 3px 3px 0 #000; }
.mc-sub { color: var(--muted); margin: 10px 0 28px; }
.mc-upd { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mc-u { display: block; text-decoration: none; color: var(--text); background: #2F2720; box-shadow: 0 0 0 3px #000, inset 0 0 0 3px #4A3E32; }
.mc-u:hover { background: #3A3028; color: var(--text); }
.mc-u img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 3px solid #000; }
.mc-u div { padding: 12px 14px 16px; }
.mc-u em { font-style: normal; font-family: var(--font-px); font-size: .6rem; color: #F7D046; }
.mc-u h3 { font-size: 1.05rem; margin: 8px 0 4px; font-weight: 700; }
.mc-u p { font-size: .88rem; color: var(--muted); }
.mc-tail .dl-layout { padding-top: 32px; }
@media (max-width: 980px) { .mc-upd { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .dl-header-inner { gap: 8px; }
  .dl-brand { min-width: 0; flex: 1 1 auto; overflow: hidden; font-size: .62rem; }
  .dl-brand > span:not(.dl-brand-mark) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dl-nav-cta { padding: 0 12px; }
  .mc-hero { min-height: 0; padding-top: 28px; background-position: 72% 30%; }
  .mc-hero::before { background: linear-gradient(180deg, rgba(18,14,10,.55), rgba(18,14,10,.86) 55%, #211A14); }
  .mc-lead { font-size: 1rem; }
  .mc-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mc-slot { aspect-ratio: auto; height: 74px; font-size: .55rem; } .mc-slot b { width: 30px; } .mc-n { display: none; }
  .mc-card { grid-template-columns: 1fr; } .mc-btn { width: 100%; }
  .mc-upd { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mc-u:nth-child(5) { display: none; }
}
