/* Lithuanians United valdymo skydelis. Spalvos kaip boto kortelėse: tamsiai mėlyna, sidabrinė, auksinė. */

@font-face { font-family: "Noto Sans"; src: url("/fonts/NotoSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("/fonts/NotoSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("/fonts/NotoSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("/fonts/NotoSans-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Noto Serif Title"; src: url("/fonts/NotoSerif-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #080c22;
  --bg-2: #0e1433;
  --bg-top: #0a0f28;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(205, 214, 228, 0.12);
  --line-soft: rgba(205, 214, 228, 0.06);
  --text: #edf1f9;
  --muted: #9aa8c9;
  --faint: #66749b;
  --gold: #f5c542;
  --gold-soft: rgba(245, 197, 66, 0.14);
  --silver: #cdd6e4;
  --bronze: #d6894a;
  --green: #34d399;
  --red: #f87171;
  --blue: #60a5fa;
  --violet: #c084fc;
  --cyan: #22d3ee;
  --orange: #fb923c;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 85% -120px, rgba(245, 197, 66, 0.07), transparent 70%),
    radial-gradient(800px 600px at -10% 110%, rgba(96, 165, 250, 0.06), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2)) fixed;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-family: "Noto Serif Title", Georgia, serif; font-weight: 900; font-size: 30px; letter-spacing: 0.01em; }
h2 { font-size: 17px; font-weight: 700; }
h3 { font-size: 15px; margin: 18px 0 10px; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: 13px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Ikonos */
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.ico {
  display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 10px;
  color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(245, 197, 66, 0.22);
}
.ico .i { width: 18px; height: 18px; }
.ico.blue { color: var(--blue); background: rgba(96, 165, 250, 0.12); border-color: rgba(96, 165, 250, 0.25); }
.ico.green { color: var(--green); background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.25); }
.ico.purple { color: var(--violet); background: rgba(192, 132, 252, 0.12); border-color: rgba(192, 132, 252, 0.25); }
.ico.red { color: var(--red); background: rgba(248, 113, 113, 0.12); border-color: rgba(248, 113, 113, 0.25); }
.ico.big { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 14px; }
.ico.big .i { width: 28px; height: 28px; }

/* ============================================================ Rėmas */

body.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); }

.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 26px;
  padding: 22px 14px 18px;
  background: rgba(5, 8, 24, 0.72);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); padding: 0 8px; }
.brand:hover { text-decoration: none; }
.brand b { display: block; font-size: 16px; font-weight: 900; line-height: 1.15; }
.brand small { display: block; font-size: 10.5px; font-weight: 700; color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; }
.motif {
  width: 44px; height: 44px; object-fit: contain; image-rendering: pixelated; flex: none;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--line); padding: 4px;
}
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 11px;
  color: var(--muted); font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.side-nav a .i { width: 19px; height: 19px; }
.side-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.side-nav a.active { color: var(--gold); background: var(--gold-soft); }
.side-nav a.active::before {
  content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold);
}
.side-user {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
}
.side-user form { margin: 0 0 0 auto; }
.side-user .who { min-width: 0; }
.side-user .who b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-user .who small { color: var(--faint); font-size: 11.5px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); flex: none; }
.avatar.placeholder { display: inline-block; background: var(--surface-2); }
.icon-btn {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer;
}
.icon-btn:hover { color: var(--red); border-color: rgba(248, 113, 113, 0.4); }
.icon-btn .i { width: 17px; height: 17px; }

.content { display: flex; flex-direction: column; min-height: 100vh; min-width: 0; }
main { flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 30px 34px 48px; }
footer { text-align: center; color: var(--faint); font-size: 12.5px; padding: 18px 16px 26px; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head .subtitle { color: var(--muted); margin: 8px 0 0; max-width: 820px; line-height: 1.6; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.back:hover { color: var(--text); text-decoration: none; }

/* Prisijungimas */
body.auth { display: grid; place-items: center; padding: 24px; }
.auth-main { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.auth-card { width: 100%; text-align: center; padding: 38px 34px; }
.auth-card h1 { margin-bottom: 12px; }
.auth-card p { line-height: 1.6; }
.auth-card .flash { text-align: left; }

/* ============================================================ Kortelės */

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.card-head h2 { display: flex; align-items: center; gap: 11px; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 0 20px; align-items: start; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.stat .ico { width: 44px; height: 44px; border-radius: 12px; }
.stat .ico .i { width: 22px; height: 22px; }
.stat b { display: block; font-size: 26px; font-weight: 900; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13.5px; }

.event-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); margin-bottom: 14px; }
.event-meta b { color: var(--text); font-size: 16px; }
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; color: var(--muted); text-align: center; }
.empty > .i { width: 34px; height: 34px; color: var(--faint); }
.empty p { margin: 0; }

/* ============================================================ Mygtukai, žymos, žetonai */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px; border: 1px solid transparent; border-radius: 10px;
  background: var(--gold); color: var(--bg-top);
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  cursor: pointer; transition: filter 0.15s, transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn .i { width: 16px; height: 16px; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: none; }
.btn.ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface-2); border-color: rgba(205, 214, 228, 0.25); filter: none; }
.btn.danger { background: rgba(248, 113, 113, 0.12); color: var(--red); border-color: rgba(248, 113, 113, 0.35); }
.btn.small { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn.small .i { width: 14px; height: 14px; }
.btn.discord { background: #5865f2; color: #fff; }
.btn.big { font-size: 16px; padding: 13px 24px; margin: 14px 0 10px; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; white-space: nowrap; vertical-align: middle;
}
.badge .i { width: 13px; height: 13px; }
.badge.auto { color: var(--blue); background: rgba(96, 165, 250, 0.1); border-color: rgba(96, 165, 250, 0.3); }
.badge.fixed { color: var(--gold); background: rgba(245, 197, 66, 0.1); border-color: rgba(245, 197, 66, 0.35); }
.badge.item { color: var(--green); background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.32); }
.badge.ticket { color: var(--violet); background: rgba(192, 132, 252, 0.1); border-color: rgba(192, 132, 252, 0.32); }
.badge.danger { color: var(--red); background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.32); }
.badge.muted { color: var(--muted); background: var(--surface); }
.badge.big { font-size: 14px; padding: 6px 13px; }
.badge.big .i { width: 15px; height: 15px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-weight: 600; font-size: 13.5px; background: var(--surface);
}
.chip span { font-size: 12px; color: var(--faint); background: rgba(0, 0, 0, 0.25); border-radius: 999px; padding: 0 7px; }
.chip:hover { color: var(--text); text-decoration: none; border-color: rgba(205, 214, 228, 0.25); }
.chip.active { color: var(--bg-top); background: var(--gold); border-color: var(--gold); }
.chip.active span { color: var(--bg-top); background: rgba(10, 15, 40, 0.15); }

/* ============================================================ Pranešimai */

.flash {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--line); border-left-width: 4px; border-radius: 12px;
  padding: 12px 16px; margin: 0 0 18px; background: var(--surface);
}
.flash > .i { width: 20px; height: 20px; margin-top: 1px; }
.flash > div { min-width: 0; flex: 1; }
.flash p { margin: 2px 0; }
.flash.ok { background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.4); }
.flash.ok > .i { color: var(--green); }
.flash.info { background: rgba(96, 165, 250, 0.08); border-color: rgba(96, 165, 250, 0.38); }
.flash.info > .i { color: var(--blue); }
.flash.error { background: rgba(248, 113, 113, 0.09); border-color: rgba(248, 113, 113, 0.42); }
.flash.error > .i { color: var(--red); }
.flash.small { padding: 9px 14px; margin: 10px 0; font-size: 13.5px; }
.flash.small > .i { width: 17px; height: 17px; }

/* ============================================================ Lentelės */

.table-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  text-align: left; color: var(--faint); font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background 0.12s; }
tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
table a { color: var(--text); }
table a:hover { color: var(--gold); text-decoration: none; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.up { color: var(--green); }
.down { color: var(--red); }
.up b, .down b { color: inherit; }
td.rank { width: 56px; }
.rank-pill {
  display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 9px;
  font-weight: 800; font-size: 13px; color: var(--muted); background: var(--surface-2);
}
.rank-pill.r1 { color: var(--bg-top); background: var(--gold); }
.rank-pill.r2 { color: var(--bg-top); background: var(--silver); }
.rank-pill.r3 { color: var(--bg-top); background: var(--bronze); }
table.mini { font-size: 13px; max-width: 560px; margin: 8px 0 4px; }
table.mini th, table.mini td { padding: 5px 10px; }
tr.selected { background: rgba(245, 197, 66, 0.07); }
tr.dropped td:first-child { box-shadow: inset 3px 0 0 var(--green); }

.icon { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; display: block; }
.icon.placeholder { display: inline-block; border-radius: 8px; background: var(--surface); }
.pts { font-weight: 800; }

.rarity { display: inline-block; padding: 2px 9px; border-radius: 7px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
          background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.tier-0 { color: var(--cyan); background: rgba(34, 211, 238, 0.12); }
.tier-1 { color: #f87171; background: rgba(239, 68, 68, 0.14); }
.tier-2 { color: var(--orange); background: rgba(249, 115, 22, 0.13); }
.tier-3 { color: var(--violet); background: rgba(168, 85, 247, 0.14); }
.tier-4 { color: var(--blue); background: rgba(59, 130, 246, 0.14); }
.tier-5 { color: var(--green); background: rgba(34, 197, 94, 0.12); }
.tier-6 { color: #d1d5db; }
.tier-7, .tier-u { color: var(--faint); }

/* ============================================================ Formos */

input[type="number"], input[type="search"], input[type="text"], input[type="datetime-local"], textarea, select {
  font: inherit; color: var(--text);
  background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="text"], input[type="datetime-local"], textarea, select { width: 100%; }
textarea { resize: vertical; min-height: 44px; }
select { cursor: pointer; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.18); }
input:disabled, textarea:disabled, select:disabled { opacity: 0.6; cursor: not-allowed; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input[type="color"] { width: 46px; height: 38px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; cursor: pointer; }
.check input { accent-color: var(--gold); width: 16px; height: 16px; flex: none; }

form.points { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; }
form.points input[type="number"] { width: 110px; font-weight: 700; }
form.points.compact { flex-wrap: nowrap; }
form.points.compact input[type="number"] { width: 78px; padding: 6px 10px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.search { margin: 0; flex: 1 1 320px; max-width: 520px; }
.search-box { position: relative; display: flex; align-items: center; width: 100%; }
.search-box > .i { position: absolute; left: 13px; color: var(--faint); width: 17px; height: 17px; pointer-events: none; }
.search-box input { width: 100%; padding: 10px 14px 10px 40px; border-radius: 12px; }
.search-box.small { width: 240px; }
.search-box.small input { padding: 7px 12px 7px 36px; font-size: 13.5px; }
.search-box.small > .i { left: 12px; width: 15px; height: 15px; }

form.inline { display: inline-flex; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
td .actions { justify-content: flex-end; }
.row-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
.row-form input[type="text"], .row-form textarea, .row-form select { width: auto; flex: 1 1 180px; }
button.link { display: inline-grid; place-items: center; background: none; border: none; color: var(--faint); cursor: pointer; padding: 2px; border-radius: 6px; }
button.link:hover { color: var(--red); }
button.link .i { width: 14px; height: 14px; }

form.settings .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin-bottom: 16px; }
form.settings .fields.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
form.settings .fields label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--muted); }
form.settings .fields label.wide { grid-column: 1 / -1; }
form.settings .fields input[type="number"] { width: 100%; }
form.settings .choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 24px; margin-bottom: 14px; }
form.settings .choices > div { display: flex; flex-direction: column; gap: 8px; }
form.settings .choices b { font-size: 13.5px; }
form.settings .choices .check { color: var(--text); }

/* ============================================================ Apžvalga */

ul.history { list-style: none; margin: 0; padding: 0; }
ul.history li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
ul.history li:last-child { border-bottom: none; }
ul.history p { margin: 0; }
.hist-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); color: var(--muted); flex: none; }
.hist-ico .i { width: 15px; height: 15px; }
ol.leaders { list-style: none; margin: 0; padding: 0; }
ol.leaders li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
ol.leaders li:last-child { border-bottom: none; }
ol.leaders .grow { flex: 1; min-width: 0; }

/* ============================================================ Bosai */

.boss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.boss-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  transition: border-color 0.15s, transform 0.15s;
}
.boss-card:hover { border-color: rgba(245, 197, 66, 0.4); transform: translateY(-2px); }
.boss-media {
  display: grid; place-items: center; height: 150px;
  background: radial-gradient(circle at 50% 60%, rgba(245, 197, 66, 0.12), transparent 65%), rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--line-soft);
}
.boss-card.has-drops .boss-media { background: radial-gradient(circle at 50% 60%, rgba(52, 211, 153, 0.12), transparent 65%), rgba(0, 0, 0, 0.2); }
.boss-img { max-width: 82%; max-height: 132px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5)); }
.boss-img.placeholder { width: 90px; height: 90px; border-radius: 50%; background: var(--surface-2); }
.boss-body { display: flex; flex-direction: column; gap: 9px; padding: 14px 16px 16px; flex: 1; }
.boss-name { color: var(--text); font-weight: 800; font-size: 15.5px; line-height: 1.25; }
.boss-name:hover { color: var(--gold); text-decoration: none; }
.boss-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 12.5px; }
.boss-meta span { display: inline-flex; align-items: center; gap: 5px; }
.boss-meta .i { width: 13px; height: 13px; }
.boss-state { display: flex; flex-wrap: wrap; gap: 6px; }
.boss-body form.points { margin-top: auto; }

.hero { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(280px, 340px); gap: 26px; align-items: center; }
.hero-media {
  display: grid; place-items: center; height: 220px; border-radius: 16px;
  background: radial-gradient(circle at 50% 60%, rgba(245, 197, 66, 0.16), transparent 70%), rgba(0, 0, 0, 0.2);
}
.hero-img { max-width: 92%; max-height: 200px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5)); }
.hero-img.placeholder { width: 120px; height: 120px; border-radius: 50%; background: var(--surface-2); }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.hero-stats div { padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft); }
.hero-stats b { display: block; font-size: 18px; font-weight: 900; }
.hero-stats span { color: var(--muted); font-size: 12px; }
.hero-form { background: rgba(0, 0, 0, 0.22); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.hero-form label { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 10px; }
.hero-form p { margin: 10px 0 0; }

/* ============================================================ Bingo */

.bingo-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
nav.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
nav.tabs a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
nav.tabs a .i { width: 16px; height: 16px; }
nav.tabs a:hover { color: var(--text); text-decoration: none; }
nav.tabs a.active { color: var(--gold); border-bottom-color: var(--gold); font-weight: 700; }

.bingo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
a.card.bingo-item { display: flex; gap: 14px; align-items: flex-start; color: var(--text); margin: 0; }
a.card.bingo-item:hover { text-decoration: none; border-color: rgba(245, 197, 66, 0.45); }
a.card.bingo-item .grow { flex: 1; min-width: 0; }
a.card.bingo-item h2 { margin-bottom: 6px; }

.bingo-grid { display: grid; gap: 8px; max-width: 880px; margin: 12px 0; }
.size-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.size-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.size-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.size-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.size-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }

.bcell {
  position: relative; aspect-ratio: 1 / 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 10px 6px 8px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line);
  color: var(--text); text-align: center; overflow: hidden;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
a.bcell:hover { border-color: var(--gold); transform: translateY(-2px); text-decoration: none; background: rgba(245, 197, 66, 0.06); }
.bcell .bimg { width: 58%; height: 50%; object-fit: contain; }
.bcell .bimg.placeholder { display: block; border-radius: 10px; background: var(--surface-2); }
.bcell .blabel { font-size: 12.5px; font-weight: 700; line-height: 1.2; max-height: 2.4em; overflow: hidden; }
.bcell .bnpc { font-size: 11px; color: var(--muted); line-height: 1.1; }
.bcell.empty { border-style: dashed; background: rgba(255, 255, 255, 0.015); color: var(--faint); }
.bcell .bplus { width: 26px; height: 26px; color: var(--faint); }
.bcell.free { background: rgba(245, 197, 66, 0.1); border-color: rgba(245, 197, 66, 0.55); }
.bcell .bstar { width: 38px; height: 38px; color: var(--gold); }
.bbadge { position: absolute; top: 6px; font-size: 11px; font-weight: 900; padding: 1px 7px; border-radius: 8px; }
.bbadge.req { left: 6px; color: var(--gold); border: 1px solid rgba(245, 197, 66, 0.6); background: rgba(10, 15, 40, 0.8); }
.bbadge.pts { right: 6px; color: var(--bg-top); background: var(--gold); }
.bdone { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 800; color: var(--bg-top); background: var(--green); padding: 1px 8px; border-radius: 8px; }
.bdone .i { width: 12px; height: 12px; }
.bdots { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; }
svg.dot { display: inline-block; vertical-align: middle; flex: none; }

.bingo-grid.progress .bcell { aspect-ratio: auto; min-height: 156px; justify-content: flex-start; }
.bingo-grid.progress .bimg { width: 54px; height: 54px; }
.bcell.done { border-color: rgba(52, 211, 153, 0.65); background: rgba(52, 211, 153, 0.08); }
.bcell.partial { border-color: rgba(245, 197, 66, 0.45); }
.bstatus { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); }
.bstatus .i { width: 12px; height: 12px; }
.bstatus.ok { color: var(--green); font-weight: 700; }
.bstatus.bad { color: var(--red); font-weight: 700; }
.bbuttons { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-top: auto; }
.bbuttons .btn.small { padding: 4px 8px; font-size: 12px; }

.mini-grid { display: grid; gap: 3px; width: 150px; }
.mini-grid > * { aspect-ratio: 1 / 1; border-radius: 4px; background: rgba(255, 255, 255, 0.12); display: block; }
.mini-grid > .blank { background: rgba(255, 255, 255, 0.04); border: 1px dashed var(--line); }
.mini-grid > .on { background: var(--gold); }
.mini-grid > .current { outline: 2px solid var(--gold); outline-offset: 1px; background: rgba(245, 197, 66, 0.5); }
.mini-grid > a:hover { background: rgba(245, 197, 66, 0.35); }
.mini-grid.tiny { width: 64px; gap: 2px; }
.mini-grid.tiny > * { border-radius: 2px; }

.pick-grid { display: grid; gap: 6px; max-width: 420px; margin: 8px 0 14px; }
label.pick { position: relative; cursor: pointer; }
label.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
label.pick span {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--faint); font-size: 12px; font-weight: 700;
}
label.pick input:checked + span { background: var(--gold); color: var(--bg-top); border-color: var(--gold); }
label.pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.cell-layout { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: start; }
ul.item-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
ul.item-list li { display: flex; align-items: center; gap: 8px; }

.teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-bottom: 20px; }
.card.team { margin: 0; }
ul.members { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
ul.members li {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px 4px 3px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); font-size: 13px;
}
details { margin-top: 8px; }
details summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.stat-grid.small-stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
table.shapes td:first-child { width: 80px; }

/* ============================================================ Mažesni ekranai */

@media (max-width: 1100px) {
  .hero { grid-template-columns: 180px minmax(0, 1fr); }
  .hero-form { grid-column: 1 / -1; }
  .columns { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  body.app { grid-template-columns: 1fr; }
  .sidebar {
    position: sticky; z-index: 10; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center;
    gap: 10px; padding: 10px 14px; border-right: none; border-bottom: 1px solid var(--line);
  }
  .brand small { display: none; }
  .side-nav { flex-direction: row; flex-wrap: wrap; order: 3; width: 100%; }
  .side-nav a { padding: 8px 12px; }
  .side-nav a.active::before { display: none; }
  .side-user { margin: 0 0 0 auto; padding: 4px 6px; }
  .side-user .who { display: none; }
  main { padding: 20px 16px 32px; }
  .cell-layout { grid-template-columns: 1fr; }
  form.settings .fields.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  h1 { font-size: 25px; }
  .card { padding: 16px; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .badges { justify-content: center; }
  .side-nav a span { display: none; }
  form.settings .fields { grid-template-columns: 1fr; }
  td, th { padding: 8px 6px; }
  .bingo-grid { gap: 4px; }
  .bcell { padding: 6px 3px; border-radius: 10px; }
  .bcell .blabel { font-size: 10px; }
  .bbadge { font-size: 9px; padding: 0 4px; }
  .search-box.small { width: 100%; }
}

/* ============================================================ Nustatymai, nariai, pateikimai */

.nav-count {
  margin-left: auto; min-width: 22px; padding: 0 7px; border-radius: 999px; text-align: center;
  font-style: normal; font-size: 11.5px; font-weight: 800; line-height: 20px;
  color: var(--bg-top); background: var(--gold);
}
nav.tabs .nav-count { margin-left: 4px; }
.sidebar { overflow-y: auto; }

.setting-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); gap: 16px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
}
.setting-row:last-child { border-bottom: none; }
.setting-label { display: flex; gap: 12px; align-items: flex-start; }
.setting-label > .i { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.setting-label b { display: block; }
.setting-label span { display: block; }
.sticky-actions { position: sticky; bottom: 12px; z-index: 5; margin: -6px 0 20px; justify-content: flex-end; }
.sticky-actions .btn { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; max-width: none; }
.filters .search-box { flex: 1 1 260px; }
.filters select { width: auto; }
.inactive-box { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.inactive-box input[type="number"] { width: 78px; }
.avatar.sm { width: 30px; height: 30px; border-width: 1px; }
.player { display: inline-flex; align-items: center; gap: 10px; }
td.flags { white-space: nowrap; }
.flag { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--green); background: rgba(52, 211, 153, 0.1); margin-left: 4px; }
.flag.warn { color: var(--orange); background: rgba(251, 146, 60, 0.12); }
.flag .i { width: 14px; height: 14px; }

.skill-ico { width: 44px; height: 44px; object-fit: contain; flex: none; }
.skill-ico.placeholder { display: inline-block; border-radius: 10px; background: var(--surface-2); }

.card.submission { display: grid; grid-template-columns: minmax(220px, 360px) minmax(0, 1fr); gap: 22px; align-items: start; }
.shot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); }
.shot img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.shot.empty { display: grid; place-items: center; height: 200px; color: var(--faint); }
.shot.empty .i { width: 40px; height: 40px; }
.sub-body { min-width: 0; }
.sub-body .card-head { margin-bottom: 8px; }
.sub-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); }
.sub-meta .i { width: 14px; height: 14px; }
blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 10px 10px 0; color: var(--text); }
.decision { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

@media (max-width: 900px) {
  .card.submission { grid-template-columns: 1fr; }
  .setting-row { grid-template-columns: 1fr; }
  .nav-count { margin-left: 4px; }
}

/* ============================================================ Vieši puslapiai (be prisijungimo) */

body.public { display: block; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 18px;
  padding: 12px 28px;
  background: rgba(5, 8, 24, 0.82); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.topbar .brand { padding: 0; }
.topbar .motif { width: 40px; height: 40px; }
.top-nav { display: flex; gap: 6px; margin-right: auto; }
.top-nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px;
  color: var(--muted); font-weight: 600;
}
.top-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.top-nav a.active { color: var(--gold); background: var(--gold-soft); }
body.public .content { min-height: calc(100vh - 66px); }
div.card.bingo-item { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
div.card.bingo-item .grow { flex: 1; min-width: 0; }
div.card.bingo-item h2 { margin-bottom: 6px; }
.public-message { max-width: 560px; margin: 40px auto; }
.lead { color: var(--muted); max-width: 820px; line-height: 1.6; margin: -10px 0 20px; white-space: pre-line; }
.anchor { scroll-margin-top: 84px; }
ol.prize-list { margin: 0 0 12px; padding-left: 0; list-style: none; display: grid; gap: 6px; }
ol.prize-list li { padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-soft); }
ul.shape-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
ul.shape-list li {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line-soft);
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.team-block { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-soft); }
.team-block h3 { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.team-block p { margin: 0; }

@media (max-width: 640px) {
  .topbar { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
  .topbar .brand small { display: none; }
  .top-nav a span { display: none; }
}

/* ============================================================ Klano pradžios puslapis */

:root { --lt-yellow: #fdb913; --lt-green: #00894f; --lt-red: #d0262e; --navy-deep: #060a24; }

.emblem { width: 56px; height: 65px; flex: none; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45)); }
.emblem.small { width: 34px; height: 40px; filter: none; }
.emblem.big { width: 150px; height: 174px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55)); }

.landing-hero {
  position: relative; overflow: hidden; margin: -6px 0 26px;
  border-radius: 24px; border: 1px solid rgba(205, 214, 228, 0.2);
  background:
    radial-gradient(700px 320px at 18% 30%, rgba(245, 197, 66, 0.12), transparent 70%),
    linear-gradient(160deg, #13205a 0%, #0a1240 45%, var(--navy-deep) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.hero-texture {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top;
  opacity: 0.22; image-rendering: pixelated; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}
.hero-inner { position: relative; display: flex; align-items: center; gap: 40px; padding: 52px 56px 48px; }
.hero-copy { max-width: 760px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.hero-title {
  font-size: 54px; line-height: 1.05; margin: 10px 0 14px;
  background: linear-gradient(180deg, #ffffff 0%, #d9dfeb 55%, #9aa6c0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
}
.hero-lead { color: #c4cde3; font-size: 17px; line-height: 1.7; margin: 0 0 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn.big { margin: 14px 0 0; }
.tricolor { position: relative; display: grid; grid-template-rows: repeat(3, 5px); }
.tricolor span:nth-child(1) { background: var(--lt-yellow); }
.tricolor span:nth-child(2) { background: var(--lt-green); }
.tricolor span:nth-child(3) { background: var(--lt-red); }

.landing-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.landing-section { margin-bottom: 26px; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 21px; margin: 6px 0 14px; }
.section-title .i { color: var(--gold); width: 22px; height: 22px; }

.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.event-card { display: flex; flex-direction: column; gap: 12px; margin: 0; color: var(--text); position: relative; overflow: hidden; }
.event-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--gold); }
.event-card.pvm::before { background: var(--red); }
.event-card.xp::before { background: var(--green); }
.event-card.bingo::before { background: var(--violet); }
a.event-card:hover { text-decoration: none; border-color: rgba(245, 197, 66, 0.45); transform: translateY(-2px); }
.event-top { display: flex; gap: 14px; align-items: center; }
.event-top h3 { margin: 4px 0 2px; font-size: 17px; }
.event-top .grow { min-width: 0; }
.event-art { width: 48px; height: 48px; flex: none; object-fit: contain; }
span.event-art.ico { width: 48px; height: 48px; border-radius: 14px; }
.event-more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; font-size: 13.5px; margin-top: auto; }
ol.leaders.compact li { padding: 7px 0; }
.empty-events { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 0; }
.empty-events p { margin: 0; }

.columns-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.columns-2 > .card { margin: 0; }
ul.feed { list-style: none; margin: 0; padding: 0; }
ul.feed li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
ul.feed li:last-child { border-bottom: none; }
ul.feed .grow { flex: 1; min-width: 0; }
ul.feed .grow b, ul.feed .grow span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
ul.feed .when { color: var(--faint); font-size: 12.5px; white-space: nowrap; }
ul.feed .ico { width: 32px; height: 32px; }

.leaders-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.leader {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 120px; padding: 14px 16px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--line-soft); text-align: center;
}
.leader-avatar { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; }
.leader .muted { display: inline-flex; align-items: center; gap: 5px; }
.rank-ico { width: 18px; height: 18px; object-fit: contain; image-rendering: pixelated; vertical-align: -4px; }
.rank-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rank-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-soft); font-size: 13.5px; color: var(--muted);
}
.rank-chip b { color: var(--text); }

.join-card {
  display: flex; align-items: center; gap: 22px; margin-bottom: 10px;
  background: linear-gradient(120deg, rgba(245, 197, 66, 0.08), rgba(96, 165, 250, 0.05)), var(--surface);
}
.join-card h2 { font-size: 20px; margin-bottom: 6px; }
.join-card .grow { flex: 1; }
.join-card p { margin: 0; }

@media (max-width: 1000px) {
  .hero-inner { gap: 26px; padding: 38px 30px; }
  .emblem.big { width: 110px; height: 128px; }
  .hero-title { font-size: 42px; }
  .landing-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .columns-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-inner { flex-direction: column; text-align: center; padding: 30px 18px 26px; }
  .hero-actions { justify-content: center; }
  .hero-title { font-size: 34px; }
  .hero-lead { font-size: 15.5px; }
  .landing-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .join-card { flex-direction: column; text-align: center; }
}

/* Discord mygtukai */
.btn.discord { background: #5865f2; color: #fff; box-shadow: 0 8px 22px rgba(88, 101, 242, 0.35); }
.btn.discord:hover { background: #4752c4; }
.btn.discord .i { width: 20px; height: 20px; }
.top-nav a.nav-discord { color: #aab3ff; }
.top-nav a.nav-discord:hover { color: #fff; background: rgba(88, 101, 242, 0.25); }
.join-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 640px) {
  .join-actions { justify-content: center; }
  .topbar { flex-wrap: nowrap; }
  .topbar > .btn span { display: none; }
  .topbar > .btn { padding: 8px 10px; }
}

/* ============================================================ RuneScape ikonos (RuneScape Wiki) */

.rs-img { display: inline-block; flex: none; vertical-align: middle; object-fit: contain; image-rendering: pixelated; }
.rs-img.smooth { image-rendering: auto; }
/* Ikonos langelis kaip žaidimo inventoriuje: tamsus fonas, auksinis apvadas, šviesa iš viršaus. */
.rs-ico {
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 9px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 214, 120, 0.16), transparent 68%),
    linear-gradient(180deg, #1d2552 0%, #0c1130 100%);
  border: 1px solid #8a6d2f;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 1px rgba(255, 226, 150, 0.12),
    0 3px 10px rgba(0, 0, 0, 0.35);
}
.rs-ico::after {
  content: ""; position: absolute; inset: 3px; border-radius: 6px; pointer-events: none;
  border: 1px solid rgba(245, 197, 66, 0.14);
}
.rs-ico .rs-img, .rs-ico img { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.65)); }
.rs-ico.big { width: 76px; height: 76px; border-radius: 14px; }
.rs-ico.big::after { inset: 4px; border-radius: 10px; }
.card-head h2 .rs-ico { width: 40px; height: 40px; }

.stat .rs-ico.big { width: 72px; height: 72px; }
.landing-stats .stat { gap: 16px; }
.landing-stats .stat b { font-size: 26px; }

.event-top .rs-ico.big { width: 64px; height: 64px; }
.event-img { width: 44px; height: 44px; object-fit: contain; }
.bingo-item .rs-ico.big { width: 64px; height: 64px; }
.empty-events .rs-ico { flex: none; }

ul.feed .feed-ico {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 8px;
  background: rgba(0, 0, 0, 0.22); border: 1px solid var(--line-soft);
}
ul.feed .feed-ico .icon { width: 32px; height: 32px; }

.section-title .rs-img { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); }
.btn .rs-img, .top-nav a .rs-img { margin: -4px 0; }
.pool-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.empty > .rs-img { opacity: 0.85; }

/* ============================================================ Gyvi atnaujinimai (static/public.js) */

.live-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3);
}
.live-badge i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); animation: live-pulse 2s infinite;
}
.section-title .live-badge { margin-left: 4px; }
html.live-offline .live-badge { color: var(--faint); background: var(--surface); border-color: var(--line); }
html.live-offline .live-badge i { background: var(--faint); animation: none; }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.is-new { animation: live-new 6s ease-out; }
ul.feed li.is-new { border-radius: 10px; }
@keyframes live-new {
  0% { background-color: rgba(245, 197, 66, 0.28); box-shadow: inset 3px 0 0 var(--gold); }
  100% { background-color: transparent; box-shadow: inset 3px 0 0 transparent; }
}
.live-note { text-align: center; margin: -10px 0 26px; }
@media (prefers-reduced-motion: reduce) {
  .live-badge i, .is-new { animation: none; }
}
