
:root {
  --green: #5BF486;
  --green-ui: #1DC94D;
  --green-dim: rgba(91, 244, 134, 0.12);
  --gold: #FFDE52;
  --gold-ui: #F5C73D;
  --bg: #070708;
  --card: #0E0E11;
  --elev: #131318;
  --border: #1C1C22;
  --fg: #FAFAFA;
  --muted: #94A3B8;
  --danger: #D02F2F;
  --danger-dim: rgba(208, 47, 47, 0.12);
  --radius: 10px;
  --font: Inter, system-ui, sans-serif;
  --display: "Archivo Black", Inter, system-ui, sans-serif;
  --discord: #5865F2;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--fg);
  font: 15px/1.55 var(--font);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(900px 480px at 92% -8%, rgba(91,244,134,.10), transparent 55%),
    radial-gradient(800px 420px at 0% 100%, rgba(255,222,82,.06), transparent 55%),
    var(--bg);
  background-size: 16px 16px, 16px 16px, auto, auto, auto;
  min-height: 100vh;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: .2em 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 2.2rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: #050506; border: 1px solid var(--border); border-radius: 6px; padding: .1em .4em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); } .small { font-size: .82rem; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(7,7,8,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 700; letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.logo { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px var(--border), 0 0 16px rgba(91,244,134,.2); }
.bname { font-family: var(--display); font-size: 1.15rem; }
.bname .mc { color: var(--green); }
.btag { font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; border-left: 1px solid var(--border); padding-left: 9px; }
nav { display: flex; gap: 2px; }
nav a { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 600; }
nav a:hover, nav a.on { color: var(--fg); background: var(--elev); text-decoration: none; }
.navsearch { margin-left: auto; }
.navsearch input { background: var(--card); border: 1px solid var(--border); color: var(--fg); border-radius: 999px; padding: 8px 14px; width: 220px; font: inherit; }
.navmenu { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; }
.acct { display: flex; align-items: center; gap: 10px; flex: none; }
.acct .me { display: flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; }
.acct .me img { border-radius: 50%; }
.linkbtn { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; }
.linkbtn:hover { color: var(--fg); }
.soon { color: var(--muted); font-size: .85rem; }
.btn { display: inline-block; background: linear-gradient(180deg, var(--green), var(--green-ui)); color: #06210e; font-weight: 700; border: 0; border-radius: 10px; padding: 9px 16px; cursor: pointer; box-shadow: 0 4px 18px rgba(91,244,134,.2); white-space: nowrap; font: inherit; }
.btn:hover { filter: brightness(1.06); text-decoration: none; }
.btn.ghost { background: transparent; border: 1px solid var(--border); box-shadow: none; color: var(--fg); }
.btn.big { padding: 12px 20px; font-size: 1rem; }
.btn.sm { padding: 6px 12px; font-size: .85rem; }
.btn.discord { background: var(--discord); color: #fff; box-shadow: 0 4px 18px rgba(88,101,242,.25); }
.btn.danger { background: var(--danger); color: #fff; box-shadow: none; }
.hero { display: grid; grid-template-columns: 1.3fr .9fr; gap: 32px; align-items: center; padding: 48px 0 28px; }
.hero.small { display: block; padding: 28px 0 8px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: .3em; }
.hero h1, .hero h1 em { letter-spacing: -.02em; }
.lead { font-size: 1.08rem; color: #d7dbe2; max-width: 640px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-dim); border-radius: 999px; padding: 5px 12px; letter-spacing: .02em; }
.statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; color: var(--muted); font-size: .85rem; position: relative; overflow: hidden; }
.stat:before { content: ""; position: absolute; top: 0; left: 0; width: 8px; height: 8px; background: var(--green); opacity: .8; }
.stat.gold:before { background: var(--gold); }
.stat span { display: block; font-family: var(--display); font-size: 1.8rem; color: var(--fg); }
section { margin: 22px 0 32px; }
.shead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.panel.narrow { max-width: 640px; margin: 28px auto; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cols.wide { grid-template-columns: 1.6fr 1fr; }
.slist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.srow { display: grid; grid-template-columns: 48px 1fr 150px; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; color: inherit; transition: border-color .15s, transform .15s; }
.srow:hover { border-color: #2a2a33; text-decoration: none; transform: translateY(-1px); }
.sicon { width: 48px; height: 48px; border-radius: 8px; background: var(--elev); object-fit: cover; image-rendering: pixelated; box-shadow: 0 0 0 1px var(--border); }
.smeta { min-width: 0; }
.sname { font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.smotd { color: var(--muted); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.sstats { text-align: right; }
.play { font-weight: 700; }
.play.off, .bignum.off { color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3d3a32; margin-right: 6px; }
.dot.on { background: var(--green); box-shadow: 0 0 8px var(--green); }
.pbar { height: 6px; background: #16161c; border-radius: 99px; margin-top: 6px; overflow: hidden; }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-ui)); border-radius: 99px; }
.chips, .wrapchips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--elev); border: 1px solid var(--border); color: var(--fg); border-radius: 999px; padding: 4px 10px; font-size: .78rem; font-weight: 600; }
a.chip:hover, .chip.on { background: var(--green-dim); color: var(--green); border-color: transparent; text-decoration: none; }
.chip em { color: var(--muted); font-style: normal; font-weight: 500; }
.chip.ok { background: var(--green-dim); color: var(--green); border-color: transparent; }
.chip.ed.java { background: rgba(37,244,238,.12); color: #5ff3ee; border-color: transparent; }
.chip.ed.bedrock { background: rgba(245,199,61,.12); color: var(--gold-ui); border-color: transparent; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.filters input, .filters select, .form input, .form select, .form textarea {
  background: var(--bg); border: 1px solid var(--border); color: var(--fg); border-radius: 8px; padding: 8px 10px; font: inherit;
}
.filters input:focus, .filters select:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); }
.form label { display: block; margin: 0 0 12px; font-weight: 600; font-size: .9rem; }
.form label input, .form label select, .form label textarea { display: block; width: 100%; margin-top: 4px; font-weight: 400; }
.form .hint { display: block; font-size: .75rem; color: var(--muted); margin-top: 3px; font-weight: 400; }
.inline { display: flex; gap: 8px; align-items: flex-end; }
.inline input { flex: 1; }
.shero { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; margin: 10px 0 22px; position: relative; overflow: hidden; }
.shero:before { content: ""; position: absolute; inset: 0 auto auto 0; width: 12px; height: 12px; background: var(--green); }
.shero:after { content: ""; position: absolute; inset: auto 0 0 auto; width: 12px; height: 12px; background: var(--gold); }
.shero-in { display: grid; grid-template-columns: 84px 1fr 220px; gap: 18px; align-items: start; position: relative; }
.sh-text h1 { margin: 0 0 6px; }
.motd { color: var(--muted); margin-bottom: 10px; }
.bignum { font-family: var(--display); font-size: 1.8rem; }
.connect { margin: 10px 0; }
.connect code { display: block; padding: 8px 10px; }
.vote-btn { margin-top: 8px; width: 100%; text-align: center; }
.facts { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 16px 0 0; }
.facts dt { color: var(--muted); font-size: .85rem; }
.facts dd { margin: 0; }
.owner { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.chart { width: 100%; height: auto; background: #0a0a0d; border-radius: 8px; }
.chart .gl { stroke: #1C1C22; } .chart .gt { fill: var(--muted); font-size: 10px; font-family: var(--font); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 80px; margin-top: 8px; }
.bars .b { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.bars .b i { display: block; width: 100%; background: var(--green); border-radius: 3px 3px 0 0; min-height: 2px; }
.bars .b span { font-size: 9px; color: var(--muted); margin-top: 4px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.card { display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 10px; color: inherit; }
.card:hover { border-color: #2a2a33; text-decoration: none; }
.fname { font-weight: 700; }
.alert { border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 14px; }
.alert.ok, .alert.flash.ok { background: var(--green-dim); color: var(--green); }
.alert.err, .alert.flash.err { background: var(--danger-dim); color: #ff8a8a; }
.alert.wait { background: rgba(245,199,61,.12); color: var(--gold-ui); }
.crumbs { color: var(--muted); font-size: .85rem; margin: 16px 0 0; }
.crumbs a { color: var(--muted); }
.foot { border-top: 1px solid var(--border); margin-top: 48px; padding: 28px 0 40px; color: var(--muted); font-size: .85rem; }
.foot a { color: var(--muted); text-decoration: underline; }
.role { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: var(--elev); color: var(--muted); }
.role.owner { background: var(--green-dim); color: var(--green); }
.mylist { list-style: none; padding: 0; }
.mylist li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.mylist li .btn { margin-left: auto; }
.votehead { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.codebig code { font-size: 1.4rem; padding: 12px 16px; display: inline-block; letter-spacing: .08em; background: var(--green-dim); color: var(--green); border-color: transparent; }
.mini { width: 100%; border-collapse: collapse; font-size: .85rem; margin: 8px 0 16px; }
.mini th, .mini td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.ranked { list-style: none; }
.rank-row { display: grid; grid-template-columns: 36px 1fr; gap: 8px; align-items: center; }
.ranknum { font-family: var(--display); color: var(--gold); font-size: 1.1rem; text-align: right; }
.sep { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.pager { display: flex; gap: 16px; justify-content: center; margin: 24px 0; }
.navtoggle { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; background: var(--elev); }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--fg); }
@media (max-width: 980px) {
  .hero, .shero-in, .cols, .cols.wide { grid-template-columns: 1fr; }
  .btag { display: none; }
  .srow { grid-template-columns: 48px 1fr; }
  .sstats { grid-column: 2; text-align: left; }
  .burger { display: flex; }
  .navmenu { display: none; }
  .navtoggle:checked ~ .navmenu { display: flex; flex-direction: column; position: absolute; top: 62px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 20px 18px; }
}

.chip.unclaimed { background: rgba(245,199,61,.12); color: var(--gold-ui); border-color: transparent; }
.claim-cta { margin-top: 18px; padding: 16px; border: 1px dashed rgba(245,199,61,.35); border-radius: 10px; background: rgba(245,199,61,.06); }
.claim-cta h3 { margin: 8px 0 6px; }
.claim-cta .btn { margin-top: 8px; }

/* Off-screen honeypot — not display:none, so casual bots still fill it. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 12px 0; }
