/* =========================================================
   Games VITA 1.60 – Gotik-Oberfläche (gx-…) aus dem Beutel-UI-Paket (assets/img/beutel-ui).
   Gemeinsame Bausteine für Schmiede, Gildenhalle und Hallen-Räume: Panels, Reiter, Knöpfe, Slots, Balken.
   ========================================================= */
.gx{--gx-gold:#fada7c;--gx-gold2:#d6a644;--gx-cyan:#38e0dc;--gx-text:#ebe6db;--gx-muted:#a8a4b8;color:var(--gx-text)}
.gx-panel{background:url(../img/beutel-ui/tex-stone.webp) repeat;border:18px solid transparent;border-image:url(../img/beutel-ui/panel-main.webp) 24 round;box-shadow:0 14px 30px #000b}
.gx-side{background:url(../img/beutel-ui/tex-velvet.webp) repeat;border:18px solid transparent;border-image:url(../img/beutel-ui/panel-side.webp) 24 round;box-shadow:0 14px 30px #000b}
.gx-iron{background:url(../img/beutel-ui/tex-iron.webp) repeat}
.gx-head{position:relative;display:flex;align-items:center;gap:1em;min-height:64px;padding:8px 92px;background:url(../img/beutel-ui/header.webp) center/100% 100% no-repeat}
.gx-head::before,.gx-head::after{content:"";position:absolute;top:50%;width:76px;height:50px;margin-top:-30px;background:url(../img/beutel-ui/gargoyle-l.webp) center/contain no-repeat;image-rendering:pixelated;pointer-events:none}
.gx-head::before{left:6px}.gx-head::after{right:6px;background-image:url(../img/beutel-ui/gargoyle-r.webp)}
.gx-title small{display:block;font-size:.7em;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--gx-cyan);text-shadow:0 0 8px #38e0dc66}
.gx-title h2{margin:0;font:700 1.55em Georgia,serif;color:var(--gx-gold);text-shadow:0 2px 0 #000,0 0 14px #d6a64455;line-height:1.1}
.gx-tabs{display:flex;gap:4px;flex-wrap:wrap;margin:0 0 10px}
.gx-tab{display:inline-flex;align-items:center;gap:.45em;min-width:8.5em;justify-content:center;padding:12px 20px 10px;border:0;background:url(../img/beutel-ui/tab.webp) center/100% 100% no-repeat;color:var(--gx-muted);font:800 .82rem var(--body,sans-serif);letter-spacing:.06em;text-transform:uppercase;cursor:pointer;transition:color .15s,filter .15s}
.gx-tab img{width:22px;height:22px;image-rendering:pixelated}
.gx-tab:hover{color:var(--gx-text);filter:brightness(1.15)}
.gx-tab.on{background-image:url(../img/beutel-ui/tab-on.webp);color:var(--gx-gold);text-shadow:0 0 8px #38e0dc80}
.gx-tab i{font-style:normal;padding:0 .45em;border-radius:99px;background:#c6ff3d;color:#102000;font-size:.75em}
.gx-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4em;min-height:40px;padding:0 6px;border:14px solid transparent;border-image:url(../img/beutel-ui/cat.webp) 20 22 fill stretch;background:none;color:var(--gx-text);font:800 .88rem var(--body,sans-serif);letter-spacing:.02em;text-decoration:none!important;cursor:pointer;white-space:nowrap;transition:filter .15s,transform .1s}
.gx-btn:hover:not(:disabled){border-image-source:url(../img/beutel-ui/cat-hover.webp);filter:brightness(1.12)}
.gx-btn:active:not(:disabled){transform:translateY(1px)}
.gx-btn.is-gold{border-image-source:url(../img/beutel-ui/cat-on.webp);color:#fff5d6;text-shadow:0 1px 0 #000,0 0 10px #ffcf3f88}
.gx-btn.is-gold:hover:not(:disabled){border-image-source:url(../img/beutel-ui/cat-on.webp);filter:brightness(1.25) saturate(1.2)}
.gx-btn.is-big{min-height:52px;font-size:1rem;letter-spacing:.06em;text-transform:uppercase}
.gx-btn:disabled{filter:grayscale(.8) brightness(.6);cursor:not-allowed}
.gx-btn .rk-coin,.gx-btn .gb-coin{width:1.1em;height:1.1em}
.gx-slot{position:relative;display:grid;place-items:center;aspect-ratio:1;background:url(../img/beutel-ui/slot.webp) center/100% 100% no-repeat;image-rendering:pixelated}
.gx-slot>img{width:66%;height:66%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 2px 2px #000a)}
.gx-slot>b{position:absolute;right:10%;bottom:6%;font:800 .8rem var(--body,sans-serif);color:#fff;text-shadow:0 1px 2px #000,0 0 3px #000}
.gx-rar{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;image-rendering:pixelated}
.gx-bar{position:relative;height:30px;padding:8px 14px;box-sizing:border-box;background:url(../img/beutel-ui/bar.webp) center/100% 100% no-repeat}
.gx-bar>i{display:block;height:100%;border-radius:2px;background:url(../img/beutel-ui/fill-green-anim.gif) left center/auto 100% repeat-x}
.gx-bar.is-gold>i{background-image:url(../img/beutel-ui/fill-gold.webp)}
.gx-line{height:10px;margin:10px 0;background:url(../img/beutel-ui/line.webp) center/100% 100% no-repeat}
.gx-search{display:flex;align-items:center;gap:6px;min-height:42px;padding:0 14px;background:url(../img/beutel-ui/search.webp) center/100% 100% no-repeat}
.gx-search input{flex:1;min-width:0;border:0;background:none;color:var(--gx-text);font:500 .9rem var(--body,sans-serif);outline:none}
.gx-check{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:.85rem;cursor:pointer}
.gx-check input{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin:0;background:url(../img/beutel-ui/check.webp) center/contain no-repeat;cursor:pointer}
.gx-check input:checked{background-image:url(../img/beutel-ui/check-on.webp)}
.gx-chips{display:flex;flex-wrap:wrap;gap:2px 4px}
.gx-chip{padding:0 4px;min-height:34px;border:12px solid transparent;border-image:url(../img/beutel-ui/cat.webp) 20 22 fill stretch;background:none;color:var(--gx-text);font:700 .78rem var(--body,sans-serif);cursor:pointer;margin:-3px 0}
.gx-chip:hover{border-image-source:url(../img/beutel-ui/cat-hover.webp)}
.gx-chip.on{border-image-source:url(../img/beutel-ui/cat-on.webp);color:#fff5d6}
.gx-pips{display:flex;gap:3px}
.gx-pips i{width:14px;height:14px;transform:rotate(45deg);border:2px solid #5a4a30;background:#120d08}
.gx-pips i.on{border-color:var(--gx-gold);background:radial-gradient(#fff3b0,#d6a644);box-shadow:0 0 8px #ffcf3f99}
.gx-dim{color:var(--gx-muted);font-size:.84em}
