/* ==========================================================================
   Mortha - motyw "dark fantasy", 2026
   Bez zewnetrznych zasobow: wszystkie dekoracje to CSS/SVG inline.
   ========================================================================== */

:root {
    /* Baza */
    --bg-0: #0d0f14;
    --bg-1: #12151c;
    --panel: #171b24;
    --panel-2: #1d222d;
    --panel-3: #232936;
    --border: #2a3140;
    --border-lit: #39445a;

    /* Tekst */
    --text: #dfe4ec;
    --text-dim: #9aa4b6;
    --muted: #6f7a8d;

    /* Akcenty */
    --gold: #d9a441;
    --gold-lit: #f0c169;
    --blue: #4aa3f0;
    --blue-dim: #2c6fa8;

    /* Semantyka */
    --ok: #4fbf7b;
    --warn: #e0a33c;
    --err: #e05c5c;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgba(0, 0, 0, .45);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
    margin: 0;
    /* Stopka ma siedziec na dole OKNA, gdy tresci jest mniej niz wysokosc ekranu */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Tlo: proceduralna tekstura kamienia (SVG feTurbulence) + przyciemnienie */
    /* Tlo: malowana grafika (hero-bg.png) z przyciemnieniem dla czytelnosci tekstu.
       Gdy pliku nie ma, przegladarka spada na proceduralna teksture SVG. */
    /* Grafika jako tlo calej strony: przyklejona do okna, bez przyciemnienia.
       Tresc siedzi w waskiej kolumnie, wiec obraz zostaje widoczny po bokach. */
    background:
        /* "center top", a nie "center center": przy contain grafika nigdy nie
           wypelnia calego okna, a niedobor rozklada sie po rowno na gore i dol.
           Na niskim ekranie dawalo to widoczny pas miedzy paskiem menu a obrazem.
           Dociagniecie do gory spycha caly niedobor na dol, pod linie zgiecia -
           i nic z grafiki nie tracimy, w przeciwienstwie do przejscia na cover. */
        url("img/bg-main.jpg") center top / contain no-repeat,      /* CALA grafika, nic nie przyciete */
        url("img/bg-blur.jpg") center center / cover no-repeat,     /* rozmyte wypelnienie bokow */
        var(--bg-0);
    background-attachment: fixed, fixed, fixed;
    color: var(--text);
    font-family: "Segoe UI", Roboto, Tahoma, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-lit); text-decoration: none; transition: color .15s ease; }
a:hover { color: #fff; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; letter-spacing: .2px; }
h1 { font-size: 26px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }
.dim { color: var(--text-dim); }

/* ============================ NAGLOWEK ============================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 13, 18, .80);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 62px;
    flex-wrap: wrap;
    /* Naglowek na cala szerokosc okna, inaczej niz tresc (kolumna 1120px):
       logo dochodzi do lewej krawedzi, przelacznik jezyka do prawej. */
    max-width: none;
    padding: 0 22px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; display: block; filter: drop-shadow(0 2px 8px rgba(217,164,65,.35)); }
.brand-text {
    font-size: 20px; font-weight: 800; letter-spacing: .5px;
    background: linear-gradient(180deg, #fff, var(--blue));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand:hover { text-decoration: none; }

/* margin auto z obu stron trzyma menu na srodku miedzy logo a przelacznikiem jezyka */
nav.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin: 0 auto; }
nav.main-nav a {
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
}
nav.main-nav a:hover { background: var(--panel-2); color: #fff; }
nav.main-nav a.active { color: var(--gold-lit); background: rgba(217,164,65,.10); }

/* Sprawy konta - osobna grupa przy prawej krawedzi, oddzielona kreska od
   zakladek serwisu. Bez tego "Wyloguj" wygladalo jak kolejna zakladka. */
.nav-user {
    display: flex; align-items: center; gap: 4px;
    padding-left: 12px; margin-left: 8px;
    border-left: 1px solid rgba(255,255,255,.08);
}
.nav-user a {
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.nav-user a:hover { background: var(--panel-2); color: #fff; }

/* Lekkie podswietlenie: to jedyna pozycja w pasku, ktora dotyczy gracza,
   a nie tresci serwisu. Delikatniej niz .active, zeby nie udawac, ze wlasnie
   na tej stronie jestes. */
.nav-account {
    color: var(--gold) !important;
    background: rgba(217,164,65,.07);
    box-shadow: inset 0 0 0 1px rgba(217,164,65,.22);
}
.nav-account:hover { color: var(--gold-lit) !important; background: rgba(217,164,65,.14); }
.nav-account.active { color: var(--gold-lit) !important; background: rgba(217,164,65,.16); }

/* Wyloguj celowo najdalej na prawo i najciszej z calego paska. */
.nav-logout { display: inline; margin: 0; }
.nav-logout button {
    margin: 0; padding: 7px 12px; background: none; border: none;
    color: var(--text-dim); font: inherit; font-size: 14px; font-weight: 500;
    cursor: pointer; border-radius: var(--radius-sm); transition: background .15s ease, color .15s ease;
}
.nav-logout button:hover { background: var(--panel-2); color: #fff; }

/* ============================ HERO ============================ */
.hero {
    position: relative;
    margin: 26px 0 24px;
    padding: 26px 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    background: none;         /* tlo strony pokazuje sie przez hero */
    box-shadow: none;
    overflow: visible;
}
/* dekoracja: delikatna siatka */
.hero::after {
    content: none;
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(600px 300px at 50% 0%, #000, transparent 75%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero img.hero-logo { max-width: 430px; width: 74%; height: auto; margin: 0 auto 6px; display: block; filter: drop-shadow(0 3px 10px rgba(0,0,0,1)) drop-shadow(0 0 26px rgba(0,0,0,.9)) drop-shadow(0 0 40px rgba(217,164,65,.30)); }
.hero p.tagline { color: #f0f4fa; margin: 8px 0 18px; font-size: 16px; font-weight: 500; text-shadow: 0 2px 4px #000, 0 2px 14px rgba(0,0,0,.95); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ============================ UKLAD ============================ */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.sidebar { display: grid; gap: 16px; position: sticky; top: 78px; }
/* width:100% jest tu KONIECZNE. body to flex w kolumnie, a `margin: 0 auto`
   z klasy .wrap wylacza rozciaganie flex-itema na osi poprzecznej - bez tego
   glowna kolumna kurczy sie do szerokosci tresci (mierzone: 385px zamiast 1120px)
   i cala strona wyglada na scisnieta. */
main.wrap { padding-top: 0; padding-bottom: 44px; flex: 1 0 auto; width: 100%; }

/* ============================ KARTY ============================ */
.card, .panel {
    background: linear-gradient(180deg, rgba(29,34,45,.93), rgba(23,27,36,.95));
    backdrop-filter: blur(6px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.card-head {
    display: flex; align-items: center; gap: 9px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255,255,255,.035), transparent);
}
.card-head h2, .card-head h3 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: 1.1px; color: var(--gold); }
.card-head .icon { color: var(--gold); display: flex; }
.card-body { padding: 16px; }
.panel { padding: 20px; margin-bottom: 20px; }
.panel > h1:first-child, .panel > h2:first-child { margin-top: 0; }

/* ============================ STATUS SERWERA ============================ */
.status-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.status-dot.up { background: var(--ok); box-shadow: 0 0 0 0 rgba(79,191,123,.6); animation: pulse 2.2s infinite; }
.status-dot.down { background: var(--err); }
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(79,191,123,.55); }
    70%  { box-shadow: 0 0 0 9px rgba(79,191,123,0); }
    100% { box-shadow: 0 0 0 0 rgba(79,191,123,0); }
}
.status-label { font-weight: 700; }
.status-label.up { color: var(--ok); }
.status-label.down { color: var(--err); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat {
    background: var(--panel-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 12px;
    text-align: center;
}
.stat .val { display: block; font-size: 21px; font-weight: 800; color: var(--gold-lit); line-height: 1.2; }
.stat .lbl { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-top: 3px; }

/* ============================ TOP GRACZE ============================ */
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li {
    display: flex; align-items: center; gap: 11px;
    padding: 9px 4px;
    border-bottom: 1px solid var(--border);
}
.rank-list li:last-child { border-bottom: none; }
.medal {
    width: 24px; height: 24px; flex: none;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: 11px; font-weight: 800; color: #1a1206;
    background: var(--panel-3); color: var(--muted);
}
.medal.g1 { background: linear-gradient(160deg, #f5d271, #c9962c); color: #3a2a06; }
.medal.g2 { background: linear-gradient(160deg, #e6e9ef, #9aa2b1); color: #23262c; }
.medal.g3 { background: linear-gradient(160deg, #e0a06a, #a76a33); color: #33200d; }
.rank-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-lvl { color: var(--gold-lit); font-weight: 700; font-size: 13px; }

/* ============================ ODZNAKI ============================ */
.badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .3px;
    border: 1px solid var(--border-lit);
    background: var(--panel-3);
    color: var(--text-dim);
    white-space: nowrap;
}
.badge.knight  { color: #e08a6a; border-color: #6b3f30; background: rgba(224,138,106,.10); }
.badge.paladin { color: #7fc98a; border-color: #35603c; background: rgba(127,201,138,.10); }
.badge.druid   { color: #6fc2d8; border-color: #2e5c69; background: rgba(111,194,216,.10); }
.badge.sorcerer{ color: #a98ae0; border-color: #4a3a70; background: rgba(169,138,224,.10); }
.badge.none    { color: var(--muted); }

/* ============================ TABELE ============================ */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); }
thead th {
    color: var(--gold); font-weight: 700; font-size: 11.5px;
    text-transform: uppercase; letter-spacing: 1px;
    background: rgba(255,255,255,.025);
    position: sticky; top: 0;
}
tbody tr { transition: background .12s ease; }
tbody tr:hover td { background: rgba(255,255,255,.035); }
tbody tr:last-child td { border-bottom: none; }
td.rank { width: 60px; color: var(--muted); font-weight: 700; }

/* ============================ NEWS ============================ */
.news-item { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.news-item:last-child { border-bottom: none; }
.news-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.news-head h3 { margin: 0; color: #fff; }
.news-meta { color: var(--muted); font-size: 12.5px; }
.news-body { color: var(--text-dim); }

/* ============================ SKLEP ============================ */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.offer {
    background: var(--panel-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.offer:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 10px 26px rgba(0,0,0,.5); }
.offer .thumb {
    width: 64px; height: 64px; margin: 0 auto 11px;
    display: grid; place-items: center;
    border-radius: var(--radius-sm);
    background: radial-gradient(circle at 50% 35%, rgba(217,164,65,.22), transparent 70%), var(--panel-2);
    border: 1px solid var(--border-lit);
    color: var(--gold-lit);
}
.offer .name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.offer .price { color: var(--gold-lit); font-weight: 800; font-size: 15px; }
.offer .qty { color: var(--muted); font-size: 12px; }

/* ============================ FORMULARZE ============================ */
label { display: block; margin: 14px 0 6px; font-size: 13px; color: var(--text-dim); font-weight: 500; }
input, select, textarea {
    width: 100%;
    padding: 11px 13px;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(217,164,65,.14);
}
button, .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 18px;
    padding: 11px 22px;
    background: linear-gradient(180deg, var(--gold-lit), var(--gold));
    color: #241906;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14.5px; font-weight: 700; font-family: inherit;
    cursor: pointer;
    transition: transform .12s ease, filter .15s ease, box-shadow .15s ease;
    box-shadow: 0 4px 14px rgba(217,164,65,.22);
}
button:hover, .btn:hover { filter: brightness(1.08); transform: translateY(-1px); text-decoration: none; color: #241906; }
button:active, .btn:active { transform: translateY(0); }
.btn-ghost {
    background: transparent; color: var(--text);
    border: 1px solid var(--border-lit); box-shadow: none;
}
.btn-ghost:hover { background: var(--panel-3); color: #fff; border-color: var(--gold); }
.btn-sm { padding: 7px 14px; font-size: 13px; margin-top: 0; }

/* Sprite'y itemow z klienta Tibia: 32x32 pixel art - musi byc OSTRY przy skalowaniu */
.item-sprite {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.6));
}

/* Karta oferty jest <a> - zachowuje sie jak karta, nie jak link */
a.offer { display: block; color: var(--text); text-decoration: none; }
a.offer:hover { color: var(--text); text-decoration: none; }
a.offer .name { color: #fff; }
.offer-locked { opacity: .45; filter: grayscale(.7); }
.offer-locked:hover { transform: none !important; border-color: var(--border) !important; }

/* Powiekszony sprite w kafelku oferty */
.offer .thumb .item-sprite { width: 48px; height: 48px; }

/* Ekran potwierdzenia zakupu */
.confirm-box {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    padding: 18px;
    border: 1px solid var(--border-lit);
    border-radius: var(--radius);
    background: radial-gradient(420px 160px at 12% 0%, rgba(217,164,65,.10), transparent 70%), var(--panel-3);
}
.confirm-item {
    width: 84px; height: 84px; flex: none;
    display: grid; place-items: center;
    border-radius: var(--radius-sm);
    background: radial-gradient(circle at 50% 40%, rgba(217,164,65,.20), transparent 70%), var(--panel-2);
    border: 1px solid var(--border-lit);
}
.confirm-item .item-sprite { width: 64px; height: 64px; }

/* ==================== AWATARY POSTACI (outfity z klienta) ==================== */
.av-wrap {
    display: inline-flex; align-items: center; justify-content: center;
    flex: none; overflow: hidden;
}
.outfit-sprite {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,.7));
}
.avatar-fallback {
    display: grid; place-items: center;
    color: var(--muted);
    background: var(--panel-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
/* Nazwa postaci z awatarem obok (tabele) */
.name-cell { display: flex; align-items: center; gap: 11px; min-height: 46px; }
.name-cell .outfit-sprite { flex: none; }
/* Awatar w liscie TOP graczy */
.rank-av { flex: none; display: flex; }

/* Naglowek profilu postaci */
.char-hero {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    padding: 16px 18px; margin-bottom: 16px;
    border: 1px solid var(--border-lit);
    border-radius: var(--radius);
    background: radial-gradient(420px 160px at 10% 0%, rgba(74,163,240,.12), transparent 70%), var(--panel-3);
}
./* powiekszony awatar profilu */
.char-avatar {
    width: 116px; height: 116px; flex: none;
    display: grid; place-items: center;
    border-radius: var(--radius-sm);
    background: radial-gradient(circle at 50% 45%, rgba(217,164,65,.18), transparent 70%), var(--panel-2);
    border: 1px solid var(--border-lit);
}

/* ============================ KOMUNIKATY ============================ */
.msg {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 15px; border-radius: var(--radius-sm);
    margin-bottom: 16px; font-size: 14px;
    border-left: 3px solid;
}
.msg-ok   { background: rgba(79,191,123,.10);  border-color: var(--ok);   color: #bde9cd; }
.msg-err  { background: rgba(224,92,92,.10);   border-color: var(--err);  color: #f3bcbc; }
.msg-info { background: rgba(74,163,240,.10);  border-color: var(--blue); color: #bcdcf7; }

.points { font-size: 24px; font-weight: 800; color: var(--gold-lit); }

/* ============================ STOPKA ============================ */
.site-footer {
    flex-shrink: 0;
    background: rgba(11, 13, 18, .80);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    padding: 22px 0 30px;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.25));
}

/* ============================ RESPONSYWNOSC ============================ */
@media (max-width: 900px) {
    .layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (max-width: 760px) {
    body { background-image: url("img/bg-mobile.jpg"); background-attachment: scroll; }
}

@media (max-width: 620px) {
    .site-header .wrap { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
    nav.main-nav { width: 100%; }
    nav.main-nav a, .nav-user a, .nav-logout button { padding: 6px 9px; font-size: 13.5px; }
    /* Na waskim ekranie pasek i tak sie zawija - pionowa kreska i wciecie
       wygladalyby wtedy jak przypadkowa krecha w srodku wiersza. */
    .nav-user { border-left: none; padding-left: 0; margin-left: 0; }
    .hero { padding: 18px 14px 16px; }
    .hero img.hero-logo { max-width: 280px; width: 84%; }
    h1 { font-size: 22px; }
    th, td { padding: 9px 10px; font-size: 14px; }
    .stat .val { font-size: 18px; }
}

/* ==================== EKWIPUNEK POSTACI ==================== */
.eq-grid {
    display: grid;
    grid-template-columns: repeat(3, 52px);
    gap: 8px;
    justify-content: center;
    margin: 4px auto 0;
}
.eq-slot {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    background: linear-gradient(180deg, var(--panel-2), var(--bg-1));
    border: 1px solid var(--border-lit);
    border-radius: 6px;
    position: relative;
}
.eq-slot.filled { border-color: var(--gold); box-shadow: inset 0 0 12px rgba(217,164,65,.14); }
.eq-slot .item-sprite { width: 36px; height: 36px; }
.eq-slot .eq-count {
    position: absolute; right: 3px; bottom: 1px;
    font-size: 10px; font-weight: 700; color: #fff;
    text-shadow: 0 1px 2px #000;
}
.eq-empty { opacity: .30; }

/* ==================== PRZELACZNIK JEZYKA ==================== */
.lang-switch {
    display: flex; align-items: center; gap: 2px;
    /* BEZ margin-left:auto - zjadalby cala wolna przestrzen i doklejal menu do logo.
       Prawa krawedz zalatwia justify-content: space-between na naglowku. */
    padding: 3px;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.lang-opt {
    display: flex; align-items: center; gap: 5px;
    padding: 4px 7px !important;
    border-radius: 6px;
    font-size: 11.5px !important; font-weight: 700 !important;
    letter-spacing: .4px;
    color: var(--muted) !important;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.lang-opt:hover { background: var(--panel-2); color: #fff !important; }
.lang-opt.active { background: rgba(217,164,65,.14); color: var(--gold-lit) !important; }
.lang-opt .flag {
    width: 18px; height: 12px; flex: none;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,.45);
    /* Flagi jako emoji odpadaja - Windows renderuje same litery kodu kraju. */
}
.lang-opt:not(.active) .flag { opacity: .6; }
.lang-opt:hover .flag { opacity: 1; }

/* Ponizej ~1200px naglowek robi sie ciasny (5 pozycji menu + konto + wyloguj).
   Kody jezykowe znikaja, flagi zostaja - odzyskuje to okolo 100px. */
@media (max-width: 1200px) {
    .lang-opt span { display: none; }
    .lang-opt { padding: 4px 5px !important; }
    .lang-opt .flag { width: 21px; height: 14px; }
}

@media (max-width: 720px) {
    .lang-switch { margin-left: 0; width: 100%; justify-content: center; }
    .lang-opt .flag { width: 24px; height: 16px; }
}

/* ==================== PREMIUM ==================== */
.prem-status {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap;
    padding: 16px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border-lit);
    background: var(--panel-3);
}
.prem-status.on {
    border-color: rgba(79,191,123,.45);
    background: radial-gradient(420px 160px at 12% 0%, rgba(79,191,123,.12), transparent 70%), var(--panel-3);
}
.prem-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
    background: rgba(111,122,141,.18); color: var(--text-dim);
}
.prem-status.on .prem-badge { background: rgba(79,191,123,.18); color: var(--ok); }

.prem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.prem-card {
    display: block; text-align: center; text-decoration: none; color: var(--text);
    padding: 22px 16px 18px;
    background: radial-gradient(circle at 50% 0%, rgba(217,164,65,.12), transparent 65%), var(--panel-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.prem-card:hover {
    transform: translateY(-3px); border-color: var(--gold);
    box-shadow: 0 10px 26px rgba(0,0,0,.5); color: var(--text); text-decoration: none;
}
.prem-days {
    display: block;
    font-size: 42px; font-weight: 800; line-height: 1;
    color: var(--gold-lit);
    text-shadow: 0 2px 14px rgba(217,164,65,.35);
}
.prem-unit { display: block; margin-top: 4px; font-size: 13px; color: var(--text-dim); font-weight: 600; }
.prem-desc { display: block; margin: 10px 0 12px; font-size: 12.5px; color: var(--muted); min-height: 32px; }
.prem-card .price { display: block; color: var(--gold-lit); font-weight: 800; font-size: 16px; }

.prem-days-big {
    font-size: 34px; font-weight: 800; color: var(--gold-lit);
    text-shadow: 0 2px 14px rgba(217,164,65,.35);
}

/* ==================== DONATE ==================== */
.donate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.donate-card {
    position: relative;
    display: block; text-align: center; text-decoration: none; color: var(--text);
    padding: 22px 16px 18px;
    background: radial-gradient(circle at 50% 0%, rgba(74,163,240,.12), transparent 65%), var(--panel-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.donate-card:hover {
    transform: translateY(-3px); border-color: var(--blue);
    box-shadow: 0 10px 26px rgba(0,0,0,.5); color: var(--text); text-decoration: none;
}
.donate-pts {
    display: block; font-size: 34px; font-weight: 800; line-height: 1;
    color: var(--gold-lit); text-shadow: 0 2px 14px rgba(217,164,65,.3);
}
.donate-unit { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.donate-price { display: block; margin-top: 12px; font-size: 18px; font-weight: 800; color: var(--blue); }
.donate-bonus {
    position: absolute; top: 10px; right: 10px;
    padding: 3px 8px; border-radius: 999px;
    font-size: 11px; font-weight: 800; letter-spacing: .4px;
    background: rgba(79,191,123,.18); color: var(--ok);
}
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pay-chip {
    padding: 6px 12px; border-radius: 999px;
    border: 1px solid var(--border-lit); background: var(--panel-2);
    font-size: 12px; font-weight: 700; color: var(--text-dim); letter-spacing: .3px;
}
.badge-test {
    display: inline-block; padding: 4px 10px; border-radius: 999px;
    background: rgba(224,163,60,.16); color: var(--warn);
    font-size: 11.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
}

/* ==================== STOPKA: LINKI ==================== */
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a { color: var(--text-dim); font-size: 13.5px; }
.foot-links a:hover { color: var(--gold-lit); }
.foot-meta { font-size: 13px; color: var(--muted); }

/* Link po prawej stronie naglowka karty (np. "Pelny dziennik zmian") */
.card-head .head-link {
    margin-left: auto; font-size: 12.5px; font-weight: 600;
    color: var(--text-dim); white-space: nowrap;
}
.card-head .head-link:hover { color: var(--gold-lit); }

/* ==================== PROGI DOSWIADCZENIA ==================== */
.stage-bars { display: flex; flex-direction: column; gap: 8px; }
.stage-row { display: grid; grid-template-columns: 130px 1fr 44px; align-items: center; gap: 12px; }
.stage-range { font-size: 13px; color: var(--text-dim); }
.stage-bar {
    height: 12px; border-radius: 999px; background: var(--bg-1);
    border: 1px solid var(--border); overflow: hidden;
}
.stage-bar > span {
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-lit));
}
.stage-mult { font-weight: 800; color: var(--gold-lit); text-align: right; font-size: 14px; }

/* ==================== RAIDY ==================== */
.raid-item { padding: 14px 0; border-top: 1px solid var(--border); }
.raid-item:first-of-type { border-top: none; padding-top: 0; }
.raid-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.raid-head h3 { margin: 0; font-size: 16px; }
.raid-freq { font-size: 12.5px; color: var(--gold-lit); font-weight: 700; }
.raid-announce { margin: 6px 0 10px; font-size: 13.5px; color: var(--text-dim); font-style: italic; }
.raid-mobs { display: flex; gap: 10px; flex-wrap: wrap; }
.raid-mob {
    display: flex; align-items: center; gap: 7px;
    padding: 6px 10px 6px 6px; border-radius: 999px;
    background: var(--panel-3); border: 1px solid var(--border);
    color: var(--text); font-size: 13px; text-decoration: none;
}
.raid-mob:hover { border-color: var(--gold); color: var(--text); text-decoration: none; }
.raid-mob em { color: var(--gold-lit); font-style: normal; font-weight: 700; font-size: 12px; }

/* ==================== BESTIARIUSZ ==================== */
.search-row { display: flex; gap: 10px; align-items: flex-end; }
.search-row input { margin: 0; }
.search-row button { margin: 0; white-space: nowrap; }

.mob-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.mob-card {
    display: block; text-align: center; text-decoration: none; color: var(--text);
    padding: 14px 8px 12px;
    background: var(--panel-3); border: 1px solid var(--border); border-radius: var(--radius);
    transition: transform .16s ease, border-color .16s ease;
}
.mob-card:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--text); text-decoration: none; }
.mob-img { display: block; margin: 0 auto 8px; }
.mob-name { display: block; font-size: 13px; font-weight: 600; color: #fff; }
.mob-exp { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }

.loot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.loot-item {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 10px; border-radius: var(--radius-sm);
    background: var(--panel-2); border: 1px solid var(--border);
}
.loot-img { flex: none; display: grid; place-items: center; width: 32px; height: 32px; }
.loot-name { flex: 1; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loot-chance { flex: none; font-size: 11.5px; font-weight: 700; color: var(--gold-lit); }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ==================== DZIENNIK ZMIAN ==================== */
.chg-tag {
    display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
    vertical-align: middle;
}
.tag-server { background: rgba(74,163,240,.16); color: var(--blue); }
.tag-web    { background: rgba(217,164,65,.16); color: var(--gold-lit); }
.tag-fix    { background: rgba(79,191,123,.16); color: var(--ok); }
.chg-list { margin: 10px 0 0; padding-left: 20px; }
.chg-list li { margin: 6px 0; font-size: 14px; color: var(--text-dim); }
.chg-list code {
    background: var(--bg-1); border: 1px solid var(--border);
    border-radius: 4px; padding: 1px 6px; font-size: 12.5px; color: var(--gold-lit);
}

/* ==================== WYKRES POPULACJI ==================== */
.pop-chart { display: block; width: 100%; height: 140px; }
.pop-legend {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 8px; font-size: 12px; color: var(--muted);
}

/* ==================== GLOSOWANIE ==================== */
.vote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.vote-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 20px 16px; text-decoration: none; color: var(--text);
    background: var(--panel-3); border: 1px solid var(--border); border-radius: var(--radius);
    transition: transform .16s ease, border-color .16s ease;
}
.vote-card:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--text); text-decoration: none; }
.vote-name { font-weight: 700; font-size: 15px; }
.vote-note { font-size: 12px; color: var(--muted); }

/* Przyrost expa w rankingu tygodnia */
.rank-gain { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--ok); white-space: nowrap; }

/* Komendy w tabeli */
code.cmd {
    background: var(--bg-1); border: 1px solid var(--border-lit);
    border-radius: 5px; padding: 2px 8px; color: var(--gold-lit);
    font-size: 13px; font-weight: 700;
}

/* Pasek nawigacji zrobil sie dluzszy - odchudzamy go na srednich ekranach */
@media (max-width: 1320px) {
    nav.main-nav a, .nav-user a, .nav-logout button { padding: 7px 9px; font-size: 13.5px; }
}

/* Pelna szerokosc dla list biblioteki - siatka kafelkow w waskiej kolumnie
   miescila tylko 2 elementy w rzedzie i wygladala biednie. */
.layout-wide { display: block; }

/* Gestsza siatka: 108px zamiast 132px to o jeden-dwa kafelki wiecej w rzedzie */
.mob-grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.mob-card { padding: 12px 6px 10px; }
.mob-name { font-size: 12.5px; line-height: 1.3; }
.mob-exp { font-size: 11px; }

/* Zakladki w naglowku karty */
.tabs { margin-left: auto; display: flex; gap: 4px; }
.tab {
    padding: 5px 12px; border-radius: 999px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
    color: var(--text-dim); background: var(--bg-1);
    border: 1px solid var(--border); text-decoration: none;
}
.tab:hover { color: #fff; border-color: var(--border-lit); text-decoration: none; }
.tab.active { color: var(--gold-lit); background: rgba(217,164,65,.14); border-color: var(--gold); }

/* Naglowek sekcji na kartach szczegolow */
.sec-title {
    font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
    color: var(--gold); margin: 0 0 10px;
}

a.loot-item { text-decoration: none; color: var(--text); transition: border-color .15s ease; }
a.loot-item:hover { border-color: var(--gold); color: var(--text); text-decoration: none; }

/* ==================== WYBOR PROFESJI / PLCI ==================== */
.voc-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.sex-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.voc-opt, .sex-opt { cursor: pointer; display: block; }
.voc-opt input, .sex-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.voc-box {
    display: flex; flex-direction: column; gap: 6px;
    padding: 12px 14px;
    background: var(--panel-3); border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .15s ease, background .15s ease;
}
.sex-opt .voc-box { flex-direction: row; align-items: center; gap: 10px; min-width: 150px; }
.voc-opt:hover .voc-box, .sex-opt:hover .voc-box { border-color: var(--border-lit); }
.voc-opt input:checked + .voc-box,
.sex-opt input:checked + .voc-box {
    border-color: var(--gold);
    background: radial-gradient(300px 100px at 20% 0%, rgba(217,164,65,.14), transparent 70%), var(--panel-3);
}
.voc-desc { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ==================== BIBLIOTEKA: PRZELACZNIK I KATEGORIE ==================== */
.lib-switch {
    display: flex; justify-content: center; gap: 6px;
    margin: 0 0 18px; padding: 5px;
    background: rgba(13,15,20,.72);
    border: 1px solid var(--border);
    border-radius: 999px;
    width: fit-content; margin-inline: auto;
    backdrop-filter: blur(6px);
}
.lib-tab {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 26px; border-radius: 999px;
    font-size: 14.5px; font-weight: 700; letter-spacing: .3px;
    color: var(--text-dim); text-decoration: none;
    transition: background .16s ease, color .16s ease;
}
.lib-tab:hover { color: #fff; background: var(--panel-2); text-decoration: none; }
.lib-tab.active {
    color: #1a1408;
    background: linear-gradient(180deg, var(--gold-lit), var(--gold));
    box-shadow: 0 3px 14px rgba(217,164,65,.35);
}

.cat-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cat-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px; border-radius: 999px;
    font-size: 12.5px; font-weight: 600;
    color: var(--text-dim); background: var(--bg-1);
    border: 1px solid var(--border); text-decoration: none;
    transition: border-color .15s ease, color .15s ease;
}
.cat-chip:hover { color: #fff; border-color: var(--border-lit); text-decoration: none; }
.cat-chip.active { color: var(--gold-lit); border-color: var(--gold); background: rgba(217,164,65,.12); }
.cat-chip em { font-style: normal; font-size: 11px; color: var(--muted); }
.cat-chip.active em { color: var(--gold); }

/* ==================== KLUCZ ODZYSKIWANIA ==================== */
.recovery-key {
    font-family: Consolas, "Courier New", monospace;
    font-size: 22px; font-weight: 700; letter-spacing: 3px;
    text-align: center; color: var(--gold-lit);
    padding: 16px; border-radius: var(--radius);
    background: var(--bg-1); border: 1px dashed var(--gold);
    user-select: all;
}

/* ==================== MAPA INTERAKTYWNA ====================
   Mapa dziala jak w grze: przeciaganie, zoom i zmiana pietra bez przeladowania.
   Warstwa .map-stage jest przesuwana i skalowana jednym transformem, a pinezki
   sa jej dziecmi - dzieki temu trzymaja sie swoich wspolrzednych bez liczenia
   czegokolwiek przy kazdej klatce. Zeby nie rosly razem z mapa, skalujemy je
   odwrotnie zmienna --pin-scale. */
.map-viewer {
    position: relative;
    margin-bottom: 18px;
    border: 1px solid var(--border-lit);
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
}
.map-canvas {
    position: relative;
    height: 560px;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
}
.map-canvas.is-dragging { cursor: grabbing; }
.map-stage {
    position: absolute;
    top: 0; left: 0;
    transform-origin: 0 0;
    will-change: transform;
}
.map-stage .map-img { width: auto; height: auto; max-width: none; }
.map-pins { position: absolute; top: 0; left: 0; }
.map-pins .map-pin { transform: translate(-50%, -50%) scale(var(--pin-scale, 1)); }

.map-tools {
    position: absolute; top: 10px; left: 10px; z-index: 5;
    display: flex; align-items: center; gap: 4px;
    padding: 5px 7px;
    background: rgba(12, 14, 20, .82);
    border: 1px solid var(--border-lit);
    border-radius: var(--radius);
    backdrop-filter: blur(3px);
}
.map-btn {
    min-width: 26px; height: 26px;
    padding: 0 6px;
    background: var(--bg-2); color: var(--text);
    border: 1px solid var(--border); border-radius: 5px;
    font-size: 13px; line-height: 1; cursor: pointer;
}
.map-btn:hover { border-color: var(--gold); color: var(--gold-lit); }
.map-btn.is-on { border-color: var(--gold); color: var(--gold-lit); background: var(--bg-1); }

/* Tryb pelnoekranowy.
   Te trzy bloki sa CELOWO osobne, a nie sklejone przecinkami: przegladarka,
   ktora nie zna pseudoklasy :fullscreen, odrzuca CALA liste selektorow razem
   z nia - czyli zapasowa klasa .is-full przestalaby dzialac akurat tam, gdzie
   jest najbardziej potrzebna. */
/* Dwie pulapki, obie kosztowaly rozjechany uklad:
   - samo `inset: 0` nie ustalilo rozmiaru (element zostawal szerokosci kolumny
     tekstu), wiec podajemy 100vw/100vh wprost;
   - `.map-canvas` jako element flex ma domyslnie `min-height: auto`, czyli nie
     schodzi ponizej swojej zawartosci - bez `min-height: 0` plotno rozdymalo
     sie do 117 000 px zamiast wypelnic ekran. */
.map-viewer.is-full {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh; z-index: 200;
    margin: 0; border: 0; border-radius: 0;
    display: flex; flex-direction: column;
}
.map-viewer.is-full .map-canvas { flex: 1 1 auto; height: auto; min-height: 0; }
.map-viewer.is-full .map-hint { flex: 0 0 auto; }

.map-viewer:fullscreen {
    width: 100vw; height: 100vh;
    margin: 0; border: 0; border-radius: 0;
    display: flex; flex-direction: column;
}
.map-viewer:fullscreen .map-canvas { flex: 1 1 auto; height: auto; min-height: 0; }
.map-viewer:fullscreen .map-hint { flex: 0 0 auto; }

.map-viewer:-webkit-full-screen {
    width: 100vw; height: 100vh;
    margin: 0; border: 0; border-radius: 0;
    display: flex; flex-direction: column;
}
.map-viewer:-webkit-full-screen .map-canvas { flex: 1 1 auto; height: auto; min-height: 0; }
.map-viewer:-webkit-full-screen .map-hint { flex: 0 0 auto; }
.map-floor {
    min-width: 92px; padding: 0 6px;
    font-size: 12.5px; color: var(--gold-lit); text-align: center;
}
.map-sep { width: 1px; height: 18px; background: var(--border); margin: 0 3px; }
.map-hint {
    padding: 5px 10px; font-size: 12px;
    border-top: 1px solid var(--border);
    background: var(--bg-1);
}

/* Wskazanie wybranego expowiska.
   Przy kilkuset pinezkach samo przewiniecie mapy nie wystarcza - gracz i tak
   nie wie, w ktora patrzec. Wiec przygaszamy reszte i pulsujemy wybrana. */
.map-pins.has-selection .map-pin:not(.is-active) { opacity: .22; }
.map-pins.has-selection .map-pin.is-active { z-index: 6; }

.map-pin.is-active .map-dot {
    box-shadow: 0 0 0 2px var(--gold-lit);
}
.map-pin.is-active::before {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 14px; height: 14px;
    margin: -7px 0 0 -7px;
    border: 2px solid var(--gold-lit);
    border-radius: 50%;
    animation: pinPuls 1.4s ease-out infinite;
    pointer-events: none;
}
@keyframes pinPuls {
    0%   { transform: scale(1);   opacity: .9; }
    70%  { transform: scale(4.5); opacity: 0; }
    100% { transform: scale(4.5); opacity: 0; }
}
/* Kto woli bez ruchu - zostaje sama obwodka. */
@media (prefers-reduced-motion: reduce) {
    .map-pin.is-active::before { animation: none; opacity: .8; transform: scale(2.2); }
}

/* ==================== MAPA LOKACJI (statyczna) ==================== */
.map-wrap {
    position: relative;
    margin-bottom: 18px;
    border: 1px solid var(--border-lit);
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    line-height: 0;
}
.map-img {
    display: block; width: 100%; height: auto;
    /* Minimapa to jeden piksel na kratke - wygladzanie zamienilo by ja w papke. */
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}
.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    line-height: 1;
    text-decoration: none;
}
.map-dot {
    display: block;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--gold-lit);
    border: 1.5px solid #1a1408;
    box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 0 10px rgba(240,193,105,.8);
    transition: transform .12s ease;
}
.map-pin:hover .map-dot { transform: scale(1.5); }
.map-label {
    position: absolute; left: 50%; bottom: 14px;
    transform: translateX(-50%);
    display: none;
    white-space: nowrap;
    padding: 4px 9px; border-radius: 6px;
    background: rgba(13,15,20,.94);
    border: 1px solid var(--gold);
    color: var(--text); font-size: 12px; font-weight: 600;
    box-shadow: var(--shadow);
}
.map-label em { font-style: normal; color: var(--gold-lit); }
.map-pin:hover .map-label { display: block; z-index: 3; }

/* ---------------------------------------------------- Gdzie expic? --- */

/* Pasek wyszukiwania nad lista expowisk. */
.filter-row { display: flex; gap: 8px; align-items: center; }
.filter-row input[type="search"] { flex: 1 1 auto; min-width: 0; }

/* Miasta na mapie - inny znacznik niz expowiska, z nazwa widoczna zawsze.
   Bez tego gracz nie ma sie do czego odniesc, patrzac na plame minimapy. */
.map-town { pointer-events: none; z-index: 1; }
.map-town-dot {
    display: block; width: 7px; height: 7px;
    border: 1.5px solid #cfe4ff;
    background: #2b6cb0;
    transform: rotate(45deg);
    box-shadow: 0 0 0 1px rgba(0,0,0,.7);
}
.map-town-name {
    position: absolute; left: 50%; top: 9px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 10.5px; font-weight: 700; letter-spacing: .3px;
    color: #dbe9ff;
    text-shadow: 0 0 3px #000, 0 0 6px #000;
}

/* Wybrany wpis - pulsuje, zeby dalo sie go znalezc wzrokiem na duzej mapie. */
.map-pin.is-active { z-index: 4; }
.map-pin.is-active .map-dot {
    background: #fff;
    transform: scale(1.7);
    animation: pin-pulse 1.1s ease-in-out infinite;
}
.map-pin.is-active .map-label { display: block; }
@keyframes pin-pulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 0 8px 2px rgba(255,255,255,.85); }
    50%      { box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 0 16px 6px rgba(240,193,105,.95); }
}

.hunt-table tbody tr { cursor: pointer; }
.hunt-table tbody tr:hover { background: rgba(240,193,105,.06); }
.hunt-row.is-active { background: rgba(240,193,105,.14); box-shadow: inset 3px 0 0 var(--gold-lit); }
.hunt-link { font-weight: 600; }
/* Etykieta z INNEGO pietra: przygaszamy sama kropke, nie napis.
   Wczesniej caly znacznik dostawal opacity .45 i nazwy miast, ktorych swiatynia
   nie stoi na powierzchni (Ankrahmun z=8, Darashia z=1, Kazordoon z=11, Edron
   z=8, Premy Island i Castle z=6), byly na mapie ledwo czytelne - a to polowa
   wszystkich nazw. Pietro widac po kropce i tak. */
.map-town.is-other-floor { opacity: 1; }
.map-town.is-other-floor .map-town-dot { opacity: .45; }

/* Miejsca bez swiatyni (Dragon Lair, Ice Land, Castle...) - ten sam napis co
   miasta, zeby czytalo sie je tak samo dobrze; rozni je tylko mniejsza kropka. */
.map-place .map-town-dot { transform: scale(.72); }
