/* Loja New Infection: the in-game B menu's "Necroterio" look (dried-blood grime, blood dripping from the top behind
   the text, bone text, blood-red accents, toxic green for what the player owns or spends). */
:root {
  --bg: #120606; --panel: #0d0505d9; --side: #0d0505b8; --line: #5c0b0b90; --blood: #5c0b0b;
  --text: #e6dccb; --bone: #efe4cf; --muted: #a58c80; --dim: #8a766c; --red: #e0261c; --red-btn: #8a0a0c;
  --toxic: #9dff3a; --gold: #f0c050;
}
* { box-sizing: border-box; }
html { background: #070303; }
body { position: relative; margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--text);
  background: linear-gradient(#0703038c, #070303d9), url(/img/gore_board.jpg) center / cover fixed, var(--bg);
  font: 15px/1.5 Bahnschrift, "DIN Alternate", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif; }
body::before { content: ""; position: absolute; z-index: 0; top: 0; left: 0; right: 0; height: 110px; pointer-events: none;
  background: url(/img/gore_drip.png) top / 100% 100% no-repeat; }
.nav, .two, .foot { position: relative; z-index: 1; }
a { color: var(--toxic); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 24px; margin: 0 0 16px; color: var(--bone); letter-spacing: .04em; text-transform: uppercase; }
h2 { color: var(--bone); letter-spacing: .03em; }
button { font: inherit; cursor: pointer; }

.nav { display: flex; align-items: center; gap: 16px; padding: 22px 20px 14px; border-bottom: 2px solid var(--blood); background: #0d050599; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--bone); }
.logo:hover { text-decoration: none; }
.logo .mark { width: 44px; height: 44px; display: grid; place-items: center; background: #e3d6bc; color: var(--blood);
  border: 2px solid var(--blood); border-radius: 2px; font-size: 24px; font-weight: 800; box-shadow: 0 4px 10px #000c; }
.logo b { display: block; font-size: 22px; letter-spacing: .12em; text-shadow: 0 2px 6px #8a0a0c; }
.logo small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.spacer { flex: 1; }
.cash { background: #1f3a0a90; border: 1px solid #5e8a1f; border-radius: 2px; padding: 5px 12px; font-weight: 700; color: var(--toxic);
  font-size: 14px; white-space: nowrap; text-shadow: 0 0 8px #6fd01a90; }
.steam { background: #1b2838; color: #c7d5e0; border-radius: 2px; padding: 7px 12px; font-size: 13px; font-weight: 600; }

.play { display: flex; align-items: stretch; border: 1px solid #c31911; border-radius: 2px; box-shadow: 0 0 14px #c3191155; }
.play .go { background: var(--red-btn); color: var(--bone); padding: 7px 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.play .go::before { content: "▶ "; color: var(--toxic); }
.play .go:hover { background: #b3140f; text-decoration: none; }
.play .ip { background: #0d0505e6; border: 0; border-left: 1px solid #c31911; color: var(--toxic); padding: 7px 12px;
  font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.play .ip:hover { background: #2a0909; }
.play .ip.copied { color: var(--bone); }

.two { flex: 1; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
main { padding: 26px 26px 34px; min-width: 0; }
.side { border-right: 2px solid var(--blood); padding: 22px 18px; background: var(--side); }
.me { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; min-width: 0; }
.me b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bone); }
.avatar { width: 40px; height: 40px; border-radius: 2px; border: 1px solid var(--blood); background: #2a0909; flex: none; }
.bal { font-size: 26px; font-weight: 800; color: var(--toxic); text-shadow: 0 0 10px #6fd01a80; }
.small { color: var(--muted); font-size: 13px; margin: 0; }
.side .btn { display: block; margin-top: 10px; background: var(--red-btn); border: 1px solid #c31911; color: var(--bone); border-radius: 2px;
  padding: 9px; text-align: center; font-weight: 700; letter-spacing: .04em; }
.side .btn:hover { background: #b3140f; text-decoration: none; }
.side .btn.off { background: #1a0808; border-color: var(--line); color: var(--dim); cursor: not-allowed; }
.side .btn small { display: block; font-weight: 500; font-size: 11px; }
.side .btn.steam { background: #1b2838; border-color: #2a475e; color: #c7d5e0; }
.side ul { list-style: none; padding: 0; margin: 18px 0 12px; }
.side li a { display: block; padding: 8px 10px; border-left: 3px solid transparent; color: var(--muted); font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; font-size: 13px; }
.side li a:hover { color: var(--text); text-decoration: none; background: #3a0d0d; }
.side li.on a { background: #6e0b0b70; border-left-color: var(--red); color: var(--bone); }
.link { background: none; border: 0; color: var(--muted); padding: 8px 10px; }
.link:hover { color: var(--text); }

.notice { border-radius: 2px; padding: 10px 14px; margin-bottom: 16px; border: 1px solid; }
.notice.ok { background: #1f3a0a90; border-color: #5e8a1f; color: #d6f7b0; }
.notice.error { background: #3a0505b0; border-color: #c31911; color: #ffc4bc; }

.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.item { background: var(--panel); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .12s, background-color .12s; }
.item:hover { border-color: #c31911; background: #2a0909e0; }
.item .pic { height: 130px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 60%, #3a0d0d, #0d0505); }
.item .pic img { max-width: 92%; max-height: 120px; filter: drop-shadow(0 6px 10px #000); }
.item.vip .pic { background: radial-gradient(circle at 50% 60%, #3a2a0a, #0d0505); color: var(--gold); font-size: 32px; font-weight: 900;
  letter-spacing: .12em; text-shadow: 0 0 14px #d4a73460; }
.item .body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.tag { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.name { font-weight: 700; margin: 2px 0 4px; color: var(--bone); font-size: 17px; }
.desc { color: #cbbcaa; font-size: 13px; margin: 0 0 10px; flex: 1; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.cost { color: var(--toxic); font-weight: 800; white-space: nowrap; }
.row form { margin: 0; }
.buy { display: inline-block; background: var(--red-btn); border: 1px solid #c31911; color: var(--bone); border-radius: 2px; padding: 5px 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.buy:hover { background: #b3140f; text-decoration: none; }
.buy.owned { background: #1f3a0a90; border-color: var(--toxic); color: var(--toxic); }

.list { width: 100%; border-collapse: collapse; background: var(--panel); }
.list th, .list td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.list th { color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid var(--blood); }

.nickform { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 10px; }
.nickform input[name=nick] { flex: 1 1 220px; max-width: 340px; background: #0d0505e6; border: 1px solid var(--line); border-radius: 2px;
  color: var(--text); padding: 8px 10px; font: inherit; }
.nickform input[name=nick]:focus { outline: 2px solid var(--toxic); border-color: transparent; }

.doc { max-width: 760px; background: var(--panel); border: 1px solid var(--line); padding: 18px 22px; }
.doc li { margin-bottom: 10px; }

.foot { padding: 16px 20px; border-top: 2px solid var(--blood); color: var(--muted); font-size: 13px; text-align: center; background: #0d0505cc; }

@media (max-width: 760px) {
  .two { grid-template-columns: 1fr; }
  .side { border-right: 0; border-bottom: 2px solid var(--blood); padding: 16px; }
  .side ul { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
  .side li a { padding: 6px 10px; background: #1a0808; border-left: 0; border-bottom: 2px solid transparent; }
  .side li.on a { border-bottom-color: var(--red); }
  main { padding: 18px 16px 28px; }
  .nav { padding: 18px 16px 12px; }
  .play { order: 3; width: 100%; }
  .play .go { flex: none; }
  .play .ip { flex: 1; min-width: 0; text-align: left; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
