/* minecraft-hostingy.cz – blocky look made with CSS only (no Mojang assets). */
:root { --bg: #1d1d20; --stone: #3a3a3f; --stone-l: #55555c; --stone-d: #26262a; --card: #2a2a2e; --text: #ececec; --muted: #b4b4bb;
        --grass: #5da63a; --grass-l: #7fd34e; --dirt: #7a5232; --dirt-d: #5b3c24; --gold: #f5c542; --link: #8fd3ff; --own: #3b82f6; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Rubik, system-ui, sans-serif;
       background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 16px 16px; }
a { color: var(--link); }
h1, .sec, .logo, .pos { font-family: "Pixelify Sans", Rubik, sans-serif; letter-spacing: .02em; }
.mc-btn, .pts, .best-k { font-weight: 700; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.top { background: #141416; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.logo { color: #fff; text-decoration: none; font-size: 21px; display: flex; align-items: center; gap: 10px; }
.logo b { color: var(--grass-l); font-weight: 700; }
.logo-block { width: 26px; height: 26px; background: linear-gradient(var(--grass-l) 0 30%, var(--dirt) 30% 100%); box-shadow: inset -3px -3px 0 rgba(0,0,0,.35), inset 3px 3px 0 rgba(255,255,255,.18); image-rendering: pixelated; }
.top nav { display: flex; gap: 18px; } .top nav a { color: var(--muted); text-decoration: none; } .top nav a:hover { color: #fff; }
.grass { height: 18px; background: repeating-linear-gradient(90deg, var(--grass) 0 8px, var(--grass-l) 8px 16px, var(--grass) 16px 24px, #4b8f2c 24px 32px);
         box-shadow: 0 8px 0 var(--dirt), 0 16px 0 var(--dirt-d); margin-bottom: 16px; }
.disclosure { background: #24324a; border-bottom: 3px solid #1a2436; font-size: 14px; color: #dbe7ff; padding: 10px 0; }
.disclosure i { color: #8fd3ff; }
.hero { padding: 44px 0 18px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); margin: 0; line-height: 1.1; text-shadow: 3px 3px 0 #000; }
.hero.small h1 { font-size: clamp(26px, 4vw, 40px); }
.lead { color: var(--muted); font-size: 18px; max-width: 720px; margin: 14px auto 0; }
.mc-btn { display: inline-block; cursor: pointer; border: 2px solid #000; background: var(--stone); color: #fff; padding: 8px 16px; font-size: 16px; text-decoration: none;
          box-shadow: inset -3px -3px 0 var(--stone-d), inset 3px 3px 0 var(--stone-l); }
.mc-btn:hover { background: #4a4a52; } .mc-btn.on { background: #2f7d1f; box-shadow: inset -3px -3px 0 #1d5212, inset 3px 3px 0 #58b23f; }
.mc-btn.small { font-size: 14px; padding: 5px 10px; margin-top: 8px; }
.presets { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin: 18px 0 22px; color: var(--muted); }
.rank { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.row-card { display: grid; grid-template-columns: 56px 1fr auto 170px; gap: 18px; align-items: center; background: var(--card); padding: 14px 16px;
            border: 3px solid #000; box-shadow: inset -4px -4px 0 #1f1f22, inset 4px 4px 0 #3c3c42; }
.row-card.own { border-color: #1d3d6e; }
.pos { width: 48px; height: 48px; display: grid; place-items: center; font-size: 24px; background: #8b8b8b; color: #222; border: 3px solid #000;
       box-shadow: inset -3px -3px 0 #555, inset 3px 3px 0 #c6c6c6; }
.rank li:nth-child(1) .pos { background: var(--gold); box-shadow: inset -3px -3px 0 #b8860b, inset 3px 3px 0 #ffe58a; }
.rank li:nth-child(2) .pos { background: #d7d7d7; } .rank li:nth-child(3) .pos { background: #c98a4b; box-shadow: inset -3px -3px 0 #8a5a2b, inset 3px 3px 0 #e8b07a; }
.who h2 { margin: 0; font-size: 22px; } .who h2 a { color: #fff; text-decoration: none; } .who h2 a:hover { color: var(--grass-l); }
.tag { font: 500 12px Rubik, sans-serif; background: var(--own); color: #fff; padding: 2px 7px; vertical-align: middle; }
.meta { color: var(--muted); font-size: 14px; margin-top: 2px; } .meta i { color: #9aa0a8; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 12.5px; padding: 3px 8px; border: 2px solid #000; background: #333; color: #ddd; }
.chip.yes { background: #23431a; color: #c9f1b5; } .chip.half { background: #4a3e17; color: #f3e0a1; } .chip.no { background: #2b2b2e; color: #8c8c92; text-decoration: line-through; }
.price { display: flex; gap: 16px; text-align: right; } .price b { display: block; font-size: 20px; } .price small, .score small { color: var(--muted); font-size: 12px; }
.score { text-align: center; } .pts { font-size: 26px; display: block; margin-top: 4px; }
.xp { height: 12px; background: #111; border: 2px solid #000; } .xp span { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--grass-l) 0 10px, #5ec23a 10px 12px); transition: width .4s; }
.note { color: var(--muted); font-size: 14px; }
.sec { font-size: 28px; margin: 42px 0 14px; text-shadow: 2px 2px 0 #000; }
.bests { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.best { background: var(--card); border: 3px solid #000; box-shadow: inset -4px -4px 0 #1f1f22, inset 4px 4px 0 #3c3c42; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.best-k { color: var(--gold); font-size: 16px; } .best a { font-size: 19px; font-weight: 700; color: #fff; } .best small { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 3px solid #000; }
.mc-table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 14.5px; }
.mc-table th, .mc-table td { padding: 9px 10px; border-bottom: 2px solid #1c1c1f; text-align: left; vertical-align: top; }
.mc-table th { background: #34343a; font-weight: 500; white-space: nowrap; } .mc-table th[data-sort] { cursor: pointer; } .mc-table th[data-sort]:hover { color: var(--grass-l); }
.mc-table .num { text-align: right; white-space: nowrap; }
.others { color: var(--muted); } .others li { margin-bottom: 6px; }
.mc-card { background: var(--card); border: 3px solid #000; box-shadow: inset -4px -4px 0 #1f1f22, inset 4px 4px 0 #3c3c42; padding: 14px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 500; } .faq p { color: var(--muted); margin: 8px 0 0; }
.detail h2 { margin-top: 0; } .detail .mc-table { margin: 10px 0 14px; } .detail th { width: 220px; }
.prose ul { padding-left: 20px; } .prose li { margin-bottom: 6px; }
.foot { margin-top: 60px; background: #141416; border-top: 6px solid var(--dirt-d); padding: 26px 0; color: var(--muted); font-size: 14px; }
.foot .small { font-size: 12.5px; }
@media (max-width: 560px) {
    .top-in { height: auto; padding: 10px 18px; flex-wrap: wrap; } .logo { font-size: 18px; } .top nav { gap: 14px; font-size: 14px; }
}
@media (max-width: 860px) {
    .row-card { grid-template-columns: 48px 1fr; }
    .price, .score { grid-column: 1 / -1; } .price { justify-content: flex-start; text-align: left; }
    .score { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; text-align: left; } .pts { margin: 0; font-size: 20px; }
    .mc-btn.small { margin: 0; }
}
