:root {
  --bg-paper: #FAF7F2;
  --bg-surface: #FFFFFF;
  --bg-warm-card: #F3EFE6;
  --bg-elevated: #EFEAE0;
  --ink-primary: #141413;
  --ink-secondary: #4A4843;
  --ink-muted: #78756E;
  --crimson: #8B1E24;
  --crimson-hover: #6E161B;
  --crimson-soft: rgba(139, 30, 36, 0.09);
  --gold: #B8860B;
  --gold-soft: rgba(184, 134, 11, 0.14);
  --emerald: #1B6B50;
  --emerald-soft: rgba(27, 107, 80, 0.12);
  --border-hairline: #E4DEC9;
  --border-strong: #CEC6B0;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-soft: 0 6px 24px -4px rgba(20, 20, 19, 0.06);
  --shadow-float: 0 18px 42px -6px rgba(20, 20, 19, 0.14);
  --font-serif: 'Amiri', Georgia, serif;
  --font-head: 'Readex Pro', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', sans-serif;
}

[data-theme="dark"] {
  --bg-paper: #11100E;
  --bg-surface: #1A1815;
  --bg-warm-card: #221F1B;
  --bg-elevated: #2A2621;
  --ink-primary: #F2EFE9;
  --ink-secondary: #B8B2A6;
  --ink-muted: #857F74;
  --crimson: #D94850;
  --crimson-hover: #E85D65;
  --crimson-soft: rgba(217, 72, 80, 0.15);
  --gold: #E0A92B;
  --gold-soft: rgba(224, 169, 43, 0.16);
  --emerald: #34A87E;
  --emerald-soft: rgba(52, 168, 126, 0.15);
  --border-hairline: #2C2823;
  --border-strong: #3D3830;
  --shadow-soft: 0 6px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-float: 0 18px 42px -6px rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-paper);
  color: var(--ink-primary);
  font-family: var(--font-body);
  line-height: 1.75;
  transition: background-color 0.25s ease, color 0.25s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.2s ease;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.breaking-bar {
  background: linear-gradient(90deg, #7A161B 0%, #9E2329 100%);
  color: #FFF;
  padding: 9px 20px;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.breaking-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.breaking-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.32);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #FFD166;
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.8);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(255, 209, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 209, 102, 0);
  }
}

.breaking-timer {
  font-size: 11.5px;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.masthead {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.masthead-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 12.5px;
  color: var(--ink-secondary);
  flex-wrap: wrap;
  gap: 10px;
}

.masthead-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-emblem {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--crimson);
  color: #FAF7F2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(139, 30, 36, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink-primary);
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
  border-top: 1px solid var(--border-hairline);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 13px 15px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--crimson);
  border-bottom-color: var(--crimson);
  font-weight: 600;
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 20px;
  flex: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
  margin-bottom: 34px;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-strong);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--crimson);
  color: #FFF;
}

.btn-primary:hover {
  background: var(--crimson-hover);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: #FFF;
}

.btn-gold:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-emerald {
  background: var(--emerald);
  color: #FFF;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink-primary);
}

.btn-outline:hover,
.btn-outline.active {
  border-color: var(--crimson);
  color: var(--crimson);
  background: var(--crimson-soft);
}

.btn-soft {
  background: var(--crimson-soft);
  color: var(--crimson);
}

.btn-sm {
  padding: 6px 13px;
  font-size: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-crimson {
  background: var(--crimson-soft);
  color: var(--crimson);
}

.badge-gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.badge-emerald {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.badge-dark {
  background: var(--ink-primary);
  color: var(--bg-paper);
}

.ad-slot {
  background: var(--bg-warm-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}

.ad-tag {
  font-size: 10px;
  background: var(--border-hairline);
  color: var(--ink-muted);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.opinion-card {
  background: var(--bg-warm-card);
  border: 1px solid var(--border-strong);
  border-right: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.opinion-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.media-dark-card {
  background: #171513;
  color: #F5F2EB;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #2E2A25;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.media-dark-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.roya-slider {
  margin-bottom: 28px;
  background: var(--bg-warm-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 14px;
  user-select: none;
}

.slider-stage {
  position: relative;
  width: 100%;
  height: 460px;
  background: #0F0E0C;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  touch-action: pan-y;
}

.slider-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.22s ease, transform 0.25s ease;
  pointer-events: none;
}

.slider-top-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 5;
}

.slider-pill {
  background: rgba(15, 14, 12, 0.78);
  backdrop-filter: blur(8px);
  color: #FFF;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 14, 12, 0.75);
  backdrop-filter: blur(6px);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 6;
  transition: 0.2s ease;
}

.slider-arrow:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  transform: translateY(-50%) scale(1.06);
}

.slider-arrow.prev {
  right: 14px;
}

.slider-arrow.next {
  left: 14px;
}

.slider-thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 4px 4px;
  scrollbar-width: thin;
}

.slider-thumb-item {
  width: 82px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2.5px solid transparent;
  opacity: 0.62;
  transition: all 0.2s ease;
  position: relative;
}

.slider-thumb-item:hover {
  opacity: 0.9;
}

.slider-thumb-item.active {
  border-color: var(--crimson);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 30, 36, 0.25);
}

.slider-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .slider-stage {
    height: 265px;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  .slider-thumb-item {
    width: 66px;
    height: 48px;
  }
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-strong);
  margin-top: 60px;
  padding: 48px 20px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-hairline);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.visitor-mobile-dock {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 420px;
  background: rgba(20, 20, 19, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  align-items: center;
  justify-content: space-around;
  z-index: 990;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.dock-item {
  color: #D6D1C7;
  font-family: var(--font-head);
  font-size: 11.5px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.dock-item.active,
.dock-item:hover {
  background: var(--crimson);
  color: #FFF;
  font-weight: 600;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body.visitor-page {
    padding-bottom: 84px;
  }
  .visitor-mobile-dock {
    display: flex;
  }
  .brand-title {
    font-size: 28px;
  }
  .brand-emblem {
    width: 46px;
    height: 46px;
    font-size: 25px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.admin-topbar {
  background: #141311;
  color: #F2EFE9;
  padding: 12px 20px;
  border-bottom: 1px solid #2C2924;
  position: relative;
  z-index: 300;
}

.admin-topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-menu-toggle {
  display: none;
  background: var(--crimson);
  color: #FFF;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  gap: 6px;
}

.admin-shell {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  flex: 1;
}

.admin-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  box-shadow: var(--shadow-soft);
}

.admin-drawer-close {
  display: none;
  width: 100%;
  margin-bottom: 12px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-hairline);
}

.admin-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 9, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1990;
}

.admin-drawer-backdrop.open {
  display: block;
}

.admin-nav-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: 0.2s;
}

.admin-nav-item:hover {
  background: var(--bg-warm-card);
  color: var(--ink-primary);
}

.admin-nav-item.active {
  background: var(--crimson);
  color: #FFF;
  font-weight: 600;
}

.admin-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  width: 100%;
}

.admin-header-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}

.stat-val {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 6px 0 4px;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1120px) {
  .studio-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

table.editorial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

table.editorial-table th {
  background: var(--bg-warm-card);
  color: var(--ink-secondary);
  font-family: var(--font-head);
  font-weight: 600;
  text-align: right;
  padding: 13px 15px;
  border-bottom: 1px solid var(--border-hairline);
}

table.editorial-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: middle;
}

table.editorial-table tr:hover td {
  background: rgba(184, 134, 11, 0.03);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
  min-width: 0;
}

.form-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-primary);
}

.form-control {
  width: 100%;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-paper);
  color: var(--ink-primary);
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

.form-control:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px var(--crimson-soft);
}

.admin-mobile-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #141311;
  border-top: 1px solid #2C2924;
  padding: 8px 10px;
  z-index: 1500;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.28);
}

.admin-dock-link {
  color: #C2BDB3;
  font-family: var(--font-head);
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  border-radius: 8px;
}

.admin-dock-link.active,
.admin-dock-link:hover {
  color: #FFF;
  background: var(--crimson);
}

@media (max-width: 1024px) {
  .admin-menu-toggle {
    display: inline-flex;
  }
  .admin-shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 14px;
  }
  .admin-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 290px;
    max-width: 85vw;
    z-index: 2000;
    border-radius: 0;
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-drawer-close {
    display: flex;
  }
}

@media (max-width: 768px) {
  body.admin-page {
    padding-bottom: 76px;
  }
  .admin-mobile-dock {
    display: flex;
  }
  .admin-header-card {
    padding: 16px;
  }
  .admin-header-card h1 {
    font-size: 22px !important;
  }

  .table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow-x: visible;
  }
  table.editorial-table,
  table.editorial-table tbody,
  table.editorial-table tr,
  table.editorial-table td {
    display: block;
    width: 100%;
  }
  table.editorial-table thead {
    display: none;
  }
  table.editorial-table tr {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    padding: 14px;
    box-shadow: var(--shadow-soft);
  }
  table.editorial-table td {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-hairline);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    text-align: left;
  }
  table.editorial-table td:last-child {
    border-bottom: none;
    padding-top: 12px;
    justify-content: flex-start;
  }
  table.editorial-table td::before {
    content: attr(data-label);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-muted);
    text-align: right;
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 9, 0.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 3000;
  user-select: none;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--shadow-float);
  max-height: 90vh;
  overflow-y: auto;
}

#roya-toast {
  position: fixed;
  bottom: 84px;
  left: 20px;
  right: 20px;
  max-width: 420px;
  background: #141413;
  color: #FAF7F2;
  border-right: 4px solid var(--gold);
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 13px;
  box-shadow: var(--shadow-float);
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.25s ease;
}

#roya-toast.show {
  opacity: 1;
  transform: translateY(0);
}


.brand-block {
  display: inline-flex;
  align-items: center;
}
.brand-logo-img {
  height: 58px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}
.admin-logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .brand-logo-img {
    height: 46px;
    max-width: 190px;
  }
}


.ad-banner-media {
  width: 120px;
  height: 76px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}
.ad-slot-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 240px;
}
@media (max-width: 600px) {
  .ad-slot-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .ad-banner-media {
    width: 100%;
    height: 150px;
  }
}