/* Inferno-thema: antraciet/zwart met vuuraccenten. Lettertypen (Cinzel, Nunito; SIL OFL) worden lokaal geserveerd. */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/static/cinzel.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/static/nunito.woff2) format('woff2'); }
:root {
  --bg: #0b0807; --bg-2: #150d0a; --card: #17100d; --card-2: #1f1511; --line: #3a231a; --line-hi: #6b3319;
  --ink: #f6eadf; --muted: #c9b2a3; --link: #ffb347;
  --flame-lo: #d4310f; --flame-mid: #ff6a1f; --flame-hi: #ffc23d; --flame-core: #fff0b0; --ember: #ff4d12;
  --ok: #55d68f; --bad: #ff7b6e; --warn: #ffc24d; --code: #241812;
  --glow: 0 0 22px rgba(255,90,20,.22); --glow-hi: 0 0 28px rgba(255,120,30,.45);
  --radius: 14px; --display: 'Cinzel', 'Trajan Pro', Georgia, serif; --body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; color: var(--ink); font: 16px/1.6 var(--body); min-height: 100vh; display: flex; flex-direction: column; position: relative;
  background:
    radial-gradient(ellipse 90% 45% at 50% 108%, rgba(255,70,10,.34), rgba(160,30,5,.14) 45%, transparent 72%) fixed,
    radial-gradient(ellipse 70% 40% at 12% 0%, rgba(120,30,10,.18), transparent 70%) fixed,
    linear-gradient(180deg, #0b0807, #120a07 55%, #1a0c07) fixed;
}
/* hittewaas onderaan: trage, subtiele gloed */
body::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 40vh; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(255,110,20,.16), transparent 70%); animation: heat 7s ease-in-out infinite alternate; }
@keyframes heat { from { opacity: .55; transform: scaleY(.9); } to { opacity: 1; transform: scaleY(1.08); } }
#embers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.top, main, .foot { position: relative; z-index: 1; }
a { color: var(--link); text-underline-offset: 3px; } a:hover { color: var(--flame-hi); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 9; border-radius: 8px; }
/* header */
.top { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; padding: 12px 16px; max-width: 1100px; width: 100%; margin: 0 auto; }
body.wide .top, body.wide main { max-width: 1280px; }
.brand { text-decoration: none; color: var(--ink); display: inline-flex; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.top nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--ink); border: 1px solid transparent; }
.top nav a:hover { border-color: var(--line-hi); box-shadow: var(--glow); }
.top nav a[aria-current] { background: var(--card-2); border-color: var(--line-hi); color: var(--flame-hi); }
.has-hero .brand { visibility: hidden; } @media (max-width: 800px) { .has-hero .brand { display: none; } }
/* woordmerk */
.wm { display: inline-flex; flex-direction: column; line-height: 1; font-family: var(--display); text-transform: uppercase; }
.wm-main { display: inline-flex; align-items: flex-end; font-weight: 900; font-size: 1.45rem; letter-spacing: .06em;
  background: linear-gradient(180deg, var(--flame-hi) 10%, var(--flame-mid) 55%, var(--flame-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  filter: drop-shadow(0 0 8px rgba(255,90,20,.45)); }
.wm-i { height: 1.25em; width: .5em; margin-right: .04em; flex: none; overflow: visible; margin-bottom: -.02em; }
.wm-sub { font-weight: 700; font-size: .62rem; letter-spacing: .62em; color: var(--muted); margin-top: .35em; padding-left: .1em; }
.wm.big .wm-main { font-size: clamp(2.6rem, 11vw, 4.6rem); filter: drop-shadow(0 0 18px rgba(255,90,20,.6)); }
.wm.big .wm-sub { font-size: clamp(.8rem, 3.2vw, 1.15rem); letter-spacing: .9em; margin-top: .6em; padding-left: .45em; }
.hero-brand { text-align: center; padding: 20px 0 6px; } .hero-brand p { margin: 14px 0 0; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
main { width: 100%; max-width: 1100px; margin: 0 auto; padding: 8px 16px 40px; flex: 1; }
.foot { text-align: center; color: var(--muted); font-size: .8rem; padding: 18px 16px 24px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: .02em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); line-height: 1.15; margin: .2em 0 .35em; font-weight: 800; }
h2 { font-size: 1.15rem; margin: 0 0 .7em; font-weight: 700; color: var(--flame-hi); text-transform: uppercase; letter-spacing: .08em; }
h3 { margin: 0; font-size: 1.02rem; font-weight: 700; }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 1.1em; }
.muted, .hint { color: var(--muted); } .hint { font-size: .92rem; } .small { font-size: .82rem; }
/* kaarten met gloeiende rand */
.card { position: relative; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 8px 30px rgba(0,0,0,.5), var(--glow); }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,106,31,.7), rgba(255,194,61,.12) 40%, rgba(212,49,15,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.narrow { max-width: 520px; margin: 18px auto; }
.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: stretch; margin: 12px 0 20px; }
.hero-text { padding: 12px 4px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line-hi); background: var(--card-2); color: var(--ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; min-height: 44px; transition: box-shadow .2s, border-color .2s, transform .1s; }
.btn:hover { border-color: var(--flame-mid); box-shadow: var(--glow-hi); color: var(--ink); } .btn:active { transform: translateY(1px); }
.btn small { font-weight: 400; opacity: .85; }
.btn.primary { background: linear-gradient(180deg, #ffbd3a, #ff7a22 55%, #f2501a); color: #1c0802; border-color: #ffb347; box-shadow: 0 0 18px rgba(255,100,20,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.btn.primary:hover { color: #1c0802; box-shadow: 0 0 30px rgba(255,120,30,.75), inset 0 1px 0 rgba(255,255,255,.45); }
.btn.big { padding: 14px 24px; font-size: 1.1rem; border-radius: 14px; }
.btn.danger { border-color: var(--bad); color: var(--bad); } .btn.sm { padding: 4px 10px; min-height: 34px; font-size: .88rem; border-radius: 9px; }
.btn[disabled], .btn.off { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn.ghost, button.ghost { background: transparent; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 800; border: 1px solid currentColor; background: rgba(0,0,0,.25); }
.pill.ok { color: var(--ok); } .pill.bad { color: var(--bad); } .pill.warn { color: var(--warn); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; box-shadow: 0 0 8px currentColor; }
.players { font-size: 1.1rem; margin: .8em 0; } .players b { font-family: var(--display); font-size: 2.2rem; color: var(--flame-hi); text-shadow: 0 0 14px rgba(255,150,30,.5); }
.svc { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.svc li { display: flex; align-items: center; gap: 8px; } .svc li.ok { color: var(--ok); } .svc li.bad { color: var(--bad); }
.svc li small { margin-left: auto; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.item + .item { border-top: 1px dashed var(--line-hi); margin-top: 12px; padding-top: 12px; }
.item time { color: var(--muted); font-size: .85rem; display: block; margin-bottom: 4px; } .item p { margin: .3em 0; }
.tag { font-family: var(--body); font-size: .7rem; padding: 2px 9px; border-radius: 99px; background: var(--flame-mid); color: #1c0802; vertical-align: middle; font-weight: 800; } .tag.soft { background: transparent; color: var(--flame-hi); border: 1px solid var(--flame-hi); }
.howto ol { margin: 0; padding-left: 1.2em; } .howto li { margin: .4em 0; }
code { background: var(--code); padding: 1px 6px; border-radius: 6px; font-size: .9em; color: var(--flame-hi); } code.wrap { word-break: break-all; }
.form { display: grid; gap: 14px; } .form label { display: grid; gap: 4px; font-weight: 700; }
.form small { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-hi); background: #0f0907; color: var(--ink); min-height: 44px; width: 100%; }
input::placeholder, textarea::placeholder { color: #9d8678; }
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--flame-hi); outline-offset: 2px; }
input:focus, select:focus, textarea:focus { border-color: var(--flame-mid); box-shadow: var(--glow); }
.flash { padding: 10px 14px; border-radius: 10px; margin: 0 0 14px; border: 1px solid var(--bad); color: #ffb3aa; background: rgba(214,49,15,.14); }
.flash.ok { border-color: var(--ok); color: #aef0cb; background: rgba(40,160,90,.14); }
form.inline { display: inline; margin-top: 16px; }
/* beheer */
.admin { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
.admin .side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 8px; }
.admin .side button { text-align: left; background: transparent; border: 1px solid transparent; color: var(--ink); padding: 10px 12px; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; }
.admin .side button:hover { border-color: var(--line-hi); }
.admin .side button[aria-current="true"] { background: var(--card-2); border-color: var(--flame-mid); color: var(--flame-hi); box-shadow: var(--glow); }
.admin .badge { background: var(--flame-lo); color: #fff; border-radius: 99px; padding: 0 7px; font-size: .75rem; margin-left: 6px; }
.panel { min-width: 0; } .panel h1 { font-size: 1.6rem; } .panel > .card { margin-bottom: 16px; }
.tablewrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; } th { color: var(--flame-hi); font-weight: 700; }
td.act { display: flex; gap: 6px; flex-wrap: wrap; white-space: normal; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 10px 0; } .row > * { flex: 1 1 140px; width: auto; }
.row .btn { flex: 0 0 auto; } .row label { display: grid; gap: 4px; font-weight: 700; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0; }
.kv .card { padding: 14px; } .kv b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--flame-hi); } .kv small { color: var(--muted); }
pre.log { background: #0d0806; border: 1px solid var(--line); border-radius: 10px; padding: 12px; overflow: auto; max-height: 60vh; font-size: .8rem; line-height: 1.4; white-space: pre-wrap; word-break: break-word; color: #e9d9cc; }
.secret { font-family: ui-monospace, monospace; font-size: 1.15rem; background: var(--code); padding: 6px 10px; border-radius: 8px; user-select: all; color: var(--flame-hi); }
.dis { opacity: .65; } .dis .btn { pointer-events: none; }
@media (max-width: 800px) {
  .hero, .grid2 { grid-template-columns: 1fr; }
  .admin { grid-template-columns: 1fr; }
  .admin .side { flex-direction: row; flex-wrap: wrap; position: static; }
  .admin .side button { padding: 8px 10px; }
  .top { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } body::after { opacity: .7; } }
input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--flame-mid); }
.lang { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 4px; }
.top nav .lang a { padding: 6px 8px; border-radius: 999px; font-weight: 800; font-size: .85rem; }
.top nav .lang a[aria-current] { background: var(--card-2); color: var(--flame-hi); border-color: var(--line-hi); }
ul.plain { list-style: none; padding: 0; margin: 0 0 12px; } ul.plain li { padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.shopitem .row { align-items: end; } .shopitem select { min-width: 160px; }
