/*
Theme Name: Yalla Live
Author: Yalla Live
Description: قالب يلا لايف: كحلي ودهبي: آخر الأخبار وأهداف وملخصات المباريات، مع مكان لجدول المباريات أعلى الرئيسية. اسم الموقع يُكتب من الإعدادات العامة.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: yallalive
Tags: rtl-language-support, dark-mode, news, sports
*/

:root, :root[data-theme="dark"] {
  --bg: #070B14;
  --surface: #0F1626;
  --surface-2: #0A101C;
  --line: rgba(212, 175, 55, .16);
  --ink: #F6F1E4;
  --muted: #A9A38F;
  --faint: #6C6855;
  --live: #E5484D;
  --brand: #D4AF37;
  --brand-ink: #F1D27A;
  --brand-soft: rgba(212, 175, 55, .12);
  --win: #F1D27A;
  --draw: #8E8B80;
  --r-lg: 20px;
  --top-bg: rgba(9, 13, 24, .86);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F7F4EC;
  --surface: #FFFFFF;
  --surface-2: #F3EEDF;
  --line: #EAE1C8;
  --ink: #17130A;
  --muted: #6E6650;
  --faint: #A9A08A;
  --live: #D7263D;
  --brand: #B08A2E;
  --brand-ink: #8C6A1C;
  --brand-soft: rgba(176, 138, 46, .10);
  --win: #8C6A1C;
  --draw: #9A9483;
  --top-bg: rgba(255, 255, 255, .9);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F7F4EC; --surface: #FFFFFF; --surface-2: #F3EEDF; --line: #EAE1C8; --ink: #17130A; --muted: #6E6650; --faint: #A9A08A;
    --live: #D7263D; --brand: #B08A2E; --brand-ink: #8C6A1C; --brand-soft: rgba(176, 138, 46, .10); --win: #8C6A1C; --draw: #9A9483; --top-bg: rgba(255, 255, 255, .9);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-ink); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.snt-skip { position: absolute; top: -40px; right: 12px; background: var(--brand); color: #fff; padding: 6px 12px; border-radius: 8px; z-index: 100; }
.snt-skip:focus { top: 8px; color: #fff; }
.snt-i { flex: none; }

/* header */
.snt-top { position: sticky; top: 0; z-index: 50; background: var(--top-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 2px solid var(--brand); }
.admin-bar .snt-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .snt-top { top: 0; } }
.snt-top-in { max-width: 1180px; margin: 0 auto; padding: 0 16px; height: 64px; display: flex; align-items: center; gap: 18px; }
.snt-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.snt-brand:hover { color: inherit; }
.snt-logo { width: 38px; height: 38px; border-radius: 11px; }
.snt-name { font-weight: 800; font-size: 22px; letter-spacing: -.2px; }
.snt-name em { font-style: normal; color: var(--brand); }
.snt-nav { flex: 1; min-width: 0; }
.snt-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.snt-menu a { display: block; padding: 7px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; }
.snt-menu a:hover, .snt-menu .current-menu-item > a, .snt-menu .current_page_item > a { color: var(--ink); background: var(--surface-2); }
.snt-menu .sub-menu { display: none; }
.snt-tools { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.snt-ib { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; }
.snt-ib:hover { color: var(--brand); }
.snt-burger { display: none; }
.snt-theme-btn .is-light { display: none; }
:root[data-theme="light"] .snt-theme-btn .is-light { display: block; }
:root[data-theme="light"] .snt-theme-btn .is-dark { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .snt-theme-btn .is-light { display: block; }
  :root:not([data-theme="dark"]) .snt-theme-btn .is-dark { display: none; }
}
.snt-get { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff !important; font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 12px; white-space: nowrap; }
.snt-get .snt-i { width: 16px; height: 16px; }
.snt-get:hover { filter: brightness(1.08); }
.snt-get.is-big { padding: 10px 18px; font-size: 17px; }
.snt-get.is-big span { display: flex; flex-direction: column; line-height: 1.25; }
.snt-get.is-big small { font-size: 11.5px; font-weight: 500; opacity: .9; }
.snt-searchbar { border-top: 1px solid var(--line); }
.snt-searchbar .snt-top-in { height: auto; padding-top: 10px; padding-bottom: 10px; }
.snt-sform { display: flex; gap: 8px; width: 100%; }
.snt-sform input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 14px; font: inherit; }
.snt-sform button { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; }

/* layout */
.snt-main { min-height: 60vh; }
.snt-wrap { max-width: 1180px; margin: 0 auto; padding: 20px 16px 32px; }
.snt-cols { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.snt-side { position: sticky; top: 84px; }
.snt-sec { margin: 0 0 28px; }
.snt-sec-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.snt-sec-head h2 { font-size: 20px; margin: 0; padding-inline-start: 12px; border-inline-start: 4px solid var(--brand); line-height: 1.2; }
.snt-sec-head a { font-size: 14px; font-weight: 600; color: var(--brand-ink); }
.snt-phead { margin: 0 0 16px; }
.snt-phead h1 { font-size: clamp(22px, 3vw, 30px); }
.snt-desc { color: var(--muted); }

/* cards */
.snt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.snt-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.snt-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.snt-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.snt-card-img { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.snt-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snt-card-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--surface-2), var(--brand-soft)); }
.snt-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.snt-card h3 { font-size: 15.5px; line-height: 1.55; margin: 0; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.snt-card time, .snt-meta time { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); margin-top: auto; }
.snt-card time .snt-i, .snt-meta .snt-i { width: 14px; height: 14px; }
.snt-chip { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 2px 10px; border-radius: 99px; }

/* article */
.snt-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.snt-crumbs b { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.snt-article { min-width: 0; }
.snt-ahead h1 { font-size: clamp(23px, 3.2vw, 32px); margin: 10px 0 8px; }
.snt-meta { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.snt-hero-img { margin: 0 0 18px; border-radius: 18px; overflow: hidden; }
.snt-hero-img img { width: 100%; display: block; }
.snt-content { font-size: 17.5px; line-height: 1.95; }
.snt-content p { margin: 0 0 1.1em; }
.snt-content h2 { font-size: 22px; margin: 1.4em 0 .5em; }
.snt-content h3 { font-size: 19px; margin: 1.3em 0 .5em; }
.snt-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.snt-content img, .snt-content figure { border-radius: 14px; }
.snt-content figure { margin: 1.2em 0; }
.snt-content figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.snt-content blockquote { margin: 1.2em 0; padding: 12px 16px; border-inline-start: 4px solid var(--brand); background: var(--surface); border-radius: 12px; }
.snt-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.snt-content th, .snt-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: center; }
.snt-content th { background: var(--surface-2); }
.snt-content ul, .snt-content ol { padding-inline-start: 1.4em; }
.snt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.snt-tags a { font-size: 13px; padding: 4px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.snt-share { display: flex; align-items: center; gap: 8px; margin: 18px 0 20px; flex-wrap: wrap; }
.snt-share span { font-weight: 600; font-size: 14px; margin-inline-end: 4px; }
.snt-share a, .snt-share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; }
.snt-share .is-wa:hover { color: #25D366; }
.snt-share .is-fb:hover { color: #1877F2; }
.snt-share .is-tg:hover { color: #2AABEE; }
.snt-copy.is-done { color: var(--win); border-color: var(--win); }

/* sidebar */
.snt-widget { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 0 0 16px; }
.snt-widget-title { font-size: 16px; margin: 0 0 12px; }
.snt-widget .scp-lgrid { grid-template-columns: 1fr; gap: 6px; }
.snt-widget .scp-lgc { padding: 7px 10px; border-radius: 12px; background: var(--bg); font-size: 14px; }
.snt-widget .scp-lgc img { width: 26px; height: 26px !important; }
.snt-wmore { display: block; text-align: center; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--brand); }
.snt-widget ul { margin: 0; padding: 0; list-style: none; }
.snt-mini li { border-top: 1px solid var(--line); }
.snt-mini li:first-child { border-top: 0; }
.snt-mini a { display: flex; gap: 10px; padding: 9px 0; align-items: flex-start; }
.snt-mini img { width: 84px; height: 54px; object-fit: cover; border-radius: 10px; flex: none; }
.snt-mini span { font-size: 14px; font-weight: 600; line-height: 1.55; display: flex; flex-direction: column; gap: 3px; }
.snt-mini small { font-weight: 400; color: var(--muted); font-size: 12px; }

/* pagination, empty, 404 */
.snt-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; }
.snt-pages .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.snt-pages .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.snt-empty { text-align: center; padding: 48px 16px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: 16px; }
.snt-empty.is-404 b { display: block; font-size: 72px; line-height: 1; color: var(--brand); }
.snt-empty h1 { color: var(--ink); margin-top: 10px; }
.snt-empty .snt-sform { max-width: 420px; margin: 16px auto; }
.snt-btn { display: inline-block; background: var(--brand); color: #fff !important; padding: 10px 20px; border-radius: 12px; font-weight: 700; }

/* comments */
.snt-comments { margin: 24px 0 0; }
.snt-clist { list-style: none; padding: 0; }
.snt-comments textarea, .snt-comments input[type=text], .snt-comments input[type=email], .snt-comments input[type=url] { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 10px; font: inherit; }
.snt-comments input[type=submit] { background: var(--brand); color: #fff; border: 0; border-radius: 12px; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; }

/* forms of pages (contact form 7) */
.snt-content input[type=text], .snt-content input[type=email], .snt-content textarea { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 10px 12px; font: inherit; margin-top: 4px; }
.snt-content input[type=submit] { background: var(--brand); color: #fff; border: 0; border-radius: 12px; padding: 10px 22px; font: inherit; font-weight: 700; cursor: pointer; }

/* footer */
.snt-foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 20px; }
.snt-foot-in { max-width: 1180px; margin: 0 auto; padding: 28px 16px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.snt-foot-brand { max-width: 420px; }
.snt-foot-brand p { color: var(--muted); font-size: 14px; margin: 8px 0 14px; }
.snt-flinks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.snt-flinks a { color: var(--muted); font-size: 14.5px; }
.snt-flinks a:hover { color: var(--brand-ink); }
.snt-fcols { display: grid; grid-template-columns: repeat(4, auto); gap: 18px 36px; }
@media (min-width: 901px) { .snt-foot-in { flex-wrap: nowrap; } .snt-foot-brand { max-width: 320px; } }
.snt-fcol h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--brand); }
.snt-fcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.snt-fcol a { color: var(--muted); font-size: 14px; }
.snt-fcol a:hover { color: var(--ink); }
.snt-fcol .snt-flinks { flex-direction: column; gap: 10px; }
@media (max-width: 900px) { .snt-foot-in { flex-direction: column; } .snt-fcols { grid-template-columns: 1fr 1fr; gap: 22px 18px; } }
.snt-copy-line { text-align: center; color: var(--muted); font-size: 13px; padding: 14px 16px; border-top: 1px solid var(--line); }

/* WordPress bits */
.alignwide { margin-inline: -40px; }
.wp-caption-text { font-size: 13px; color: var(--muted); }
.sticky .snt-card { border-color: var(--brand); }

@media (max-width: 1024px) {
  .snt-cols { grid-template-columns: minmax(0, 1fr); }
  .snt-side { position: static; }
  .alignwide { margin-inline: 0; }
}
@media (max-width: 860px) {
  .snt-burger { display: grid; }
  .snt-nav { position: fixed; inset: 64px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; max-height: calc(100vh - 64px); overflow: auto; }
  .admin-bar .snt-nav { top: 110px; }
  .snt-nav-open .snt-nav { display: block; }
  .snt-menu { flex-direction: column; }
  .snt-menu a { font-size: 16px; padding: 11px 12px; }
  .snt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snt-top-in { gap: 10px; }
}
@media (max-width: 560px) {
  .snt-get span { display: none; }
  .snt-get { padding: 0; width: 40px; height: 40px; justify-content: center; }
  .snt-get.is-big { width: auto; padding: 10px 18px; }
  .snt-get.is-big span { display: flex; }
  .snt-name { font-size: 19px; }
  .snt-logo { width: 34px; height: 34px; }
  .snt-grid, .snt-grid.is-2 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .snt-wrap { padding-top: 14px; }
  .snt-content { font-size: 17px; }
}


/* 1.0.6: smoother mobile — nothing wider than the screen, an app-like bottom bar, softer cards */
html, body { overflow-x: clip; }
body { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
.snt-bnav { display: none; }
@media (max-width: 860px) {
  .snt-bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0 0; z-index: 60;
    background: var(--top-bg); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .snt-bnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; font-size: 11px; font-weight: 600; color: var(--muted); }
  .snt-bnav a .snt-i { width: 23px; height: 23px; }
  .snt-bnav a.is-on { color: var(--brand); }
  .snt-bnav a:active { transform: scale(.94); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .snt-top .snt-get { display: none; }
  .snt-top-in { height: 58px; gap: 10px; }
  .snt-nav { inset: 58px 0 auto 0; }
  .snt-ib { width: 38px; height: 38px; border-radius: 11px; border: 0; background: var(--surface-2); }
  .snt-wrap { padding: 14px 12px 24px; }
  .snt-name { font-size: 19px; }
  .snt-logo { width: 34px; height: 34px; }
}

/* the "فانتازي الدوري المصري" page (page-fantasy.php): the plugin's block, plus any text written in the editor */
.snt-fz-page > p, .snt-fz-page > h2, .snt-fz-page > h3, .snt-fz-page > ul { max-width: 860px; }
.snt-fz-page > p { font-size: 16.5px; line-height: 1.9; margin: 0 0 1em; }
.snt-fz-page > h2 { font-size: 22px; margin: 1.2em 0 .5em; }

/* ---------- home: the table slot (any widget / shortcode, e.g. a matches-table plugin) */
.snt-hometop { margin-bottom: 22px; }
.snt-hometop .snt-widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; margin: 0 0 14px; }
.snt-hometop .snt-widget-title { font-size: 18px; margin: 0 0 10px; padding-inline-start: 10px; border-inline-start: 3px solid var(--brand); }

/* ---------- matches table plugin (AlbaSport-style table, slider and match page): the site's colours, dark and light */
html:root body .AlbaSportFixture, html:root body .AspTopSliderMatch, html:root body .alm-single {
  --asp-gray: var(--surface-2) !important; --asp-gray2: var(--line) !important; --asp-light: var(--surface) !important;
  --asp-dark: var(--ink) !important; --asp-blue: var(--ink) !important; --asp-fxtr: var(--brand) !important; --asp-sldr: var(--brand) !important;
}
.AlbaSportFixture { border-radius: var(--r-lg); }
.AlbaSportFixture .AF_Filters .tablinks { color: var(--muted); }
.AlbaSportFixture .AF_Filters .tablinks.active { color: #fff; }
.AlbaSportFixture .AF_EvItem { border-radius: 10px; }
.AlbaSportFixture .AF_Footer, .aspwp_dark_style .AF_Footer, .aspwp_dark_style .alm-board { border-color: var(--line); }
.aspwp_dark_style .alm-board { background: var(--surface-2); }
.alm-desc h2 { color: var(--ink); }
.snt-hometop .widget_block { padding: 0; background: none; border: 0; }

/* 1.0.2: floating link button (right side, live feel) */
.snt-float { position: fixed; z-index: 59; right: 16px; bottom: 96px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 14px; border-radius: 999px; background: var(--gold); color: #1A1405;
  font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 6px 20px rgba(212,175,55,.45);
  animation: snt-glow 2s ease-in-out infinite; }
.snt-float:hover, .snt-float:focus { color: #1A1405; filter: brightness(1.08); }
.snt-float .snt-i { width: 20px; height: 20px; }
.snt-float .snt-live { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 999px;
  background: rgba(255,255,255,.2); font-size: 11px; font-weight: 800; letter-spacing: .3px; }
.snt-float .snt-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.8); animation: snt-dot 1.4s ease-out infinite; }
@keyframes snt-dot { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 80%, 100% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }
@keyframes snt-glow { 0%, 100% { box-shadow: 0 6px 18px rgba(212,175,55,.40); } 50% { box-shadow: 0 6px 28px rgba(212,175,55,.75); } }
@media (max-width: 860px) { .snt-float { bottom: calc(150px + env(safe-area-inset-bottom)); right: 12px; padding: 9px 13px 9px 12px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .snt-float, .snt-float .snt-live::before { animation: none; } }
@media print { .snt-float { display: none; } }

/* ================================================================== Yalla Live: navy and gold */
:root { --gold: linear-gradient(135deg, #F6DE8D 0%, #D4AF37 45%, #9C7A22 100%); --on-gold: #1A1405;
  --glass: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0) 60%), var(--surface); }
:root[data-theme="light"] { --glass: var(--surface); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --glass: var(--surface); } }

/* stadium lights behind the top of the page (no image: two soft light pools) */
body { background:
  radial-gradient(60% 260px at 8% -40px, rgba(255, 236, 190, .13), transparent 70%),
  radial-gradient(60% 260px at 92% -40px, rgba(255, 236, 190, .13), transparent 70%),
  linear-gradient(180deg, #0C1424 0, var(--bg) 420px) no-repeat, var(--bg); }
:root[data-theme="light"] body { background: radial-gradient(70% 240px at 50% -60px, rgba(212,175,55,.16), transparent 70%) no-repeat, var(--bg); }

/* header */
.snt-top { border-bottom: 1px solid rgba(212, 175, 55, .35); box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 10px 30px rgba(0,0,0,.25); }
.snt-name { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.snt-ib { border-radius: 50%; border-color: rgba(212, 175, 55, .25); background: var(--glass); }
.snt-ib:hover { color: var(--brand-ink); border-color: var(--brand); }

/* boxes: glass cards with a thin gold edge */
html body .snt-widget, html body .snt-hometop .snt-widget, html body .scp-lg, html body .scp-card, html body .snt-card {
  background: var(--glass); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(0, 0, 0, .28); }
:root[data-theme="light"] body .snt-widget, :root[data-theme="light"] body .scp-lg { box-shadow: 0 6px 18px rgba(120, 95, 30, .08); }
html body .scp-lg .scp-card { box-shadow: none; border: 0; background: transparent; }
html body .scp-lg { position: relative; border-radius: var(--r-lg); }
html body .scp-lg-head { position: relative; }
html body .scp-lg-head::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 90px; pointer-events: none;
  background: linear-gradient(115deg, transparent 18%, rgba(241, 210, 122, .35) 19%, transparent 23%, transparent 30%, rgba(241, 210, 122, .18) 31%, transparent 34%); }
html body .scp-lg-name a { color: var(--ink); font-weight: 800; }

/* days, filters and bottom bar: the current one is a gold pill */
html body .scp-day { border-radius: 14px; }
html body .scp-day.is-cur { background: var(--gold); box-shadow: 0 4px 14px rgba(212, 175, 55, .3); color: var(--on-gold); }
html body .scp-day.is-cur b, html body .scp-day.is-cur small { color: var(--on-gold); }
html body .scp-chip { border-radius: 999px; border-color: var(--line); }
html body .scp-chip.is-on { background: var(--gold); border-color: transparent; color: var(--on-gold); font-weight: 700; }
@media (max-width: 860px) {
  .snt-bnav { border-top: 1px solid rgba(212, 175, 55, .3); }
  .snt-bnav a.is-on { color: var(--on-gold); background: var(--gold); border-radius: 16px; margin: 0 4px; box-shadow: 0 4px 14px rgba(212, 175, 55, .3); }
}

/* scores in a dark box, live minute in a red pill */
html body .scp-score { background: var(--surface-2); border: 1px solid rgba(255, 255, 255, .06); padding: 3px 12px; border-radius: 12px; }
:root[data-theme="light"] body .scp-score { border-color: var(--line); }
html body .scp-min { color: #fff; background: var(--live); padding: 1px 9px; border-radius: 999px; margin-top: 4px; }
html body .scp-min .scp-dot { background: #fff; }
html body .scp-row:hover { background: var(--brand-soft); }

/* titles and links */
.snt-hometop .snt-widget-title { border-inline-start-color: var(--brand); }
a:hover { color: var(--brand-ink); }
