:root {
  --upaper-primary: #121212;
  --upaper-secondary: #101010;
  --upaper-accent: #05a3f5;
  --upaper-crimson: #e32636;
  --upaper-crimson-dark: #75090f;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--upaper-accent) #e6ecf2;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #e6ecf2; }
::-webkit-scrollbar-thumb { background: var(--upaper-accent); border-radius: 9999px; border: 2px solid #e6ecf2; }

.scrollbar-dark { scrollbar-color: var(--upaper-accent) #1a1a1a; }
.scrollbar-dark::-webkit-scrollbar-track { background: #1a1a1a; }
.scrollbar-crimson { scrollbar-color: #e90e2f #54060a; }
.scrollbar-crimson::-webkit-scrollbar-track { background: #54060a; }
.scrollbar-crimson::-webkit-scrollbar-thumb { background: #e90e2f; border: none; }
.scrollbar-red { scrollbar-color: var(--upaper-crimson) #f1f5f9; }
.scrollbar-red::-webkit-scrollbar-thumb { background: var(--upaper-crimson); border: none; }

body.up-body {
  margin: 0;
  background: #f3f5f8;
  color: #172033;
  font-family: "Noto Naskh Arabic", system-ui, sans-serif;
  direction: rtl;
  text-align: right;
}

.up-num { font-family: "JetBrains Mono", monospace; font-variant-numeric: tabular-nums; }
.up-container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.up-accent-text { color: var(--upaper-accent); font-weight: 700; }

/* Utility Bar */
.up-utility-bar { background: var(--upaper-primary); color: #e2e8f0; border-bottom: 1px solid #262626; font-size: 12px; }
.up-utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 12px; }
.up-utility-right, .up-utility-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.up-epaper-btn { background: var(--upaper-accent); color: #fff; text-decoration: none; font-weight: 700; padding: 5px 12px; border-radius: 3px; font-size: 11px; display: inline-flex; align-items: center; gap: 6px; }
.up-epaper-btn:hover { background: #0490d9; color: #fff; }
.up-icon-btn, .up-weather-btn { background: #1e1e1e; color: #e2e8f0; border: 1px solid #333; padding: 4px 8px; border-radius: 4px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-family: inherit; font-size: 12px; }
.up-utility-socials { display: inline-flex; align-items: center; gap: 8px; border-right: 1px solid #333; padding-right: 10px; }
.up-utility-socials a { text-decoration: none; font-size: 13px; }
.up-utility-link { color: #e2e8f0; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; background: transparent; border: none; padding: 0; font-family: inherit; font-size: 12px; cursor: pointer; }
.up-utility-link:hover { color: var(--upaper-accent); }
.up-weather-wrap { position: relative; }
.up-weather-popover { position: absolute; left: 0; top: 100%; margin-top: 6px; width: 260px; background: #fff; color: #172033; padding: 12px; border-radius: 6px; box-shadow: 0 12px 30px rgba(0,0,0,0.2); z-index: 60; }
.up-search-drawer { background: #1a1a1a; padding: 12px 0; border-top: 1px solid #2a2a2a; }
.up-search-drawer .search-form { display: flex; gap: 8px; }
.up-search-drawer .search-field { flex: 1; background: #111; border: 1px solid var(--upaper-accent); color: #fff; padding: 8px 12px; border-radius: 4px; font-family: inherit; }
.up-search-drawer .search-submit { background: var(--upaper-accent); color: #fff; border: none; padding: 8px 18px; border-radius: 4px; cursor: pointer; font-weight: 700; font-family: inherit; }

@media (max-width: 640px) { .up-hide-sm, .up-utility-socials { display: none; } }
@media (max-width: 768px) { .up-hide-md { display: none; } }
@media (max-width: 1024px) { .up-hide-lg { display: none; } }

/* Masthead */
.up-header { background: #fff; border-bottom: 1px solid #e2e8f0; }
.up-masthead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.up-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #121212; }
.up-brand-badge { width: 48px; height: 48px; background: linear-gradient(135deg, #05a3f5, #2563eb, #4338ca); border-bottom: 4px solid #fbbf24; border-radius: 5px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(37, 99, 235, 0.22); }
.up-brand-title { font-size: 28px; font-weight: 800; line-height: 1; color: #121212; letter-spacing: -0.02em; }
.up-brand-sub { font-size: 11px; color: #64748b; margin-top: 4px; }
.up-masthead-banner { flex: 1; min-width: 280px; background: linear-gradient(to left, #121212, #1c2430, #0b4f75); color: #fff; border-radius: 4px; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.up-banner-left { display: flex; align-items: center; gap: 12px; }
.up-banner-spark { width: 40px; height: 40px; border-radius: 5px; background: linear-gradient(135deg, #fbbf24, #f97316); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.up-banner-kicker { font-size: 12px; color: #67cbff; }
.up-banner-title { font-family: "Lateef", serif; font-size: 28px; font-weight: 700; line-height: 1.15; }
.up-banner-cta { background: var(--upaper-accent); color: #fff; text-decoration: none; padding: 8px 16px; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.up-banner-cta:hover { background: #0490d9; color: #fff; }
@media (max-width: 640px) { .up-masthead-banner { flex-direction: column; align-items: flex-start; } .up-banner-spark { display: none; } }

/* Main Sticky Nav */
.up-main-nav { background: var(--upaper-primary); border-top: 5px solid var(--upaper-accent); position: sticky; top: 0; z-index: 40; box-shadow: 0 4px 12px rgba(0,0,0,0.14); }
.up-nav-list { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; white-space: nowrap; }
.up-nav-list li { border-left: 1px solid #2a2a2a; flex-shrink: 0; }
.up-nav-list li:first-child { border-right: 1px solid #2a2a2a; }
.up-nav-list li a { display: block; padding: 12px 14px; color: #f1f5f9; text-decoration: none; font-size: 14px; font-weight: 500; transition: background 0.15s ease; }
.up-nav-list li a:hover, .up-nav-list li.current-menu-item a { background: var(--upaper-accent); color: #fff; }
.up-mobile-toggle { display: none; width: 100%; background: transparent; border: none; color: #fff; padding: 12px 0; text-align: right; font-size: 15px; cursor: pointer; font-family: inherit; }
@media (max-width: 960px) {
  .up-mobile-toggle { display: block; }
  .up-nav-list { display: none; flex-direction: column; }
  .up-nav-list.is-open { display: flex; }
}

/* Ticker & Hero */
.up-home-wrap { padding-top: 16px; display: flex; flex-direction: column; gap: 24px; }
.up-ticker-box { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--upaper-accent); border-radius: 4px; overflow: hidden; }
.up-ticker-badge { background: linear-gradient(to left, #05a3f5, #2563eb); color: #fff; padding: 8px 16px; font-weight: 700; font-size: 13px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; z-index: 2; }
.up-ticker-track { flex: 1; overflow: hidden; display: flex; align-items: center; padding: 6px 0; }
.up-ticker-scroll { display: flex; gap: 24px; white-space: nowrap; animation: up-ticker-rtl 36s linear infinite; }
.up-ticker-track:hover .up-ticker-scroll { animation-play-state: paused; }
@keyframes up-ticker-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
.up-ticker-item { color: #1e293b; text-decoration: none; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.up-ticker-item:hover { color: var(--upaper-accent); }
.up-ticker-bolt { color: #f59e0b; }
.up-ticker-sep { color: #cbd5e1; margin-right: 8px; }

.up-hero-top { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 10px; }
.up-hero-bottom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 900px) { .up-hero-top { grid-template-columns: 1fr; } .up-hero-bottom { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .up-hero-bottom { grid-template-columns: 1fr; } }
.up-hero-card { position: relative; border-radius: 4px; overflow: hidden; background: #0f172a; }
.up-hero-card.is-lead { height: 330px; }
.up-hero-card.is-sub { height: 220px; }
.up-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.up-hero-card:hover .up-hero-img { transform: scale(1.04); }
.up-hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.35), transparent); }
.up-hero-meta { position: absolute; bottom: 0; inset-inline: 0; padding: 16px; color: #fff; }
.up-hero-cat { font-size: 11px; color: #67cbff; display: block; margin-bottom: 4px; }
.up-hero-read { color: #fcd34d; }
.up-hero-title { margin: 0; font-family: "Lateef", serif; font-size: 26px; line-height: 1.2; color: #fff; }
.up-hero-card.is-sub .up-hero-title { font-size: 20px; }

/* Cards & Grids */
.up-card-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 4px; padding: 18px; }
.up-section-head { border-bottom: 4px solid var(--upaper-accent); margin-bottom: 16px; background: #fff; display: flex; align-items: center; justify-content: space-between; }
.up-section-head-left { display: flex; align-items: center; gap: 10px; }
.up-section-icon-box { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.up-section-title { margin: 0; font-family: "Lateef", serif; font-size: 28px; font-weight: 700; padding: 4px 8px 4px 0; color: #121212; }
.up-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.up-split-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; align-items: start; }
.up-split-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; align-items: start; }
.up-hot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) {
  .up-grid-3, .up-split-7-5, .up-split-5-7, .up-hot-grid { grid-template-columns: 1fr; }
}
.up-hot-lead-img img, .up-cat-lead-img img { width: 100%; height: 185px; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 10px; }
.up-hot-lead-title, .up-cat-lead-title { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.up-hot-lead-title a, .up-cat-lead-title a, .up-col-title a { color: #0f172a; text-decoration: none; }
.up-hot-lead-title a:hover, .up-cat-lead-title a:hover, .up-col-title a:hover, .up-ranked-title:hover { color: var(--upaper-accent); }
.up-archive-excerpt { font-size: 13px; color: #475569; line-height: 1.7; margin: 6px 0 8px; }
.up-hot-sub { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.up-hot-sub:last-child, .up-cat-sub:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.up-cat-lead { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.up-cat-sub { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.up-edition-list { padding: 0; }
.up-edition-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #f1f5f9; text-decoration: none; color: #0f172a; font-size: 13px; }
.up-edition-row:hover { background: #f8fafc; }
.up-edition-row:last-child { border-bottom: none; }
.up-edition-left { display: flex; align-items: center; gap: 10px; }
.up-edition-badge { width: 32px; height: 32px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; flex-shrink: 0; }
.up-edition-row strong { display: block; }
.up-edition-row small { color: #64748b; font-size: 11px; }
.up-biz-headlines { list-style: none; margin: 0; padding: 0; }
.up-biz-headlines li { margin-bottom: 8px; }
.up-biz-headlines a { color: #1e293b; text-decoration: none; font-size: 13px; line-height: 1.6; }
.up-biz-headlines a:hover { color: var(--upaper-accent); }
.up-col-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 12px; margin-bottom: 8px; }
.up-col-title { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.up-sub-title { font-family: "Lateef", serif; font-size: 22px; border-bottom: 2px solid var(--upaper-accent); padding-bottom: 6px; margin: 0 0 12px; }
.up-ranked-item { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.up-ranked-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.up-rank-num { width: 24px; height: 24px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.up-mini-img-wrap img { width: 64px; height: 48px; object-fit: cover; border-radius: 3px; display: block; }
.up-ranked-title { display: block; color: #1e293b; text-decoration: none; font-size: 13px; font-weight: 600; line-height: 1.5; }
.up-meta-text { font-size: 11px; color: #64748b; }
.up-reading-badge { color: #d97706; font-weight: 700; }

/* Built-in & Plugin Parity Styles (Business, CurrencyPlus, Bullion, Names, Magazines, Horoscope, Cricket, Live, Video, Rate List, Bulletins, Newsletter) */
.up-psx-bar { display: flex; align-items: center; background: #121212; color: #fff; border-radius: 4px; overflow: hidden; margin-bottom: 16px; }
.up-psx-badge { background: var(--upaper-accent); padding: 10px 14px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.up-psx-scroll { display: flex; gap: 20px; padding: 8px 14px; overflow-x: auto; white-space: nowrap; flex: 1; }
.up-psx-item { display: inline-flex; gap: 6px; font-size: 12px; font-family: "JetBrains Mono", monospace; }
.up-psx-item .is-up { color: #34d399; }
.up-psx-item .is-down { color: #fb7185; }

.up-biz-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; }
@media (max-width: 900px) { .up-biz-grid { grid-template-columns: 1fr; } }
.up-currency-card, .up-bullion-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; }
.up-currency-head { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.up-currency-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid #f1f5f9; cursor: pointer; transition: background 0.15s ease; }
.up-currency-row:hover { background: #f8fafc; }
.up-currency-row.is-active { background: #eaf4ff; }
.up-cur-left { display: flex; align-items: center; gap: 8px; }
.up-cur-name { font-size: 11px; color: #64748b; }
.up-cur-input { width: 120px; text-align: right; padding: 5px 8px; border: 1px solid #05a3f5; border-radius: 4px; background: #d5e9ff; font-weight: 700; color: #0f172a; }
.up-cur-val { font-weight: 700; color: #0f172a; font-size: 13px; }

.up-bullion-card { padding: 18px; }
.up-bullion-head { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px; margin-bottom: 12px; }
.up-bullion-icon-badge { width: 38px; height: 38px; border-radius: 6px; background: linear-gradient(135deg, #f59e0b, #d97706); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.up-bullion-title-text { margin: 0; font-size: 17px; color: #0f172a; }
.up-bullion-list { display: flex; flex-direction: column; gap: 10px; }
.up-bullion-item { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; border-radius: 6px; font-size: 13px; }
.up-bullion-item.is-gold { background: linear-gradient(to left, #fffbeb, #fef3c7); border: 1px solid #fde68a; }
.up-bullion-item.is-silver { background: linear-gradient(to left, #f8fafc, #e2e8f0); border: 1px solid #cbd5e1; }
.up-bullion-label { display: flex; align-items: center; gap: 10px; }
.up-bullion-label strong { display: block; color: #0f172a; }
.up-bullion-label small { color: #64748b; font-size: 11px; }
.up-medal { width: 32px; height: 32px; border-radius: 999px; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: "JetBrains Mono", monospace; }
.up-medal.is-gold { background: linear-gradient(135deg, #f59e0b, #b45309); }
.up-medal.is-silver { background: linear-gradient(135deg, #94a3b8, #475569); }
.up-gold-price { color: #92400e; font-size: 14px; }
.up-silver-price { color: #334155; font-size: 14px; }

.up-names-box { background: #121212; color: #fff; padding: 22px; border-radius: 6px; border: 1px solid #262626; }
.up-names-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.up-names-top h2 { font-family: "Lateef", serif; font-size: 30px; margin: 0; }
.up-names-top p { font-size: 12px; color: #94a3b8; margin: 4px 0 0; }
.up-names-badge-icon { width: 42px; height: 42px; border-radius: 6px; background: linear-gradient(135deg, #05a3f5, #4f46e5); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.up-names-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 768px) { .up-names-cols { grid-template-columns: 1fr; } }
.up-names-panel { background: #1a1a1a; padding: 14px; border-radius: 6px; border: 1px solid #2a2a2a; }
.up-names-panel h3 { margin: 0 0 12px; font-family: "Lateef", serif; font-size: 24px; }
.up-names-panel h3.is-boys { color: #67cbff; }
.up-names-panel h3.is-girls { color: #f472b6; }
.up-names-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.up-name-chip { background: #242424; padding: 10px; border-radius: 4px; border: 1px solid #303030; }
.up-name-ar { display: block; font-size: 14px; color: #fff; }
.up-name-chip small { display: block; font-size: 11px; color: #94a3b8; margin-top: 3px; }

.up-mag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .up-mag-grid { grid-template-columns: repeat(2, 1fr); } }
.up-mag-cover { display: block; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; margin-bottom: 10px; background: #0f172a; }
.up-mag-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-mag-card h4 { margin: 6px 0 0; font-size: 15px; }
.up-mag-card h4 a { color: #0f172a; text-decoration: none; }

.up-horoscope-track { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.up-horoscope-card { min-width: 155px; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 14px; text-align: center; flex-shrink: 0; cursor: pointer; font-family: inherit; transition: border-color 0.15s ease, transform 0.15s ease; }
.up-horoscope-card:hover, .up-horoscope-card.is-active { border-color: #a855f7; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(168, 85, 247, 0.14); }
.up-horoscope-badge { width: 48px; height: 48px; border-radius: 9999px; color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.12); }
.up-horoscope-card h4 { margin: 0 0 4px; font-family: "Lateef", serif; font-size: 22px; color: #0f172a; }
.up-horoscope-card span { font-size: 11px; color: #64748b; }
.up-horoscope-detail { margin-top: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 14px 16px; }
.up-horoscope-detail p { margin: 6px 0 0; font-size: 14px; color: #334155; line-height: 1.75; }

.up-cricket-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 768px) { .up-cricket-grid { grid-template-columns: 1fr; } }
.up-cricket-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 14px; }
.up-crk-top { display: flex; justify-content: space-between; font-size: 11px; color: #64748b; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px; margin-bottom: 10px; }
.up-crk-top .is-live { color: #e32636; }
.up-crk-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.up-crk-foot { font-size: 11px; color: #05a3f5; border-top: 1px solid #f1f5f9; padding-top: 8px; margin-top: 8px; }

.up-live-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.up-live-row:last-child { border-bottom: none; }
.up-live-row a { color: #0f172a; text-decoration: none; font-weight: 600; }
.up-live-row a:hover { color: var(--upaper-crimson); }
.up-live-time { background: #fee2e2; color: #b91c1c; padding: 4px 8px; border-radius: 4px; font-weight: 700; font-size: 12px; }

.up-video-showcase { background: #75090f; color: #fff; border-radius: 6px; overflow: hidden; }
.up-vid-head { background: #e90e2f; padding: 10px 18px; display: flex; align-items: center; gap: 8px; }
.up-vid-head h2 { margin: 0; font-family: "Lateef", serif; font-size: 28px; }
.up-vid-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 16px; padding: 16px; }
@media (max-width: 900px) { .up-vid-grid { grid-template-columns: 1fr; } }
.up-vid-player { position: relative; aspect-ratio: 16/9; background: #160000; border-radius: 6px; overflow: hidden; }
.up-vid-poster { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; display: block; }
.up-vid-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2)); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; text-align: center; gap: 10px; }
.up-vid-play-circle { width: 54px; height: 54px; border-radius: 999px; background: #e90e2f; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.up-vid-playlist { max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.up-vid-item { text-align: right; background: #8d171b; color: #fff; border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; padding: 12px; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: inherit; }
.up-vid-item:hover, .up-vid-item.is-active { background: #a51d22; border-color: #fca5a5; }
.up-vid-dot { color: #fca5a5; font-size: 11px; }

.up-head-red { border-bottom-color: #e32636 !important; }
.up-rate-wrap { max-height: 340px; overflow-y: auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; }
.up-rate-table { width: 100%; border-collapse: collapse; text-align: right; }
.up-rate-table th { background: #e32636; color: #fff; padding: 10px 14px; position: sticky; top: 0; font-size: 13px; }
.up-rate-table td { padding: 10px 14px; border-bottom: 1px solid #e2e8f0; font-size: 14px; }
.up-rate-table tr:nth-child(even) td { background: #f7f8fa; }

.up-bulletins-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .up-bulletins-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .up-bulletins-grid { grid-template-columns: 1fr; } }
.up-bulletin-label { display: inline-block; background: #e32636; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-bottom: 8px; font-weight: 700; }
.up-bulletin-card h4 { margin: 0; font-size: 15px; line-height: 1.5; }
.up-bulletin-card h4 a { color: #0f172a; text-decoration: none; }

/* Live Pakistan Weather Widget */
.up-weather-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.up-weather-city-btn { border: 1px solid #e2e8f0; background: #f8fafc; color: #334155; padding: 6px 14px; border-radius: 4px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
.up-weather-city-btn.is-active { background: var(--upaper-accent); color: #fff; border-color: var(--upaper-accent); }
.up-weather-live-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(to left, #f0f9ff, #ffffff); border: 1px solid #bae6fd; border-radius: 6px; padding: 16px 20px; }
.up-weather-metrics { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; color: #475569; margin-top: 8px; }
.up-weather-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
@media (max-width: 640px) { .up-weather-days { grid-template-columns: repeat(2, 1fr); } }
.up-weather-day-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 4px; padding: 8px; text-align: center; font-size: 12px; }

/* Newsletter Strip */
.up-nl-strip { background: #181818; color: #fff; padding: 34px 16px; text-align: center; border-top: 1px solid #262626; }
.up-nl-inner { max-width: 600px; margin: 0 auto; }
.up-nl-inner h3 { font-family: "Lateef", serif; font-size: 32px; margin: 0 0 6px; }
.up-nl-inner p { font-size: 13px; color: #cbd5e1; margin: 0 0 18px; }
.up-nl-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.up-nl-form input { flex: 1; padding: 10px 14px; border-radius: 4px; border: 1px solid #404040; background: #111; color: #fff; font-family: inherit; }
.up-nl-form button { background: #05a3f5; color: #fff; border: none; padding: 10px 20px; border-radius: 4px; font-weight: 700; cursor: pointer; font-family: inherit; }
.up-nl-msg { margin-top: 10px; font-size: 13px; color: #34d399; }

/* Single & Archive */
.up-single-wrap, .up-archive-wrap { padding-top: 24px; padding-bottom: 24px; }
.up-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: #64748b; }
.up-single-title { font-family: "Lateef", serif; font-size: 38px; line-height: 1.3; margin: 8px 0 16px; }
.up-single-thumb img { width: 100%; height: auto; border-radius: 4px; margin-bottom: 20px; }
.up-single-content { font-size: 17px; line-height: 1.9; color: #1e293b; }
.up-article-share-box { margin-top: 28px; padding: 14px 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.up-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.up-share-btn { padding: 7px 12px; border-radius: 4px; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; display: inline-flex; align-items: center; }
.up-share-btn.is-wa { background: #25D366; }
.up-share-btn.is-fb { background: #1877F2; }
.up-share-btn.is-tw { background: #1DA1F2; }
.up-share-btn.is-copy { background: #1e293b; }
.up-related-wrap { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.up-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .up-archive-grid { grid-template-columns: 1fr; } }
.up-archive-img-wrap img { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 8px; }
.up-archive-title { margin: 0 0 6px; }
.up-archive-title a { color: #0f172a; text-decoration: none; font-size: 17px; line-height: 1.4; }
.up-archive-title a:hover { color: var(--upaper-accent); }

/* Footer */
.up-footer { margin-top: 48px; }
.up-footer-grid-wrap { background: var(--upaper-secondary); color: #fff; padding: 40px 0; border-top: 1px solid #1c1c1c; }
.up-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 900px) { .up-footer-grid { grid-template-columns: repeat(2, 1fr); } }
.up-footer-title { font-family: "Lateef", serif; font-size: 24px; border-bottom: 2px solid #1c1c1c; padding-bottom: 8px; margin: 0 0 14px; }
.up-footer-links { list-style: none; margin: 0; padding: 0; }
.up-footer-links li { margin-bottom: 8px; }
.up-footer-links a { color: #cbd5e1; text-decoration: none; font-size: 14px; }
.up-footer-links a:hover { color: var(--upaper-accent); }

.up-social-bar { margin-top: 32px; padding-top: 24px; border-top: 1px solid #1c1c1c; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.up-social-heading { font-family: "Lateef", serif; font-size: 24px; margin: 0; }
.up-social-sub { font-size: 12px; color: #94a3b8; margin: 4px 0 0; }
.up-social-icons { display: flex; gap: 10px; }
.up-social-icons a { width: 40px; height: 40px; border-radius: 4px; color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 12px; font-weight: 700; transition: transform 0.15s ease; }
.up-social-icons a:hover { transform: translateY(-2px); }
.up-social-icons a.is-fb { background: #1877F2; }
.up-social-icons a.is-tw { background: #1DA1F2; }
.up-social-icons a.is-ig { background: linear-gradient(135deg,#F58529,#DD2A7B,#8134AF); }
.up-social-icons a.is-yt { background: #FF0000; }
.up-copyright-bar { background: #000; color: #94a3b8; font-size: 12px; padding: 14px 0; }
.up-copyright-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* First-visit Push Notification Prompt */
.up-push-prompt { position: fixed; bottom: 16px; left: 16px; width: 380px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; box-shadow: 0 20px 35px rgba(15, 23, 42, 0.22); z-index: 9999; overflow: hidden; }
.up-push-accent { height: 3px; background: linear-gradient(90deg, #4f46e5, #05a3f5, #e32636); }
.up-push-body { padding: 16px; }
.up-push-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.up-push-title-wrap { display: flex; align-items: flex-start; gap: 10px; }
.up-push-icon { width: 38px; height: 38px; border-radius: 5px; background: linear-gradient(135deg, #e32636, #f59e0b); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.up-push-title { font-family: "Lateef", serif; font-size: 24px; line-height: 1.05; margin: 0; color: #0f172a; }
.up-push-sub { font-size: 11px; color: #64748b; margin-top: 3px; }
.up-push-close { background: transparent; border: none; color: #94a3b8; cursor: pointer; font-size: 14px; padding: 4px 6px; border-radius: 4px; }
.up-push-close:hover { background: #f1f5f9; color: #0f172a; }
.up-push-desc { font-size: 12px; color: #475569; line-height: 1.7; margin: 12px 0 0; }
.up-push-feedback { margin-top: 10px; padding: 8px 10px; border-radius: 4px; font-size: 12px; line-height: 1.6; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.up-push-feedback.is-error { background: #fff1f2; color: #9f1239; border-color: #fecdd3; }
.up-push-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.up-push-allow { flex: 1; background: #05a3f5; color: #fff; border: none; border-radius: 4px; padding: 9px 14px; font-size: 12px; font-weight: 700; cursor: pointer; }
.up-push-allow:hover { background: #0490d9; }
.up-push-dismiss { background: #f1f5f9; color: #334155; border: none; border-radius: 4px; padding: 9px 14px; font-size: 12px; font-weight: 700; cursor: pointer; }
.up-push-dismiss:hover { background: #e2e8f0; }

/* Engaging UI Comment Section */
.up-comments-wrap { margin-top: 32px; padding-top: 24px; border-top: 1px solid #e2e8f0; }
.up-comments-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.up-comments-title-group { display: flex; align-items: center; gap: 10px; }
.up-comments-icon { width: 38px; height: 38px; border-radius: 6px; background: linear-gradient(135deg, #05a3f5, #4f46e5); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.up-comments-heading { font-family: "Lateef", serif; font-size: 28px; line-height: 1.05; margin: 0; color: #0f172a; }
.up-comments-sub { font-size: 12px; color: #64748b; margin: 3px 0 0; }
.up-comment-composer-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 18px; margin-bottom: 22px; }
.up-reply-title { font-family: "Lateef", serif; font-size: 24px; margin: 0 0 10px; color: #0f172a; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.up-cancel-reply a { font-family: "Noto Naskh Arabic", sans-serif; font-size: 12px; color: #e32636; text-decoration: none; font-weight: 700; background: #fff1f2; padding: 4px 10px; border-radius: 4px; }
.up-logged-in-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 10px 12px; margin-bottom: 14px; }
.up-logged-user { display: flex; align-items: center; gap: 10px; }
.up-logged-user img { width: 38px; height: 38px; border-radius: 999px; object-fit: cover; }
.up-guest-avatar { width: 38px; height: 38px; border-radius: 999px; background: linear-gradient(135deg, #05a3f5, #2563eb); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.up-logged-links { font-size: 12px; color: #64748b; }
.up-logged-links a { color: #05a3f5; font-weight: 700; text-decoration: none; }
.up-logged-links a:hover { text-decoration: underline; }
.up-comment-notes { font-size: 12px; color: #64748b; margin: 0 0 12px; }
.up-comment-fields-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 12px; }
@media (max-width: 640px) { .up-comment-fields-grid { grid-template-columns: 1fr; } }
.up-form-group label { display: block; font-size: 12px; font-weight: 700; color: #334155; margin-bottom: 5px; }
.up-form-group input { width: 100%; background: #fff; border: 1px solid #cbd5e1; border-radius: 6px; padding: 9px 12px; font-size: 13px; color: #0f172a; box-sizing: border-box; font-family: inherit; }
.up-form-group input:focus, .up-comment-textarea:focus { outline: none; border-color: #05a3f5; box-shadow: 0 0 0 3px rgba(5, 163, 245, 0.16); }
.up-form-full { grid-column: 1 / -1; }
.up-cookie-check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #475569; margin: 0 0 12px; }
.up-comment-field-wrap { margin-bottom: 12px; }
.up-comment-textarea { width: 100%; min-height: 100px; background: #fff; border: 1px solid #cbd5e1; border-radius: 6px; padding: 12px; font-size: 14px; line-height: 1.75; color: #0f172a; box-sizing: border-box; font-family: inherit; resize: vertical; }
.up-comment-field-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.up-comment-submit-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.up-comment-submit-btn { background: linear-gradient(135deg, #05a3f5, #2563eb); color: #fff; border: none; border-radius: 6px; padding: 10px 20px; font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; box-shadow: 0 4px 12px rgba(5, 163, 245, 0.25); transition: transform 0.15s ease, filter 0.15s ease; }
.up-comment-submit-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.up-comment-list, .up-comment-list .children { list-style: none; margin: 0; padding: 0; }
.up-comment-list { display: flex; flex-direction: column; gap: 14px; }
.up-comment-list .children { margin-top: 12px; margin-right: 20px; padding-right: 16px; border-right: 2px solid #e2e8f0; display: flex; flex-direction: column; gap: 10px; }
.up-comment-card { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 14px 16px; }
.up-comment-list .children .up-comment-card { background: #f8fafc; }
.up-comment-avatar img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; border: 2px solid #e2e8f0; display: block; }
.up-comment-main { flex: 1; min-width: 0; }
.up-comment-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.up-comment-author { font-size: 14px; color: #0f172a; }
.up-comment-author-role { font-size: 11px; color: #05a3f5; font-weight: 700; }
.up-comment-time { font-size: 11px; color: #64748b; }
.up-comment-pending { font-size: 12px; color: #b45309; background: #fffbeb; border: 1px solid #fde68a; padding: 6px 10px; border-radius: 4px; margin: 8px 0; }
.up-comment-text { font-size: 14px; line-height: 1.8; color: #334155; margin-top: 8px; }
.up-comment-text p { margin: 0 0 8px; }
.up-comment-text p:last-child { margin-bottom: 0; }
.up-comment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #f1f5f9; }
.up-comment-action-btn, .up-reply-action-wrap a, .up-edit-action-wrap a { background: transparent; border: none; padding: 0; font-size: 12px; font-weight: 700; color: #64748b; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; font-family: inherit; }
.up-comment-action-btn:hover, .up-comment-action-btn.is-liked, .up-reply-action-wrap a:hover, .up-edit-action-wrap a:hover { color: #05a3f5; }
.up-comments-empty { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 6px; padding: 18px; text-align: center; font-size: 13px; color: #64748b; }
.up-comments-closed { font-size: 12px; color: #64748b; margin-top: 12px; }
