/* =====================================================================
   SHINOBI REVOLUTION - revonew2 (jasny, niebieski motyw)
   Laduje sie po starych stylach (bootstrap, main, default, basic).
   ===================================================================== */
:root {
  --page-top: #3b97d8;
  --page-bottom: #1565a6;
  --ink: #16263a;
  --muted: #5b6f87;
  --card: #ffffff;
  --line: #d3e2f1;
  --soft: #eaf3fb;
  --blue: #1f7fc4;
  --blue-d: #14598f;
  --head1: #5db3e6;
  --head2: #3a95cf;
  --accent: #ff7a18;
  --accent2: #ffb347;
  --ok: #22c55e;
  --bad: #ef4444;
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Bebas Neue', 'Impact', 'Arial Narrow', sans-serif;
}

/* --- baza (nadpisuje stare body z default.css / main.css) --- */
html { scroll-behavior: smooth; }
body.rv-body {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--page-top) !important;
  background-image: linear-gradient(180deg, var(--page-top) 0%, #2a82c3 38%, var(--page-bottom) 100%) !important;
  background-attachment: scroll !important;
  background-size: auto !important;
  color: #fff;
  font-family: var(--font) !important;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: visible !important;
  -webkit-text-size-adjust: 100%;
}
body.rv-body *, body.rv-body *::before, body.rv-body *::after { box-sizing: border-box; }
body.rv-body img { max-width: 100%; }
:where(body.rv-body) a { color: inherit; text-decoration: none; }
body.rv-body a:hover, body.rv-body a:focus { text-decoration: none; }
:where(body.rv-body) h1, :where(body.rv-body) h2, :where(body.rv-body) h3, :where(body.rv-body) h4, :where(body.rv-body) h5 { margin: 0; font-family: var(--font); color: inherit; }

.rv-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.rv-card {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(8, 50, 90, .22);
}
.rv-card h1, .rv-card h2, .rv-card h3, .rv-card h4, .rv-card h5 { color: var(--ink); }
.rv-muted { color: var(--muted); margin: 6px 0 14px; }
.rv-small { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.rv-small a { color: var(--blue); font-weight: 600; }

/* --- przyciski --- */
.rv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border-radius: 10px; border: 1px solid transparent;
  font: 600 14px/1.2 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.rv-btn:hover { transform: translateY(-1px); }
.rv-btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #ff8a1f, #ff5a1f);
  box-shadow: 0 6px 16px rgba(255,106,24,.38);
}
.rv-btn-primary:hover { box-shadow: 0 8px 22px rgba(255,106,24,.55); }
.rv-btn-ghost { color: #fff !important; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }
.rv-btn-ghost:hover { background: rgba(255,255,255,.26); }
.rv-card .rv-btn-ghost { color: var(--blue-d) !important; background: var(--soft); border-color: var(--line); }
.rv-card .rv-btn-ghost:hover { background: #dcecf9; }
.rv-btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }
.rv-btn-block { display: flex; width: 100%; margin-top: 10px; }

/* --- formularze --- */
.rv-form input[type=text], .rv-form input[type=password] {
  width: 100%; height: 42px; padding: 0 14px; margin: 0 0 10px;
  color: var(--ink); background: #fff; border: 1px solid #bcd3e8; border-radius: 10px;
  font: 14px var(--font); outline: none;
}
.rv-form input::placeholder { color: #8aa0b8; }
.rv-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,127,196,.18); }
.rv-form.rv-inline { display: flex; gap: 8px; }
.rv-form.rv-inline input { margin: 0; flex: 1; min-width: 0; }


/* ======================= PASEK GORNY (ntsw) ====================== */
.rv-topbar { background: linear-gradient(180deg, #1d5f95, #134a78); border-bottom: 2px solid rgba(255,255,255,.35); box-shadow: 0 3px 12px rgba(8,40,80,.35); position: relative; z-index: 60; }
.rv-topbar-in { display: flex; justify-content: center; gap: clamp(18px, 5vw, 80px); padding-top: 8px; padding-bottom: 8px; }
.rv-tb { display: inline-flex; align-items: center; gap: 9px; font: 400 22px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 6px 8px; border-radius: 8px; transition: color .12s, background .12s; }
.rv-tb:hover { color: var(--accent2); background: rgba(255,255,255,.1); }
.rv-tb .rv-ic { font-style: normal; font-size: 18px; filter: grayscale(1) brightness(2.4); }
.rv-tb-hot { color: var(--accent2); }

/* ====================== BANER (logo + grafika) =================== */
.rv-banner {
  position: relative; overflow: hidden; display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(10,60,110,.55) 0%, rgba(10,60,110,.18) 38%, rgba(10,60,110,0) 62%),
    linear-gradient(180deg, rgba(10,60,110,0) 70%, rgba(42,130,195,.9) 100%),
    var(--rv-bg) center 14% / cover no-repeat;
}
.rv-banner-lg { min-height: 440px; padding: 30px 0 70px; }
.rv-banner-sm { min-height: 170px; padding: 18px 0 34px; }
.rv-banner-in { position: relative; }
.rv-banner-l { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rv-logo { display: block; }
.rv-hero-logo { display: block; width: min(380px, 76vw); height: auto; filter: drop-shadow(0 8px 22px rgba(5,30,70,.55)); }
.rv-banner-sm .rv-banner-l { flex-direction: row; align-items: center; gap: 28px; }
.rv-banner-sm .rv-hero-logo { width: 170px; }
.rv-tag { margin: 0; font: italic 700 24px/1.1 var(--display); letter-spacing: .08em; color: #fff; text-shadow: 0 3px 14px rgba(5,40,80,.7); }
.rv-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(8,50,90,.6); border: 1px solid rgba(255,255,255,.4); }
.rv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.rv-pill.on .rv-dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: rvPulse 2s infinite; }
@keyframes rvPulse { 50% { opacity: .45; } }
.rv-banner-title .rv-crumb { font-size: 13px; color: rgba(255,255,255,.9); }
.rv-crumb a:hover { color: var(--accent2); }
.rv-banner-title h1 { font-family: var(--display) !important; font-weight: 400; font-size: clamp(32px, 4.5vw, 50px); letter-spacing: .04em; margin-top: 2px !important; color: #fff; text-shadow: 0 3px 16px rgba(5,40,80,.6); line-height: 1; }

/* ========================== MENU (sticky) ========================= */
.rv-navbar { position: sticky; top: 0; z-index: 100; background: linear-gradient(180deg, #5db3e6, #3a95cf); border-top: 1px solid rgba(255,255,255,.5); border-bottom: 1px solid rgba(8,60,110,.35); box-shadow: 0 6px 16px rgba(8,50,90,.3); }
.rv-navbar-in { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.rv-nav { flex: 1; display: flex; }
.rv-menu-root { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.rv-menu-root > li { position: relative; }
.rv-menu-root > li > a { display: flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; font: 400 21px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.rv-menu-root > li > a:hover, .rv-dd.open > a { background: rgba(255,255,255,.25); }
.rv-menu-root > li > a.active { background: linear-gradient(180deg, #ff8a1f, #ff5a1f); box-shadow: 0 3px 10px rgba(255,106,24,.4); }
.rv-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .85; }
.rv-menu { position: absolute; left: 0; top: calc(100% + 8px); min-width: 220px; z-index: 120; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 36px rgba(8,50,90,.35); display: none; }
.rv-dd.open > .rv-menu { display: block; }
@media (hover: hover) and (min-width: 1001px) {
  .rv-dd:hover > .rv-menu { display: block; }
  .rv-dd:hover > a { background: rgba(255,255,255,.25); }
}
.rv-menu li a, .rv-menu li .rv-soon { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.rv-menu li a:hover { background: #e6f2fc; color: var(--blue-d); }
.rv-soon { color: var(--muted) !important; cursor: default; }
.rv-soon em { font-style: normal; font-size: 11px; padding: 2px 7px; margin-left: 6px; border-radius: 999px; background: var(--soft); }
.rv-search { display: flex; flex: 0 0 240px; background: rgba(255,255,255,.95); border-radius: 12px; overflow: hidden; border: 1px solid rgba(8,60,110,.25); }
.rv-search input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 0; background: transparent; color: var(--ink); font: 14px var(--font); outline: none; }
.rv-search button { width: 40px; border: 0; background: transparent; cursor: pointer; font-size: 15px; filter: grayscale(1); }
.rv-burger { display: none; align-items: center; gap: 5px; height: 42px; padding: 0 14px; border: 1px solid rgba(255,255,255,.7); border-radius: 10px; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; }
.rv-bars { font-style: normal; font-size: 22px; line-height: 1; }
.rv-burger b { margin-left: 8px; font: 400 20px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }

/* ======================== 3 KOLUMNY (uklad) ====================== */
.rv-grid3 { display: grid; grid-template-columns: 240px minmax(0, 1fr) 300px; gap: 22px; margin-top: 26px; margin-bottom: 50px; align-items: start; }
.rv-left, .rv-side { display: flex; flex-direction: column; gap: 16px; }
.rv-center { text-align: center; }
.rv-small.rv-center { margin-top: 10px; line-height: 1.8; }
.rv-main { min-width: 0; }

/* kafelek statystyk (pasek nad newsami) */
.rv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.rv-stat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.rv-stat > i { font-style: normal; font-size: 26px; line-height: 1; }
.rv-stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: .03em; color: var(--blue-d); }
.rv-stat span { display: block; margin-top: 2px; font-size: 11px; line-height: 1.2; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* przycisk DOWNLOAD (lewa kolumna) */
.rv-dl { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, #ff8a1f, #ff5a1f); box-shadow: 0 8px 22px rgba(255,106,24,.45); border: 1px solid rgba(255,255,255,.4); transition: transform .15s, box-shadow .15s; }
.rv-dl:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,106,24,.6); }
.rv-dl i { flex: 0 0 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 22px; border-radius: 50%; background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.7); }
.rv-dl > span { min-width: 0; }
.rv-dl b { display: block; font: 400 26px/1 var(--display); white-space: nowrap; letter-spacing: .06em; text-transform: uppercase; }
.rv-dl em { display: block; font-style: normal; font-size: 12px; opacity: .95; }

/* Game menu */
.rv-menu-list { list-style: none; margin: 0 !important; padding: 0; }
.rv-gamemenu.rv-widget > .rv-menu-list { margin: 0 8px !important; }
.rv-menu-list li a { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.rv-menu-list li a::after { content: ''; width: 7px; height: 7px; border-right: 2px solid #9db6cf; border-top: 2px solid #9db6cf; transform: rotate(45deg); }
.rv-menu-list li a:hover { background: #e6f2fc; color: var(--blue-d); }

/* Event (prawa kolumna) */
.rv-event { padding: 18px; border-radius: var(--radius); color: var(--ink); background: linear-gradient(135deg, #fff3e6, #e3f1ff); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(8,50,90,.22); }
.rv-event h3 { font: 400 28px/1.05 var(--display) !important; letter-spacing: .04em; color: #c25a00 !important; margin: 8px 0 6px !important; }
.rv-event p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.rv-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #fff; background: linear-gradient(135deg, #ff9a2e, #ff6a1f); }
.rv-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 4px; }
.rv-count div { padding: 8px 2px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.rv-count b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1; color: var(--blue-d); }
.rv-count span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ======================== SEKCJE / KAFELKI ==================== */
.rv-section { margin-top: 44px; }
.rv-h2 { font-family: var(--display) !important; font-weight: 400; font-size: 34px; letter-spacing: .04em; color: #fff; margin-bottom: 16px !important; text-shadow: 0 2px 10px rgba(5,40,80,.35); }
.rv-h2::after { content: ''; display: block; width: 56px; height: 3px; margin-top: 6px; border-radius: 3px; background: var(--accent); }
.rv-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rv-tile { display: flex; flex-direction: column; gap: 4px; padding: 20px; transition: transform .15s ease, border-color .15s ease, box-shadow .15s; }
.rv-tile:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 28px rgba(8,50,90,.3); }
.rv-tile-ico { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 8px; border-radius: 12px; background: var(--soft); }
.rv-tile b { font-size: 16px; color: var(--ink); }
.rv-tile span:last-child { font-size: 13px; color: var(--muted); }

.rv-shots { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.rv-shot { flex: 0 0 min(440px, 82%); margin: 0; scroll-snap-align: start; border-radius: 14px; overflow: hidden; border: 3px solid #fff; background: #0b2540; position: relative; box-shadow: 0 8px 22px rgba(8,50,90,.3); }
.rv-shot img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.rv-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(5,30,60,.85)); }
.rv-shots::-webkit-scrollbar { height: 8px; } .rv-shots::-webkit-scrollbar-thumb { background: rgba(255,255,255,.45); border-radius: 8px; }

.rv-section { margin-top: 26px; }
.rv-h2 { font-size: 30px !important; }
.rv-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; }
.rv-tile { padding: 16px !important; }

/* tresc podstron: biala karta (stare tabele i formularze maja jasne tla) */
.rv-paper {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 8px 24px rgba(8,50,90,.22);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  font-size: 15px;
}
.rv-paper .news { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.rv-paper a { color: #1a73c8; }
.rv-paper a:hover { color: #ff6a18; }
.rv-paper h1, .rv-paper h2, .rv-paper h3, .rv-paper h4 { color: #12304f; }
.rv-paper p { margin: 0 0 10px; }
.rv-paper img { height: auto; }
.rv-paper table { max-width: 100%; }
.rv-paper input[type=text], .rv-paper input[type=password], .rv-paper input[type=email], .rv-paper select, .rv-paper textarea { max-width: 100%; border-radius: 8px; }
.rv-paper input[type=submit], .rv-paper button, .rv-paper .btn { border-radius: 8px; }

/* Strona glowna (latestnews.php) ma ciemne okienka z inline stylem - przestawiamy je na jasne */
.rv-paper [style*="rgba(15"], .rv-paper [style*="rgba(10"] {
  background: #eaf4fd !important; border-color: #c4dcf1 !important; box-shadow: none !important;
}
.rv-paper [style*="#e9eef7"] { color: #1b2f47 !important; }
.rv-paper [style*="#b8c4dd"] { color: #55708c !important; }
.rv-paper [style*="#cfe3ff"] { color: #174a78 !important; }
.rv-paper [style*="#ffd36a"] { color: #c26a00 !important; }
.rv-paper [style*="#7cc4ff"] { color: #1a73c8 !important; }
.rv-paper [style*="#1f2b44"] { background: #cfe5fa !important; border-color: #a9cdee !important; }
.rv-paper [style*="border-left"] { border-left-color: #ff9a2e !important; }
.rv-widget { padding: 0 0 12px; overflow: hidden; }
.rv-widget > *:not(h4) { margin-left: 16px; margin-right: 16px; }
.rv-widget h4 {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 0 0 12px !important; padding: 11px 16px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff !important; background: linear-gradient(180deg, var(--head1), var(--head2));
}
.rv-widget h4 a { font-size: 12px; letter-spacing: .04em; text-transform: none; color: rgba(255,255,255,.9); font-weight: 500; }
.rv-widget h4 a:hover { color: #fff; text-decoration: underline; }
.rv-list { list-style: none; padding: 0; }
.rv-list li a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; transition: background .12s; color: var(--ink); }
.rv-list li a:hover { background: #eef6fd; }
.rv-rank { flex: 0 0 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font: 700 12px var(--font); font-style: normal; background: var(--soft); color: var(--muted); }
.rv-rank.r1 { background: linear-gradient(135deg, #ffd36a, #ff9a2e); color: #3a1c00; }
.rv-rank.r2 { background: linear-gradient(135deg, #eef2f8, #b6c2d4); color: #1b2233; }
.rv-rank.r3 { background: linear-gradient(135deg, #f0b98d, #cf7a3c); color: #2a1303; }
.rv-av { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rv-av img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rv-li-main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ink); }
.rv-li-main b { font-weight: 700; }
.rv-li-main em { font-style: normal; color: var(--muted); font-size: 13px; }
.rv-li-end { font-size: 12px; color: var(--muted); white-space: nowrap; }
.rv-deaths li a { padding: 9px 6px; }
.rv-deaths .rv-li-main { white-space: normal; }

.rv-discord { display: block; padding: 18px 20px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, #5865f2, #3b47c9); box-shadow: 0 8px 22px rgba(60,70,200,.4); transition: transform .15s; }
.rv-discord:hover { transform: translateY(-2px); }
.rv-discord b { display: block; font-size: 16px; }
.rv-discord span { font-size: 13px; opacity: .9; }
/* ============================ STOPKA ========================== */
.rv-footer { border-top: 1px solid rgba(255,255,255,.25); background: #0f4a7d; color: #fff; padding-top: 40px; }
.rv-footer-in { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.rv-footer-brand img { height: 46px; width: auto; display: block; margin-bottom: 12px; }
.rv-footer-brand p { margin: 0; max-width: 360px; font-size: 13px; color: #b9d4ec; }
.rv-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rv-footer-cols h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent2); margin-bottom: 10px !important; }
.rv-footer-cols a { display: block; padding: 4px 0; font-size: 14px; color: #d6e8f8; }
.rv-footer-cols a:hover { color: #fff; }
.rv-footer-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.2); font-size: 12px; color: #a9c9e6; }

/* ============================ RWD ================================ */
@media (max-width: 1180px) {
  .rv-grid3 { grid-template-columns: 220px minmax(0, 1fr); }
  .rv-side { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
  .rv-side .rv-event { grid-column: 1 / -1; }
  .rv-search { flex-basis: 190px; }
  .rv-menu-root > li > a { padding: 9px 11px; font-size: 19px; }
}
@media (max-width: 1000px) {
  .rv-wrap { padding: 0 16px; }
  .rv-navbar-in { flex-wrap: wrap; gap: 10px; padding-top: 7px; padding-bottom: 7px; }
  .rv-burger { display: inline-flex; }
  .rv-search { flex: 1; }
  .rv-nav { display: none; flex-basis: 100%; order: 3; flex-direction: column; padding-bottom: 8px; }
  .rv-nav.open { display: flex; }
  .rv-menu-root { flex-direction: column; gap: 4px; width: 100%; }
  .rv-menu-root > li > a { padding: 12px 14px; background: rgba(255,255,255,.16); justify-content: space-between; }
  .rv-menu { position: static; display: none; margin: 4px 0 6px; box-shadow: none; }
  .rv-dd.open > .rv-menu { display: block; }
  .rv-topbar-in { gap: 6px; flex-wrap: wrap; }
  .rv-tb { font-size: 18px; padding: 4px 8px; }
  .rv-banner-lg { min-height: 340px; padding: 22px 0 54px; }
  .rv-grid3 { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
  .rv-main { order: 1; } .rv-left { order: 2; } .rv-side { order: 3; }
  .rv-left { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
  .rv-gamemenu { display: none; }
  .rv-paper { padding: 16px; }
  .rv-footer-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rv-stats { grid-template-columns: repeat(2, 1fr); }
  .rv-hero-logo { width: min(290px, 74vw); }
  .rv-banner-sm .rv-banner-l { gap: 14px; } .rv-banner-sm .rv-hero-logo { width: 110px; }
  .rv-tag { font-size: 20px; }
  .rv-tiles { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .rv-footer-cols { grid-template-columns: 1fr 1fr; }
  .rv-topbar-in { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
  .rv-tb { font-size: 14px; letter-spacing: .03em; white-space: nowrap; justify-content: center; gap: 6px; padding: 6px 2px; }
  .rv-tb .rv-ic { font-size: 14px; }
  .rv-banner-lg { min-height: 0; padding: 18px 0 44px; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---- zakladki Last deaths / Last kills ---- */
.rv-tabs { display: flex; gap: 6px; margin-bottom: 8px !important; padding: 4px; background: var(--soft); border-radius: 10px; }
.rv-tabs button { flex: 1; padding: 8px 6px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 600 13px var(--font); cursor: pointer; }
.rv-tabs button.on { background: #fff; color: var(--blue-d); box-shadow: 0 1px 4px rgba(8,50,90,.18); }
.rv-feed-sub { margin: 0 16px 6px !important; font-size: 12px; color: var(--muted); }
.rv-feed-sub b { color: var(--accent); }
.rv-pane[hidden] { display: none; }
.rv-empty { padding: 8px 6px; font-size: 13px; color: var(--muted); }
.rv-li-main u { text-decoration: none; color: var(--blue-d); font-weight: 600; }

