/* Obscura RPG – Website. Grafiken aus der Mod (Pixel-Kunst, Nearest-Neighbour). */
@font-face{font-family:"Obscura Serif";src:url(/fonts/P052-Roman.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Obscura Serif";src:url(/fonts/P052-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Obscura Serif";src:url(/fonts/P052-Italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}

:root{
  --bg:#130e0a; --bg2:#1d140e; --wood:#3a2214; --wood2:#24160d;
  --gold:#f0c060; --gold2:#c99a3a; --gold3:#8a6424;
  --parch:#efe2bf; --ink:#2b1d12; --ink2:#5b4630; --red:#7a2a16;
  --ok:#5fd16a; --bad:#e0584a;
  --head-h:64px;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--head-h) + 12px)}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bg);
  background-image:radial-gradient(ellipse at 50% -10%,rgba(201,154,58,.13),transparent 60%),linear-gradient(180deg,#1a120c 0,var(--bg) 600px);
  color:#e9dcc0;font:17px/1.6 "Obscura Serif",Palatino,"Palatino Linotype","Book Antiqua",Georgia,serif;overflow-x:hidden;overflow-wrap:break-word}
img{max-width:100%}
.px{image-rendering:pixelated;image-rendering:crisp-edges}
a{color:var(--gold)}
a:hover{color:#ffe08e}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 16px}
main{flex:1 0 auto;width:100%}

/* Sprache: Standard Deutsch; .l-en blendet um */
html:not(.l-en) .en{display:none!important}
html.l-en .de{display:none!important}

/* ---------- Kopfzeile ---------- */
.top{position:sticky;top:0;z-index:50;background:linear-gradient(180deg,#2e1c11 0,#1b110a 100%);
  border-bottom:2px solid var(--gold3);box-shadow:0 2px 0 #000,0 6px 18px rgba(0,0,0,.55)}
.top .wrap{display:flex;align-items:center;gap:14px;min-height:var(--head-h)}
.brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}
.brand img{height:34px;width:auto;display:block}
.nav{display:flex;align-items:center;gap:2px;margin-left:auto;flex-wrap:nowrap}
.nav a{display:block;padding:6px 11px;color:#e8d5a8;text-decoration:none;font-weight:700;font-size:16px;white-space:nowrap;
  border:7px solid transparent;border-radius:0}
.nav a:hover{color:var(--gold);border-image:url(/img/ui/t_button.png) 14 fill/7px stretch;image-rendering:pixelated}
.nav a[aria-current=page]{color:var(--gold);border-image:url(/img/ui/t_main.png) 14 fill/7px stretch;image-rendering:pixelated}
.nav .ext::after{content:"\2197";font-size:.75em;margin-left:3px;opacity:.75}
.tools{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.lang{display:flex;border:2px solid var(--gold3);background:#140c07;box-shadow:inset 0 0 0 1px #000}
.lang button{all:unset;cursor:pointer;padding:4px 9px;font:700 14px/1.2 "Obscura Serif",serif;color:#cdb98e;letter-spacing:.04em;min-width:24px;text-align:center}
.lang button[aria-pressed=true]{background:linear-gradient(#e9b949,#a9772a);color:#2a1606}
.lang button:focus-visible{outline:2px solid var(--gold)}
.burger{all:unset;display:none;cursor:pointer;width:44px;height:44px;box-sizing:border-box;border:7px solid transparent;
  border-image:url(/img/ui/t_button.png) 14 fill/7px stretch;image-rendering:pixelated;position:relative}
.burger span,.burger span::before,.burger span::after{position:absolute;left:50%;width:20px;height:3px;margin-left:-10px;background:var(--gold);content:"";transition:transform .2s}
.burger span{top:50%;margin-top:-1.5px}
.burger span::before{top:-7px;left:0;margin:0}
.burger span::after{top:7px;left:0;margin:0}
.burger[aria-expanded=true] span{background:transparent}
.burger[aria-expanded=true] span::before{transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded=true] span::after{transform:translateY(-7px) rotate(-45deg)}

@media (max-width:1120px){
  .burger{display:block}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;margin:0;
    background:linear-gradient(180deg,#24160d,#170e08);border-bottom:2px solid var(--gold3);box-shadow:0 12px 24px rgba(0,0,0,.6);
    padding:8px 16px 14px;max-height:calc(100vh - var(--head-h));overflow-y:auto}
  .nav.open{display:flex}
  .nav a{padding:10px 12px;font-size:18px;border-bottom:1px solid rgba(201,154,58,.18)}
  .tools{margin-left:auto}
}

/* ---------- Seitentitel ---------- */
.pagehead{text-align:center;padding:34px 0 8px}
.pagehead h1{margin:0;font-size:clamp(30px,5vw,46px);line-height:1.15;color:var(--gold);font-weight:700;
  text-shadow:0 2px 0 #4a2c0e,0 3px 0 #000,0 0 18px rgba(240,192,96,.25);letter-spacing:.02em}
.pagehead p{margin:8px auto 0;max-width:720px;color:#cdbb95}
.orn{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px auto 0;max-width:420px}
.orn::before,.orn::after{content:"";flex:1;height:2px;background:linear-gradient(90deg,transparent,var(--gold2))}
.orn::after{background:linear-gradient(90deg,var(--gold2),transparent)}
.orn i{width:9px;height:9px;background:var(--gold);transform:rotate(45deg);box-shadow:0 0 0 2px #3a240c}

/* ---------- Rahmen (Holz + Gold + Pergament aus der Mod) ---------- */
.card{position:relative;border:20px solid transparent;border-image:url(/img/ui/window.png) 20 fill/20px round;image-rendering:pixelated;
  color:var(--ink);padding:6px 10px;margin:22px 0;filter:drop-shadow(0 6px 10px rgba(0,0,0,.55))}
.card > *{image-rendering:auto}
.card .px,.card img.px{image-rendering:pixelated}
.card h2{margin:4px 0 10px;font-size:clamp(22px,3vw,28px);line-height:1.2;color:var(--red);font-weight:700}
.card h3{margin:16px 0 6px;font-size:20px;line-height:1.25;color:#5a2e12}
.card p{margin:0 0 12px}
.card a{color:#8a3a10;font-weight:700}
.card a:hover{color:#b8500f}
.card ul,.card ol{margin:0 0 12px;padding-left:24px}
.card li{margin:4px 0}
.card .muted{color:var(--ink2)}
.card code,.card kbd{font:700 .95em/1 "Obscura Serif",serif;background:#e2cf9f;border:1px solid #b89a5c;padding:1px 6px;color:#3a220c;white-space:nowrap}
.dark{border:14px solid transparent;border-image:url(/img/ui/t_main.png) 14 fill/14px stretch;image-rendering:pixelated;color:#eadcbc;padding:8px 12px}
.dark > *{image-rendering:auto}
.note{background:rgba(122,42,22,.1);border-left:4px solid var(--red);padding:8px 12px;margin:10px 0}
.ph{background:#ffe27a;color:#4a1a00;font-weight:700;padding:0 4px;border:1px dashed #a0522d}

.grid{display:grid;gap:16px}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:860px){.g2,.g3{grid-template-columns:minmax(0,1fr)}}
@media (min-width:600px) and (max-width:860px){.g3{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- Knöpfe ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:4px 18px;text-decoration:none;cursor:pointer;
  font:700 19px/1.2 "Obscura Serif",serif;color:var(--gold);border:14px solid transparent;
  border-image:url(/img/ui/t_main.png) 14 fill/14px stretch;image-rendering:pixelated;background:none;text-shadow:0 2px 0 #000;
  -webkit-tap-highlight-color:transparent;text-align:center}
.btn:hover{color:#ffe7a6;border-image-source:url(/img/ui/t_main_hover.png)}
.btn img{width:32px;height:32px;image-rendering:pixelated;flex:0 0 auto}
.btn.go{border-image:url(/img/ui/button_go.png) 8 fill/8px stretch;color:#fff;padding:12px 24px;border-width:8px}
.btn.go:hover{border-image-source:url(/img/ui/button_go_hover.png);color:#fff}
.btn.leather{border-image:url(/img/ui/button.png) 8 fill/8px stretch;color:#fff3d6;border-width:8px;padding:10px 18px}
.btn.leather:hover{border-image-source:url(/img/ui/button_hover.png)}
.btn.small{min-height:40px;font-size:16px;padding:2px 12px}
.btns{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
.card .btn{color:var(--gold)}
.card .btn.go,.card .btn.leather{color:#fff}

/* ---------- Start ---------- */
.hero{position:relative;padding:36px 0 30px;overflow:hidden;border-bottom:2px solid var(--gold3)}
.hero::before{content:"";position:absolute;inset:0;background:url(/img/hero.webp) center 35%/cover no-repeat}
@media (max-width:820px){.hero::before{background-image:url(/img/hero_small.webp)}}
/* Abdunkeln mit dunklem Verlauf statt Deckkraft – sonst wirkt das Bild grau und verwaschen */
.hero::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,rgba(14,9,6,.30) 0,rgba(14,9,6,.62) 75%),linear-gradient(180deg,rgba(14,9,6,.25) 0,rgba(14,9,6,.45) 60%,var(--bg) 100%)}
.hero .wrap{position:relative;z-index:1;text-align:center}
.hero .logo{width:min(720px,94%);height:auto;display:block;margin:0 auto;filter:drop-shadow(0 6px 14px rgba(0,0,0,.8))}
.hero .tag{width:min(400px,70%);height:auto;display:block;margin:-6px auto 6px}
.hero .lead{max-width:680px;margin:6px auto 18px;font-size:clamp(17px,2.2vw,20px);color:#f3e7cb;text-shadow:0 2px 4px #000}
.addr{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center;max-width:100%}
.addr .host{font:700 clamp(22px,4vw,30px)/1.1 "Obscura Serif",serif;color:#fff1c6;letter-spacing:.03em;padding:4px 6px;text-shadow:0 2px 0 #000;user-select:all;-webkit-user-select:all}
.copy{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:4px 12px;min-height:36px;box-sizing:border-box;
  font:700 15px/1.2 "Obscura Serif",serif;color:#2a1606;border:8px solid transparent;
  border-image:url(/img/ui/button_gold.png) 8 fill/8px stretch;image-rendering:pixelated}
.copy:hover{border-image-source:url(/img/ui/button_gold_hover.png)}
.copy:focus-visible{outline:3px solid #fff}
.copy.done{filter:hue-rotate(60deg) saturate(1.2)}
.status{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 18px;margin:16px auto 20px;max-width:640px;font-size:17px}
.status .dot{width:14px;height:14px;display:inline-block;background:#777;box-shadow:0 0 0 2px #000,0 0 10px currentColor;vertical-align:-1px;margin-right:6px}
.status.on .dot{background:var(--ok);color:var(--ok)} .status.off .dot{background:var(--bad);color:var(--bad)}
.status b{color:#fff3d0}
.status .sep{width:2px;height:18px;background:var(--gold3)}
@media (max-width:520px){.status .sep{display:none}.status{flex-direction:column;gap:2px}}

.feat{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:6px}
@media (max-width:980px){.feat{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){.feat{grid-template-columns:minmax(0,1fr)}}
.feat div{display:flex;gap:12px;align-items:flex-start;background:rgba(255,255,255,.28);border:2px solid #c9ad74;padding:10px;min-width:0}
.feat b{display:block;color:#5a2e12;font-size:18px;line-height:1.25}
.feat span.t{display:block;font-size:15.5px;line-height:1.45;color:var(--ink2)}
.slot{flex:0 0 auto;width:48px;height:48px;display:grid;place-items:center;border:4px solid transparent;
  border-image:url(/img/ui/slot.png) 4 fill/4px stretch;image-rendering:pixelated}
.slot img{width:32px;height:32px;image-rendering:pixelated;display:block}

/* ---------- Schritte ---------- */
.steps{counter-reset:s;list-style:none;padding:0!important;margin:0}
.steps > li{position:relative;padding:4px 0 14px 64px;margin:0 0 6px;border-bottom:1px dashed #bfa36a;min-height:54px}
.steps > li:last-child{border-bottom:0}
.steps > li::before{counter-increment:s;content:counter(s);position:absolute;left:0;top:2px;width:46px;height:46px;display:grid;place-items:center;
  font:700 22px/1 "Obscura Serif",serif;color:var(--gold);background:radial-gradient(#3a2414,#1d100a);border:3px solid var(--gold2);box-shadow:0 0 0 2px #2a1606;transform:rotate(45deg)}
.steps > li > h3{margin-top:6px}
.steps > li::before{transform:none;border-radius:50%}
.pack{display:flex;gap:14px;align-items:flex-start;background:rgba(255,255,255,.3);border:2px solid #c9ad74;padding:12px;min-width:0}
.pack img{width:48px;height:48px;image-rendering:pixelated;flex:0 0 auto}
.pack b{display:block;font-size:19px;color:#5a2e12}
.pack .btn{margin-top:8px}

/* FAQ */
details{border:2px solid #c9ad74;background:rgba(255,255,255,.28);margin:8px 0}
summary{cursor:pointer;padding:12px 40px 12px 14px;font-weight:700;color:#5a2e12;list-style:none;position:relative;min-height:48px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:24px;color:var(--red)}
details[open] summary::after{content:"\2212"}
details > div{padding:0 14px 12px}

/* ---------- Text-Seiten ---------- */
.prose{max-width:860px;margin:0 auto}
.rules{counter-reset:r;list-style:none;padding:0!important}
.rules li{counter-increment:r;position:relative;padding:8px 0 8px 46px;border-bottom:1px dashed #bfa36a}
.rules li:last-child{border-bottom:0}
.rules li::before{content:"\00a7" counter(r);position:absolute;left:0;top:7px;font-weight:700;color:var(--red);font-size:19px}

/* Updates */
.upd .ver{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-bottom:6px}
.upd .ver h2{margin:0}
.upd .date{color:var(--ink2);font-style:italic}
.upd ul{padding-left:22px}
.upd h3{font-size:18px}

/* ---------- Tabellen (Bestenlisten) ---------- */
.tabs{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:18px 0 0}
.tabs button{all:unset;cursor:pointer;box-sizing:border-box;min-height:46px;padding:4px 14px;display:inline-flex;align-items:center;gap:8px;
  font:700 16px/1.2 "Obscura Serif",serif;color:#e8d5a8;border:7px solid transparent;border-image:url(/img/ui/t_button.png) 14 fill/7px stretch;image-rendering:pixelated}
.tabs button img{width:24px;height:24px;image-rendering:pixelated}
.tabs button[aria-selected=true]{color:var(--gold);border-image-source:url(/img/ui/t_main.png)}
.tabs button:focus-visible{outline:2px solid var(--gold)}
.board{width:100%;border-collapse:collapse;font-size:17px;table-layout:fixed}
.board th{text-align:left;color:#5a2e12;border-bottom:2px solid #a8834a;padding:6px 8px;font-size:15px}
.board td{padding:7px 8px;border-bottom:1px solid #d7bf8c;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.board tr:nth-child(even) td{background:rgba(255,255,255,.22)}
.board .rank{width:52px;font-weight:700;color:#5a2e12;text-align:center}
.board .val{text-align:right;width:34%;font-weight:700}
.board th.val{text-align:right}
.board .who{display:flex;align-items:center;gap:10px;min-width:0}
.board .who img{width:24px;height:24px;image-rendering:pixelated;flex:0 0 auto;box-shadow:0 0 0 1px #4a2c0e}
.board .who a{text-decoration:none}.board .who a:hover{text-decoration:underline}
.board .who a,.board .who span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.board tr.r1 .rank{color:#b8860b} .board tr.r2 .rank{color:#7a7a7a} .board tr.r3 .rank{color:#9a5a2a}
.medal{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:15px;color:#2a1606;
  background:radial-gradient(#ffe48a,#c99a3a);box-shadow:0 0 0 2px #6a4410}
.r2 .medal{background:radial-gradient(#f2f2f2,#9a9a9a);box-shadow:0 0 0 2px #555}
.r3 .medal{background:radial-gradient(#f0b07a,#a0602a);box-shadow:0 0 0 2px #5a3010}
.stamp{text-align:center;color:#a99673;font-size:15px;margin:6px 0 0}
@media (max-width:520px){.board{font-size:15.5px}.board .rank{width:40px}.board td,.board th{padding:6px 4px}.board .val{width:38%}}

/* Suche */
.search{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch}
.search input{flex:1 1 220px;min-width:0;min-height:48px;font:400 18px/1.2 "Obscura Serif",serif;color:var(--ink);padding:8px 12px;
  background:#fbf3dc;border:3px solid #8a6424;box-shadow:inset 0 2px 0 rgba(0,0,0,.12)}
.search input:focus{outline:3px solid var(--gold2);outline-offset:0}
.hits{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.hits a{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;background:rgba(255,255,255,.35);border:2px solid #c9ad74;text-decoration:none;max-width:100%}
.hits a img{width:24px;height:24px;image-rendering:pixelated}

/* Profil */
.profile{display:grid;grid-template-columns:200px minmax(0,1fr);gap:22px;align-items:start}
@media (max-width:640px){.profile{grid-template-columns:minmax(0,1fr)}.profile .skin{margin:0 auto}}
.skin{width:200px;max-width:100%;display:grid;place-items:center;background:radial-gradient(rgba(255,255,255,.45),rgba(255,255,255,0) 70%);padding:8px 0}
.skin canvas,.skin img{width:128px;height:256px;image-rendering:pixelated}
.pname{font-size:clamp(26px,4vw,34px);color:var(--red);margin:0 0 4px;line-height:1.15;overflow-wrap:anywhere}
.stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin:12px 0}
.stat{background:rgba(255,255,255,.3);border:2px solid #c9ad74;padding:8px 10px;min-width:0}
.stat small{display:block;color:var(--ink2);font-size:14px}
.stat b{display:block;font-size:20px;color:#3a220c;overflow-wrap:anywhere}
.leg{display:flex;flex-wrap:wrap;gap:6px}
.leg .slot{width:44px;height:44px}

/* Wiki */
.wiki{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;align-items:start}
.wiki nav.toc{position:sticky;top:calc(var(--head-h) + 12px)}
@media (max-width:900px){.wiki{grid-template-columns:minmax(0,1fr)}.wiki nav.toc{position:static}}
.toc ul{list-style:none;padding:0!important;margin:0}
.toc a{display:block;padding:5px 2px;text-decoration:none;border-bottom:1px dashed #c9ad74}
.wtable{width:100%;border-collapse:collapse;font-size:16px}
.wtable th,.wtable td{text-align:left;padding:6px 8px;border-bottom:1px solid #d7bf8c;vertical-align:top}
.wtable th{color:#5a2e12;border-bottom:2px solid #a8834a}
.wtable td:first-child{white-space:nowrap}
.wtable.items td:first-child{white-space:normal}
.scrollx{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
.icorow{display:flex;align-items:center;gap:10px}
.icorow img{width:32px;height:32px;image-rendering:pixelated;flex:0 0 auto}
mark{background:#ffe27a;color:inherit}

/* ---------- Fuß ---------- */
.foot{margin-top:40px;border-top:2px solid var(--gold3);background:linear-gradient(180deg,#1b110a,#0e0906);color:#a99673;font-size:15px}
.foot .wrap{display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;padding-top:18px;padding-bottom:22px}
.foot nav{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:center}
.foot a{color:#d8c08a;text-decoration:none}
.foot a:hover{color:var(--gold)}
.foot .mj{font-size:13px;color:#857452;line-height:1.45;max-width:640px}

.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:90;padding:10px 18px;background:#24160d;color:var(--gold);border:2px solid var(--gold2);font-weight:700;
  max-width:calc(100vw - 32px);text-align:center;opacity:0;pointer-events:none;transition:opacity .2s}
.toast.show{opacity:1}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* Handy: weniger Einzug, damit Text Platz hat */
@media (max-width:520px){
  body{font-size:16.5px}
  .card{border-width:16px;border-image-width:16px;padding:4px 4px;margin:16px 0}
  .steps > li{padding-left:46px}
  .steps > li::before{width:36px;height:36px;font-size:18px}
  .pack{flex-direction:column;gap:6px;padding:10px}
  .pack img{width:40px;height:40px}
  .wrap{padding:0 12px}
  .pagehead{padding-top:24px}
  .rules li{padding-left:38px}
}
[hidden]{display:none!important}
.wiki .wsec .pack{margin:0}
.wiki .wsec .pack .slot{margin-top:2px}
.wtable.cmds td:first-child{white-space:normal;min-width:150px}
.wiki nav.toc{margin-top:22px}
.wiki > div > .card:first-child{margin-top:22px}
@media (max-width:900px){.wiki nav.toc{margin-bottom:0}}
/* Tabellen auf dem Handy als Karten stapeln (nichts abgeschnitten) */
@media (max-width:640px){
  .wtable.stack thead{display:none}
  .wtable.stack,.wtable.stack tbody,.wtable.stack tr,.wtable.stack td{display:block;width:100%}
  .wtable.stack tr{border-bottom:1px solid #c9ad74;padding:8px 0}
  .wtable.stack td{border:0;padding:2px 4px;white-space:normal!important}
  html:not(.l-en) .wtable.stack td[data-lde]::before{content:attr(data-lde) ": ";font-weight:700;color:#5a2e12}
  html.l-en .wtable.stack td[data-len]::before{content:attr(data-len) ": ";font-weight:700;color:#5a2e12}
  .wtable.cmds td:first-child{min-width:0}
}
.addr-in{margin:4px 0 12px}
.card.center{text-align:center}
#wcount{margin:6px 0 4px;font-size:15px}
.wtable .num{text-align:right}
.card h2.rsec{margin-top:22px;padding-bottom:4px;border-bottom:2px solid #a8834a}
.rules2{list-style:none;padding:0!important;margin:0 0 8px}
.rules2 > li{padding:8px 0 6px;border-bottom:1px dashed #bfa36a}
.rules2 > li:last-child{border-bottom:0}
.rules2 h3{margin:4px 0 4px;display:flex;gap:10px;align-items:baseline}
.rules2 .pn{flex:0 0 auto;min-width:36px;color:var(--red)}
.rules2 ul{margin:0;padding-left:22px}

/* ---------- Feinschliff 19.11.: Symmetrie, Bilder, Filter ---------- */
/* Knopfgruppen: gleich breit, von der Mitte aus */
.hero .btns .btn{min-width:236px}
@media (max-width:520px){.hero .btns{flex-direction:column;align-items:center}.hero .btns .btn{width:min(100%,300px);min-width:0}}
.card > .btns{margin-top:6px}
/* Bestenlisten-Reiter: festes Raster ohne einzelne Reiter in der letzten Reihe (6 / 3+3 / 2+2+2) */
.tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;max-width:1000px;margin-left:auto;margin-right:auto}
.tabs button{justify-content:center;min-width:0}
@media (max-width:1000px){.tabs{grid-template-columns:repeat(3,minmax(0,1fr));max-width:640px}}
@media (max-width:520px){.tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.tabs button{padding:4px 8px;font-size:15.5px}}
.bhead{margin:4px 0 2px}.bhead h2{margin:0}
.board .who b{flex:0 0 auto;color:#5a2e12}
/* Wiki: Inhaltsverzeichnis mit Symbolen */
.toc a{display:flex;align-items:center;gap:10px}
.toc a img{width:24px;height:24px;image-rendering:pixelated;flex:0 0 auto}
@media (max-width:900px) and (min-width:521px){.toc ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}}
.icorow.item{gap:10px}
.icorow.item img{width:24px;height:24px}
.wtable.items td{vertical-align:middle}
/* Updates: Kopf mit Symbol, Kategorie-Etikett, Filter */
.upd .ver{flex-wrap:nowrap;align-items:center;gap:14px;margin-bottom:10px}
.upd .vt{min-width:0}
.upd .meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:4px}
.chip{display:inline-block;padding:1px 10px;font-size:14px;font-weight:700;line-height:1.5;color:#3a220c;background:#e2cf9f;border:1px solid #b89a5c}
.chip.c-mod{background:#e6d2f0;border-color:#9a6fb8;color:#43205a}
.chip.c-pack{background:#ead2ad;border-color:#a5763c;color:#4a2c0e}
.chip.c-mods{background:#cfe6dc;border-color:#5f9a82;color:#183f30}
.chip.c-allg{background:#d6dcf0;border-color:#6f7fb8;color:#1f2c5a}
.filter{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:18px auto 0;max-width:860px}
.filter button{all:unset;cursor:pointer;box-sizing:border-box;flex:1 1 0;min-width:0;min-height:46px;padding:4px 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font:700 16px/1.2 "Obscura Serif",serif;color:#e8d5a8;border:7px solid transparent;border-image:url(/img/ui/t_button.png) 14 fill/7px stretch;image-rendering:pixelated;white-space:nowrap;text-align:center}
.filter button img{width:24px;height:24px;image-rendering:pixelated;flex:0 0 auto}
.filter button:hover{color:var(--gold)}
.filter button[aria-pressed=true]{color:var(--gold);border-image-source:url(/img/ui/t_main.png)}
.filter button:focus-visible{outline:2px solid var(--gold)}
@media (max-width:700px){.filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.filter button[data-f=alle]{grid-column:1/-1}}
#ucount{margin-top:10px}
@media (max-width:520px){.upd .ver{gap:10px}.upd .ver .slot{width:42px;height:42px}.upd .ver .slot img{width:28px;height:28px}}
/* Profil-Werte: 8 Kacheln immer 2+2+2+2 – keine halbe letzte Reihe, nichts gequetscht */
.stats{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Suche auf dem Handy: Knopf über volle Breite statt allein links */
@media (max-width:520px){.search .btn{flex:1 1 100%}}
