/* =====================================================================
   RealRezist Theme - dark/gold gaming skin for WebEngine CMS
   Visual layer only. Layout rows are handled in index.php.
   ===================================================================== */

/* Marcellus ships in a single (regular) weight only. Disable synthetic bold
   so the many font-weight:700/800 rules render the real, clean Marcellus
   glyphs instead of an ugly browser-faked bold. Fonts that DO have real bold
   weights loaded (Open Sans, Rajdhani) are unaffected. */
*, *::before, *::after { font-synthesis: none; -webkit-font-synthesis: none; }

/* The base template (style.css / cmu.css / dmn.css) smears a hard
   `text-shadow: 2px 2px black` on buttons, inputs, account links, the
   rankings menu and various titles. On the new clean theme that makes text
   look doubled / smeared (worst on the gold Sign In / Create Account CTAs).
   Strip it on every interactive + themed surface. Intentional soft glows on
   titles (brand name, HOME, etc.) live on their own elements and are kept. */
button, input, select, textarea, .button,
.gn-btn, .gn-menu a, .gn-lang-trigger, .gn-lang-menu a,
.rr-quick-btn, .rr-quick-btn *,
.rr-modal, .rr-modal *,
.account-content a, .accp a, .accp1 a, .accp2 a, .accp3 a, .accp4 a,
.rankings-glass-menu a {
  text-shadow: none !important;
}

:root {
  --rr-bg-panel: rgba(15,12,13,0.72);
  --rr-bg-panel-2: rgba(20,16,17,0.9);
  /* one consistent gold border colour used for every panel / table / card edge */
  --rr-border: rgba(201,168,76,0.32);
  --rr-border-strong: rgba(201,168,76,0.32);
  --rr-gold: #c9a84c;
  --rr-gold-lt: #f7ddbf;
  --rr-text: #cfc4b2;
  --rr-muted: #8a7c64;
}

/* ===================== GLOBAL: NO STRAY UNDERLINES =====================
   The base template/bootstrap add `text-decoration:underline` on several link
   hovers (news titles, content links, etc.). Kill them everywhere for a clean
   gaming look. Hover feedback is handled with colour changes instead. */
a, a:link, a:visited, a:hover, a:focus, a:active,
.last-more-fon a, .last-more-fon a:hover,
.last-news-title a, .last-news-title a:hover,
.we-news-title a, .we-news-title a:hover {
  text-decoration: none !important;
}

/* ===================== GAMING NAVBAR (single row) ===================== */
.gn-bar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 9999;
  background: linear-gradient(180deg, #241811 0%, #181009 60%, #120b07 100%);
  border-bottom: 2px solid var(--rr-gold);
  box-shadow: 0 6px 26px rgba(0,0,0,0.6), inset 0 1px 0 rgba(247,221,191,0.12);
}
.gn-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 24px; height: 66px;
}

/* ---- Brand (logo + name + version) ---- */
.gn-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0; margin-right: 16px;
}
.gn-brand-logo {
  height: 40px; width: auto;
  filter: drop-shadow(0 2px 7px rgba(0,0,0,0.65));
}
.gn-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.gn-brand-name {
  font-family: 'Marcellus', serif; font-size: 21px; letter-spacing: 1.2px;
  color: var(--rr-gold); text-transform: uppercase;
  text-shadow: 0 0 16px rgba(201,168,76,0.25);
}
.gn-brand-ver {
  font-family: 'Rajdhani', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 2.2px; text-transform: uppercase; color: var(--rr-muted); margin-top: 3px;
}
.gn-brand:hover .gn-brand-name { color: var(--rr-gold-lt); }

/* ---- Game Version badge (RZ-style with hover tooltip) ---- */
.gn-version {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6px 14px; margin-right: 20px; line-height: 1.15;
  border: 1px solid var(--rr-border-strong); border-radius: 4px;
  background: linear-gradient(180deg, rgba(201,168,76,0.10), rgba(0,0,0,0.25));
  white-space: nowrap; flex-shrink: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.gn-version:hover { border-color: var(--rr-gold); box-shadow: 0 0 14px rgba(201,168,76,0.18); }
.gn-version-label {
  font-family: 'Rajdhani', 'Open Sans', sans-serif;
  font-size: 8px; font-weight: 600; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--rr-muted);
}
.gn-version-num {
  font-family: 'Marcellus', serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--rr-gold); margin-top: 1px;
}
.gn-version-tip {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: 190px; padding: 18px 22px 16px;
  background: linear-gradient(180deg, #16100e, #0c0807);
  border: 1px solid var(--rr-border-strong); border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.7);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease; z-index: 100000;
}
.gn-version:hover .gn-version-tip {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.gn-version-tip::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-bottom: 6px solid var(--rr-border-strong);
}
.gn-version-tip img { width: 128px; height: auto; opacity: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6)); }
.gn-version-tip-title {
  font-family: 'Marcellus', serif; font-size: 15px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase; color: var(--rr-gold);
  text-shadow: none; line-height: 1;
}
.gn-version-tip-sub {
  font-family: 'Rajdhani', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--rr-muted);
}

/* ===== Main menu (inline in the single bar, centered) =====
   Default = parchment text + bright-gold icon. Hover/active = a SOLID gold
   cover fills the whole item and the text + icon flip dark. */
.gn-menu { display: flex; align-items: center; justify-content: center; flex: 1; gap: 4px; height: 100%; padding: 0 6px; }
.gn-menu a {
  display: flex; align-items: center; height: 40px;
  color: #e6d6ac; font-size: 12.5px; font-weight: 400;
  text-transform: uppercase; text-decoration: none;
  padding: 0 12px; letter-spacing: 1px;
  font-family: 'Marcellus', serif; position: relative;
  border-radius: 6px; white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.gn-menu a:hover, .gn-menu a.active {
  color: #1c1306; text-decoration: none;
  background: linear-gradient(180deg, #f3d680 0%, #cba745 60%, #a9842f 100%);
  box-shadow: none;
}
/* bigger, clearly-placed bright-gold icons (filled shapes via CSS mask) */
.gn-menu a.gn-mi { gap: 8px; padding: 0 12px; }
.gn-mi::before {
  content: ''; flex: 0 0 auto; width: 21px; height: 21px;
  background: none; background-color: #f0cf78;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
  opacity: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.5));
  transition: background-color 0.18s ease, filter 0.18s ease;
}
.gn-mi:hover::before, .gn-menu a.active.gn-mi::before {
  background-color: #1c1306; filter: none;
}
.gn-mi-home::before     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M12%203%203%2011h2.4v9h4.3v-5.2h4.6V20h4.3v-9H21z'%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M12%203%203%2011h2.4v9h4.3v-5.2h4.6V20h4.3v-9H21z'%2F%3E%3C%2Fsvg%3E"); }
.gn-mi-info::before     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill-rule%3D'evenodd'%20d%3D'M12%202.4A9.6%209.6%200%201%200%2012%2021.6%209.6%209.6%200%200%200%2012%202.4ZM10.7%2010.5h2.6V17.3h-2.6ZM12%206.2a1.45%201.45%200%201%201%200%202.9%201.45%201.45%200%200%201%200-2.9Z'%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill-rule%3D'evenodd'%20d%3D'M12%202.4A9.6%209.6%200%201%200%2012%2021.6%209.6%209.6%200%200%200%2012%202.4ZM10.7%2010.5h2.6V17.3h-2.6ZM12%206.2a1.45%201.45%200%201%201%200%202.9%201.45%201.45%200%200%201%200-2.9Z'%2F%3E%3C%2Fsvg%3E"); }
.gn-mi-download::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M10.8%203h2.4v6.3h3.4L12%2014.6%207.4%209.3h3.4z'%2F%3E%3Cpath%20d%3D'M5%2016.6h14V20H5z'%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M10.8%203h2.4v6.3h3.4L12%2014.6%207.4%209.3h3.4z'%2F%3E%3Cpath%20d%3D'M5%2016.6h14V20H5z'%2F%3E%3C%2Fsvg%3E"); }
.gn-mi-shop::before     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M7.4%208.6h9.2l.8%2010.8a1%201%200%200%201-1%201.1H7.6a1%201%200%200%201-1-1.1z'%2F%3E%3Cpath%20fill-rule%3D'evenodd'%20d%3D'M9.1%209V6.8a2.9%202.9%200%200%201%205.8%200V9h-1.9V6.8a1%201%200%200%200-2%200V9z'%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M7.4%208.6h9.2l.8%2010.8a1%201%200%200%201-1%201.1H7.6a1%201%200%200%201-1-1.1z'%2F%3E%3Cpath%20fill-rule%3D'evenodd'%20d%3D'M9.1%209V6.8a2.9%202.9%200%200%201%205.8%200V9h-1.9V6.8a1%201%200%200%200-2%200V9z'%2F%3E%3C%2Fsvg%3E"); }
.gn-mi-rankings::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M4.8%203.8h14.4v2.4a7.2%207.2%200%200%201-14.4%200z'%2F%3E%3Cpath%20d%3D'M10.8%2011h2.4v6.8h-2.4z'%2F%3E%3Cpath%20d%3D'M6.6%2017.2h10.8v2.8H6.6z'%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M4.8%203.8h14.4v2.4a7.2%207.2%200%200%201-14.4%200z'%2F%3E%3Cpath%20d%3D'M10.8%2011h2.4v6.8h-2.4z'%2F%3E%3Cpath%20d%3D'M6.6%2017.2h10.8v2.8H6.6z'%2F%3E%3C%2Fsvg%3E"); }
.gn-mi-rules::before    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill-rule%3D'evenodd'%20d%3D'M6.6%203.6h9.4a1.6%201.6%200%200%201%201.6%201.6V20.4H8.2a1.6%201.6%200%200%201-1.6-1.6zM9%207.8h6v1.7H9zM9%2011.4h6v1.7H9zM9%2015h4v1.7H9z'%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill-rule%3D'evenodd'%20d%3D'M6.6%203.6h9.4a1.6%201.6%200%200%201%201.6%201.6V20.4H8.2a1.6%201.6%200%200%201-1.6-1.6zM9%207.8h6v1.7H9zM9%2011.4h6v1.7H9zM9%2015h4v1.7H9z'%2F%3E%3C%2Fsvg%3E"); }
.gn-mi-news::before     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill-rule%3D'evenodd'%20d%3D'M4.5%205h11v14.5H6.1a1.6%201.6%200%200%201-1.6-1.6zM7%208.5h6V10H7zM7%2012h6v1.5H7zM7%2015.4h4v1.5H7z'%2F%3E%3Cpath%20d%3D'M16.5%209.2h3.9v8.7a1.6%201.6%200%200%201-1.6%201.6h-2.3z'%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill-rule%3D'evenodd'%20d%3D'M4.5%205h11v14.5H6.1a1.6%201.6%200%200%201-1.6-1.6zM7%208.5h6V10H7zM7%2012h6v1.5H7zM7%2015.4h4v1.5H7z'%2F%3E%3Cpath%20d%3D'M16.5%209.2h3.9v8.7a1.6%201.6%200%200%201-1.6%201.6h-2.3z'%2F%3E%3C%2Fsvg%3E"); }
/* icon on the logged-in Account button - bigger crisp gold person symbol */
.gn-btn-account::before {
  content: ''; width: 20px; height: 20px; margin-right: 8px; flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'8'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M5%2020a7%207%200%200%201%2014%200'%2F%3E%3C%2Fsvg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'8'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M5%2020a7%207%200%200%201%2014%200'%2F%3E%3C%2Fsvg%3E");
}
.gn-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.gn-btn {
  display: inline-flex; align-items: center;
  padding: 9px 22px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; text-decoration: none;
  border-radius: 3px; letter-spacing: 1px;
  font-family: 'Marcellus', serif;
  position: relative; overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease,
              box-shadow 0.35s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.gn-btn, .gn-btn:hover, .gn-btn:focus, .gn-btn:active { text-decoration: none !important; }
.gn-btn:hover { transform: none; }
.gn-btn:active { transform: none; }
.gn-btn-login {
  background: linear-gradient(180deg, #241b13, #140d09);
  color: var(--rr-gold); border: 1px solid var(--rr-border-strong);
}
.gn-btn-login:hover {
  color: #1a1008; border-color: var(--rr-gold);
  background: linear-gradient(180deg, #d8b75a, #a8842c);
  box-shadow: 0 4px 16px rgba(201,168,76,0.28);
}
.gn-btn-register {
  background: linear-gradient(180deg, #e0bf64, #b3892c);
  color: #1a1008; border: 1px solid #f0d070;
  box-shadow: none;
}
.gn-btn-register:hover {
  background: linear-gradient(180deg, #f7df84, #c9a84c);
  box-shadow: none;
}
/* Admin CP quick-link — sits in the navbar's right cluster (admins only) */
.gn-btn-admin {
  background: linear-gradient(180deg, #2a1d12, #160d08);
  color: #f3da88; border: 1px solid var(--rr-gold);
  box-shadow: inset 0 0 0 1px rgba(247,221,191,0.06);
}
.gn-btn-admin:hover {
  color: #1a1008; border-color: #f0d070;
  background: linear-gradient(180deg, #f7df84, #c9a84c);
  box-shadow: 0 4px 16px rgba(201,168,76,0.28);
}
/* Hide the default bottom-left AdminCP button printed by the CMS core —
   it's now rendered inside the navbar instead. */
.admincp-button { display: none !important; }
.gn-lang { position: relative; margin-left: 14px; }
.gn-lang-trigger {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 1px solid var(--rr-border); border-radius: 3px;
  background: linear-gradient(180deg, #1a1210, #0d0908);
  color: var(--rr-muted); cursor: pointer;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.gn-lang-trigger:hover {
  border-color: var(--rr-border-strong); color: var(--rr-gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.15);
}
.gn-lang-arrow { font-size: 8px; color: var(--rr-muted); }
.gn-lang-menu {
  display: none; position: absolute; top: 100%; right: 0;
  background: #120c0b; border: 1px solid var(--rr-border-strong); border-radius: 4px;
  min-width: 150px; z-index: 10000; margin-top: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.gn-lang-menu.open { display: block; }
.gn-lang-menu a {
  display: block; padding: 9px 14px; color: #b3a890;
  font-size: 11px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.gn-lang-menu a:hover { background: rgba(201,168,76,0.1); color: var(--rr-gold); }
.gn-lang-menu a:last-child { border-bottom: 0; }
body { padding-top: 66px; font-family: 'Open Sans', Arial, Helvetica, sans-serif; }

/* ===================== HIDE OLD NAV ===================== */
#main-navigation, #hidden-navigation { display: none !important; }
.languages2, .languages { display: none !important; }
.we-news-hero { display: none !important; }

/* ===================== SHARED PANEL FRAME ===================== */
.rr-panel-frame {
  background: var(--rr-bg-panel);
  border: 1px solid var(--rr-border);
  border-radius: 5px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.45), inset 0 1px 0 rgba(201,168,76,0.06);
}
.rr-panel-head {
  font-family: 'Marcellus', serif; color: var(--rr-gold);
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 13px 16px;
  border-bottom: 1px solid var(--rr-border);
  background: linear-gradient(180deg, rgba(201,168,76,0.06), transparent);
}

/* ===================== LOGIN / ACCOUNT PANEL =====================
   Keep the original orange title banner + LOG IN button, but make the
   input fields compact and dark (the original input images don't load),
   and turn Lost Password / Register into small buttons under LOG IN.
   ================================================================= */
.rr-security-msg { display: none !important; }
.login-form {
  padding: 0 6px 4px !important;
  display: flex !important; flex-direction: column !important;
  min-height: 252px !important;
}

/* Compact dark inputs that fit the panel width */
.input-user, .input-pass {
  right: 0 !important; left: 0 !important;
  text-align: center !important; padding-top: 10px !important;
}
.input-user input, .input-pass input {
  width: 100% !important; height: 40px !important;
  padding: 0 14px !important;
  background-image: none !important; background-color: #1a1617 !important;
  border: 1px solid #3a3030 !important; border-radius: 3px !important;
  color: #f7ddbf !important; font-size: 13px !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.45) !important;
}
.input-user input:focus, .input-pass input:focus { border-color: var(--rr-gold) !important; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #1a1617 inset !important;
  -webkit-text-fill-color: #f7ddbf !important;
  box-shadow: 0 0 0 1000px #1a1617 inset !important;
}

/* Buttons stack: LOG IN on top (keep original orange image), links beneath */
.login-block .buttons {
  padding-top: 16px !important;
  display: block !important; text-align: center !important;
}
.login-block .button.button-border {
  float: none !important; right: 0 !important;
  margin: 0 auto !important;
}
/* Security notice under the LOG IN button */
.rr-login-note {
  display: flex !important; align-items: center; gap: 9px;
  margin: 14px 4px 0 !important; padding: 9px 12px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 10.5px !important; line-height: 1.5 !important;
  color: #9a8f7e !important; text-align: left !important;
  background: rgba(201,168,76,0.05) !important;
  border: 1px solid rgba(201,168,76,0.14) !important;
  border-left: 2px solid var(--rr-gold) !important;
  border-radius: 3px !important;
}
.rr-note-ic {
  flex: 0 0 auto; width: 26px; height: 26px;
  background: url('../img/icons/alert.png') center / contain no-repeat;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
.rr-login-note strong { color: var(--rr-gold) !important; font-weight: 700 !important; }
/* Lost Password / Register pinned to the bottom of the panel */
.login-block .lost {
  display: flex !important; justify-content: center !important; gap: 8px !important;
  padding-top: 14px !important; margin-top: auto !important;
}
.login-block .lost br { display: none !important; }
.login-block .lost a {
  flex: 0 0 auto;
  padding: 8px 16px !important;
  font-family: 'Marcellus', serif !important;
  font-size: 10px !important; font-weight: 700 !important;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--rr-gold) !important; text-decoration: none !important;
  background: linear-gradient(180deg, rgba(201,168,76,0.08), rgba(0,0,0,0.28)) !important;
  border: 1px solid var(--rr-border-strong) !important; border-radius: 3px !important;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-block .lost a:hover {
  color: var(--rr-gold-lt) !important; border-color: var(--rr-gold) !important;
  box-shadow: 0 0 12px rgba(201,168,76,0.22) !important;
  text-decoration: none !important;
}

/* Logged-in account menu - clean, professional, no sliding effects */
.account-content ul { list-style: none; padding: 14px 16px; margin: 0; }
.account-content .accp { padding: 0; margin-bottom: 6px; border-bottom: none; }
.account-content .accp a {
  display: block; padding: 11px 14px; text-align: left;
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(201,168,76,0.12);
  border-left: 2px solid rgba(201,168,76,0.35);
  border-radius: 3px;
  color: #c2a86a !important; text-decoration: none;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.account-content .accp a:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.3);
  border-left-color: var(--rr-gold);
  color: #f3e3b8 !important;
}
.account-content .accp:last-child a {
  background: rgba(224,96,64,0.04);
  border-color: rgba(180,70,50,0.25);
  border-left-color: rgba(200,80,55,0.6);
  color: #c97a5e !important;
}
.account-content .accp:last-child a:hover {
  background: rgba(200,70,50,0.12);
  border-left-color: #d6694a;
  color: #f0c0ad !important;
}

/* ===================== UNIFIED SIDEBAR PANELS =====================
   Account Panel, Top Players and Castle Siege now share ONE panel frame
   (dark gradient + gold border) and ONE orange "ribbon" header, recreated
   in pure CSS (the original ribbon was baked into fon-account-bg.jpg, which
   could not be reused cleanly across panels of different heights).
   ================================================================== */
.login-block,
.block-players {
  box-sizing: border-box !important;
  min-width: 0 !important; max-width: 100% !important;
  height: auto !important; min-height: 0 !important;
  padding: 0 22px 20px !important;
  background: linear-gradient(180deg, #1d150e 0%, #150d09 60%, #0f0907 100%) !important;
  background-image: linear-gradient(180deg, #1d150e 0%, #150d09 60%, #0f0907 100%) !important;
  background-color: #150d09 !important;
  border: 1px solid rgba(201,168,76,0.2) !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 0 26px rgba(0,0,0,0.32) !important;
  overflow: visible !important;
}
/* Account panel fills the left column; spacing to Top Players handled here */
.login-block {
  float: none !important;
  width: 100% !important;
  margin: 0 0 18px 0 !important;
}
/* Top Players / Castle Siege fill the sidebar column and stack with spacing */
.block-players {
  width: auto !important;
  margin: 0 0 18px !important;
}
.block-players:last-child { margin-bottom: 0 !important; }
.widget-fon {
  width: auto !important; min-width: 0 !important; max-width: 100% !important;
}

/* --- Shared orange ribbon header (trapezoid, centred, flush with panel top) --- */
.widget-title,
.block-widget-title {
  display: block !important;
  width: 203px !important; height: 39px !important;
  max-width: 100% !important;
  margin: 0 auto 16px !important;
  padding: 0 !important;
  position: relative !important; top: 0 !important; right: auto !important; left: auto !important; bottom: auto !important;
  /* uses ONLY the provided paneltitle.png ribbon (203x39) at natural size, centered */
  background: url('../img/template/paneltitle.png') center center / 203px 39px no-repeat !important;
  background-color: transparent !important;
  border: none !important; border-radius: 0 !important;
  -webkit-clip-path: none !important; clip-path: none !important;
  box-shadow: none !important; filter: none !important;
  color: #fff4e2 !important;
  font-family: 'Marcellus', serif !important;
  font-size: 12.5px !important; font-weight: 700 !important;
  letter-spacing: 1.2px !important; text-transform: uppercase !important;
  text-align: center !important; line-height: 37px !important;
  text-shadow: 0 1px 2px rgba(55,22,4,0.65) !important;
}
.widget-title:hover,
.block-widget-title:hover { filter: none !important; }
.top-block { padding: 0 !important; color: var(--rr-text) !important; width: auto !important; }
.top-block a { color: var(--rr-gold) !important; text-decoration: none !important; }
.top-block a:hover { color: #fff !important; }
.top-block p { color: var(--rr-text) !important; margin: 4px 0 !important; }
.top-block strong { color: var(--rr-gold-lt) !important; }

/* Sidebar ranking table */
.rr-rank-table { width: 100%; border-collapse: collapse; margin: 0; }
.rr-rank-table th {
  background: none; color: var(--rr-muted); font-size: 9px; padding: 6px 4px;
  text-align: center; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--rr-border);
}
.rr-rank-table td {
  padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 12px; color: var(--rr-text); text-align: center; vertical-align: middle;
}
.rr-rank-table tr:last-child td { border-bottom: none; }
.rr-rank-table td:first-child { color: var(--rr-gold); font-weight: 800; width: 20px; font-size: 12px; }
.rr-rank-table td.rr-class-cell { width: 30px; padding: 4px 2px; }
.rr-rank-table td.rr-class-cell img {
  width: 24px; height: 24px; border-radius: 3px; border: 1px solid var(--rr-border);
  opacity: 0.95; background: rgba(0,0,0,0.3);
}
.rr-rank-table td.rr-name-cell { text-align: left; font-weight: 600; color: var(--rr-gold-lt); font-size: 12px; }
.rr-rank-table td.rr-val-cell { font-weight: 700; color: #b3a373; padding: 4px 6px; font-size: 12px; }
.rr-rank-table tr:hover td { background: rgba(201,168,76,0.05); }
.rr-rank-link {
  display: block; text-align: center; padding: 10px 0; margin: 12px 0 0;
  background: none;
  border: 1px solid rgba(201,168,76,0.2); border-radius: 2px;
  color: var(--rr-muted) !important; font-size: 10px; font-weight: 700;
  text-transform: uppercase; text-decoration: none !important;
  letter-spacing: 1.5px; transition: all 0.2s; font-family: 'Marcellus', serif;
}
.rr-rank-link:hover { border-color: var(--rr-gold); color: var(--rr-gold) !important; }

/* Top Guilds widget — reuses .rr-rank-table with a slightly larger emblem */
.rr-guild-table td.rr-guild-emblem { width: 40px; padding: 4px 2px; }
.rr-guild-table td.rr-guild-emblem img {
  width: 32px; height: 32px; border-radius: 3px;
  border: 1px solid var(--rr-border); background: rgba(0,0,0,0.3);
  image-rendering: pixelated;
}
.rr-guild-table td.rr-name-cell a { color: var(--rr-gold-lt); text-decoration: none; }
.rr-guild-table td.rr-name-cell a:hover { color: var(--rr-gold); }

/* ===================== CASTLE SIEGE PANEL ===================== */
.cs-emblem { text-align: center; padding: 6px 0 10px; }
.cs-emblem img {
  border: none; border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.cs-meta {
  display: flex; gap: 10px; padding: 10px 0 4px;
  border-top: 1px solid rgba(255,255,255,0.06); margin-top: 6px;
}
.cs-col { flex: 1; }
.cs-label { font-size: 9px; color: var(--rr-muted); text-transform: uppercase; letter-spacing: 1px; }
.cs-value { font-size: 14px; color: var(--rr-gold-lt); font-weight: 700; margin-top: 4px; }
.cs-value a { color: var(--rr-gold) !important; }
.cs-btn {
  display: block; text-align: center; padding: 9px 0; margin-top: 12px;
  background: none;
  border: 1px solid rgba(201,168,76,0.2); border-radius: 2px;
  color: var(--rr-muted) !important; font-size: 10px; font-weight: 700;
  text-transform: uppercase; text-decoration: none !important;
  letter-spacing: 1px; transition: all 0.2s; font-family: 'Marcellus', serif;
}
.cs-btn:hover { border-color: var(--rr-gold); color: var(--rr-gold) !important; }

/* ===================== LAYOUT (ORIGINAL FLOAT MODEL, hardened) =====================
   This mirrors the source template exactly: login floats left + slider fills
   beside it; sidebar floats left + content fills beside it. The content panel
   is given its own block formatting context (overflow:hidden) so it ALWAYS
   sits in the remaining space next to the floated sidebar and can never be
   overlapped by - or overlap - the Top Players / Castle Siege panels, no
   matter how wide its tables are.
   ================================================================================= */
.content { width: 1200px; max-width: 100%; margin-left: auto !important; margin-right: auto !important; }

/* Top row: login (floats left, original 353px) + slider beside it.
   Slider is enlarged so it lines up with the content/HOME panel below. */
.slider { float: none !important; height: 420px !important; }
.slider .slides, .slider .slides .slide {
  height: 420px !important;
  background-size: cover !important; background-position: center !important;
}

/* ===================== FAST-ACTION CARDS (Download / Status / Register) =====================
   All three are identical flat cards (replacing the old image buttons) so they
   read as one consistent premium set, matching the Register card.
   ============================================================================================ */
.fast-button {
  display: flex !important; gap: 14px !important; align-items: stretch !important;
  padding-top: 36px !important; margin-top: 28px !important; margin-bottom: 16px !important;
}
.rr-quick-btn {
  position: relative; z-index: 0; overflow: hidden;
  flex: 1 1 0; min-width: 0; box-sizing: border-box;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px;
  height: 116px; padding: 0 26px; text-decoration: none;
  background: linear-gradient(180deg, #241b13, #100c0d);
  border: 1px solid var(--rr-border); border-radius: 8px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.rr-quick-btn:hover {
  border-color: var(--rr-gold);
  box-shadow: none;
  background: linear-gradient(180deg, #2e2316, #15100e);
}
/* Medieval MU texture behind the card content (shape unchanged).
   z-index 1 sits above the base gradient (z0) but below content (z2)
   and the register glow border (.rr-glow::before, z3). */
.rr-quick-btn::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18,13,9,0.35), rgba(12,9,8,0.62)),
    url('../img/template/quick-bg.jpg') center/cover no-repeat;
  opacity: 1;
  transition: filter 0.25s ease;
}
.rr-quick-btn:hover::after { filter: brightness(1.12); }
/* never underline the card text on hover (kills Bootstrap's a:hover underline) */
.rr-quick-btn, .rr-quick-btn:hover, .rr-quick-btn:focus,
.rr-quick-btn *, .rr-quick-btn:hover * { text-decoration: none !important; }
.rr-qb-text { display: flex; flex-direction: column; position: relative; z-index: 2; min-width: 0; }
.rr-qb-title {
  font-family: 'Marcellus', serif; color: var(--rr-gold);
  font-size: 21px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  text-shadow: 0 1px 0 #000; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  /* keep the thick/heavy look on these big action buttons */
  font-synthesis: weight; -webkit-font-synthesis: weight;
}
.rr-qb-sub { color: var(--rr-muted); font-size: 12px; margin-top: 6px; letter-spacing: 0.5px; }
.rr-qb-icon {
  position: relative; z-index: 2; flex: 0 0 auto; width: 90px; height: 90px;
  background: center / contain no-repeat;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.55));
  transition: transform 0.25s ease, filter 0.25s ease;
}
/* hand-cropped game-art icons (optimised) */
.rr-ic-download { background-image: url('../img/icons/download.png'); }
.rr-ic-register { width: 96px; height: 96px; background-image: url('../img/icons/register.png'); }
.rr-quick-btn:hover .rr-qb-icon {
  transform: scale(1.07);
  filter: drop-shadow(0 0 9px rgba(201,168,76,0.55));
}

/* ===================== REGISTER ICON FIRE (hover) =====================
   Real fire footage keyed to TRUE transparency (animated WebP, alpha channel).
   The source is a slim flame column with transparent side margins, and it
   loops seamlessly (forward+reverse boomerang) so there is no visible cut.
   A radial vignette mask feathers every edge so there is no rectangular box —
   the flame simply dissolves into nothing at its extremities. Fire sits behind
   the icon art (icon bumped to z3); the card allows overflow so flames rise
   above the button. Lazy-loaded on first hover (see index.php). */
.rr-fb-register { overflow: visible !important; }
.rr-fb-register .rr-qb-icon { z-index: 3; }
.rr-fb-register:hover .rr-qb-icon {
  filter: drop-shadow(0 0 12px rgba(255,150,45,0.85));
}
.rr-fire {
  /* centered on the Register emblem (position dialed in manually) */
  position: absolute; right: 35px; bottom: 35px;
  width: 96px; height: 172px;
  pointer-events: none; z-index: 2; opacity: 0;
  transition: opacity 0.35s ease;
}
.rr-fb-register:hover .rr-fire { opacity: 1; }
.rr-fire-vid {
  display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: center bottom;
  /* The WebP already has soft, feathered edges baked in on the top and both
     sides (isolated plume, no hard border anywhere). Here we only add a gentle
     base fade so the flame melts into the icon rather than sitting on a line. */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 12%);
          mask-image: linear-gradient(to top, transparent 0%, #000 12%);
}
@media (prefers-reduced-motion: reduce) {
  .rr-fb-register:hover .rr-fire { opacity: 0; }
}

/* ===================== DOWNLOAD ICON SMOKE (hover) =====================
   Same technique as the register flame: a keyed, edge-feathered animated WebP
   (drifting white smoke, no hard border) that fades in behind the download
   icon on hover and loops seamlessly (forward crossfade). Lazy-loaded on first
   hover (see index.php). Positioned over the icon, which sits on the LEFT of
   this card, so we anchor with `left` instead of `right`. */
.rr-fb-download { overflow: visible !important; }
.rr-fb-download .rr-qb-icon { z-index: 3; }
.rr-dl-smoke {
  /* mirror of the register flame, anchored over the left download icon */
  position: absolute; left: 32px; bottom: 35px;
  width: 104px; height: 186px;
  pointer-events: none; z-index: 2; opacity: 0;
  transition: opacity 0.45s ease;
}
.rr-fb-download:hover .rr-dl-smoke { opacity: 0.95; }
.rr-dl-smoke-vid {
  display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: center bottom;
  /* lift it a touch so the pale smoke reads against the dark button */
  filter: brightness(1.15) contrast(1.08);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 10%);
          mask-image: linear-gradient(to top, transparent 0%, #000 10%);
}
@media (prefers-reduced-motion: reduce) {
  .rr-fb-download:hover .rr-dl-smoke { opacity: 0; }
}

/* Status card: server name + status on the left, BIG online count on the right */
.rr-fb-status { cursor: default !important; }
.rr-online-box {
  position: relative; z-index: 2; flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 76px; padding: 7px 16px;
  background: rgba(0,0,0,0.28);
  border: 1px solid var(--rr-border-strong); border-radius: 6px;
  box-shadow: none;
}
.rr-online-box strong {
  font-family: 'Rajdhani', sans-serif; font-size: 27px; font-weight: 700; line-height: 1;
  color: var(--rr-gold); text-shadow: none;
}
.rr-online-box em {
  margin-top: 3px; font-style: normal; font-size: 8.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.4px; line-height: 1.1; text-align: center;
  color: var(--rr-muted);
}
.rr-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #61d061; box-shadow: none; margin-right: 6px;
  vertical-align: middle;
}

/* ===== Rotating gold border around the Register quick-action card ===== */
@property --rr-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.rr-glow::before {
  content: ''; position: absolute; inset: 0; z-index: 3;
  border-radius: 8px; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--rr-angle),
    rgba(201,168,76,0) 0deg,
    rgba(201,168,76,0) 235deg,
    rgba(245,217,126,0.85) 300deg,
    #fff6da 330deg,
    rgba(245,217,126,0.85) 348deg,
    rgba(201,168,76,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: rr-border-spin 3.5s linear infinite;
  will-change: --rr-angle;
}
@keyframes rr-border-spin { to { --rr-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .rr-glow::before { animation: none; }
}

/* ===================== HOME TWO-COLUMN GRID =====================
   Two independent columns so Top Players / Castle Siege tuck directly
   under the Account Panel, regardless of the (taller) carousel height. */
.rr-home-grid {
  display: flex !important;
  /* stretch so the right (content) column matches the taller sidebar height */
  align-items: stretch !important;
  gap: 20px !important;
}
.rr-col-left {
  flex: 0 0 353px !important;
  width: 353px !important;
  min-width: 0 !important;
  /* keep the sidebar at its natural height so a long content page does not
     leave an empty gap under Top Guilds */
  align-self: flex-start !important;
}
.rr-col-right {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  /* column so the content card can grow to fill down to the sidebar bottom */
  display: flex !important;
  flex-direction: column !important;
}
.block-widget-more {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.content-more-news {
  float: none !important;
  /* flex column so the body (.last-more-fon) can grow to fill the column */
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  margin: 18px 0 0 0 !important;
  overflow: hidden !important;
  /* single outer card — header + body share one border box */
  border: 1px solid var(--rr-border-strong) !important;
  border-radius: 6px !important;
  box-shadow: 0 6px 22px rgba(0,0,0,0.4) !important;
  box-sizing: border-box !important;
}
main.content::after { content: ''; display: block; clear: both; }

/* Mobile: stack everything into a single column */
@media (max-width: 1024px) {
  .content { width: 100%; }
  .rr-home-grid { flex-direction: column !important; gap: 16px !important; }
  .rr-col-left, .rr-col-right { flex: 1 1 auto !important; width: 100% !important; }
  .login-block, .slider, .block-widget-more, .content-more-news {
    float: none !important; width: 100% !important; margin-left: 0 !important;
  }
}

/* ===================== HEADER / WRAPPER ===================== */
.wrapper { margin-top: 0 !important; }
/* Taller header band so the logo is not clipped by the content below it */
.header {
  min-height: 430px !important;
  margin-top: 0;
  margin-bottom: 0 !important;
  position: relative;
}
.header .logo {
  top: 112px !important;
  left: 160px !important;
  /* Admin-adjustable offset (Website Settings -> Hero Logo Position X/Y). Defaults to 0. */
  transform: translate(var(--rr-logo-x, 0px), var(--rr-logo-y, 0px)) !important;
  z-index: 2;
}
.header .logo:hover {
  filter: none;
  transform: none;
}
.fast-button {
  padding-top: 36px !important;
  margin-top: 28px !important;
}

/* ===================== CONTENT TITLE BAR ===================== */
/* The title is now the HEADER of the content box (one connected card),
   instead of a standalone bar floating above it. */
.last-more-top {
  width: 100% !important; height: auto !important;
  box-sizing: border-box !important;
  background: linear-gradient(180deg, #241b13 0%, #15100c 100%) !important;
  background-image: linear-gradient(180deg, #241b13 0%, #15100c 100%) !important;
  background-color: #15100c !important;
  padding: 15px 24px !important; margin: 0 !important;
  text-align: left !important; text-shadow: none !important;
  color: var(--rr-gold) !important;
  font-family: 'Marcellus', serif !important;
  font-size: 16px !important; font-weight: 700 !important;
  letter-spacing: 2.5px !important; text-transform: uppercase !important;
  border: none !important;
  border-bottom: 1px solid var(--rr-border-strong) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative;
}
.last-more-top::after { display: none !important; }
.last-more-top a { color: var(--rr-muted) !important; float: right; font-size: 12px; }

/* ===================== CONTENT BODY ===================== */
.last-more-fon {
  min-height: auto !important; width: 100% !important; max-width: 100% !important;
  /* grow to fill the content card down to the sidebar bottom */
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
  background: rgba(17,13,12,0.95) !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  margin-left: 0 !important;   /* kills style.css margin-left:1px misalignment */
  padding: 22px 24px !important;
  box-shadow: none !important;
  overflow-x: auto !important;
}
/* Bootstrap gutters — only flush for home news module (not login/register forms) */
.last-more-fon .home-news-block .row {
  margin-left: 0 !important; margin-right: 0 !important;
}
.last-more-fon .home-news-block,
.last-more-fon .home-news-block [class*="col-"] {
  padding-left: 0 !important; padding-right: 0 !important;
}
/* Login / register module forms — flex layout (works below Bootstrap sm breakpoint) */
.last-more-fon .col-xs-8.col-xs-offset-2 {
  float: none !important;
  width: 100% !important; max-width: 540px !important;
  margin-left: auto !important; margin-right: auto !important;
  padding-left: 15px !important; padding-right: 15px !important;
}
.last-more-fon .form-horizontal {
  max-width: 540px !important;
  margin: 10px auto 24px !important;
}
.last-more-fon .form-horizontal .form-group {
  display: flex !important; flex-wrap: wrap !important;
  align-items: flex-start !important;
  margin-bottom: 18px !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
.last-more-fon .form-horizontal .control-label,
.last-more-fon .form-horizontal label.col-sm-4 {
  flex: 0 0 118px !important;
  width: 118px !important; max-width: 118px !important;
  float: none !important;
  padding: 11px 12px 0 0 !important;
  text-align: right !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
}
.last-more-fon .form-horizontal .col-sm-8 {
  flex: 1 1 0 !important;
  width: auto !important; max-width: none !important;
  float: none !important;
  padding-left: 0 !important; padding-right: 0 !important;
}
.last-more-fon .form-horizontal .col-sm-offset-4 {
  margin-left: 118px !important;
  flex: 0 0 auto !important; width: auto !important;
  padding-left: 0 !important; padding-right: 0 !important;
}
.last-more-fon .form-horizontal .form-control {
  height: 44px !important;
  padding: 0 14px !important;
  width: 100% !important;
}
.last-more-fon, .content-more-news { color: var(--rr-text); }
.last-more-fon a { color: var(--rr-gold); }
.last-more-fon a:hover { color: #fff; }
.last-more-fon h1, .last-more-fon h2, .last-more-fon h3, .last-more-fon h4 { color: #fff; }
.last-more-fon h2, .last-more-fon h3 {
  color: var(--rr-gold); border-bottom: 1px solid var(--rr-border);
  padding-bottom: 8px; margin-top: 20px;
}
.last-more-fon strong { color: var(--rr-gold-lt); }
.last-more-fon u { color: var(--rr-gold); }
.last-more-fon hr { border-color: var(--rr-border); }
.last-more-fon label { color: var(--rr-text); }
/* stock WebEngine module title fallback (e.g. default tos/privacy) */
.last-more-fon .page-title {
  font-family: 'Marcellus', serif !important; color: var(--rr-gold) !important;
  font-size: 22px !important; font-weight: 800 !important; letter-spacing: 1px !important;
  text-transform: uppercase !important; margin: 0 0 18px !important;
  padding-bottom: 10px !important; border-bottom: 1px solid var(--rr-border) !important;
  background: none !important;
}

/* ===================== THEMED DOCUMENT PAGES (TOS / RULES) =====================
   Shared by modules/tos.php and modules/rules.php so the markup stays duplicate-free
   and the CSS is downloaded once (cached) instead of inlined on every page. */
.rr-doc { color: #ddd2ba; font-family: 'Open Sans', Arial, sans-serif; line-height: 1.7; font-size: 14.5px; max-width: 100%; }
.rr-doc * { box-sizing: border-box; }
.rr-doc-hero {
  position: relative; padding: 28px 30px; margin-bottom: 26px; overflow: hidden;
  background: linear-gradient(180deg, rgba(201,168,76,0.10), rgba(0,0,0,0.25));
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.4);
}
/* subtle top accent instead of a one-sided left bar (blends symmetrically) */
.rr-doc-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--rr-gold), transparent);
  opacity: 0.85;
}
.rr-doc-kicker {
  display: inline-block; font-family: 'Rajdhani', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: #9a8f7e;
  padding: 3px 10px; border: 1px solid rgba(201,168,76,0.3); border-radius: 3px; margin-bottom: 12px;
}
.rr-doc-title {
  font-family: 'Marcellus', serif; font-size: 30px; font-weight: 800; line-height: 1.1;
  color: #f0d176 !important; margin: 0 0 12px; padding: 0; border: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.rr-doc-lead { margin: 0 0 10px; color: #d2c7af; font-size: 15px; }
.rr-doc-lead strong { color: #f0d176 !important; }
.rr-doc-updated { display: inline-block; font-size: 11px; color: #8a7f6e; letter-spacing: .5px; }
.rr-doc-section {
  padding: 20px 22px; margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(20,16,14,0.6), rgba(10,8,6,0.5));
  border: 1px solid rgba(201,168,76,0.12); border-radius: 6px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.rr-doc-section:hover { border-color: rgba(201,168,76,0.28); box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.rr-doc-section h2 {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Marcellus', serif; font-size: 17px; font-weight: 700; letter-spacing: .6px;
  color: #e7c873 !important; margin: 0 0 12px !important; padding: 0 !important;
  border: 0 !important; text-transform: uppercase;
}
.rr-doc-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: 0 0 auto;
  font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 700; color: #1c1306;
  background: linear-gradient(180deg, #f0d176, #c9a84c); border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.rr-doc-section p { margin: 0 0 10px; color: #d4c9b0; }
.rr-doc-section p strong { color: #f0d176 !important; }
.rr-doc-list { margin: 8px 0 0; padding: 0; list-style: none; }
.rr-doc-list li {
  position: relative; padding: 6px 0 6px 24px; color: #d0c5ac;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.rr-doc-list li:last-child { border-bottom: 0; }
.rr-doc-list li::before {
  content: ''; position: absolute; left: 4px; top: 13px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rr-gold); box-shadow: 0 0 8px rgba(201,168,76,0.5);
}
.rr-doc-list li strong { color: #f0d176 !important; }
.rr-doc-foot {
  margin-top: 22px; padding: 16px 20px; text-align: center; font-size: 13px; color: #bdb29c;
  background: rgba(201,168,76,0.06); border: 1px dashed rgba(201,168,76,0.3); border-radius: 6px;
}
.rr-doc-foot strong { color: #f0d176 !important; }
@media (max-width: 600px) {
  .rr-doc-title { font-size: 24px; }
  .rr-doc-hero, .rr-doc-section { padding: 18px 16px; }
}

/* form fields inside content */
.last-more-fon .form-control,
.last-more-fon input[type="text"],
.last-more-fon input[type="password"],
.last-more-fon input[type="email"],
.last-more-fon select, .last-more-fon textarea {
  background-image: none !important; background-color: #160f10 !important;
  color: var(--rr-gold-lt) !important; border: 1px solid #3a2f2a !important; border-radius: 3px;
}

/* buttons inside content */
.last-more-fon .btn, .last-more-fon button[type="submit"],
.last-more-fon input[type="submit"], .last-more-fon .btn-primary,
.last-more-fon .btn-warning, .last-more-fon .webengine-register-btn {
  background: linear-gradient(180deg, #f0d176 0%, #c9a84c 48%, #9c7a28 100%) !important;
  color: #0a0704 !important;
  border: 1px solid #f3da88 !important; padding: 10px 26px; cursor: pointer;
  transition: all 0.2s; border-radius: 4px;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important; font-size: 14px !important;
  text-transform: uppercase; letter-spacing: 1.4px !important;
  text-shadow: none !important;
}
.last-more-fon .btn:hover, .last-more-fon button[type="submit"]:hover,
.last-more-fon input[type="submit"]:hover, .last-more-fon .btn-primary:hover,
.last-more-fon .btn-warning:hover, .last-more-fon .webengine-register-btn:hover {
  background: linear-gradient(180deg, #f7e090 0%, #d8b75a 48%, #b3892c 100%) !important;
  color: #0a0704 !important;
}
.last-more-fon .panel, .last-more-fon .well {
  background: rgba(20,16,17,0.85) !important; border: 1px solid var(--rr-border) !important; color: var(--rr-text);
}
.last-more-fon .panel-heading {
  background: linear-gradient(180deg, #1e1618, #141113) !important;
  border-bottom: 1px solid var(--rr-border) !important; color: var(--rr-gold) !important;
}
.last-more-fon .form-horizontal .control-label,
.last-more-fon td:first-child { color: var(--rr-gold); font-weight: 600; }
.last-more-fon .help-block, .last-more-fon .form small,
.last-more-fon td + td small { color: #887; font-size: 11px; }

/* content tables */
.last-more-fon table.table, .last-more-fon table { border-collapse: collapse; width: 100%; }
.last-more-fon table th {
  background: linear-gradient(180deg, #241a14, #141010) !important; color: var(--rr-gold) !important;
  padding: 10px 12px; border-bottom: 2px solid var(--rr-border-strong);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
}
.last-more-fon table td { padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; }
.last-more-fon table tr:hover td { background: rgba(201,168,76,0.06); }
.last-more-fon table tr:nth-child(even) td { background: rgba(0,0,0,0.12); }
.last-more-fon table { border: 1px solid var(--rr-border); border-radius: 4px; overflow: hidden; }

/* ===================== NEWS CARDS ===================== */
.we-news-thumb--empty {
  background:
    radial-gradient(circle at 50% 40%, rgba(201,168,76,0.12), transparent 62%),
    linear-gradient(135deg, #1d1611 0%, #0d0a0b 100%) !important;
  border: 1px solid rgba(201,168,76,0.22) !important; position: relative;
}
.we-news-thumb--empty::after {
  content: '\2694'; font-size: 32px; color: rgba(201,168,76,0.32);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.we-news-card { border-bottom-color: var(--rr-border) !important; }
.we-news-title a { color: var(--rr-gold-lt) !important; }
.we-news-title a:hover { color: var(--rr-gold) !important; }
.we-news-date { color: var(--rr-gold) !important; opacity: 0.8; }
.we-news-excerpt { color: #bbb !important; }
.we-news-readmore {
  background: linear-gradient(180deg, #e0bf64, #b3892c) !important;
  border: 1px solid #f0d070 !important; color: #1a1008 !important;
  border-radius: 3px !important; font-weight: 800 !important;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.we-news-readmore:hover { background: linear-gradient(180deg, #f5d97e, #c9a84c) !important; color: #1a1008 !important; }

/* ===================== RANKINGS PAGE ===================== */
/* module page-title hidden: .last-more-top already shows the section name */
.page-title { display: none !important; }
.rankings-glass-container { padding: 6px 0 !important; margin: 0 !important; }
.rankings-glass-table-wrap {
  border-radius: 8px !important; max-width: 100% !important; overflow-x: auto !important;
}
table.rankings-glass-table { table-layout: auto !important; }

/* Rankings menu - SOLID gaming buttons */
.rankings-glass-menu {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; justify-content: flex-start;
}
.rankings-glass-menu a {
  position: relative; padding: 11px 22px;
  font-family: 'Marcellus', serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--rr-gold); text-decoration: none;
  border-radius: 3px; backdrop-filter: none; -webkit-backdrop-filter: none;
  background: linear-gradient(180deg, #241b13, #140d09);
  border: 1px solid var(--rr-border-strong);
  box-shadow: 0 3px 12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(201,168,76,0.1);
  transition: all 0.2s; overflow: hidden;
}
.rankings-glass-menu a:hover {
  color: #1a1008; background: linear-gradient(180deg, #f5d97e, #c9a84c);
  border-color: #f0d070; transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(201,168,76,0.35);
}
.rankings-glass-menu a.active {
  color: #1a1008; background: linear-gradient(180deg, #e0bf64, #b3892c);
  border-color: #f0d070; box-shadow: 0 4px 14px rgba(201,168,76,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}
.last-more-fon .nav-tabs { border-bottom-color: var(--rr-border); }
.last-more-fon .nav-tabs > li > a {
  background: linear-gradient(180deg, #2a1e14, #141010) !important;
  border: 1px solid #3a3020 !important; color: var(--rr-gold) !important;
  border-radius: 3px !important; margin-right: 4px;
}
.last-more-fon .nav-tabs > li.active > a, .last-more-fon .nav-tabs > li > a:hover {
  background: linear-gradient(180deg, #e0bf64, #b3892c) !important; color: #1a1008 !important;
}

/* ===================== USERCP MODULE ===================== */
.ucp-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; padding: 4px !important; }
.ucp-chip {
  display: flex !important; flex-direction: column !important;
  align-items: center !important; justify-content: center !important;
  padding: 22px 12px !important; text-decoration: none !important;
  background: linear-gradient(180deg, #1e1618, #0f0c0d) !important;
  border: 1px solid var(--rr-border) !important; border-radius: 4px !important;
  transition: all 0.2s !important;
}
.ucp-chip:hover {
  border-color: var(--rr-gold) !important; background: rgba(201,168,76,0.08) !important;
  transform: translateY(-2px) !important; box-shadow: 0 5px 18px rgba(201,168,76,0.15) !important;
}
.ucp-icon { margin-bottom: 8px !important; opacity: 0.85; }
.ucp-chip:hover .ucp-icon { opacity: 1; }
.ucp-label {
  color: #d4b86a !important; font-size: 11px !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: 0.5px !important; text-align: center !important;
}
.ucp-chip:hover .ucp-label { color: var(--rr-gold-lt) !important; }

/* ===================== MY ACCOUNT PAGE ===================== */
.ua-grid-new {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px;
}
.ua-grid-new .ua-overview { grid-column: 1 / -1; }
.ua-card, .ua-card.glass, .char.glass {
  background: linear-gradient(180deg, rgba(26,20,21,0.9), rgba(15,12,13,0.95)) !important;
  border: 1px solid var(--rr-border) !important; border-radius: 6px !important;
  padding: 0 !important; overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(201,168,76,0.05) !important;
}
.ua-head {
  margin: 0 !important; padding: 13px 18px !important;
  font-family: 'Marcellus', serif !important; color: var(--rr-gold) !important;
  font-size: 13px !important; font-weight: 700 !important; letter-spacing: 1.5px !important;
  text-transform: uppercase; border-bottom: 1px solid var(--rr-border) !important;
  background: linear-gradient(180deg, rgba(201,168,76,0.07), transparent) !important;
}
.ua-card .ua-row {
  display: flex !important; justify-content: space-between !important; align-items: center;
  padding: 12px 18px !important; border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  margin: 0 !important;
}
.ua-card .ua-row:last-child { border-bottom: none !important; }
.ua-row .k { color: var(--rr-muted) !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: 0.5px; }
.ua-row .v { color: var(--rr-gold-lt) !important; font-size: 13px !important; font-weight: 600 !important; text-align: right; }
.ua-row .v-act { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.btn-min {
  display: inline-block; padding: 5px 12px; border-radius: 3px;
  background: linear-gradient(180deg, #241b13, #140d09); border: 1px solid var(--rr-border-strong);
  color: var(--rr-gold) !important; font-size: 10px !important; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; text-decoration: none !important; transition: all 0.2s;
}
.btn-min:hover { background: linear-gradient(180deg, #f5d97e, #c9a84c); color: #1a1008 !important; }
.btn-min.success { background: linear-gradient(180deg, #2e7d32, #1b5e20); border-color: #4caf50; color: #fff !important; }
.btn-min.success:hover { background: linear-gradient(180deg, #43a047, #2e7d32); }
.ua-pill {
  display: inline-block; padding: 3px 10px; border-radius: 10px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
}
.ua-pill.ok { background: rgba(80,200,80,0.15); color: #6c6; border: 1px solid rgba(80,200,80,0.3); }
.ua-pill.off { background: rgba(200,80,80,0.15); color: #d77; border: 1px solid rgba(200,80,80,0.3); }
.ua-pill.dim { background: rgba(201,168,76,0.15); color: var(--rr-gold); border: 1px solid var(--rr-border-strong); }

/* VIP badge */
.vip-badge {
  display: flex; align-items: center; justify-content: space-between;
  margin: 14px 18px; padding: 12px 16px; border-radius: 5px;
  background: linear-gradient(180deg, rgba(201,168,76,0.1), rgba(0,0,0,0.2));
  border: 1px solid var(--rr-border-strong);
}
.vip-name { font-family: 'Marcellus', serif; font-size: 16px; font-weight: 800; color: var(--rr-gold); letter-spacing: 1px; text-transform: uppercase; }
.vip-state { font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 10px; }
.vip-state.ok { background: rgba(80,200,80,0.15); color: #6c6; }
.vip-state.off { background: rgba(200,80,80,0.15); color: #d77; }
.vip-badge.vip-bronze { border-color: #cd7f32; }
.vip-badge.vip-silver { border-color: #c0c0c0; }
.vip-badge.vip-gold { border-color: var(--rr-gold); }

/* Wallet */
.wallet-line { display: flex; gap: 12px; padding: 16px 18px; }
.wallet-line .chip {
  flex: 1; display: flex; flex-direction: column; gap: 4px;
  padding: 14px; border-radius: 5px; background: rgba(0,0,0,0.3); border: 1px solid var(--rr-border);
}
.wallet-line .ck { font-size: 10px; color: var(--rr-muted); text-transform: uppercase; letter-spacing: 1px; }
.wallet-line .cv { font-size: 20px; font-weight: 800; font-family: 'Marcellus', serif; }
.wallet-line .cv.wcoin { color: var(--rr-gold); }
.wallet-line .cv.ruud { color: #d4945a; }
.ua-wallet .right { padding: 0 18px 16px; text-align: right; }

/* Characters */
.ua-chars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.char.glass { padding: 0 !important; }
.char .top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--rr-border);
  background: linear-gradient(180deg, rgba(201,168,76,0.06), transparent);
}
.char .nm { color: var(--rr-gold-lt); font-weight: 700; font-size: 14px; }
.char .nm a { color: var(--rr-gold-lt) !important; }
.char .badges { display: flex; align-items: center; gap: 8px; }
.char .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.char .dot.ok { background: #5c5; box-shadow: 0 0 8px rgba(80,200,80,0.6); }
.char .dot.off { background: #a44; }
.char .lbl { font-size: 10px; color: var(--rr-muted); text-transform: uppercase; }
.char .lvl { font-size: 13px; color: var(--rr-gold); font-weight: 700; }
.char .lvl small { font-size: 8px; color: var(--rr-muted); margin-right: 3px; }
.char .body { display: flex; align-items: center; gap: 12px; padding: 14px; }
.char .av { width: 48px; height: 48px; flex: 0 0 48px; }
.char .av img { width: 48px; height: 48px; border-radius: 4px; border: 1px solid var(--rr-border); background: rgba(0,0,0,0.3); object-fit: cover; }
/* Clean fallback when a character avatar image is missing on the server */
.av img.rr-img-failed { display: none !important; }
.av.rr-img-empty {
  border-radius: 4px; border: 1px solid var(--rr-border);
  background: linear-gradient(180deg, #241b13, #120c08);
  display: flex !important; align-items: center; justify-content: center;
}
.av.rr-img-empty::after {
  content: ''; width: 24px; height: 24px;
  background-color: rgba(201,168,76,0.6);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-4 0-8 2-8 5v1h16v-1c0-3-4-5-8-5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-4 0-8 2-8 5v1h16v-1c0-3-4-5-8-5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.char .loc { font-size: 12px; color: var(--rr-text); }
.char .loc span { display: block; color: var(--rr-muted); font-size: 11px; margin-top: 2px; }
.last-more-fon a.ua-change-link { color: var(--rr-gold) !important; font-size: 11px !important; }

/* ===================== BODY BACKGROUND SEAM FIX =====================
   The two background photos (fon-bg-top4.jpg 1920x1170 at top,
   fon-bg-bottom.jpg 1920x750 at bottom) have hard rectangular edges that
   showed as a straight "cut" line against the dark body colour. We overlay
   two colour-matched fade gradients ON TOP of each photo's inner edge so
   they blend seamlessly into #0C0000. Gradients are anchored to the same
   edge as their photo, so they stay aligned at any page height. */
body {
  background:
    linear-gradient(to top, rgba(12,0,0,0) 0px, rgba(12,0,0,0) 555px, rgba(12,0,0,1) 748px) center bottom / 100% 750px no-repeat,
    linear-gradient(to bottom, rgba(12,0,0,0) 0px, rgba(12,0,0,0) 975px, rgba(12,0,0,1) 1168px) center top / 100% 1170px no-repeat,
    url('../img/template/fon-bg-top4.jpg') center top no-repeat,
    url('../img/template/fon-bg-bottom.jpg') center bottom no-repeat !important;
  background-color: #0C0000 !important;
}

/* ===================== FOOTER ===================== */
main.content::after { content: ''; display: block; clear: both; }
.footer {
  min-height: auto !important; clear: both; position: relative !important;
  margin-top: 34px !important; padding: 0 0 6px !important;
  /* Self-contained CSS footer panel — fades in from the page and covers the
     ember photo entirely, so no baked-in image edge / "cut line" can show. */
  background: linear-gradient(180deg,
    rgba(10,7,6,0) 0%,
    rgba(10,7,6,0.60) 70px,
    rgba(9,6,5,0.96) 165px,
    #080605 300px) !important;
}

/* ---- Scroll-to-top: circular gold button centred on a divider line ---- */
.toTop-fon {
  position: relative !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  height: auto !important; min-height: 0 !important;
  width: 100% !important;
  margin: 0 0 6px !important; padding: 0 !important;
  background: none !important;
}
/* Soft gold divider line the to-top button sits on. Safe now that the footer
   has its own solid CSS background (no ember photo edge behind it). */
.toTop-fon::before {
  content: '' !important; position: absolute; left: 24px; right: 24px; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4) 22%, rgba(201,168,76,0.4) 78%, transparent) !important;
}
.toTop {
  position: relative !important; z-index: 1 !important;
  width: 48px !important; height: 48px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  background: linear-gradient(180deg, #1d1712, #12100d) !important;
  border: 1px solid rgba(201,168,76,0.5) !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.55) !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}
.toTop::after {
  content: '' !important;
  width: 11px !important; height: 11px !important;
  border-top: 2px solid var(--rr-gold) !important;
  border-right: 2px solid var(--rr-gold) !important;
  transform: rotate(-45deg) !important;
  margin-top: 4px !important;
}
.toTop:hover {
  border-color: var(--rr-gold) !important;
  background: linear-gradient(180deg, #261d12, #17130d) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.55) !important;
  filter: none !important;
}

/* ---- Multi-column footer ---- */
.rr-footer-main {
  display: grid !important;
  grid-template-columns: 2.1fr 1fr 1fr 1fr !important;
  gap: 26px !important;
  max-width: 1040px !important; margin: 28px auto 0 !important;
  padding: 0 24px 30px !important;
}
/* Clean columns: brand on the left, link columns separated by subtle
   vertical gold dividers (no clunky boxes). */
.rr-foot-brand, .rr-foot-col { min-width: 0; }
.rr-foot-col {
  border-left: 1px solid rgba(201,168,76,0.14);
  padding-left: 28px;
}
.rr-foot-logo { display: inline-block; margin-left: 0; }
.rr-foot-logo img { max-width: 350px; height: auto; display: block; }
.rr-foot-tagline {
  margin: 16px 0 16px !important; max-width: 270px;
  color: #8f8266; font-family: 'Open Sans', Arial, sans-serif;
  font-size: 12.5px; line-height: 1.65;
}
/* ---- Footer social + content-rating: one continuous row ---- */
.rr-foot-social { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; }
.rr-foot-social a.soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; box-sizing: border-box;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.32);
  color: #b7ab8c;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.rr-foot-social a.soc svg { width: 14px; height: 14px; fill: currentColor; }
.rr-foot-social a.soc:hover { border-color: var(--rr-gold); background: rgba(201,168,76,0.1); color: var(--rr-gold); }

.rr-foot-rating {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; box-sizing: border-box;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.32);
  border-radius: 6px;
  color: #b7ab8c;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  cursor: default;
}
.rr-foot-rating svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.rr-foot-rating.age {
  min-width: 30px; padding: 0 6px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 14px; letter-spacing: 0.4px; color: var(--rr-gold);
}
.rr-foot-rating.icon { width: 30px; }
.rr-foot-rating.icon svg { fill: currentColor; stroke: none; }
.rr-foot-rating.resp {
  padding: 0 9px; gap: 5px;
  font-family: 'Open Sans', Arial, sans-serif; font-weight: 600;
  font-size: 8.5px; letter-spacing: 0.6px; text-transform: uppercase; white-space: nowrap;
}
.rr-foot-rating.resp svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.rr-foot-rating:hover { border-color: var(--rr-gold); color: var(--rr-gold); background: rgba(201,168,76,0.08); }

.rr-foot-h {
  margin: 0 0 15px !important;
  font-family: 'Marcellus', serif; color: var(--rr-gold);
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
}
.rr-foot-col ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.rr-foot-col li { margin: 0 0 9px !important; }
.rr-foot-col li a {
  color: #a99c80 !important; text-decoration: none !important;
  font-family: 'Open Sans', Arial, sans-serif !important; font-size: 13px !important;
  transition: color 0.18s ease, padding-left 0.18s ease !important;
}
.rr-foot-col li a:hover { color: var(--rr-gold) !important; padding-left: 4px !important; }

/* ---- Bottom copyright bar (no top divider line) ---- */
.rr-foot-bottom {
  margin: 22px 24px 0; padding: 16px 0 6px;
  border-top: 1px solid rgba(201,168,76,0.12);
  text-align: center;
  background: none;
}
.rr-foot-copy {
  margin: 0 0 6px !important; color: #d3c7a6; font-size: 12.5px;
  font-family: 'Open Sans', Arial, sans-serif;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}
.rr-foot-bottom a { color: var(--rr-gold); text-decoration: none; }
.rr-foot-bottom a:hover { color: #e6cf8a; }
.rr-foot-credit {
  margin: 0 !important;
  color: #8a8069; font-size: 11px;
  font-family: 'Open Sans', Arial, sans-serif;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}
.rr-foot-credit span { color: var(--rr-gold); font-weight: 600; }

@media (max-width: 860px) {
  .rr-footer-main { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .rr-foot-brand { grid-column: 1 / -1; }
  .rr-foot-col { border-left: none; padding-left: 0; }
}
@media (max-width: 520px) {
  .rr-footer-main { grid-template-columns: 1fr; text-align: center; }
  .rr-foot-tagline { max-width: none; }
  .rr-foot-social { justify-content: center; }
}

/* ===================== CASTLE SIEGE PAGE ===================== */
.csx-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; align-items: start;
  padding: 4px 0 6px;
}
.csx-card {
  background: linear-gradient(180deg, rgba(30,23,18,0.92), rgba(16,13,10,0.94));
  border: 1px solid var(--rr-border);
  border-radius: 10px;
  padding-bottom: 16px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 6px 18px rgba(0,0,0,0.35);
}
/* Schedule card always spans the full width */
.csx-card:has(.csx-table--schedule) { grid-column: 1 / -1; }
.csx-card-h {
  margin: 0 0 16px; padding: 12px 18px;
  font-family: 'Marcellus', serif; font-weight: 400; color: var(--rr-gold);
  font-size: 15px; letter-spacing: 1.6px; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(201,168,76,0.10), rgba(201,168,76,0));
  border-bottom: 1px solid var(--rr-border);
}

/* Guild emblem */
.csx-emblem {
  display: flex; align-items: center; justify-content: center;
  margin: 0 18px 16px; padding: 16px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 40%, rgba(201,168,76,0.10), rgba(0,0,0,0.28));
  border: 1px solid var(--rr-border);
}
.csx-emblem img {
  width: 150px; height: 150px;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
}

/* Owner / Guild Master */
.csx-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 18px; }
.csx-label {
  font-family: 'Marcellus', serif; font-size: 11px; font-weight: 400;
  letter-spacing: 1px; text-transform: uppercase; color: var(--rr-muted);
  margin-bottom: 3px;
}
.csx-value { font-family: 'Marcellus', serif; font-weight: 400; font-size: 15px; color: #e9dcc0; }
.csx-value a { color: var(--rr-gold); text-decoration: none; }
.csx-value a:hover { color: #e6cf8a; }

/* Countdown */
.csx-countdown {
  margin: 0 18px 16px; padding: 16px;
  text-align: center;
  font-family: 'Marcellus', serif; font-weight: 400;
  font-size: 24px; letter-spacing: 1px; color: var(--rr-gold);
  background: linear-gradient(180deg, rgba(201,168,76,0.10), rgba(0,0,0,0.22));
  border: 1px solid var(--rr-border); border-radius: 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}

/* Info grid (stages, tax rates) */
.csx-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding: 0 18px; }
.csx-info-grid > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px dashed var(--rr-border);
  font-family: 'Marcellus', serif; font-size: 13px;
}
.csx-info-grid .k { color: var(--rr-muted); }
.csx-info-grid .v { color: #e9dcc0; text-align: right; }

/* Event schedule table */
.csx-table--schedule { width: 100%; border-collapse: collapse; margin: 0; }
.csx-table--schedule thead th {
  padding: 11px 18px;
  font-family: 'Marcellus', serif; font-size: 12px; font-weight: 400;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--rr-gold);
  border-bottom: 1px solid var(--rr-border); text-align: left; background: rgba(0,0,0,0.2);
}
.csx-table--schedule th.text-right, .csx-table--schedule td.text-right { text-align: right; }
.csx-table--schedule tbody td {
  padding: 10px 18px; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: 'Marcellus', serif; font-size: 13px; color: #cfc4aa;
  vertical-align: middle;
}
.csx-table--schedule tbody tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
.csx-table--schedule tbody tr:hover td { background: rgba(201,168,76,0.06); }
.csx-table--schedule .stage-cell {
  color: var(--rr-gold); font-family: 'Marcellus', serif; font-size: 14px; letter-spacing: 0.3px;
}
.csx-table--schedule .dt { display: flex; flex-direction: column; line-height: 1.25; }
.csx-table--schedule .dt-day { color: #e9dcc0; }
.csx-table--schedule .dt-time { color: var(--rr-muted); font-size: 12px; }

@media (max-width: 720px) {
  .csx-wrap { grid-template-columns: 1fr; }
}

/* ===================== GENERAL ===================== */
table td { border: none; }
.form table td { text-align: left; }

/* ===================== SLIDER ARROWS ===================== */
.slider .prev { left: 20px !important; }
.slider .next { right: 20px !important; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1240px) {
  .wrapper, .content { width: 100% !important; max-width: 1200px; padding: 0 12px; }
}

/* ============================================================================
   FOLLOW-UP POLISH PASS
   - unified premium gold buttons (LOG IN / CREATE ACCOUNT / all form submits)
   - slider: solid backing, framed "space", cinematic motion, gold dots
   - themed cursor + themed scrollbar
   - Top Players header alignment
   - custom pages (Rules / TOS): kill pasted white backgrounds, fix alignment
   ============================================================================ */

/* ---------- UNIFIED PREMIUM GOLD BUTTONS ---------- */
.button,
button.button-border,
.login-block .button,
.last-more-fon button,
.last-more-fon button[type="submit"],
.last-more-fon input[type="submit"],
.last-more-fon .btn,
.last-more-fon .btn-primary,
.last-more-fon .btn-warning,
.last-more-fon .webengine-register-btn {
  width: auto !important; min-width: 165px;
  height: auto !important; min-height: 46px;
  right: 0 !important; left: auto !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  padding: 13px 34px !important;
  background: linear-gradient(180deg, #f0d176 0%, #c9a84c 48%, #9c7a28 100%) !important;
  color: #0a0704 !important;
  border: 1px solid #f3da88 !important; border-radius: 4px !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 14px !important; font-weight: 700 !important;
  letter-spacing: 1.5px !important; text-transform: uppercase !important;
  text-shadow: none !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45) !important;
  cursor: pointer; position: relative;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}
.button:hover,
button.button-border:hover,
.login-block .button:hover,
.last-more-fon button:hover,
.last-more-fon button[type="submit"]:hover,
.last-more-fon input[type="submit"]:hover,
.last-more-fon .btn:hover {
  background: linear-gradient(180deg, #f7e090 0%, #d8b75a 48%, #b3892c 100%) !important;
  color: #0a0704 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45) !important;
  filter: none !important;
  transform: none !important;
}
.button:active, button.button-border:active, .last-more-fon button:active { transform: none !important; }
/* center submit buttons that sit on their own row */
.last-more-fon .text-center,
.last-more-fon .form-actions,
.last-more-fon .buttons,
.last-more-fon .submit,
.last-more-fon .form-submit { text-align: center !important; }

/* ===========================================================================
   HERO CAROUSEL (rebuilt from scratch) - crossfade, ken-burns, gold framing
   =========================================================================== */
.rr-hero {
  position: relative;
  width: 100%; max-width: 100%;
  height: 420px;
  margin: 0;                     /* fills the right column of the home grid */
  border: 1px solid var(--rr-border-strong);
  border-radius: 10px;
  overflow: hidden;
  background: #0c0809;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.rr-hero-track { position: absolute; inset: 0; }
.rr-hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s ease;
}
.rr-hero-slide.is-active {
  opacity: 1; visibility: visible;
  animation: rr-hero-drift 16s linear forwards;
}
/* gentle horizontal drift (no zoom-in pop); scale stays constant so edges never show */
@keyframes rr-hero-drift {
  from { transform: scale(1.05) translateX(1.4%); }
  to   { transform: scale(1.05) translateX(-1.4%); }
}
@media (prefers-reduced-motion: reduce) {
  .rr-hero-slide.is-active { animation: none; transform: scale(1.05); }
}
.rr-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,5,6,0.85) 0%, rgba(8,5,6,0.45) 38%, rgba(8,5,6,0) 66%),
              linear-gradient(0deg, rgba(8,5,6,0.7) 0%, rgba(8,5,6,0) 45%);
}
.rr-hero-content {
  position: absolute; left: 44px; bottom: 46px; right: 90px; z-index: 2;
  max-width: 460px;
}
.rr-hero-tag {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px;
  padding: 5px 14px 5px 11px; border-radius: 3px;
  background: linear-gradient(180deg, #e0bf64, #b3892c);
  color: #1a1206; font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  box-shadow: none;
}
.rr-hero-tag::before {
  content: ''; width: 15px; height: 15px; flex: 0 0 auto;
  background: url('../img/icons/announcement.png') center / contain no-repeat;
  filter: none;
}
.rr-hero-title {
  margin: 0 0 12px; padding: 0;
  font-family: 'Marcellus', serif; font-weight: 800;
  font-size: 40px; line-height: 1.05; color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}
.rr-hero-title span { color: var(--rr-gold); }
.rr-hero-sub {
  margin: 0 0 22px; color: #d8cdb8; font-size: 15px; line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0,0,0,0.85);
}
.rr-hero-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 32px; text-decoration: none;
  font-family: 'Marcellus', serif; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.6px;
  color: #1c1306 !important;
  background: linear-gradient(180deg, #f0d176 0%, #c9a84c 48%, #9c7a28 100%);
  border: 1px solid #f3da88; border-radius: 5px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  transition: background 0.2s ease;
}
.rr-hero-cta:hover {
  background: linear-gradient(180deg, #f7e090 0%, #d8b75a 48%, #b3892c 100%);
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  text-decoration: none !important;
}
/* Carousel arrows: ONE clean arrow per side, ALWAYS visible (no pop-in on hover,
   which was the old "double arrow appears when you hover" problem). */
.rr-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; padding: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(20,14,9,0.82), rgba(10,7,5,0.82));
  color: var(--rr-gold);
  border: 1px solid var(--rr-border-strong); border-radius: 50%;
  opacity: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.rr-hero-arrow svg { width: 17px; height: 17px; display: block; }
.rr-hero-arrow:hover {
  background: linear-gradient(180deg, #e0bf64, #b3892c); color: #1a1008;
  border-color: #f0d070; box-shadow: 0 6px 18px rgba(201,168,76,0.4);
}
.rr-hero-arrow:active { transform: translateY(-50%) scale(0.94); }
.rr-hero-prev { left: 16px; }
.rr-hero-next { right: 16px; }
/* dots */
.rr-hero-dots {
  position: absolute; right: 20px; bottom: 22px; z-index: 4;
  display: flex; gap: 8px;
}
.rr-hero-dot {
  width: 11px; height: 11px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(201,168,76,0.55);
  background: rgba(255,255,255,0.18);
  transition: all 0.25s ease;
}
.rr-hero-dot.is-active {
  background: var(--rr-gold); border-color: var(--rr-gold);
  box-shadow: 0 0 10px rgba(201,168,76,0.85); transform: scale(1.2);
}
@media (max-width: 1024px) {
  .rr-hero { width: 100% !important; height: 320px; margin: 14px 0 0 0; }
  .rr-hero-title { font-size: 30px; }
}

/* ---------- THEMED SCROLLBAR ---------- */
html { scrollbar-width: thin; scrollbar-color: #b3892c #100b0c; }
::-webkit-scrollbar { width: 13px; height: 13px; }
::-webkit-scrollbar-track { background: #100b0c; border-left: 1px solid rgba(201,168,76,0.12); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d8b75a, #9c7a28);
  border: 3px solid #100b0c; border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #f3da88, #b3892c); }
::-webkit-scrollbar-corner { background: #100b0c; }

/* ---------- REZISTMU CURSOR (MU.cur default, MU2.cur on clickables) ----------
   NOTE: the descendant selectors (a *, button *, etc.) are essential so the link
   cursor covers the WHOLE clickable area of a card, including its inner text and
   icon — not just the empty padding. Non-link cards (.rr-fb-status is a <div>)
   correctly keep the default cursor. */
html, body, * { cursor: url('../img/MU.cur'), auto !important; }
a, a *, button, button *, .button, .button *,
.gn-lang-trigger, .gn-lang-menu a, .toTop, .rr-rank-link,
[onclick], [onclick] *, [role="button"], [role="button"] *,
label[for], summary, select,
input[type="submit"], input[type="button"], button[type="submit"] {
  cursor: url('../img/MU2.cur'), pointer !important;
}
input[type="text"], input[type="password"], input[type="email"],
input[type="number"], input[type="search"], textarea { cursor: text !important; }

/* ---------- TOP PLAYERS: align PLAYER header with the names below it ---------- */
.rr-rank-table thead th:nth-child(3) { text-align: left !important; padding-left: 6px !important; }
.rr-rank-table td.rr-name-cell { padding-left: 6px !important; }

/* ---------- CUSTOM PAGES (Rules / TOS): never let pasted HTML break the theme ---------- */
/* Neutralise white/light backgrounds pasted into any content body. Kept to
   top-level / inline pasted elements so styled components (webshop lists,
   panels, tables) are never affected. */
.last-more-fon > div, .last-more-fon > section, .last-more-fon > article,
.last-more-fon > p, .last-more-fon > center, .last-more-fon font {
  background: transparent !important;
  background-color: transparent !important;
}
/* On the Rules / TOS pages force readable theme text + sane alignment regardless
   of inline colours/centering the page content may carry. */
.rr-page-rules .last-more-fon, .rr-page-tos .last-more-fon { text-align: left !important; }
.rr-page-rules .last-more-fon *, .rr-page-tos .last-more-fon * {
  background: transparent !important; background-color: transparent !important;
  color: var(--rr-text) !important;
  max-width: 100% !important;
}
.rr-page-rules .last-more-fon center, .rr-page-tos .last-more-fon center,
.rr-page-rules .last-more-fon [align], .rr-page-tos .last-more-fon [align] { text-align: left !important; }
.rr-page-rules .last-more-fon a, .rr-page-tos .last-more-fon a { color: var(--rr-gold) !important; }
.rr-page-rules .last-more-fon b, .rr-page-tos .last-more-fon b,
.rr-page-rules .last-more-fon strong, .rr-page-tos .last-more-fon strong { color: var(--rr-gold-lt) !important; }
.rr-page-rules .last-more-fon h1, .rr-page-tos .last-more-fon h1,
.rr-page-rules .last-more-fon h2, .rr-page-tos .last-more-fon h2,
.rr-page-rules .last-more-fon h3, .rr-page-tos .last-more-fon h3,
.rr-page-rules .last-more-fon h4, .rr-page-tos .last-more-fon h4 { color: var(--rr-gold) !important; }
.rr-page-rules .last-more-fon img, .rr-page-tos .last-more-fon img { height: auto !important; }

/* ---------- FOOTER LEGAL LINKS (Rules / TOS) — subtle text links ---------- */
.footer-legal {
  margin-top: 8px !important;
  display: flex !important; gap: 10px !important; align-items: center !important;
}
.footer-legal a {
  display: inline-block; padding: 0 !important;
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 12px !important; font-weight: 400 !important;
  text-transform: none !important; letter-spacing: 0.2px !important;
  color: #8f8266 !important; text-decoration: none !important;
  background: none !important; border: none !important; border-radius: 0 !important;
  box-shadow: none !important; text-shadow: none !important;
  transition: color 0.18s ease !important;
}
.footer-legal a:hover {
  color: var(--rr-gold) !important; text-decoration: none !important;
  filter: none !important; transform: none !important; box-shadow: none !important;
}
.footer-legal span {
  display: inline-block !important;
  color: rgba(201,168,76,0.4) !important; font-size: 12px !important;
}

/* ===================== AUTH MODALS (Login / Register) =====================
   Self-contained, dark/gold themed popups. No Bootstrap dependency. */
body.rr-modal-lock { overflow: hidden !important; }
.rr-modal-overlay {
  position: fixed; inset: 0; z-index: 200000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 8vh 16px 16px;
  background: rgba(6,4,5,0.72); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.rr-modal-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.rr-modal {
  position: relative;
  width: 100%; max-width: 420px;
  background: linear-gradient(180deg, #16161a 0%, #0e0d10 100%);
  border: 1px solid rgba(201,168,76,0.28); border-radius: 12px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.8);
  overflow: hidden;
  transform: translateY(-18px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
/* slim gold accent across the very top of the modal */
.rr-modal::before { display: none !important; content: none !important; }
.rr-modal-lg { max-width: 720px; }
.rr-modal-overlay.is-open .rr-modal { transform: translateY(0) scale(1); }
.rr-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
}
.rr-modal-title {
  display: flex; align-items: center; gap: 11px; margin: 0;
  font-family: 'Marcellus', serif; font-size: 17px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #ece3cf;
}
.rr-modal-ic {
  flex: 0 0 auto; width: 22px; height: 22px;
  background-color: var(--rr-gold);
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
.rr-mic-account  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'8'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M5%2020a7%207%200%200%201%2014%200'%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'12'%20cy%3D'8'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M5%2020a7%207%200%200%201%2014%200'%2F%3E%3C%2Fsvg%3E"); }
.rr-mic-register { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'10'%20cy%3D'8'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M3%2020a7%207%200%200%201%2013-3.6'%2F%3E%3Cpath%20d%3D'M18%2013.5v6'%2F%3E%3Cpath%20d%3D'M15%2016.5h6'%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Ccircle%20cx%3D'10'%20cy%3D'8'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M3%2020a7%207%200%200%201%2013-3.6'%2F%3E%3Cpath%20d%3D'M18%2013.5v6'%2F%3E%3Cpath%20d%3D'M15%2016.5h6'%2F%3E%3C%2Fsvg%3E"); }
.rr-mic-alert    { width: 20px; height: 20px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%203.5%2021.5%2020.5H2.5z'%2F%3E%3Cpath%20d%3D'M12%2010v4.5'%2F%3E%3Cpath%20d%3D'M12%2017.5v.5'%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.9'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M12%203.5%2021.5%2020.5H2.5z'%2F%3E%3Cpath%20d%3D'M12%2010v4.5'%2F%3E%3Cpath%20d%3D'M12%2017.5v.5'%2F%3E%3C%2Fsvg%3E"); }
.rr-modal-close {
  flex: 0 0 auto; width: 30px; height: 30px; padding: 0;
  background: transparent; border: 1px solid transparent; border-radius: 4px;
  color: #b3a890; font-size: 22px; line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.rr-modal-close:hover { color: var(--rr-gold); border-color: var(--rr-border-strong); background: rgba(201,168,76,0.08); }
.rr-modal-body { padding: 20px; }
.rr-field { margin-bottom: 14px; }
.rr-field label {
  display: block; margin-bottom: 6px;
  font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: #b3a890;
}
.rr-field input {
  width: 100%; height: 44px; padding: 0 15px;
  background: #131318; border: 1px solid #34343c; border-radius: 6px;
  color: #f0ead9; font-size: 14px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rr-field input::placeholder { color: #6f6c74; }
.rr-field input:focus {
  outline: none; border-color: rgba(201,168,76,0.65);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.5), 0 0 0 3px rgba(201,168,76,0.1);
}
.rr-modal-link {
  display: inline-block; margin-top: 2px;
  font-size: 12px; color: #b3a890; text-decoration: none;
  border-bottom: 1px dotted rgba(201,168,76,0.4);
}
.rr-modal-link:hover { color: var(--rr-gold); }
.rr-reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.rr-reg-rules {
  padding: 15px 17px; margin-bottom: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07); border-radius: 8px;
}
.rr-reg-rules-title {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-family: 'Marcellus', serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase; color: var(--rr-gold);
}
.rr-reg-rules ul { margin: 0; padding: 0; list-style: none; }
.rr-reg-rules li {
  position: relative; padding: 4px 0 4px 16px;
  font-size: 11.5px; line-height: 1.5; color: #b3a890;
}
.rr-reg-rules li::before {
  content: ''; position: absolute; left: 2px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--rr-gold);
}
.rr-reg-rules li strong { color: var(--rr-gold-lt); }
.rr-check {
  display: flex; align-items: flex-start; gap: 9px; margin: 0 0 10px;
  font-size: 12px; line-height: 1.45; color: #b3a890; cursor: pointer; font-weight: 400;
}
.rr-check input { margin: 2px 0 0; accent-color: #c9a84c; flex: 0 0 auto; }
.rr-check a { color: var(--rr-gold); text-decoration: none; }
.rr-check a:hover { color: var(--rr-gold-lt); }
.rr-modal-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.015);
}
.rr-modal-ghost {
  padding: 0; background: none; border: none; cursor: pointer;
  font-family: 'Marcellus', serif; font-size: 11px; font-weight: 600; letter-spacing: 0.8px;
  color: #8c8894; text-transform: uppercase;
  border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease;
}
.rr-modal-ghost:hover { color: var(--rr-gold); border-bottom-color: rgba(201,168,76,0.6); }
.rr-modal-cta {
  padding: 12px 30px; border-radius: 6px;
  font-family: 'Rajdhani', sans-serif !important; font-size: 14px !important; font-weight: 700 !important;
  letter-spacing: 1.5px; text-transform: uppercase; color: #0a0704 !important;
  text-shadow: none !important;
  background: linear-gradient(180deg, #f0d176 0%, #c9a84c 55%, #ab8836 100%);
  border: 1px solid rgba(243,218,136,0.9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: background 0.2s ease;
}
.rr-modal-cta:hover {
  background: linear-gradient(180deg, #f7e090 0%, #d8b75a 55%, #b3892c 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transform: none;
}
.rr-modal-cta:active { transform: none; box-shadow: 0 4px 12px rgba(0,0,0,0.5); }
@media (max-width: 640px) {
  .rr-modal-lg { max-width: 420px; }
  .rr-reg-grid { grid-template-columns: 1fr; gap: 0; }
  .rr-modal-overlay { padding: 5vh 12px 12px; }
}

/* =====================================================================
   NEWS — Latest-News list (home module) + single article view
   The home module ships base styles (red button / green dots) tuned for a
   different skin; these rules re-theme it to dark/gold. !important is used
   only where needed to beat the module's inline <style> (parsed later). */

/* ---- Latest News list (home) ----
   "LATEST NEWS" is a sub-heading INSIDE the HOME content box, so it is a
   clean underlined label (not a second bordered box) aligned with the cards. */
.we-news-header {
  background: none !important;
  background-image: none !important;
  border: none !important;
  border-bottom: 1px solid rgba(201,168,76,0.25) !important;
  border-radius: 0 !important;
  padding: 0 0 9px 0 !important;
  margin: 0 0 16px 0 !important;
  position: relative !important;
  box-shadow: none !important;
}
.we-news-header::after { display: none !important; }
.we-news-h {
  font-family: 'Marcellus', serif !important;
  color: var(--rr-gold) !important;
  font-size: 15px !important; font-weight: 700 !important;
  letter-spacing: 1.8px !important; text-transform: uppercase !important;
  margin: 0 !important;
}
.we-news-list {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: flex !important; flex-direction: column !important; gap: 14px !important;
}
/* Each news entry -> a self-contained card that reads as part of the panel */
.we-news-card {
  display: flex !important; gap: 16px !important; align-items: stretch !important;
  margin: 0 !important; padding: 14px !important;
  background: linear-gradient(180deg, rgba(36,27,18,0.55), rgba(15,10,11,0.55)) !important;
  border: 1px solid rgba(201,168,76,0.16) !important;
  border-radius: 8px !important;
  box-shadow: 0 3px 12px rgba(0,0,0,0.28) !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
.we-news-card:hover {
  border-color: rgba(201,168,76,0.42) !important;
  box-shadow: 0 3px 12px rgba(0,0,0,0.28) !important;
  transform: none !important;
}
.we-news-left { flex: 0 0 auto !important; display: flex !important; }
.we-news-right {
  flex: 1 1 auto !important; min-width: 0 !important;
  display: flex !important; flex-direction: column !important;
}
.we-news-thumb {
  display: block !important;
  width: 132px !important; height: 104px !important;
  border: 1px solid rgba(201,168,76,0.25) !important;
  border-radius: 6px !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.35) !important;
  background-size: cover !important; background-position: center !important;
  overflow: hidden !important;
}
.we-news-title { margin: 0 0 4px !important; }
.we-news-title a {
  color: #f3e7cd !important; font-family: 'Marcellus', serif !important;
  font-weight: 700 !important; font-size: 16px !important; letter-spacing: .4px !important;
}
.we-news-title a:hover { color: var(--rr-gold) !important; }
.we-news-meta {
  display: inline-block !important; color: var(--rr-gold) !important; opacity: .9 !important;
  font-family: 'Rajdhani', sans-serif !important; font-size: 12px !important; font-weight: 600 !important;
  letter-spacing: 1px !important; padding: 0 0 8px !important;
}
/* collapse the source's hard line breaks so the preview reads as a clean blurb */
.we-news-preview br { display: none !important; }
.we-news-preview {
  color: #b9ad97 !important; font-size: 13px !important; line-height: 1.6 !important;
  margin: 0 0 12px !important;
  display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
}
/* Read More -> gold pill (was red), anchored to the bottom of the card */
.news-read-btn {
  align-self: flex-start !important; margin-top: auto !important;
  display: inline-block !important; padding: 8px 18px !important;
  background: linear-gradient(180deg, #f0d176 0%, #c9a84c 48%, #9c7a28 100%) !important;
  color: #1c1306 !important;
  border: 1px solid #f3da88 !important;
  border-radius: 4px !important;
  font-family: 'Marcellus', serif !important;
  font-weight: 800 !important; font-size: 13px !important; letter-spacing: 1.6px !important;
  text-transform: uppercase !important; text-shadow: none !important; text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4) !important;
}
.news-read-btn:hover {
  background: linear-gradient(180deg, #f7e090 0%, #d8b75a 48%, #b3892c 100%) !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4) !important;
}

/* ---- News list inline media (image + video preview) ----
   The template loads no icon font, so the play glyph is an inline SVG.
   Without these rules the video thumb collapses to 0px and stays invisible. */
.we-news-media { margin: 2px 0 12px !important; }
.we-news-inline-img {
  max-width: 100% !important; max-height: 190px !important;
  display: block !important; border-radius: 6px !important;
  border: 1px solid rgba(201,168,76,0.25) !important;
  box-shadow: 0 3px 12px rgba(0,0,0,0.45) !important;
}
.we-news-video-inline {
  position: relative !important; width: 100% !important; max-width: 340px !important;
  border-radius: 6px !important; overflow: hidden !important;
  border: 1px solid rgba(201,168,76,0.30) !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.5), 0 3px 12px rgba(0,0,0,0.45) !important;
  background: linear-gradient(135deg, #17120b, #241a0e) !important;
}
.we-news-video-inline iframe,
.we-news-video-inline video {
  display: block !important; width: 100% !important; border: 0 !important; border-radius: 6px !important;
}
.we-news-video-thumb {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 100% !important; height: 190px !important; position: relative !important; cursor: pointer !important;
  background-color: #17120b !important; background-size: cover !important; background-position: center !important;
}
.we-news-video-thumb::before {
  content: '' !important; position: absolute !important; inset: 0 !important;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.48)) !important;
}
.we-news-play {
  position: absolute !important; top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) !important; z-index: 1 !important;
  width: 54px !important; height: 54px !important; border-radius: 50% !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  background: linear-gradient(180deg, #f0d176 0%, #c9a84c 48%, #9c7a28 100%) !important;
  border: 2px solid #f3da88 !important; box-shadow: 0 4px 14px rgba(0,0,0,0.5) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
.we-news-play svg { width: 20px !important; height: 20px !important; margin-left: 3px !important; fill: #1c1306 !important; }
.we-news-video-thumb:hover .we-news-play {
  transform: translate(-50%, -50%) scale(1.08) !important;
  box-shadow: 0 6px 18px rgba(201,168,76,0.42) !important;
}
.we-news-platform {
  position: absolute !important; bottom: 10px !important; left: 50% !important;
  transform: translateX(-50%) !important; z-index: 1 !important;
  font-family: 'Rajdhani', sans-serif !important; font-size: 11px !important; font-weight: 600 !important;
  color: #f3e7cd !important; text-transform: uppercase !important; letter-spacing: 1px !important;
  background: rgba(0,0,0,0.6) !important; padding: 3px 10px !important; border-radius: 3px !important;
}

/* dots / pagination accents -> gold */
.we-hero-dot.is-active { background: var(--rr-gold) !important; }

/* ---- News pager: themed square buttons (‹ 1 2 3 ›) ---- */
.we-news-pagination {
  display: flex !important; flex-wrap: wrap !important;
  align-items: center !important; justify-content: center !important;
  gap: 8px !important;
  margin: 22px 0 4px !important; padding: 18px 0 2px !important;
  border-top: 1px solid rgba(201,168,76,0.16) !important;
}
.we-page-btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-width: 36px !important; height: 36px !important; padding: 0 10px !important;
  border: 1px solid rgba(201,168,76,0.35) !important; border-radius: 5px !important;
  background: linear-gradient(180deg, #241a0e, #17120b) !important;
  color: #e8dbbd !important; text-decoration: none !important;
  font-family: 'Rajdhani', sans-serif !important; font-weight: 700 !important;
  font-size: 15px !important; letter-spacing: .5px !important; line-height: 1 !important;
  box-shadow: inset 0 0 0 1px rgba(247,221,191,0.04) !important;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .1s ease !important;
}
.we-page-btn:hover {
  color: #1c1306 !important; border-color: #f3da88 !important;
  background: linear-gradient(180deg, #f7e090 0%, #d8b75a 48%, #b3892c 100%) !important;
}
.we-page-btn.we-page-active {
  color: #1c1306 !important; cursor: default !important;
  border-color: #f3da88 !important;
  background: linear-gradient(180deg, #f0d176 0%, #c9a84c 48%, #9c7a28 100%) !important;
  box-shadow: 0 3px 10px rgba(201,168,76,0.30) !important;
}
.we-page-arrow { padding: 0 !important; width: 36px !important; }
.we-page-arrow svg { display: block !important; }
.we-page-btn:active { transform: translateY(1px) !important; }

/* ---- Single article (detail) view ---- */
.we-article { color: var(--rr-text); font-family: 'Open Sans', Arial, sans-serif; line-height: 1.75; }
.we-article-back,
.we-article-back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 4px;
  font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--rr-gold) !important; text-decoration: none !important;
  background: linear-gradient(180deg, rgba(201,168,76,0.08), rgba(0,0,0,0.28));
  border: 1px solid var(--rr-border-strong);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}
.we-article-back svg, .we-article-back-btn svg { flex: 0 0 auto; }
.we-article-back:hover,
.we-article-back-btn:hover {
  color: var(--rr-gold-lt) !important; border-color: var(--rr-gold) !important;
  box-shadow: 0 0 12px rgba(201,168,76,0.22); transform: translateY(-1px);
}
.we-article-back { margin-bottom: 18px; }
.we-article-hero {
  height: 230px; margin: 0 0 20px; border-radius: 8px;
  background-size: cover; background-position: center;
  border: 1px solid var(--rr-border-strong);
  box-shadow: inset 0 -60px 90px -30px rgba(8,5,6,0.9);
}
.we-article-head { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--rr-border); }
.we-article-title {
  margin: 0 0 8px; padding: 0; border: 0;
  font-family: 'Marcellus', serif; font-weight: 800; font-size: 26px; line-height: 1.15;
  color: #f3e7cd; text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.we-article-meta {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--rr-muted);
}
.we-article-body { color: #d4c9b0; font-size: 14.5px; }
.we-article-body p { margin: 0 0 12px; }
.we-article-body a { color: var(--rr-gold); }
.we-article-body a:hover { color: var(--rr-gold-lt); }
.we-article-body strong, .we-article-body b { color: var(--rr-gold-lt); }
.we-article-body h1, .we-article-body h2, .we-article-body h3, .we-article-body h4 {
  font-family: 'Marcellus', serif; color: var(--rr-gold); margin: 18px 0 10px;
}
.we-article-body img { max-width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--rr-border); }
.we-article-body ul, .we-article-body ol { padding-left: 22px; margin: 0 0 12px; }
.we-article-body li { margin: 4px 0; }
.we-article-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rr-border); }

/* =====================================================================
   WEBSHOP — STYLE ONLY (no functionality changed)
   The webshop module ships its own inline styles; these scoped overrides
   fix the unreadable "greyed/disabled" buttons and blend the result with
   the dark/gold theme. Scoped to .rr-page-webshop so nothing else changes. */

/* Disabled product buttons stay clearly readable (not a washed-out grey) */
.rr-page-webshop .nav-style-btn:disabled {
  opacity: 1 !important;
  background: rgba(201,168,76,0.05) !important;
  border-color: rgba(201,168,76,0.3) !important;
  cursor: not-allowed;
}
.rr-page-webshop .nav-style-btn:disabled .btn-text {
  color: #b59a5e !important; text-shadow: none !important;
}
.rr-page-webshop .nav-style-btn:disabled .btn-icon { opacity: 0.55 !important; }
.rr-page-webshop .nav-style-btn.vip:disabled { border-color: rgba(245,158,11,0.32) !important; }
.rr-page-webshop .nav-style-btn.vip:disabled .btn-text { color: #c79a52 !important; }
/* enabled / selected product buttons */
.rr-page-webshop .nav-style-btn .btn-text { font-family: 'Rajdhani', sans-serif !important; }
/* themed "agreement recorded" success block (was flat green) */
.rr-page-webshop .signed-success {
  background: linear-gradient(180deg, rgba(201,168,76,0.10), rgba(0,0,0,0.3)) !important;
  border: 1px solid var(--rr-border-strong) !important;
  color: #e7d6a8 !important; border-radius: 8px !important;
}
.rr-page-webshop .signed-success strong { color: var(--rr-gold) !important; }
/* terms headline + slider blend */
.rr-page-webshop .terms-headline { color: #e6b15a !important; text-shadow: 0 0 10px rgba(201,168,76,0.25) !important; }
.rr-page-webshop .terms-slider { border-color: var(--rr-border) !important; }
/* amount / method cards read clearly */
.rr-page-webshop .amount-btn { color: #f3e7cd !important; }
.rr-page-webshop .method-name { color: #f3e7cd !important; }

/* =====================================================================
   SYSTEM MESSAGES / ALERTS / ERRORS — themed to blend with dark/gold
   WebEngine message() outputs .alert .alert-danger|success|warning|info.
   Also covers the webshop .error-msg and bootstrap text helpers. */
.alert {
  position: relative;
  padding: 13px 16px 13px 44px !important;
  margin-bottom: 16px;
  border-radius: 5px !important;
  border: 1px solid var(--rr-border-strong) !important;
  border-left-width: 3px !important;
  background: linear-gradient(180deg, rgba(20,16,17,0.92), rgba(12,9,10,0.92)) !important;
  color: #e3d8c0 !important;
  font-family: 'Open Sans', Arial, sans-serif !important; font-size: 13px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4) !important;
  text-shadow: none !important;
}
.alert strong { color: var(--rr-gold-lt) !important; }
.alert a { color: var(--rr-gold) !important; }
/* shared icon badge */
.alert::before {
  content: ''; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; background: center / contain no-repeat;
}
.alert-danger {
  border-color: #b3503f !important; border-left-color: #e06a4a !important;
  color: #f0c3b3 !important;
}
.alert-danger::before {
  background-color: #e06a4a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 6v6m0 3v.5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 6v6m0 3v.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.alert-success {
  border-color: #7e8a3a !important; border-left-color: var(--rr-gold) !important;
  color: #e7e0bf !important;
}
.alert-success::before {
  background-color: var(--rr-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.alert-warning {
  border-color: #b8902f !important; border-left-color: #e6b15a !important;
  color: #f0dcab !important;
}
.alert-warning::before {
  background-color: #e6b15a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 6v6m0 3v.5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 6v6m0 3v.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.alert-info {
  border-color: var(--rr-border-strong) !important; border-left-color: var(--rr-gold) !important;
  color: #e3d8c0 !important;
}
.alert-info::before {
  background-color: var(--rr-gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8h.01M11 12h1v5h1' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* webshop JS error bubble */
.error-msg {
  background: linear-gradient(180deg, rgba(40,20,18,0.95), rgba(24,12,12,0.95)) !important;
  border: 1px solid #b3503f !important; border-left: 3px solid #e06a4a !important;
  color: #f0c3b3 !important; border-radius: 5px !important;
}
/* bootstrap text helpers */
.text-danger { color: #e06a4a !important; }
.text-success { color: #cdbf7a !important; }
.text-warning { color: #e6b15a !important; }

/* ===================== DISABLE HEADER LIGHT / SPARK EFFECTS ===================== */
.header .light,
.header .big-light,
.header .sparks-sparks,
.header .sparks,
.light,
.big-light,
.sparks-sparks,
.sparks {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
