:root {
  --red: #e30613;
  --ink: #07101f;
  --muted: #68717d;
  --line: #edf0f4;
  --soft: #f7f8fa;
  --dark: #07101f;
  --radius: 6px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: #f4f5f7;
}
button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.topbar { height: 40px; background: #07101f; color: #fff; font-size: 12px; }
.topbar-inner { width: min(100% - 32px, 1240px); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.topbar-inner > span { white-space: nowrap; flex: 0 0 auto; }
.topbar-inner > span:first-child { min-width: max-content; }
.topbar b { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 14px; line-height: 1; }
.topbar time { white-space: nowrap; font-style: normal; }
.live-currency { display: flex; align-items: center; gap: 18px; min-width: 0; }
.currency-rate { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-weight: 800; }
.currency-rate i { font-style: normal; font-size: 11px; }
.currency-rate.up i { color: #15aa54; }
.currency-rate.down i { color: #ff3341; }
.currency-rate.same i { color: #aeb7c4; }
.currency-unavailable { color: #aeb7c4; white-space: nowrap; }
.search { position: relative; flex: 0 0 auto; width: 40px; height: 40px; }
.search-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: var(--red); color: #fff; cursor: pointer; }
.search-drop { position: absolute; top: 100%; right: 0; z-index: 60; display: flex; width: min(420px, calc(100vw - 32px)); background: #fff; border: 1px solid #e2e7ee; box-shadow: 0 16px 34px rgba(7, 16, 31, .18); }
.search-drop[hidden] { display: none; }
.search-drop input, .search-page-form input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; border: 0; outline: 0; background: #fff; color: var(--ink); font: inherit; font-size: 15px; }
.search-drop > button, .search-page-form > button { flex: 0 0 auto; padding: 0 18px; border: 0; background: var(--red); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.search-page-form { position: relative; display: flex; margin: 0 0 14px; border: 1px solid #d9dee6; background: #fff; }
.search-page-form .search-suggestions { left: 0; right: 0; width: auto; }
.search-summary { margin: 0 0 18px; color: var(--muted); font-size: 14px; font-weight: 700; }
.search-summary:empty { display: none; }
.search-suggestions a.search-all-results { color: var(--red); font-size: 13px; font-weight: 800; }
.search-suggestions { position: absolute; top: 100%; right: 0; z-index: 60; width: min(420px, calc(100vw - 32px)); max-height: 390px; overflow-y: auto; border: 1px solid #e2e7ee; border-radius: 0 0 10px 10px; background: #fff; color: var(--ink); box-shadow: 0 20px 45px rgba(7,16,31,.2); }
.search-suggestions[hidden] { display: none; }
.search-suggestions a { display: grid; gap: 3px; padding: 11px 14px; border-bottom: 1px solid #edf0f4; }
.search-suggestions a:hover { background: #f6f7f9; }
.search-suggestions small { color: var(--red); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.search-suggestions b { color: var(--ink); font-size: 13px; line-height: 1.3; }
.search-suggestions p { margin: 0; padding: 16px; color: var(--muted); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.web-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); box-shadow: 0 10px 28px rgba(7, 16, 31, .06); backdrop-filter: blur(14px); }
.web-header-inner { position: relative; width: min(100% - 80px, 1728px); height: 110px; margin: 0 auto; display: grid; grid-template-columns: 178px minmax(0, 1fr) 154px 40px; align-items: center; column-gap: 18px; }
.web-logo { width: 155px; height: 76px; object-fit: contain; }
.web-logo-tv { width: 155px; height: 76px; object-fit: contain; background: transparent; }
.web-header nav { display: flex; align-items: center; justify-content: flex-start; gap: clamp(12px, 1.55vw, 28px); min-width: 0; overflow-x: auto; overflow-y: hidden; padding: 0 2px; scrollbar-width: none; }
.web-header nav::-webkit-scrollbar { display: none; }
.web-header nav a { position: relative; display: inline-flex; flex: 0 0 max-content; align-items: center; height: 110px; white-space: nowrap; font-size: 15px; font-weight: 900; text-transform: uppercase; }
.web-header nav a.active { color: var(--red); }
.web-header nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 28px; height: 2px; background: var(--red); }
.lang-switch { position: relative; display: grid; grid-template-columns: 54px; align-items: center; height: 40px; padding: 4px 10px; border-radius: 8px; background: #f1f3f6; border: 1px solid var(--line); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.lang-switch::after { content: "⌄"; position: absolute; right: 12px; top: 50%; transform: translateY(-56%); color: #68717d; font-size: 12px; font-weight: 950; pointer-events: none; }
.lang-switch select { width: 54px; height: 30px; padding: 0 18px 0 9px; border: 0; border-radius: 6px; appearance: none; background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 950; outline: none; box-shadow: 0 7px 16px rgba(7, 16, 31, .08); }
.topbar .lang-switch { margin-left: auto; height: 32px; padding: 3px 8px; border-color: rgba(255,255,255,.16); background: #111d2e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.topbar .lang-switch::after { right: 10px; color: #aeb7c4; }
.topbar .lang-switch select { height: 26px; background: #fff; }
.static-lang summary { display: grid; place-items: center; width: 54px; height: 30px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 950; list-style: none; cursor: pointer; }
.static-lang summary::-webkit-details-marker { display: none; }
.static-lang a { position: absolute; top: calc(100% + 5px); left: 8px; right: 8px; z-index: 5; display: grid; place-items: center; min-height: 30px; border-radius: 6px; background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(7, 16, 31, .12); font-size: 12px; font-weight: 950; }
.tv-live { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 52px; min-width: 154px; padding: 6px 17px 6px 9px; border: 1px solid rgba(227, 6, 19, .48); border-radius: 9px; background: #fff; color: var(--ink); box-shadow: none; }
.web-header nav .tv-live { height: 52px; min-width: 154px; flex: 0 0 auto; margin-left: auto; }
.web-header-inner > .tv-live { position: relative; z-index: 2; grid-column: 3; justify-self: end; width: 154px; min-width: 154px; height: 52px; margin: 0; }
.web-header-inner > .menu { position: relative; z-index: 2; grid-column: 4; justify-self: end; width: 40px; min-width: 40px; margin: 0; }
.web-header nav .tv-live::after { display: none; }
.tv-live span { display: inline-grid; place-items: center; width: 38px; height: 26px; border-radius: 6px; background: var(--red); color: #fff; font-size: 13px; font-weight: 950; line-height: 1; letter-spacing: .02em; }
.tv-live b { font-size: 15px; font-weight: 950; text-transform: uppercase; white-space: nowrap; }
.menu { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 24px; }
.menu[aria-expanded="true"] { border-color: rgba(227,6,19,.35); color: var(--red); background: #fff7f8; }
.site-menu-panel { position: absolute; top: calc(100% - 8px); right: 0; z-index: 80; width: min(760px, calc(100vw - 32px)); max-height: min(70vh, 620px); overflow: auto; padding: 0 24px 24px; border: 1px solid #e3e8ef; border-radius: 12px; background: #fff; box-shadow: 0 28px 70px rgba(7,16,31,.22); }
.site-menu-panel[hidden] { display: none; }
.site-menu-panel > header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 68px; border-bottom: 1px solid var(--line); background: #fff; }
.site-menu-panel > header b { font-size: 18px; font-weight: 950; }
.site-menu-panel > header button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f3f5f8; font-size: 23px; line-height: 1; }
.site-menu-panel [data-site-menu-categories] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 28px; padding-top: 22px; }
.site-menu-panel [data-site-menu-categories] > section { min-width: 0; }
.site-menu-root { display: block; padding-bottom: 9px; border-bottom: 2px solid var(--red); font-size: 15px; font-weight: 950; }
.site-menu-panel section nav { display: grid; gap: 8px; padding-top: 11px; }
.site-menu-panel section nav a { color: #536075; font-size: 13px; font-weight: 750; line-height: 1.35; }
.site-menu-panel section nav a:hover, .site-menu-root:hover { color: var(--red); }
@media (max-width: 720px) { .site-menu-panel [data-site-menu-categories] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.breaking-news-web { position: relative; z-index: 19; height: 38px; border-bottom: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; overflow: hidden; }
.breaking-news-web strong { height: 100%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 12px; font-weight: 950; text-transform: uppercase; }
.breaking-viewport { min-width: 0; overflow: hidden; }
.breaking-track { display: flex; align-items: center; width: max-content; animation: breaking-scroll 110s linear infinite; transform: translateX(-50%); }
.breaking-track:hover { animation-play-state: paused; }
.breaking-track a { position: relative; display: inline-flex; align-items: center; min-height: 38px; padding: 0 28px; white-space: nowrap; color: #111b2a; font-size: 13px; font-weight: 850; }
.breaking-track a::after { content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--red); transform: translateY(-50%); }
@keyframes breaking-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.admin-body { background: #f4f6f9; color: var(--ink); }
.admin-app { min-height: 100vh; display: grid; grid-template-columns: 286px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: grid; grid-template-rows: auto 1fr auto; gap: 26px; padding: 28px; background: #07101f; color: #fff; }
.admin-brand { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-brand img { width: 118px; height: 58px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.18)); }
.admin-brand span { display: inline-grid; place-items: center; width: 46px; height: 28px; border-radius: 999px; background: var(--red); font-weight: 950; letter-spacing: .02em; }
.admin-sidebar nav { display: grid; align-content: start; gap: 8px; }
.admin-sidebar nav a { display: flex; align-items: center; min-height: 46px; padding: 0 15px; border-radius: 8px; color: #c5ccd6; font-weight: 900; }
.admin-sidebar nav a.active, .admin-sidebar nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-sidebar-card { display: grid; gap: 8px; padding: 18px; border-radius: 8px; background: rgba(255,255,255,.07); color: #c5ccd6; }
.admin-sidebar-card b { color: #fff; }
.admin-main { min-width: 0; padding: 30px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.admin-top span { color: var(--red); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.admin-top h1 { margin: 6px 0 0; font-size: clamp(30px, 3vw, 46px); line-height: 1.02; letter-spacing: 0; }
.admin-top-actions { display: flex; gap: 10px; }
.admin-top-actions a, .admin-top-actions button, .editor-toolbar button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px; border-radius: 8px; background: #07101f; color: #fff; font-weight: 950; }
.admin-top-actions a, .editor-toolbar .publish { background: var(--red); box-shadow: 0 14px 28px rgba(227,6,19,.18); }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.admin-stats article, .admin-card { border: 1px solid #e5eaf1; border-radius: 10px; background: #fff; box-shadow: 0 18px 42px rgba(7,16,31,.06); }
.admin-stats article { display: grid; gap: 7px; padding: 20px; }
.admin-stats span, .admin-card small, .admin-table span { color: #697486; }
.admin-stats b { font-size: 34px; line-height: 1; }
.admin-stats small { color: #7b8492; font-weight: 800; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr); gap: 18px; align-items: start; }
.admin-card { padding: 22px; }
.admin-wide { grid-row: span 2; }
.admin-card header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.admin-card h2 { margin: 0 0 16px; font-size: 20px; line-height: 1.1; text-transform: uppercase; }
.admin-card header h2 { margin: 0; }
.admin-card header a { color: var(--red); font-weight: 950; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin-table th { padding: 0 12px 12px; color: #697486; font-size: 12px; text-align: left; text-transform: uppercase; }
.admin-table td { padding: 14px 12px; border-top: 1px solid #edf0f4; vertical-align: top; font-weight: 850; }
.admin-table td:first-child { width: 44%; }
.admin-table td b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.admin-table td span { display: -webkit-box; margin-top: 6px; overflow: hidden; -webkit-line-clamp: 1; -webkit-box-orient: vertical; font-size: 13px; font-weight: 700; }
.admin-table td:nth-child(3) { color: #0b9f55; }
.admin-table a { color: var(--red); font-weight: 950; }
.admin-row-actions { display: flex; align-items: center; gap: 10px; }
.admin-row-actions button { min-height: 30px; padding: 0 10px; border-radius: 6px; background: #fff3f4; color: var(--red); font-size: 12px; font-weight: 950; }
.admin-actions-list, .admin-feed { display: grid; gap: 10px; }
.admin-actions-list button { min-height: 44px; padding: 0 14px; border-radius: 8px; background: #f4f6f9; text-align: left; font-weight: 900; }
.admin-feed p { display: grid; gap: 4px; margin: 0; padding: 12px 0; border-bottom: 1px solid #edf0f4; }
.admin-feed p:last-child { border-bottom: 0; }
.seo-score { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.seo-score b { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; background: #07101f; color: #fff; font-size: 30px; }
.seo-score span { color: #697486; font-weight: 800; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 18px; align-items: start; }
.editor-form { display: grid; gap: 16px; }
.editor-form label { display: grid; gap: 8px; color: #505b6a; font-size: 12px; font-weight: 950; text-transform: uppercase; }
.editor-form input, .editor-form textarea, .editor-form select { width: 100%; border: 1px solid #dce2eb; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 750; outline: none; }
.editor-form input, .editor-form select { height: 46px; padding: 0 13px; }
.editor-form input[type="file"] { height: auto; padding: 12px; background: #f8fafc; cursor: pointer; }
.editor-form textarea { resize: vertical; padding: 13px; line-height: 1.5; }
.r2-upload-field span { display: inline-flex; align-items: center; min-height: 28px; color: #697486; font-size: 12px; font-weight: 850; text-transform: none; }
.editor-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.editor-row.image-meta-row { grid-template-columns: .7fr 1.3fr; }
.image-adapt-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; padding: 12px; border: 1px solid #e5eaf1; border-radius: 10px; background: #f8fafc; }
.image-adapt-panel div { position: relative; overflow: hidden; border-radius: 8px; background: #e9edf4 center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(7,16,31,.06); }
.image-adapt-panel div[data-image-frame="web"] { aspect-ratio: 16 / 9; }
.image-adapt-panel div[data-image-frame="mobile"] { aspect-ratio: 4 / 3; }
.image-adapt-panel span { position: absolute; left: 8px; bottom: 8px; min-height: 0; padding: 5px 8px; border-radius: 999px; background: rgba(7,16,31,.78); color: #fff; font-size: 10px; line-height: 1; font-weight: 950; text-transform: uppercase; }
.image-adapt-panel p { grid-column: 1 / -1; margin: 0; color: #697486; font-size: 12px; font-weight: 850; text-transform: none; }
.rich-editor-label {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.rich-editor-title { color: #202938; font-size: 12px; font-weight: 900; }
.rich-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 9px; border: 1px solid #dce2eb; border-radius: 10px; background: #f8fafc; }
.rich-toolbar button,
.rich-toolbar select,
.rich-toolbar input[type="color"] { width: auto; height: 34px; border: 1px solid #e0e5ed; border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 950; text-transform: none; box-shadow: 0 6px 14px rgba(7,16,31,.04); }
.rich-toolbar button { display: inline-grid; place-items: center; min-width: 36px; padding: 0 10px; }
.rich-toolbar select { min-width: 96px; padding: 0 10px; }
.rich-toolbar input[type="color"] { width: 38px; padding: 4px; cursor: pointer; }
.rich-editor { min-height: 280px; max-height: 560px; overflow-y: auto; padding: 16px; border: 1px solid #dce2eb; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.65; font-weight: 650; text-transform: none; outline: none; }
.rich-editor:focus { border-color: rgba(227,6,19,.45); box-shadow: 0 0 0 4px rgba(227,6,19,.08); }
.rich-editor p { margin: 0 0 12px; }
.rich-editor.is-drop-target { border-color: #1677ff; box-shadow: inset 0 0 0 2px #1677ff; background: #f3f8ff; }
.editor-image-block.is-uploading { border-color: #dce2eb; }
.editor-image-block.is-uploading img { opacity: .55; }
.rich-editor h2, .rich-editor h3 { margin: 18px 0 10px; line-height: 1.2; }
.rich-editor blockquote { margin: 16px 0; padding: 14px 16px; border-left: 4px solid var(--red); border-radius: 8px; background: #fff5f6; color: #202938; font-weight: 800; }
.rich-editor ul, .rich-editor ol { margin: 0 0 14px 22px; padding: 0; }
.editor-toolbar { display: flex; gap: 10px; flex-wrap: wrap; }
.editor-toolbar button { background: #f4f6f9; color: var(--ink); }
.editor-side { position: sticky; top: 132px; display: grid; gap: 18px; }
.editor-profile { display: grid; gap: 18px; overflow: hidden; }
.editor-profile-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 15px; align-items: center; }
.editor-profile-head img { width: 76px; height: 76px; border-radius: 24px; object-fit: cover; box-shadow: 0 16px 34px rgba(7,16,31,.12); }
.editor-profile-head span { display: grid; gap: 4px; min-width: 0; }
.editor-profile-head small { color: var(--red); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.editor-profile-head b { font-size: 22px; line-height: 1.05; }
.editor-profile-head em { color: #697486; font-style: normal; font-size: 13px; font-weight: 800; }
.editor-profile-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.editor-profile-meta span { display: grid; place-items: center; gap: 4px; min-height: 68px; border-radius: 8px; background: #f4f6f9; color: #697486; font-size: 12px; font-weight: 900; }
.editor-profile-meta b { color: var(--ink); font-size: 22px; line-height: 1; }
.editor-my-news header span { color: var(--red); font-size: 12px; font-weight: 950; }
.editor-my-news > div { display: grid; gap: 10px; }
.editor-news-item { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid #edf0f4; border-radius: 8px; background: #fff; }
.editor-news-item > div { width: 82px; aspect-ratio: 4 / 3; border-radius: 7px; background: #e9edf4 center / cover no-repeat; }
.editor-news-item span { min-width: 0; }
.editor-news-item b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.2; }
.editor-news-item small { display: block; margin-top: 5px; color: #697486; font-weight: 850; }
.editor-news-item em { color: var(--red); font-style: normal; }
.editor-news-item nav { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; }
.editor-news-item button { min-height: 32px; padding: 0 11px; border-radius: 7px; background: #f4f6f9; color: var(--ink); font-size: 12px; font-weight: 950; }
.editor-news-item button[data-draft-article] { background: #fff3f4; color: var(--red); }
.editor-preview { position: static; }
.editor-preview header { margin-bottom: 14px; }
.editor-preview header span { padding: 6px 10px; border-radius: 999px; background: #eef8f3; color: #0b9f55; font-size: 12px; font-weight: 950; }
.editor-preview article { display: grid; gap: 12px; }
.editor-preview-image { aspect-ratio: 16 / 9; border-radius: 8px; background: #e9edf4 center / cover no-repeat; }
.editor-preview .photo-credit { margin-top: -6px; color: #697486; font-size: 12px; font-weight: 850; }
.editor-preview article > span { justify-self: start; padding: 5px 9px; border-radius: 3px; background: var(--red); color: #fff; font-size: 11px; font-weight: 950; text-transform: uppercase; }
.editor-preview h1 { margin: 0; font-size: 28px; line-height: 1.08; }
.editor-preview p { margin: 0; color: #535f70; font-size: 15px; line-height: 1.55; }
.editor-preview .lead { color: var(--ink); font-size: 17px; font-weight: 800; }
.editor-preview-body { display: grid; gap: 10px; color: #535f70; font-size: 15px; line-height: 1.55; }
.editor-preview-body p { margin: 0; }
.editor-preview-body h2,
.editor-preview-body h3 { margin: 6px 0 0; color: var(--ink); line-height: 1.18; }
.editor-preview-body blockquote { margin: 4px 0; padding: 12px 14px; border-left: 4px solid var(--red); border-radius: 8px; background: #fff5f6; color: #202938; font-weight: 800; }
.admin-toast { position: fixed; right: 24px; bottom: 24px; z-index: 99; transform: translateY(18px); opacity: 0; padding: 12px 16px; border-radius: 8px; background: #07101f; color: #fff; font-weight: 900; box-shadow: 0 18px 42px rgba(7,16,31,.2); transition: .18s ease; pointer-events: none; }
.admin-toast.show { transform: translateY(0); opacity: 1; }
.admin-toast.is-error { background: #b42318; box-shadow: 0 18px 42px rgba(180, 35, 24, .28); }

.portal-app { grid-template-columns: 246px minmax(0, 1fr); background: #f6f8fb; }
.portal-sidebar { gap: 10px; min-height: 0; padding: 18px 12px; background: radial-gradient(circle at 30% 0, #13253b, #07101f 54%); }
.portal-brand { display: grid; gap: 3px; padding: 0 9px 16px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.portal-brand strong { font-size: 26px; line-height: 1; letter-spacing: 0; }
.portal-brand span { color: #fff; }
.portal-brand strong::first-letter,
.portal-brand em { color: var(--red); font-style: normal; }
.portal-brand small { color: #9aa7ba; font-size: 11px; text-align: center; }
.portal-sidebar nav { min-height: 0; gap: 2px; overflow-y: auto; padding: 0 4px 14px 0; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.portal-sidebar nav::-webkit-scrollbar { width: 5px; }
.portal-sidebar nav::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255,255,255,.2); }
.portal-sidebar nav p { margin: 8px 7px 3px; color: #8793a5; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.portal-sidebar nav button { display: flex; align-items: center; gap: 9px; min-height: 31px; padding: 0 10px; border-radius: 8px; color: #d9e0ea; text-align: left; font-size: 13px; font-weight: 850; }
.portal-sidebar nav button i { display: grid; place-items: center; width: 20px; color: #fff; font-style: normal; opacity: .9; }
.portal-sidebar nav button.active,
.portal-sidebar nav button:hover { background: linear-gradient(135deg, #0f6fff, #5539f3); color: #fff; box-shadow: 0 10px 26px rgba(39, 95, 255, .28); }
.portal-sidebar nav button[data-view="trash"] { margin-top: 8px; background: linear-gradient(135deg, #ef233c, #c9182c); color: #fff; box-shadow: 0 14px 30px rgba(239,35,60,.2); }
.portal-sidebar nav button[data-view="trash"]:hover,
.portal-sidebar nav button[data-view="trash"].active { background: linear-gradient(135deg, #f03, #d90429); box-shadow: 0 16px 34px rgba(239,35,60,.28); }
.portal-main { min-width: 0; }
.portal-top { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; min-height: 62px; padding: 0 22px; border-bottom: 1px solid #e5e9f0; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.portal-top h1 { margin: 0; font-size: 20px; letter-spacing: 0; }
.menu-toggle,
.portal-tools button { display: grid; place-items: center; min-width: 36px; min-height: 36px; border-radius: 8px; background: #fff; color: #243044; border: 1px solid #e6ebf3; font-weight: 950; }
.portal-tools { display: flex; align-items: center; gap: 10px; }
.portal-tools sup { display: grid; place-items: center; min-width: 17px; height: 17px; margin: -16px 0 0 -8px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10px; }
.portal-user { grid-template-columns: 34px auto !important; gap: 8px; padding: 0 12px !important; text-align: left; }
.portal-tools .portal-user { min-width: 178px; }
.portal-user::before { content: ""; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #d9e2ef, #fff); box-shadow: inset 0 0 0 1px #cfd7e5; }
.portal-user span,
.portal-user small { display: block; line-height: 1.05; }
.portal-user small { color: #697486; font-size: 11px; }
.portal-content { max-width: 1680px; padding: 22px 26px 34px; }
.portal-crumb { margin: 0 0 18px; color: #657287; font-size: 13px; font-weight: 800; }
.portal-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.portal-stats article,
.portal-card { border: 1px solid #e5eaf2; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(21,31,46,.045); }
.portal-stats article { display: grid; gap: 8px; padding: 18px; }
.portal-stats span,
.portal-stats small,
.portal-card small { color: #6d788a; }
.portal-stats b { font-size: 30px; line-height: 1; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.portal-card { padding: 18px; }
.portal-card.wide { min-width: 0; }
.portal-card header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.portal-card h2 { margin: 0 0 16px; font-size: 17px; letter-spacing: 0; }
.portal-card header h2 { margin: 0; }
.portal-card button,
.portal-card input,
.portal-card select,
.portal-card textarea { border: 1px solid #dfe5ee; border-radius: 7px; background: #fff; color: #101827; font: inherit; font-size: 14px; }
.portal-card button { min-height: 36px; padding: 0 12px; font-weight: 900; }
.portal-card .primary,
.portal-card header button,
.filter-row button,
.publish-card .primary { background: linear-gradient(135deg, #0f6fff, #5539f3); color: #fff; border: 0; box-shadow: 0 12px 24px rgba(39,95,255,.22); }
.danger,
.portal-card .danger { border-color: rgba(227,6,19,.28) !important; background: #fff3f4 !important; color: var(--red) !important; box-shadow: none !important; }
.danger-soft { background: #fff7f7; border-color: #ffd2d6; color: #9f1720; }
.filter-row { display: grid; grid-template-columns: minmax(220px, 1fr) 210px 190px auto; gap: 12px; margin-bottom: 18px; }
.filter-row input,
.filter-row select { height: 40px; padding: 0 12px; }
.portal-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.portal-table th { padding: 12px; background: #f8fafc; color: #6b7687; font-size: 12px; text-align: left; }
.portal-table td { padding: 13px 12px; border-top: 1px solid #edf1f6; vertical-align: middle; font-weight: 800; }
.news-cell { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: center; }
.news-cell img { width: 82px; height: 54px; border-radius: 6px; object-fit: cover; background: #e9eef5; }
.news-cell b,
.news-cell small { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; }
.news-cell b { -webkit-line-clamp: 1; }
.news-cell small { margin-top: 5px; color: #6d788a; -webkit-line-clamp: 1; font-weight: 650; }
.portal-table mark { padding: 5px 9px; border-radius: 7px; background: #eef2f7; color: #4f5d71; }
.portal-table em { padding: 5px 8px; border-radius: 7px; font-style: normal; font-size: 12px; }
.portal-table em.ok { background: #e9f9f0; color: #139456; }
.portal-table em.warn { background: #fff4d8; color: #b96d00; }
.portal-table em.bad { background: #ffecef; color: var(--red); }
.row-tools { display: flex; gap: 7px; }
.row-tools button { min-width: 34px; padding: 0; }
.quick-list,
.category-tree,
.roles-grid aside,
.messages-grid aside { display: grid; gap: 9px; }
.quick-list button,
.category-tree button,
.roles-grid aside button,
.messages-grid aside button { justify-content: flex-start; text-align: left; background: #f7f9fc; }
.category-tree button { display: flex; justify-content: space-between; }
.editor-pro-layout { display: grid; grid-template-columns: minmax(640px, 1fr) 320px 250px; gap: 16px; align-items: start; }
.editor-form-pro { display: grid; gap: 16px; min-width: 0; padding: 18px; }
.editor-form-pro label,
.editor-publish-stack label,
.editor-settings-column label,
.profile-form label,
.settings-grid label { display: grid; gap: 8px; color: #202938; font-weight: 900; }
.form-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.form-grid.headline-row { grid-template-columns: 220px minmax(0, 1fr); align-items: end; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.editor-form-pro input,
.editor-form-pro select,
.editor-form-pro textarea,
.editor-publish-stack input,
.editor-publish-stack select,
.editor-settings-column input,
.editor-settings-column select,
.profile-form input,
.profile-form select,
.profile-form textarea,
.settings-grid input,
.settings-grid textarea { width: 100%; min-height: 40px; padding: 0 12px; }
.title-field { position: relative; }
.title-field span { position: absolute; right: 12px; top: 1px; color: #8b95a5; font-size: 12px; font-weight: 850; }
.editor-form-pro textarea,
.profile-form textarea,
.settings-grid textarea { min-height: 92px; padding: 12px; resize: vertical; }
.pro-toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px 10px; border: 1px solid #e2e7f0; border-radius: 8px 8px 0 0; background: #fbfcfe; }
.pro-toolbar button,
.pro-toolbar select { min-height: 32px; padding: 0 10px; border-radius: 6px; background: #fff; }
.pro-toolbar select { width: auto !important; min-width: 126px; }
.pro-toolbar button { width: auto !important; }
.editor-canvas { position: relative; border: 1px solid #dce2eb; border-top: 0; border-radius: 0 0 8px 8px; background: #fff; }
.editor-form-pro .rich-editor { min-height: 585px; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
.editor-publish-stack,
.editor-settings-column,
.editor-action-column { display: grid; gap: 16px; align-content: start; position: sticky; top: 82px; }
.editor-side-card { padding: 16px; }
.main-image-preview { aspect-ratio: 16 / 9; margin-bottom: 10px; border-radius: 7px; background: #e8edf5 center / cover no-repeat; }
.publish-card { display: grid; gap: 10px; }
.publish-card button { width: 100%; }
.publish-meta-card { display: grid; gap: 10px; }
.publish-meta-card h2 { margin-bottom: 0; }
.publish-meta-card p,
.help-card p { margin: 0; color: #667185; font-size: 13px; line-height: 1.5; }
.file-pill { display: grid; grid-template-columns: 30px minmax(0, 1fr) 28px; align-items: center; gap: 9px; min-height: 44px; padding: 7px 8px; border: 1px solid #e3e8f0; border-radius: 8px; background: #fbfcff; }
.file-pill span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #eef2ff; color: #4b3ce8; }
.file-pill b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.file-pill button { min-width: 28px; padding: 0; }
.word-count { color: #738094; font-size: 12px; font-weight: 850; }
.insert-popover { position: absolute; top: 48px; right: 54px; z-index: 2; display: grid; grid-template-columns: 170px 190px; min-width: 360px; overflow: hidden; border: 1px solid #e4e8ef; border-radius: 8px; background: #fff; box-shadow: 0 18px 45px rgba(21,31,46,.14); }
.insert-popover div { display: grid; gap: 2px; padding: 13px; }
.insert-popover div + div { border-left: 1px solid #edf1f6; }
.insert-popover b { margin-bottom: 8px; font-size: 12px; }
.insert-popover button { justify-content: flex-start; min-height: 34px; border: 0; background: transparent; box-shadow: none; text-align: left; }
.editor-image-block { position: relative; width: min(100%, 640px); margin: 16px 0; border: 2px solid #1677ff; border-radius: 4px; }
.editor-image-block img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.editor-image-block figcaption { position: absolute; left: 50%; bottom: -20px; display: flex; gap: 4px; padding: 5px; border: 1px solid #e4e8ef; border-radius: 7px; background: #fff; box-shadow: 0 12px 28px rgba(21,31,46,.14); transform: translateX(-50%); }
.editor-image-block figcaption span { max-width: 220px; overflow: hidden; padding: 5px 7px; color: #596579; font-size: 11px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.editor-image-block figcaption button { min-width: 30px; min-height: 28px; padding: 0; }
.editor-image-block figcaption [data-edit-inline-image-metadata] { min-width: 76px; padding: 0 10px; border: 1px solid #d9e3f0; background: #f5f8fc; color: #175cd3; font-size: 10px; font-weight: 900; }
.editor-inline-video { position: relative; width: min(100%, 640px); margin: 18px 0; overflow: hidden; border: 1px solid #dfe5ee; border-radius: 8px; background: #07101f; }
.editor-inline-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #07101f; object-fit: contain; }
.editor-inline-video figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; background: #fff; }
.editor-inline-video figcaption b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.editor-inline-video figcaption button { flex: 0 0 auto; min-width: 30px; min-height: 28px; padding: 0; }
.editor-media-picker { width: min(860px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 32px)); padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: transparent; box-shadow: 0 30px 90px rgba(7,16,31,.28); }
.editor-media-picker::backdrop { background: rgba(7,16,31,.54); backdrop-filter: blur(3px); }
.editor-media-picker > section { display: grid; grid-template-rows: auto auto minmax(0, 1fr); max-height: min(760px, calc(100vh - 32px)); overflow: hidden; background: #fff; }
.editor-media-picker > section > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px 16px; border-bottom: 1px solid #edf1f6; }
.editor-media-picker header div { display: grid; gap: 4px; }
.editor-media-picker header span { color: var(--red); font-size: 10px; font-weight: 950; text-transform: uppercase; }
.editor-media-picker header h2 { margin: 0; font-size: 22px; }
.editor-media-picker header p { margin: 0; color: #6c7789; font-size: 12px; font-weight: 700; }
.editor-media-picker header > button { flex: 0 0 auto; width: 34px; min-width: 34px; height: 34px; min-height: 34px; padding: 0; border-radius: 7px; background: #f3f5f8; font-size: 20px; }
.editor-media-tabs { display: flex; gap: 4px; padding: 10px 22px 0; border-bottom: 1px solid #edf1f6; }
.editor-media-tabs button { min-height: 38px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #657186; }
.editor-media-tabs button.active { border-color: var(--red); color: var(--ink); }
.editor-picker-panel { min-height: 360px; padding: 18px 22px 22px; overflow-y: auto; }
.editor-media-search { display: flex; align-items: center; gap: 9px; height: 42px; margin-bottom: 14px; padding: 0 12px; border: 1px solid #dfe5ee; border-radius: 7px; color: #778397; }
.editor-media-search svg { width: 17px; }
.editor-media-search input { width: 100%; height: 38px; padding: 0; border: 0; outline: 0; }
.editor-picker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.editor-picker-grid article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; min-width: 0; padding: 8px; border: 1px solid #e5eaf1; border-radius: 8px; background: #fff; }
.editor-picker-grid article > div { position: relative; grid-column: 1 / -1; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #eef2f7; }
.editor-picker-grid article img, .editor-picker-grid article video { width: 100%; height: 100%; object-fit: cover; }
.editor-picker-grid article > div > i { position: absolute; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(7,16,31,.72); color: #fff; font-style: normal; }
.editor-picker-grid article > b { overflow: hidden; align-self: end; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.editor-picker-grid article > small { grid-column: 1; overflow: hidden; color: #7a8596; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.editor-picker-grid article > button { grid-column: 2; grid-row: 2 / 4; align-self: center; min-height: 31px; padding: 0 10px; border-color: #dbe2eb; background: #f7f9fc; color: #263247; font-size: 11px; }
.editor-picker-audio { display: grid !important; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; width: 100%; padding: 18px; }
.editor-picker-audio > i { position: static !important; background: var(--red) !important; }
.editor-picker-audio span { display: flex; align-items: center; justify-content: space-between; gap: 3px; width: 100%; }
.editor-picker-audio span i { display: block; width: 3px; height: 14px; border-radius: 999px; background: #8d99aa; }
.editor-picker-audio span i:nth-child(2n) { height: 25px; }
.editor-picker-empty { grid-column: 1 / -1; display: grid; place-items: center; min-height: 230px; padding: 30px; border: 1px dashed #d8e0ea; border-radius: 8px; color: #687489; text-align: center; }
.editor-picker-empty p { margin: 7px 0 0; font-size: 12px; }
.editor-local-upload { display: grid; place-items: center; width: 100%; min-height: 260px; border: 1px dashed #cbd5e2; border-radius: 8px; background: #f9fbfd; color: #263247; }
.editor-local-upload span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 50%; background: #fff; color: var(--red); font-size: 24px; box-shadow: 0 8px 24px rgba(7,16,31,.08); }
.editor-local-upload b { font-size: 15px; }
.editor-local-upload small { margin-top: 5px; color: #798598; }
.editor-picker-panel > p { margin: 10px 0 0; color: #718095; font-size: 11px; text-align: center; }
@media (max-width: 680px) { .editor-picker-grid { grid-template-columns: 1fr 1fr; } .editor-media-picker > section > header { padding: 16px; } .editor-picker-panel { padding: 14px 16px 18px; } }
.investigation-graph-block { container-type: inline-size; width: var(--graph-width, 100%); max-width: 100%; margin-top: 20px; margin-bottom: 20px; overflow: hidden; border: 1px solid #dce3ed; border-radius: 9px; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.06); transition: width .18s ease, margin .18s ease; }
.investigation-graph-block[data-graph-align="left"] { margin-right: auto; margin-left: 0; }
.investigation-graph-block[data-graph-align="center"] { margin-right: auto; margin-left: auto; }
.investigation-graph-block[data-graph-align="right"] { margin-right: 0; margin-left: auto; }
.investigation-graph-block > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; align-items: center; padding: 11px 13px; border-bottom: 1px solid #e8edf3; }
.investigation-graph-block > header > span { color: var(--red); font-size: 9px; font-weight: 950; text-transform: uppercase; }
.investigation-graph-block > header > b { grid-column: 1; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.investigation-graph-block > header nav { grid-column: 2; grid-row: 1 / 3; display: flex; gap: 6px; }
.investigation-graph-block > header button { min-height: 30px; padding: 0 9px; border-color: #dce3ed; background: #f7f9fc; color: #344157; font-size: 10px; white-space: nowrap; }
.graph-display-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #e8edf3; background: #f8fafc; }
.graph-display-tools > div { display: flex; gap: 4px; }
.graph-display-tools button { min-height: 28px; padding: 0 8px; border-color: #dce3ed; background: #fff; color: #526077; font-size: 9px; }
.graph-display-tools button.active { border-color: #2d6df6; background: #eaf1ff; color: #1554d1; }
.graph-display-tools label { display: grid; grid-template-columns: auto minmax(70px, 130px) 34px; align-items: center; gap: 7px; color: #637087; font-size: 9px; font-weight: 900; }
.graph-display-tools input { width: 100%; accent-color: #2d6df6; }
.graph-display-tools output { color: #344157; font-size: 9px; text-align: right; }
@container (max-width: 520px) { .investigation-graph-block > header { grid-template-columns: 1fr; } .investigation-graph-block > header nav { grid-column: 1; grid-row: auto; } .graph-display-tools { align-items: stretch; flex-direction: column; } .graph-display-tools > div { display: grid; grid-template-columns: repeat(3, 1fr); } .graph-display-tools label { grid-template-columns: auto minmax(0, 1fr) 34px; } }
.investigation-graph-block > img { display: block; width: 100%; max-height: 520px; background: #fff; object-fit: contain; }
.investigation-graph-block > figcaption { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; padding: 10px 13px; border-top: 1px solid #e8edf3; }
.investigation-graph-block > figcaption > b { margin-right: 3px; color: #657186; font-size: 10px; text-transform: uppercase; }
.investigation-graph-block > figcaption a { max-width: 220px; overflow: hidden; padding: 5px 8px; border-radius: 5px; background: #f2f5f9; color: #253249; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.graph-preview-empty { display: grid; place-items: center; min-height: 240px; color: #758195; font-size: 12px; }
.investigation-builder { width: min(1240px, calc(100vw - 24px)); height: min(850px, calc(100vh - 24px)); max-width: none; max-height: none; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: transparent; box-shadow: 0 35px 110px rgba(7,16,31,.34); }
.investigation-builder::backdrop { background: rgba(6,14,27,.68); backdrop-filter: blur(4px); }
.investigation-builder > section { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100%; overflow: hidden; background: #f5f7fa; }
.investigation-builder > section > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 17px 20px 14px; border-bottom: 1px solid #e1e6ee; background: #fff; }
.investigation-builder > section > header div { display: grid; gap: 3px; }
.investigation-builder > section > header span, .graph-inspector header span, .graph-edge-inspector header span, .graph-image-panel header span, .graph-article-panel header span { color: var(--red); font-size: 9px; font-weight: 950; text-transform: uppercase; }
.investigation-builder > section > header h2 { margin: 0; font-size: 22px; }
.investigation-builder > section > header p { margin: 0; color: #687589; font-size: 11px; font-weight: 700; }
.investigation-builder > section > header > button { width: 34px; min-width: 34px; height: 34px; min-height: 34px; padding: 0; border-radius: 7px; background: #f1f4f8; font-size: 20px; }
.investigation-builder-body { display: grid; grid-template-columns: minmax(0, 1fr) 310px; min-height: 0; }
.investigation-builder-body > main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; padding: 14px; }
.graph-commandbar { display: flex; align-items: end; justify-content: space-between; gap: 14px; padding: 10px; border: 1px solid #dfe5ee; border-bottom: 0; border-radius: 8px 8px 0 0; background: #fff; }
.graph-command-fields { display: grid; grid-template-columns: 220px 230px; gap: 8px; }
.graph-commandbar label { display: grid; gap: 5px; min-width: 0; color: #667287; font-size: 9px; font-weight: 950; text-transform: uppercase; }
.graph-commandbar input { height: 34px; padding: 0 10px; border: 1px solid #dce3ed; border-radius: 6px; font-weight: 850; }
.graph-commandbar nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.graph-commandbar button { min-height: 34px; padding: 0 10px; border-color: #dce3ed; background: #f7f9fc; color: #263247; font-size: 10px; }
.graph-commandbar button.active { border-color: #f0aa21; background: #fff8e8; color: #9a6200; box-shadow: 0 0 0 2px rgba(240,170,33,.13); }
.graph-zoom-controls { display: grid; grid-template-columns: 34px 48px 34px; align-items: center; height: 34px; overflow: hidden; border: 1px solid #dce3ed; border-radius: 6px; background: #fff; }
.graph-zoom-controls button { width: 34px; min-width: 34px; min-height: 32px; padding: 0; border: 0; border-radius: 0; background: #f7f9fc; font-size: 17px; line-height: 1; }
.graph-zoom-controls output { color: #526077; font-size: 9px; font-weight: 900; text-align: center; }
.investigation-canvas { position: relative; min-height: 420px; border: 1px solid #dfe5ee; background-color: #fff; background-image: radial-gradient(#dce3ec 1px, transparent 1px); background-size: 20px 20px; }
.investigation-builder-body > main > footer { display: flex; align-items: center; gap: 16px; min-height: 38px; padding: 0 11px; border: 1px solid #dfe5ee; border-top: 0; border-radius: 0 0 8px 8px; background: #fff; color: #667287; font-size: 10px; }
.investigation-builder-body > main > footer b { color: #172236; }
.investigation-builder-body > main > footer small { margin-left: auto; color: #7c8798; }
.investigation-builder-body > main > footer small.is-error { color: var(--red); font-weight: 900; }
.investigation-builder-body > aside { display: grid; align-content: start; gap: 10px; min-height: 0; overflow-y: auto; padding: 14px 14px 14px 0; }
.graph-inspector, .graph-edge-inspector, .graph-image-panel, .graph-article-panel { display: grid; gap: 10px; padding: 13px; border: 1px solid #e0e5ed; border-radius: 8px; background: #fff; }
.graph-edge-inspector[hidden] { display: none; }
.graph-inspector header, .graph-edge-inspector header, .graph-image-panel header, .graph-article-panel header { display: grid; gap: 3px; }
.graph-inspector header b, .graph-edge-inspector header b, .graph-image-panel header b, .graph-article-panel header b { font-size: 13px; }
.graph-inspector label, .graph-edge-inspector label { display: grid; gap: 5px; color: #5f6c80; font-size: 9px; font-weight: 950; text-transform: uppercase; }
.graph-inspector input, .graph-inspector select, .graph-edge-inspector input, .graph-image-panel select, .graph-article-panel input { width: 100%; height: 36px; padding: 0 9px; border: 1px solid #dce3ed; border-radius: 6px; }
.graph-range-row { display: grid; grid-template-columns: minmax(0, 1fr) 38px; align-items: center; gap: 8px; }
.graph-range-row input { height: 24px; padding: 0; accent-color: var(--red); }
.graph-range-row output { color: #45536a; font-size: 10px; text-align: right; }
.graph-edge-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.graph-edge-actions button { min-height: 34px; padding: 0 7px; font-size: 9px; }
.graph-color-row { display: flex; gap: 7px; }
.graph-color-row button { width: 25px; min-width: 25px; height: 25px; min-height: 25px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--node-color); box-shadow: 0 0 0 1px #d7dee8; }
.graph-inspector > button, .graph-image-panel > button { min-height: 34px; }
.graph-image-panel > div { aspect-ratio: 16 / 8; border: 1px dashed #d4dce7; border-radius: 7px; background: #f2f5f9 center / cover no-repeat; }
.graph-image-panel > div.is-empty::after { content: "Şəkil seçilməyib"; display: grid; place-items: center; height: 100%; color: #7f8a9b; font-size: 10px; }
.graph-image-panel > small { color: #768397; font-size: 9px; line-height: 1.4; }
.graph-image-panel > small.is-error { color: var(--red); font-weight: 850; }
.graph-article-panel { min-height: 440px; }
.graph-article-panel > small { color: #6e7b90; font-size: 9px; }
.graph-article-panel > small.is-loading { color: #1554d1; }
.graph-article-panel > small.is-error { color: var(--red); }
.graph-article-panel > div { display: grid; gap: 6px; height: 294px; max-height: 312px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.graph-article-panel > div > button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 54px; padding: 8px; border: 1px solid #e7ebf1; background: #fafbfd; text-align: left; }
.graph-article-panel button span { display: grid; gap: 3px; min-width: 0; }
.graph-article-panel button b { display: -webkit-box; overflow: hidden; font-size: 10px; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.graph-article-panel button small { color: #7b8799; font-size: 8px; }
.graph-article-panel button em { color: var(--red); font-size: 9px; font-style: normal; font-weight: 950; white-space: nowrap; }
.graph-article-panel > div > p { color: #788497; font-size: 10px; text-align: center; }
.investigation-builder-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 62px; padding: 10px 20px; border-top: 1px solid #dfe5ed; background: #fff; }
.investigation-builder-actions p { margin: 0; color: #69768a; font-size: 10px; }
.investigation-builder-actions div { display: flex; gap: 8px; }
.investigation-builder-actions button { min-height: 38px; }
@media (max-width: 1060px) { .graph-commandbar { align-items: stretch; flex-direction: column; } .graph-commandbar nav { justify-content: flex-start; } }
@media (max-width: 900px) { .investigation-builder-body { grid-template-columns: minmax(0, 1fr) 260px; } }
@media (max-width: 680px) { .investigation-builder { height: calc(100vh - 12px); width: calc(100vw - 12px); } .investigation-builder-body { grid-template-columns: 1fr; overflow-y: auto; } .investigation-builder-body > main { min-height: 660px; } .investigation-builder-body > aside { padding: 0 14px 14px; overflow: visible; } .graph-command-fields { grid-template-columns: 1fr; } .investigation-builder-actions { align-items: stretch; flex-direction: column; } .investigation-builder-actions div { width: 100%; } .investigation-builder-actions button { flex: 1; } .investigation-graph-block { width: 100% !important; } .investigation-graph-block > header { grid-template-columns: 1fr; } .investigation-graph-block > header nav { grid-column: 1; grid-row: auto; } .graph-display-tools { align-items: stretch; flex-direction: column; } }
.editor-social-embed { width: min(100%, 520px); margin: 22px 0 14px; padding: 14px; border: 1px solid #dfe5ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 26px rgba(21,31,46,.05); }
.editor-social-embed b { display: block; color: #162033; }
.editor-social-embed small { display: block; margin: 2px 0 8px; color: #7b8492; }
.editor-social-embed p { margin: 0 0 10px; }
.editor-social-embed div { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 6px; background: #dfe7f2 center / cover; }
.editor-social-embed span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(7,16,31,.72); color: #fff; }
.editor-audio-chip { display: grid; grid-template-columns: 38px 120px minmax(80px, 240px) 44px; align-items: center; gap: 10px; width: min(100%, 560px); min-height: 58px; margin: 20px 0; padding: 9px 12px; border: 1px solid #e0e6ef; border-radius: 8px; background: #fff; }
.editor-audio-chip span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #1677ff; color: #fff; }
.editor-audio-chip b { font-size: 13px; }
.editor-audio-chip i { height: 4px; border-radius: 999px; background: linear-gradient(90deg, #1677ff 45%, #e2e8f0 45%); }
.editor-audio-chip time { color: #657287; font-size: 12px; }
.editor-inline-table { width: min(100%, 520px); border-collapse: collapse; margin: 16px 0; }
.editor-inline-table td { padding: 10px 12px; border: 1px solid #e3e8f0; }
.switch-line { display: flex !important; grid-template-columns: none !important; align-items: center; justify-content: space-between; gap: 12px; }
.switch-line input { width: 42px !important; min-height: 22px !important; accent-color: #276fff; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.upload-grid button { min-height: 124px; border-style: dashed; background: #fbfcfe; color: #4d5a70; }
.ad-editor-grid,
.category-admin-grid,
.profile-grid,
.settings-grid,
.messages-grid,
.roles-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.category-admin-grid { grid-template-columns: 360px minmax(0, 1fr); }
.messages-grid { grid-template-columns: 330px minmax(0, 1fr) 300px; }
.roles-grid { grid-template-columns: 290px minmax(0, 1fr); }
.ad-preview { aspect-ratio: 970 / 250; margin-bottom: 16px; border-radius: 8px; background: linear-gradient(135deg, #07101f, #172c45 55%, #e6bd5b); position: relative; overflow: hidden; }
.ad-preview::before { content: "YAY KAMPANİYASI"; position: absolute; left: 24px; top: 26px; color: #fff; font-size: 24px; font-weight: 950; }
.ad-preview::after { content: "ƏTRAFLI MƏLUMAT"; position: absolute; left: 24px; bottom: 24px; padding: 8px 12px; border-radius: 5px; background: #f2c44d; color: #07101f; font-size: 12px; font-weight: 950; }
.profile-form { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; }
.profile-photo { display: grid; place-items: center; width: 168px; height: 168px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, #dbe4ef, #fff); color: var(--red); font-size: 58px; font-weight: 950; box-shadow: inset 0 0 0 1px #cfd8e6; }
.role-badge { padding: 6px 9px; border-radius: 7px; background: #eee9ff; color: #5038d6; font-style: normal; }
.permission-table { display: grid; border: 1px solid #eef2f7; border-radius: 8px; overflow: hidden; }
.permission-table label { display: grid; grid-template-columns: 1fr 420px; gap: 18px; padding: 14px; border-bottom: 1px solid #eef2f7; }
.permission-table label:last-child { border-bottom: 0; }
.permission-table span { display: flex; justify-content: space-between; color: #526074; }
.chat-card { display: grid; align-content: start; min-height: 600px; }
.chat-card header { border-bottom: 1px solid #edf1f6; padding-bottom: 14px; }
.bubble { width: fit-content; max-width: 70%; margin: 12px 0; padding: 13px 15px; border-radius: 14px 14px 14px 4px; background: #f2f5fa; }
.bubble.me { margin-left: auto; border-radius: 14px 14px 4px 14px; background: #eaf3ff; }
.chat-card footer { display: grid; grid-template-columns: 1fr 46px; gap: 10px; margin-top: auto; }
.chat-card footer input { height: 48px; padding: 0 14px; }
.chat-card footer button { height: 48px; background: linear-gradient(135deg, #0f6fff, #5539f3); color: #fff; }
.empty-state { min-height: 300px; display: grid; place-content: center; justify-items: center; text-align: center; }
.push-studio {
  display: grid;
  gap: 18px;
}
.push-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px 190px;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
}
.push-hero p {
  margin: 0 0 4px;
  color: #526174;
  font-size: 13px;
  font-weight: 850;
}
.push-hero h2 {
  margin: 0 0 5px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0;
}
.push-hero span {
  color: #64748b;
  font-size: 14px;
  font-weight: 750;
}
.push-hero aside,
.push-hero time {
  min-height: 66px;
  padding: 13px 16px;
  border: 1px solid #e1e7f0;
  border-radius: 8px;
  background: #fbfcff;
}
.push-hero aside {
  display: grid;
  gap: 5px;
}
.push-hero aside b {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}
.push-hero aside i {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: inset 0 0 0 5px #dcfce7;
}
.push-hero time {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
  font-style: normal;
  text-align: center;
}
.push-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.push-metrics article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  min-height: 98px;
  padding: 18px 22px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .035);
}
.push-metrics i {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef5ff;
  color: #106bff;
  font-style: normal;
  font-size: 24px;
  font-weight: 950;
}
.push-metrics span {
  color: #4f5d70;
  font-size: 13px;
  font-weight: 850;
}
.push-metrics b {
  color: #07101f;
  font-size: 27px;
  line-height: 1.05;
}
.push-metrics small {
  color: #7a8595;
  font-size: 12px;
  font-weight: 750;
}
.push-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr);
  gap: 18px;
  align-items: start;
}
.push-compose {
  display: grid;
  gap: 18px;
}
.push-lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.push-lang-tabs button {
  min-width: 122px;
  height: 38px;
  border-color: #dfe6f1;
  background: #fbfcff;
  color: #334155;
  font-weight: 900;
}
.push-lang-tabs button.active {
  border-color: rgba(16, 107, 255, .45);
  background: #eef5ff;
  color: #0f5fe8;
  box-shadow: inset 0 0 0 1px rgba(16, 107, 255, .12);
}
.push-compose label {
  position: relative;
}
.push-compose label span {
  position: absolute;
  right: 10px;
  top: 0;
  color: #7a8595;
  font-size: 12px;
}
.push-compose input,
.push-compose textarea {
  width: 100%;
  margin-top: 7px;
  padding: 0 13px;
}
.push-compose textarea {
  padding-top: 12px;
  line-height: 1.5;
}
.push-advanced {
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
  padding: 12px 0;
}
.push-advanced summary {
  color: #1f2a3a;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.push-advanced .form-grid {
  margin-top: 12px;
}
.recent-broadcasts {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.recent-broadcasts header {
  margin: 0;
}
.recent-broadcasts header button {
  border: 0;
  color: #145ee8;
  background: transparent;
  box-shadow: none;
}
.portal-table.compact {
  min-width: 720px;
}
.portal-table.compact td,
.portal-table.compact th {
  padding: 10px;
}
.delivery-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eaf8ef;
  color: #15803d;
  font-size: 12px;
  font-weight: 900;
}
.push-preview-column {
  display: grid;
  gap: 18px;
}
.phone-preview-card header {
  margin-bottom: 10px;
}
.phone-preview-card header span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 34px;
  border: 1px solid #bed2ff;
  border-radius: 7px;
  background: #f5f8ff;
}
.push-phone {
  width: min(100%, 262px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 34px;
  background: #101827;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}
.push-phone-screen {
  min-height: 466px;
  padding: 28px 13px;
  border-radius: 25px;
  background: radial-gradient(circle at 50% 0, #718096, #1b2738 48%, #08111f);
  color: #fff;
}
.push-phone-screen > time {
  display: block;
  margin-bottom: 74px;
  text-align: center;
  font-size: 42px;
  font-weight: 500;
}
.push-notification-card {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border-radius: 13px;
  background: rgba(245, 247, 250, .93);
  color: #111827;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.push-notification-card b {
  color: #0d55d9;
  font-size: 11px;
}
.push-notification-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 12px;
  line-height: 1.25;
}
.push-notification-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 0;
  color: #334155;
  font-size: 11px;
  line-height: 1.35;
}
.push-final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.push-final h2 {
  margin-bottom: 9px;
}
.push-final p {
  margin: 8px 0 0;
  color: #6b7687;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
}
.push-final select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
}
.check-ok,
.check-warn {
  position: relative;
  padding-left: 19px;
}
.check-ok::before,
.check-warn::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 950;
}
.check-ok::before { content: "✓"; color: #16a34a; }
.check-warn::before { content: "△"; color: #f59e0b; }
.push-final > button {
  height: 42px;
}
.push-final > small {
  grid-column: 1 / -1;
  color: #ef2336;
  font-size: 12px;
  font-weight: 850;
}
@media (max-width: 1460px) {
  .editor-pro-layout { grid-template-columns: minmax(560px, 1fr) 310px; }
  .editor-action-column { grid-column: 2; position: static; }
  .push-hero { grid-template-columns: minmax(0, 1fr) 260px; }
  .push-hero time { grid-column: 2; }
}
@media (max-width: 1080px) {
  .portal-app { grid-template-columns: 82px minmax(0, 1fr); }
  .portal-brand strong,
  .portal-brand small,
  .portal-sidebar nav p,
  .portal-sidebar nav button { font-size: 0; justify-content: center; }
  .portal-sidebar nav button i { font-size: 16px; }
  .editor-pro-layout,
  .ad-editor-grid,
  .category-admin-grid,
  .profile-grid,
  .settings-grid,
  .messages-grid,
  .push-layout,
  .roles-grid { grid-template-columns: minmax(0, 1fr); }
  .push-hero,
  .push-metrics,
  .push-final { grid-template-columns: minmax(0, 1fr); }
  .push-hero time { grid-column: auto; }
  .editor-settings-column,
  .editor-action-column { position: static; }
}
.admin-dark .portal-main,
.admin-dark .portal-content { background: #101827; color: #e8edf5; }
.admin-dark .portal-card,
.admin-dark .portal-stats article,
.admin-dark .portal-top { background: #182235; border-color: #2a364b; color: #eef3fb; }
.sidebar-collapsed .portal-app { grid-template-columns: 76px minmax(0, 1fr); }
.sidebar-collapsed .portal-brand small,
.sidebar-collapsed .portal-brand strong,
.sidebar-collapsed .portal-sidebar nav p,
.sidebar-collapsed .portal-sidebar nav button { font-size: 0; justify-content: center; }
.sidebar-collapsed .portal-sidebar nav button i { font-size: 16px; }
.sidebar-collapsed .portal-sidebar nav button > span { display: none; }
.sidebar-collapsed .portal-sidebar nav button { padding-inline: 0; }
.sidebar-collapsed .portal-sidebar nav button i { width: 22px; height: 22px; flex-basis: 22px; }
.sidebar-collapsed .portal-sidebar nav button i .lucide-icon { width: 20px; height: 20px; }

.admin-body .portal-app {
  min-height: 100vh;
  grid-template-columns: 206px minmax(0, 1fr);
  background: #f7f9fc;
  color: #111827;
  font-family: Inter, Arial, sans-serif;
}
.admin-body .portal-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  gap: 14px;
  padding: 18px 12px 16px;
  background: #081827;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.06);
}
.admin-body .portal-brand {
  gap: 4px;
  padding: 0 8px 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
}
.admin-body .portal-brand strong {
  display: block;
  font-size: 23px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}
.admin-body .portal-brand .brand-inter,
.admin-body .portal-brand em { color: #ef2336; font-style: normal; }
.admin-body .portal-brand .brand-press { color: #fff; }
.admin-body .portal-brand small {
  color: #9aa7ba;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.admin-body .portal-sidebar nav p {
  margin: 19px 8px 8px;
  color: #8b98aa;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .03em;
}
.admin-body .portal-sidebar nav button {
  min-height: 39px;
  padding: 0 10px;
  border-radius: 7px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 850;
  background: transparent;
}
.admin-body .portal-sidebar nav button i {
  width: 18px;
  font-size: 14px;
}
.admin-body .portal-sidebar nav button.active {
  background: linear-gradient(135deg, #0879ff, #5136f4);
  box-shadow: 0 13px 30px rgba(34, 90, 255, .32);
}
.admin-body .portal-top {
  min-height: 56px;
  padding: 0 16px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  background: rgba(255,255,255,.96);
}
.admin-body .portal-top h1 {
  font-size: 18px;
  font-weight: 950;
}
.admin-body .menu-toggle,
.admin-body .portal-tools button {
  min-width: 32px;
  min-height: 32px;
  border-radius: 7px;
  color: #334155;
}
.admin-body .portal-tools .portal-user {
  min-width: 164px;
  min-height: 48px;
  border-radius: 0;
  border-width: 0 0 0 1px;
  background: transparent;
}
.admin-body .portal-content {
  max-width: none;
  padding: 18px 20px 30px;
}
.admin-body .portal-crumb {
  margin-bottom: 18px;
  color: #64748b;
  font-size: 13px;
}
.admin-body .portal-card,
.admin-body .portal-stats article {
  border-color: #e4e9f1;
  border-radius: 7px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .035);
}
.admin-body .portal-card {
  padding: 16px;
}
.admin-body .portal-card h2 {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 950;
}
.admin-body .portal-card label {
  color: #111827;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .portal-card input,
.admin-body .portal-card select,
.admin-body .portal-card textarea {
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  border-color: #dce3ee;
  border-radius: 5px;
  color: #111827;
  font-size: 12px;
  font-weight: 650;
}
.admin-body .portal-card button {
  min-height: 34px;
  border-radius: 5px;
  font-size: 12px;
}
.admin-body .editor-pro-layout {
  grid-template-columns: minmax(540px, 1fr) 270px 210px;
  gap: 14px;
}
.admin-body .editor-pro-layout > * {
  min-width: 0;
}
.admin-body .editor-control-column {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(210px, .76fr);
  gap: 14px;
  align-items: start;
}
.admin-body .editor-control-column > section { grid-column: 1; }
.admin-body .editor-control-column > .publish-card { grid-column: 2; grid-row: 1; }
.admin-body .editor-control-column > .publish-meta-card { grid-column: 2; grid-row: 2; }
.admin-body .editor-control-column > .editor-readiness-card { grid-column: 2; grid-row: 3; }
.admin-body .editor-control-column > .editor-preview-card { grid-column: 1 / -1; }
.admin-body .editor-form-pro {
  gap: 14px;
  padding: 16px;
}
.admin-body .article-validation-alert {
  padding: 13px 15px;
  border: 1px solid #fda29b;
  border-radius: 7px;
  background: #fff4f3;
  color: #912018;
}
.admin-body .article-validation-alert[hidden] { display: none; }
.admin-body .article-validation-alert strong { display: block; margin-bottom: 6px; font-size: 12px; }
.admin-body .article-validation-alert ul { display: grid; gap: 4px; margin: 0; padding-left: 18px; font-size: 10px; line-height: 1.45; font-weight: 750; }
.admin-body .editor-title-field.is-invalid input,
.admin-body .rich-editor-label.is-invalid .editor-canvas,
.admin-body .main-image-card.is-invalid .main-image-preview { border-color: #f04438; box-shadow: 0 0 0 3px rgba(240, 68, 56, .1); }
.admin-body .main-image-card.is-invalid > h2,
.admin-body .editor-title-field.is-invalid,
.admin-body .rich-editor-label.is-invalid .rich-editor-title { color: #b42318; }
.admin-body .form-grid.headline-row {
  grid-template-columns: 220px minmax(0, 1fr);
}
.admin-body .pro-toolbar {
  min-height: 42px;
  padding: 6px 8px;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  border-radius: 5px 5px 0 0;
  scrollbar-width: none;
}
.admin-body .pro-toolbar::-webkit-scrollbar { display: none; }
.admin-body .pro-toolbar button,
.admin-body .pro-toolbar select {
  min-height: 28px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  font-size: 12px;
  box-shadow: none;
}
.admin-body .editor-form-pro .rich-editor {
  min-height: 540px;
  padding: 16px;
  font-size: 13px;
  line-height: 1.55;
}
.admin-body .editor-image-block {
  width: min(100%, 340px);
  margin: 12px 0 24px;
}
.admin-body .editor-social-embed {
  width: min(100%, 380px);
}
.admin-body .editor-audio-chip {
  width: min(100%, 380px);
  min-height: 48px;
  grid-template-columns: 32px 112px minmax(70px, 1fr) 38px;
}
.admin-body .editor-inline-audio,
.article-web .editor-inline-audio,
.article-page .editor-inline-audio {
  display: grid;
  grid-template-columns: 42px minmax(120px, .72fr) minmax(140px, 1fr);
  align-items: center;
  gap: 12px;
  width: min(100%, 620px);
  margin: 18px 0;
  padding: 10px 12px;
  border: 1px solid rgba(217, 224, 235, .92);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}
.admin-body .editor-inline-audio .inline-audio-play,
.article-web .editor-inline-audio .inline-audio-play,
.article-page .editor-inline-audio .inline-audio-play {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ef2336;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(239, 35, 54, .22);
}
.admin-body .editor-inline-audio figcaption,
.article-web .editor-inline-audio figcaption,
.article-page .editor-inline-audio figcaption {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.admin-body .editor-inline-audio figcaption b,
.article-web .editor-inline-audio figcaption b,
.article-page .editor-inline-audio figcaption b {
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .editor-inline-audio figcaption small,
.article-web .editor-inline-audio figcaption small,
.article-page .editor-inline-audio figcaption small {
  overflow: hidden;
  color: #7b8798;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .inline-audio-wave,
.article-web .inline-audio-wave,
.article-page .inline-audio-wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  height: 32px;
  min-width: 0;
}
.admin-body .inline-audio-wave i,
.article-web .inline-audio-wave i,
.article-page .inline-audio-wave i {
  display: block;
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: #9aa5b5;
  opacity: .72;
}
.admin-body .inline-audio-wave i:nth-child(2n),
.article-web .inline-audio-wave i:nth-child(2n),
.article-page .inline-audio-wave i:nth-child(2n) {
  height: 20px;
}
.admin-body .inline-audio-wave i:nth-child(3n),
.article-web .inline-audio-wave i:nth-child(3n),
.article-page .inline-audio-wave i:nth-child(3n) {
  height: 26px;
}
.admin-body .editor-inline-audio.is-playing .inline-audio-wave i,
.article-web .editor-inline-audio.is-playing .inline-audio-wave i,
.article-page .editor-inline-audio.is-playing .inline-audio-wave i {
  background: #ef2336;
  animation: inlineWave 900ms ease-in-out infinite;
}
.admin-body .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(2n),
.article-web .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(2n),
.article-page .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(2n) {
  animation-delay: 120ms;
}
.admin-body .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(3n),
.article-web .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(3n),
.article-page .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(3n) {
  animation-delay: 240ms;
}
.admin-body .editor-inline-audio audio,
.article-web .editor-inline-audio audio,
.article-page .editor-inline-audio audio {
  display: none;
}
@keyframes inlineWave {
  0%, 100% { transform: scaleY(.55); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (max-width: 680px) {
  .admin-body .editor-inline-audio,
  .article-web .editor-inline-audio,
  .article-page .editor-inline-audio {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 10px;
    border-radius: 11px;
  }
  .admin-body .editor-inline-audio .inline-audio-play,
  .article-web .editor-inline-audio .inline-audio-play,
  .article-page .editor-inline-audio .inline-audio-play {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }
  .admin-body .inline-audio-wave,
  .article-web .inline-audio-wave,
  .article-page .inline-audio-wave {
    grid-column: 1 / -1;
    height: 24px;
    padding-left: 4px;
  }
}

.admin-body .insert-popover {
  top: 42px;
  right: 66px;
  grid-template-columns: 158px 176px;
  min-width: 334px;
  border-radius: 5px;
}
.admin-body .editor-settings-column,
.admin-body .editor-action-column {
  gap: 14px;
  top: 72px;
}
.admin-body .main-image-preview {
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
}
.admin-body .publish-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
}
.admin-body .publish-split button[data-save-article]:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.admin-body .publish-hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
}
.admin-body .publish-split button:first-child {
  border-radius: 5px 0 0 5px;
}
.admin-body .publish-split button:last-child {
  border-left: 1px solid rgba(255,255,255,.35);
  border-radius: 0 5px 5px 0;
  padding: 0;
}
.admin-body .check-line {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.admin-body .check-line input {
  width: 14px;
  min-height: 14px;
  accent-color: #1677ff;
}
.admin-body .editor-side-card .switch-line {
  flex-direction: row-reverse;
}
.admin-body .editor-side-card .switch-line input {
  flex: 0 0 auto;
  border-radius: 999px;
}
.admin-body .news-list-card {
  padding: 14px;
}
.admin-body .filter-row {
  grid-template-columns: 220px 180px 170px 160px 190px 120px 160px;
  gap: 10px;
  margin-bottom: 14px;
}
.admin-body .table-headline,
.admin-body .portal-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
}
.admin-body .table-headline span,
.admin-body .portal-pagination span {
  display: flex;
  gap: 8px;
}
.admin-body .table-headline b {
  color: #1677ff;
}
.admin-body .portal-pagination label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-body .portal-pagination select {
  min-height: 32px;
}
.admin-body .portal-pagination .active {
  background: #1677ff;
  color: #fff;
}
.admin-body .portal-table {
  min-width: 1120px;
}
.admin-body .portal-table th {
  padding: 10px 12px;
  font-size: 12px;
}
.admin-body .portal-table td {
  padding: 11px 12px;
  font-size: 12px;
}
.admin-body .news-cell {
  grid-template-columns: 76px minmax(0, 1fr);
}
.admin-body .news-cell img {
  width: 76px;
  height: 52px;
}
.admin-body .news-cell b {
  font-size: 13px;
}
.admin-body .news-cell small {
  font-size: 12px;
}
.admin-body .row-tools button {
  min-width: 30px;
}
.admin-body .ad-editor-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
}
.admin-body .profile-grid {
  grid-template-columns: minmax(0, 1fr) 330px;
}
.admin-body .profile-form {
  grid-template-columns: 230px minmax(0, 1fr);
}
.admin-body .profile-photo {
  width: 150px;
  height: 150px;
}

.admin-body {
  --admin-bg: #f6f8fb;
  --admin-surface: #ffffff;
  --admin-border: #dfe6ef;
  --admin-muted: #697789;
  --admin-ink: #071326;
  --admin-blue: #1677ff;
  --admin-violet: #4f39f6;
}
.admin-body .portal-app {
  grid-template-columns: 238px minmax(0, 1fr);
  background:
    radial-gradient(circle at 75% 0, rgba(22, 119, 255, .055), transparent 360px),
    var(--admin-bg);
}
.admin-body .portal-sidebar {
  padding: 20px 14px 18px;
  background: linear-gradient(180deg, #0b1e31 0%, #061120 100%);
  border-right: 1px solid rgba(255,255,255,.08);
}
.admin-body .portal-brand {
  align-items: flex-start;
  padding: 0 8px 28px;
}
.admin-body .portal-brand strong {
  font-size: 26px;
  letter-spacing: 0;
}
.admin-body .portal-brand small {
  width: 100%;
  padding-left: 60px;
  text-align: left;
}
.admin-body .portal-sidebar nav {
  display: grid;
  gap: 3px;
}
.admin-body .portal-sidebar nav p {
  margin: 20px 10px 8px;
  color: rgba(226, 232, 240, .66);
  font-size: 11px;
  letter-spacing: 0;
}
.admin-body .portal-sidebar nav button {
  min-height: 41px;
  padding: 0 11px;
  border-radius: 8px;
  color: rgba(241, 245, 249, .9);
  font-size: 13px;
  font-weight: 820;
}
.admin-body .portal-sidebar nav button:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.admin-body .portal-sidebar nav button.active {
  background: linear-gradient(135deg, #0d80ff 0%, #503cf3 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(22, 119, 255, .28);
}
.admin-body .portal-sidebar nav button i {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  color: rgba(226, 232, 240, .82);
  font-size: 0;
  opacity: 1;
}
.admin-body .portal-sidebar nav button i .lucide-icon {
  display: block;
  width: 18px;
  height: 18px;
}
.admin-body .portal-sidebar nav button > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .portal-sidebar nav button:hover i,
.admin-body .portal-sidebar nav button.active i {
  color: #fff;
}
.admin-body .portal-sidebar {
  gap: 6px;
  padding: 12px 10px;
}
.admin-body .portal-brand {
  padding: 0 8px 10px;
}
.admin-body .portal-brand strong {
  font-size: 22px;
}
.admin-body .portal-brand small {
  padding-left: 47px;
  font-size: 9px;
}
.admin-body .portal-sidebar nav {
  min-height: 0;
  gap: 4px;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.24) transparent;
}
.admin-body .portal-sidebar .nav-group {
  display: grid;
  gap: 1px;
}
.admin-body .portal-sidebar .nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  color: rgba(226, 232, 240, .7);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.admin-body .portal-sidebar .nav-group-toggle:hover {
  background: rgba(255,255,255,.05);
  color: #fff;
}
.admin-body .portal-sidebar .nav-group-toggle b {
  transition: transform .18s ease;
}
.admin-body .portal-sidebar .nav-group.is-open .nav-group-toggle b {
  transform: rotate(180deg);
}
.admin-body .portal-sidebar .nav-group-items {
  display: none;
  gap: 1px;
}
.admin-body .portal-sidebar .nav-group.is-open .nav-group-items {
  display: grid;
}
.admin-body .portal-sidebar nav p {
  display: none;
}
.admin-body .portal-sidebar nav button {
  min-height: 27px;
  padding: 0 9px;
  font-size: 11px;
}
.admin-body .portal-sidebar nav button[data-view="trash"] {
  margin-top: 5px;
  background: linear-gradient(135deg, #ef233c, #c9182c);
  color: #fff;
}
.admin-body .portal-top {
  min-height: 64px;
  padding: 0 22px;
  border-bottom: 1px solid var(--admin-border);
  background: rgba(255,255,255,.98);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .035);
}
.admin-body .portal-top h1 {
  font-size: 20px;
  font-weight: 930;
  letter-spacing: 0;
}
.admin-body .portal-tools {
  gap: 10px;
}
.admin-body .portal-search {
  width: 248px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: #fff;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 650;
  outline: none;
}
.admin-body .portal-search:focus {
  border-color: rgba(22,119,255,.55);
  box-shadow: 0 0 0 3px rgba(22,119,255,.08);
}
.admin-body .menu-toggle,
.admin-body .portal-tools button {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--admin-border);
  border-radius: 9px;
  background: #fff;
}
.admin-body .portal-tools .portal-user {
  width: 190px;
  max-width: 190px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: #fff;
  align-items: flex-start;
}
.admin-body .portal-tools .portal-user::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-right: 9px;
  border: 2px solid #d8e1ee;
  border-radius: 50%;
  background: linear-gradient(145deg, #eef4ff, #dbe6f5);
}
.admin-body .portal-user span,
.admin-body .portal-user small {
  min-width: 0;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .portal-content {
  padding: 24px 26px 38px;
}
.admin-body .portal-crumb {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 750;
}
.admin-body .portal-stats {
  gap: 16px;
  margin-bottom: 18px;
}
.admin-body .portal-stats article {
  min-height: 126px;
  padding: 22px 24px;
}
.admin-body .portal-stats article span,
.admin-body .portal-card p,
.admin-body .portal-card small {
  color: var(--admin-muted);
}
.admin-body .portal-stats article b {
  color: var(--admin-ink);
  font-size: 38px;
  line-height: 1;
}
.admin-body .portal-card,
.admin-body .portal-stats article {
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: var(--admin-surface);
  box-shadow: 0 14px 40px rgba(15, 23, 42, .035);
}
.admin-body .portal-card {
  padding: 20px;
}
.admin-body .portal-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.admin-body .portal-card h2 {
  color: var(--admin-ink);
  font-size: 17px;
  font-weight: 930;
}
.admin-body .portal-card label {
  gap: 8px;
  color: var(--admin-ink);
  font-size: 12px;
}
.admin-body .portal-card input,
.admin-body .portal-card select,
.admin-body .portal-card textarea {
  min-height: 40px;
  border: 1px solid var(--admin-border);
  border-radius: 7px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}
.admin-body .portal-card textarea {
  min-height: 92px;
  padding-top: 11px;
}
.admin-body .portal-card button,
.admin-body .portal-pagination button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--admin-border);
  border-radius: 7px;
  background: #fff;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 850;
}
.admin-body .portal-card button.primary,
.admin-body .portal-card .primary,
.admin-body .portal-pagination .active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--admin-blue), var(--admin-violet));
  color: #fff;
  box-shadow: 0 12px 24px rgba(22,119,255,.22);
}
.admin-body .portal-card button.danger,
.admin-body .danger {
  border-color: rgba(239, 35, 54, .28);
  color: #ef2336;
  background: #fff;
}
.admin-body .portal-grid {
  gap: 16px;
}
.admin-body .quick-list {
  display: grid;
  gap: 10px;
}
.admin-body .quick-list button {
  width: 100%;
  justify-content: flex-start;
  background: #f8fafc;
}
.admin-body .admin-table-wrap {
  border: 1px solid #edf1f6;
  border-radius: 8px;
  overflow: auto;
}
.admin-body .portal-table {
  border-collapse: collapse;
  background: #fff;
}
.admin-body .portal-table th {
  height: 44px;
  background: #f8fafc;
  color: #697789;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .portal-table td {
  height: 70px;
  border-top: 1px solid #edf1f6;
  color: var(--admin-ink);
  vertical-align: middle;
}
.admin-body .news-cell {
  gap: 13px;
}
.admin-body .news-cell img {
  width: 84px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
}
.admin-body .news-cell b {
  max-width: 360px;
  color: var(--admin-ink);
  font-size: 13px;
  line-height: 1.25;
}
.admin-body .news-cell small {
  max-width: 360px;
  font-size: 12px;
  line-height: 1.35;
}
.admin-body .portal-table mark,
.admin-body .portal-table em,
.admin-body .role-badge {
  border-radius: 7px;
  padding: 6px 10px;
  font-style: normal;
  font-weight: 850;
}
.admin-body .portal-table mark {
  background: #eef2f7;
  color: #58667a;
}
.admin-body .portal-table em.ok,
.admin-body em.ok {
  background: #dcfce7;
  color: #079455;
}
.admin-body .portal-table em.warn,
.admin-body em.warn {
  background: #fff3d6;
  color: #b7791f;
}
.admin-body .portal-table em.bad,
.admin-body em.bad {
  background: #ffe4e8;
  color: #e11d48;
}
.admin-body .portal-table .news-status-cell {
  min-width: 116px;
}
.admin-body .portal-table .news-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 30px;
  padding: 6px 10px;
  box-sizing: border-box;
  white-space: nowrap;
  line-height: 1;
}
.admin-body .row-tools {
  display: flex;
  gap: 8px;
}
.admin-body .row-tools button {
  min-width: 34px;
  padding: 0;
}
.admin-body .editor-pro-layout {
  grid-template-columns: minmax(680px, 1fr) 318px 250px;
  gap: 16px;
}
.admin-body .editor-form-pro {
  padding: 18px;
}
.admin-body .form-grid.headline-row {
  grid-template-columns: 240px;
}
.admin-body .editor-title-field {
  margin-top: 4px;
}
.admin-body .pro-toolbar {
  min-height: 43px;
  border: 1px solid var(--admin-border);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}
.admin-body .pro-toolbar button,
.admin-body .pro-toolbar select {
  min-height: 32px;
  border-color: #e7ebf2;
  border-radius: 7px;
  background: #fff;
  color: #0b1220;
  font-size: 12px;
  box-shadow: none;
}
.admin-body .pro-toolbar button:hover,
.admin-body .pro-toolbar button.active {
  border-color: #cfd9ff;
  background: #f5f7ff;
  color: #2443d8;
}
.admin-body .pro-toolbar .insert-toggle {
  color: #0f57ff;
  border-color: #d7e1ff;
  background: #f8faff;
}
.admin-body .pro-toolbar .source-toggle {
  margin-left: auto;
}
.admin-body .toolbar-divider {
  width: 1px;
  height: 22px;
  background: #e8edf5;
}
.admin-body .editor-form-pro .rich-editor {
  min-height: 560px;
  border: 1px solid var(--admin-border);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
  cursor: text;
  caret-color: #155eef;
  user-select: text;
  -webkit-user-select: text;
}
.admin-body .editor-form-pro .rich-editor:focus-visible {
  outline: 2px solid rgba(21, 94, 239, .3);
  outline-offset: -2px;
}
.admin-body .editor-form-pro .rich-editor:empty::before {
  content: attr(data-placeholder);
  color: #9aa4b2;
  font-weight: 700;
}
.admin-body .editor-form-pro .rich-editor.source-mode {
  color: #334155;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.admin-body .editor-image-block {
  width: min(100%, 430px);
  border: 1px solid var(--admin-border);
  box-shadow: 0 16px 35px rgba(15, 23, 42, .08);
}
.admin-body .insert-popover {
  display: grid;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(15, 23, 42, .16);
}
.admin-body .insert-popover[aria-hidden="true"] {
  display: none;
}
.admin-body .insert-popover button:hover {
  background: #f6f8fc;
}
.admin-body .editor-side-card {
  display: grid;
  gap: 10px;
}
.admin-body .main-image-preview,
.admin-body .ad-preview {
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}
.admin-body .main-image-preview {
  min-height: 150px;
  border: 1px solid #e7ebf2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}
.admin-body .main-image-card .main-image-preview {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.admin-body .main-image-card [data-main-image-canvas] {
  position: absolute;
  z-index: 1;
  top: var(--pan-y, -10%);
  left: var(--pan-x, -10%);
  display: block;
  width: 160%;
  height: 160%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  will-change: top, left;
}
.admin-body .main-image-card [data-main-image-canvas]:not([src]) { display: none; }
.admin-body .main-image-card .main-image-preview.is-dragging { cursor: grabbing; }
.admin-body .main-image-focus-guide {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(8,24,42,.35), 0 2px 12px rgba(8,24,42,.22);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.admin-body .main-image-focus-guide::before,
.admin-body .main-image-focus-guide::after { content: ""; position: absolute; top: 50%; left: 50%; background: rgba(255,255,255,.95); transform: translate(-50%, -50%); }
.admin-body .main-image-focus-guide::before { width: 38px; height: 1px; }.admin-body .main-image-focus-guide::after { width: 1px; height: 38px; }
.admin-body .main-image-drag-hint { position: absolute; z-index: 3; right: 8px; bottom: 8px; left: 8px; margin: 0; padding: 6px 8px; border-radius: 5px; background: rgba(7,16,31,.72); color: #fff; font-size: 9px; font-weight: 800; text-align: center; pointer-events: none; backdrop-filter: blur(4px); }
.admin-body .main-image-focus-actions { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 8px; color: #667085; font-size: 9px; font-weight: 750; }
.admin-body .main-image-focus-actions b { color: #172236; }.admin-body .main-image-focus-actions button { min-height: 28px; padding: 0 9px; border: 1px solid #dce3ec; border-radius: 5px; background: #fff; color: #175cd3; font-size: 9px; font-weight: 850; }
.admin-body .main-image-preview.is-empty .main-image-focus-guide,
.admin-body .main-image-preview.is-empty .main-image-drag-hint { display: none; }
.admin-body .main-image-preview.is-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8fafc, #eef4ff);
}
.admin-body .main-image-preview.is-empty::before {
  content: "Əsas şəkil seçilməyib";
  color: #7b8798;
  font-size: 12px;
  font-weight: 900;
}
.admin-body .file-pill.empty {
  color: #8994a5;
  background: #f8fafc;
}
.admin-body .editor-readiness-card,
.admin-body .editor-preview-card {
  gap: 12px;
}
.admin-body .editor-readiness-card p {
  margin: 0;
  color: #6b7788;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}
.admin-body .readiness-list {
  display: grid;
  gap: 8px;
}
.admin-body .readiness-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcff;
  color: #8a95a5;
  font-size: 12px;
  font-weight: 900;
}
.admin-body .readiness-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}
.admin-body .readiness-list span.is-ready {
  border-color: #ccebdc;
  background: #f3fbf7;
  color: #0b9f55;
}
.admin-body .readiness-list span.is-ready::before {
  background: #16a34a;
}
.admin-body .editor-preview-card article {
  display: grid;
  gap: 9px;
}
.admin-body .editor-preview-card .preview-image {
  aspect-ratio: 16 / 9;
  border: 1px solid #e7ebf2;
  border-radius: 8px;
  background: #eef3fa center / cover no-repeat;
}
.admin-body .editor-preview-card .preview-image.is-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f9fbff, #eef4ff);
}
.admin-body .editor-preview-card .preview-image.is-empty::before {
  content: "Şəkil önizləməsi";
  color: #94a0b2;
  font-size: 11px;
  font-weight: 900;
}
.admin-body .editor-preview-card span {
  justify-self: start;
  padding: 4px 8px;
  border-radius: 5px;
  background: #ef2336;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-body .editor-preview-card h3 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 17px;
  line-height: 1.18;
}
.admin-body .editor-preview-card p {
  margin: 0;
  color: #647084;
  font-size: 12px;
  line-height: 1.45;
}
.admin-body .editor-preview-card small {
  color: #7b8798;
  font-size: 11px;
  font-weight: 850;
}
.admin-body .publish-card button,
.admin-body .editor-side-card button,
.admin-body .editor-preview-card button {
  border-radius: 8px;
}
.admin-body .article-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(6, 14, 29, .38);
  backdrop-filter: blur(10px);
}
.admin-body .article-preview-modal > div {
  width: min(760px, 100%);
  max-height: min(860px, 92vh);
  overflow: auto;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(3, 10, 25, .24);
}
.admin-body .article-preview-modal header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid #edf1f6;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
}
.admin-body .article-preview-modal header b {
  color: #101827;
  font-size: 14px;
  font-weight: 950;
}
.admin-body .article-preview-modal header button {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
}
.admin-body .article-preview-modal article {
  display: grid;
  gap: 12px;
  padding: 20px;
}
.admin-body .article-preview-modal img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 9px;
}
.admin-body .article-preview-modal article > span {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 5px;
  background: #ef2336;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}
.admin-body .article-preview-modal h2 {
  margin: 0;
  color: #07101f;
  font-size: 28px;
  line-height: 1.12;
}
.admin-body .article-preview-modal p,
.admin-body .article-preview-modal section {
  color: #445066;
  font-size: 15px;
  line-height: 1.65;
}
.admin-body .article-preview-modal footer {
  padding-top: 12px;
  border-top: 1px solid #edf1f6;
  color: #6b7788;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .ad-preview {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  background-image: url("../assets/web-ad-peugeot.jpg");
}
.admin-body .tag-cloud,
.admin-body .media-grid,
.admin-body .user-list,
.admin-body .placement-grid {
  display: grid;
  gap: 12px;
}
.admin-body .tag-cloud {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.admin-body .tag-cloud button {
  justify-content: space-between;
  background: #f8fafc;
}
.admin-body .tag-cloud span,
.admin-body .user-list em {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #1677ff;
  font-size: 11px;
  font-weight: 900;
}
.admin-body .media-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.admin-body .media-premium-page,
.admin-body .seo-premium-page {
  display: grid;
  gap: 16px;
}
.admin-body .media-command,
.admin-body .seo-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
}
.admin-body .media-command span,
.admin-body .seo-command span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-body .media-command h2,
.admin-body .seo-command h2 {
  margin: 4px 0 6px;
  color: var(--admin-ink);
  font-size: 25px;
  line-height: 1.1;
}
.admin-body .media-command p,
.admin-body .seo-command p {
  max-width: 620px;
  margin: 0;
  color: #697789;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}
.admin-body .media-command .primary {
  min-width: 132px;
  box-shadow: 0 14px 32px rgba(37, 99, 235, .16);
}
.admin-body .media-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.admin-body .media-stats article {
  padding: 16px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #fbfcff);
}
.admin-body .media-stats span,
.admin-body .media-stats small {
  color: #697789;
  font-size: 12px;
  font-weight: 800;
}
.admin-body .media-stats b {
  display: block;
  margin: 6px 0 3px;
  color: #071326;
  font-size: 28px;
  line-height: 1;
}
.admin-body .media-workspace,
.admin-body .seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
  align-items: start;
}
.admin-body .media-library {
  padding: 16px;
}
.admin-body .media-grid.premium {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.admin-body .media-grid article,
.admin-body .user-list article,
.admin-body .placement-grid article {
  padding: 12px;
  border: 1px solid var(--admin-border);
  border-radius: 9px;
  background: #fff;
}
.admin-body .media-grid article {
  display: grid;
  align-content: start;
  min-height: 244px;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .045);
}
.admin-body .media-grid article > div {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 10px;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.admin-body .media-grid article > div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,19,38,0), rgba(7,19,38,.34));
}
.admin-body .media-grid article > div i {
  position: absolute;
  z-index: 1;
  left: 10px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #ef2336;
  font-style: normal;
  font-weight: 950;
}
.admin-body .media-grid article > div em {
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 10px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(7,19,38,.72);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
}
.admin-body .media-grid article.is-video > div::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 34px rgba(7, 19, 38, .2);
  backdrop-filter: blur(10px);
}
.admin-body .media-grid article.is-video > div i {
  left: 50%;
  bottom: auto;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  background: #ef2336;
  color: #fff;
}
.admin-body .media-grid article.is-audio > div,
.admin-body .media-grid article > .media-audio-surface {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  aspect-ratio: auto;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, .12);
  background:
    radial-gradient(circle at 10% 10%, rgba(239, 35, 54, .12), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}
.admin-body .media-grid article.is-audio > div::after,
.admin-body .media-grid article > .media-audio-surface::after {
  display: none;
}
.admin-body .media-audio-surface span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #ef2336;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(239, 35, 54, .18);
}
.admin-body .media-audio-surface nav {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.admin-body .media-audio-surface nav i {
  display: block;
  width: 3px;
  height: 20px;
  border-radius: 999px;
  background: #8a96a8;
  opacity: .72;
  position: static;
}
.admin-body .media-audio-surface nav i:nth-child(2n) { height: 34px; }
.admin-body .media-audio-surface nav i:nth-child(3n) { height: 26px; }
.admin-body .media-audio-surface.is-live nav i {
  animation: inlineWave .9s ease-in-out infinite;
}
.admin-body .media-audio-surface.is-live nav i:nth-child(2n) {
  animation-delay: .12s;
}
.admin-body .media-audio-surface em {
  position: static;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(7, 19, 38, .08);
  color: #334155;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
}
.admin-body .media-grid b,
.admin-body .user-list b,
.admin-body .placement-grid b {
  display: block;
  color: var(--admin-ink);
  font-size: 13px;
  line-height: 1.28;
  min-height: 34px;
}
.admin-body .media-grid nav {
  display: flex;
  gap: 8px;
}
.admin-body .media-grid footer {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}
.admin-body .media-grid footer span {
  color: #7b8798;
  font-size: 11px;
  font-weight: 850;
}
.admin-body .media-grid nav button {
  min-height: 31px;
  padding: 0 10px;
  font-size: 11px;
}
.admin-body .media-side-stack {
  display: grid;
  gap: 16px;
}
.admin-body .media-upload-card {
  gap: 12px;
}
.admin-body .upload-drop {
  display: grid;
  place-items: center;
  min-height: 148px;
  padding: 18px;
  border-style: dashed;
  border-color: rgba(37, 99, 235, .22);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .08), transparent 38%),
    linear-gradient(135deg, #f8fbff, #f4f7ff);
}
.admin-body .upload-drop b {
  color: #0f57ff;
  text-align: center;
}
.admin-body .upload-drop small {
  color: #7b8798;
  font-size: 11px;
}
.admin-body .media-side-stack ul {
  margin: 0;
  padding-left: 18px;
  color: #657187;
  font-size: 12px;
  line-height: 1.8;
  font-weight: 750;
}
.admin-body .media-archive-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-body .media-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .media-library-head h2,
.admin-body .media-library-head p {
  margin: 0;
}
.admin-body .media-library-head p {
  margin-top: 4px;
  color: #748196;
  font-size: 12px;
}
.admin-body .media-library-head button {
  min-height: 36px;
}
.admin-body .media-search-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 10px;
}
.admin-body .media-search-line label {
  position: relative;
  display: block;
}
.admin-body .media-search-line label svg {
  position: absolute;
  z-index: 1;
  left: 13px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: #77859a;
}
.admin-body .media-search-line input {
  width: 100%;
  min-height: 42px;
  padding-left: 40px;
}
.admin-body .media-filter-smart {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.admin-body .media-filter-smart select {
  width: 100%;
  min-height: 38px;
  font-size: 11px;
}
.admin-body .media-grid article > .media-card-meta,
.admin-body .media-grid article > .media-smart-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
  aspect-ratio: auto;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  overflow: visible;
}
.admin-body .media-grid article > .media-card-meta::after,
.admin-body .media-grid article > .media-smart-tags::after {
  display: none;
}
.admin-body .media-card-meta span {
  color: #78869a;
  font-size: 10px;
  font-weight: 800;
}
.admin-body .media-card-meta span + span::before {
  content: "·";
  margin-right: 6px;
}
.admin-body .media-smart-tags span {
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 5px;
  background: #f1f5f9;
  color: #536176;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .media-smart-tags span.is-person {
  background: #eaf2ff;
  color: #175cd3;
}
.admin-body .media-smart-tags span.is-empty {
  background: #fff7e6;
  color: #9a6700;
}
.admin-body .media-grid.has-no-results::after {
  content: "Seçilən filtrlərə uyğun media tapılmadı.";
  grid-column: 1 / -1;
  padding: 42px 20px;
  border: 1px dashed #ccd6e4;
  border-radius: 8px;
  color: #66758a;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}
.admin-body .media-archive-guide li b {
  color: #17243a;
}
.admin-body .media-standard-note {
  border-color: rgba(37, 99, 235, .18);
  background: linear-gradient(145deg, #f8fbff, #eef4ff);
}
.admin-body .media-standard-note > span {
  color: #2563eb;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-body .media-standard-note h2 {
  margin: 7px 0;
}
.admin-body .media-standard-note p {
  margin: 0;
  color: #65748a;
  font-size: 12px;
  line-height: 1.6;
}
.media-metadata-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 16, 31, .54);
  backdrop-filter: blur(8px);
}
.media-metadata-modal > form {
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  padding: 22px;
  overflow: auto;
  box-shadow: 0 32px 90px rgba(6, 16, 31, .3);
}
.media-metadata-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e7edf5;
}
.media-metadata-modal header span {
  color: #2563eb;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.media-metadata-modal header h2 {
  margin: 4px 0;
  font-size: 21px;
}
.media-metadata-modal header p {
  margin: 0;
  color: #6b788d;
  font-size: 12px;
}
.media-metadata-modal header > button {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  font-size: 22px;
}
.media-metadata-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  background: #f8fafc;
}
.media-metadata-preview img,
.media-metadata-preview i {
  width: 72px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
}
.media-metadata-preview i {
  display: grid;
  place-items: center;
  background: #eaf2ff;
  color: #2563eb;
  font-style: normal;
  font-size: 20px;
}
.media-metadata-preview b,
.media-metadata-preview small {
  display: block;
}
.media-metadata-preview small {
  margin-top: 4px;
  color: #758297;
}
.media-metadata-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.media-metadata-grid label {
  display: grid;
  gap: 7px;
  color: #243249;
  font-size: 11px;
  font-weight: 900;
}
.media-metadata-grid .wide {
  grid-column: 1 / -1;
}
.media-metadata-grid input,
.media-metadata-grid select,
.media-metadata-grid textarea {
  width: 100%;
}
.media-metadata-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e7edf5;
}
.watermark-studio {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
}
.watermark-studio > header {
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
}
.watermark-studio > header h3 {
  margin: 3px 0 4px;
  color: #101c31;
  font-size: 17px;
}
.watermark-studio > header > button {
  width: auto;
  min-width: 190px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 12px;
}
.watermark-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: start;
}
.watermark-canvas {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid #cfdae8;
  border-radius: 8px;
  background: #dce4ee;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
  touch-action: none;
}
.watermark-source {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  max-height: 520px;
  object-fit: contain;
}
.watermark-canvas [data-watermark-layer] {
  position: absolute;
  inset: 0;
}
.watermark-object {
  position: absolute;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: grab;
  touch-action: none;
}
.watermark-object:hover,
.watermark-object.active {
  border-color: #1670ea;
  background: rgba(22, 112, 234, .08);
  box-shadow: 0 0 0 3px rgba(22, 112, 234, .16);
}
.watermark-object:active { cursor: grabbing; }
.watermark-object img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.watermark-object b {
  position: absolute;
  top: -10px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1670ea;
  color: #fff;
  font-size: 10px;
}
.watermark-controls {
  display: grid;
  gap: 14px;
  min-height: 310px;
  padding: 15px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #fff;
}
.watermark-controls > div:not(.watermark-empty) {
  display: grid;
  gap: 14px;
}
.watermark-controls label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  color: #243249;
  font-size: 11px;
  font-weight: 900;
}
.watermark-controls label input { grid-column: 1 / -1; width: 100%; }
.watermark-controls output { color: #1769e0; font-weight: 950; }
.watermark-controls > small {
  align-self: end;
  color: #6f7d91;
  font-size: 10px;
  line-height: 1.5;
}
.watermark-empty {
  align-self: center;
  color: #65748a;
  text-align: center;
}
.watermark-empty b { color: #1c2b42; }
.watermark-empty p { margin: 7px 0 0; font-size: 11px; line-height: 1.5; }
.watermark-positions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  border: 1px solid #e0e8f2;
  border-radius: 7px;
  background: #f7f9fc;
}
.watermark-positions button {
  min-height: 30px;
  padding: 0;
  border: 1px solid #d8e2ef;
  background: #fff;
}
.watermark-positions i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1769e0;
}
.watermark-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.watermark-actions button { padding: 8px; font-size: 10px; }
.media-card-watermark,
.article-image-watermark {
  position: absolute;
  z-index: 3;
  height: auto !important;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: contain;
}
.admin-body .media-grid article > div .media-card-watermark {
  border-radius: 0;
}
.editor-image-stage {
  position: relative;
  overflow: hidden;
}
.editor-image-stage > img:first-child {
  display: block;
  width: 100%;
}
.media-asset-preview-modal {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 12, 25, .72);
  backdrop-filter: blur(10px);
}
.media-asset-preview-modal > section {
  width: min(1180px, 100%);
  max-height: calc(100vh - 48px);
  padding: 18px;
  overflow: auto;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .42);
}
.media-asset-preview-modal header,
.media-asset-preview-modal footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.media-asset-preview-modal header {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e4eaf2;
}
.media-asset-preview-modal header span {
  color: #1769e0;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.media-asset-preview-modal header h2 { margin: 3px 0; font-size: 19px; }
.media-asset-preview-modal header p,
.media-asset-preview-modal footer span { margin: 0; color: #6c798c; font-size: 11px; font-weight: 700; }
.media-asset-preview-modal header > button {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  font-size: 22px;
}
.media-asset-preview-stage {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 7px;
  background: #e9eef5;
}
.media-asset-preview-stage > img:first-child {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 220px);
  object-fit: contain;
}
.media-asset-preview-modal footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e4eaf2;
}
@media (max-width: 700px) {
  .media-asset-preview-modal { padding: 10px; }
  .media-asset-preview-modal > section { max-height: calc(100vh - 20px); padding: 12px; }
  .media-asset-preview-modal footer { align-items: stretch; flex-direction: column; }
  .media-asset-preview-modal footer button { width: 100%; }
}
.admin-body .seo-command .seo-score {
  min-width: 230px;
  padding: 14px;
  border: 1px solid #e4ebf5;
  border-radius: 10px;
  background: #f8fbff;
}
.admin-body .seo-command .seo-score b {
  width: 64px;
  height: 64px;
  font-size: 24px;
  background: conic-gradient(#16a34a 0 94%, #e5eaf2 94% 100%);
  box-shadow: inset 0 0 0 7px #fff;
}
.admin-body .seo-main-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.admin-body .seo-premium-page label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #202938;
  font-size: 12px;
  font-weight: 900;
}
.admin-body .seo-premium-page input,
.admin-body .seo-premium-page select,
.admin-body .seo-premium-page textarea {
  width: 100%;
  min-width: 0;
}
.admin-body .seo-premium-page textarea {
  min-height: 104px;
  line-height: 1.5;
}
.admin-body .seo-premium-page label small {
  color: #7b8798;
  font-size: 11px;
  font-weight: 750;
}
.admin-body .seo-preview {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #e6ecf4;
  border-radius: 10px;
  background: #fff;
}
.admin-body .seo-preview small {
  color: #7b8798;
  font-size: 11px;
  font-weight: 900;
}
.admin-body .seo-preview b {
  color: #1a0dab;
  font-size: 17px;
  line-height: 1.3;
}
.admin-body .seo-preview span {
  color: #12813b;
  font-size: 12px;
  font-weight: 800;
}
.admin-body .seo-preview p {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
}
.admin-body .seo-side {
  display: grid;
  gap: 16px;
}
.admin-body .seo-side .portal-card {
  gap: 10px;
}
.admin-body .check-ok,
.admin-body .check-warn {
  margin: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .check-ok::before {
  content: "✓";
  margin-right: 8px;
  color: #16a34a;
}
.admin-body .check-warn::before {
  content: "!";
  margin-right: 8px;
  color: #f59e0b;
}
.admin-body .user-list {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.admin-body .user-list article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  column-gap: 12px;
}
.admin-body .user-list article span {
  grid-row: span 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef2336;
  font-weight: 950;
}
.admin-body .users-premium-page,
.admin-body .role-premium-page {
  display: grid;
  gap: 16px;
}
.admin-body .user-command,
.admin-body .user-command > div,
.admin-body .role-permission-card header,
.admin-body .role-directory header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.admin-body .user-command,
.admin-body .user-command > div,
.admin-body .role-permission-card header > div,
.admin-body .role-directory header > div {
  min-width: 0;
}
.admin-body .user-command > div {
  flex: 1 1 auto;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.admin-body .user-command > button {
  flex: 0 0 auto;
  white-space: nowrap;
}
.admin-body .user-command span,
.admin-body .media-command span {
  color: var(--admin-blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-body .user-command h2,
.admin-body .role-permission-card h2,
.admin-body .role-directory h2,
.admin-body .user-edit-panel h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
}
.admin-body .user-command p,
.admin-body .role-permission-card p,
.admin-body .role-directory p {
  margin: 4px 0 0;
  color: #687386;
  font-size: 13px;
}
.admin-body .user-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.admin-body .user-metrics article {
  padding: 16px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15,23,42,.04);
}
.admin-body .user-metrics span {
  color: #687386;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .user-metrics b {
  display: block;
  margin-top: 7px;
  color: #071326;
  font-size: 30px;
  line-height: 1;
}
.admin-body .user-metrics small {
  color: #8993a4;
  font-weight: 800;
}
.admin-body .user-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 350px);
  gap: 16px;
  align-items: start;
}
.admin-body .users-table-card,
.admin-body .user-edit-panel,
.admin-body .role-directory,
.admin-body .role-permission-card,
.admin-body .role-side-stack .portal-card {
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(15,23,42,.045);
}
.admin-body .users-filter {
  grid-template-columns: minmax(240px, 1fr) 190px 170px auto;
  margin-bottom: 14px;
}
.admin-body .users-filter > * {
  width: 100%;
  min-width: 0;
}
.admin-body .users-filter button {
  white-space: nowrap;
}
.admin-body .user-directory-list {
  display: grid;
  gap: 10px;
}
.admin-body .user-row-card {
  display: grid;
  grid-template-columns: 46px minmax(210px, 1fr) 150px 92px;
  gap: 10px 14px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #edf1f6;
  border-radius: 11px;
  background: linear-gradient(180deg, #fff, #fbfcff);
}
.admin-body .user-row-card > div,
.admin-body .user-row-card > span,
.admin-body .user-row-card > mark,
.admin-body .user-row-card > em,
.admin-body .user-row-card > nav {
  min-width: 0;
}
.admin-body .user-row-card > div b,
.admin-body .user-row-card > div small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .user-row-card[hidden] {
  display: none;
}
.admin-body .user-avatar,
.admin-body .profile-photo.small {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #eef4ff, #fff1f2);
  color: #e60012;
  font-weight: 950;
}
.admin-body .user-row-card b {
  color: #071326;
  font-size: 14px;
}
.admin-body .user-row-card small,
.admin-body .user-row-card p {
  color: #778195;
  font-size: 12px;
  font-weight: 750;
}
.admin-body .user-row-card p {
  grid-column: 2 / 4;
  margin: 0;
}
.admin-body .user-row-card mark {
  justify-self: start;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}
.admin-body .user-row-card em {
  justify-self: start;
}
.admin-body .user-row-card nav {
  grid-column: 4;
  display: flex;
  gap: 7px;
  justify-content: flex-end;
}
.admin-body .user-row-card nav button,
.admin-body .role-list-premium button,
.admin-body .permission-table.premium select {
  min-height: 34px;
}
.admin-body .user-edit-panel {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 76px;
}
.admin-body .user-edit-panel,
.admin-body .role-edit-card,
.admin-body .role-summary {
  min-width: 0;
  overflow: hidden;
}
.admin-body .user-edit-panel input,
.admin-body .user-edit-panel select,
.admin-body .user-edit-panel textarea,
.admin-body .user-edit-panel button,
.admin-body .role-side-stack input,
.admin-body .role-side-stack select,
.admin-body .role-side-stack textarea,
.admin-body .role-side-stack button {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.admin-body .user-edit-panel label,
.admin-body .role-edit-card label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}
.admin-body .role-premium-page {
  grid-template-columns: 280px minmax(0, 1fr) 320px;
  align-items: start;
}
.admin-body .role-directory {
  display: grid;
  gap: 12px;
}
.admin-body .role-directory header span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 950;
}
.admin-body .role-list-premium {
  display: grid;
  gap: 8px;
}
.admin-body .role-list-premium button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  justify-items: start;
  padding: 9px;
  border-radius: 10px;
  background: #fff;
}
.admin-body .role-list-premium button i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--admin-blue);
  font-style: normal;
  font-weight: 950;
}
.admin-body .role-list-premium button.active {
  border-color: rgba(59,93,246,.28);
  background: linear-gradient(135deg, #f7f8ff, #fff);
  box-shadow: inset 3px 0 0 var(--admin-blue);
}
.admin-body .role-list-premium button b,
.admin-body .role-list-premium button small {
  display: block;
  text-align: left;
}
.admin-body .role-list-premium button em,
.admin-body .role-permission-card header em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.admin-body .permission-table.premium {
  gap: 14px;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.admin-body .permission-block {
  display: grid;
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 11px;
}
.admin-body .permission-block h3 {
  margin: 0;
  padding: 12px 14px;
  background: #f8fafc;
  color: #071326;
  font-size: 13px;
}
.admin-body .permission-table.premium label {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px;
  min-height: 58px;
  padding: 10px 14px;
}
.admin-body .permission-table.premium select {
  width: 100%;
}
.admin-body .role-side-stack {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 76px;
}
.admin-body .role-summary.premium p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .role-summary.premium b {
  color: var(--admin-blue);
}
.admin-body .role-quick-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.admin-body .placement-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Advertising inventory map */
.admin-body .ad-map-page { display: grid; gap: 16px; }
.admin-body .ad-map-command { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; }
.admin-body .ad-map-command span { color: #155eef; font-size: 11px; font-weight: 950; text-transform: uppercase; }
.admin-body .ad-map-command h2 { margin: 4px 0 5px; color: #101828; font-size: 25px; }
.admin-body .ad-map-command p { max-width: 700px; margin: 0; color: #667085; font-size: 13px; line-height: 1.55; font-weight: 650; }
.admin-body .ad-map-command .primary { flex: 0 0 auto; }
.admin-body .ad-map-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-body .ad-map-metrics article { padding: 16px 18px; border: 1px solid #e5eaf1; border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(15, 23, 42, .035); }
.admin-body .ad-map-metrics span, .admin-body .ad-map-metrics small { color: #667085; font-size: 11px; font-weight: 800; }
.admin-body .ad-map-metrics b { display: block; margin: 5px 0 3px; color: #101828; font-size: 27px; line-height: 1; }
.admin-body .ad-map-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 16px; align-items: start; }
.admin-body .site-map-card { min-width: 0; padding: 16px; }
.admin-body .site-map-card > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.admin-body .site-map-card > header h2 { margin: 0 0 4px; color: #101828; font-size: 18px; }
.admin-body .site-map-card > header p { margin: 0; color: #667085; font-size: 12px; }
.admin-body .ad-map-tabs { display: flex; gap: 4px; padding: 3px; border: 1px solid #e5eaf1; border-radius: 7px; background: #f8fafc; }
.admin-body .ad-map-tabs button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 5px; background: transparent; box-shadow: none; color: #667085; font-size: 11px; }
.admin-body .ad-map-tabs button.active { background: #fff; color: #155eef; box-shadow: 0 2px 7px rgba(15, 23, 42, .08); }
.admin-body .site-map-canvas { overflow: hidden; border: 1px solid #dfe5ed; border-radius: 8px; background: #f3f5f8; }
.admin-body .site-map-canvas[hidden] { display: none; }
.admin-body .site-map-topbar { height: 12px; border-bottom: 1px solid #27344a; background: #0a1628; }
.admin-body .site-map-header { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; border-bottom: 1px solid #dfe5ed; background: #fff; }
.admin-body .site-map-header i { width: 56px; height: 20px; margin-right: auto; border-radius: 3px; background: #dbe3ee; }
.admin-body .site-map-header span { width: 48px; height: 6px; border-radius: 4px; background: #d8dee8; }
.admin-body .desktop-site-grid { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; gap: 10px; padding: 10px; }
.admin-body .desktop-site-grid > aside { min-width: 0; }
.admin-body .desktop-site-grid > main { display: grid; gap: 8px; min-width: 0; }
.admin-body .site-map-lead { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 8px; align-items: stretch; }
.admin-body .site-map-lead > section { display: grid; grid-template-rows: 126px minmax(44px, auto); gap: 8px; min-width: 0; }
.admin-body .site-map-hero { display: grid; place-items: center; height: 126px; border: 1px solid #e2e7ee; border-radius: 6px; background: #e8edf3; color: #8490a2; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.admin-body .site-map-lead > section > .site-ad-slot { min-height: 44px; }
.admin-body .site-map-popular { display: grid; grid-template-rows: auto repeat(5, 1fr); gap: 5px; min-width: 0; padding: 9px; border-radius: 6px; background: #0a1628; color: #fff; }
.admin-body .site-map-popular b { font-size: 9px; line-height: 1.15; text-transform: uppercase; }
.admin-body .site-map-popular i { display: block; min-height: 0; border-top: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(90deg, rgba(255,255,255,.28) 0 24%, transparent 24% 31%, rgba(255,255,255,.15) 31% 85%, transparent 85%); }
.admin-body .site-map-content { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 8px; }
.admin-body .site-map-content > section, .admin-body .site-map-content > aside { display: grid; align-content: start; gap: 8px; }
.admin-body .site-map-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.admin-body .site-map-cards i { height: 54px; border: 1px solid #e1e6ed; border-radius: 4px; background: #fff; }
.admin-body .site-map-bottom-promo { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 6px; align-items: stretch; }
.admin-body .site-map-weather { display: grid; place-content: center; min-height: 72px; padding: 7px; border-radius: 5px; background: #0a1628; color: #fff; text-align: center; }
.admin-body .site-map-weather b { font-size: 9px; line-height: 1.2; }
.admin-body .site-map-weather span { margin-top: 4px; color: #aeb9ca; font-size: 8px; font-weight: 800; }
.admin-body .site-map-bottom-promo .site-ad-slot { min-height: 72px; }
.admin-body .site-map-widget { height: 76px; border: 1px solid #e1e6ed; border-radius: 5px; background: #fff; }
.admin-body .site-ad-slot { position: relative; display: grid; place-items: center; align-content: center; width: 100%; min-width: 0; overflow: hidden; padding: 7px; border: 1px dashed #155eef; border-radius: 5px; background: #edf4ff; color: #155eef; box-shadow: none; text-align: center; }
.admin-body .site-ad-slot:hover, .admin-body .site-ad-slot.is-selected { border-style: solid; border-color: #0b5ed7; background: #e2eeff; box-shadow: 0 0 0 3px rgba(21, 94, 239, .10); }
.admin-body .site-ad-slot.is-paused { border-color: #98a2b3; background: #f2f4f7; color: #667085; }
.admin-body .site-ad-slot span { font-size: 8px; font-weight: 950; }
.admin-body .site-ad-slot b { display: block; min-height: 0; margin: 3px 0 1px; color: currentColor; font-size: 10px; line-height: 1.15; }
.admin-body .site-ad-slot small { color: currentColor; font-size: 8px; font-weight: 800; opacity: .78; }
.admin-body .desktop-site-grid > aside .site-ad-slot { min-height: 0; aspect-ratio: 124 / 552; padding-inline: 3px; }
.admin-body .desktop-site-grid > aside .site-ad-slot b { word-break: normal; }
.admin-body .site-map-lead > section > .site-ad-slot { min-height: 0; aspect-ratio: 900 / 65; }
.admin-body .site-map-bottom-promo .site-ad-slot { min-height: 0; aspect-ratio: 626 / 197; }
.admin-body .site-map-bottom-promo .site-ad-slot[data-placement-select="desktop-sidebar-card"] { aspect-ratio: auto; }
.admin-body .site-map-content > aside .site-ad-slot:last-child { min-height: 0; aspect-ratio: 300 / 480; }
.admin-body .mobile-map { min-height: 560px; padding: 18px; }
.admin-body .phone-map { width: min(100%, 280px); min-height: 524px; margin: 0 auto; padding: 8px; border: 7px solid #172033; border-radius: 26px; background: #fff; box-shadow: 0 20px 42px rgba(15, 23, 42, .16); }
.admin-body .phone-status { width: 62px; height: 5px; margin: 0 auto 8px; border-radius: 999px; background: #172033; }
.admin-body .phone-map .site-ad-slot { min-height: 54px; }
.admin-body .phone-map .site-ad-slot[data-placement-select="mobile-top"] { min-height: 0; aspect-ratio: 410 / 72; }
.admin-body .phone-map .site-ad-slot[data-placement-select="mobile-hero-strip"] { min-height: 0; aspect-ratio: 410 / 98; }
.admin-body .phone-map .site-ad-slot[data-placement-select="mobile-feed-strip"] { min-height: 0; aspect-ratio: 410 / 86; }
.admin-body .phone-header { display: flex; align-items: center; height: 42px; gap: 8px; padding: 6px; }
.admin-body .phone-header i { width: 58px; height: 23px; margin-right: auto; border-radius: 4px; background: #d9e0e9; }
.admin-body .phone-header span, .admin-body .phone-header b { width: 25px; height: 25px; border: 1px solid #dce2ea; border-radius: 5px; }
.admin-body .phone-currency, .admin-body .phone-nav { height: 18px; margin: 0 -8px; border-block: 1px solid #e5e9ef; background: #f8fafc; }
.admin-body .phone-nav { height: 30px; margin-top: 4px; }
.admin-body .phone-hero { display: grid; place-items: end start; height: 128px; margin: 7px 0; padding: 10px; border-radius: 6px; background: #dce3ec; color: #7a8798; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.admin-body .phone-news { display: grid; gap: 5px; padding: 7px 0; }
.admin-body .phone-news i { height: 34px; border-bottom: 1px solid #e6eaf0; background: #f8fafc; }
.admin-body .map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 12px; color: #667085; font-size: 10px; font-weight: 750; }
.admin-body .map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.admin-body .online, .admin-body .offline { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; }
.admin-body .offline { background: #98a2b3; }
.admin-body .ad-map-side { display: grid; gap: 14px; position: sticky; top: 78px; }
.admin-body .placement-detail { padding: 18px; }
.admin-body .placement-detail .section-kicker { color: #155eef; font-size: 10px; font-weight: 950; text-transform: uppercase; }
.admin-body .placement-detail h2 { margin: 5px 0 5px; color: #101828; font-size: 19px; }
.admin-body .placement-detail > p { margin: 0 0 13px; color: #667085; font-size: 12px; }
.admin-body .placement-detail dl { margin: 0; }
.admin-body .placement-detail dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #edf0f4; }
.admin-body .placement-detail dt { color: #667085; font-size: 11px; }
.admin-body .placement-detail dd { margin: 0; color: #101828; font-size: 11px; font-weight: 900; text-align: right; }
.admin-body .placement-status { display: flex; align-items: center; gap: 12px; margin: 10px 0 14px; padding: 12px; border: 1px solid #e5eaf1; border-radius: 7px; background: #fbfcfe; }
.admin-body .placement-status span { flex: 1; }
.admin-body .placement-status b, .admin-body .placement-status small { display: block; }
.admin-body .placement-status b { color: #101828; font-size: 11px; }
.admin-body .placement-status small { margin-top: 3px; color: #667085; font-size: 9px; line-height: 1.35; }
.admin-body .placement-status input { width: 34px; height: 19px; accent-color: #155eef; }
.admin-body .placement-detail > .primary { width: 100%; }
.admin-body .placement-directory { padding: 14px; }
.admin-body .placement-directory > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.admin-body .placement-directory > header h2 { margin: 0; font-size: 15px; }
.admin-body .placement-directory > header span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eef4ff; color: #155eef; font-size: 10px; font-weight: 950; }
.admin-body .placement-list-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; min-height: 52px; padding: 8px 6px; border: 0; border-top: 1px solid #edf0f4; border-radius: 0; background: transparent; box-shadow: none; text-align: left; }
.admin-body .placement-list-row:hover, .admin-body .placement-list-row.active { background: #f5f8ff; }
.admin-body .placement-list-row b, .admin-body .placement-list-row small { display: block; }
.admin-body .placement-list-row b { color: #101828; font-size: 11px; line-height: 1.25; }
.admin-body .placement-list-row small { margin-top: 2px; color: #667085; font-size: 9px; line-height: 1.25; }
.admin-body .placement-list-row em { color: #475467; font-size: 9px; font-style: normal; font-weight: 900; white-space: nowrap; }

@media (max-width: 1280px) {
  .admin-body .ad-map-workspace { grid-template-columns: minmax(0, 1fr); }
  .admin-body .ad-map-side { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .admin-body .ad-map-command { align-items: flex-start; flex-direction: column; }
  .admin-body .ad-map-command .primary { width: 100%; }
  .admin-body .ad-map-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .site-map-card > header { align-items: flex-start; flex-direction: column; }
  .admin-body .desktop-site-grid { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 5px; padding: 6px; }
  .admin-body .desktop-site-grid > aside .site-ad-slot { min-height: 0; }
  .admin-body .site-map-lead { grid-template-columns: minmax(0, 1fr) 92px; gap: 5px; }
  .admin-body .site-map-content { grid-template-columns: minmax(0, 1fr); }
  .admin-body .site-map-content > aside { grid-template-columns: 1fr 1fr; }
  .admin-body .site-map-content > aside .site-map-widget { grid-column: 1 / -1; }
  .admin-body .site-map-content > aside .site-ad-slot:last-child { min-height: 0; }
  .admin-body .site-map-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .site-map-bottom-promo { grid-template-columns: 70px minmax(0, 1fr); }
  .admin-body .ad-map-side { grid-template-columns: minmax(0, 1fr); }
}

/* Reference-matched advertisement placement form */
.admin-body .ad-placement-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  align-items: start;
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
}
.admin-body .ad-placement-main,
.admin-body .ad-placement-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.admin-body .ad-placement-page .portal-card {
  border-color: #e5eaf1;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .035);
}
.admin-body .ad-form-section {
  display: grid;
  gap: 15px;
  padding: 18px 20px;
}
.admin-body .ad-form-section h2,
.admin-body .ad-placement-side h2 {
  margin: 0;
  color: #101828;
  font-size: 15px;
  line-height: 1.25;
}
.admin-body .ad-form-section label,
.admin-body .ad-publish-settings > label {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #27364a;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .ad-form-section label > i {
  position: absolute;
  top: 0;
  margin-left: calc(100% + 3px);
  color: #e30613;
  font-style: normal;
}
.admin-body .ad-form-section label > small {
  margin-left: 4px;
  color: #7b8798;
  font-size: 10px;
  font-weight: 700;
}
.admin-body .ad-form-section label > em {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #8994a5;
  font-size: 10px;
  font-style: normal;
}
.admin-body .ad-form-section input,
.admin-body .ad-form-section select,
.admin-body .ad-form-section textarea,
.admin-body .ad-publish-settings select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  background: #fff;
  color: #162033;
  font: inherit;
  font-weight: 750;
  outline: none;
  box-shadow: none;
}
.admin-body .ad-form-section input:focus,
.admin-body .ad-form-section select:focus,
.admin-body .ad-form-section textarea:focus,
.admin-body .ad-publish-settings select:focus {
  border-color: #7ba7ff;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, .1);
}
.admin-body .ad-form-section textarea { resize: vertical; line-height: 1.5; }
.admin-body .ad-field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(230px, .9fr);
  gap: 15px;
  align-items: end;
}
.admin-body .ad-field-grid-three { grid-template-columns: .8fr 1.05fr 1.15fr; }
.admin-body .ad-field-grid-four { grid-template-columns: 1fr 1fr .72fr 1fr; }
.admin-body .ad-device-field {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 18px 0 0;
  border: 0;
}
.admin-body .ad-device-field legend {
  position: absolute;
  padding: 0;
  color: #27364a;
  font-size: 12px;
  font-weight: 850;
  transform: translateY(-20px);
}
.admin-body .ad-device-field label {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.admin-body .ad-device-field input {
  width: 17px;
  min-height: 17px;
  accent-color: #1677ff;
}
.admin-body .ad-material-tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid #e6ebf2;
}
.admin-body .ad-material-tabs button {
  min-height: 38px;
  padding: 0 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #68758a;
  font-size: 12px;
  box-shadow: none;
}
.admin-body .ad-material-tabs button.active {
  border-bottom-color: #1677ff;
  color: #1677ff;
}
.admin-body .ad-material-panel { min-width: 0; }
.admin-body .ad-material-panel[hidden] { display: none; }
.admin-body .ad-material-panel.active { display: grid; gap: 15px; }
.admin-body .ad-material-section .upload-grid { gap: 14px; }
.admin-body .ad-material-section .upload-grid button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-height: 132px;
  padding: 16px;
  border: 1px dashed #c8d2df;
  border-radius: 6px;
  background: #fbfcfe;
  color: #26364b;
  box-shadow: none;
}
.admin-body .ad-material-section .upload-grid button:hover,
.admin-body .ad-material-section .upload-grid button.is-dragging {
  border-color: #1677ff;
  background: #f4f8ff;
}
.admin-body .ad-material-section .upload-grid button.is-complete {
  border-color: #65c998;
  background: #f1fcf6;
}
.admin-body .ad-material-section .upload-grid .lucide-icon {
  width: 22px;
  height: 22px;
  color: #456078;
}
.admin-body .ad-material-section .upload-grid b { font-size: 12px; }
.admin-body .ad-material-section .upload-grid span,
.admin-body .ad-material-section .upload-grid small {
  color: #7a8798;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}
.admin-body .ad-material-section .upload-grid u {
  margin-top: 3px;
  padding: 7px 12px;
  border: 1px solid #dce3ec;
  border-radius: 5px;
  background: #fff;
  color: #243448;
  font-size: 10px;
  text-decoration: none;
}
.admin-body .ad-time-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}
.admin-body .ad-time-range b { color: #8a95a5; font-weight: 700; }
.admin-body .ad-placement-side { position: sticky; top: 76px; }
.admin-body .ad-publish-settings,
.admin-body .ad-stat-card,
.admin-body .ad-help-card {
  display: grid;
  gap: 13px;
  padding: 18px;
}
.admin-body .ad-publish-settings > button { width: 100%; min-height: 40px; }
.admin-body .ad-publish-main { margin-top: 2px; }
.admin-body .ad-switch-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
}
.admin-body .ad-switch-row input {
  appearance: none;
  width: 36px;
  height: 20px;
  margin: 0;
  border-radius: 999px;
  background: #c8d1de;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
  cursor: pointer;
  transition: background .18s ease;
}
.admin-body .ad-switch-row input::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .22);
  transition: transform .18s ease;
}
.admin-body .ad-switch-row input:checked { background: #1677ff; }
.admin-body .ad-switch-row input:checked::before { transform: translateX(16px); }
.admin-body .ad-reference-preview { padding: 18px; }
.admin-body .ad-reference-preview header {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.admin-body .ad-reference-preview header nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid #e6ebf2;
}
.admin-body .ad-reference-preview header nav button {
  min-height: 34px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #68758a;
  box-shadow: none;
}
.admin-body .ad-reference-preview header nav button.active {
  border-bottom-color: #1677ff;
  background: transparent;
  color: #1677ff;
}
.admin-body .ad-reference-preview .ad-preview {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 970 / 250;
  margin: 0;
  border: 1px dashed #c8d2df;
  border-radius: 6px;
  background: #f7f9fc center / contain no-repeat;
  color: #8390a2;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}
.admin-body .ad-reference-preview .ad-preview::before,
.admin-body .ad-reference-preview .ad-preview::after { content: none; }
.admin-body .ad-reference-preview .ad-preview.is-tablet { width: 86%; margin-inline: auto; }
.admin-body .ad-reference-preview .ad-preview.is-mobile { width: 62%; margin-inline: auto; }
.admin-body .ad-reference-preview > small {
  display: block;
  margin-top: 8px;
  color: #8792a2;
  font-size: 10px;
  text-align: right;
}
.admin-body .ad-stat-card h2 small {
  color: #7c8797;
  font-size: 10px;
  font-weight: 700;
}
.admin-body .ad-stat-card dl { display: grid; gap: 0; margin: 0; }
.admin-body .ad-stat-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  color: #59677b;
  font-size: 11px;
}
.admin-body .ad-stat-card dt,
.admin-body .ad-stat-card dd { margin: 0; }
.admin-body .ad-stat-card dd { color: #1e2c40; font-weight: 850; }
.admin-body .ad-help-card p { margin: 0; color: #778397; font-size: 11px; line-height: 1.6; }
.admin-body .ad-help-card button { justify-self: start; min-height: 32px; padding: 0; border: 0; background: transparent; color: #1677ff; box-shadow: none; }
@media (max-width: 1180px) {
  .admin-body .ad-placement-page { grid-template-columns: minmax(0, 1fr) 320px; }
  .admin-body .ad-field-grid-three { grid-template-columns: 1fr 1fr; }
  .admin-body .ad-device-field { grid-column: 1 / -1; }
  .admin-body .ad-field-grid-four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .admin-body .ad-placement-page { grid-template-columns: 1fr; }
  .admin-body .ad-placement-side { position: static; grid-template-columns: 1fr 1fr; }
  .admin-body .ad-publish-settings { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .admin-body .ad-field-grid,
  .admin-body .ad-field-grid-three,
  .admin-body .ad-field-grid-four,
  .admin-body .ad-material-section .upload-grid,
  .admin-body .ad-placement-side { grid-template-columns: 1fr; }
  .admin-body .ad-device-field { align-items: flex-start; flex-direction: column; }
  .admin-body .ad-material-tabs { gap: 14px; overflow-x: auto; }
  .admin-body .ad-material-tabs button { white-space: nowrap; }
}
.admin-body .messages-grid {
  grid-template-columns: 300px minmax(0, 1fr) 250px;
}
.admin-body .messages-grid aside:first-child {
  display: grid;
  align-content: start;
  gap: 8px;
}
.admin-body .messages-grid aside:first-child button {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-items: start;
  min-height: 54px;
  background: #f8fafc;
}
.admin-body .chat-card {
  min-height: 560px;
}
.admin-body .chat-card header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--admin-border);
}
.admin-body .bubble {
  width: fit-content;
  max-width: 56%;
  margin: 18px 0;
  padding: 12px 14px;
  border-radius: 9px;
  background: #f1f5f9;
}
.admin-body .bubble.me {
  margin-left: auto;
  background: #eaf4ff;
}
.admin-body .chat-card footer {
  display: flex;
  gap: 10px;
  margin-top: 120px;
}
.admin-body .messages-premium-page {
  display: grid;
  grid-template-columns: 310px minmax(420px, 1fr) 286px;
  gap: 16px;
  min-height: 690px;
  height: calc(100vh - 150px);
}
.admin-body .messages-premium-page .portal-card { box-shadow: 0 8px 28px rgba(15, 35, 58, .045); }
.admin-body .message-directory,
.admin-body .message-chat { min-width: 0; padding: 0; overflow: hidden; }
.admin-body .message-directory { display: flex; flex-direction: column; }
.admin-body .message-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  margin: 16px 16px 8px;
  min-height: 40px;
  padding-left: 11px;
  border: 1px solid #dce4ee;
  border-radius: 7px;
  background: #fff;
}
.admin-body .message-search > span { display: grid; color: #79869a; }
.admin-body .message-search input { min-width: 0; height: 38px; padding: 0; border: 0; box-shadow: none; font-size: 12px; }
.admin-body .message-search button,
.admin-body .message-chat-header button,
.admin-body .message-composer button,
.admin-body .message-file-row a {
  display: inline-grid;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid #e0e7f0;
  border-radius: 7px;
  background: #fff;
  color: #56647a;
  box-shadow: none;
}
.admin-body .message-search button { width: 38px; height: 38px; border-width: 0 0 0 1px; border-radius: 0 6px 6px 0; }
.admin-body .messages-premium-page .lucide-icon { width: 17px; height: 17px; }
.admin-body .message-tabs { display: grid; grid-template-columns: 1fr 1.25fr .8fr; padding: 0 8px; border-bottom: 1px solid #e7ecf3; }
.admin-body .message-tabs button {
  min-height: 43px;
  padding: 0 6px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #6c788c;
  font-size: 11px;
  box-shadow: none;
}
.admin-body .message-tabs button.active { border-bottom-color: #335cff; color: #2447d8; font-weight: 800; }
.admin-body .message-tabs span { display: inline-grid; min-width: 17px; height: 17px; margin-left: 3px; padding: 0 4px; place-items: center; border-radius: 8px; background: #eef2f8; font-size: 9px; }
.admin-body .message-tabs .active span { background: #355bff; color: #fff; }
.admin-body .message-contact-list { min-height: 0; overflow-y: auto; }
.admin-body .message-contact {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 68px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  border-radius: 0;
  background: #fff;
  color: #1b2638;
  text-align: left;
  box-shadow: none;
}
.admin-body .message-contact:hover { background: #f7f9ff; }
.admin-body .message-contact.active { background: #f0f4ff; }
.admin-body .message-contact[hidden] { display: none; }
.admin-body .message-avatar {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dbe4f0;
  border-radius: 50%;
  background: #e9f1ff;
  color: #2958cd;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}
.admin-body .message-avatar i { position: absolute; right: -1px; bottom: 1px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #aab4c4; }
.admin-body .message-avatar i.online { background: #20be78; }
.admin-body .message-contact-copy { display: grid; min-width: 0; gap: 3px; }
.admin-body .message-contact-copy b { overflow: hidden; color: #152034; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .message-contact-copy small { overflow: hidden; color: #7b8799; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .message-contact-meta { display: grid; justify-items: end; gap: 8px; align-self: stretch; }
.admin-body .message-contact-meta time { color: #7a8799; font-size: 9px; }
.admin-body .message-contact-meta em { display: grid; min-width: 18px; height: 18px; padding: 0 5px; place-items: center; border-radius: 9px; background: #355bff; color: #fff; font-size: 9px; font-style: normal; font-weight: 800; }
.admin-body .message-empty-list { padding: 30px 18px; color: #7a8799; text-align: center; font-size: 11px; }
.admin-body .message-chat { display: flex; flex-direction: column; }
.admin-body .message-chat-header { display: flex; min-height: 70px; padding: 12px 16px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7ecf3; }
.admin-body .message-chat-header > div { display: flex; min-width: 0; align-items: center; gap: 10px; }
.admin-body .message-chat-header > div > span:last-child { display: grid; min-width: 0; gap: 3px; }
.admin-body .message-chat-header b { overflow: hidden; color: #111b2d; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .message-chat-header small { color: #23aa70; font-size: 10px; }
.admin-body .message-avatar.large { width: 42px; height: 42px; }
.admin-body .message-chat-header nav { display: flex; gap: 8px; }
.admin-body .message-chat-header button:hover,
.admin-body .message-composer button:hover { border-color: #bfcdf0; color: #284fdd; background: #f6f8ff; }
.admin-body .message-date { position: relative; height: 36px; flex: 0 0 auto; text-align: center; }
.admin-body .message-date::before { content: ""; position: absolute; top: 50%; right: 18px; left: 18px; height: 1px; background: #edf1f5; }
.admin-body .message-date span { position: relative; top: 9px; padding: 0 10px; background: #fff; color: #8a95a7; font-size: 9px; }
.admin-body .message-thread { min-height: 0; flex: 1; padding: 10px 20px 18px; overflow-y: auto; }
.admin-body .message-bubble-row { display: flex; align-items: flex-end; gap: 8px; margin: 12px 0; }
.admin-body .message-bubble-row.out { justify-content: flex-end; }
.admin-body .message-mini-avatar { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #edf2ff; color: #3352be; font-size: 8px; font-weight: 850; }
.admin-body .message-bubble { position: relative; max-width: min(70%, 510px); padding: 10px 13px 8px; border-radius: 7px; background: #f1f4f8; color: #263247; }
.admin-body .message-bubble-row.out .message-bubble { background: #e8f1ff; }
.admin-body .message-bubble p { margin: 0 0 4px; font-size: 11px; line-height: 1.55; white-space: pre-wrap; }
.admin-body .message-bubble time { display: block; color: #8a95a6; font-size: 8px; text-align: right; }
.admin-body .message-bubble > button { position: absolute; top: -8px; right: -8px; display: none; width: 20px; height: 20px; min-height: 20px; padding: 0; border: 1px solid #dfe6ef; border-radius: 50%; background: #fff; color: #8a95a6; box-shadow: 0 2px 8px rgba(20, 35, 60, .1); }
.admin-body .message-bubble:hover > button { display: grid; place-items: center; }
.admin-body .message-file-bubble { display: flex; min-width: 190px; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.admin-body .message-file-bubble > svg { flex: 0 0 auto; }
.admin-body .message-file-bubble span { display: grid; gap: 2px; }
.admin-body .message-file-bubble b { font-size: 10px; }
.admin-body .message-file-bubble small { color: #7d899a; font-size: 9px; }
.admin-body .message-empty-chat { display: grid; height: 100%; place-content: center; justify-items: center; color: #8894a6; text-align: center; }
.admin-body .message-empty-chat > svg { width: 30px; height: 30px; margin-bottom: 9px; color: #9badca; }
.admin-body .message-empty-chat h3 { margin: 0 0 5px; color: #334155; font-size: 13px; }
.admin-body .message-empty-chat p { margin: 0; font-size: 10px; }
.admin-body .message-composer { margin: 0 16px 14px; padding: 8px 10px; border: 1px solid #dfe6ef; border-radius: 7px; background: #fff; }
.admin-body .message-composer textarea { width: 100%; min-height: 36px; max-height: 92px; padding: 5px 2px; resize: vertical; border: 0; box-shadow: none; font-size: 11px; }
.admin-body .message-composer > div { display: flex; align-items: center; justify-content: space-between; }
.admin-body .message-composer > div > span { display: flex; gap: 3px; }
.admin-body .message-composer button { width: 31px; height: 31px; min-height: 31px; border-color: transparent; }
.admin-body .message-composer .message-send { width: 38px; height: 34px; border: 0; background: #3156f5; color: #fff; box-shadow: 0 5px 12px rgba(49, 86, 245, .2); }
.admin-body .message-details { min-height: 0; overflow-y: auto; }
.admin-body .message-details > * + * { margin-top: 14px; }
.admin-body .message-profile-card { display: grid; justify-items: center; padding: 20px 18px 15px; text-align: center; }
.admin-body .message-avatar.profile { width: 58px; height: 58px; background: #e7efff; font-size: 14px; }
.admin-body .message-profile-card h2 { margin: 9px 0 2px; color: #162136; font-size: 14px; }
.admin-body .message-profile-card > p { margin: 0; color: #1caf72; font-size: 10px; }
.admin-body .message-profile-card > small { margin-top: 3px; color: #748196; font-size: 10px; }
.admin-body .message-profile-card dl { width: 100%; margin: 16px 0 0; text-align: left; }
.admin-body .message-profile-card dl div { display: flex; min-height: 39px; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #edf1f5; }
.admin-body .message-profile-card dt { color: #7a8799; font-size: 9px; }
.admin-body .message-profile-card dd { margin: 0; overflow: hidden; color: #243047; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .message-profile-card dd em { padding: 3px 7px; border-radius: 5px; background: #dcf7e9; color: #148757; font-style: normal; }
.admin-body .message-files-card,
.admin-body .message-note-card { padding: 16px; }
.admin-body .message-files-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.admin-body .message-files-card h2,
.admin-body .message-note-card h2 { margin: 0; color: #1b263a; font-size: 12px; }
.admin-body .message-files-card header span { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 10px; background: #eef2f8; color: #67758a; font-size: 9px; }
.admin-body .message-file-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 30px; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #edf1f5; }
.admin-body .message-file-row > svg { width: 27px; height: 27px; padding: 6px; border-radius: 5px; background: #eef3ff; color: #3156dd; }
.admin-body .message-file-row span { display: grid; min-width: 0; gap: 2px; }
.admin-body .message-file-row b { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .message-file-row small { color: #8591a2; font-size: 8px; }
.admin-body .message-file-row a { width: 29px; height: 29px; min-height: 29px; }
.admin-body .message-empty-files { margin: 10px 0 0; color: #8995a7; font-size: 9px; line-height: 1.5; }
.admin-body .message-note-card textarea { width: 100%; margin-top: 10px; padding: 9px; resize: vertical; border-color: #e0e6ef; font-size: 10px; }
.admin-body .message-note-card button { min-height: 31px; margin-top: 7px; padding: 0; border: 0; background: transparent; color: #3156dd; box-shadow: none; font-size: 10px; }
.admin-body .message-archive-button { display: flex; width: 100%; min-height: 38px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #f0a6ad; background: #fff; color: #d52536; box-shadow: none; font-size: 10px; }
@media (max-width: 1250px) {
  .admin-body .messages-premium-page { grid-template-columns: 280px minmax(400px, 1fr) 250px; }
}
@media (max-width: 1080px) {
  .admin-body .messages-premium-page { height: auto; grid-template-columns: 275px minmax(0, 1fr); }
  .admin-body .message-directory,
  .admin-body .message-chat { height: 680px; }
  .admin-body .message-details { display: grid; grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; overflow: visible; }
  .admin-body .message-details > * + * { margin-top: 0; }
  .admin-body .message-archive-button { align-self: end; }
}
@media (max-width: 720px) {
  .admin-body .messages-premium-page { display: block; min-height: 0; }
  .admin-body .message-directory { height: auto; max-height: 390px; margin-bottom: 14px; }
  .admin-body .message-chat { height: 620px; }
  .admin-body .message-details { display: grid; grid-template-columns: 1fr; margin-top: 14px; }
  .admin-body .message-details > * + * { margin-top: 0; }
  .admin-body .message-bubble { max-width: 84%; }
  .admin-body .message-bubble-row.out .message-bubble > button { display: grid; place-items: center; }
}
.admin-body .roles-grid {
  grid-template-columns: 300px minmax(0, 1fr) 260px;
}
.admin-body .roles-grid aside:first-child {
  display: grid;
  align-content: start;
  gap: 9px;
}
.admin-body .roles-grid aside:first-child button {
  justify-content: space-between;
  background: #fff;
}
.admin-body .roles-grid aside:first-child button.active {
  border-color: rgba(80,60,243,.22);
  background: #f3f1ff;
  color: #312e81;
}
.admin-body .permission-table {
  display: grid;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  overflow: hidden;
}
.admin-body .permission-table label {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, .9fr);
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .settings-grid,
.admin-body .profile-grid,
.admin-body .ad-editor-grid,
.admin-body .category-admin-grid {
  gap: 16px;
}
.admin-body .profile-photo {
  border: 1px solid var(--admin-border);
  background: linear-gradient(145deg, #eaf4ff, #f6f8fb);
  color: var(--admin-blue);
  font-size: 48px;
}
.admin-body .admin-toast {
  border-radius: 10px;
  background: #071326;
  box-shadow: 0 18px 44px rgba(7,19,38,.24);
}

.admin-body .editor-settings-column > *,
.admin-body .editor-action-column > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.admin-body .editor-settings-column input,
.admin-body .editor-settings-column select,
.admin-body .editor-settings-column textarea,
.admin-body .editor-settings-column button,
.admin-body .editor-action-column input,
.admin-body .editor-action-column select,
.admin-body .editor-action-column textarea,
.admin-body .editor-action-column button {
  min-width: 0;
  max-width: 100%;
}

.admin-body .editor-control-column {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  position: sticky;
  top: 76px;
}
.admin-body .editor-control-column > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.admin-body .editor-control-column input,
.admin-body .editor-control-column select,
.admin-body .editor-control-column textarea,
.admin-body .editor-control-column button {
  min-width: 0;
  max-width: 100%;
}
.admin-body .editor-control-column label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.admin-body .editor-control-column .check-line,
.admin-body .editor-control-column .switch-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1281px) and (max-width: 1499px) {
  .admin-body .portal-app { grid-template-columns: 200px minmax(0, 1fr); }
  .admin-body .portal-content { padding: 18px 16px 30px; }
  .admin-body .portal-brand strong { font-size: 23px; }
  .admin-body .portal-search { width: 190px; }
  .admin-body .portal-tools .portal-user { width: 146px; max-width: 146px; }
  .admin-body .portal-user span,
  .admin-body .portal-user small { max-width: 78px; }
  .admin-body .editor-pro-layout {
    grid-template-columns: minmax(620px, 1fr) 390px;
    gap: 16px;
  }
  .admin-body .editor-control-column {
    gap: 14px;
    position: sticky;
    top: 76px;
  }
  .admin-body .editor-form-pro { padding: 14px; }
  .admin-body .portal-card input,
  .admin-body .portal-card select,
  .admin-body .portal-card textarea {
    min-width: 0;
    max-width: 100%;
  }
  .admin-body .editor-side-card,
  .admin-body .publish-card,
  .admin-body .publish-meta-card,
  .admin-body .editor-readiness-card,
  .admin-body .editor-preview-card { padding: 14px; border-radius: 9px; }
  .admin-body .publish-card {
    gap: 8px;
  }
  .admin-body .publish-card button {
    min-height: 34px;
  }
  .admin-body .publish-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-body .publish-card h2,
  .admin-body .publish-card .publish-split,
  .admin-body .publish-card .danger { grid-column: 1; }
  .admin-body .editor-form-pro .rich-editor {
    min-height: 500px;
  }
  .admin-body .editor-side-card label { gap: 7px; }
  .admin-body .editor-side-card input,
  .admin-body .editor-side-card select { min-height: 38px; }
  .admin-body .main-image-preview { min-height: 136px; }
  .admin-body .file-pill { grid-template-columns: 28px minmax(0, 1fr) 26px; }
  .admin-body .editor-preview-card .preview-image { min-height: 118px; }
  .admin-body .portal-card h2 { font-size: 15px; }
  .admin-body .form-grid.headline-row { grid-template-columns: minmax(0, 210px); }
  .admin-body .pro-toolbar button,
  .admin-body .pro-toolbar select { padding: 0 7px; }
  .admin-body .filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-body .user-workspace { grid-template-columns: minmax(0, 1fr) 300px; }
  .admin-body .user-row-card { grid-template-columns: 42px minmax(180px, 1fr) 130px 86px; }
  .admin-body .role-premium-page { grid-template-columns: 260px minmax(0, 1fr); }
  .admin-body .role-side-stack { grid-column: 2; position: static; }
}

@media (max-width: 1280px) {
  .admin-body .portal-app { grid-template-columns: 214px minmax(0, 1fr); }
  .admin-body .portal-brand strong { font-size: 24px; }
  .admin-body .portal-search { width: 210px; }
  .admin-body .portal-tools .portal-user { width: 152px; max-width: 152px; }
  .admin-body .portal-user span,
  .admin-body .portal-user small { max-width: 84px; }
  .admin-body .editor-pro-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-body .editor-control-column { grid-column: auto; position: static; }
  .admin-body .filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-body .user-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .user-workspace,
  .admin-body .role-premium-page { grid-template-columns: minmax(0, 1fr); }
  .admin-body .user-edit-panel,
  .admin-body .role-side-stack { position: static; }
  .admin-body .users-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .user-row-card { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .admin-body .user-row-card p,
  .admin-body .user-row-card nav { grid-column: 2 / -1; justify-content: flex-start; }
  .admin-body .permission-table.premium label { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

@media (min-width: 1500px) {
  .admin-body .editor-pro-layout {
    grid-template-columns: minmax(760px, 1fr) minmax(390px, 430px);
    gap: 18px;
  }
  .admin-body .portal-content { padding: 22px 28px 34px; }
  .admin-body .editor-image-block { width: min(100%, 430px); }
  .admin-body .editor-social-embed,
  .admin-body .editor-audio-chip { width: min(100%, 520px); }
}

.admin-body .editor-pro-layout {
  align-items: start;
}
.admin-body .editor-form-pro,
.admin-body .editor-control-column .portal-card {
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .045);
}
.admin-body .editor-form-pro {
  gap: 15px;
  padding: 20px;
}
.admin-body .editor-form-pro > h2,
.admin-body .editor-control-column h2 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f6;
  font-size: 16px;
  line-height: 1.15;
}
.admin-body .editor-form-pro label,
.admin-body .editor-control-column label {
  color: #1f2937;
  font-size: 12px;
  font-weight: 880;
}
.admin-body .editor-title-field input {
  min-height: 44px;
  font-size: 14px;
  font-weight: 760;
}
.admin-body .pro-toolbar {
  gap: 5px;
  padding: 7px 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.admin-body .pro-toolbar button,
.admin-body .pro-toolbar select {
  flex: 0 0 auto;
  white-space: nowrap;
}
.admin-body .pro-toolbar .insert-toggle {
  min-width: 78px;
}
.admin-body .editor-control-column {
  gap: 12px;
}
.admin-body .editor-control-column .portal-card {
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}
.admin-body .editor-control-column .portal-card + .portal-card {
  margin-top: 0;
}
.admin-body .editor-control-column input,
.admin-body .editor-control-column select {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}
.admin-body .editor-control-column small,
.admin-body .editor-control-column p {
  line-height: 1.45;
}
.admin-body .publish-card {
  gap: 9px;
}
.admin-body .publish-card .publish-split button {
  min-height: 42px;
}
.admin-body .publish-card > button {
  min-height: 38px;
}
.admin-body .check-line,
.admin-body .switch-line {
  min-height: 36px;
  padding: 0 2px;
}
.admin-body .main-image-preview {
  min-height: 156px;
}
.admin-body .file-pill {
  border-radius: 10px;
}
.admin-body .audio-upload-card { gap: 10px; }
.admin-body .audio-upload-button { display: grid; min-height: 38px; place-items: center; border: 1px solid #cad7e8; border-radius: 8px; background: #f5f8fc; color: #2458b8; font-size: 11px; font-weight: 850; cursor: pointer; transition: border-color .16s ease, background .16s ease; }
.admin-body .audio-upload-button:hover { border-color: #1769e0; background: #eef5ff; }
.admin-body .audio-upload-card > small { color: #7a8496; font-size: 9px; line-height: 1.45; }
.admin-body .readiness-list span {
  min-height: 34px;
}
.admin-body .editor-preview-card article {
  gap: 10px;
}
.admin-body .editor-preview-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.admin-body .portal-tools .portal-user {
  align-items: center;
}
.admin-body .media-page,
.admin-body .users-page,
.admin-body .trash-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}
.admin-body .media-library header,
.admin-body .users-page header,
.admin-body .trash-table-card header {
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .media-library header p,
.admin-body .users-page header p {
  margin: 5px 0 0;
  color: #6b7788;
  font-size: 13px;
  font-weight: 700;
}
.admin-body .media-filter {
  grid-template-columns: minmax(220px, 1fr) 190px 180px;
  margin: 0 0 16px;
}
.admin-body .media-grid {
  grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
  gap: 14px;
}
.admin-body .media-grid article {
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .035);
}
.admin-body .media-grid article > div {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.admin-body .media-grid article > div i {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(7, 16, 31, .78);
  color: #fff;
  font-style: normal;
  font-weight: 950;
  backdrop-filter: blur(8px);
}
.admin-body .media-grid nav {
  display: grid;
  grid-template-columns: 1fr 1fr 40px;
}
.admin-body .media-side ul,
.admin-body .trash-aside ul {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
  color: #647084;
  font-size: 13px;
  font-weight: 750;
}
.admin-body .trash-aside li {
  display: flex;
  justify-content: space-between;
}
.admin-body .trash-media-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 54px;
  border-radius: 8px;
  background: #eef4ff;
  color: #1769e0;
}
.admin-body .trash-media-icon svg {
  width: 25px;
  height: 25px;
}
.admin-body .trash-type {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid #dce6f3;
  border-radius: 7px;
  background: #f7f9fc;
  color: #334155;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .users-filter {
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
}
.admin-body .user-list article {
  min-height: 84px;
  border-radius: 12px;
}
.admin-body .user-list article p {
  margin: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .user-list article button {
  grid-row: span 2;
  min-height: 34px;
}
.admin-body .roles-list {
  display: grid;
  gap: 10px;
}
.admin-body .roles-list header {
  margin: 0;
}
.admin-body .roles-list header span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f39f6;
  font-size: 12px;
  font-weight: 950;
}
.admin-body .roles-list > button:not(.primary) {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 24px;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 62px;
  padding: 10px;
  text-align: left;
  background: #fff;
}
.admin-body .roles-list > button i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1677ff;
  font-style: normal;
}
.admin-body .roles-list > button b,
.admin-body .roles-list > button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .roles-list > button em {
  grid-row: 1 / 3;
  font-style: normal;
}
.admin-body .role-permissions header em {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eee9ff;
  color: #4f39f6;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}
.admin-body .role-permissions nav,
.admin-body .settings-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
}
.admin-body .role-permissions nav button,
.admin-body .settings-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.admin-body .role-permissions nav button.active,
.admin-body .settings-tabs button.active {
  color: #1677ff;
  border-bottom-color: #1677ff;
}
.admin-body .role-permissions footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.admin-body .role-summary p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .settings-main-card {
  display: grid;
  gap: 14px;
}
.admin-body .settings-aside {
  display: grid;
  gap: 18px;
}
.admin-body .logo-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid #e4e9f1;
  border-radius: 10px;
  background: #fbfcff;
}
.admin-body .logo-settings b {
  color: #071326;
  font-size: 22px;
}
.admin-body .logo-settings b::first-letter {
  color: #ef2336;
}
.admin-body .logo-settings.compact {
  min-height: 58px;
}
.admin-body .logo-settings.compact b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #071326;
  color: #ef2336;
  font-size: 16px;
}
.admin-body .trash-table-card header > div {
  display: flex;
  gap: 10px;
}
.admin-body .trash-table-card header input {
  width: 250px;
}

@media (max-width: 1280px) {
  .admin-body .media-page,
  .admin-body .users-page,
  .admin-body .trash-layout,
  .admin-body .settings-grid,
  .admin-body .roles-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-body .media-filter,
  .admin-body .users-filter {
    grid-template-columns: minmax(0, 1fr);
  }
}

.page-shell {
  position: relative;
  width: min(100% - 12px, 1536px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(92px, 124px) minmax(0, 1240px) minmax(92px, 124px);
  gap: 24px;
  align-items: start;
}
.page-shell.article-shell { grid-template-columns: minmax(92px, 124px) minmax(0, 1240px) minmax(92px, 124px); }
.page-shell.tv-shell { width: min(100% - 52px, 1620px); grid-template-columns: minmax(0, 1fr); }
.page-shell.ads-shell { width: min(100% - 40px, 1320px); grid-template-columns: minmax(0, 1fr); }
.web-main { width: 100%; min-width: 0; margin: 0 auto; padding: 10px 0 64px; }
.side-rail { width: 100%; min-width: 0; padding-top: 8px; }
.side-rail.left { padding-left: 0; }
.side-rail.right { padding-right: 0; justify-self: end; }
.skyscraper { width: 100%; max-width: 124px; aspect-ratio: 124 / 552; height: auto; border-radius: 6px; background: url("../assets/web-side-pronet.jpg") center / cover no-repeat; box-shadow: 0 16px 34px rgba(7, 16, 31, .08); }
.side-card { margin-top: 24px; padding: 22px 18px; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(7, 16, 31, .06); }
.side-card h3 { margin: 0 0 16px; font-size: 14px; text-transform: uppercase; }
.side-card button { display: block; width: 100%; padding: 8px 0; text-align: left; color: #202938; }
.side-card a { display: block; width: 100%; padding: 8px 0; text-align: left; color: #202938; }
.cats button { border-bottom: 1px solid #f0f2f5; font-size: 14px; line-height: 1.25; }
.cats a { border-bottom: 1px solid #f0f2f5; font-size: 14px; line-height: 1.25; }
.cats button:last-child { border-bottom: 0; }

.home-grid { display: grid; grid-template-columns: minmax(0, 900px) minmax(280px, 310px); gap: 24px; align-items: stretch; }
.home-lead { display: grid; gap: 14px; min-width: 0; }
.hero-desktop { position: relative; display: block; height: 370px; overflow: hidden; border-radius: 8px; background: url("../assets/web-article-rain.jpg") center / cover no-repeat; color: #fff; box-shadow: 0 18px 42px rgba(7, 16, 31, .12); }
.hero-desktop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(0,0,0,.9)); }
.hero-copy { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 26px; display: grid; justify-items: start; gap: 12px; }
.hero-copy span, .badge, .card-img b, .compact-card span { display: inline-flex; padding: 5px 9px; border-radius: 3px; background: var(--red); color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.hero-copy h1 { display: -webkit-box; max-width: 850px; margin: 0; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 25px; line-height: 1.16; text-shadow: 0 2px 12px rgba(0,0,0,.36); }
.hero-copy h1.title-sm { font-size: 22px; line-height: 1.13; }
.hero-copy h1.title-xs { font-size: 19px; line-height: 1.12; }
.hero-copy p { display: none; }
.hero-copy button { min-height: 36px; padding: 0 16px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 900; text-transform: uppercase; }
.hero-copy b { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 900; text-transform: uppercase; }
.hero-arrow { position: absolute; z-index: 3; top: 44%; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; font-size: 34px; }
.hero-arrow.left { left: 16px; } .hero-arrow.right { right: 16px; }

.popular-panel { padding: 18px; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(7, 16, 31, .06); }
.popular-panel.dark { background: #07101f; color: #fff; }
.home-grid .popular-panel { height: 449px; overflow: hidden; }
.popular-panel h2, .weather-panel h2 { margin: 0 0 18px; font-size: 18px; text-transform: uppercase; }
.popular-item { display: grid; grid-template-columns: 28px 82px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 72px; padding: 10px 0; border-bottom: 1px solid rgba(128,139,153,.22); }
.popular-item > b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; background: var(--red); color: #fff; font-size: 14px; font-weight: 950; line-height: 1; }
.pop-img,
.popular-img { height: 58px; border-radius: 4px; background-size: cover; background-position: center; }
.popular-img.remote { background-image: url("../assets/popular-remote.jpg"); }
.popular-img.bank { background-image: url("../assets/web-card-bank.jpg"); }
.popular-img.flags { background-image: url("../assets/web-card-flags.jpg"); }
.popular-img.traffic { background-image: url("../assets/web-card-traffic.jpg"); }
.popular-img.gas { background-image: url("../assets/web-card-gas.jpg"); }
.popular-panel h3 { margin: 0; font-size: 14px; line-height: 1.28; }
.popular-panel small, .popular-panel time { margin-right: 16px; color: #8d96a4; font-size: 11px; }
.home-grid .popular-item { padding: 9px 0; }
.home-grid .popular-img { height: 58px; }
.popular-panel h3,
.compact-card h3,
.card-body h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-wrap: pretty;
}
.popular-panel h3.title-sm,
.compact-card h3.title-sm,
.card-body h2.title-sm { font-size: 12px; line-height: 1.25; }
.popular-panel h3.title-xs,
.compact-card h3.title-xs,
.card-body h2.title-xs { font-size: 11px; line-height: 1.2; }
.all-popular { width: 100%; height: 36px; margin-top: 12px; border-radius: 4px; background: #fff3f4; color: var(--red); font-weight: 900; text-transform: uppercase; }
.home-grid .all-popular { height: 34px; margin-top: 10px; }

.wide-ad { border-radius: 8px; background-size: cover; background-position: center; box-shadow: 0 10px 24px rgba(7, 16, 31, .06); }
.wide-ad.kontakt { width: 100%; height: 65px; margin: 0; background-image: url("../assets/web-kontakt.jpg"); }
.wide-ad.bank-blue { height: 85px; margin-top: 14px; background-image: url("../assets/web-bank-blue.jpg"); }
.small-ad { border-radius: 8px; background-size: cover; background-position: center; box-shadow: 0 10px 24px rgba(7, 16, 31, .06); }
.bank-small { height: 179px; background-image: url("../assets/web-bank-small.jpg"); }
.side-fill-ad { position: relative; display: grid; align-content: end; min-height: 360px; height: 100%; overflow: hidden; padding: 22px; border-radius: 8px; color: #fff; background: linear-gradient(160deg, #1b2a44, #07101f); box-shadow: 0 18px 42px rgba(7, 16, 31, .12); }
.side-fill-ad span { position: absolute; top: 14px; left: 14px; padding: 4px 8px; border-radius: 3px; background: rgba(255,255,255,.14); color: #d7dde8; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.side-fill-ad strong { font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.side-fill-ad small { margin-top: 7px; color: #d7dde8; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.side-fill-ad .ad-offer-link { justify-self: start; margin-top: 16px; padding: 10px 16px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; text-transform: uppercase; }

.content-row { display: grid; grid-template-columns: minmax(0, 900px) minmax(280px, 310px); gap: 24px; align-items: stretch; margin-top: 14px; }
.left-stack, .right-stack { display: grid; gap: 14px; align-content: start; }
.right-stack { grid-template-rows: auto auto minmax(360px, 1fr); }
.weather-panel { padding: 20px; border-radius: 8px; background: #07101f; color: #fff; box-shadow: 0 16px 36px rgba(7, 16, 31, .14); }
.weather-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.weather-panel > header h2 { margin: 0; }
.weather-panel > header button { width: auto; height: 28px; margin: 0; padding: 0 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; background: rgba(255,255,255,.08); color: #fff; font-size: 9px; font-weight: 850; text-transform: none; cursor: pointer; }
.weather-panel > header button:hover { background: rgba(255,255,255,.15); }
.weather-panel > header button:disabled { cursor: wait; opacity: .58; }
.weather-panel p { color: #c5ccd6; }
.weather-now { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin: 18px 0; }
.weather-now strong { font-size: 34px; }
.weather-now i { font-size: 38px; font-style: normal; }
.weather-meta, .days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); color: #cbd3df; font-size: 11px; }
.days { grid-template-columns: repeat(4, 1fr); }
.weather-panel .days em { font-style: normal; }
.weather-location-status { display: block; min-height: 14px; margin-top: 6px; color: #aeb8c7; font-size: 9px; line-height: 1.4; }
.weather-panel button { width: 100%; height: 38px; margin-top: 8px; color: #fff; border-top: 1px solid rgba(255,255,255,.12); text-transform: uppercase; }

.section-line { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-bottom: 14px; }
.section-line h2 { flex: 0 0 auto; margin: 0; padding-left: 12px; border-left: 3px solid var(--red); font-size: 18px; text-transform: uppercase; }
.section-line div { display: flex; flex: 1 1 auto; gap: 6px; min-width: 0; overflow: hidden; }
.section-line button { height: 36px; padding: 0 13px; border-radius: 4px; background: var(--soft); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.section-line button.active { background: transparent; color: var(--red); border-radius: 0; box-shadow: inset 0 -3px 0 var(--red); }
.section-line a { display: inline-flex; align-items: center; height: 36px; padding: 0 13px; border-radius: 4px; background: var(--soft); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.section-line a.active { background: transparent; color: var(--red); border-radius: 0; box-shadow: inset 0 -3px 0 var(--red); }
.section-line.category-tabs-only {
  width: 100%;
  gap: 0;
}
.section-line.category-tabs-only div {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-line.category-tabs-only div::-webkit-scrollbar {
  display: none;
}
.section-line.category-tabs-only a {
  flex: 1 0 108px;
  justify-content: center;
}
.latest-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.compact-card { display: block; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 24px rgba(7, 16, 31, .05); }
.compact-img { height: 104px; background-size: cover; background-position: center; }
.compact-card span,
.compact-card time,
.compact-card p { display: none; }
.compact-card h3 {
  margin: 12px 12px 14px;
  min-height: 88px;
  font-size: 14px;
  line-height: 1.28;
  -webkit-line-clamp: 5;
}
.compact-card h3.title-sm { font-size: 12px; line-height: 1.24; }
.compact-card h3.title-xs { font-size: 11px; line-height: 1.22; }
.more-news-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 12px; padding: 0 18px; border-radius: 5px; background: #fff0f1; color: var(--red); font-size: 13px; font-weight: 950; text-transform: uppercase; }
.home-promo-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 14px; align-items: stretch; margin-top: 14px; }
.home-promo-row .weather-panel { min-height: 170px; padding: 18px; }
.home-promo-row .weather-panel h2 { margin-bottom: 8px; font-size: 15px; }
.home-promo-row .weather-panel p { margin: 0; font-size: 13px; }
.home-promo-row .weather-now { gap: 10px; margin: 12px 0; }
.home-promo-row .weather-now strong { font-size: 28px; }
.home-promo-row .weather-now i { font-size: 30px; }
.home-promo-row .weather-meta { gap: 6px; padding: 10px 0 0; font-size: 10px; }
.home-promo-row .days { display: none; }
.home-promo-row .bank-blue { height: auto; min-height: 170px; margin-top: 0; background-size: cover; }
.rain, .compact-img.rain { background-image: url("../assets/web-card-rain.jpg"); }
.traffic, .compact-img.traffic { background-image: url("../assets/web-card-traffic.jpg"); }
.flags, .compact-img.flags { background-image: url("../assets/web-card-flags.jpg"); }
.gas, .compact-img.gas { background-image: url("../assets/web-card-gas.jpg"); }
.mountain, .compact-img.mountain { background-image: url("../assets/web-card-mountain.jpg"); }
.bank, .compact-img.bank { background-image: url("../assets/web-card-bank.jpg"); }

.authors-panel { padding: 18px; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(7, 16, 31, .06); }
.authors-panel h2 { margin: 0 0 10px; font-size: 18px; text-transform: uppercase; }
.author-item { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 72px; padding: 9px 0; border-bottom: 1px solid rgba(128,139,153,.22); color: inherit; }
.author-item:last-child { border-bottom: 0; }
.author-item span { display: grid; gap: 4px; min-width: 0; }
.author-item h3 { display: -webkit-box; overflow: hidden; margin: 0; font-size: 14px; line-height: 1.28; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.author-item small { overflow: hidden; color: var(--red); font-size: 12px; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.author-item:hover h3 { color: var(--red); }
.author-item.is-skel .pop-img, .author-item.is-skel h3, .author-item.is-skel small { background: #eef1f5; border-radius: 4px; }
.author-item.is-skel h3 { height: 34px; } .author-item.is-skel small { width: 50%; height: 12px; }
.authors-empty { margin: 8px 0; color: var(--muted); font-size: 13px; }
.authors-panel .popular-more { display: block; margin-top: 10px; color: var(--red); font-size: 13px; font-weight: 900; }
.authors-page-list { margin-top: 12px; }

.category-layout, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; padding-top: 20px; }
.article-layout { grid-template-columns: minmax(0, 1fr) 310px; }
.category-main, .article-web { background: #fff; padding: 24px; border-radius: 8px; box-shadow: 0 12px 30px rgba(7, 16, 31, .05); }
.breadcrumbs { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.category-main h1 { margin: 0 0 20px; font-size: 25px; }
.category-filters { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.category-filters button, .category-filters select { height: 36px; padding: 0 14px; border: 0; border-radius: 4px; background: #fff; font-weight: 800; text-transform: uppercase; }
.category-filters button.active { background: var(--red); color: #fff; }
.category-filters select { margin-left: auto; border: 1px solid var(--line); color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.news-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(7, 16, 31, .045); }
.card-img { position: relative; height: 176px; background-size: cover; background-position: center; }
.card-img span { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 11px; }
.card-img b { position: absolute; right: 12px; bottom: 8px; }
.card-body { padding: 14px; }
.card-body h2 { margin: 0 0 12px; min-height: 66px; font-size: 17px; line-height: 1.3; }
.card-body p { display: none; }
.card-body footer { display: flex; gap: 28px; color: var(--muted); font-size: 12px; }
.card-body footer i { margin-left: auto; color: #9ba3af; font-style: normal; }

.article-share, .article-right, .category-right { display: grid; gap: 14px; align-content: start; }
.article-web h1 { margin: 16px 0 10px; font-size: 30px; line-height: 1.35; }
.article-web .lead { margin: 0 0 20px; color: #303947; font-weight: 800; }
.web-article-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.article-tools { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.tts-button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border: 1px solid rgba(227, 6, 19, .28); border-radius: 7px; background: #fff4f5; color: var(--red); font-size: 12px; font-weight: 900; }
.tts-button .icon { width: 17px; height: 17px; }
.tts-button.active { background: var(--red); color: #fff; }
.tts-button:disabled { opacity: .62; }
.article-actions { display: inline-flex; gap: 6px; }
.article-actions button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-weight: 900; }
.article-actions .font-small { font-size: 12px; }
.article-actions .font-medium { font-size: 16px; }
.article-actions .font-large { font-size: 18px; }
.article-actions .font-control.active { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(227, 6, 19, .18); }
.article-actions .font-control:disabled { opacity: .42; }
.tts-status { margin: 8px 0 8px; color: var(--muted); font-size: 12px; font-weight: 800; }
.article-web audio[data-tts-audio] { display: none; width: 100%; margin: 0 0 14px; }
.article-web audio[data-tts-audio][src] { display: none; }
.author-line { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--muted); }
.author-line img { width: 42px; }
.article-image-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 6px; color: #6d7582; font-size: 13px; line-height: 1; font-weight: 900; }
.article-image-meta time,
.article-image-meta span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.article-image-meta .icon { width: 17px; height: 17px; color: #8a93a0; }
.article-image,
.article-photo { position: relative; overflow: hidden; }
.article-image > img,
.article-photo > img { position: absolute; top: var(--pan-y, -10%); left: var(--pan-x, -10%); width: 120%; height: 120%; max-width: none; object-fit: cover; }
.article-image { height: 337px; margin: 0 0 14px; border-radius: var(--radius); background: url("../assets/web-article-rain.jpg") center / cover no-repeat; }
.article-audio-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; margin: 0 0 8px; }
.web-audio-panel { display: inline-grid; grid-template-columns: 28px minmax(112px, 170px); align-items: center; gap: 8px; width: auto; max-width: calc(100% - 118px); min-height: 38px; padding: 5px 6px; border: 1px solid rgba(226, 232, 240, .78); border-radius: 10px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 10px rgba(7, 16, 31, .026); }
.article-side-tools { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; min-width: 0; }
.web-audio-panel .tts-button { width: 28px; height: 28px; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 4px 10px rgba(227, 6, 19, .11); }
.web-audio-panel .tts-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.web-audio-panel .tts-button .icon { width: 14px; height: 14px; }
.web-audio-panel .audio-wave { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-width: 96px; height: 20px; color: #253044; opacity: .48; }
.web-audio-panel .audio-wave i { width: 1.5px; height: 5px; border-radius: 999px; background: currentColor; transition: height 80ms linear, opacity 80ms linear; }
.web-audio-panel .audio-wave i:nth-child(2n) { height: 10px; }
.web-audio-panel .audio-wave i:nth-child(3n) { height: 14px; }
.web-audio-panel .audio-wave.is-live { opacity: 1; }
.article-font-tools { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 5px; padding: 5px; border: 1px solid rgba(226, 232, 240, .78); border-radius: 10px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 10px rgba(7, 16, 31, .026); }
.article-font-tools button { width: 28px; height: 28px; border-color: rgba(226, 232, 240, .86); border-radius: 7px; background: rgba(255,255,255,.84); color: #111827; font-size: 11px; box-shadow: none; }
.article-font-tools .font-medium { font-size: 13px; }
.article-font-tools .font-large { font-size: 14px; }
.article-font-tools .font-control.active { border-color: rgba(227, 6, 19, .1); background: var(--red); color: #fff; box-shadow: 0 4px 10px rgba(227, 6, 19, .1); }
.article-author-end { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.article-byline { display: flex; align-items: center; gap: 11px; margin: 22px 0 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-byline-avatar { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.article-byline-initials { display: grid; place-items: center; background: #eef2f7; color: #24324a; font-size: 13px; font-weight: 900; }
.article-byline > span:last-child { display: grid; gap: 2px; }
.article-byline small { color: #7b8492; font-size: 11px; font-weight: 750; }
.article-byline b { color: #111827; font-size: 14px; }
.article-share-panel { display: inline-grid; width: auto; max-width: 100%; margin: 10px 0 17px; padding: 5px; border: 1px solid rgba(226, 232, 240, .78); border-radius: 10px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 10px rgba(7, 16, 31, .026); }
.article-side-tools .article-share-panel { margin: 0; }
.reaction-summary { display: grid; grid-template-columns: 56px 56px 78px; align-items: center; gap: 5px; }
.reaction-pill, .share-drawer summary { display: inline-grid; grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 5px; min-height: 27px; padding: 0 8px; border: 1px solid rgba(226, 232, 240, .82); border-radius: 8px; background: rgba(255,255,255,.88); color: #111827; font-size: 11px; font-weight: 780; box-shadow: none; }
.reaction-pill[data-reaction="like"].active { border-color: rgba(22, 163, 74, .22); background: #f2fbf6; color: #119b53; }
.reaction-pill[data-reaction="dislike"].active { border-color: rgba(227, 6, 19, .22); background: #fff5f6; color: var(--red); }
.reaction-summary .share-icon, .share-choice .share-icon { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.reaction-pill > span { display: none; }
.reaction-summary strong { color: #64748b; font-size: 11px; font-weight: 780; }
.share-drawer { position: relative; min-width: 0; }
.share-drawer summary { grid-template-columns: auto auto; min-width: 0; padding: 0 9px; color: #fff; background: var(--red); border-color: rgba(227,6,19,.12); cursor: pointer; list-style: none; box-shadow: 0 4px 10px rgba(227, 6, 19, .1); }
.share-drawer summary::-webkit-details-marker { display: none; }
.share-drawer[open] { grid-column: 1 / -1; }
.share-drawer[open] summary { width: max-content; margin-left: auto; }
.share-sheet { display: grid; gap: 8px; margin-top: 8px; padding: 11px; border-radius: 12px; background: #07101f; color: #fff; box-shadow: 0 12px 22px rgba(7, 16, 31, .16); }
.share-sheet > p { margin: 0 0 2px; color: rgba(255,255,255,.62); font-size: 12px; font-weight: 800; }
.share-platform { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.1); }
.share-platform:first-of-type { border-top: 0; padding-top: 0; }
.share-platform > b { color: rgba(255,255,255,.9); font-size: 12px; font-weight: 950; }
.share-platform > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.share-choice { display: inline-grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 31px; padding: 0 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.065); color: #fff; font-size: 11px; font-weight: 820; text-decoration: none; }
.share-choice .share-icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; }
.share-choice.whatsapp .share-icon { background: #25d366; color: #fff; }
.share-choice.instagram .share-icon { background: #e1306c; color: #fff; }
.share-choice.facebook .share-icon { background: #1877f2; color: #fff; }
.share-choice.telegram .share-icon { background: #229ed9; color: #fff; }
.share-choice.copy .share-icon { background: #e30613; color: #fff; }
.share-choice span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-icons-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 6px 0 2px; }
.share-icons-row .share-choice { display: inline-flex; grid-template-columns: none; min-height: 0; padding: 0; gap: 0; border: 0; border-radius: 50%; background: none; }
.share-icons-row .share-choice .share-icon { width: 44px; height: 44px; padding: 12px; }
.follow-panel { display: grid; gap: 16px; margin: 22px 0 0; padding: 18px; border: 1px solid rgba(226,232,240,.95); border-radius: 18px; background: linear-gradient(180deg, #fff, #f8fafc); box-shadow: 0 14px 32px rgba(7,16,31,.065); }
.follow-panel h2 { margin: 0; font-size: 18px; line-height: 1.2; text-transform: uppercase; }
.follow-panel p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.follow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.follow-channel { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; min-width: 0; padding: 0 14px 0 9px; border: 1px solid rgba(226,232,240,.95); border-radius: 999px; background: rgba(255,255,255,.88); color: var(--ink); font-size: 13px; font-weight: 900; text-decoration: none; box-shadow: 0 8px 18px rgba(7,16,31,.045); }
.follow-channel .share-icon { flex: 0 0 auto; width: 30px; height: 30px; padding: 7px; border-radius: 50%; color: #fff; fill: none; stroke: currentColor; stroke-width: 2; }
.follow-channel.whatsapp .share-icon { background: linear-gradient(135deg, #25d366, #0b9f48); }
.follow-channel.telegram .share-icon { background: linear-gradient(135deg, #37aee2, #168acd); }
.follow-channel.facebook .share-icon { background: linear-gradient(135deg, #1877f2, #0b56c6); }
.follow-channel span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-web > p, .article-web .cms-article-body, .article-web .cms-article-body p, .article-web .cms-article-body li { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: var(--article-text-size, 16px); line-height: 1.72; }
.article-web blockquote { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: var(--article-text-size, 16px); line-height: 1.7; }
blockquote { margin: 24px 0 0; padding: 24px 32px; border-radius: var(--radius); background: #fff1f2; color: #5b6470; }

.tv-page { display: grid; grid-template-columns: minmax(0, 1fr) 344px 426px; gap: 18px; padding-top: 20px; }
.web-logo-tv { justify-self: start; object-position: left center; }
.tv-left, .tv-right { display: grid; gap: 14px; align-content: start; min-width: 0; }
.tv-middle { display: grid; gap: 14px; align-content: start; min-width: 0; }
.tv-page section, .tv-right .popular-panel, .tv-category-row { border: 1px solid #e9edf4; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(7, 16, 31, .055); }
.tv-player { overflow: hidden; background: #07101f; }
.tv-studio { position: relative; height: 312px; overflow: hidden; background: url("../assets/tv-live-studio.png") center / cover no-repeat; }
.tv-studio::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.08)); }
.tv-intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tv-live-badge { position: absolute; z-index: 2; left: 14px; top: 14px; display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 5px; background: var(--red); color: #fff; font-size: 13px; font-weight: 950; }
.studio-camera, .studio-screen, .studio-desk { display: none; }
.tv-controls { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto auto auto auto; align-items: center; gap: 14px; height: 52px; padding: 0 18px; background: #07101f; color: #fff; }
.tv-controls button { color: #fff; font-size: 22px; font-weight: 900; }
.tv-controls span { height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--red) 0 62%, rgba(255,255,255,.28) 62%); }
.tv-controls b { color: var(--red); font-size: 15px; }
.tv-controls i { width: 0; }
.tv-brand-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 22px 30px; min-height: 128px; }
.tv-brand-icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 16px; background: linear-gradient(180deg, #fff, #f3f6fb); box-shadow: inset 0 0 0 1px #e8edf5; }
.tv-brand-icon b { display: grid; place-items: center; width: 58px; height: 58px; border: 4px solid var(--red); border-radius: 10px; color: var(--red); font-size: 18px; line-height: 1; font-weight: 950; text-align: center; }
.tv-brand-logo { width: 136px; padding: 10px; }
.tv-brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.tv-brand-card h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 24px; line-height: 1.16; }
.tv-brand-card > div > small { display: block; margin-bottom: 8px; color: #697486; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.tv-brand-card h1 > b { font: inherit; }
.tv-brand-card h1 span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 5px; background: var(--red); color: #fff; font-size: 12px; font-weight: 950; }
.tv-brand-card p { margin: 0 0 8px; color: #4f5a6b; font-size: 15px; }
.tv-brand-card .tv-desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-brand-card p b { display: inline-flex; margin-left: 12px; padding: 5px 9px; border-radius: 5px; background: #6d28d9; color: #fff; font-size: 11px; }
.tv-brand-card strong { align-self: start; padding: 9px 13px; border-radius: 6px; background: #fff0f1; color: var(--red); font-size: 13px; white-space: nowrap; }
.tv-social-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; }
.tv-social-card b { font-size: 15px; }
.tv-social-card div { display: flex; gap: 12px; color: #111b2a; font-size: 12px; font-weight: 900; }
.tv-info-card { padding: 26px; min-height: 318px; }
.tv-red-dot { color: var(--red); font-size: 13px; font-weight: 950; }
.tv-info-card h2 { margin: 18px 0 14px; font-size: 27px; }
.tv-info-card p { color: #435066; line-height: 1.65; }
.tv-time { display: flex; align-items: center; gap: 16px; margin: 0 0 10px; }
.tv-time b, .tv-upcoming article b { padding: 5px 9px; border-radius: 5px; background: #6d28d9; color: #fff; font-size: 11px; }
.tv-info-card button { height: 44px; margin: 22px 0 18px; padding: 0 24px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 950; }
.tv-next { padding-top: 14px; border-top: 1px solid #e9edf4; }
.tv-next span { color: #697486; font-weight: 900; }
.tv-next p { margin: 8px 0 0; display: flex; gap: 14px; align-items: center; }
.tv-next i { width: 1px; height: 16px; background: #d7dde8; }
.tv-list-card { padding: 22px; min-height: 386px; }
.tv-list-card > header > b { padding: 5px 8px; border-radius: 5px; background: var(--red); color: #fff; font-size: 10px; }
.tv-video-popular { padding: 18px; }
.tv-video-popular > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tv-video-popular h2 { margin: 0; font-size: 17px; }
.tv-video-popular header span, .tv-interviews header > span { color: var(--red); font-size: 10px; font-weight: 950; }
.tv-video-popular [data-popular-video-news] { display: grid; gap: 10px; }
.tv-video-popular .video-news-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; }
.tv-video-popular .video-news-image { aspect-ratio: 16 / 10; }
.tv-video-popular .video-news-card h3 { font-size: 12px; }
.tv-list-card header, .tv-shows-card header, .tv-interviews header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.tv-list-card h3, .tv-shows-card h3, .tv-interviews h3, .tv-upcoming h3 { margin: 0; font-size: 15px; }
.tv-list-card header button, .tv-shows-card header button, .tv-interviews header button { color: var(--red); font-weight: 850; font-size: 12px; }
.tv-schedule { max-height: 286px; overflow: hidden; padding-right: 6px; }
.tv-schedule article { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 40px; border-bottom: 1px solid #ecf0f5; color: #1d293b; }
.tv-schedule time { color: #07101f; font-weight: 850; }
.tv-schedule b { padding: 4px 7px; border-radius: 4px; background: var(--red); color: #fff; font-size: 10px; }
.tv-upcoming { padding: 16px; min-height: 112px; }
.tv-upcoming article { display: grid; grid-template-columns: 84px 58px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 42px; border-top: 1px solid #edf1f6; }
.tv-thumb { height: 34px; border-radius: 4px; background-size: cover; background-position: center; }
.tv-page .tv-middle-ad {
  min-height: 220px;
  background-image: url("../assets/tv-ad-media-group.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.tv-shows-card { min-height: 270px; padding: 16px; }
.tv-show-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 258px)); justify-content: center; gap: 18px; }
.tv-show-img { position: relative; height: 158px; overflow: hidden; border-radius: 7px; background-color: #07101f; background-size: contain; background-position: center; background-repeat: no-repeat; color: #fff; }
.tv-show-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.38)); }
.tv-show-img b { position: absolute; z-index: 2; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 4px; background: #6d28d9; font-size: 10px; }
.tv-show-img h4 { display: none; }
.tv-show-grid p { margin: 8px 0 0; color: #667085; font-size: 12px; }
.tv-interviews { grid-column: 1 / 4; padding: 16px; }
.tv-latest-videos { grid-column: 1 / 4; }
.tv-latest-videos .video-news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tv-interview-grid .video-news-card { min-width: 0; }
.tv-interview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tv-interviews { width: 100%; max-width: 100%; }
.tv-interviews .video-news-image { aspect-ratio: 16 / 9; }
.tv-interviews .video-news-card > div:last-child { padding: 11px 12px 13px; }
.tv-interviews .video-news-card h3 { margin: 5px 0 0; font-size: 14px; line-height: 1.35; }
.tv-interview-img { position: relative; height: 178px; border-radius: 8px; overflow: hidden; background-size: cover; background-position: center top; }
.tv-interviews h4 { margin: 10px 0 8px; font-size: 15px; line-height: 1.25; }
.tv-interviews p { display: flex; justify-content: space-between; margin: 0; color: #07101f; font-size: 13px; }
.tv-interviews i { display: inline-flex; padding: 5px 8px; border-radius: 5px; background: #fff0f1; color: var(--red); font-style: normal; font-weight: 900; }
.tv-interviews p b { font-weight: 950; }
.tv-ad-block { position: relative; min-height: 286px; overflow: hidden; padding: 26px 30px; border: 1px solid #e6ebf2; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(7,16,31,.055); }
.tv-ad-block span { position: relative; z-index: 2; display: block; margin-bottom: 28px; color: #07101f; font-size: 13px; font-weight: 900; }
.tv-ad-block h2, .tv-ad-block h3, .tv-ad-block p, .tv-ad-block button { position: relative; z-index: 2; }
.tv-ad-block h2 { margin: 0; color: #09235d; font-size: 34px; line-height: 1; font-weight: 950; letter-spacing: .02em; }
.tv-ad-block h3 { margin: 4px 0 24px; color: var(--red); font-size: 21px; font-weight: 950; }
.tv-ad-block p { margin: 0 0 24px; color: #092044; font-size: 18px; line-height: 1.35; font-weight: 950; }
.tv-ad-block button { height: 36px; padding: 0 16px; border-radius: 5px; background: var(--red); color: #fff; font-size: 12px; font-weight: 950; }
.tv-ad-block > * { display: none; }
.tv-right .tv-ad-block.media-group {
  min-height: 330px;
  background-color: #fff;
  background-image: url("../assets/tv-ad-media-group.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.media-group::before, .media-group::after { display: none; }
.tv-right .tv-ad-block.smart-tv {
  min-height: 478px;
  background-color: #fff;
  background-image: url("../assets/tv-ad-smart.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.smart-tv h2 { max-width: 230px; font-size: 25px; line-height: 1.08; }
.smart-tv h2 b { color: var(--red); }
.smart-tv p { max-width: 190px; margin-top: 16px; font-size: 14px; }
.smart-screen { display: none; }
.smart-screen b { color: var(--red); }
.smart-tv button { margin-top: 18px; }
.tv-category-row { grid-column: 1 / 4; display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; margin-top: 0; padding: 10px; }
.tv-category-row button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; border-radius: 7px; background: #fff; color: #111827; font-weight: 850; box-shadow: 0 8px 18px rgba(7, 16, 31, .04); }
.tv-category-row span { font-size: 19px; }
.studio, .tv-thumb.studio, .tv-show-img.studio { background-image: url("../assets/tv-show-gece-debati.png"); }
.report, .tv-thumb.report, .tv-show-img.report { background-image: url("../assets/tv-show-xususi-reportaj.png"); }
.world, .tv-thumb.world, .tv-show-img.world { background-image: url("../assets/tv-show-dunya-panoramasi.png"); }
.economy, .tv-show-img.economy { background-image: linear-gradient(135deg, #0f172a, #1e40af 48%, #334155); }
.interview-man { background-image: url("../assets/tv-interview-iqtisadiyyat.png"); }
.interview-woman { background-image: url("../assets/tv-interview-regional.png"); }
.interview-guest { background-image: url("../assets/tv-interview-enerji.png"); }

.web-footer {
  margin-top: 36px;
  background: #07101f;
  color: #fff;
  border-top: 4px solid var(--red);
}

.web-footer-inner {
  width: min(100% - 40px, 1260px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(360px, 1.4fr) minmax(240px, .8fr);
  gap: 42px;
  padding: 38px 0 32px;
}

.footer-brand img {
  display: block;
  width: 190px;
  height: auto;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .24));
}

.footer-brand p,
.footer-contact p,
.footer-contact a,
.footer-bottom {
  color: #aeb7c4;
}

.footer-brand p {
  max-width: 360px;
  margin: 0 0 18px;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #111c2c;
  color: #fff;
  font-weight: 900;
}

.web-footer h3 {
  margin: 0 0 16px;
  font-size: 15px;
  text-transform: uppercase;
}

.footer-links div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.footer-links button {
  padding: 6px 0;
  color: #d6dce5;
  text-align: left;
  font-weight: 750;
}
.footer-links a {
  padding: 6px 0;
  color: #d6dce5;
  text-align: left;
  font-weight: 750;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-contact p {
  margin: 0;
}

.footer-contact a {
  text-decoration: none;
}

.footer-contact button {
  width: fit-content;
  min-height: 38px;
  margin-top: 6px;
  padding: 0 16px;
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}
.footer-ad-link { display: inline-flex; width: fit-content; min-height: 38px; margin-top: 6px; padding: 0 16px; align-items: center; border-radius: 5px; background: var(--red); color: #fff !important; font-weight: 900; text-transform: uppercase; }

.footer-bottom {
  width: min(100% - 40px, 1260px);
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
}

/* Keep video cards inside their existing TV sections without changing page layout. */
.tv-latest-videos,
.tv-interviews { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; justify-self: stretch; overflow: hidden; }
.tv-latest-videos .video-news-grid,
.tv-interview-grid { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: clip; }
.tv-latest-videos .video-news-card,
.tv-interview-grid .video-news-card { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; contain: inline-size; }
.tv-latest-videos .video-news-card > *,
.tv-interview-grid .video-news-card > * { box-sizing: border-box; min-width: 0; max-width: 100%; }
.tv-latest-videos .video-news-image,
.tv-interview-grid .video-news-image { width: 100%; max-width: 100%; overflow: hidden; background-size: cover; }
.tv-latest-videos .video-news-card h3,
.tv-interview-grid .video-news-card h3 { width: 100%; max-width: 100%; overflow: hidden; overflow-wrap: anywhere; word-break: break-word; }

@media (max-width: 1420px) {
  body { min-width: 0; }
  .topbar-inner, .web-header-inner { width: min(100% - 32px, 1120px); }
  .topbar-inner { gap: 18px; }
  .topbar-inner span:nth-child(n+3):nth-child(-n+4),
  .topbar-inner b:nth-of-type(n+4) { display: none; }
  .page-shell { width: min(100% - 32px, 1120px); grid-template-columns: 1fr; }
  .web-header-inner { grid-template-columns: 126px minmax(0, 1fr) 104px 40px; column-gap: 10px; }
  .web-logo { width: 126px; height: 68px; }
  .web-header:has(.web-logo-tv) .web-logo-tv { width: 126px; height: 68px; }
  .web-header nav { gap: 16px; min-width: 0; overflow-x: auto; overflow-y: hidden; }
  .web-header nav a { font-size: 12px; }
  .web-header nav .tv-live { height: 40px; min-width: 104px; padding: 4px 11px 4px 7px; }
  .web-header-inner > .tv-live { width: 104px; min-width: 104px; height: 40px; padding: 4px 11px 4px 7px; }
  .web-header-inner > .tv-live span { width: 34px; height: 24px; font-size: 12px; }
  .web-header-inner > .tv-live b { font-size: 12px; }
  .web-header nav .tv-live span { width: 34px; height: 24px; font-size: 12px; }
  .web-header nav .tv-live b { font-size: 12px; }
  .side-rail { display: none; }
  .web-main { width: 100%; }
  .home-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .hero-desktop { height: 340px; }
  .wide-ad.kontakt { width: 100%; margin-left: 0; }
  .content-row { grid-template-columns: minmax(0, 1fr); }
  .right-stack { display: none; }
  .latest-cards { grid-template-columns: repeat(4, 1fr); }
  .home-promo-row { grid-template-columns: 240px minmax(0, 1fr); }
  .category-layout, .article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .article-share { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .web-footer-inner { width: min(100% - 32px, 1120px); grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { width: min(100% - 32px, 1120px); }
  .page-shell.tv-shell { width: min(100% - 32px, 1120px); }
  .tv-page { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
  .tv-right { display: none; }
  .tv-latest-videos, .tv-interviews { grid-column: 1 / 3; }
}

@media (max-width: 820px) {
  .tv-page { grid-template-columns: 1fr; }
  .tv-middle, .tv-latest-videos, .tv-interviews { grid-column: 1; }
  .tv-latest-videos .video-news-grid,
  .tv-interview-grid { grid-template-columns: repeat(2, calc((100% - 14px) / 2)); }
  .tv-studio { height: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 480px) {
  .tv-latest-videos .video-news-grid,
  .tv-interview-grid { grid-template-columns: minmax(0, 100%); }
}


@media (min-width: 1181px) and (max-width: 1420px) {
  .page-shell.article-shell {
    width: min(100% - 32px, 1260px);
    grid-template-columns: minmax(86px, 104px) minmax(0, 1fr) minmax(86px, 104px);
    gap: 18px;
  }

  .page-shell.article-shell .side-rail {
    display: block;
  }

  .page-shell.article-shell .skyscraper {
    max-width: 104px;
  }
}

@media (min-width: 1421px) and (max-width: 1535px) {
  .web-header-inner,
  .topbar-inner {
    width: min(100% - 32px, 1200px);
  }

  .page-shell {
    grid-template-columns: 104px minmax(0, 1fr) 104px;
  }

  .home-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .content-row {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 900px) {
  .admin-app { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; grid-template-rows: auto auto auto; gap: 18px; padding: 20px; }
  .admin-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-main { padding: 18px; }
  .admin-top { align-items: stretch; flex-direction: column; }
  .admin-top h1 { font-size: 30px; }
  .admin-top-actions { flex-direction: column; }
  .admin-stats, .admin-grid, .editor-layout, .editor-row { grid-template-columns: 1fr; }
  .editor-side, .editor-preview { position: static; }
  .admin-table { min-width: 640px; }
}

/* Flash notification newsroom */
.admin-body .push-studio-premium {
  --push-ink: #101828;
  --push-muted: #667085;
  --push-blue: #155eef;
  --push-red: #e30613;
  display: grid;
  gap: 14px;
  max-width: 1540px;
  margin: 0 auto;
}

/* Campaign studio */
.admin-body .ad-campaign-studio {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  max-width: 1480px;
  margin: 0 auto;
}
.admin-body .ad-campaign-form,
.admin-body .ad-campaign-side {
  min-width: 0;
}
.admin-body .ad-campaign-form > header {
  padding-bottom: 18px;
  border-bottom: 1px solid #e8edf4;
}
.admin-body .ad-campaign-form > header h2,
.admin-body .ad-preview-card header h2 {
  margin: 3px 0 0;
  font-size: 20px;
}
.admin-body .ad-campaign-form > header p {
  margin: 6px 0 0;
  color: var(--admin-muted);
}
.admin-body .section-kicker {
  color: #155eef;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-body .ad-campaign-form fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid #e8edf4;
}
.admin-body .ad-campaign-form fieldset:last-child { border-bottom: 0; }
.admin-body .ad-campaign-form legend {
  margin-bottom: 12px;
  color: #101828;
  font-size: 15px;
  font-weight: 900;
}
.admin-body .ad-campaign-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .ad-campaign-form input,
.admin-body .ad-campaign-form select,
.admin-body .ad-campaign-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
}
.admin-body .ad-campaign-form .upload-grid button {
  display: grid;
  place-content: center;
  gap: 6px;
  min-height: 116px;
  border: 1px dashed #b9c5d6;
  background: #f8fafc;
  box-shadow: none;
}
.admin-body .ad-campaign-form .upload-grid button::before {
  content: "↑";
  color: #155eef;
  font-size: 24px;
}
.admin-body .ad-campaign-form .upload-grid button small { color: #78869a; font-weight: 650; }
.admin-body .ad-campaign-form .upload-grid button.is-complete {
  border-color: #7bd6a6;
  background: #effcf5;
  color: #087443;
}
.admin-body .ad-device-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 4px 0;
}
.admin-body .ad-device-row label { display: flex; align-items: center; gap: 8px; }
.admin-body .ad-device-row input { width: 18px; min-height: 18px; accent-color: #155eef; }
.admin-body .ad-campaign-side { display: grid; gap: 16px; position: sticky; top: 78px; }
.admin-body .ad-preview-card header { align-items: flex-start; }
.admin-body .ad-preview-card header nav { display: flex; gap: 5px; }
.admin-body .ad-preview-card header nav button { min-height: 30px; padding: 0 9px; font-size: 11px; box-shadow: none; }
.admin-body .ad-preview-card header nav button.active { border-color: #155eef; background: #eef4ff; color: #155eef; }
.admin-body .ad-preview-card .ad-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 970 / 250;
  margin: 0 0 16px;
  border: 1px dashed #b9c5d6;
  background: #f5f7fa center/cover no-repeat;
  color: #758197;
  font-size: 12px;
  font-weight: 800;
}
.admin-body .ad-preview-card .ad-preview::before,
.admin-body .ad-preview-card .ad-preview::after { content: none; }
.admin-body .ad-preview-card .ad-preview.is-mobile { width: min(100%, 240px); aspect-ratio: 3.2 / 1; margin-inline: auto; }
.admin-body .ad-preview-card dl { display: grid; gap: 0; margin: 0; }
.admin-body .ad-preview-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid #edf1f6; }
.admin-body .ad-preview-card dt { color: #667085; }
.admin-body .ad-preview-card dd { margin: 0; color: #101828; font-weight: 850; text-align: right; }
.admin-body .ad-publish-card { display: grid; gap: 10px; }
.admin-body .ad-publish-card button { width: 100%; }
.admin-body .ad-publish-card p { margin: 4px 0 0; color: #667085; font-size: 12px; line-height: 1.55; }

.admin-body .news-list-card .filter-row input,
.admin-body .news-list-card .filter-row select,
.admin-body .news-list-card .filter-row button { min-width: 0; }
.admin-body .news-list-card .table-headline select { min-height: 36px; padding: 0 10px; }
.admin-body .portal-pagination > span b { display: grid; place-items: center; min-width: 72px; color: #475467; font-size: 12px; }

@media (max-width: 1180px) {
  .admin-body .ad-campaign-studio { grid-template-columns: 1fr; }
  .admin-body .ad-campaign-side { position: static; grid-template-columns: minmax(0, 1fr) 280px; }
  .admin-body .filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .admin-body .ad-campaign-form .form-grid,
  .admin-body .ad-campaign-form .form-grid.three,
  .admin-body .ad-campaign-form .upload-grid,
  .admin-body .ad-campaign-side,
  .admin-body .filter-row { grid-template-columns: 1fr; }
  .admin-body .table-headline,
  .admin-body .portal-pagination { align-items: stretch; flex-direction: column; }
}
.admin-body .push-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px 210px;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-color: #e4e9f1;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .045);
}
.admin-body .push-command-copy h2 {
  margin: 4px 0 6px;
  color: var(--push-ink);
  font-size: 25px;
  line-height: 1.12;
}
.admin-body .push-command-copy p,
.admin-body .push-command-copy span {
  margin: 0;
  color: var(--push-muted);
}
.admin-body .push-eyebrow {
  color: var(--push-red) !important;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-body .push-command-status,
.admin-body .push-command time {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 10px 13px;
  border: 1px solid #e4e9f1;
  border-radius: 8px;
  background: #fbfcfe;
  font-style: normal;
}
.admin-body .push-command-status i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 5px #e8f8f0;
}
.admin-body .push-command-status span,
.admin-body .push-command time {
  display: grid;
  gap: 3px;
}
.admin-body .push-command-status b,
.admin-body .push-command time b {
  color: #344054;
  font-size: 12px;
}
.admin-body .push-command-status small,
.admin-body .push-command time small {
  color: #8490a3;
  font-size: 10px;
  font-weight: 700;
}
.admin-body .push-metrics-premium {
  gap: 12px;
}
.admin-body .push-metrics-premium article {
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 82px;
  padding: 14px 16px;
  border-color: #e5eaf1;
  box-shadow: none;
}
.admin-body .push-metrics-premium article > i {
  grid-row: auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eff5ff;
  color: var(--push-blue);
  font-size: 16px;
}
.admin-body .push-metrics-premium article > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2px 12px;
}
.admin-body .push-metrics-premium small {
  grid-column: 1;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}
.admin-body .push-metrics-premium b {
  grid-column: 1;
  color: var(--push-ink);
  font-size: 20px;
}
.admin-body .push-metrics-premium em {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  max-width: 160px;
  color: #98a2b3;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  text-align: right;
}
.admin-body .push-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr);
  gap: 14px;
  align-items: start;
}
.admin-body .push-compose-premium {
  gap: 14px;
  padding: 20px;
}
.admin-body .portal-card header.push-section-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
}
.admin-body .push-section-heading > span {
  position: static;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: #eff5ff;
  color: var(--push-blue);
  font-size: 11px;
  font-weight: 900;
}
.admin-body .push-section-heading h2 {
  margin: 0 0 2px;
  color: var(--push-ink);
  font-size: 16px;
}
.admin-body .push-section-heading p {
  margin: 0;
  color: #8490a3;
  font-size: 11px;
  font-weight: 700;
}
.admin-body .push-compose-premium label,
.admin-body .push-final label {
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .push-compose-premium label > small,
.admin-body .push-final label > small {
  display: block;
  margin-top: 5px;
  color: #98a2b3;
  font-size: 10px;
  font-weight: 650;
}
.admin-body .push-compose-premium input,
.admin-body .push-compose-premium textarea,
.admin-body .push-compose-premium select,
.admin-body .push-final select {
  border-color: #dfe5ed;
  background: #fff;
  color: #182230;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
.admin-body .push-article-picker select {
  width: 100%;
  margin-top: 7px;
}
.admin-body .push-lang-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.admin-body .push-lang-tabs button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  height: 43px;
  padding: 0 12px;
  border-radius: 7px;
  background: #fff;
  color: #475467;
  box-shadow: none;
}
.admin-body .push-lang-tabs button b {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  border-radius: 5px;
  background: #f2f4f7;
  color: #344054;
  font-size: 10px;
}
.admin-body .push-lang-tabs button span {
  position: static;
  color: inherit;
  font-size: 11px;
}
.admin-body .push-lang-tabs button.active {
  border-color: #9dbcfb;
  background: #f5f8ff;
  color: #155eef;
}
.admin-body .push-lang-tabs button.active b {
  background: #155eef;
  color: #fff;
}
.admin-body .push-advanced {
  padding: 11px 0 0;
  border-bottom: 0;
}
.admin-body .push-advanced summary {
  color: #475467;
  font-size: 11px;
}
.admin-body .push-preview-premium {
  gap: 14px;
}
.admin-body .phone-preview-card {
  padding: 18px;
}
.admin-body .preview-device {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid #e1e7ef;
  border-radius: 6px;
  color: #667085;
  font-size: 10px;
}
.admin-body .push-phone {
  width: min(100%, 244px);
  margin-top: 14px;
  padding: 7px;
  border-radius: 29px;
  background: #111827;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .16);
}
.admin-body .push-phone-screen {
  position: relative;
  min-height: 376px;
  padding: 25px 11px 18px;
  border-radius: 23px;
  background: linear-gradient(160deg, #3c4b5e, #182533 48%, #0b1220);
}
.admin-body .phone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 62px;
  height: 16px;
  border-radius: 999px;
  background: #030712;
  transform: translateX(-50%);
}
.admin-body .push-phone-screen > time {
  margin: 12px 0 0;
  font-size: 34px;
  line-height: 1;
}
.admin-body .push-phone-screen > small {
  display: block;
  margin: 3px 0 54px;
  color: rgba(255,255,255,.8);
  font-size: 10px;
  text-align: center;
}
.admin-body .push-notification-card {
  gap: 5px;
  padding: 10px 11px;
  border-radius: 12px;
}
.admin-body .push-notification-card header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}
.admin-body .push-notification-card header > b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #e30613;
  color: #fff;
  font-size: 9px;
}
.admin-body .push-notification-card header span {
  color: #344054;
  font-size: 9px;
  font-weight: 850;
}
.admin-body .push-notification-card header small {
  color: #98a2b3;
  font-size: 8px;
}
.admin-body .push-final {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px;
}
.admin-body .push-final select {
  width: 100%;
  height: 38px;
  margin-top: 7px;
}
.admin-body .push-checklist {
  display: grid;
  gap: 3px;
  padding: 9px 11px;
  border: 1px solid #e8ecf2;
  border-radius: 7px;
  background: #fbfcfd;
}
.admin-body .push-checklist p {
  margin: 2px 0;
  font-size: 10px;
}
.admin-body .push-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
}
.admin-body .push-actions button {
  height: 38px;
  border-radius: 7px;
  font-size: 11px;
}
.admin-body .push-actions .primary {
  background: #155eef;
}
.admin-body .push-history-premium {
  padding: 18px;
}
.admin-body .push-history-premium > header {
  margin-bottom: 12px;
}
.admin-body .push-history-premium > header h2 {
  margin: 0 0 3px;
  font-size: 15px;
}
.admin-body .push-history-premium > header p {
  margin: 0;
  color: #8490a3;
  font-size: 11px;
}
.admin-body .push-history-premium > header > span {
  padding: 5px 8px;
  border-radius: 6px;
  background: #f2f4f7;
  color: #667085;
  font-size: 10px;
  font-weight: 850;
}
.admin-body .push-history-premium .portal-table.compact {
  min-width: 680px;
}
.admin-body .push-history-premium .portal-table td,
.admin-body .push-history-premium .portal-table th {
  padding: 9px 10px;
  font-size: 11px;
}
.admin-body .icon-command {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 6px;
}
.admin-body .push-empty-history {
  padding: 28px !important;
  color: #98a2b3;
  text-align: center;
}
@media (max-width: 1280px) {
  .admin-body .push-command { grid-template-columns: minmax(0, 1fr) 230px; }
  .admin-body .push-command time { display: none; }
  .admin-body .push-workbench { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 980px) {
  .admin-body .push-command,
  .admin-body .push-workbench { grid-template-columns: minmax(0, 1fr); }
  .admin-body .push-metrics-premium { grid-template-columns: repeat(3, minmax(170px, 1fr)); overflow-x: auto; }
  .admin-body .push-preview-premium { grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr); }
}

/* Premium flash newsroom studio */
.admin-body .push-studio-premium {
  gap: 16px;
  max-width: 1480px;
}
.admin-body .push-studio-premium .portal-card {
  border-color: #e1e7ef;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
}
.admin-body .push-command {
  grid-template-columns: 48px minmax(0, 1fr) 238px 190px;
  gap: 16px;
  padding: 20px;
  overflow: hidden;
  background: #fff;
}
.admin-body .push-command-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #08182a;
  color: #fff;
  font-size: 16px;
  font-style: italic;
  font-weight: 950;
  box-shadow: inset 0 -4px 0 #e80715;
}
.admin-body .push-command-copy h2 {
  margin-top: 3px;
  font-size: 23px;
}
.admin-body .push-command-copy p {
  max-width: 620px;
  font-size: 11px;
}
.admin-body .push-command-status,
.admin-body .push-command time {
  min-height: 54px;
  padding: 9px 12px;
  background: #f8fafc;
}
.admin-body .push-metrics-premium {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-body .push-metrics-premium article {
  min-height: 92px;
  padding: 16px 18px;
  background: #fff;
}
.admin-body .push-metrics-premium article:nth-child(1) > i { background: #eef4ff; color: #155eef; }
.admin-body .push-metrics-premium article:nth-child(2) > i { background: #fff4e5; color: #b54708; }
.admin-body .push-metrics-premium article:nth-child(3) > i { background: #eaf8f0; color: #087a42; }
.admin-body .push-workbench {
  grid-template-columns: minmax(0, 1.5fr) 374px;
  gap: 16px;
}
.admin-body .push-compose-premium {
  padding: 22px;
  gap: 16px;
}
.admin-body .push-compose-premium > label {
  position: relative;
  display: grid;
  gap: 7px;
}
.admin-body .push-compose-premium label > span {
  position: absolute;
  top: 0;
  right: 0;
  color: #98a2b3;
  font-size: 10px;
  font-weight: 750;
}
.admin-body .push-compose-premium input,
.admin-body .push-compose-premium select {
  min-height: 43px;
}
.admin-body .push-compose-premium textarea {
  min-height: 108px;
  line-height: 1.55;
  resize: vertical;
}
.admin-body .push-lang-tabs {
  padding: 4px;
  border: 1px solid #e4e9f0;
  border-radius: 8px;
  background: #f7f9fc;
}
.admin-body .push-lang-tabs button {
  height: 40px;
  border-color: transparent;
  background: transparent;
}
.admin-body .push-lang-tabs button.active {
  border-color: #d9e4fb;
  background: #fff;
  box-shadow: 0 3px 10px rgba(21, 94, 239, .08);
}
.admin-body .push-type-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}
.admin-body .push-type-selector legend {
  grid-column: 1 / -1;
  margin-bottom: 7px;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .push-compose-premium .push-type-selector label {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}
.admin-body .push-type-selector input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.admin-body .push-compose-premium .push-type-selector label > span {
  position: relative;
  top: auto;
  right: auto;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 2px 8px;
  min-height: 61px;
  padding: 11px 12px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fff;
}
.admin-body .push-type-selector i {
  grid-row: 1 / 3;
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: #98a2b3;
}
.admin-body .push-type-selector b { color: #182230; font-size: 11px; }
.admin-body .push-type-selector small { color: #98a2b3; font-size: 9px; }
.admin-body .push-type-selector input:checked + span {
  border-color: #a9c3fb;
  background: #f6f9ff;
  box-shadow: 0 0 0 2px rgba(21, 94, 239, .07);
}
.admin-body .push-type-selector input:checked + span i { background: #e80715; box-shadow: 0 0 0 3px #fee4e6; }
.admin-body .phone-preview-card {
  padding: 18px 18px 20px;
  background: #fff;
}
.admin-body .push-phone {
  width: 244px;
  padding: 6px;
  border: 1px solid #1f2937;
  background: #060d19;
  box-shadow: 0 22px 44px rgba(8, 24, 42, .2);
}
.admin-body .push-phone-screen {
  min-height: 402px;
  padding: 18px 11px;
  background: #15283b;
  overflow: hidden;
}
.admin-body .push-phone-screen::after {
  content: "";
  position: absolute;
  inset: auto -60px -65px 30px;
  height: 180px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.admin-body .phone-status {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  color: rgba(255,255,255,.88);
  font-size: 8px;
  font-weight: 800;
}
.admin-body .push-phone-screen > time { margin-top: 25px; font-size: 38px; }
.admin-body .push-phone-screen > small { margin-bottom: 48px; }
.admin-body .push-notification-card {
  position: relative;
  z-index: 1;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(248,250,252,.92);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.admin-body .push-notification-card header em {
  margin-left: auto;
  padding: 3px 5px;
  border-radius: 4px;
  background: #fee4e6;
  color: #c01020;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
}
.admin-body .push-notification-card strong {
  margin-top: 2px;
  color: #101828;
  font-size: 11px;
  line-height: 1.3;
}
.admin-body .push-notification-card p {
  color: #475467;
  font-size: 9px;
  line-height: 1.4;
}
.admin-body .push-notification-card footer {
  display: flex;
  justify-content: space-between;
  padding-top: 7px;
  border-top: 1px solid rgba(16,24,40,.08);
  color: #667085;
  font-size: 8px;
  font-weight: 750;
}
.admin-body .phone-home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 84px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  transform: translateX(-50%);
}
.admin-body .push-final { padding: 18px; }
.admin-body .push-audience-estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 11px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #f8fafc;
}
.admin-body .push-audience-estimate > span {
  display: grid;
  grid-template-columns: 8px auto;
  gap: 0 7px;
  align-items: center;
}
.admin-body .push-audience-estimate i {
  grid-row: 1 / 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 3px #def7e9;
}
.admin-body .push-audience-estimate b { color: #101828; font-size: 13px; }
.admin-body .push-audience-estimate small { color: #98a2b3; font-size: 8px; }
.admin-body .push-audience-estimate em { color: #667085; font-size: 9px; font-style: normal; font-weight: 750; }
.admin-body .push-checklist { padding: 10px 12px; background: #fff; }
.admin-body .push-actions { grid-template-columns: .8fr 1.4fr; }
.admin-body .push-actions button { height: 40px; }
.admin-body .push-history-premium { overflow: hidden; }

@media (max-width: 1280px) {
  .admin-body .push-command { grid-template-columns: 44px minmax(0, 1fr) 224px; }
  .admin-body .push-command time { display: none; }
  .admin-body .push-workbench { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 980px) {
  .admin-body .push-command { grid-template-columns: 44px minmax(0, 1fr); }
  .admin-body .push-command-status { grid-column: 1 / -1; }
  .admin-body .push-workbench { grid-template-columns: 1fr; }
  .admin-body .push-preview-premium { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(320px, 1.25fr); }
}
@media (max-width: 720px) {
  .admin-body .push-command-mark { display: none; }
  .admin-body .push-command { grid-template-columns: 1fr; }
  .admin-body .push-metrics-premium { grid-template-columns: 1fr; overflow: visible; }
  .admin-body .push-type-selector { grid-template-columns: 1fr; }
  .admin-body .push-preview-premium { grid-template-columns: 1fr; }
}

/* Premium admin operating system */
.admin-body {
  --admin-ink: #101828;
  --admin-muted: #667085;
  --admin-line: #e4e9f0;
  --admin-soft: #f6f8fb;
  --admin-blue: #155eef;
  --admin-navy: #08182a;
  --admin-red: #e80715;
  background: #f3f6fa;
}
.admin-body .portal-content { padding: 22px 24px 40px; }
.admin-body .portal-crumb { margin-bottom: 14px; color: #7b8798; font-size: 11px; font-weight: 700; }
.admin-body .portal-card { border-color: var(--admin-line); border-radius: 8px; box-shadow: 0 8px 24px rgba(15, 23, 42, .045); }
.admin-body .portal-card h2 { color: var(--admin-ink); letter-spacing: 0; }
.admin-body .portal-card p { color: var(--admin-muted); }
.admin-body input,
.admin-body select,
.admin-body textarea { border-color: #dbe2ea; border-radius: 7px; color: var(--admin-ink); font-size: 12px; }
.admin-body input:focus,
.admin-body select:focus,
.admin-body textarea:focus { border-color: #84adff; box-shadow: 0 0 0 3px rgba(21, 94, 239, .09); outline: 0; }
.admin-body button { border-radius: 7px; }
.admin-body [hidden] { display: none !important; }
.admin-body button.primary { background: var(--admin-blue); box-shadow: 0 6px 14px rgba(21, 94, 239, .16); }
.admin-body .status-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 25px; padding: 4px 9px; border: 0; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 850; }
.admin-body .status-pill.active { background: #e8f8ef; color: #087a42; }
.admin-body .status-pill.paused { background: #fff3e6; color: #b54708; }

.admin-body .dashboard-premium,
.admin-body .campaign-premium-page,
.admin-body .profile-premium-page,
.admin-body .comment-premium-page,
.admin-body .tag-premium-page { display: grid; gap: 16px; }
.admin-body .dashboard-welcome,
.admin-body .campaign-command,
.admin-body .comment-command,
.admin-body .tag-command,
.admin-body .profile-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; overflow: hidden; }
.admin-body .dashboard-welcome > div:first-child,
.admin-body .campaign-command > div:first-child,
.admin-body .comment-command > div:first-child,
.admin-body .tag-command > div:first-child { max-width: 680px; }
.admin-body .dashboard-welcome span,
.admin-body .campaign-command > div > span,
.admin-body .comment-command > div > span,
.admin-body .tag-command > div > span,
.admin-body .profile-hero > div:nth-child(2) > span,
.admin-body .taxonomy-editor > header span { color: var(--admin-blue); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.admin-body .dashboard-welcome h2,
.admin-body .campaign-command h2,
.admin-body .comment-command h2,
.admin-body .tag-command h2,
.admin-body .profile-hero h2 { margin: 4px 0 5px; font-size: 21px; }
.admin-body .dashboard-welcome p,
.admin-body .campaign-command p,
.admin-body .comment-command p,
.admin-body .tag-command p,
.admin-body .profile-hero p { margin: 0; font-size: 11px; }
.admin-body .dashboard-welcome > div:last-child { display: flex; gap: 8px; }
.admin-body .dashboard-welcome button,
.admin-body .campaign-command > button,
.admin-body .tag-command > button { min-height: 38px; padding: 0 15px; }
.admin-body .dashboard-stats,
.admin-body .campaign-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-body .dashboard-stats article,
.admin-body .campaign-metrics article { position: relative; min-height: 110px; padding: 17px 18px; border: 1px solid var(--admin-line); border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, .035); }
.admin-body .dashboard-stats article i { position: absolute; top: 15px; right: 16px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 7px; background: #edf4ff; color: var(--admin-blue); font-style: normal; }
.admin-body .dashboard-stats article span,
.admin-body .campaign-metrics article span { display: block; color: var(--admin-muted); font-size: 11px; font-weight: 750; }
.admin-body .dashboard-stats article b,
.admin-body .campaign-metrics article b { display: block; margin: 7px 0 3px; color: var(--admin-ink); font-size: 25px; line-height: 1; }
.admin-body .dashboard-stats article small,
.admin-body .campaign-metrics article small { color: #98a2b3; font-size: 10px; }
.admin-body .dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; align-items: start; }
.admin-body .dashboard-news { min-width: 0; padding: 0; overflow: hidden; }
.admin-body .dashboard-news > header,
.admin-body .campaign-table-card > header,
.admin-body .tag-table-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--admin-line); }
.admin-body .dashboard-news > header h2,
.admin-body .campaign-table-card > header h2,
.admin-body .tag-table-card > header h2 { margin: 0 0 3px; font-size: 15px; }
.admin-body .dashboard-news > header p,
.admin-body .campaign-table-card > header p,
.admin-body .tag-table-card > header p { margin: 0; font-size: 10px; }
.admin-body .dashboard-news .portal-table { min-width: 1040px; }
.admin-body .dashboard-side,
.admin-body .profile-side-stack,
.admin-body .tag-side-stack,
.admin-body .comment-side,
.admin-body .taxonomy-insights { display: grid; gap: 14px; }
.admin-body .dashboard-side .portal-card,
.admin-body .profile-side-stack .portal-card,
.admin-body .comment-side .portal-card,
.admin-body .taxonomy-insights .portal-card { padding: 17px; }
.admin-body .editorial-health h2 { margin: 0 0 12px; font-size: 14px; }
.admin-body .editorial-health p,
.admin-body .account-summary p { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 9px 0; border-bottom: 1px solid #edf0f4; font-size: 11px; }
.admin-body .editorial-health p:last-child,
.admin-body .account-summary p:last-child { border-bottom: 0; }
.admin-body .quick-list.premium { display: grid; gap: 6px; }
.admin-body .quick-list.premium button { justify-content: flex-start; min-height: 36px; padding: 0 11px; background: #f8fafc; font-size: 11px; text-align: left; }

.admin-body .campaign-command { border-top: 3px solid var(--admin-blue); }
.admin-body .campaign-table-card { padding: 0; overflow: hidden; }
.admin-body .table-controls { display: flex; gap: 8px; }
.admin-body .table-controls input { width: 190px; }
.admin-body .campaign-table { min-width: 1040px; }
.admin-body .campaign-name { display: flex; align-items: center; gap: 10px; }
.admin-body .campaign-name i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 7px; background: var(--admin-navy); color: #fff; font-size: 9px; font-style: normal; }
.admin-body .campaign-name span,
.admin-body .campaign-table td:nth-child(2) { display: grid; gap: 3px; }
.admin-body .campaign-name small,
.admin-body .campaign-table td:nth-child(2) small { color: #98a2b3; font-size: 9px; }
.admin-body .campaign-duration { display: grid; gap: 3px; min-width: 122px; }
.admin-body .campaign-duration b { width: max-content; padding: 4px 8px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 10px; line-height: 1.2; }
.admin-body .campaign-duration small { color: #667085; font-size: 9px; white-space: nowrap; }
.admin-body .campaign-duration.running b { background: #e8f8ef; color: #087a42; }
.admin-body .campaign-duration.ending b { background: #fff4cc; color: #9a6700; }
.admin-body .campaign-duration.expired b { background: #fee4e2; color: #b42318; }

.admin-body .taxonomy-premium-page { display: grid; grid-template-columns: 270px minmax(0, 1fr) 230px; gap: 16px; align-items: start; }
.admin-body .taxonomy-directory,
.admin-body .taxonomy-editor { padding: 18px; }
.admin-body .taxonomy-directory > header,
.admin-body .taxonomy-editor > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.admin-body .taxonomy-directory > header h2,
.admin-body .taxonomy-editor > header h2 { margin: 2px 0 3px; font-size: 16px; }
.admin-body .taxonomy-directory > header p,
.admin-body .taxonomy-editor > header p { margin: 0; font-size: 10px; }
.admin-body .taxonomy-directory > header > span { display: grid; min-width: 28px; height: 28px; place-items: center; border-radius: 6px; background: #edf4ff; color: var(--admin-blue); font-size: 11px; font-weight: 900; }
.admin-body .taxonomy-directory > input { width: 100%; margin-bottom: 8px; }
.admin-body .taxonomy-directory > .primary { width: 100%; margin-bottom: 12px; }
.admin-body .taxonomy-list { display: grid; gap: 5px; max-height: 600px; overflow: auto; }
.admin-body .taxonomy-list > button { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; padding: 8px; border: 1px solid transparent; background: transparent; text-align: left; }
.admin-body .taxonomy-list > button:hover { background: #f8fafc; }
.admin-body .taxonomy-list > button.active { border-color: #b2ccff; background: #eff6ff; }
.admin-body .taxonomy-list i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 6px; background: #e9eef5; color: #344054; font-style: normal; font-weight: 900; }
.admin-body .taxonomy-list button.active i { background: var(--admin-blue); color: #fff; }
.admin-body .taxonomy-list span { min-width: 0; }
.admin-body .taxonomy-list b,
.admin-body .taxonomy-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .taxonomy-list b { font-size: 11px; }
.admin-body .taxonomy-list small { margin-top: 2px; color: #98a2b3; font-size: 9px; }
.admin-body .taxonomy-list em { color: #667085; font-size: 9px; font-style: normal; }
.admin-body .taxonomy-editor .form-grid { margin-bottom: 12px; }
.admin-body .taxonomy-editor label,
.admin-body .profile-details label { display: grid; gap: 5px; align-content: start; }
.admin-body .taxonomy-editor label > input,
.admin-body .taxonomy-editor label > select,
.admin-body .profile-details label > input,
.admin-body .profile-details label > select { width: 100%; }
.admin-body .taxonomy-editor textarea { width: 100%; margin-top: 5px; }
.admin-body .taxonomy-status-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.admin-body .taxonomy-status-row > label { width: 180px; }
.admin-body .taxonomy-status-row > div { display: flex; gap: 8px; }
.admin-body .taxonomy-stat { display: grid; padding: 16px; border-radius: 7px; background: var(--admin-navy); color: #fff; }
.admin-body .taxonomy-stat span,
.admin-body .taxonomy-stat small { color: #aab7c8; font-size: 10px; }
.admin-body .taxonomy-stat b { margin: 5px 0; font-size: 28px; }
.admin-body .taxonomy-insights code { display: block; margin-top: 7px; overflow: hidden; color: var(--admin-blue); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .taxonomy-guide p { padding-left: 12px; border-left: 2px solid #d9e2ef; font-size: 10px; }

/* Reference-matched category manager */
.admin-body .category-reference-page {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
}
.admin-body .category-reference-page .portal-card {
  border-color: #e4e9f1;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .035);
}
.admin-body .category-tree-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 740px;
  padding: 20px;
}
.admin-body .category-tree-panel h2,
.admin-body .category-info-card > h2,
.admin-body .category-children-card h2 {
  margin: 0;
  color: #101828;
  font-size: 15px;
  line-height: 1.25;
}
.admin-body .category-search-field { position: relative; }
.admin-body .category-search-field input {
  width: 100%;
  min-height: 40px;
  padding: 0 38px 0 12px;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  background: #fff;
}
.admin-body .category-search-field .lucide-icon {
  position: absolute;
  top: 50%;
  right: 11px;
  width: 17px;
  height: 17px;
  color: #607087;
  transform: translateY(-50%);
}
.admin-body .category-create-row { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 10px; }
.admin-body .category-create-row button { min-height: 40px; }
.admin-body .category-create-row .lucide-icon { width: 17px; height: 17px; }
.admin-body .category-tree-list {
  display: grid;
  align-content: start;
  gap: 3px;
  max-height: 620px;
  overflow: auto;
  padding-right: 2px;
}
.admin-body .category-tree-branch[hidden] { display: none; }
.admin-body .category-tree-row {
  display: grid;
  grid-template-columns: 14px 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 39px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #243247;
  box-shadow: none;
  text-align: left;
}
.admin-body .category-tree-row:hover { background: #f7f9fc; }
.admin-body .category-tree-row.active {
  border-color: #5266ed;
  background: #f5f6ff;
  color: #2438bd;
}
.admin-body .category-tree-row .tree-chevron {
  display: inline-block;
  color: #68758a;
  font-size: 18px;
  line-height: 1;
  transition: transform .16s ease;
}
.admin-body .category-tree-row.active .tree-chevron.has-children { transform: rotate(90deg); }
.admin-body .category-tree-row > .lucide-icon { width: 17px; height: 17px; color: #53647b; }
.admin-body .category-tree-row b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .category-tree-row em {
  min-width: 28px;
  padding: 4px 6px;
  border-radius: 999px;
  background: #f1f3f7;
  color: #6f7b8c;
  font-size: 9px;
  font-style: normal;
  text-align: center;
}
.admin-body .category-tree-children { display: grid; gap: 2px; padding-left: 31px; }
.admin-body .category-tree-row.child { grid-template-columns: 18px minmax(0, 1fr) auto; }
.admin-body .category-empty { color: #8994a5; font-size: 11px; }
.admin-body .category-reference-main { display: grid; gap: 16px; min-width: 0; }
.admin-body .category-info-card { padding: 20px 22px; }
.admin-body .category-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 22px;
  margin-top: 20px;
}
.admin-body .category-info-card label,
.admin-body .category-icon-field,
.admin-body .category-meta-column {
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  color: #27364a;
  font-size: 11px;
  font-weight: 850;
}
.admin-body .category-info-card label > i { color: #e30613; font-style: normal; }
.admin-body .category-info-card input,
.admin-body .category-info-card select,
.admin-body .category-info-card textarea,
.admin-body .category-children-card select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  background: #fff;
  color: #172236;
  font: inherit;
  font-weight: 750;
  outline: none;
}
.admin-body .category-info-card input:focus,
.admin-body .category-info-card select:focus,
.admin-body .category-info-card textarea:focus {
  border-color: #7c8ff4;
  box-shadow: 0 0 0 3px rgba(82, 102, 237, .1);
}
.admin-body .category-info-card label small,
.admin-body .category-icon-field small,
.admin-body .category-meta-column small { color: #8792a2; font-size: 9px; font-weight: 650; line-height: 1.45; }
.admin-body .category-info-card label > em {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #8792a2;
  font-size: 9px;
  font-style: normal;
}
.admin-body .category-info-card textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.admin-body .category-icon-field > div { display: flex; align-items: center; gap: 12px; }
.admin-body .category-icon-field figure {
  display: grid;
  width: 50px;
  height: 50px;
  margin: 0;
  place-items: center;
  border-radius: 7px;
  background: #6657ea center / cover no-repeat;
  color: #fff;
}
.admin-body .category-icon-field figure .lucide-icon { width: 24px; height: 24px; }
.admin-body .category-icon-field button { min-height: 38px; }
.admin-body .category-meta-column { gap: 22px; }
.admin-body .category-status-switch > span { display: flex; align-items: center; gap: 8px; color: #344054; }
.admin-body .category-status-switch input {
  appearance: none;
  width: 36px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd3df;
  cursor: pointer;
}
.admin-body .category-status-switch input::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .2);
  transition: transform .16s ease;
}
.admin-body .category-status-switch input:checked { background: #1fb36b; }
.admin-body .category-status-switch input:checked::before { transform: translateX(16px); }
.admin-body .category-menu-switch { display: flex !important; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; border: 1px solid #dce5f2; border-radius: 9px; background: #f8faff; }
.admin-body .category-menu-switch > span { min-width: 0; }
.admin-body .category-menu-switch b, .admin-body .category-menu-switch small, .admin-body .category-menu-switch em { display: block; }
.admin-body .category-menu-switch b { color: #243047; font-size: 11px; }
.admin-body .category-menu-switch small { margin-top: 4px; color: #718096; font-size: 9px; line-height: 1.4; }
.admin-body .category-menu-switch em { margin-top: 5px; color: #d92d20; font-size: 10px; font-style: normal; font-weight: 800; }
.admin-body .category-menu-switch em[hidden] { display: none; }
.admin-body .category-menu-switch > input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: #1769e0; }
.admin-body .category-menu-switch.is-disabled { opacity: .62; background: #f5f6f8; }
.admin-body .category-menu-switch.has-error { border-color: #f04438; background: #fff8f7; box-shadow: 0 0 0 3px rgba(240, 68, 56, .08); }
.admin-body .category-info-card > footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #edf1f6;
}
.admin-body .category-children-card { padding: 0; overflow: hidden; }
.admin-body .category-children-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .category-children-card h2 small { color: #7d899a; font-size: 10px; font-weight: 700; }
.admin-body .category-children-card > header > div:last-child { display: flex; gap: 10px; }
.admin-body .category-children-card > header select { width: 180px; min-height: 36px; padding-block: 7px; }
.admin-body .category-children-card > header button { min-height: 36px; white-space: nowrap; }
.admin-body .category-child-table { min-width: 830px; }
.admin-body .category-child-table th,
.admin-body .category-child-table td { padding: 12px 14px; font-size: 10px; }
.admin-body .category-child-table .child-name { display: flex; align-items: center; gap: 8px; }
.admin-body .category-child-table .child-name .lucide-icon { width: 17px; height: 17px; color: #56677c; }
.admin-body .category-child-table mark {
  padding: 4px 8px;
  border-radius: 5px;
  background: #e4f8ec;
  color: #12804a;
  font-size: 9px;
}
.admin-body .category-child-table mark.inactive { background: #f2f4f7; color: #667085; }
.admin-body .category-child-table .row-tools button { width: 31px; min-height: 31px; padding: 0; }
.admin-body .category-child-table .row-tools .lucide-icon { width: 14px; height: 14px; }
.admin-body .category-empty-table { height: 100px; color: #8792a2; text-align: center; }
.admin-body .category-children-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 20px;
  border-top: 1px solid #edf1f6;
}
.admin-body .category-children-card > footer label { display: flex; align-items: center; gap: 8px; color: #68758a; font-size: 10px; }
.admin-body .category-children-card > footer select { width: 66px; min-height: 32px; padding: 5px 8px; }
.admin-body .category-children-card > footer nav { display: flex; align-items: center; gap: 7px; }
.admin-body .category-children-card > footer nav button,
.admin-body .category-children-card > footer nav b { display: grid; width: 32px; min-height: 32px; place-items: center; border-radius: 5px; }
.admin-body .category-children-card > footer nav b { background: #3e50d9; color: #fff; font-size: 10px; }
@media (max-width: 1120px) {
  .admin-body .category-reference-page { grid-template-columns: 290px minmax(0, 1fr); }
  .admin-body .category-form-grid { gap: 16px; }
}
@media (max-width: 860px) {
  .admin-body .category-reference-page { grid-template-columns: 1fr; }
  .admin-body .category-tree-panel { min-height: 0; }
  .admin-body .category-tree-list { max-height: 340px; }
}
@media (max-width: 640px) {
  .admin-body .category-form-grid { grid-template-columns: 1fr; }
  .admin-body .category-children-card > header,
  .admin-body .category-children-card > footer { align-items: stretch; flex-direction: column; }
  .admin-body .category-children-card > header > div:last-child { flex-direction: column; }
  .admin-body .category-children-card > header select { width: 100%; }
}

.admin-body .profile-hero { justify-content: flex-start; border-top: 3px solid var(--admin-blue); }
.admin-body .profile-avatar-large { display: grid; flex: 0 0 62px; width: 62px; height: 62px; place-items: center; border: 3px solid #eaf0f8; border-radius: 50%; background: var(--admin-navy) center/cover no-repeat; color: #fff; font-size: 24px; font-weight: 900; }
.admin-body .profile-hero > div:nth-child(2) { flex: 1; }
.admin-body .profile-hero > button { min-height: 36px; }
.admin-body .profile-premium-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 16px; align-items: start; }
.admin-body .profile-details { padding: 20px; }
.admin-body .profile-details > header { display: flex; justify-content: space-between; margin-bottom: 18px; }
.admin-body .profile-details > header h2 { margin: 0 0 3px; font-size: 16px; }
.admin-body .profile-details > header p { margin: 0; font-size: 10px; }
.admin-body .profile-details textarea { width: 100%; }
.admin-body .profile-details > footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--admin-line); }
.admin-body .profile-details > footer span { color: #98a2b3; font-size: 10px; }
.admin-body .security-card p { margin: 9px 0; font-size: 10px; }
.admin-body .security-card i { color: #079455; font-style: normal; }

.admin-body .comment-command > div:last-child { display: flex; gap: 8px; }
.admin-body .comment-command article { min-width: 90px; padding: 9px 11px; border: 1px solid var(--admin-line); border-radius: 7px; background: #f9fafb; }
.admin-body .comment-command article b,
.admin-body .comment-command article span { display: block; }
.admin-body .comment-command article b { font-size: 17px; }
.admin-body .comment-command article span { color: #667085; font-size: 9px; }
.admin-body .comment-workspace { display: grid; grid-template-columns: 330px minmax(0, 1fr) 230px; gap: 16px; align-items: start; }
.admin-body .comment-directory { padding: 16px; }
.admin-body .comment-directory > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.admin-body .comment-directory h2 { margin: 0 0 2px; font-size: 15px; }
.admin-body .comment-directory p { margin: 0; font-size: 9px; }
.admin-body .comment-directory select { width: 115px; }
.admin-body .comment-directory > input { width: 100%; margin-bottom: 10px; }
.admin-body .comment-list { display: grid; gap: 5px; }
.admin-body .comment-list > button { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 9px; align-items: start; width: 100%; padding: 9px; border: 1px solid transparent; background: transparent; text-align: left; }
.admin-body .comment-list > button.active { border-color: #b2ccff; background: #eff6ff; }
.admin-body .comment-list > button > i,
.admin-body .comment-author i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #eaf0f8; color: #344054; font-style: normal; font-weight: 900; }
.admin-body .comment-list span { min-width: 0; }
.admin-body .comment-list b,
.admin-body .comment-list small,
.admin-body .comment-list em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .comment-list b { font-size: 10px; }
.admin-body .comment-list small { margin: 3px 0; color: #667085; font-size: 9px; }
.admin-body .comment-list em { color: #98a2b3; font-size: 8px; font-style: normal; }
.admin-body .comment-list mark { padding: 3px 6px; border-radius: 999px; font-size: 8px; }
.admin-body .comment-list mark.waiting { background: #fff3e6; color: #b54708; }
.admin-body .comment-list mark.approved { background: #e8f8ef; color: #087a42; }
.admin-body .comment-list mark.spam { background: #feecee; color: #c01048; }
.admin-body .comment-detail { padding: 19px; }
.admin-body .comment-detail > header,
.admin-body .comment-author { display: flex; align-items: center; gap: 10px; }
.admin-body .comment-detail > header { justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--admin-line); }
.admin-body .comment-author span { display: grid; gap: 2px; }
.admin-body .comment-author b { font-size: 12px; }
.admin-body .comment-author small { color: #98a2b3; font-size: 9px; }
.admin-body .comment-detail > section { padding: 18px 0; }
.admin-body .comment-detail > section > span { color: var(--admin-blue); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.admin-body .comment-detail h3 { margin: 6px 0 15px; font-size: 15px; }
.admin-body .comment-detail blockquote { margin: 0 0 10px; padding: 16px; border-left: 3px solid var(--admin-blue); border-radius: 0 7px 7px 0; background: #f7f9fc; color: #344054; font-size: 12px; line-height: 1.6; }
.admin-body .comment-detail > section > small { color: #98a2b3; font-size: 9px; }
.admin-body .comment-detail > footer { display: flex; justify-content: space-between; gap: 8px; padding-top: 14px; border-top: 1px solid var(--admin-line); }
.admin-body .comment-detail > footer div { display: flex; gap: 8px; }
.admin-body .moderation-ring { display: grid; place-items: center; aspect-ratio: 1; max-width: 130px; margin: 12px auto 0; border: 9px solid #e7f0ff; border-top-color: var(--admin-blue); border-radius: 50%; }
.admin-body .moderation-ring b { font-size: 22px; }
.admin-body .moderation-ring span { color: #667085; font-size: 9px; }

.admin-body .tag-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.admin-body .tag-table-card { padding: 0; overflow: hidden; }
.admin-body .tag-table-card > header input { width: 220px; }
.admin-body .tag-list-premium { display: grid; }
.admin-body .tag-list-premium > button { display: grid; grid-template-columns: 28px minmax(0, 1fr) 90px 70px; align-items: center; gap: 11px; min-height: 54px; padding: 9px 16px; border: 0; border-bottom: 1px solid #edf0f4; border-radius: 0; background: #fff; text-align: left; }
.admin-body .tag-list-premium > button:hover,
.admin-body .tag-list-premium > button.active { background: #f6f9ff; }
.admin-body .tag-list-premium i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 6px; background: #edf4ff; color: var(--admin-blue); font-style: normal; font-weight: 900; }
.admin-body .tag-list-premium span { display: grid; gap: 2px; }
.admin-body .tag-list-premium b { font-size: 11px; }
.admin-body .tag-list-premium small { color: #98a2b3; font-size: 9px; }
.admin-body .tag-list-premium em { color: #667085; font-size: 10px; font-style: normal; }
.admin-body .tag-list-premium mark { padding: 4px 7px; border-radius: 999px; background: #e8f8ef; color: #087a42; font-size: 8px; text-align: center; }
.admin-body .tag-editor,
.admin-body .tag-insight { padding: 18px; }
.admin-body .tag-editor label { display: grid; gap: 5px; margin-bottom: 11px; }
.admin-body .tag-editor > div { display: flex; justify-content: flex-end; gap: 8px; padding-top: 5px; }
.admin-body .tag-insight > b { display: block; margin: 12px 0 4px; font-size: 32px; }
.admin-body .tag-insight > p { margin: 0 0 12px; font-size: 11px; }
.admin-body .tag-insight > small { color: #98a2b3; font-size: 9px; }

@media (max-width: 1280px) {
  .admin-body .taxonomy-premium-page { grid-template-columns: 250px minmax(0, 1fr); }
  .admin-body .taxonomy-insights { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .admin-body .comment-workspace { grid-template-columns: 300px minmax(0, 1fr); }
  .admin-body .comment-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .admin-body .dashboard-stats,
  .admin-body .campaign-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .dashboard-grid,
  .admin-body .profile-premium-grid,
  .admin-body .tag-workspace { grid-template-columns: minmax(0, 1fr); }
  .admin-body .dashboard-side,
  .admin-body .profile-side-stack,
  .admin-body .tag-side-stack { grid-template-columns: 1fr 1fr; }
  .admin-body .taxonomy-premium-page,
  .admin-body .comment-workspace { grid-template-columns: minmax(0, 1fr); }
  .admin-body .taxonomy-insights,
  .admin-body .comment-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .admin-body .portal-content { padding: 14px; }
  .admin-body .dashboard-welcome,
  .admin-body .campaign-command,
  .admin-body .comment-command,
  .admin-body .tag-command,
  .admin-body .profile-hero { align-items: flex-start; flex-direction: column; }
  .admin-body .dashboard-stats,
  .admin-body .campaign-metrics,
  .admin-body .dashboard-side,
  .admin-body .profile-side-stack,
  .admin-body .taxonomy-insights,
  .admin-body .comment-side { grid-template-columns: minmax(0, 1fr); }
  .admin-body .comment-command > div:last-child { width: 100%; overflow-x: auto; }
  .admin-body .taxonomy-status-row { align-items: stretch; flex-direction: column; }
  .admin-body .taxonomy-status-row > label { width: 100%; }
  .admin-body .tag-list-premium > button { grid-template-columns: 28px minmax(0, 1fr) 70px; }
  .admin-body .tag-list-premium mark { display: none; }
}

/* Real-device flash notification preview */
.admin-body .phone-preview-card {
  padding: 18px 18px 22px;
  overflow: hidden;
  background: #fbfcfe;
}
.admin-body .push-phone {
  position: relative;
  width: min(100%, 258px);
  aspect-ratio: 9 / 18.9;
  margin: 18px auto 2px;
  padding: 6px;
  border: 1px solid #0b1220;
  border-radius: 42px;
  background: #050a12;
  box-shadow: 0 24px 52px rgba(8, 24, 42, .24), inset 0 0 0 1px rgba(255,255,255,.16);
}
.admin-body .push-phone::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 0;
  border: 1px solid #3b4655;
  border-radius: 39px;
  pointer-events: none;
}
.admin-body .phone-side {
  position: absolute;
  z-index: 2;
  width: 3px;
  border-radius: 2px;
  background: #1d2734;
}
.admin-body .phone-side-left-one { top: 88px; left: -4px; height: 32px; }
.admin-body .phone-side-left-two { top: 132px; left: -4px; height: 54px; }
.admin-body .phone-side-right { top: 124px; right: -4px; height: 72px; }
.admin-body .push-phone-screen {
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 14px 12px 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 36px;
  background: linear-gradient(165deg, #526878 0%, #2b4052 42%, #101d2c 72%, #07111d 100%);
}
.admin-body .push-phone-screen::before {
  content: "";
  position: absolute;
  inset: 48% -42% -35% 24%;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 48%;
  background: rgba(255,255,255,.035);
  transform: rotate(-28deg);
}
.admin-body .push-phone-screen::after {
  inset: 58% -18% -28% -25%;
  height: auto;
  border-color: rgba(255,255,255,.08);
  transform: rotate(24deg);
}
.admin-body .phone-island {
  top: 10px;
  width: 82px;
  height: 23px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 999px;
  background: #02050a;
}
.admin-body .phone-island i {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #172a40;
  box-shadow: inset 0 0 0 2px #08111c;
}
.admin-body .phone-status {
  position: relative;
  z-index: 2;
  align-items: center;
  padding: 1px 5px 0;
  font-size: 8px;
  letter-spacing: 0;
}
.admin-body .phone-signals {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.admin-body .phone-signals > i {
  width: 2px;
  border-radius: 2px;
  background: #fff;
}
.admin-body .phone-signals > i:nth-child(1) { height: 3px; }
.admin-body .phone-signals > i:nth-child(2) { height: 5px; }
.admin-body .phone-signals > i:nth-child(3) { height: 7px; }
.admin-body .phone-signals > i:nth-child(4) { height: 9px; }
.admin-body .phone-signals b { margin-left: 3px; font-size: 11px; line-height: .8; }
.admin-body .phone-signals em {
  min-width: 22px;
  padding: 2px 3px;
  border-radius: 4px;
  background: rgba(255,255,255,.88);
  color: #101828;
  font-size: 7px;
  font-style: normal;
  text-align: center;
}
.admin-body .phone-lock-time {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  margin-top: 42px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.admin-body .phone-lock-time small { font-size: 10px; font-weight: 650; }
.admin-body .phone-lock-time time {
  margin-top: 2px;
  font-size: 53px;
  font-weight: 250;
  line-height: 1;
  letter-spacing: -1px;
}
.admin-body .push-phone .push-notification-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  margin-top: 54px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 15px;
  background: rgba(248,250,252,.9);
  box-shadow: 0 16px 34px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
}
.admin-body .push-phone .push-notification-card header { gap: 8px; }
.admin-body .push-phone .push-notification-card header > b {
  width: 25px;
  height: 25px;
  border-radius: 6px;
  background: #e80715;
  box-shadow: 0 4px 10px rgba(232,7,21,.18);
}
.admin-body .push-phone .push-notification-card header span { display: grid; gap: 0; font-size: 9px; }
.admin-body .push-phone .push-notification-card header small { font-size: 7px; font-weight: 650; }
.admin-body .push-phone .push-notification-card header em { font-size: 6px; }
.admin-body .push-phone .push-notification-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: #101828;
  font-size: 11px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.admin-body .push-phone .push-notification-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #475467;
  font-size: 8px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.admin-body .push-phone .push-notification-card footer { font-size: 7px; }
.admin-body .phone-lock-actions {
  position: absolute;
  right: 16px;
  bottom: 26px;
  left: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}
.admin-body .phone-lock-actions button {
  display: grid;
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(8,17,28,.55);
  color: #fff;
  font-size: 12px;
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.admin-body .push-phone .phone-home { bottom: 7px; width: 92px; height: 3px; }

@media (max-width: 1280px) {
  .admin-body .push-phone { width: min(100%, 246px); }
  .admin-body .editor-pro-layout { grid-template-columns: minmax(540px, 1fr) 320px; }
  .admin-body .pro-toolbar { flex-wrap: wrap; overflow: visible; }
  .admin-body .pro-toolbar .source-toggle { margin-left: 0; }
  .admin-body .editor-control-column { grid-column: 2; grid-template-columns: 1fr; }
  .admin-body .editor-control-column > section,
  .admin-body .editor-control-column > .publish-card,
  .admin-body .editor-control-column > .publish-meta-card,
  .admin-body .editor-control-column > .editor-readiness-card,
  .admin-body .editor-control-column > .editor-preview-card { grid-column: 1; grid-row: auto; }
}
@media (max-width: 920px) {
  .admin-body .editor-pro-layout { grid-template-columns: 1fr; }
  .admin-body .editor-control-column { grid-column: 1; }
}

.admin-sidebar-backdrop { display: none; }

@media (max-width: 900px) {
  .admin-body .portal-app,
  .admin-body.sidebar-collapsed .portal-app { grid-template-columns: minmax(0, 1fr); }
  .admin-body .portal-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    width: min(82vw, 264px);
    height: 100dvh;
    padding: 18px 12px;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 18px 0 48px rgba(4, 12, 24, .28);
  }
  .admin-body.sidebar-open .portal-sidebar { transform: translateX(0); }
  .admin-body .portal-sidebar nav { display: grid; grid-template-columns: 1fr; }
  .admin-body .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    border: 0;
    background: rgba(7, 16, 31, .42);
    backdrop-filter: blur(2px);
  }
  .admin-body.sidebar-open .admin-sidebar-backdrop { display: block; }
  .admin-body .portal-top { grid-template-columns: 40px minmax(0, 1fr) auto; min-height: 58px; padding: 0 12px; }
  .admin-body .portal-top h1 { overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
  .admin-body .portal-search,
  .admin-body .portal-tools .portal-user { display: none; }
  .admin-body .portal-tools { gap: 6px; }
  .admin-body .portal-content { width: 100%; padding: 12px; }
  .admin-body .portal-crumb { margin-bottom: 12px; font-size: 11px; }
  .admin-body .editor-pro-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-body .editor-control-column { grid-column: 1; grid-template-columns: minmax(0, 1fr); }
  .admin-body .editor-form-pro { padding: 14px; }
  .admin-body .editor-form-pro .rich-editor { min-height: 360px; }
}

/* Functional settings workspace */
.admin-body .settings-heading { margin-bottom: 20px; }
.admin-body .settings-heading span { color: #2854d7; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.admin-body .settings-heading h2 { margin: 4px 0; font-size: 24px; }
.admin-body .settings-heading p { margin: 0; color: #667085; }
.admin-body .settings-main-card form { display: grid; gap: 18px; }
.admin-body .settings-main-card [data-settings-panel] { display: grid; gap: 16px; min-height: 310px; align-content: start; }
.admin-body .settings-main-card [data-settings-panel][hidden] { display: none; }
.admin-body .settings-savebar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid #e7ebf2; }
.admin-body .settings-savebar span, .admin-body .settings-note { color: #667085; font-size: 12px; }
.admin-body .brand-assets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-body .brand-assets article { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 14px; min-height: 112px; padding: 16px; border: 1px solid #e4e9f1; border-radius: 8px; background: #fafbfc; }
.admin-body .brand-assets img { width: 78px; height: 70px; object-fit: contain; background: #fff; border: 1px solid #edf0f5; }
.admin-body .brand-assets div { display: grid; gap: 4px; }
.admin-body .brand-assets small { color: #7b8494; }
.admin-body .seo-main-card form { display: grid; gap: 16px; }
.admin-body .seo-toggle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.admin-body .settings-link { display: block; padding: 11px 0; border-bottom: 1px solid #edf0f4; color: #2854d7; font-weight: 700; text-decoration: none; }
.admin-body .settings-health p { margin: 12px 0; }
@media (max-width: 1120px) {
  .admin-body .brand-assets, .admin-body .seo-toggle-grid { grid-template-columns: 1fr; }
  .admin-body .brand-assets article { grid-template-columns: 64px 1fr; }
  .admin-body .brand-assets article button { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .admin-body .settings-savebar { align-items: stretch; flex-direction: column; }
  .admin-body .settings-tabs { overflow-x: auto; }
}

/* Reference-matched general settings */
.admin-body .settings-reference-page {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.admin-body .settings-reference-tabs {
  display: flex;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  padding: 0 8px;
  scrollbar-width: thin;
}
.admin-body .settings-reference-tabs button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #344054;
  font-size: 12px;
  font-weight: 760;
}
.admin-body .settings-reference-tabs button .lucide-icon {
  width: 17px;
  height: 17px;
}
.admin-body .settings-reference-tabs button.active {
  border-bottom-color: #155eef;
  color: #155eef;
}
.admin-body .settings-reference-layout {
  display: grid;
  grid-template-columns: minmax(560px, 1fr) 290px;
  gap: 16px;
  align-items: start;
  min-width: 0;
}
.admin-body .settings-reference-main,
.admin-body .settings-behavior-card,
.admin-body .settings-reference-aside {
  min-width: 0;
}
.admin-body .settings-reference-main form,
.admin-body .settings-reference-main [data-settings-panel] {
  display: grid;
  gap: 18px;
}
.admin-body .settings-reference-main [data-settings-panel][hidden] {
  display: none;
}
.admin-body .settings-page-block { display: grid; gap: 14px; padding: 16px; border: 1px solid #e4e9f1; border-radius: 10px; background: #fafbfc; }
.admin-body .settings-page-block + .settings-page-block { margin-top: 2px; }
.admin-body .settings-page-block h3 { margin: 0; color: #243047; font-size: 13px; }
.admin-body .settings-reference-main h2,
.admin-body .settings-behavior-card h2,
.admin-body .settings-reference-aside h2 {
  margin-bottom: 18px;
  font-size: 16px;
}
.admin-body .settings-name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
  align-items: end;
}
.admin-body .settings-name-row > span {
  display: grid;
  gap: 8px;
}
.admin-body .settings-name-row > span small {
  font-size: 12px;
  font-weight: 800;
}
.admin-body .settings-name-row > span b {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #e1e7ef;
  border-radius: 7px;
  background: #f8fafc;
  color: #475467;
  font-size: 12px;
}
.admin-body .settings-reference-main label {
  position: relative;
  display: grid;
  gap: 8px;
}
.admin-body .settings-reference-main label > small {
  justify-self: end;
  color: #98a2b3;
  font-weight: 650;
}
.admin-body .settings-brand-inline {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr);
  gap: 14px;
}
.admin-body .settings-brand-inline article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fbfcfe;
}
.admin-body .settings-brand-inline img {
  width: min(160px, 48%);
  height: 54px;
  object-fit: contain;
}
.admin-body .settings-brand-inline .favicon-preview img {
  width: 44px;
  height: 44px;
  padding: 5px;
  border-radius: 8px;
  background: #08182a;
}
.admin-body .settings-behavior-card > div {
  display: grid;
}
.admin-body .settings-toggle-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f5;
}
.admin-body .settings-toggle-row:last-child {
  border-bottom: 0;
}
.admin-body .settings-toggle-row > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.admin-body .settings-toggle-row b {
  color: #101828;
  font-size: 12px;
}
.admin-body .settings-toggle-row small {
  line-height: 1.35;
}
.admin-body .settings-toggle-row input {
  appearance: none;
  flex: 0 0 auto;
  width: 36px !important;
  min-height: 20px !important;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
  cursor: pointer;
  transition: background .18s ease;
}
.admin-body .settings-toggle-row input::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .25);
  transition: transform .18s ease;
}
.admin-body .settings-toggle-row input:checked {
  background: #155eef;
}
.admin-body .settings-toggle-row input:checked::before {
  transform: translateX(16px);
}
.admin-body .settings-reference-aside {
  display: grid;
  gap: 16px;
}
.admin-body .settings-quick-card > button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 9px 2px;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.admin-body .settings-quick-card > button:last-child {
  border-bottom: 0;
}
.admin-body .settings-quick-card > button .lucide-icon {
  width: 18px;
  height: 18px;
  color: #155eef;
}
.admin-body .settings-quick-card > button span {
  display: grid;
  gap: 3px;
}
.admin-body .settings-quick-card > button b {
  font-size: 12px;
}
.admin-body .settings-quick-card > button small {
  font-size: 10px;
  font-weight: 600;
}
.admin-body .settings-server-card p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #edf1f5;
  font-size: 11px;
}
.admin-body .settings-server-card p b {
  color: #344054;
  text-align: right;
}
.admin-body .settings-server-card button {
  width: 100%;
  margin-top: 12px;
  color: #155eef;
}
.admin-body .settings-system-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.admin-body .settings-system-card h2,
.admin-body .settings-system-card button {
  grid-column: 1 / -1;
}
.admin-body .settings-system-card p {
  display: grid;
  gap: 4px;
  margin: 0;
}
.admin-body .settings-system-card p b {
  font-size: 11px;
}
.admin-body .settings-system-card p small {
  font-size: 10px;
}
.admin-body .settings-system-ok {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #079455;
  font-weight: 900;
}
.admin-body .settings-system-card button {
  justify-self: start;
  color: #155eef;
}
@media (max-width: 1450px) {
  .admin-body .settings-reference-layout {
    grid-template-columns: minmax(460px, 1fr) minmax(340px, .82fr);
  }
  .admin-body .settings-reference-aside {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1120px) {
  .admin-body .settings-reference-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-body .settings-reference-aside {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 680px) {
  .admin-body .settings-name-row,
  .admin-body .settings-brand-inline,
  .admin-body .settings-reference-main .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-body .settings-reference-tabs button {
    min-height: 48px;
    padding: 0 10px;
  }
  .admin-body .settings-reference-main,
  .admin-body .settings-behavior-card,
  .admin-body .settings-reference-aside .portal-card {
    padding: 15px;
  }
}

/* Sidebar sizing and icon-only desktop collapse */
@media (min-width: 901px) {
  .admin-body .portal-app {
    grid-template-columns: 258px minmax(0, 1fr);
    transition: grid-template-columns .22s ease;
  }
  .admin-body .portal-sidebar {
    padding: 16px 13px 18px;
  }
  .admin-body .portal-brand {
    padding: 2px 10px 16px;
  }
  .admin-body .portal-brand strong {
    font-size: 25px;
  }
  .admin-body .portal-brand small {
    padding-left: 56px;
    font-size: 10px;
  }
  .admin-body .portal-sidebar .nav-group-toggle {
    min-height: 32px;
    padding: 0 11px;
    font-size: 10px;
  }
  .admin-body .portal-sidebar nav button {
    min-height: 35px;
    padding: 0 11px;
    font-size: 12.5px;
  }
  .admin-body .portal-sidebar nav button i {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
  .admin-body .portal-sidebar nav button i .lucide-icon {
    width: 19px;
    height: 19px;
  }
  .admin-body.sidebar-collapsed .portal-app {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .admin-body.sidebar-collapsed .portal-sidebar {
    padding-inline: 10px;
  }
  .admin-body.sidebar-collapsed .portal-brand {
    min-height: 44px;
    padding: 0 0 12px;
  }
  .admin-body.sidebar-collapsed .portal-brand::before {
    content: "IP";
    display: grid;
    width: 40px;
    height: 34px;
    margin: 0 auto;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 7px;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
  }
  .admin-body.sidebar-collapsed .portal-brand strong,
  .admin-body.sidebar-collapsed .portal-brand small,
  .admin-body.sidebar-collapsed .portal-sidebar .nav-group-toggle {
    display: none;
  }
  .admin-body.sidebar-collapsed .portal-sidebar .nav-group-items {
    display: grid !important;
    gap: 4px;
  }
  .admin-body.sidebar-collapsed .portal-sidebar .nav-group {
    gap: 0;
  }
  .admin-body.sidebar-collapsed .portal-sidebar nav button {
    justify-content: center;
    min-height: 40px;
    padding: 0;
    font-size: 0;
  }
  .admin-body.sidebar-collapsed .portal-sidebar nav button > span {
    display: none;
  }
  .admin-body.sidebar-collapsed .portal-sidebar nav button i,
  .admin-body.sidebar-collapsed .portal-sidebar nav button i .lucide-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .admin-body .menu-toggle .lucide-icon {
    width: 19px;
    height: 19px;
  }
}

/* Refined advertisement workflow */
.admin-body .ad-placement-page {
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 18px;
}
.admin-body .ad-workflow-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 13px 18px;
  border: 1px solid #e3e9f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .035);
}
.admin-body .ad-workflow-bar > div {
  display: grid;
  gap: 3px;
}
.admin-body .ad-workflow-bar > div b {
  color: #101828;
  font-size: 13px;
}
.admin-body .ad-workflow-bar > div span {
  color: #7c8797;
  font-size: 10px;
  font-weight: 700;
}
.admin-body .ad-workflow-bar ol {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.admin-body .ad-workflow-bar li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 108px;
  color: #7b8797;
  font-size: 10px;
  font-weight: 800;
}
.admin-body .ad-workflow-bar li:not(:last-child)::after {
  content: "";
  width: 24px;
  height: 1px;
  margin: 0 10px;
  background: #dce3ec;
}
.admin-body .ad-workflow-bar li i,
.admin-body .ad-section-heading > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid #dbe3ed;
  border-radius: 7px;
  background: #f7f9fc;
  color: #59677b;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.admin-body .ad-workflow-bar li.active { color: #155eef; }
.admin-body .ad-workflow-bar li.active i,
.admin-body .ad-section-heading > span {
  border-color: #c8d9ff;
  background: #edf3ff;
  color: #155eef;
}
.admin-body .ad-placement-main,
.admin-body .ad-placement-side { gap: 18px; }
.admin-body .ad-placement-page .portal-card {
  box-shadow: 0 8px 22px rgba(15, 23, 42, .035);
}
.admin-body .ad-form-section { gap: 17px; padding: 20px 22px; }
.admin-body .ad-section-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 11px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f4;
}
.admin-body .ad-section-heading > div {
  display: grid;
  gap: 3px;
}
.admin-body .ad-section-heading h2 { font-size: 14px; }
.admin-body .ad-section-heading p {
  margin: 0;
  color: #7c8797;
  font-size: 10px;
  font-weight: 650;
}
.admin-body .ad-section-heading.compact { padding-bottom: 12px; }
.admin-body .ad-section-heading.compact > span { width: 26px; height: 26px; flex-basis: 26px; }
.admin-body .ad-basic-section > label:first-of-type input { min-height: 44px; font-size: 13px; }
.admin-body .ad-device-field {
  padding: 19px 12px 0;
  border: 1px solid #e1e7ef;
  border-radius: 7px;
  background: #fbfcfe;
}
.admin-body .ad-device-field legend { transform: translate(-1px, -21px); }
.admin-body .ad-material-tabs { gap: 10px; padding: 3px; border: 1px solid #e3e8ef; border-radius: 7px; background: #f7f9fc; }
.admin-body .ad-material-tabs button {
  flex: 1;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
}
.admin-body .ad-material-tabs button.active {
  border: 0;
  background: #fff;
  color: #155eef;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}
.admin-body .ad-material-section .upload-grid button { min-height: 148px; }
.admin-body .ad-publish-settings,
.admin-body .ad-stat-card,
.admin-body .ad-help-card,
.admin-body .ad-readiness-card { padding: 18px 19px; }
.admin-body .ad-publish-settings { gap: 15px; }
.admin-body .ad-publish-settings > label:not(.ad-switch-row) { padding-top: 1px; }
.admin-body .ad-switch-row {
  min-height: 58px;
  padding: 9px 2px;
  border-bottom: 1px solid #edf0f4;
}
.admin-body .ad-switch-row > span:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.admin-body .ad-switch-row > span:first-child b {
  color: #172033;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}
.admin-body .ad-switch-row > span:first-child small {
  max-width: 210px;
  color: #7b8798;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
}
.admin-body .ad-switch-control {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}
.admin-body .ad-switch-control em {
  order: -1;
  min-width: 42px;
  color: #168554;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}
.admin-body .ad-switch-control em::before { content: "Aktiv"; }
.admin-body .ad-switch-control input:not(:checked) + em { color: #8a95a5; }
.admin-body .ad-switch-control input:not(:checked) + em::before { content: "Deaktiv"; }
.admin-body .ad-switch-control input {
  width: 44px;
  height: 24px;
  background: #cbd3df;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .07);
}
.admin-body .ad-switch-control input::before {
  width: 20px;
  height: 20px;
  margin: 2px;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .18);
}
.admin-body .ad-switch-control input:checked {
  background: #16a765;
  box-shadow: inset 0 0 0 1px rgba(6, 118, 71, .08), 0 0 0 3px rgba(22, 167, 101, .08);
}
.admin-body .ad-switch-control input:checked::before { transform: translateX(20px); }
.admin-body .ad-switch-control input:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}
.admin-body .ad-publish-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.admin-body .ad-publish-summary span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e4e9f0;
  border-radius: 7px;
  background: #f8fafc;
}
.admin-body .ad-publish-summary small { color: #8490a1; font-size: 9px; font-weight: 750; }
.admin-body .ad-publish-summary b { overflow: hidden; color: #344054; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .ad-publish-main { min-height: 44px !important; }
.admin-body .ad-readiness-card {
  display: grid;
  gap: 14px;
}
.admin-body .ad-readiness-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.admin-body .ad-readiness-card header div { display: grid; gap: 4px; }
.admin-body .ad-readiness-card header p { margin: 0; color: #7c8797; font-size: 10px; }
.admin-body .ad-readiness-card header strong {
  padding: 6px 8px;
  border-radius: 999px;
  background: #f0f3f7;
  color: #667085;
  font-size: 10px;
}
.admin-body .ad-readiness-card > div { display: grid; gap: 7px; }
.admin-body .ad-readiness-card > div span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}
.admin-body .ad-readiness-card > div span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8d0dc;
  box-shadow: 0 0 0 4px #f1f3f6;
}
.admin-body .ad-readiness-card > div span.is-ready { color: #087a42; }
.admin-body .ad-readiness-card > div span.is-ready i { background: #12b76a; box-shadow: 0 0 0 4px #e8f8ef; }
@media (max-width: 1180px) {
  .admin-body .ad-placement-page { grid-template-columns: minmax(0, 1fr) 320px; }
  .admin-body .ad-workflow-bar li { min-width: auto; }
  .admin-body .ad-workflow-bar li span { display: none; }
}
@media (max-width: 900px) {
  .admin-body .ad-placement-page { grid-template-columns: 1fr; }
  .admin-body .ad-workflow-bar { align-items: flex-start; flex-direction: column; }
  .admin-body .ad-workflow-bar ol { width: 100%; justify-content: space-between; }
  .admin-body .ad-workflow-bar li span { display: inline; }
}
@media (max-width: 680px) {
  .admin-body .ad-workflow-bar { padding: 13px 14px; }
  .admin-body .ad-workflow-bar > div span { display: none; }
  .admin-body .ad-workflow-bar li:not(:last-child)::after { display: none; }
  .admin-body .ad-workflow-bar ol { display: grid; grid-template-columns: repeat(4, 1fr); }
  .admin-body .ad-workflow-bar li { display: grid; justify-items: center; gap: 5px; min-width: 0; }
  .admin-body .ad-workflow-bar li span { display: block; font-size: 9px; }
  .admin-body .ad-form-section { padding: 16px; }
  .admin-body .ad-publish-summary { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .admin-body .media-workspace { grid-template-columns: 1fr; }
  .admin-body .media-side-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .admin-body .media-archive-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .media-side-stack { grid-template-columns: 1fr; }
  .admin-body .media-filter-smart { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .admin-body .media-command { align-items: stretch; flex-direction: column; }
  .admin-body .media-command .primary { width: 100%; }
  .admin-body .media-archive-stats,
  .admin-body .media-filter-smart,
  .admin-body .media-search-line,
  .media-metadata-grid { grid-template-columns: 1fr; }
  .media-metadata-grid .wide { grid-column: auto; }
  .media-metadata-modal { padding: 10px; }
  .media-metadata-modal > form { max-height: calc(100vh - 20px); padding: 16px; }
  .media-metadata-modal footer { display: grid; grid-template-columns: 1fr; }
  .watermark-studio { padding: 12px; }
  .watermark-studio > header { display: grid; }
  .watermark-studio > header > button { width: 100%; min-width: 0; }
  .watermark-workspace { grid-template-columns: 1fr; }
  .watermark-canvas,
  .watermark-source { min-height: 220px; }
  .watermark-controls { min-height: 0; }
}
/* Article distribution workspace */
.admin-body .article-distribution-card { grid-column: 1 / -1 !important; display: grid; gap: 14px; overflow: hidden; }
.admin-body .article-distribution-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.admin-body .article-distribution-card > header span { color: #2854d7; font-size: 10px; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }
.admin-body .article-distribution-card > header h2 { margin: 3px 0 0; padding: 0; border: 0; }
.admin-body .article-distribution-card > header > b { padding: 6px 9px; border-radius: 6px; background: #edf3ff; color: #244ec6; font-size: 11px; white-space: nowrap; }
.admin-body .article-format-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid #e2e8f2; border-radius: 8px; background: #f6f8fb; }
.admin-body .article-format-switch button { min-height: 34px; border: 0; background: transparent; color: #667085; box-shadow: none; font-weight: 780; }
.admin-body .article-format-switch button.active { background: #fff; color: #183b9b; box-shadow: 0 3px 10px rgba(15, 39, 88, .08); }
.admin-body .article-video-source[hidden], .admin-body .facebook-post-link[hidden] { display: none; }
.admin-body .facebook-post-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); gap: 10px; }
.admin-body .facebook-post-link > label { min-width: 0; }
.admin-body .article-video-source small, .admin-body .facebook-post-link small { color: #7a8496; font-weight: 600; }
.admin-body .social-channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-body .editor-control-column label.social-channel-option { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) 18px; align-items: center; gap: 9px; min-height: 56px; padding: 9px 10px; border: 1px solid #e2e8f2; border-radius: 8px; background: #fff; cursor: pointer; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.admin-body .social-channel-option.is-selected { border-color: #b8c9ff; background: #f7f9ff; box-shadow: 0 5px 14px rgba(44, 82, 196, .06); }
.admin-body .social-channel-option.is-disabled { opacity: .48; cursor: not-allowed; }
.admin-body .social-channel-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.admin-body .social-channel-option > i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: #eef2f7; color: #25324a; font-size: 10px; font-style: normal; font-weight: 900; }
.admin-body .social-channel-option .channel-facebook { background: #eaf1ff; color: #1877f2; font-size: 18px; }
.admin-body .social-channel-option .channel-instagram, .admin-body .social-channel-option .channel-instagramChannel { background: #fff0f6; color: #c13584; }
.admin-body .social-channel-option .channel-telegram { background: #e9f7ff; color: #168ac1; }
.admin-body .social-channel-option .channel-whatsapp { background: #eafaf1; color: #128c4a; }
.admin-body .social-channel-option .channel-tiktok { background: #111827; color: #fff; }
.admin-body .social-channel-option .channel-youtube { background: #fff0f0; color: #e60023; }
.admin-body .social-channel-option span { min-width: 0; }
.admin-body .social-channel-option b, .admin-body .social-channel-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .social-channel-option b { color: #172033; font-size: 11px; }
.admin-body .social-channel-option small { margin-top: 2px; color: #7a8496; font-size: 9px; font-weight: 650; }
.admin-body .social-channel-option > em { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid #cbd4e2; border-radius: 5px; background: #fff; }
.admin-body .social-channel-option.is-selected > em { border-color: #315efb; background: #315efb; }
.admin-body .social-channel-option.is-selected > em::after { content: ""; width: 7px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-1px); }
.admin-body .article-distribution-card > footer { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 12px; border-top: 1px solid #edf1f6; color: #667085; font-size: 10px; font-weight: 650; }
.admin-body .article-distribution-card > footer span { display: flex; align-items: center; gap: 6px; }
.admin-body .article-distribution-card > footer i { width: 6px; height: 6px; border-radius: 50%; background: #20b26b; }
.admin-body .article-distribution-card > footer span + span i { background: #f2a900; }

/* Facebook remains the source of truth; comments are synchronized into this article surface. */
.facebook-discussion { display: grid; gap: 14px; margin: 26px 0 18px; padding: 18px; border: 1px solid #dce6f7; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(24, 119, 242, .07); }
.facebook-discussion > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 13px; border-bottom: 1px solid #edf1f7; }
.facebook-discussion > header > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.facebook-discussion > header .share-icon { flex: 0 0 auto; width: 30px; height: 30px; padding: 7px; border-radius: 7px; background: #1877f2; color: #fff; fill: currentColor; stroke: none; }
.facebook-discussion > header span { min-width: 0; }
.facebook-discussion > header b, .facebook-discussion > header small { display: block; }
.facebook-discussion > header b { color: #172033; font-size: 15px; }
.facebook-discussion > header small { margin-top: 3px; color: #667085; font-size: 11px; line-height: 1.4; }
.facebook-discussion > header > strong { display: grid; min-width: 32px; height: 28px; padding: 0 8px; place-items: center; border-radius: 6px; background: #eef5ff; color: #1859ad; font-size: 12px; }
.facebook-comments-status { padding: 16px; border: 1px dashed #d8e1ee; border-radius: 7px; background: #fafcff; color: #667085; font-size: 12px; text-align: center; }
.facebook-comments-list { display: grid; gap: 12px; }
.facebook-comment { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; margin: 0; }
.facebook-comment > img, .facebook-comment > i { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #edf2f8; color: #344054; object-fit: cover; font-size: 11px; font-style: normal; font-weight: 850; }
.facebook-comment > div { min-width: 0; padding: 10px 12px; border-radius: 7px; background: #f5f7fa; }
.facebook-comment header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.facebook-comment b { color: #172033; font-size: 12px; }
.facebook-comment time { color: #98a2b3; font-size: 9px; white-space: nowrap; }
.facebook-comment p { margin: 5px 0 0 !important; color: #344054; font-size: 12px !important; line-height: 1.55; }
.facebook-comment small { display: block; margin-top: 6px; color: #667085; font-size: 9px; }
.facebook-discussion > footer { display: flex; align-items: center; gap: 8px; }
.facebook-discussion > footer button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.facebook-discussion > footer [data-facebook-comment] { flex: 1; border: 1px solid #1877f2; background: #1877f2; color: #fff; }
.facebook-discussion > footer [data-facebook-comment] .share-icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.facebook-discussion > footer [data-facebook-comments-refresh] { width: 40px; border: 1px solid #d8e1ee; background: #fff; color: #36516f; }
.facebook-discussion > footer [data-facebook-comments-refresh].is-loading { animation: facebook-refresh .8s linear infinite; }
@keyframes facebook-refresh { to { transform: rotate(360deg); } }
@media (min-width: 1281px) {
  .admin-body .editor-control-column > .article-distribution-card { grid-column: 1 / -1 !important; grid-row: 1; }
  .admin-body .editor-control-column > .publish-card { grid-column: 2; grid-row: 2; }
  .admin-body .editor-control-column > .publish-meta-card { grid-column: 2; grid-row: 3; }
  .admin-body .editor-control-column > .editor-readiness-card { grid-column: 2; grid-row: 4; }
  .admin-body .editor-control-column > .editor-preview-card { grid-column: 1 / -1; grid-row: 5; }
}
@media (max-width: 1280px) {
  .admin-body .editor-control-column > .article-distribution-card,
  .admin-body .editor-control-column > .publish-card,
  .admin-body .editor-control-column > .publish-meta-card,
  .admin-body .editor-control-column > .editor-readiness-card,
  .admin-body .editor-control-column > .editor-preview-card { grid-column: 1 !important; grid-row: auto; }
}
@media (max-width: 620px) { .admin-body .social-channel-grid, .admin-body .facebook-post-link { grid-template-columns: minmax(0, 1fr); } .facebook-discussion { padding: 14px; } .facebook-discussion > header { align-items: flex-start; } .facebook-comment header { align-items: flex-start; flex-direction: column; gap: 2px; } }

.admin-body .user-edit-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; }
.admin-body .user-edit-actions button { min-height: 42px; border: 1px solid #d7deea; border-radius: 7px; background: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.admin-body .facebook-connect-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 14px 0 18px; padding: 16px; border: 1px solid #dce7fa; border-radius: 9px; background: #f5f8ff; }
.admin-body .facebook-connect-card b, .admin-body .facebook-connect-card small { display: block; }
.admin-body .facebook-connect-card b { color: #172b4d; }
.admin-body .facebook-connect-card small { margin-top: 5px; color: #667085; }
@media (max-width: 620px) { .admin-body .user-edit-actions { grid-template-columns: 1fr; } .admin-body .facebook-connect-card { align-items: stretch; flex-direction: column; } }

/* Facebook post interaction surface, matched to the native post hierarchy. */
.facebook-discussion { gap: 0; margin: 28px 0 20px; padding: 0; overflow: hidden; border: 1px solid #d9dde3; border-radius: 8px; box-shadow: none; }
.facebook-post-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 50px; border-bottom: 1px solid #d9dde3; }
.facebook-post-actions button { display: inline-flex; min-width: 0; align-items: center; justify-content: center; gap: 9px; border: 0; background: #fff; color: #606770; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.facebook-post-actions button:hover { background: #f5f6f7; }
.facebook-post-actions button:disabled, .facebook-comment-composer button:disabled { opacity: .48; cursor: not-allowed; }
.facebook-post-actions .share-icon, .facebook-post-actions .icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.facebook-post-actions button:first-child .share-icon { fill: none; }
.facebook-comment-toolbar { display: flex; min-height: 44px; align-items: center; gap: 10px; padding: 0 14px; }
.facebook-comment-toolbar label { margin-right: auto; }
.facebook-comment-toolbar select { min-height: 34px; padding: 0 28px 0 0; border: 0; background-color: transparent; color: #4b4f56; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.facebook-comment-toolbar > span { color: #8a9099; font-size: 10px; white-space: nowrap; }
.facebook-comment-toolbar > button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #667085; font-size: 17px; cursor: pointer; }
.facebook-comment-toolbar > button:hover { background: #f0f2f5; }
.facebook-comment-toolbar > button.is-loading { animation: facebook-refresh .8s linear infinite; }
.facebook-comments-status { margin: 2px 14px 14px; padding: 14px; border-color: #d8dde5; background: #f7f8fa; color: #65676b; font-size: 11px; }
.facebook-comments-list { gap: 12px; padding: 4px 14px 12px; }
.facebook-comment { grid-template-columns: 38px minmax(0, 1fr); gap: 9px; }
.facebook-comment > img, .facebook-comment > i { width: 38px; height: 38px; background: #e4e6eb; color: #4b4f56; font-size: 11px; }
.facebook-comment > div.facebook-comment-stack { padding: 0; border-radius: 0; background: transparent; }
.facebook-comment-bubble { width: fit-content; max-width: min(100%, 760px); padding: 9px 13px 10px; border-radius: 18px; background: #f0f2f5; }
.facebook-comment-bubble b { display: block; color: #050505; font-size: 12px; line-height: 1.25; }
.facebook-comment-bubble p { margin: 2px 0 0 !important; color: #050505; font-size: 13px !important; line-height: 1.42; }
.facebook-comment-stack > footer { display: flex; align-items: center; gap: 12px; padding: 4px 10px 0; }
.facebook-comment-stack > footer time, .facebook-comment-stack > footer button, .facebook-comment-stack > footer small { margin: 0; border: 0; background: transparent; color: #65676b; font: inherit; font-size: 10px; font-weight: 650; }
.facebook-comment-stack > footer button { padding: 0; cursor: pointer; }
.facebook-comment-stack > footer button:hover { text-decoration: underline; }
.facebook-comment-stack > footer small { margin-left: auto; }
.facebook-discussion > footer.facebook-comment-composer { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 9px; padding: 13px 14px 14px; border-top: 1px solid #e4e6eb; }
.facebook-comment-composer > i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #1877f2; color: #fff; }
.facebook-comment-composer > i .share-icon { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.facebook-discussion > footer.facebook-comment-composer button { display: block; min-height: 40px; padding: 7px 14px; border: 0; border-radius: 20px; background: #f0f2f5; color: #65676b; text-align: left; }
.facebook-comment-composer button span, .facebook-comment-composer button small { display: block; }
.facebook-comment-composer button span { font-size: 12px; font-weight: 650; }
.facebook-comment-composer button small { margin-top: 1px; color: #8a9099; font-size: 8px; font-weight: 500; }
@media (max-width: 620px) {
  .facebook-discussion { padding: 0; }
  .facebook-post-actions button { gap: 6px; font-size: 11px; }
  .facebook-post-actions .share-icon, .facebook-post-actions .icon { width: 19px; height: 19px; }
  .facebook-comment-toolbar > span { display: none; }
}

/* Public advertising inventory and inquiry */
.public-ad-page { display: grid; gap: 18px; padding-top: 8px; }
.public-ad-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 24px 0 18px; border-bottom: 1px solid #dce2ea; }
.public-ad-heading > div:first-child { max-width: 720px; }
.public-ad-heading span, .public-ad-request header > span { color: var(--red); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.public-ad-heading h1 { margin: 5px 0 8px; font-size: 34px; line-height: 1.08; }
.public-ad-heading p, .public-ad-request header p { margin: 0; color: #667085; line-height: 1.55; }
.public-ad-heading > div:last-child { display: grid; min-width: 142px; padding: 13px 16px; border-left: 3px solid var(--red); background: #fff; }
.public-ad-heading > div:last-child b { font-size: 28px; }
.public-ad-heading > div:last-child span { color: #667085; text-transform: none; }
.public-ad-device-tabs { display: inline-flex; width: fit-content; padding: 4px; border: 1px solid #dce2ea; border-radius: 7px; background: #fff; }
.public-ad-device-tabs button { min-height: 36px; padding: 0 18px; border-radius: 5px; color: #667085; font-size: 12px; font-weight: 850; }
.public-ad-device-tabs button.active { background: #07101f; color: #fff; }
.public-ad-browser { overflow: hidden; border: 1px solid #d7dee8; border-radius: 8px; background: #fff; box-shadow: 0 18px 50px rgba(7, 16, 31, .08); }
.public-ad-browserbar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid #e3e8ef; background: #f6f7f9; }
.public-ad-browserbar i { width: 7px; height: 7px; border-radius: 50%; background: #d2d7df; }
.public-ad-browserbar i:first-child { background: #ef4444; }.public-ad-browserbar i:nth-child(2) { background: #f5b82e; }.public-ad-browserbar i:nth-child(3) { background: #2fb871; }
.public-ad-browserbar span { margin-left: 10px; color: #8a94a4; font-size: 10px; }
.public-ad-desktop-grid { display: grid; grid-template-columns: 92px minmax(0, 1fr) 92px; gap: 12px; padding: 14px; background: #f4f6f8; }
.public-ad-desktop-grid > aside { display: grid; align-content: start; }
.public-ad-desktop-grid > main { min-width: 0; padding: 12px; background: #fff; }
.public-ad-desktop-grid > main > header { display: flex; align-items: center; gap: 18px; height: 42px; border-bottom: 1px solid #e8ecf1; }
.public-ad-desktop-grid > main > header i { color: var(--red); font-size: 16px; font-weight: 950; font-style: normal; }
.public-ad-desktop-grid > main > header span { width: 11%; height: 5px; border-radius: 3px; background: #dfe4eb; }
.public-ad-lead { display: grid; grid-template-columns: minmax(0, 1fr) 26%; gap: 10px; margin-top: 10px; }
.public-ad-hero { display: grid; height: 150px; place-items: center; background: #111c2c; color: #fff; font-size: 12px; font-weight: 850; }
.public-ad-lead > aside { display: grid; align-content: start; gap: 7px; padding: 10px; border: 1px solid #e5eaf0; }
.public-ad-lead > aside b { font-size: 9px; text-transform: uppercase; }.public-ad-lead > aside i { height: 17px; background: #edf0f4; }
.public-ad-feed { display: grid; grid-template-columns: minmax(0, 1fr) 26%; gap: 10px; margin-top: 10px; }
.public-ad-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }.public-ad-news-grid i { aspect-ratio: 1.4; background: #e9edf2; }
.public-ad-lower { display: grid; grid-template-columns: 30% minmax(0, 1fr); gap: 7px; margin-top: 9px; }.public-ad-lower > div { display: grid; place-items: center; min-height: 72px; background: #07101f; color: #fff; font-size: 9px; font-weight: 800; }
.public-ad-feed > aside { display: grid; align-content: start; gap: 7px; }.public-ad-widget { height: 52px; background: #edf0f4; }.public-ad-weather { display: grid; place-items: center; min-height: 72px; background: #07101f; color: #fff; font-size: 9px; font-weight: 800; }
.public-ad-slot { position: relative; display: grid; width: 100%; min-height: 54px; place-items: center; align-content: center; gap: 2px; padding: 7px; border: 1px dashed #ef3340; border-radius: 5px; background: #fff7f7; color: #9d101a; text-align: center; }
.public-ad-slot[data-public-ad-slot="desktop-left-rail"], .public-ad-slot[data-public-ad-slot="desktop-right-rail"] { min-height: 0; aspect-ratio: 124 / 552; }
.public-ad-slot[data-public-ad-slot="desktop-hero-strip"] { min-height: 0; aspect-ratio: 900 / 65; }
.public-ad-slot[data-public-ad-slot="desktop-sidebar-card"] { min-height: 0; aspect-ratio: 260 / 197; }
.public-ad-slot[data-public-ad-slot="desktop-sidebar-tall"] { min-height: 0; aspect-ratio: 300 / 480; }
.public-ad-slot[data-public-ad-slot="desktop-lower-strip"] { min-height: 0; aspect-ratio: 626 / 197; }
.public-ad-slot[data-public-ad-slot="mobile-top"] { min-height: 0; aspect-ratio: 410 / 72; }
.public-ad-slot[data-public-ad-slot="mobile-hero-strip"] { min-height: 0; aspect-ratio: 410 / 98; }
.public-ad-slot[data-public-ad-slot="mobile-feed-strip"] { min-height: 0; aspect-ratio: 410 / 86; }
.public-ad-slot b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: 10px; }
.public-ad-slot span { font-size: 9px; font-weight: 900; }.public-ad-slot small { color: #7c8798; font-size: 8px; }
.public-ad-slot.selected { border-style: solid; border-color: #165dff; background: #eef4ff; color: #1248bf; box-shadow: inset 0 0 0 1px #165dff; }
.public-ad-slot.selected b { background: #165dff; }
.public-ad-mobile-map { padding: 24px; background: #eef1f5; }.public-ad-phone { width: min(100%, 360px); margin: 0 auto; padding: 10px; border: 8px solid #111827; border-radius: 28px; background: #fff; box-shadow: 0 22px 54px rgba(7,16,31,.2); }
.public-ad-phone-status { height: 16px; }.public-ad-phone header { display: flex; align-items: center; justify-content: space-between; height: 42px; border-block: 1px solid #edf0f4; }.public-ad-phone header i { color: var(--red); font-weight: 950; font-style: normal; }.public-ad-phone header span { width: 22px; height: 3px; background: #111827; }
.public-ad-mobile-hero { display: grid; height: 170px; margin-top: 8px; place-items: center; background: #111c2c; color: #fff; font-size: 11px; font-weight: 850; }.public-ad-mobile-news { display: grid; gap: 6px; margin: 8px 0; }.public-ad-mobile-news i { height: 38px; background: #edf0f4; }
.public-ad-request { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
.public-ad-directory, .public-ad-form { padding: 22px; border: 1px solid #dce2ea; border-radius: 8px; background: #fff; }
.public-ad-request h2 { margin: 4px 0 7px; font-size: 22px; }.public-ad-directory > div { display: grid; gap: 6px; margin-top: 18px; }
.ad-placement-option { display: grid; grid-template-columns: 30px minmax(0, 1fr) 24px; gap: 10px; align-items: center; min-height: 54px; padding: 7px 9px; border: 1px solid #e1e6ed; border-radius: 6px; background: #fff; text-align: left; }
.ad-placement-option > b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #f1f3f6; font-size: 11px; }.ad-placement-option span { display: grid; gap: 2px; }.ad-placement-option strong { font-size: 12px; }.ad-placement-option small { color: #7b8493; font-size: 9px; }.ad-placement-option > i { color: #667085; font-size: 18px; font-style: normal; text-align: center; }
.ad-placement-option.selected { border-color: #165dff; background: #f3f7ff; }.ad-placement-option.selected > b { background: #165dff; color: #fff; }.ad-placement-option.selected > i { color: #165dff; }
.public-ad-selected { display: flex; flex-wrap: wrap; gap: 7px; min-height: 46px; margin: 18px 0; padding: 9px; border: 1px solid #dfe5ed; border-radius: 6px; background: #f7f8fa; }.public-ad-selected p { margin: auto 5px; color: #8a94a4; font-size: 11px; }
.public-ad-selected span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; border: 1px solid #cbd8f0; border-radius: 5px; background: #fff; color: #24364f; font-size: 10px; font-weight: 800; }.public-ad-selected span > b { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: #165dff; color: #fff; font-size: 8px; }.public-ad-selected span small { color: #718096; }.public-ad-selected span button { color: #9d101a; font-size: 15px; }
.public-ad-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.public-ad-form-grid label { display: grid; gap: 6px; color: #344054; font-size: 11px; font-weight: 850; }.public-ad-form-grid label.wide { grid-column: 1 / -1; }.public-ad-form-grid input, .public-ad-form-grid textarea { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #d7dee8; border-radius: 6px; background: #fff; font: inherit; }.public-ad-form-grid textarea { resize: vertical; }
.public-google-gate { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 16px; border: 1px solid #cfd9e8; border-radius: 7px; background: #f7f9fc; }.public-google-gate b { font-size: 12px; }.public-google-gate p { margin: 3px 0 0; color: #667085; font-size: 10px; }.public-google-gate.is-authenticated { border-color: #a6e2c3; background: #f0fbf5; }.public-google-gate.is-authenticated [data-google-signin] { display: none; }
.google-signin-placeholder { display: inline-flex; min-height: 40px; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #c9d0da; border-radius: 5px; background: #fff; color: #273142; font-size: 11px; font-weight: 800; opacity: 1; }.google-signin-placeholder i { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #4285f4; font-size: 15px; font-style: normal; font-weight: 900; }.public-ad-authenticated-fields[hidden] { display: none; }.public-ad-authenticated-fields { margin-top: 16px; }
.public-ad-submit { width: 100%; min-height: 46px; margin-top: 12px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 900; }.public-ad-submit:disabled { background: #c7cdd6; cursor: not-allowed; }.public-ad-form-status { min-height: 18px; margin: 8px 0 0; color: #344054; font-size: 11px; font-weight: 750; }
@media (max-width: 900px) { .page-shell.ads-shell { width: min(100% - 24px, 760px); }.public-ad-request { grid-template-columns: 1fr; }.public-ad-desktop-grid { grid-template-columns: 60px minmax(0, 1fr) 60px; gap: 7px; padding: 8px; }.public-ad-desktop-grid > main { padding: 7px; }.public-ad-desktop-grid > aside .public-ad-slot { min-height: 320px; }.public-ad-slot span { display: none; }.public-ad-heading h1 { font-size: 28px; } }
@media (max-width: 620px) { .public-ad-heading { align-items: start; flex-direction: column; }.public-ad-heading > div:last-child { width: 100%; }.public-ad-browser[data-public-ad-map="desktop"] { overflow-x: auto; }.public-ad-desktop-grid { width: 720px; }.public-ad-form-grid { grid-template-columns: 1fr; }.public-ad-form-grid label.wide { grid-column: auto; }.public-google-gate { align-items: stretch; flex-direction: column; }.public-ad-directory, .public-ad-form { padding: 16px; }.public-ad-selected span { width: 100%; }.public-ad-selected span button { margin-left: auto; } }

/* Article image metadata and per-article discussion permission */
.admin-body .main-image-card { grid-template-columns: minmax(0, 1fr); gap: 10px; overflow: hidden; }
.admin-body .main-image-card > *, .admin-body .image-meta-fields, .admin-body .image-meta-fields > * { min-width: 0; max-width: 100%; }
.admin-body .main-image-card .main-image-preview { width: auto; max-width: none; }
.admin-body .main-image-card input { width: 100%; max-width: 100%; }
.admin-body .image-meta-fields { display: grid; gap: 11px; margin-top: 4px; padding-top: 13px; border-top: 1px solid #e8edf4; }
.admin-body .image-meta-fields > header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.admin-body .image-meta-fields > header b { color: #172033; font-size: 11px; }
.admin-body .image-meta-fields > header span { color: #8a94a6; font-size: 9px; font-weight: 650; text-align: right; }
.admin-body .editor-control-column .image-meta-fields label { gap: 6px; }
.admin-body .image-meta-fields label > span { display: flex; align-items: center; gap: 6px; color: #344054; font-size: 10px; font-weight: 800; }
.admin-body .image-meta-fields label > span em { padding: 2px 5px; border-radius: 4px; background: #edf3ff; color: #2854d7; font-size: 8px; font-style: normal; }
.admin-body .image-meta-fields input { min-height: 38px !important; font-size: 11px !important; }
.admin-body .image-meta-fields label > small { color: #8a94a6; font-size: 9px; font-weight: 600; }
.admin-body .editor-control-column label.article-comment-permission { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 10px 12px; border: 1px solid #e2e8f2; border-radius: 8px; background: #fafbfe; }
.admin-body .article-comment-permission > span { min-width: 0; }
.admin-body .article-comment-permission b, .admin-body .article-comment-permission small { display: block; }
.admin-body .article-comment-permission b { color: #172033; font-size: 11px; }
.admin-body .article-comment-permission small { margin-top: 3px; color: #7a8496; font-size: 9px; font-weight: 600; line-height: 1.4; }
.admin-body .article-comment-permission > input { position: relative; flex: 0 0 auto; width: 19px; height: 19px; min-height: 19px; margin: 0; padding: 0; appearance: none; border: 1px solid #c5cfdd; border-radius: 5px; background: #fff; cursor: pointer; }
.admin-body .article-comment-permission > input:checked { border-color: #315efb; background: #315efb; }
.admin-body .article-comment-permission > input:checked::after { content: ""; position: absolute; top: 4px; left: 4px; width: 8px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* Keep every article-editor action visible at desktop and compact widths. */
.admin-body .pro-toolbar {
  flex-wrap: wrap;
  overflow: visible;
  align-content: center;
}
.admin-body .pro-toolbar > button,
.admin-body .pro-toolbar > select,
.admin-body .pro-toolbar > .toolbar-divider {
  flex: 0 0 auto;
}
.admin-body .pro-toolbar .source-toggle {
  margin-left: 0;
}
@media (max-width: 620px) {
  .admin-body .pro-toolbar {
    gap: 5px;
    padding: 7px;
  }
  .admin-body .pro-toolbar button,
  .admin-body .pro-toolbar select {
    min-height: 30px;
  }
  .admin-body .pro-toolbar select {
    flex: 1 1 112px;
  }
  .admin-body .editor-canvas { overflow: visible; }
  .admin-body .insert-popover {
    top: 10px;
    left: 8px;
    right: 8px;
    width: auto;
    min-width: 0;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-body .insert-popover div { min-width: 0; padding: 10px; }
  .admin-body .insert-popover button { width: 100%; min-width: 0; padding: 0 8px; font-size: 11px; white-space: normal; }
}
.sponsored-badge {
  display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px;
  border: 1px solid #d7a928; border-radius: 999px; background: #fff6d8; color: #765500;
  font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
}
.news-card.is-sponsored, .compact-card.is-sponsored { border-color: #e4c45f; box-shadow: 0 10px 26px rgba(153, 112, 0, .12); }
.compact-card > .sponsored-badge { margin: 10px 12px 0; }
.news-card .sponsored-badge { margin-bottom: 8px; }
.article-web.is-sponsored { border-top: 3px solid #d7a928; }
.video-news-section { padding: 20px; }
.video-news-section > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.video-news-section h2 { margin: 0; font-size: 20px; }
.video-news-section > header span { color: #697486; font-size: 12px; font-weight: 750; }
.video-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.video-news-card { overflow: hidden; border: 1px solid #e7ebf1; border-radius: 8px; background: #fff; color: #07101f; }
.video-news-image { position: relative; aspect-ratio: 16 / 9; background: #111827 center / cover no-repeat; }
.video-play-badge { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 38px; height: 38px; padding-left: 2px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(227, 6, 19, .94); color: #fff; }
.video-news-card > div:last-child { padding: 11px 12px 13px; }
.video-news-card small { color: var(--red); font-size: 10px; font-weight: 900; }
.video-news-card h3 { margin: 5px 0 0; font-size: 14px; line-height: 1.35; }
.video-news-empty { grid-column: 1 / -1; margin: 0; padding: 22px; color: #697486; text-align: center; }
.video-card-placeholder { position: relative; min-height: 0; border-style: dashed; background: #fbfcfe; pointer-events: none; }
.video-card-placeholder .video-news-image { background: linear-gradient(135deg, #e9edf4 0%, #f7f9fc 52%, #e4e9f1 100%); }
.video-card-placeholder .video-news-image::before { content: "INTERPRESS TV"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(31, 42, 61, .2); font-size: 13px; font-weight: 950; letter-spacing: .08em; }
.video-card-placeholder .video-play-badge { opacity: .72; }
.video-card-placeholder h3 { color: #778195; }
.video-placeholder-number { position: absolute; top: 8px; right: 9px; z-index: 2; color: rgba(255,255,255,.9); font-size: 10px; font-weight: 900; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.article-video { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 8px; background: #07101f; }
.article-video video, .article-video iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; }
.article-category-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.article-image, .article-photo { position: relative; overflow: hidden; }
.article-image > .article-image-watermark, .article-photo > .article-image-watermark { position: absolute; z-index: 3; height: auto; transform: translate(-50%, -50%); object-fit: contain; pointer-events: none; }
.about-page { max-width: 920px; margin: 28px auto; padding: 42px 48px; }
.about-page > span { color: var(--red); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.about-page h1 { margin: 10px 0 24px; font-size: 38px; }
.about-page [data-about-body] { color: #435066; font-size: 17px; line-height: 1.75; }
.category-menu-group { position: relative; align-self: stretch; display: flex; align-items: center; }
.category-menu-group > a::after { content: "⌄"; margin-left: 5px; font-size: 10px; }
.category-submenu { position: absolute; z-index: 30; top: calc(100% - 2px); left: 0; display: none; min-width: 190px; padding: 8px; border: 1px solid #e3e8f0; border-radius: 8px; background: #fff; box-shadow: 0 18px 42px rgba(7,16,31,.16); }
.category-menu-group:hover .category-submenu, .category-menu-group:focus-within .category-submenu { display: grid; }
.category-submenu a { padding: 9px 11px; border-radius: 6px; color: #1c2b42; white-space: nowrap; }
.category-submenu a:hover { background: #fff0f1; color: var(--red); }
.main-image-metadata-card p { margin: 0 0 12px; color: #697486; font-size: 11px; line-height: 1.5; }
.main-image-metadata-card button { width: 100%; min-height: 38px; border: 1px solid #d7deea; border-radius: 7px; background: #f7f9fc; color: #1c2b42; font-weight: 850; }
.main-image-metadata-card button:hover { border-color: #1769e0; color: #1769e0; }

/* New article sidebar: one calm, consistent vertical workflow. */
@media (min-width: 1101px) {
  .admin-body .editor-pro-layout {
    grid-template-columns: minmax(620px, 1fr) minmax(340px, 380px);
    gap: 18px;
  }
  .admin-body .editor-control-column {
    grid-column: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-content: start;
  }
  .admin-body .editor-control-column > section,
  .admin-body .editor-control-column > .article-distribution-card,
  .admin-body .editor-control-column > .publish-card,
  .admin-body .editor-control-column > .publish-meta-card,
  .admin-body .editor-control-column > .editor-readiness-card,
  .admin-body .editor-control-column > .editor-preview-card {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100%;
  }
}

.admin-body .editor-control-column > .portal-card {
  padding: 15px 16px;
  border: 1px solid #e5eaf1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(15, 23, 42, .045);
}
.admin-body .editor-control-column > .portal-card:hover { border-color: #d8e0eb; }
.admin-body .editor-control-column > .portal-card h2 {
  margin: 0 0 11px;
  padding: 0 0 10px;
  border-bottom: 1px solid #eef1f5;
  font-size: 14px;
}
.admin-body .editor-control-column > .publish-card {
  border-color: #dbe5ff;
  background: linear-gradient(180deg, #fbfdff, #f7faff);
}
.admin-body .editor-control-column > .article-distribution-card { gap: 12px; }
.admin-body .editor-control-column > .sponsored-news-card,
.admin-body .editor-control-column > .main-image-card,
.admin-body .editor-control-column > .main-image-metadata-card { border-color: #dfe7f3; }
.admin-body .editor-control-column > .main-image-metadata-card { margin-top: -4px; background: #f9fbfe; }
.admin-body .editor-control-column > .publish-meta-card,
.admin-body .editor-control-column > .editor-readiness-card { background: #fafbfc; }

@media (max-width: 1100px) {
  .admin-body .editor-pro-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-body .editor-control-column { grid-column: 1; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .admin-body .editor-control-column > * { grid-column: 1 !important; grid-row: auto !important; }
}

/* Streamlined article publishing and image decision flow. */
.admin-body .article-kind-field { display: grid; grid-template-columns: 118px minmax(0, 340px); align-items: center; gap: 12px; margin: 2px 0 15px; padding: 12px 14px; border: 1px solid #e4eaf3; border-radius: 9px; background: #f8fafc; }
.admin-body .article-kind-field > span { color: #344054; font-size: 11px; font-weight: 850; }
.admin-body .editor-form-pro > .article-video-source { margin: -5px 0 15px; padding: 13px 14px; border: 1px solid #dbe6ff; border-radius: 9px; background: #f7faff; }
.admin-body .article-video-source.is-invalid { border-color: #f04438; background: #fff8f7; box-shadow: 0 0 0 3px rgba(240, 68, 56, .08); }
.admin-body .article-video-details { display: grid; gap: 12px; margin: -5px 0 15px; padding: 14px; border: 1px solid #dbe6ff; border-radius: 10px; background: #f7faff; }
.admin-body .article-video-details[hidden] { display: none; }
.admin-body .article-video-details .article-video-source { margin: 0; }
.admin-body .video-editor-taxonomy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; padding-top: 12px; border-top: 1px solid #e2e9f6; }
.admin-body .video-editor-taxonomy label { min-width: 0; }
.admin-body .publish-card { position: relative; z-index: 8; overflow: visible; }
.admin-body .publish-split button[data-publish-menu-toggle] { font-size: 17px; transition: transform .18s ease, background .18s ease; }
.admin-body .publish-split button[data-publish-menu-toggle].is-open { background: #123f9c; }
.admin-body .publish-platform-menu { position: absolute; z-index: 40; top: 78px; right: 15px; left: 15px; display: grid; gap: 10px; max-height: min(620px, calc(100vh - 110px)); padding: 12px; overflow: auto; border: 1px solid #cdd9eb; border-radius: 9px; background: #fff; box-shadow: 0 18px 44px rgba(15, 35, 68, .2); }
.admin-body .publish-platform-menu[hidden] { display: none; }
.admin-body .publish-platform-menu > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid #edf1f6; }
.admin-body .publish-platform-menu > header b, .admin-body .publish-platform-menu > header small { display: block; }
.admin-body .publish-platform-menu > header b { color: #1d2939; font-size: 11px; }
.admin-body .publish-platform-menu > header small { margin-top: 3px; color: #7a8496; font-size: 9px; line-height: 1.4; }
.admin-body .publish-platform-menu > header > span { display: flex; align-items: center; gap: 7px; }
.admin-body .publish-platform-menu > header strong { display: grid; min-width: 26px; height: 24px; place-items: center; border-radius: 6px; background: #edf3ff; color: #2455c3; font-size: 10px; }
.admin-body .publish-platform-menu [data-publish-menu-close] { display: grid; width: 26px; min-width: 26px; height: 26px; min-height: 26px; padding: 0; place-items: center; border: 1px solid #d8e0eb; border-radius: 7px; background: #f7f9fc; color: #344054; font-size: 18px; line-height: 1; }
.admin-body .publish-platform-menu [data-publish-menu-close]:hover { border-color: #ef4444; background: #fff5f5; color: #d92d20; }
.admin-body .publish-platform-menu .social-channel-grid { grid-template-columns: minmax(0, 1fr); max-height: 260px; overflow: auto; padding-right: 3px; }
.admin-body .publish-platform-menu .facebook-post-link { grid-template-columns: minmax(0, 1fr); }
.admin-body .publish-platform-menu .article-comment-permission { padding: 9px; border-radius: 8px; background: #f7f9fc; }
.admin-body .main-image-card .image-meta-fields { margin-top: 2px; }
.main-image-choice { display: grid; gap: 12px; margin: 14px 18px 18px; padding: 14px; border: 1px solid #cfdcff; border-radius: 11px; background: linear-gradient(180deg, #fbfdff, #f4f8ff); box-shadow: 0 9px 24px rgba(38, 79, 174, .1); }
.main-image-choice[hidden] { display: none; }
.main-image-choice-preview { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 12px; }
.main-image-choice-preview img { width: 82px; aspect-ratio: 16 / 10; border-radius: 8px; background: #e9eef6; object-fit: cover; }
.main-image-choice-preview b, .main-image-choice-preview small { display: block; }
.main-image-choice-preview b { color: #172033; font-size: 12px; }
.main-image-choice-preview small { margin-top: 4px; color: #697586; font-size: 10px; }
.main-image-logo-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border: 1px solid #e0e7f1; border-radius: 9px; background: #fff; cursor: pointer; }
.main-image-logo-option b, .main-image-logo-option small { display: block; }
.main-image-logo-option b { color: #1d2939; font-size: 11px; }
.main-image-logo-option small { margin-top: 3px; color: #7a8496; font-size: 9px; }
.main-image-logo-option input { width: 18px; height: 18px; accent-color: #1769e0; }
.main-image-choice-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.main-image-choice-actions button { min-height: 38px; border-radius: 7px; font-weight: 800; }
@media (max-width: 680px) {
  .admin-body .article-kind-field { grid-template-columns: minmax(0, 1fr); }
  .admin-body .video-editor-taxonomy { grid-template-columns: minmax(0, 1fr); }
  .main-image-choice-actions { grid-template-columns: minmax(0, 1fr); }
}

/* Category page filters: the current one gets a red underline */
.category-filters { flex-wrap: wrap; }
.category-filters a { padding: 8px 2px; font-weight: 800; }
.category-filters a.active { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }

/* Share channels open as a popover above the button, without moving anything around it */
.share-drawer[open] { grid-column: auto; }
.share-drawer[open] summary { width: auto; margin-left: 0; }
.share-drawer .share-sheet { position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 60; width: max-content; max-width: calc(100vw - 24px); margin: 0; box-shadow: 0 14px 30px rgba(7, 16, 31, .28); }
.share-drawer .share-sheet::after { content: ""; position: absolute; right: 26px; bottom: -6px; width: 12px; height: 12px; background: #07101f; transform: rotate(45deg); }
.share-drawer .share-icons-row { flex-wrap: nowrap; gap: 10px; }

/* Header TV button: label only, sized to its content */
.tv-live,
.web-header nav .tv-live,
.web-header-inner > .tv-live { width: auto; min-width: 0; gap: 0; padding: 6px; }

/* Publish block sits last in the editor sidebar, after the live preview. */
.admin-body .editor-control-column > .publish-card { grid-column: 1 / -1 !important; grid-row: auto !important; }
.admin-body .publish-platform-menu { top: auto; bottom: calc(100% - 44px); }

/* Person topic pages and the links to them inside articles */
a.person-link { color: #c8102e; text-decoration: underline; text-underline-offset: 2px; }
.person-page { display: grid; gap: 18px; padding: 14px 0 28px; }
.person-hero { display: flow-root; padding: 18px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; }
.person-photo { display: grid; float: left; margin: 0 18px 8px 0; width: 112px; height: 112px; place-items: center; border-radius: 50%; object-fit: cover; background: #f2f4f7; color: #c8102e; font-size: 32px; font-weight: 700; }
.person-hero h1 { margin: 0 0 8px; color: #101828; font-size: 26px; line-height: 1.25; }
.person-bio p { margin: 0 0 8px; color: #344054; font-size: 15px; line-height: 1.6; }
.person-hero small { color: #667085; font-size: 13px; }
.person-news-list { display: grid; gap: 14px; }
.person-news-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 12px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; }
.person-news-image img { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 7px; object-fit: cover; background: #f2f4f7; }
.person-news-card h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.person-news-card h2 a { color: #101828; text-decoration: none; }
.person-news-card h2 a:hover { color: #c8102e; }
.person-news-card p { margin: 0 0 8px; color: #475467; font-size: 14px; line-height: 1.5; }
.person-news-card time { color: #667085; font-size: 12px; }
@media (max-width: 760px) {
  .person-page { padding: 10px 12px 24px; }
  .person-hero { padding: 14px; }
  .person-photo { margin: 0 12px 6px 0; width: 72px; height: 72px; font-size: 22px; }
  .person-hero h1 { font-size: 20px; }
  .person-news-card { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .person-news-card h2 { font-size: 15px; }
  .person-news-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13px; }
}

.admin-body .person-candidates { display: grid; gap: 10px; padding: 16px; }
.admin-body .person-candidate-list { display: grid; gap: 8px; }
.admin-body .person-candidate-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid #e4e7ec; border-radius: 8px; }
.admin-body .person-candidate-list span b, .admin-body .person-candidate-list span small { display: block; }
.admin-body .person-candidate-list span small { color: #667085; font-size: 12px; }
.admin-body .person-candidate-list button { min-height: 34px; padding: 0 12px; border-radius: 6px; }
.admin-body .person-rejected { margin-top: 12px; font-size: 13px; }
.admin-body .person-rejected > div { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 6px 0; }
.admin-body .person-editor textarea { width: 100%; font: inherit; padding: 8px; border: 1px solid #d0d5dd; border-radius: 6px; }
.admin-body .person-editor small { color: #667085; font-size: 12px; font-weight: 400; }
.admin-body .person-admin-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }

/* News images are always shown whole: never cropped to fit their frame. */
.hero-desktop, .hero-card, .compact-img, .card-img, .popular-img, .pop-img, .row-img,
.visual:not(.article-photo), .video-news-image, .tv-thumb, .tv-interview-img, .tv-mobile-interview-img,
.tv-interview-grid .video-news-image {
  background-color: #eef1f5 !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.hero-desktop, .hero-card, .video-news-image, .tv-interview-img, .tv-mobile-interview-img { background-color: #0b1220 !important; }
.article-image, .visual.large.article-photo, .article-photo {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  background: #eef1f5 !important;
}
.article-image > img:not(.article-image-watermark), .article-photo > img:not(.article-image-watermark) {
  position: static !important;
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 85vh;
  object-fit: contain !important;
  object-position: center !important;
}
.person-news-image img { object-fit: contain !important; }
.admin-body .article-preview-modal img { object-fit: contain !important; }
.hero-desktop, .hero-card { height: auto !important; min-height: 0 !important; aspect-ratio: 16 / 9 !important; }
.compact-img, .card-img { height: auto !important; aspect-ratio: 16 / 10; }

.article-photo-credit { margin: 6px 0 10px !important; color: #6d7582; font-size: 12px !important; line-height: 1.4; }

.article-web .lead, .article-page .lead { font-weight: 800 !important; }

/* Author profile under an article */
.article-byline img.article-byline-avatar { object-fit: cover; }
.article-author-bio { margin: 4px 0 0 !important; color: #566071; font-size: 13px !important; line-height: 1.5; white-space: pre-line; }
.article-author-email { display: inline-block; margin-top: 4px; color: #1d4ed8; font-size: 13px; overflow-wrap: anywhere; }

/* Panel dialogs and user management */
.panel-dialog { width: min(440px, calc(100vw - 32px)); padding: 22px; border: 0; border-radius: 12px; box-shadow: 0 20px 60px rgba(15, 23, 42, .28); }
.panel-dialog::backdrop { background: rgba(15, 23, 42, .45); }
.panel-dialog h2 { margin: 0 0 12px; font-size: 18px; }
.panel-dialog form, .panel-dialog-result { display: grid; gap: 12px; }
.panel-dialog label { display: grid; gap: 5px; font-size: 12px; font-weight: 700; }
.panel-dialog input:not([type="radio"]), .panel-dialog select, .panel-dialog textarea { width: 100%; padding: 9px 10px; border: 1px solid #d5dce6; border-radius: 8px; font: inherit; font-weight: 400; }
.panel-dialog fieldset { display: grid; gap: 8px; margin: 0; padding: 10px 12px; border: 1px solid #e3e8ef; border-radius: 8px; }
.panel-dialog legend { padding: 0 4px; font-size: 12px; font-weight: 700; }
.panel-dialog label.panel-dialog-choice { display: flex; align-items: center; gap: 7px; font-weight: 500; }
.panel-dialog input[hidden] { display: none; }
.panel-dialog footer { display: flex; justify-content: flex-end; gap: 8px; }
.panel-dialog-error { margin: 0; color: #b42318; font-size: 13px; }
.panel-dialog-result output { display: block; padding: 11px 12px; border-radius: 8px; background: #f3f5f9; font: 600 15px ui-monospace, Menlo, monospace; overflow-wrap: anywhere; user-select: all; }
.panel-dialog-result p { margin: 0; font-size: 13px; }
.user-photo-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.user-photo-actions [hidden] { display: none; }
.user-edit-panel label.user-public-email { display: flex; align-items: center; gap: 7px; }
.user-edit-panel [data-delete-user] { width: 100%; margin-top: 10px; }
.message-broadcast { width: 100%; margin-bottom: 10px; }
.article-author-link { color: inherit; text-decoration: none; }
.article-author-link:hover b, b .article-author-link:hover { text-decoration: underline; }
.person-hero .article-author-email { display: block; margin-bottom: 6px; }
.admin-body .brand-asset-actions { display: grid; gap: 6px; }
.admin-body [data-watermark-setting] .trash-media-icon { display: grid; place-items: center; width: 78px; height: 70px; background: #f1f4f8; border-radius: 8px; color: #7b8494; }
.admin-body [data-settings-panel="brand"] .brand-assets article { grid-template-columns: 78px 1fr; }
.admin-body [data-settings-panel="brand"] .brand-assets article > button, .admin-body [data-settings-panel="brand"] .brand-asset-actions { grid-column: 1 / -1; }
.admin-body [data-settings-panel="brand"] .brand-asset-actions { grid-template-columns: 1fr 1fr; }

.category-checks-field { display: grid; gap: 7px; font-size: 12px; font-weight: 880; color: #1f2937; }
.category-checks { display: grid; gap: 0; max-height: 220px; overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 500; }
.admin-body .editor-side-card label.category-check { display: flex; flex-direction: row; align-items: center; gap: 8px; min-height: 0; height: auto; margin: 0; padding: 5px 2px; cursor: pointer; font-size: 13px; font-weight: 500; }
.admin-body .editor-side-card label.category-check.is-child { padding-left: 22px; }
.admin-body .editor-side-card label.category-check input { flex: none; width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; }
.category-checks-field.is-invalid .category-checks { border-color: #d92d20; }

.footer-socials:empty { display: none; }
.footer-socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: #111c2c; color: #fff; font-weight: 900; text-decoration: none; }
.footer-bottom a { color: inherit; }
.watermark-add-logo { width: 22px; height: 22px; margin-right: 6px; object-fit: contain; vertical-align: middle; background: #fff; border-radius: 4px; }

.no-ads .wide-ad, .no-ads .small-ad, .no-ads .side-fill-ad, .no-ads .skyscraper, .no-ads .top-ad, .no-ads .ad-strip, .no-ads .tv-mobile-ads { display: none !important; }

.info-page h1 { margin: 12px 0 18px; }
.info-page-body p { margin: 0 0 12px; line-height: 1.7; }

.has-panel-ad { padding: 0 !important; overflow: hidden; background-image: none !important; }
.panel-ad-link, .panel-ad-image, .panel-ad-frame { display: block; width: 100%; height: 100%; border: 0; }
.panel-ad-image { object-fit: cover; }
.ad-strip.ad-slot-feed { margin-top: 12px; }

/* The article shell's three columns outweigh the one-column rule above; without the side rails the content must not land in the first column. */
@media (max-width: 1180px) {
  .page-shell.article-shell { grid-template-columns: minmax(0, 1fr); }
}

/* Home, wide screens: one grid, so the right column rises beside the hero strip while the left column keeps its order. */
.side-fill-ad[hidden], .small-ad.promo-ad[hidden] { display: none; }
.ad-offer-link::after { content: ""; position: absolute; inset: 0; }
.small-ad.promo-ad { position: relative; display: grid; align-content: end; gap: 4px; overflow: hidden; padding: 16px; background: linear-gradient(160deg, #1b2a44, #07101f); color: #fff; }
.promo-ad span { position: absolute; top: 12px; left: 12px; padding: 3px 7px; border-radius: 3px; background: rgba(255,255,255,.14); color: #d7dde8; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.promo-ad strong { font-size: 19px; line-height: 1.1; text-transform: uppercase; }
.promo-ad small { color: #d7dde8; font-size: 12px; font-weight: 700; }
.promo-ad .ad-offer-link { justify-self: start; margin-top: 8px; padding: 7px 13px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.has-panel-ad.promo-ad, .has-panel-ad.side-fill-ad { display: block; }

@media (min-width: 1181px) {
  .home-grid .popular-panel { display: flex; flex-direction: column; height: 0; min-height: 100%; }
  .home-grid .popular-panel h2 { flex: none; margin-bottom: 10px; }
  .home-grid .popular-item { flex: 1 1 0; min-height: 0; padding: 6px 0; overflow: hidden; }
  .home-grid .popular-more { flex: none; margin-top: 10px; }
}

@media (max-width: 1420px) {
  .home-promo-row .promo-ad { display: none; }
}

@media (min-width: 1421px) {
  .home-flow { display: grid; grid-template-columns: minmax(0, 900px) minmax(280px, 310px); grid-template-rows: auto auto 1fr; gap: 14px 24px; }
  .home-flow .home-grid, .home-flow .home-lead, .home-flow .content-row { display: contents; }
  .home-flow .hero-desktop { grid-area: 1 / 1; }
  .home-flow .popular-panel { grid-area: 1 / 2; }
  .home-flow .wide-ad.kontakt { grid-area: 2 / 1; }
  .home-flow .latest-desktop { grid-area: 3 / 1; min-width: 0; }
  .home-flow .right-stack { grid-area: 2 / 2 / 4 / 3; min-width: 0; }
  .home-promo-row .weather-panel { display: none; }
  .home-promo-row .small-ad, .home-promo-row .bank-blue { min-height: 197px; }
}

@media (min-width: 1421px) and (max-width: 1535px) {
  .home-flow { grid-template-columns: minmax(0, 1fr) 300px; }
}

/* The header menu clips what overflows it, so an open list must hang from the header, not from its menu item. */
.web-header nav .category-menu-group { position: static; }
/* The menu text sits in the middle of the header, so the list opens right under the text and not at the header's lower edge. */
.web-header nav .category-submenu { top: calc(50% + 14px); left: 0; }
.web-header nav .category-submenu a { display: block; height: auto; font-size: 13px; font-weight: 800; text-transform: none; }
.web-header nav .category-submenu a::after { display: none; }

/* Ad places page: the map follows the home page, with the right column rising beside the hero strip. */
.public-ad-layout { display: grid; grid-template-columns: minmax(0, 1fr) 26%; grid-template-rows: auto auto 1fr; gap: 10px; margin-top: 10px; }
.public-ad-layout > .public-ad-hero { grid-area: 1 / 1; }
.public-ad-popular { grid-area: 1 / 2; display: grid; align-content: start; gap: 7px; padding: 10px; background: #07101f; color: #fff; }
.public-ad-popular b { font-size: 9px; text-transform: uppercase; }
.public-ad-popular i { height: 17px; background: rgba(255,255,255,.14); }
.public-ad-layout > .public-ad-slot { grid-area: 2 / 1; }
.public-ad-left { grid-area: 3 / 1; min-width: 0; }
.public-ad-right { grid-area: 2 / 2 / 4 / 3; display: grid; align-content: start; gap: 7px; min-width: 0; }
.public-ad-widget { display: grid; place-items: center; color: #4b5668; font-size: 9px; font-weight: 800; }
.ad-mobile-place { color: #165dff !important; font-weight: 700; }
.public-ad-packages { padding: 22px; border: 1px solid #dce2ea; border-radius: 8px; background: #fff; }
.public-ad-packages > header > span { color: var(--red); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.public-ad-packages h2 { margin: 4px 0 7px; font-size: 22px; }
.public-ad-packages > header p { margin: 0; color: #667085; line-height: 1.55; }
.public-ad-packages > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.public-ad-packages article { padding: 14px; border: 1px solid #e3e8f0; border-radius: 8px; }
.public-ad-packages h3 { margin: 0 0 10px; font-size: 15px; }
.public-ad-packages article p { margin: 8px 0 0; color: #344054; font-size: 13px; line-height: 1.9; }
.public-ad-packages article p > span { display: block; color: #7c8798; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.public-ad-packages article p > b { display: inline-grid; width: 19px; height: 19px; margin-right: 6px; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: 10px; line-height: 1; }
@media (max-width: 900px) { .public-ad-packages > div { grid-template-columns: 1fr; } }
.ad-offer-logo { position: absolute; top: 16%; left: 50%; width: 72%; transform: translateX(-50%); }

.more-news-link[hidden] { display: none; }
[data-latest-more][aria-busy="true"] { opacity: .6; }

/* The TV button is 52 px wide; its column kept 154 px and took the room the menu needs. */
.web-header-inner { grid-template-columns: 178px minmax(0, 1fr) auto 40px; }
.web-header nav { gap: clamp(12px, 1.3vw, 28px); }
@media (max-width: 1420px) { .web-header-inner { grid-template-columns: 126px minmax(0, 1fr) auto 40px; } }
/* All six rates stay visible: the rule hiding top bar items also caught the 3rd and 4th rate. */
@media (max-width: 1420px) {
  .topbar-inner .live-currency span.currency-rate:nth-child(n) { display: inline-flex; }
  .topbar-inner .currency-rate b { font-size: 13px; }
  .topbar-inner .live-currency { flex: 0 1 auto; gap: 12px; overflow-x: auto; scrollbar-width: none; }
  .topbar-inner .live-currency::-webkit-scrollbar { display: none; }
}

.hero-arrow { cursor: pointer; }
.hero-arrow[hidden] { display: none; }
.hero-desktop-dots { position: absolute; z-index: 3; right: 24px; bottom: 12px; display: flex; gap: 6px; }
.hero-desktop-dots i { width: 22px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .45); cursor: pointer; }
.hero-desktop-dots i.active { background: #fff; }

/* The panel sits inside .web-header, whose nav rules are meant for the top menu. */
.site-menu-panel [data-site-menu-categories] { align-items: start; }
.web-header .site-menu-panel section nav { display: grid; gap: 8px; padding: 11px 0 0; overflow: visible; }
.web-header .site-menu-panel section nav[hidden] { display: none; }
.web-header .site-menu-panel section nav a { display: block; height: auto; font-size: 13px; font-weight: 750; line-height: 1.35; white-space: normal; text-transform: none; }
.site-menu-root.has-children { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.site-menu-root.has-children::after { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-right: 3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.site-menu-root.has-children[aria-expanded="true"]::after { transform: rotate(-135deg); }

.footer-socials a { background-position: center; background-repeat: no-repeat; background-size: 20px; transition: transform .15s, opacity .15s; }
.footer-socials a:hover { transform: translateY(-2px); opacity: .9; }
.footer-socials a[aria-label="facebook"] { background-color: #1877f2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M14 8.5V6.6c0-.9.6-1.1 1-1.1h2.6V1.5H14c-4 0-4.9 3-4.9 4.9v2.1H6.5v4.1h2.6v9.9H14v-9.9h3.2l.5-4.1z'/%3E%3C/svg%3E"); }
.footer-socials a[aria-label="instagram"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='4.2' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.2' fill='%23fff'/%3E%3C/svg%3E"), linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); background-size: 20px, cover; }
.footer-socials a[aria-label="youtube"] { background-color: #f00; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='5.5' width='20' height='13' rx='3.5' fill='%23fff'/%3E%3Cpath fill='%23f00' d='M10 9l5.5 3-5.5 3z'/%3E%3C/svg%3E"); background-size: 22px; }
.footer-socials a[aria-label="telegram"] { background-color: #26a5e4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M21.9 4.3l-3.2 15.1c-.2 1-.9 1.3-1.8.8l-4.9-3.6-2.4 2.3c-.3.3-.5.5-1 .5l.3-5 9.1-8.2c.4-.4-.1-.6-.6-.2L6.2 13.1l-4.8-1.5c-1-.3-1-1 .2-1.5L20.5 2.8c.9-.3 1.6.2 1.4 1.5z'/%3E%3C/svg%3E"); background-size: 19px; }
.footer-socials a[aria-label="tiktok"] { background-color: #000; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 26 26'%3E%3Cpath fill='%2325f4ee' transform='translate(-.7 -.7)' d='M12.53.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3Cpath fill='%23fe2c55' transform='translate(.7 .7)' d='M12.53.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3Cpath fill='%23fff' d='M12.53.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E"); background-size: 21px; }
.footer-socials a[aria-label="googlePlay"] { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285f4' d='M3.6 2.3 13.4 12l-9.8 9.7c-.4-.2-.6-.6-.6-1.1V3.4c0-.5.2-.9.6-1.1z'/%3E%3Cpath fill='%2334a853' d='M3.6 2.3c.4-.2.9-.2 1.4.1l11.7 7.2-3.3 2.4z'/%3E%3Cpath fill='%23ea4335' d='M3.6 21.7 13.4 12l3.3 2.4L5 21.6c-.5.3-1 .3-1.4.1z'/%3E%3Cpath fill='%23fbbc04' d='m16.7 9.6 3.6 2.2c.6.4.6 1 0 1.4l-3.6 2.2L13.4 12z'/%3E%3C/svg%3E"); background-size: 19px; background-position: calc(50% + 1px) center; }

/* Ağıllı reklam nəzarəti */
.admin-body .ad-smart-card { display: grid; gap: 16px; padding: 18px 20px; }
.admin-body .ad-smart-card h2 { margin: 0; font-size: 16px; }
.admin-body .ad-smart-card header p { margin: 4px 0 0; color: var(--admin-muted); font-size: 12px; }
.admin-body .ad-life-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.admin-body .ad-life-tile { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--admin-line); border-left: 4px solid #98a2b3; border-radius: 8px; background: #fff; text-align: left; cursor: pointer; }
.admin-body .ad-life-tile b { font-size: 22px; line-height: 1; }
.admin-body .ad-life-tile span { color: var(--admin-muted); font-size: 11px; font-weight: 750; }
.admin-body .ad-life-tile.active { box-shadow: 0 0 0 2px #2c52c4 inset; }
.admin-body .is-live { --life: #12b76a; } .admin-body .is-ending { --life: #f79009; } .admin-body .is-scheduled { --life: #2e90fa; }
.admin-body .is-waiting { --life: #7a5af8; } .admin-body .is-expired { --life: #f04438; } .admin-body .is-paused, .admin-body .is-draft { --life: #98a2b3; }
.admin-body .ad-life-tile[class*="is-"] { border-left-color: var(--life); }
.admin-body .ad-smart-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.admin-body .ad-smart-grid h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; color: #475467; }
.admin-body .ad-smart-empty { margin: 0; padding: 14px; border: 1px dashed var(--admin-line); border-radius: 8px; color: var(--admin-muted); font-size: 12px; }
.admin-body .ad-timeline, .admin-body .ad-place-board { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.admin-body .ad-timeline li { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--admin-line); border-left: 4px solid var(--life, #98a2b3); border-radius: 8px; }
.admin-body .ad-timeline li.is-start { --life: #2e90fa; } .admin-body .ad-timeline li.is-end { --life: #f79009; } .admin-body .ad-timeline li.is-expired { --life: #f04438; }
.admin-body .ad-timeline time { font-size: 12px; font-weight: 800; }
.admin-body .ad-timeline span, .admin-body .ad-place-board li { display: grid; gap: 2px; min-width: 0; }
.admin-body .ad-timeline b, .admin-body .ad-place-board b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .ad-timeline small, .admin-body .ad-place-board small { color: var(--admin-muted); font-size: 11px; }
.admin-body .ad-timeline button, .admin-body .row-tools button[data-extend-ad] { padding: 5px 9px; border: 1px solid #d0d5dd; border-radius: 6px; background: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.admin-body .ad-place-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-body .ad-place-board li { padding: 9px 12px; border: 1px solid var(--admin-line); border-radius: 8px; }
.admin-body .ad-place-board li.is-free { background: #f6fef9; border-color: #abefc6; }
.admin-body .ad-place-board li span { font-size: 12px; color: #344054; }
.admin-body .ad-life-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--life) 12%, #fff); color: var(--life); font-size: 11px; font-weight: 850; white-space: nowrap; }
.admin-body .ad-life-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.admin-body .ad-life-detail { display: block; margin-top: 4px; color: var(--admin-muted); font-size: 11px; }
.admin-body .ad-duration-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; font-weight: 750; color: #475467; }
.admin-body .ad-duration-row button { padding: 6px 11px; border: 1px solid #d0d5dd; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }
.admin-body .ad-duration-row button:hover { border-color: #2c52c4; color: #2c52c4; }
.admin-body .ad-plan-summary { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #f2f6ff; color: #1d2b53; font-size: 12px; line-height: 1.5; }
.admin-body .ad-plan-summary:empty { display: none; }
.admin-body .nav-alert { margin-left: auto; min-width: 18px; padding: 1px 6px; border-radius: 999px; background: #f04438; color: #fff; font-size: 10px; font-style: normal; font-weight: 900; text-align: center; }
@media (max-width: 1100px) { .admin-body .ad-life-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .admin-body .ad-smart-grid { grid-template-columns: 1fr; } }
.admin-body .ad-place-board li.is-busy { background: #fff; border-left: 4px solid #12b76a; }
/* ---- Statistics page ---- */
.admin-body .st-page { --st-ink: #0f172a; --st-muted: #64748b; --st-line: #e2e8f0; --st-soft: #f8fafc; --st-card: #fff; --st-accent: #4f46e5; display: grid; gap: 18px; color: var(--st-ink); }
.admin-body .st-page button { font: inherit; }
.admin-body .st-skeleton { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.admin-body .st-skeleton i { height: 130px; border-radius: 16px; background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%); background-size: 200% 100%; animation: st-shimmer 1.2s infinite; }
.admin-body .st-skeleton i:first-child { grid-column: 1 / -1; height: 190px; }
@keyframes st-shimmer { to { background-position: -200% 0; } }
@keyframes st-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.admin-body .st-page > * { animation: st-rise .35s ease both; }
.admin-body .st-note { margin: 0; padding: 12px 16px; border: 1px solid #c7d2fe; border-radius: 12px; background: #eef2ff; color: #3730a3; font-size: 14px; }
.admin-body .st-note.is-error { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.admin-body .st-empty { margin: 0; padding: 28px 12px; color: var(--st-muted); text-align: center; font-size: 14px; }
.admin-body .st-muted { color: var(--st-muted); font-size: 12px; }

/* Hero */
.admin-body .st-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 28px 30px; border-radius: 20px; color: #fff; overflow: hidden; background: radial-gradient(120% 140% at 100% 0%, #6366f1 0%, #312e81 45%, #0b1024 100%); box-shadow: 0 24px 50px -24px rgba(49, 46, 129, .65); }
.admin-body .st-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); pointer-events: none; }
.admin-body .st-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c7d2fe; }
.admin-body .st-hero h2 { margin: 6px 0 14px; font-size: 22px; font-weight: 700; color: #fff; }
.admin-body .st-hero-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.admin-body .st-hero-figure b { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.admin-body .st-hero-figure > span:not(.st-delta) { font-size: 16px; color: #c7d2fe; }
.admin-body .st-hero .st-delta { font-size: 14px; padding: 4px 10px; background: rgba(255,255,255,.14); color: #fff; }
.admin-body .st-hero .st-delta.is-up { background: rgba(16,185,129,.25); color: #a7f3d0; }
.admin-body .st-hero .st-delta.is-down { background: rgba(239,68,68,.25); color: #fecaca; }
.admin-body .st-hero p { margin: 14px 0 0; max-width: 560px; color: #e0e7ff; font-size: 15px; line-height: 1.55; }
.admin-body .st-hero p b { color: #fff; }
.admin-body .st-hero-side { position: relative; z-index: 1; display: grid; gap: 12px; align-content: start; justify-items: end; min-width: 330px; }
.admin-body .st-hero-tools { display: flex; gap: 8px; }
.admin-body .st-hero-tools select, .admin-body .st-hero-tools button { height: 38px; padding: 0 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); }
.admin-body .st-hero-tools button { width: 38px; padding: 0; font-size: 18px; transition: transform .3s; }
.admin-body .st-hero-tools button:hover { transform: rotate(180deg); }
.admin-body .st-hero-tools select option { color: #0f172a; }
.admin-body .st-hero-spark { display: grid; gap: 4px; justify-items: end; width: 100%; }
.admin-body .st-hero-spark .st-spark { width: 100%; height: 64px; }
.admin-body .st-hero-spark small { color: #a5b4fc; font-size: 11px; }

/* Segmented control */
.admin-body .st-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.admin-body .st-seg button { padding: 8px 14px; border: 0; border-radius: 9px; background: transparent; color: #e0e7ff; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.admin-body .st-seg button:hover { color: #fff; }
.admin-body .st-seg button.active { background: #fff; color: #312e81; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.admin-body .st-seg.is-light { background: #f1f5f9; backdrop-filter: none; }
.admin-body .st-seg.is-light button { padding: 6px 12px; color: var(--st-muted); font-size: 12px; }
.admin-body .st-seg.is-light button.active { color: var(--st-accent); box-shadow: 0 1px 3px rgba(15,23,42,.12); }

/* Filter chips */
.admin-body .st-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--st-muted); }
.admin-body .st-chips button { padding: 6px 12px; border: 1px solid #c7d2fe; border-radius: 999px; background: #eef2ff; color: #3730a3; cursor: pointer; }
.admin-body .st-chips button:hover { background: #e0e7ff; }
.admin-body .st-chips .is-reset { border-color: var(--st-line); background: #fff; color: var(--st-muted); }

/* Deltas */
.admin-body .st-delta { display: inline-flex; align-items: center; gap: 2px; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.admin-body .st-delta.is-up { background: #dcfce7; color: #15803d; }
.admin-body .st-delta.is-down { background: #fee2e2; color: #b91c1c; }
.admin-body .st-delta.is-new { background: #e0e7ff; color: #4338ca; }

/* KPI cards */
.admin-body .st-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.admin-body .st-kpi { position: relative; display: grid; gap: 8px; padding: 18px 18px 0; border: 1px solid var(--st-line); border-radius: 16px; background: var(--st-card); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.admin-body .st-kpi:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 40%, transparent); box-shadow: 0 18px 34px -18px color-mix(in srgb, var(--tone) 60%, transparent); }
.admin-body .st-kpi header { display: flex; align-items: center; gap: 10px; }
.admin-body .st-kpi header i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--tone) 14%, #fff); color: var(--tone); font-style: normal; font-size: 16px; }
.admin-body .st-kpi header span { color: var(--st-muted); font-size: 13px; font-weight: 600; }
.admin-body .st-kpi > b { font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.admin-body .st-kpi footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-body .st-kpi footer small { color: var(--st-muted); font-size: 12px; }
.admin-body .st-kpi .st-spark { display: block; width: calc(100% + 36px); height: 46px; margin: 4px -18px 0; }

/* Insight strip */
.admin-body .st-insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.admin-body .st-insights article { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid var(--st-line); border-radius: 14px; background: linear-gradient(135deg, #fff, var(--st-soft)); }
.admin-body .st-insights article.is-link { cursor: pointer; transition: border-color .2s; }
.admin-body .st-insights article.is-link:hover { border-color: #a5b4fc; }
.admin-body .st-insights i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(15,23,42,.08); font-style: normal; font-size: 18px; }
.admin-body .st-insights div { display: grid; min-width: 0; }
.admin-body .st-insights small { color: var(--st-muted); font-size: 12px; }
.admin-body .st-insights b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }

/* Cards */
.admin-body .st-card { display: grid; gap: 16px; align-content: start; min-width: 0; padding: 20px; border: 1px solid var(--st-line); border-radius: 16px; background: var(--st-card); box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.admin-body .st-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.admin-body .st-card-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.admin-body .st-card-head p { margin: 3px 0 0; color: var(--st-muted); font-size: 13px; }
.admin-body .st-card-figure { display: grid; justify-items: end; font-size: 24px; line-height: 1; }
.admin-body .st-card-figure small { color: var(--st-muted); font-size: 11px; font-weight: 500; }
.admin-body .st-row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; }
.admin-body .st-row-3 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }

/* Switch */
.admin-body .st-switch { display: inline-flex; align-items: center; gap: 8px; color: var(--st-muted); font-size: 13px; cursor: pointer; user-select: none; }
.admin-body .st-switch input { position: absolute; opacity: 0; pointer-events: none; }
.admin-body .st-switch span { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #cbd5e1; transition: background .2s; }
.admin-body .st-switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.admin-body .st-switch input:checked + span { background: var(--st-accent); }
.admin-body .st-switch input:checked + span::after { transform: translateX(16px); }

/* Main chart + day panel */
.admin-body .st-chart-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: stretch; }
.admin-body .st-chart { position: relative; min-width: 0; }
.admin-body .st-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.admin-body .st-grid line { stroke: #eef2f7; }
.admin-body .st-grid text, .admin-body .st-xlabels text { fill: #94a3b8; font-size: 11px; font-variant-numeric: tabular-nums; }
.admin-body .st-band { fill: #eef2ff; }
.admin-body .st-area { fill: url(#stFill); }
.admin-body .st-line { fill: none; stroke: var(--st-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 8px rgba(79,70,229,.25)); }
.admin-body .st-before { fill: none; stroke: #94a3b8; stroke-width: 1.8; stroke-dasharray: 5 6; }
.admin-body .st-selected { stroke: var(--st-accent); stroke-width: 1.5; stroke-opacity: .5; }
.admin-body .st-selected-dot { fill: var(--st-accent); stroke: #fff; stroke-width: 3; }
.admin-body .st-guide { stroke: #475569; stroke-opacity: .35; stroke-dasharray: 3 3; opacity: 0; }
.admin-body .st-dot { fill: #fff; stroke: var(--st-accent); stroke-width: 3; opacity: 0; }
.admin-body .st-chart.is-hover .st-guide, .admin-body .st-chart.is-hover .st-dot { opacity: 1; }
.admin-body .st-hit { fill: transparent; cursor: pointer; }
.admin-body .st-tip { position: absolute; top: 0; transform: translateX(14px); display: grid; gap: 3px; min-width: 150px; padding: 10px 12px; border-radius: 12px; background: rgba(15,23,42,.94); color: #fff; font-size: 12px; pointer-events: none; box-shadow: 0 14px 30px rgba(15,23,42,.3); z-index: 3; }
.admin-body .st-tip.is-right { transform: translateX(calc(-100% - 14px)); }
.admin-body .st-tip small { color: #cbd5e1; }
.admin-body .st-tip b { font-size: 16px; }
.admin-body .st-tip span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #cbd5e1; }
.admin-body .st-day { display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 14px; background: var(--st-soft); border: 1px solid var(--st-line); }
.admin-body .st-day header small { color: var(--st-muted); font-size: 12px; }
.admin-body .st-day h3 { margin: 2px 0 0; font-size: 18px; }
.admin-body .st-day-figures { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.admin-body .st-day-figures p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0; padding: 10px 12px; border-radius: 12px; background: #fff; }
.admin-body .st-day-figures b { font-size: 22px; font-variant-numeric: tabular-nums; }
.admin-body .st-day-figures span:not(.st-delta) { color: var(--st-muted); font-size: 12px; }
.admin-body .st-day h4 { margin: 4px 0 0; font-size: 13px; color: var(--st-muted); font-weight: 600; }
.admin-body .st-day ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: st-day; }
.admin-body .st-day li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 13px; }
.admin-body .st-day li span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .st-day li em { grid-row: 1; grid-column: 2; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-body .st-day li i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: #e2e8f0; overflow: hidden; }
.admin-body .st-day li i b { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #4f46e5, #0ea5e9); }

/* Legends */
.admin-body .st-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; color: var(--st-muted); font-size: 12px; }
.admin-body .st-legend span::before { content: ""; display: inline-block; width: 18px; height: 4px; margin-right: 6px; vertical-align: middle; border-radius: 2px; background: var(--st-accent); }
.admin-body .st-legend .is-before::before { background: repeating-linear-gradient(90deg, #94a3b8 0 5px, transparent 5px 9px); }

/* Monthly comparison */
.admin-body .st-month-top { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; }
.admin-body .st-ring { position: relative; width: 150px; height: 150px; }
.admin-body .st-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.admin-body .st-ring circle { fill: none; stroke-width: 10; }
.admin-body .st-ring-bg { stroke: #f1f5f9; }
.admin-body .st-ring-value { stroke: var(--tone); stroke-linecap: round; transition: stroke-dasharray .8s ease; }
.admin-body .st-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.admin-body .st-ring b { color: var(--tone); font-size: 26px; font-weight: 800; }
.admin-body .st-ring small { color: var(--st-muted); font-size: 11px; }
.admin-body .st-month-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.admin-body .st-month-facts div { padding: 10px 12px; border-radius: 12px; background: var(--st-soft); }
.admin-body .st-month-facts dt { color: var(--st-muted); font-size: 12px; }
.admin-body .st-month-facts dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.admin-body .st-month-facts .is-forecast { background: linear-gradient(135deg, #eef2ff, #f5f3ff); }
.admin-body .st-pairs { display: flex; align-items: flex-end; gap: 3px; height: 110px; padding-top: 6px; }
.admin-body .st-pairs > div { position: relative; flex: 1; display: flex; align-items: flex-end; gap: 1px; height: 100%; cursor: default; }
.admin-body .st-pairs i { flex: 1; min-height: 2px; border-radius: 3px 3px 1px 1px; transition: opacity .15s; }
.admin-body .st-pairs .is-now { background: linear-gradient(180deg, #6366f1, #4f46e5); }
.admin-body .st-pairs .is-before { background: #cbd5e1; }
.admin-body .st-pairs:hover > div:not(:hover) i { opacity: .45; }

/* Shared hover tooltip for small marks */
.admin-body .st-page [data-tip] { position: relative; }
.admin-body .st-page [data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 5px 8px; border-radius: 8px; background: rgba(15,23,42,.94); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; pointer-events: none; z-index: 4; }

/* Top list */
.admin-body .st-top { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.admin-body .st-top li { display: grid; grid-template-columns: 26px 46px minmax(0, 1fr) 90px auto; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; transition: background .15s; }
.admin-body .st-top li:hover { background: var(--st-soft); }
.admin-body .st-rank { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #f1f5f9; color: #475569; font-style: normal; font-size: 12px; font-weight: 800; }
.admin-body .st-top li:nth-child(1) .st-rank { background: linear-gradient(135deg, #fde68a, #f59e0b); color: #78350f; }
.admin-body .st-top li:nth-child(2) .st-rank { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #1e293b; }
.admin-body .st-top li:nth-child(3) .st-rank { background: linear-gradient(135deg, #fed7aa, #ea580c); color: #fff; }
.admin-body .st-top img, .admin-body .st-thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #e2e8f0; }
.admin-body .st-top-text { display: grid; gap: 2px; min-width: 0; }
.admin-body .st-top-text b { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13px; line-height: 1.35; }
.admin-body .st-top-text small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--st-muted); font-size: 12px; }
.admin-body .st-top .st-spark { width: 90px; height: 30px; }
.admin-body .st-top-num { display: grid; justify-items: end; gap: 3px; }
.admin-body .st-top-num b { font-size: 16px; font-variant-numeric: tabular-nums; }

/* Heatmap */
.admin-body .st-heat { --cell: 24px; display: grid; grid-template-columns: auto auto; justify-content: center; gap: 8px; }
.admin-body .st-heat-days { display: grid; grid-template-rows: repeat(7, var(--cell)); gap: 5px; }
.admin-body .st-heat-days small { display: flex; align-items: center; color: var(--st-muted); font-size: 10px; }
.admin-body .st-heat-grid { display: grid; grid-template-rows: repeat(7, var(--cell)); grid-auto-flow: column; gap: 5px; }
.admin-body .st-heat-grid button, .admin-body .st-heat-grid span { width: var(--cell); height: var(--cell); border: 0; border-radius: 6px; padding: 0; }
.admin-body .st-heat-legend i { width: 14px; height: 14px; border-radius: 4px; }
.admin-body .st-heat-grid button { cursor: pointer; transition: transform .12s; }
.admin-body .st-heat-grid button:hover { transform: scale(1.18); }
.admin-body .st-heat-grid button.is-selected { outline: 2px solid #0f172a; outline-offset: 1px; }
.admin-body .st-page .l0 { background: #f1f5f9; } .admin-body .st-page .l1 { background: #c7d2fe; } .admin-body .st-page .l2 { background: #818cf8; } .admin-body .st-page .l3 { background: #4f46e5; } .admin-body .st-page .l4 { background: #312e81; }
.admin-body .st-heat-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: 0; }
.admin-body .st-heat-legend small { color: var(--st-muted); font-size: 11px; }

.admin-body .st-heat-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.admin-body .st-heat-facts div { padding: 10px; border-radius: 12px; background: var(--st-soft); text-align: center; }
.admin-body .st-heat-facts dt { color: var(--st-muted); font-size: 11px; }
.admin-body .st-heat-facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .admin-body .st-heat { --cell: 18px; } }

/* Categories */
.admin-body .st-stack { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: #f1f5f9; }
.admin-body .st-stack i { height: 100%; transition: filter .15s; }
.admin-body .st-stack i:hover { filter: brightness(1.12); }
.admin-body .st-cats { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.admin-body .st-cats button { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 56px; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: none; color: inherit; text-align: left; font-size: 13px; cursor: pointer; transition: background .15s; }
.admin-body .st-cats button:hover:not(:disabled) { background: var(--st-soft); }
.admin-body .st-cats button.active { border-color: #c7d2fe; background: #eef2ff; }
.admin-body .st-cats button:disabled { cursor: default; opacity: .7; }
.admin-body .st-cats i { width: 10px; height: 10px; border-radius: 3px; }
.admin-body .st-cats span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .st-cats small { color: var(--st-muted); text-align: right; font-variant-numeric: tabular-nums; }

/* Publishing columns */
.admin-body .st-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 170px; }
.admin-body .st-cols > div { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 4px; height: 100%; }
.admin-body .st-cols em { color: #475569; font-style: normal; font-size: 11px; font-weight: 700; }
.admin-body .st-cols i { align-self: end; width: 100%; max-width: 26px; border-radius: 7px 7px 3px 3px; background: #e0e7ff; transition: background .15s; }
.admin-body .st-cols > div:hover i { background: #818cf8; }
.admin-body .st-cols .is-now i { background: linear-gradient(180deg, #6366f1, #4f46e5); }
.admin-body .st-cols small { color: var(--st-muted); font-size: 11px; }

/* Authors */
.admin-body .st-authors { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.admin-body .st-authors > button { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--st-line); border-radius: 14px; background: #fff; color: inherit; text-align: left; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.admin-body .st-authors > button:hover { transform: translateY(-3px); border-color: #c7d2fe; box-shadow: 0 16px 30px -18px rgba(79,70,229,.55); }
.admin-body .st-authors header { display: flex; align-items: center; gap: 10px; }
.admin-body .st-authors header > i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-style: normal; font-size: 14px; font-weight: 800; }
.admin-body .st-authors header div { display: grid; min-width: 0; flex: 1; }
.admin-body .st-authors header b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.admin-body .st-authors header small { color: var(--st-muted); font-size: 12px; }
.admin-body .st-authors header em { font-style: normal; font-size: 20px; }
.admin-body .st-authors p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0; }
.admin-body .st-authors p strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.admin-body .st-authors p > span:not(.st-delta) { color: var(--st-muted); font-size: 12px; }
.admin-body .st-share { display: block; height: 6px; border-radius: 3px; background: #f1f5f9; overflow: hidden; }
.admin-body .st-share span { display: block; height: 100%; border-radius: 3px; }
.admin-body .st-authors > button > small { color: var(--st-muted); font-size: 11px; }

/* Dark theme */
.admin-dark .st-page { --st-ink: #e2e8f0; --st-muted: #94a3b8; --st-line: #23314a; --st-soft: #131d31; --st-card: #182235; }
.admin-dark .st-insights article, .admin-dark .st-authors > button, .admin-dark .st-day-figures p { background: #182235; }
.admin-dark .st-insights i { background: #23314a; }
.admin-dark .st-grid line, .admin-dark .st-band { stroke: #23314a; fill: #1e2a44; }
.admin-dark .st-seg.is-light, .admin-dark .st-stack, .admin-dark .st-share, .admin-dark .st-ring-bg, .admin-dark .st-rank { background: #23314a; stroke: #23314a; }
.admin-dark .st-page .l0 { background: #23314a; }

/* Responsive */
@media (max-width: 1360px) { .admin-body .st-row-3 { grid-template-columns: 1fr 1fr; } .admin-body .st-row-3 > :first-child { grid-column: 1 / -1; } }
@media (max-width: 1180px) { .admin-body .st-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-body .st-row-2 { grid-template-columns: 1fr; } .admin-body .st-chart-wrap { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .admin-body .st-hero { grid-template-columns: 1fr; padding: 22px; } .admin-body .st-hero-side { justify-items: stretch; min-width: 0; } .admin-body .st-seg { justify-content: space-between; } .admin-body .st-seg:not(.is-light) button { flex: 1; } .admin-body .st-row-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .admin-body .st-hero-figure b { font-size: 42px; }
  .admin-body .st-kpis { gap: 10px; }
  .admin-body .st-kpi { padding: 14px 14px 0; } .admin-body .st-kpi > b { font-size: 24px; } .admin-body .st-kpi .st-spark { width: calc(100% + 28px); margin: 4px -14px 0; }
  .admin-body .st-card { padding: 16px; }
  .admin-body .st-month-top { grid-template-columns: 1fr; justify-items: center; } .admin-body .st-month-facts { width: 100%; }
  .admin-body .st-top li { grid-template-columns: 24px 40px minmax(0, 1fr) auto; } .admin-body .st-top .st-spark { display: none; }
  .admin-body .st-top img, .admin-body .st-thumb { width: 40px; height: 40px; }
}
.admin-body .st-hero p small { color: #a5b4fc; font-size: 12px; }

/* ---- InterPress TV page (shows and episodes) ---- */
.tvp { --tv-red: #e80715; --tv-ink: #0f172a; --tv-muted: #64748b; --tv-line: #e5e7eb; display: grid; gap: 28px; width: 100%; max-width: 1280px; margin: 0 auto; padding: 18px 0 40px; color: var(--tv-ink); }
.tvp button { font: inherit; color: inherit; }
.tvp-stage { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 120% at 0% 0%, #1e1b4b 0%, #0b1020 55%, #05070d 100%); box-shadow: 0 30px 60px -30px rgba(2, 6, 23, .7); }
.tvp-player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.tvp-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tvp-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #05070d; cursor: pointer; overflow: hidden; }
.tvp-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tvp-poster:hover img { transform: scale(1.03); }
.tvp-poster.is-loading { background: linear-gradient(90deg, #0b1020 25%, #151b33 50%, #0b1020 75%); background-size: 200% 100%; animation: tvp-shimmer 1.2s infinite; cursor: default; }
.tvp-poster.is-empty { display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; color: #fff; text-align: center; cursor: default; background: radial-gradient(circle at 50% 40%, #1e1b4b, #05070d 70%); }
.tvp-poster.is-empty img { width: 140px; height: auto; object-fit: contain; }
.tvp-poster.is-empty b { font-size: 24px; }
.tvp-poster.is-empty p { max-width: 420px; margin: 0; color: #c7d2fe; }
@keyframes tvp-shimmer { to { background-position: -200% 0; } }
.tvp-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.78) 100%); }
.tvp-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--tv-red); color: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 0 rgba(232, 7, 21, .55); animation: tvp-pulse 2.2s infinite; transition: transform .2s; }
.tvp-poster:hover .tvp-play { transform: translate(-50%, -50%) scale(1.08); }
.tvp-play svg { width: 38px; height: 38px; margin-left: 5px; fill: currentColor; }
.tvp-play.is-small { width: 46px; height: 46px; animation: none; opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .2s, transform .2s; }
.tvp-play.is-small svg { width: 22px; height: 22px; margin-left: 3px; }
@keyframes tvp-pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 7, 21, .55); } 70% { box-shadow: 0 0 0 22px rgba(232, 7, 21, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 7, 21, 0); } }
.tvp-poster-text { position: absolute; left: 28px; right: 28px; bottom: 24px; display: grid; gap: 6px; color: #fff; text-align: left; }
.tvp-poster-text small { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--tv-red); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tvp-poster-text b { font-size: 26px; line-height: 1.25; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.tvp-now { display: flex; flex-direction: column; gap: 12px; max-height: 100%; padding: 24px; overflow: auto; color: #e2e8f0; scrollbar-width: thin; }
.tvp-now .tvp-logo { width: 120px; height: auto; }
.tvp-now h1 { margin: 0; color: #fff; font-size: 22px; line-height: 1.3; }
.tvp-now > p { margin: 0; color: #cbd5e1; }
.tvp-show-chip { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff !important; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s; }
.tvp-show-chip:hover { background: rgba(255,255,255,.16); }
.tvp-show-chip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.tvp-meta { display: flex; align-items: center; gap: 8px; color: #94a3b8 !important; font-size: 13px; }
.tvp-meta em, .tvp-thumb em { padding: 2px 8px; border-radius: 6px; background: var(--tv-red); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.tvp-desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: #cbd5e1 !important; font-size: 14px; line-height: 1.6; white-space: pre-line; }
.tvp-desc.is-open { display: block; }
.tvp-link { align-self: flex-start; padding: 0; border: 0; background: none; color: #a5b4fc !important; font-size: 13px; font-weight: 700; cursor: pointer; }
.tvp-share { display: flex; align-items: center; gap: 8px; padding-top: 4px; }
.tvp-share span { margin-right: 4px; color: #94a3b8; font-size: 12px; font-weight: 600; }
.tvp-share a, .tvp-share button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff !important; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.tvp-share a:hover, .tvp-share button:hover { transform: translateY(-2px); }
.tvp-share .is-fb:hover { background: #1877f2; } .tvp-share .is-wa:hover { background: #25d366; } .tvp-share .is-tg:hover { background: #26a5e4; } .tvp-share button:hover { background: rgba(255,255,255,.22); }
.tvp-now h3 { margin: 8px 0 0; color: #94a3b8; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tvp-queue { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tvp-queue button { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; width: 100%; padding: 6px; border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; transition: background .15s; }
.tvp-queue button:hover { background: rgba(255,255,255,.08); }
.tvp-queue img { width: 112px; aspect-ratio: 16 / 9; border-radius: 8px; object-fit: cover; }
.tvp-queue span { display: grid; align-content: center; gap: 3px; min-width: 0; }
.tvp-queue b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff; font-size: 13px; line-height: 1.35; }
.tvp-queue small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #94a3b8; font-size: 11px; }
.tvp-block { display: grid; gap: 14px; }
.tvp-head { display: flex; align-items: center; gap: 12px; }
.tvp-head h2 { position: relative; margin: 0; padding-left: 14px; font-size: 22px; }
.tvp-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: var(--tv-red); }
.tvp-shows { display: grid; grid-auto-flow: column; grid-auto-columns: 170px; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tvp-show { display: grid; gap: 6px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; scroll-snap-align: start; }
.tvp-show-cover { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #1e1b4b, #0b1020); box-shadow: 0 10px 24px -14px rgba(2,6,23,.6); transition: transform .25s, box-shadow .25s; outline: 3px solid transparent; outline-offset: 3px; }
.tvp-show-cover img { width: 100%; height: 100%; object-fit: cover; }
.tvp-show.is-all .tvp-show-cover img { width: 70%; height: auto; object-fit: contain; }
.tvp-show-cover i { color: #fff; font-style: normal; font-size: 48px; font-weight: 800; }
.tvp-show:hover .tvp-show-cover { transform: translateY(-4px); box-shadow: 0 18px 30px -14px rgba(2,6,23,.6); }
.tvp-show.active .tvp-show-cover { outline-color: var(--tv-red); }
.tvp-show b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; }
.tvp-show small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--tv-muted); font-size: 12px; }
.tvp-show-info { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px; border: 1px solid var(--tv-line); border-radius: 18px; background: linear-gradient(135deg, #fff, #f8fafc); }
.tvp-show-info[hidden] { display: none; }
.tvp-show-info > img { width: 140px; aspect-ratio: 1; border-radius: 16px; object-fit: cover; }
.tvp-show-info h2 { margin: 0 0 6px; font-size: 22px; }
.tvp-show-info p { margin: 0 0 10px; color: #475569; line-height: 1.6; white-space: pre-line; }
.tvp-show-info dl { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.tvp-show-info dl div { padding: 6px 12px; border-radius: 10px; background: #f1f5f9; }
.tvp-show-info dt { color: var(--tv-muted); font-size: 11px; }
.tvp-show-info dd { margin: 0; font-weight: 700; font-size: 14px; }
.tvp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.tvp-card { display: grid; gap: 10px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.tvp-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0b1020; }
.tvp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tvp-card:hover .tvp-thumb img { transform: scale(1.06); }
.tvp-card:hover .tvp-play.is-small { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tvp-thumb em { position: absolute; left: 10px; top: 10px; }
.tvp-thumb strong { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 23, 42, .62); color: #fff; font-size: 14px; letter-spacing: .04em; }
.tvp-card.is-playing .tvp-thumb { outline: 3px solid var(--tv-red); outline-offset: 2px; }
.tvp-card-body { display: grid; gap: 4px; }
.tvp-card-body small { color: var(--tv-red); font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.tvp-card-body b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; line-height: 1.35; }
.tvp-card-body time { color: var(--tv-muted); font-size: 12px; }
.tvp-empty { grid-column: 1 / -1; margin: 0; padding: 40px 16px; border: 1px dashed #cbd5e1; border-radius: 16px; color: var(--tv-muted); text-align: center; }
.tvp-more { justify-self: center; padding: 12px 28px; border: 1px solid var(--tv-line); border-radius: 999px; background: #fff; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.tvp-more:hover { border-color: var(--tv-red); color: var(--tv-red) !important; }
.tvp-more[hidden] { display: none; }
@media (max-width: 1100px) { .tvp-stage { grid-template-columns: 1fr; } .tvp-now { max-height: none; } }
.tvp.is-mobile { gap: 22px; padding: 0 0 24px; }
.tvp.is-mobile .tvp-stage { grid-template-columns: 1fr; border-radius: 0 0 18px 18px; }
.tvp.is-mobile .tvp-now { padding: 16px; }
.tvp.is-mobile .tvp-now h1 { font-size: 19px; }
.tvp.is-mobile .tvp-poster-text { left: 14px; right: 14px; bottom: 12px; }
.tvp.is-mobile .tvp-poster-text b { font-size: 17px; }
.tvp.is-mobile .tvp-play { width: 64px; height: 64px; }
.tvp.is-mobile .tvp-play svg { width: 28px; height: 28px; }
.tvp.is-mobile .tvp-block { padding: 0 14px; }
.tvp.is-mobile .tvp-head h2 { font-size: 19px; }
.tvp.is-mobile .tvp-shows { grid-auto-columns: 124px; }
.tvp.is-mobile .tvp-show-info { grid-template-columns: 1fr; justify-items: start; padding: 16px; }
.tvp.is-mobile .tvp-show-info > img { width: 96px; }
.tvp.is-mobile .tvp-grid { grid-template-columns: 1fr; gap: 16px; }
.tvp.is-mobile .tvp-card { grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 12px; }
.tvp.is-mobile .tvp-card-body b { font-size: 14px; }
.tvp.is-mobile .video-news-section { padding: 0 14px; }

/* ---- Admin: InterPress TV ---- */
.admin-body .tva { --tva-red: #e80715; --tva-ink: #0f172a; --tva-muted: #64748b; --tva-line: #e2e8f0; --tva-soft: #f8fafc; display: grid; gap: 18px; color: var(--tva-ink); }
.admin-body .tva button, .admin-body .tva input, .admin-body .tva select, .admin-body .tva textarea { font: inherit; }
.admin-body .tva-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 26px 28px; border-radius: 20px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #e80715 0%, #7f1d1d 35%, #0b1020 85%); box-shadow: 0 24px 50px -26px rgba(127, 29, 29, .8); }
.admin-body .tva-hero span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fecaca; }
.admin-body .tva-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.admin-body .tva-hero h2 { margin: 6px 0; color: #fff; font-size: 28px; }
.admin-body .tva-hero p { max-width: 620px; margin: 0; color: #fee2e2; font-size: 14px; line-height: 1.55; }
.admin-body .tva-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-body .tva-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid var(--tva-line); border-radius: 10px; background: #fff; color: var(--tva-ink); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.admin-body .tva-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(15,23,42,.4); }
.admin-body .tva-btn.primary { border-color: var(--tva-red); background: var(--tva-red); color: #fff; }
.admin-body .tva-btn.ghost { background: transparent; }
.admin-body .tva-hero .tva-btn.ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.admin-body .tva-hero .tva-btn.primary { border-color: #fff; background: #fff; color: #b91c1c; }
.admin-body .tva-btn.small { height: 32px; padding: 0 12px; font-size: 13px; }
.admin-body .tva-btn:disabled { opacity: .5; cursor: not-allowed; }
.admin-body .tva-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--tva-line); border-radius: 10px; background: #fff; color: #475569; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.admin-body .tva-icon:hover { background: var(--tva-soft); color: var(--tva-ink); }
.admin-body .tva-icon.danger:hover { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.admin-body .tva-icon.is-on { border-color: #fde68a; background: #fffbeb; color: #d97706; }
.admin-body .tva-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.admin-body .tva-stats article { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--tva-line); border-radius: 16px; background: #fff; }
.admin-body .tva-stats i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fef2f2; color: var(--tva-red); }
.admin-body .tva-stats i svg { width: 20px; height: 20px; }
.admin-body .tva-stats b { display: block; font-size: 24px; line-height: 1.1; }
.admin-body .tva-stats span { color: var(--tva-muted); font-size: 13px; }
.admin-body .tva-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.admin-body .tva-shows { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.admin-body .tva-show { display: grid; grid-template-rows: auto 1fr auto; border: 1px solid var(--tva-line); border-radius: 18px; background: #fff; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.admin-body .tva-show:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(15,23,42,.45); }
.admin-body .tva-show.is-hidden { opacity: .65; }
.admin-body .tva-show-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1e1b4b, #0b1020) center / cover no-repeat; }
.admin-body .tva-show-cover i { color: #fff; font-style: normal; font-size: 46px; font-weight: 800; }
.admin-body .tva-show-cover em { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(16,185,129,.92); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.admin-body .tva-show.is-hidden .tva-show-cover em { background: rgba(100,116,139,.92); }
.admin-body .tva-show-body { display: grid; align-content: start; gap: 4px; padding: 14px 16px 8px; }
.admin-body .tva-show-body b { font-size: 16px; }
.admin-body .tva-show-body small { color: var(--tva-muted); font-size: 13px; }
.admin-body .tva-show-body p { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.admin-body .tva-show-body p span { padding: 3px 9px; border-radius: 999px; background: var(--tva-soft); color: #475569; font-size: 12px; font-weight: 600; }
.admin-body .tva-show footer { display: flex; align-items: center; gap: 6px; padding: 10px 16px 14px; }
.admin-body .tva-show footer .tva-icon { width: 32px; height: 32px; margin-left: auto; }
.admin-body .tva-show footer .tva-icon + .tva-icon { margin-left: 0; }
.admin-body .tva-side { position: sticky; top: 84px; display: grid; gap: 16px; }
.admin-body .tva-card { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--tva-line); border-radius: 18px; background: #fff; }
.admin-body .tva-card > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-body .tva-card > header b { font-size: 16px; }
.admin-body .tva-x { width: 32px; height: 32px; border: 0; border-radius: 10px; background: var(--tva-soft); font-size: 20px; cursor: pointer; }
.admin-body .tva-live header em { padding: 3px 10px; border-radius: 999px; background: #fef3c7; color: #92400e; font-style: normal; font-size: 12px; font-weight: 800; }
.admin-body .tva-live-screen { display: grid; place-content: center; gap: 10px; aspect-ratio: 16 / 9; padding: 18px; border-radius: 14px; background: repeating-linear-gradient(135deg, #0b1020 0 12px, #111833 12px 24px); color: #cbd5e1; text-align: center; }
.admin-body .tva-live-screen span { justify-self: center; padding: 4px 12px; border-radius: 999px; background: rgba(232,7,21,.25); color: #fecaca; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.admin-body .tva-live-screen p { margin: 0; font-size: 13px; line-height: 1.5; }
.admin-body .tva-live small, .admin-body .tva-muted { color: var(--tva-muted); font-size: 12px; line-height: 1.5; }
.admin-body .tva-form label, .admin-body .tva-episode-form label { display: grid; gap: 6px; color: #334155; font-size: 13px; font-weight: 600; }
.admin-body .tva input:not([type="checkbox"]):not([type="file"]), .admin-body .tva select, .admin-body .tva textarea { width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid var(--tva-line); border-radius: 10px; background: #fff; color: var(--tva-ink); font-weight: 500; transition: border-color .15s, box-shadow .15s; }
.admin-body .tva textarea { resize: vertical; line-height: 1.5; }
.admin-body .tva input:focus, .admin-body .tva select:focus, .admin-body .tva textarea:focus { outline: 0; border-color: #fca5a5; box-shadow: 0 0 0 4px rgba(232,7,21,.1); }
.admin-body .tva-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-body .tva-form footer, .admin-body .tva-episode-form footer { display: flex; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.admin-body .tva-cover-pick { display: grid; place-items: center; aspect-ratio: 16 / 9; border: 2px dashed #cbd5e1; border-radius: 14px; background: var(--tva-soft) center / cover no-repeat; color: var(--tva-muted); cursor: pointer; transition: border-color .15s; }
.admin-body .tva-cover-pick:hover { border-color: var(--tva-red); }
.admin-body .tva-cover-pick span { display: grid; justify-items: center; gap: 4px; font-size: 28px; }
.admin-body .tva-cover-pick small { font-size: 12px; font-weight: 600; }
.admin-body .tva-episode-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.admin-body .tva-fields { display: grid; gap: 12px; }
.admin-body .tva-fields small[data-tv-youtube-note] { color: #059669; font-size: 12px; font-weight: 500; }
.admin-body .tva-fields small[data-tv-youtube-note].is-error { color: #b91c1c; }
.admin-body .tva-check { display: flex !important; align-items: center; gap: 10px !important; padding: 10px 12px; border-radius: 10px; background: #fffbeb; }
.admin-body .tva-check input { width: 18px; height: 18px; accent-color: var(--tva-red); }
.admin-body .tva-preview { position: sticky; top: 84px; display: grid; gap: 10px; }
.admin-body .tva-preview-screen { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0b1020; color: #94a3b8; font-size: 13px; }
.admin-body .tva-preview-screen img, .admin-body .tva-preview-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.admin-body .tva-play { position: relative; z-index: 1; width: 64px; height: 64px; border: 0; border-radius: 50%; background: var(--tva-red); color: #fff; font-size: 22px; cursor: pointer; box-shadow: 0 10px 24px rgba(232,7,21,.45); transition: transform .15s; }
.admin-body .tva-play:hover { transform: scale(1.08); }
.admin-body .tva-preview-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-body .tva-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-body .tva-toolbar select { max-width: 260px; }
.admin-body .tva-toolbar input { max-width: 320px; }
.admin-body .tva-toolbar span { margin-left: auto; color: var(--tva-muted); font-size: 13px; font-weight: 600; }
.admin-body .tva-episodes { display: grid; gap: 8px; }
.admin-body .tva-episode { display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px; border: 1px solid transparent; border-radius: 14px; transition: background .15s, border-color .15s; }
.admin-body .tva-episode:hover { border-color: var(--tva-line); background: var(--tva-soft); }
.admin-body .tva-episode.is-hidden { opacity: .6; }
.admin-body .tva-episode-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0b1020; }
.admin-body .tva-episode-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-body .tva-episode-thumb em { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 6px; background: #f59e0b; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.admin-body .tva-episode-body { display: grid; gap: 4px; min-width: 0; }
.admin-body .tva-episode-body small { color: var(--tva-red); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.admin-body .tva-episode-body b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; }
.admin-body .tva-episode-body p { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--tva-muted); font-size: 13px; }
.admin-body .tva-status { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.admin-body .tva-status.on { background: #dcfce7; color: #15803d; }
.admin-body .tva-status.off { background: #f1f5f9; color: #475569; }
.admin-body .tva-episode nav { display: flex; gap: 6px; }
.admin-body .tva-empty { display: grid; justify-items: center; gap: 8px; grid-column: 1 / -1; padding: 40px 20px; border: 2px dashed var(--tva-line); border-radius: 18px; text-align: center; }
.admin-body .tva-empty b { font-size: 17px; }
.admin-body .tva-empty p { max-width: 380px; margin: 0; color: var(--tva-muted); }
.admin-dark .tva { --tva-ink: #e2e8f0; --tva-muted: #94a3b8; --tva-line: #26344d; --tva-soft: #131d31; }
.admin-dark .tva-card, .admin-dark .tva-show, .admin-dark .tva-stats article, .admin-dark .tva-btn:not(.primary), .admin-dark .tva-icon, .admin-dark .tva input, .admin-dark .tva select, .admin-dark .tva textarea { background: #182235; color: #e2e8f0; }
@media (max-width: 1280px) { .admin-body .tva-episode-grid { grid-template-columns: 1fr; } .admin-body .tva-preview { position: static; max-width: 520px; } }
@media (max-width: 1100px) { .admin-body .tva-layout { grid-template-columns: 1fr; } .admin-body .tva-side { position: static; } .admin-body .tva-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .admin-body .tva-hero { flex-direction: column; align-items: stretch; padding: 20px; } .admin-body .tva-episode { grid-template-columns: 110px minmax(0, 1fr); } .admin-body .tva-episode nav { grid-column: 1 / -1; justify-content: flex-end; } .admin-body .tva-two { grid-template-columns: 1fr; } }
.admin-body .tva-side > *, .admin-body .tva-layout > * { min-width: 0; }
.admin-body .tva-live-screen, .admin-body .tva-cover-pick { min-width: 0; overflow: hidden; }
.admin-body .tva-shows { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.admin-body .tva-show footer { flex-wrap: wrap; }
.admin-body .tva-show footer .tva-btn { white-space: nowrap; }
.tvp { grid-template-columns: minmax(0, 1fr); }
.tvp > * { grid-column: 1 / -1; min-width: 0; }
.tvp .video-news-section[hidden] { display: none; }
.tvp [hidden] { display: none !important; }
/* ---- Admin TV: show language ---- */
.admin-body .tva-lang { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .02em; line-height: 1.5; vertical-align: middle; }
.admin-body .tva-lang.is-az { background: #e8f1ff; color: #1d4ed8; }
.admin-body .tva-lang.is-ge { background: #fdecec; color: #b91c1c; }
.admin-body .tva-show-cover .tva-lang { position: absolute; left: 8px; bottom: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.admin-body .tva-lang-pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
.admin-body .tva-lang-pick legend { font-size: 13px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.admin-body .tva-lang-pick label { position: relative; display: block; cursor: pointer; margin: 0; }
.admin-body .tva-lang-pick input { position: absolute; opacity: 0; pointer-events: none; }
.admin-body .tva-lang-pick span { display: grid; gap: 2px; padding: 10px 12px; border: 2px solid #e5e7eb; border-radius: 12px; background: #fff; transition: border-color .15s, background .15s; }
.admin-body .tva-lang-pick span b { font-size: 13px; }
.admin-body .tva-lang-pick span small { font-size: 11px; color: #6b7280; font-weight: 500; }
.admin-body .tva-lang-pick input:checked + span { border-color: #dc2626; background: #fff5f5; }
.admin-body .tva-lang-pick input:focus-visible + span { outline: 2px solid #dc2626; outline-offset: 2px; }
.admin-body .tva-lang-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 12px; background: #f1f2f4; }
.admin-body .tva-lang-tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: 9px; font-weight: 700; font-size: 13px; color: #4b5563; cursor: pointer; }
.admin-body .tva-lang-tabs button.active { background: #fff; color: #111827; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.admin-body [data-tv-episode-lang] { color: #6b7280; }
/* ---- Admin TV: show detail with its episodes ---- */
.admin-body .tva-back { border: 0; background: none; padding: 4px 0; margin: 0 0 10px; color: #4b5563; font-weight: 700; font-size: 13px; cursor: pointer; }
.admin-body .tva-back:hover { color: #dc2626; }
.admin-body .tva-show-head { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px; margin-bottom: 16px; border-radius: 18px; background: #fff; border: 1px solid #eceef2; box-shadow: 0 6px 20px rgba(15,23,42,.05); }
.admin-body .tva-show-head-cover { width: 120px; aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #1e1b4b, #0b1020) center / cover no-repeat; }
.admin-body .tva-show-head-cover i { color: #fff; font-style: normal; font-size: 40px; font-weight: 900; }
.admin-body .tva-show-head-body { min-width: 0; display: grid; gap: 6px; }
.admin-body .tva-show-head-body > p:first-child { display: flex; gap: 6px; align-items: center; margin: 0; }
.admin-body .tva-show-head-body h2 { margin: 0; font-size: 24px; }
.admin-body .tva-show-head-body p { margin: 0; }
.admin-body .tva-show-head-body small { color: #6b7280; }
.admin-body .tva-show-head .tva-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.admin-body .tva-show-head .tva-btn.ghost { background: #f3f4f6; color: #111827; border-color: #e5e7eb; }
.admin-body .tva-show-head + .tva-form, .admin-body .tva-show-head ~ .tva-episode-form { margin-bottom: 16px; }
.admin-body .tva-toolbar > b { font-size: 15px; margin-right: auto; }
.admin-body .tva-lang-note { margin: 0; padding: 9px 12px; border-radius: 10px; background: #f8fafc; color: #374151; font-size: 13px; font-weight: 600; }
.admin-body [data-tv-open-episodes][role=button] { cursor: pointer; }
.admin-body .tva-show-body b[role=button]:hover { color: #dc2626; }
@media (max-width: 900px) { .admin-body .tva-show-head { grid-template-columns: 80px minmax(0, 1fr); } .admin-body .tva-show-head-cover { width: 80px; } .admin-body .tva-show-head .tva-hero-actions { grid-column: 1 / -1; justify-content: flex-start; } }
.admin-body .tva-back { justify-self: start; align-self: start; width: max-content; }
.admin-body .tva-show-head ~ .tva-form { max-width: 640px; }
.admin-body .tva-show-head ~ .tva-form .tva-cover-pick { max-width: 200px; }
/* TV stats: all five on one row; tighter on narrow screens, scrolls sideways on phones. */
.admin-body .tva-stats, .admin-body .tva-layout .tva-stats { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 12px; }
.admin-body .tva-stats article { padding: 14px; gap: 10px; min-width: 0; }
.admin-body .tva-stats article > div { min-width: 0; }
.admin-body .tva-stats span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1280px) { .admin-body .tva-stats i { width: 34px; height: 34px; border-radius: 10px; } .admin-body .tva-stats i svg { width: 17px; height: 17px; } .admin-body .tva-stats b { font-size: 20px; } .admin-body .tva-stats span { font-size: 12px; } .admin-body .tva-stats article { padding: 12px; } }
@media (max-width: 700px) { .admin-body .tva-stats { grid-template-columns: repeat(5, minmax(130px, 1fr)) !important; overflow-x: auto; padding-bottom: 4px; } }
@media (max-width: 1180px) { .admin-body .tva-stats span { white-space: normal; line-height: 1.25; } .admin-body .tva-stats i { display: none; } }
/* ---- Admin TV: live studio ---- */
.admin-body .lv { display: grid; gap: 16px; }
.admin-body .lv-hero { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 24px; border-radius: 20px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #334155 0%, #0f172a 60%); }
.admin-body .lv-hero.is-live { background: radial-gradient(120% 140% at 0% 0%, #ef4444 0%, #7f1d1d 70%); box-shadow: 0 10px 30px rgba(220,38,38,.25); }
.admin-body .lv-hero > div:first-child { min-width: 0; display: grid; gap: 6px; }
.admin-body .lv-hero > div > span:first-child { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .9; display: inline-flex; align-items: center; gap: 8px; }
.admin-body .lv-hero h2 { margin: 0; font-size: 24px; color: #fff; }
.admin-body .lv-hero p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: rgba(255,255,255,.85); }
.admin-body .lv-hero .tva-btn.ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); }
.admin-body .lv-hero .lv-state { color: #fff; }
.admin-body .tva-btn.danger { background: #fff; color: #b91c1c; border: 1px solid #fecaca; font-weight: 800; }
.admin-body .lv-events .tva-btn.danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.admin-body .lv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; align-items: start; }
.admin-body .lv-main, .admin-body .lv-side { display: grid; gap: 16px; min-width: 0; }
.admin-body .lv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.admin-body .lv-events { display: grid; gap: 10px; }
.admin-body .lv-event { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid #eceef2; border-radius: 14px; background: #fff; }
.admin-body .lv-event.is-live { border-color: #fca5a5; background: #fff5f5; }
.admin-body .lv-event.is-ended { opacity: .75; }
.admin-body .lv-event-when { display: grid; gap: 3px; }
.admin-body .lv-event-when b { font-size: 13px; }
.admin-body .lv-event-when span { font-size: 12px; color: #6b7280; display: inline-flex; gap: 6px; align-items: center; }
.admin-body .lv-event.is-live .lv-event-when span { color: #dc2626; font-weight: 800; }
.admin-body .lv-event-body { min-width: 0; display: grid; gap: 5px; }
.admin-body .lv-event-body > b { font-size: 15px; }
.admin-body .lv-event-body p { margin: 0; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.admin-body .lv-event-body small { color: #6b7280; }
.admin-body .lv-rec { color: #b91c1c !important; }
.admin-body .lv-event nav { display: flex; gap: 6px; align-items: center; }
.admin-body .lv-chip { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #f1f5f9; color: #334155; }
.admin-body .lv-chip.is-site, .admin-body .is-site { --lv: #dc2626; }
.admin-body .lv-chip.is-youtube { background: #fee2e2; color: #b91c1c; }
.admin-body .lv-chip.is-facebook { background: #dbeafe; color: #1d4ed8; }
.admin-body .lv-chip.is-tiktok { background: #111827; color: #fff; }
.admin-body .lv-chip.is-instagram { background: linear-gradient(90deg, #f58529, #dd2a7b, #8134af); color: #fff; }
.admin-body .lv-chip.is-site { background: #fef2f2; color: #dc2626; }
.admin-body .lv-form { display: grid; gap: 12px; }
.admin-body .lv-platform-pick { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.admin-body .lv-platform-pick legend { font-size: 13px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.admin-body .lv-platform-pick label { margin: 0; cursor: pointer; }
.admin-body .lv-platform-pick input { position: absolute; opacity: 0; pointer-events: none; }
.admin-body .lv-platform-pick span { display: inline-flex; padding: 8px 14px; border: 2px solid #e5e7eb; border-radius: 999px; font-weight: 700; font-size: 13px; background: #fff; }
.admin-body .lv-platform-pick input:checked + span { border-color: #dc2626; background: #fff5f5; color: #b91c1c; }
.admin-body .lv-platform-pick input:focus-visible + span { outline: 2px solid #dc2626; outline-offset: 2px; }
.admin-body .lv-studio, .admin-body .lv-platforms, .admin-body .lv-guide, .admin-body .lv-preview { display: grid; gap: 12px; }
.admin-body .lv-studio > header, .admin-body .lv-platforms > header, .admin-body .lv-guide > header, .admin-body .lv-preview > header { display: flex; justify-content: space-between; align-items: center; }
.admin-body .lv-studio em, .admin-body .lv-platforms em, .admin-body .lv-guide em, .admin-body .lv-preview em { font-style: normal; font-size: 12px; color: #6b7280; }
.admin-body .lv-input { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: #f8fafc; border: 1px solid #eef0f4; min-width: 0; }
.admin-body .lv-input > header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.admin-body .lv-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; align-items: center; min-width: 0; }
.admin-body .lv-copy span { grid-column: 1 / -1; font-size: 11px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.admin-body .lv-copy code { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 8px 10px; border-radius: 9px; background: #fff; border: 1px solid #e5e7eb; font-size: 12px; }
.admin-body .lv-larix { justify-self: start; }
.admin-body .lv-error { color: #b91c1c; margin: 0; }
.admin-body .lv-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #6b7280; white-space: nowrap; }
.admin-body .lv-state i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.admin-body .lv-state.is-on { color: #059669; } .admin-body .lv-state.is-on i { background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.admin-body .lv-state.is-wait { color: #b45309; } .admin-body .lv-state.is-wait i { background: #f59e0b; }
.admin-body .lv-state.is-ready { color: #1d4ed8; } .admin-body .lv-state.is-ready i { background: #3b82f6; }
.admin-body .lv-state.is-off i { background: #ef4444; }
.admin-body .lv-platform { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid #f1f2f4; }
.admin-body .lv-platform small { grid-column: 2; color: #6b7280; margin-top: -6px; }
.admin-body .lv-platform nav { grid-column: 3; grid-row: 1; display: flex; gap: 6px; }
.admin-body .lv-platform b.is-youtube, .admin-body .lv-platform-form b.is-youtube { color: #dc2626; }
.admin-body .lv-platform b.is-facebook, .admin-body .lv-platform-form b.is-facebook { color: #1d4ed8; }
.admin-body .lv-platform b.is-instagram, .admin-body .lv-platform-form b.is-instagram { color: #c026d3; }
.admin-body .lv-platform-form { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: #f8fafc; border: 1px solid #e5e7eb; }
.admin-body .lv-platform-form header { display: flex; justify-content: space-between; align-items: center; }
.admin-body .lv-platform-form p { margin: 0; font-size: 12px; }
.admin-body .lv-tips summary { cursor: pointer; font-weight: 700; font-size: 13px; }
.admin-body .lv-tips ul { margin: 8px 0 0; padding-left: 18px; color: #4b5563; font-size: 13px; }
.admin-body .lv-guide ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 14px; }
.admin-body .lv-guide code { background: #f1f5f9; padding: 1px 6px; border-radius: 6px; font-size: 12px; }
.admin-body .lv-guide p { margin: 0; }
.admin-body .lv-preview-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.admin-body .lv-preview-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.admin-dark .lv-event, .admin-dark .lv-input, .admin-dark .lv-platform-form, .admin-dark .lv-copy code, .admin-dark .lv-platform-pick span { background: #182235; color: #e2e8f0; border-color: #263247; }
@media (max-width: 1200px) { .admin-body .lv-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .admin-body .lv-event { grid-template-columns: 1fr; } .admin-body .lv-hero { flex-direction: column; align-items: flex-start; } }
/* ---- TV page: live broadcast ---- */
.tvp-player .tvp-live-badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 6px; background: #dc2626; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .08em; pointer-events: none; box-shadow: 0 4px 14px rgba(220,38,38,.4); }
.tvp-live-badge i, .tvp-live-tag i, .tvp-live-back i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: tvpLivePulse 1.4s ease-in-out infinite; }
.tvp-live-tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(220,38,38,.18); color: #fca5a5; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.tvp-live-back { display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: #dc2626; color: #fff; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.tvp-live-back b { text-decoration: underline; }
.tvp.is-live .tvp-stage { box-shadow: 0 0 0 2px rgba(220,38,38,.55), 0 20px 50px rgba(220,38,38,.18); }
@keyframes tvpLivePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .tvp-live-badge i, .tvp-live-tag i, .tvp-live-back i { animation: none; } }
/* ---- Admin TV automation ---- */
.admin-body .tva-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; }
.admin-body .tva-channel { display: grid; gap: 12px; }
.admin-body .tva-channel > header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-body .tva-channel > header b { font-size: 16px; margin-right: auto; }
.admin-body .tva-channel footer { display: flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.admin-body .tva-channel footer small { margin-right: auto; }
.admin-body .tva-yt { border: 1px solid #eef0f4; border-radius: 14px; padding: 12px; margin: 0; display: grid; gap: 10px; min-width: 0; }
.admin-body .tva-yt legend { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; padding: 0 6px; }
.admin-body .tva-switch span { font-weight: 600; }
.admin-body .tva-stats.tva-stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.admin-body .tva-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.admin-body .tva-toolbar .tva-lang-tabs { margin: 0; }
.admin-body .tva-table-wrap { overflow-x: auto; }
.admin-body .tva-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-body .tva-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; padding: 8px; border-bottom: 1px solid #eef0f4; }
.admin-body .tva-table td { padding: 8px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.admin-body .tva-table td:first-child img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.admin-body .tva-table td b { display: block; }
.admin-body .tva-table td small { color: #6b7280; display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.admin-body .tva-table tr.is-broken { background: #fff5f5; }
.admin-body .tva-table tr.is-hidden { opacity: .6; }
.admin-body .tva-bad { color: #b91c1c; font-style: normal; font-weight: 700; }
.admin-body .tva-sched-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.admin-body .tva-sched-main { display: grid; gap: 12px; min-width: 0; }
.admin-body .tva-days { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.admin-body .tva-day { display: grid; gap: 5px; padding: 8px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; cursor: pointer; text-align: left; font: inherit; }
.admin-body .tva-day b { font-size: 12px; }
.admin-body .tva-day i { height: 5px; border-radius: 9px; background: linear-gradient(90deg, #10b981 var(--fill), #e5e7eb var(--fill)); }
.admin-body .tva-day small { font-size: 11px; color: #6b7280; }
.admin-body .tva-day.active { border-color: #dc2626; box-shadow: 0 0 0 2px rgba(220,38,38,.15); }
.admin-body .tva-sched-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.admin-body .tva-sched-head .tva-btn { margin-left: auto; }
.admin-body .tva-slots { display: grid; gap: 4px; max-height: 70vh; overflow-y: auto; }
.admin-body .tva-slot { display: grid; grid-template-columns: 58px 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 10px; }
.admin-body .tva-slot:nth-child(odd) { background: #fafbfc; }
.admin-body .tva-slot time { font-weight: 800; font-size: 13px; display: grid; }
.admin-body .tva-slot time small { font-weight: 500; color: #9ca3af; font-size: 11px; }
.admin-body .tva-slot img, .admin-body .tva-slot-ph { width: 64px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #e5e7eb; display: block; }
.admin-body .tva-slot b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .tva-slot small { color: #6b7280; font-size: 12px; }
.admin-body .tva-slot nav { display: flex; gap: 4px; }
.admin-body .tva-slot.is-ad { background: #fffbeb; }
.admin-body .tva-slot.is-now { background: #fef2f2; box-shadow: inset 3px 0 0 #dc2626; }
.admin-body .tva-slot.is-missing { opacity: .55; }
.admin-body .tva-ad-tag { font-style: normal; font-size: 10px; font-weight: 900; padding: 1px 6px; border-radius: 4px; background: #f59e0b; color: #fff; }
.admin-body .tva-now-tag { font-style: normal; color: #dc2626; font-weight: 800; }
.admin-body .tva-slot-add { margin-top: 10px; }
.admin-body .tva-slot-add select { width: 100%; }
.admin-body .tva-gen { display: grid; gap: 12px; }
.admin-body .tva-btn.ghost.danger { color: #b91c1c; }
.admin-body .tva-warnings ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.admin-body .tva-warnings.has-warnings { border-color: #fcd34d; background: #fffbeb; }
.admin-body .tva-warnings:not(.has-warnings) { border-color: #a7f3d0; background: #f0fdf4; }
.admin-body .tva-mon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.admin-body .tva-mon-grid > .tva-card { display: grid; gap: 10px; align-content: start; }
.admin-body .tva-mon-grid header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.admin-body .tva-mon-now { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; align-items: center; }
.admin-body .tva-mon-now img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.admin-body .tva-mon-now div { display: grid; gap: 3px; min-width: 0; }
.admin-body .tva-mon-now b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .tva-progress { display: block; height: 4px; border-radius: 9px; background: linear-gradient(90deg, #dc2626 var(--p), #e5e7eb var(--p)); }
.admin-body .tva-mon-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.admin-body .tva-mon-next li { display: flex; gap: 8px; align-items: center; min-width: 0; }
.admin-body .tva-mon-next time { font-weight: 800; }
.admin-body .tva-mon-next span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .tva-mon-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.admin-body .tva-mon-meta span { padding: 3px 9px; border-radius: 999px; background: #f1f5f9; font-size: 12px; font-weight: 600; }
.admin-dark .tva-day, .admin-dark .tva-slot:nth-child(odd), .admin-dark .tva-yt { background: #182235; border-color: #263247; }
@media (max-width: 1200px) { .admin-body .tva-sched-layout { grid-template-columns: 1fr; } .admin-body .tva-days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .admin-body .tva-channels { grid-template-columns: 1fr; } .admin-body .tva-stats.tva-stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* ---- TV page: 24/7 channel ---- */
.tvp-player [data-tv-yt], .tvp-player [data-tv-yt] + iframe, .tvp-player iframe#tvp-yt { position: absolute; inset: 0; width: 100%; height: 100%; }
.tvp-player > iframe[id] { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tvp-live-badge.is-tv { background: #0f172a; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.tvp-live-badge.is-tv i { color: #ef4444; }
.tvp-live-tag.is-tv { background: rgba(255,255,255,.1); color: #fff; }
.tvp-live-tag.is-tv i { color: #ef4444; }
.tvp-live-back.is-tv { background: #1e293b; }
.tvp-unmute { position: absolute; right: 14px; bottom: 56px; z-index: 3; padding: 9px 14px; border: 0; border-radius: 999px; background: rgba(15,23,42,.85); color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.tvp-unmute:hover { background: #dc2626; }
.tvp-progress { display: block; height: 4px; margin: 4px 0 6px; border-radius: 9px; background: linear-gradient(90deg, #ef4444 var(--p), rgba(255,255,255,.18) var(--p)); }
.tvp-epg { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tvp-epg li { display: flex; gap: 10px; align-items: baseline; min-width: 0; font-size: 14px; color: rgba(255,255,255,.85); }
.tvp-epg time { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.tvp-epg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvp-epg li.is-ad span { color: #fbbf24; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.tvp-now .tvp-meta em { font-style: normal; background: #f59e0b; color: #111; padding: 1px 7px; border-radius: 4px; font-weight: 800; font-size: 12px; }

/* TV player graphics from the studio (logo, on-air badge, clock, lower third, ticker) */
[data-tv-player]:fullscreen { display: grid; width: 100vw; height: 100vh; background: #000; }
[data-tv-player]:fullscreen iframe, [data-tv-player]:fullscreen [data-tv-yt] { width: 100%; height: 100%; }

/* ===================== InterPress TV studio — premium dark ===================== */
.admin-body .tva.studio {
  --x-bg: #0a0b0f; --x-raise: #12141b; --x-surface: rgba(255,255,255,.035); --x-surface-2: rgba(255,255,255,.06); --x-hover: rgba(255,255,255,.085);
  --x-line: rgba(255,255,255,.075); --x-line-2: rgba(255,255,255,.13); --x-ink: #f5f6f8; --x-soft: #b4bac6; --x-mute: #7a8291;
  --x-red: #ff3b4a; --x-red-2: #e5112a; --x-green: #3ddc97; --x-amber: #ffc53d; --x-blue: #6ea8ff; --x-r: 22px;
  --tva-ink: var(--x-ink); --tva-muted: var(--x-mute); --tva-line: var(--x-line); --tva-soft: var(--x-surface); --tva-red: var(--x-red);
  container: studio / inline-size;
  display: grid; gap: 22px; padding: 22px; border-radius: 28px; color: var(--x-ink); color-scheme: dark;
  font: 400 15px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif; letter-spacing: -.005em; -webkit-font-smoothing: antialiased;
  background: radial-gradient(1100px 520px at -10% -20%, rgba(255,59,74,.13), transparent 60%), radial-gradient(900px 480px at 110% -10%, rgba(110,168,255,.08), transparent 60%), linear-gradient(180deg, #0d0f14, var(--x-bg) 380px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.04);
}
.admin-body .tva.studio *, .admin-body .tva.studio *::before, .admin-body .tva.studio *::after { box-sizing: border-box; }
.admin-body .tva.studio :is(h2, h3, b, strong):not(.tvp-gfx *) { color: inherit; }
.admin-body .tva.studio h2 { margin: 0; font-size: 26px; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; }
.admin-body .tva.studio h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.admin-body .tva.studio :is(small, .tva-muted, .tvx-muted) { color: var(--x-mute); font-size: 13px; line-height: 1.5; }
.admin-body .tva.studio .tva-bad, .admin-body .tva.studio .tvx-error { color: #ff8d97; }

/* Surfaces */
.admin-body .tva.studio :is(.tvx-card, .tva-card, .tva-show, .tva-show-head, .lv-event, .lv-input, .lv-platform-form, .tva-yt, .tvs-panel) {
  border: 1px solid var(--x-line); border-radius: var(--x-r); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); color: var(--x-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.admin-body .tva.studio :is(.tvx-card, .tva-card, .tvs-panel) { display: grid; align-content: start; gap: 16px; padding: 24px; }
.admin-body .tva.studio .tva-card > header { gap: 12px; }
.admin-body .tva.studio .tva-card > header b { font-size: 15px; font-weight: 600; }

/* Buttons */
.admin-body .tva.studio :is(.tvx-btn, .tva-btn) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid var(--x-line-2); border-radius: 13px; background: var(--x-surface-2); color: var(--x-ink); font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: none; transform: none; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s; }
.admin-body .tva.studio :is(.tvx-btn, .tva-btn):hover:not(:disabled) { background: var(--x-hover); border-color: rgba(255,255,255,.2); transform: translateY(-1px); box-shadow: none; }
.admin-body .tva.studio :is(.tvx-btn, .tva-btn):disabled { opacity: .38; cursor: not-allowed; }
.admin-body .tva.studio :is(.tvx-btn, .tva-btn).small { height: 36px; padding: 0 14px; border-radius: 11px; font-size: 13px; }
.admin-body .tva.studio :is(.tvx-btn, .tva-btn).primary { border-color: transparent; background: linear-gradient(180deg, #ff4f5c, var(--x-red-2)); color: #fff; box-shadow: 0 10px 26px -12px rgba(255,59,74,.8), inset 0 1px 0 rgba(255,255,255,.2); }
.admin-body .tva.studio :is(.tvx-btn, .tva-btn).ghost { background: transparent; }
.admin-body .tva.studio :is(.tvx-btn, .tva-btn).danger, .admin-body .tva.studio .tva-btn.ghost.danger { border-color: rgba(255,59,74,.4) !important; background: rgba(255,59,74,.1) !important; color: #ff8d97 !important; }
.admin-body .tva.studio :is(.lv-events, .lv-hero) .tva-btn.danger, .admin-body .tva.studio .tvx-btn.danger.big { border-color: transparent !important; background: linear-gradient(180deg, #ff4f5c, var(--x-red-2)) !important; color: #fff !important; }
.admin-body .tva.studio .tvx-btn.live { border-color: transparent; background: linear-gradient(135deg, #ff4f5c, #c60b25); color: #fff; box-shadow: 0 14px 34px -14px rgba(255,59,74,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.admin-body .tva.studio .tvx-btn.big { width: 100%; height: 58px; border-radius: 16px; font-size: 16px; font-weight: 650; }
.admin-body .tva.studio :is(.tva-icon, .tva-x, .tvx-x) { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--x-line) !important; border-radius: 11px; background: var(--x-surface) !important; color: var(--x-soft) !important; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.admin-body .tva.studio :is(.tva-icon, .tva-x, .tvx-x):hover:not(:disabled) { background: var(--x-hover) !important; color: #fff !important; }
.admin-body .tva.studio .tva-icon.danger:hover { border-color: rgba(255,59,74,.45) !important; background: rgba(255,59,74,.14) !important; color: #ff8d97 !important; }
.admin-body .tva.studio .tva-icon.is-on { border-color: rgba(255,197,61,.45) !important; color: var(--x-amber) !important; }
.admin-body .tva.studio .tva-icon:disabled { opacity: .3; }
.admin-body .tva.studio .tvx-link-btn { justify-self: start; padding: 0; border: 0; background: none; color: var(--x-soft); font-family: inherit; font-weight: 600; font-size: 13px; cursor: pointer; }
.admin-body .tva.studio .tvx-link-btn:hover { color: #fff; }

/* Fields */
.admin-body .tva.studio :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), select, textarea) { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--x-line-2); border-radius: 13px; background: rgba(0,0,0,.28); color: var(--x-ink); font-family: inherit; font-weight: 400; font-size: 15px; line-height: 1.45; box-shadow: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.admin-body .tva.studio textarea { min-height: 110px; resize: vertical; }
.admin-body .tva.studio :is(input, select, textarea)::placeholder { color: #5f6676; }
.admin-body .tva.studio :is(input, select, textarea):focus { outline: 0; border-color: rgba(255,59,74,.65); background: rgba(0,0,0,.4); box-shadow: 0 0 0 4px rgba(255,59,74,.14); }
.admin-body .tva.studio :is(label, .tva-form label, .tva-episode-form label, .lv-form label, .tva-gen label, .lv-platform-form label) { display: grid; gap: 8px; color: var(--x-soft); font-size: 13px; font-weight: 500; }
.admin-body .tva.studio label > small { font-weight: 400; }
.admin-body .tva.studio .tva-check { display: flex !important; gap: 12px !important; padding: 12px 14px; border: 1px solid var(--x-line); border-radius: 13px; background: var(--x-surface); color: var(--x-soft); font-weight: 500; }
.admin-body .tva.studio input[type="checkbox"], .admin-body .tva.studio input[type="radio"] { accent-color: var(--x-red); }
.admin-body .tva.studio .tva-two, .admin-body .tva.studio .tvx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Header bar */
.admin-body .tvs-bar { position: sticky; top: 70px; z-index: 6; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 10px 12px 10px 16px; border: 1px solid var(--x-line); border-radius: 20px; background: rgba(14,16,22,.82); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.9); }
.admin-body .tvs-brand { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.admin-body .tvs-brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 9px; }
.admin-body .tvs-brand b { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.admin-body .tvs-tabs { display: flex; justify-content: center; gap: 4px; min-width: 0; padding: 4px; border-radius: 15px; background: rgba(0,0,0,.3); overflow-x: auto; scrollbar-width: none; }
.admin-body .tvs-tabs::-webkit-scrollbar { display: none; }
.admin-body .tvs-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 11px; background: transparent; color: var(--x-mute); font-family: inherit; font-weight: 500; font-size: 14px; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .18s, color .18s; }
.admin-body .tvs-tabs button svg { width: 17px; height: 17px; }
.admin-body .tvs-tabs button:hover { color: var(--x-ink); }
.admin-body .tvs-tabs button.active { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 16px -10px rgba(0,0,0,.8); }
.admin-body .tvs-onair { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--x-mute); font-size: 12px; font-weight: 700; letter-spacing: .1em; white-space: nowrap; }
.admin-body .tvs-onair i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.admin-body .tvs-onair.is-air { background: rgba(61,220,151,.12); color: var(--x-green); }
.admin-body .tvs-onair.is-air i { box-shadow: 0 0 10px var(--x-green); }
.admin-body .tvs-onair.is-cut { background: rgba(255,197,61,.13); color: var(--x-amber); }
.admin-body .tvs-onair.is-live { background: var(--x-red); color: #fff; box-shadow: 0 8px 22px -8px rgba(255,59,74,.9); }
.admin-body .tvs-onair.is-live i { animation: tvx-blink 1.1s steps(2) infinite; }
.admin-body .tvs-clock { display: grid; justify-items: end; min-width: max-content; line-height: 1.05; }
.admin-body .tvs-clock b { font-size: 22px; font-weight: 300; letter-spacing: .01em; font-variant-numeric: tabular-nums; color: #fff; }
.admin-body .tvs-clock small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* Section headers & sub tabs */
.admin-body .tvx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 6px 4px 0; }
.admin-body .tvx-head p { margin: 6px 0 0; color: var(--x-mute); font-size: 15px; }
.admin-body .tvx-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-body .tvx-bar-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-body .tvx-subtabs, .admin-body .tva.studio .tva-lang-tabs { display: inline-flex; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--x-line); border-radius: 14px; background: rgba(0,0,0,.25); }
.admin-body .tvx-subtabs button, .admin-body .tva.studio .tva-lang-tabs button { height: 36px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--x-mute); font-family: inherit; font-weight: 500; font-size: 14px; line-height: 1; cursor: pointer; box-shadow: none; }
.admin-body .tvx-subtabs button.active, .admin-body .tva.studio .tva-lang-tabs button.active { background: rgba(255,255,255,.1); color: #fff; }

/* Studio console */
.admin-body .tvx { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.admin-body .tvx-pgm { display: grid; gap: 0; border: 1px solid var(--x-line); border-radius: 26px; background: #050608; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.admin-body .tvx-pgm.is-live { border-color: rgba(255,59,74,.55); box-shadow: 0 0 0 1px rgba(255,59,74,.25), 0 30px 70px -30px rgba(255,59,74,.55); }
.admin-body .tvx-pgm > header { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.admin-body .tvx-state { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--x-soft); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.admin-body .tvx-state i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.admin-body .tvx-state.is-air { background: rgba(61,220,151,.13); color: var(--x-green); }
.admin-body .tvx-state.is-cut { background: rgba(255,197,61,.14); color: var(--x-amber); }
.admin-body .tvx-state.is-live { background: var(--x-red); color: #fff; }
.admin-body .tvx-state.is-live i { animation: tvx-blink 1.1s steps(2) infinite; }
.admin-body .tvx-where { color: var(--x-mute); font-size: 14px; }
.admin-body .tvx-cd { margin-left: auto; font-size: 22px; font-weight: 300; font-variant-numeric: tabular-nums; color: #fff; }
.admin-body .tvx-screen { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.admin-body .tvx-screen.is-small { border-radius: 16px; border: 1px solid var(--x-line); }
.admin-body .tvx-screen > img, .admin-body .tvx-screen > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.admin-body .tvx-screen > img { filter: brightness(.82); }
.admin-body .tvx-screen .tvp-gfx { z-index: 2; }
.admin-body .tvx-play { position: relative; z-index: 3; width: 76px; height: 76px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 24px; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: transform .2s, background .2s; }
.admin-body .tvx-play:hover { transform: scale(1.07); background: var(--x-red); }
.admin-body .tvx-x.is-screen { position: absolute; z-index: 4; right: 14px; bottom: 14px; background: rgba(0,0,0,.6) !important; }
.admin-body .tvx-bars { position: absolute; inset: 0; background: linear-gradient(90deg, #bdbdbd 0 14.28%, #bdbd00 0 28.56%, #00bdbd 0 42.84%, #00bd00 0 57.12%, #bd00bd 0 71.4%, #bd0000 0 85.68%, #0000bd 0); opacity: .16; }
.admin-body .tvx-nosig { position: relative; z-index: 3; padding: 10px 18px; border-radius: 12px; background: rgba(0,0,0,.72); color: var(--x-soft); font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.admin-body .tvx-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(255,59,74,.55), rgba(120,10,25,.35) 40%, #000 75%); animation: tvx-breathe 2.8s ease-in-out infinite; }
.admin-body .tvx-now { position: relative; display: grid; gap: 4px; padding: 20px 24px 24px; }
.admin-body .tvx-now small { color: var(--x-red); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.admin-body .tvx-now h2 { font-size: 28px; }
.admin-body .tvx-now p { margin: 0; color: var(--x-mute); font-size: 14px; font-variant-numeric: tabular-nums; }
.admin-body .tvx-prog { display: block; height: 4px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--x-red) var(--p, 0%), rgba(255,255,255,.1) var(--p, 0%)); }
.admin-body .tvx-side { display: grid; gap: 22px; }
.admin-body .tvx-ctl { gap: 12px !important; }
.admin-body .tvx-ctl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-body .tvx-ctl-row .tvx-btn { padding: 0 10px; }
.admin-body .tvx-liveform { display: grid; gap: 12px; padding: 16px; border: 1px solid rgba(255,59,74,.35); border-radius: 16px; background: rgba(255,59,74,.07); }
.admin-body .tvx-liveform p { margin: 0; color: var(--x-soft); font-size: 13px; }
.admin-body .tvx-liveform > div { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.admin-body .tvx-next ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.admin-body .tvx-next li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 10px 0; border-top: 1px solid var(--x-line); font-size: 14px; }
.admin-body .tvx-next li:first-child { border-top: 0; }
.admin-body .tvx-next time { color: var(--x-mute); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.admin-body .tvx-next span { min-width: 0; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .tvx-next li.is-ad span { color: var(--x-amber); }
.admin-body .tvx-alarms ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.admin-body .tvx-alarms li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 14px; color: var(--x-soft); }
.admin-body .tvx-alarms.is-ok { display: flex; align-items: center; gap: 12px; color: var(--x-soft); font-size: 14px; }
.admin-body .tvx-led { width: 9px; height: 9px; border-radius: 50%; background: #5b6372; }
.admin-body .tvx-led.green { background: var(--x-green); box-shadow: 0 0 12px var(--x-green); }
.admin-body .tvx-led.amber { background: var(--x-amber); box-shadow: 0 0 12px rgba(255,197,61,.7); }
.admin-body .tvx-led.red { background: var(--x-red); box-shadow: 0 0 12px var(--x-red); }
.admin-body .tvx-chip { height: 30px; padding: 0 12px; border: 1px solid var(--x-line-2); border-radius: 999px; background: transparent; color: var(--x-ink); font-family: inherit; font-weight: 600; font-size: 12px; line-height: 1; cursor: pointer; }
.admin-body .tvx-chip:hover { background: var(--x-hover); }

/* Graphics */
.admin-body .tvx-gfx > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-body .tvx-switches { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-body .tvx-switch { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 8px; border: 1px solid var(--x-line-2); border-radius: 999px; background: transparent; color: var(--x-soft); font-family: inherit; font-weight: 500; font-size: 13px; line-height: 1; cursor: pointer; }
.admin-body .tvx-switch i { position: relative; width: 34px; height: 20px; border-radius: 999px; background: rgba(255,255,255,.14); transition: background .2s; }
.admin-body .tvx-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.admin-body .tvx-switch.is-on { color: #fff; border-color: rgba(61,220,151,.4); }
.admin-body .tvx-switch.is-on i { background: var(--x-green); }
.admin-body .tvx-switch.is-on i::after { transform: translateX(14px); }
.admin-body .tvx-gfx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-body .tvx-gfx-block { display: grid; align-content: start; gap: 12px; padding: 20px; border: 1px solid var(--x-line); border-radius: 18px; background: rgba(0,0,0,.2); }
.admin-body .tvx-block-head { display: flex; align-items: center; gap: 10px; }
.admin-body .tvx-block-head b { font-size: 15px; font-weight: 600; }
.admin-body .tvx-pill { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.admin-body .tvx-pill.on { background: rgba(61,220,151,.14); color: var(--x-green); }
.admin-body .tvx-styles { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-body .tvx-styles label { display: block; margin: 0; cursor: pointer; }
.admin-body .tvx-styles input { position: absolute; opacity: 0; pointer-events: none; }
.admin-body .tvx-styles span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--x-line-2); border-radius: 999px; color: var(--x-soft); font-size: 13px; font-weight: 500; }
.admin-body .tvx-styles span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: #e50914; }
.admin-body .tvx-styles span.is-dark::before { background: #0b0f17; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.admin-body .tvx-styles span.is-light::before { background: #fff; }
.admin-body .tvx-styles.is-pos span::before { display: none; }
.admin-body .tvx-styles input:checked + span { border-color: var(--x-red); background: rgba(255,59,74,.12); color: #fff; }
.admin-body .tvx-styles input:focus-visible + span { outline: 2px solid var(--x-red); outline-offset: 2px; }
.admin-body .tvx-presets { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-body .tvx-presets span { display: inline-flex; border: 1px solid var(--x-line-2); border-radius: 999px; overflow: hidden; }
.admin-body .tvx-presets button { height: 30px; padding: 0 12px; border: 0; background: transparent; color: var(--x-soft); font-family: inherit; font-weight: 500; font-size: 12px; line-height: 1; cursor: pointer; }
.admin-body .tvx-presets button + button { padding: 0 10px; border-left: 1px solid var(--x-line); color: var(--x-mute); }
.admin-body .tvx-presets button:hover { background: var(--x-hover); color: #fff; }
.admin-body .tvx-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.admin-body .tvx-actions.is-left { justify-content: flex-start; align-items: center; }
.admin-body .tvx-toggle { display: flex !important; align-items: center; gap: 14px !important; padding: 14px 16px; border: 1px solid var(--x-line); border-radius: 15px; background: var(--x-surface); cursor: pointer; }
.admin-body .tvx-toggle.is-inline { padding: 8px 12px; }
.admin-body .tvx-toggle input { width: 20px; height: 20px; flex: none; }
.admin-body .tvx-toggle span { display: grid; gap: 2px; }
.admin-body .tvx-toggle b { color: var(--x-ink); font-weight: 600; font-size: 14px; }
.admin-body .tvx-range { grid-template-columns: 1fr auto; align-items: center; }
.admin-body .tvx-range input { grid-column: 1 / -1; width: 100%; accent-color: var(--x-red); }
.admin-body .tvx-range output { color: var(--x-ink); font-variant-numeric: tabular-nums; }

/* Settings */
.admin-body .tvx-settings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.admin-body .tvx-stack { display: grid; gap: 22px; }
.admin-body .tvx-form h3 { padding-top: 6px; color: var(--x-ink); }
.admin-body .tvx-form h3:not(:first-child) { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--x-line); }
.admin-body .tvx-linkcard p { margin: 0; color: var(--x-soft); }
.admin-body .tvx-linkcard .tvx-btn { justify-self: start; }

/* Cut picker */
.admin-body .tvx-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(4,5,8,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: tvx-fade .2s ease-out; }
.admin-body .tvx-modal-box { display: grid; gap: 16px; width: min(720px, 100%); max-height: min(780px, 90vh); padding: 26px; border: 1px solid var(--x-line-2); border-radius: 26px; background: #12141b; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); overflow: hidden; grid-template-rows: auto auto auto minmax(0, 1fr); }
.admin-body .tvx-modal-box > header { display: flex; justify-content: space-between; gap: 16px; }
.admin-body .tvx-modal-box h3 { font-size: 20px; }
.admin-body .tvx-modal-box header p { margin: 4px 0 0; color: var(--x-mute); font-size: 14px; }
.admin-body .tvx-link { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px; }
.admin-body .tvx-pick { display: grid; gap: 6px; overflow-y: auto; padding-right: 4px; }
.admin-body .tvx-pick button { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px; border: 1px solid transparent; border-radius: 15px; background: transparent; color: var(--x-ink); text-align: left; cursor: pointer; }
.admin-body .tvx-pick button[hidden] { display: none; }
.admin-body .tvx-pick button:hover { border-color: var(--x-line); background: var(--x-surface-2); }
.admin-body .tvx-pick img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.admin-body .tvx-pick b { display: block; overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .tvx-pick em { padding: 7px 12px; border-radius: 10px; background: rgba(255,59,74,.14); color: #ff8d97; font-style: normal; font-size: 12px; font-weight: 700; opacity: 0; transition: opacity .15s; }
.admin-body .tvx-pick button:hover em { opacity: 1; }

/* Timeline */
.admin-body .tvx-tl > header, .admin-body .tvs-tl > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.admin-body .tvs-tl-scale { position: relative; height: 18px; }
.admin-body .tvs-tl-scale span { position: absolute; transform: translateX(-50%); color: var(--x-mute); font-size: 11px; font-variant-numeric: tabular-nums; }
.admin-body .tvs-tl-scale span:first-child { transform: none; } .admin-body .tvs-tl-scale span:last-child { transform: translateX(-100%); }
.admin-body .tvs-tl-track { position: relative; height: 46px; border-radius: 12px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 calc(12.5% - 1px), rgba(255,255,255,.07) calc(12.5% - 1px) 12.5%), rgba(0,0,0,.3); overflow: hidden; }
.admin-body .tvs-tl-block { position: absolute; top: 6px; bottom: 6px; min-width: 2px; padding: 0; border: 0; border-radius: 3px; background: hsl(var(--h) 62% 52%); opacity: .82; box-shadow: inset -1px 0 0 rgba(0,0,0,.45); }
.admin-body button.tvs-tl-block { cursor: pointer; }
.admin-body .tvs-tl-block:hover { z-index: 2; opacity: 1; filter: brightness(1.25); }
.admin-body .tvs-tl-block.is-ad { background: var(--x-amber); }
.admin-body .tvs-nowline { position: absolute; z-index: 3; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.8); }

/* Schedule */
.admin-body .tva.studio .tva-days { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.admin-body .tva.studio .tva-day { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--x-line); border-radius: 16px; background: var(--x-surface); color: var(--x-ink); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.admin-body .tva.studio .tva-day:hover { background: var(--x-surface-2); }
.admin-body .tva.studio .tva-day b { font-size: 14px; font-weight: 600; }
.admin-body .tva.studio .tva-day i { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--x-green) var(--fill), rgba(255,255,255,.1) var(--fill)); }
.admin-body .tva.studio .tva-day small { font-size: 12px; }
.admin-body .tva.studio .tva-day.active { border-color: rgba(255,59,74,.6); background: rgba(255,59,74,.09); }
.admin-body .tva.studio .tva-day.is-today b { color: #ff8d97; }
.admin-body .tva.studio .tva-sched-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.admin-body .tva.studio .tva-sched-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; }
.admin-body .tva.studio .tva-sched-head small { flex: 1; }
.admin-body .tva.studio .tva-sched-head .tva-btn { margin: 0; }
.admin-body .tva.studio .tva-slots { display: grid; gap: 6px; max-height: 70vh; overflow-y: auto; padding: 2px 4px 2px 2px; }
.admin-body .tva.studio .tva-slots.drop-end { box-shadow: inset 0 -3px 0 var(--x-red); }
.admin-body .tva.studio .tva-slot { position: relative; display: grid; grid-template-columns: 14px 78px 80px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border: 1px solid transparent; border-radius: 15px; background: rgba(255,255,255,.025); box-shadow: inset 3px 0 0 hsl(var(--h) 62% 52%); cursor: grab; transition: background .15s, border-color .15s, opacity .15s; }
.admin-body .tva.studio .tva-slot:nth-child(odd) { background: rgba(255,255,255,.025); }
.admin-body .tva.studio .tva-slot:hover { border-color: var(--x-line); background: var(--x-surface-2); }
.admin-body .tva.studio .tva-slot.is-ad { box-shadow: inset 3px 0 0 var(--x-amber); background: rgba(255,197,61,.05); }
.admin-body .tva.studio .tva-slot.is-now { border-color: rgba(255,59,74,.5); background: linear-gradient(90deg, rgba(255,59,74,.16), rgba(255,255,255,.03) 70%); box-shadow: inset 3px 0 0 var(--x-red); }
.admin-body .tva.studio .tva-slot.is-past { opacity: .45; }
.admin-body .tva.studio .tva-slot.is-past:hover { opacity: .85; }
.admin-body .tva.studio .tva-slot.is-dragging { opacity: .3; }
.admin-body .tva.studio .tva-slot.drop-before::before, .admin-body .tva.studio .tva-slot.drop-after::after { content: ""; position: absolute; left: 6px; right: 6px; height: 3px; border-radius: 3px; background: var(--x-red); box-shadow: 0 0 10px var(--x-red); }
.admin-body .tva.studio .tva-slot.drop-before::before { top: -4px; } .admin-body .tva.studio .tva-slot.drop-after::after { bottom: -4px; }
.admin-body .tva.studio .tva-slot.is-flash { animation: tvx-flash 1.2s ease-out; }
.admin-body .tva.studio .tva-slot time { display: grid; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.admin-body .tva.studio .tva-slot time small { font-size: 12px; font-weight: 400; }
.admin-body .tva.studio .tva-slot img, .admin-body .tva.studio .tva-slot-ph { width: 80px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; background: rgba(255,255,255,.06); }
.admin-body .tva.studio .tva-slot b { display: block; overflow: hidden; font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .tva.studio .tva-slot small { font-size: 13px; }
.admin-body .tva.studio .tva-slot nav { display: flex; gap: 6px; opacity: 0; transition: opacity .15s; }
.admin-body .tva.studio .tva-slot:hover nav, .admin-body .tva.studio .tva-slot:focus-within nav { opacity: 1; }
.admin-body .tva.studio .tva-slot .tvs-prog, .admin-body .tva.studio .tva-slot .tvx-prog { position: static; display: block; height: 3px; margin-top: 8px; border-radius: 3px; background: linear-gradient(90deg, var(--x-red) var(--p, 0%), rgba(255,255,255,.1) var(--p, 0%)); }
.admin-body .tvs-grip { color: #4a5161; font-size: 12px; letter-spacing: -2px; }
.admin-body .tva.studio .tva-ad-tag { padding: 2px 7px; border-radius: 6px; background: rgba(255,197,61,.16); color: var(--x-amber); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.admin-body .tva.studio .tva-now-tag { color: #ff8d97; font-style: normal; font-weight: 600; }
.admin-body .tvs-bin-list { display: grid; gap: 6px; max-height: 48vh; overflow-y: auto; padding-right: 4px; }
.admin-body .tvs-bin-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border: 1px solid transparent; border-radius: 14px; background: rgba(255,255,255,.025); cursor: grab; }
.admin-body .tvs-bin-item:hover { border-color: var(--x-line); background: var(--x-surface-2); }
.admin-body .tvs-bin-item.is-dragging { opacity: .35; }
.admin-body .tvs-bin-item[hidden] { display: none; }
.admin-body .tvs-bin-item img { width: 64px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.admin-body .tvs-bin-item b { display: block; overflow: hidden; font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .tvs-bin-item small { font-size: 12px; }
.admin-body .tvs-bin-item .tva-icon { width: 32px; height: 32px; }

/* Shows, library, ads, live */
.admin-body .tva.studio .tva-layout.is-full { grid-template-columns: 1fr; }
.admin-body .tva.studio .tva-shows { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.admin-body .tva.studio .tva-show { overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.admin-body .tva.studio .tva-show:hover { transform: translateY(-4px); border-color: var(--x-line-2); box-shadow: 0 30px 50px -30px rgba(0,0,0,.9); }
.admin-body .tva.studio .tva-show-cover { aspect-ratio: 16 / 10; background-color: #151821; }
.admin-body .tva.studio .tva-show-cover em { top: 12px; left: 12px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); font-weight: 600; }
.admin-body .tva.studio .tva-show-body { padding: 18px 20px 8px; gap: 6px; }
.admin-body .tva.studio .tva-show-body b { font-size: 17px; font-weight: 600; }
.admin-body .tva.studio .tva-show-body p span { background: rgba(255,255,255,.06); color: var(--x-soft); font-weight: 500; }
.admin-body .tva.studio .tva-show footer { padding: 12px 20px 20px; gap: 8px; }
.admin-body .tva.studio .tva-status { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.admin-body .tva.studio .tva-status.on { background: rgba(61,220,151,.13); color: var(--x-green); }
.admin-body .tva.studio .tva-status.off { background: rgba(255,255,255,.07); color: var(--x-mute); }
.admin-body .tva.studio .tva-lang { padding: 3px 8px; font-weight: 600; }
.admin-body .tva.studio .tva-lang.is-az { background: rgba(110,168,255,.16); color: #a9c9ff; }
.admin-body .tva.studio .tva-lang.is-ge { background: rgba(255,59,74,.15); color: #ffa4ab; }
.admin-body .tva.studio .tva-empty { padding: 48px 24px; border: 1px dashed var(--x-line-2); border-radius: var(--x-r); background: transparent; }
.admin-body .tva.studio .tva-empty b { font-size: 18px; font-weight: 600; }
.admin-body .tva.studio .tva-empty p { color: var(--x-mute); }
.admin-body .tva.studio .tva-episodes { gap: 6px; }
.admin-body .tva.studio .tva-episode { grid-template-columns: 176px minmax(0, 1fr) auto; gap: 18px; padding: 12px; border-radius: 16px; }
.admin-body .tva.studio .tva-episode:hover { border-color: var(--x-line); background: var(--x-surface-2); }
.admin-body .tva.studio .tva-episode-thumb { border-radius: 12px; }
.admin-body .tva.studio .tva-episode-body b { font-size: 16px; font-weight: 600; }
.admin-body .tva.studio .tva-episode-body p { color: var(--x-mute); font-size: 13px; }
.admin-body .tva.studio .tva-toolbar { gap: 12px; }
.admin-body .tva.studio .tva-toolbar > b { font-size: 16px; font-weight: 600; }
.admin-body .tva.studio .tva-toolbar span { color: var(--x-mute); font-weight: 500; }
.admin-body .tva.studio .tva-table { font-size: 14px; }
.admin-body .tva.studio .tva-table th { padding: 12px 10px; border-color: var(--x-line); color: var(--x-mute); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.admin-body .tva.studio .tva-table td { padding: 12px 10px; border-color: rgba(255,255,255,.045); }
.admin-body .tva.studio .tva-table td b { font-weight: 600; }
.admin-body .tva.studio .tva-table tr:hover td { background: rgba(255,255,255,.025); }
.admin-body .tva.studio .tva-table td:first-child img { width: 112px; border-radius: 10px; }
.admin-body .tva.studio .tva-table tr.is-broken td { background: rgba(255,59,74,.07); }
.admin-body .tva.studio .tva-show-head { padding: 22px; gap: 22px; margin: 0; }
.admin-body .tva.studio .tva-show-head-cover { border-radius: 16px; }
.admin-body .tva.studio .tva-show-head .tva-btn.ghost { background: transparent; color: var(--x-ink); border-color: var(--x-line-2); }
.admin-body .tva.studio .tva-back { color: var(--x-mute); font-size: 14px; font-weight: 500; }
.admin-body .tva.studio .tva-back:hover { color: #fff; }
.admin-body .tva.studio .tva-lang-note { background: rgba(255,255,255,.05); color: var(--x-soft); font-weight: 500; }
.admin-body .tva.studio :is(.tva-lang-pick span, .lv-platform-pick span, .lv-copy code) { border-color: var(--x-line-2); background: rgba(0,0,0,.25); color: var(--x-ink); }
.admin-body .tva.studio :is(.tva-lang-pick input:checked + span, .lv-platform-pick input:checked + span) { border-color: var(--x-red); background: rgba(255,59,74,.12); color: #fff; }
.admin-body .tva.studio .tva-lang-pick span small, .admin-body .tva.studio .lv-copy span { color: var(--x-mute); }
.admin-body .tva.studio .tva-cover-pick { border-color: var(--x-line-2); background-color: rgba(0,0,0,.25); }
.admin-body .tva.studio .tva-preview-screen { border-radius: 16px; }
.admin-body .tva.studio .lv { gap: 22px; }
.admin-body .tva.studio .lv-hero { padding: 24px 26px; border: 1px solid var(--x-line); border-radius: var(--x-r); background: var(--x-surface); box-shadow: none; }
.admin-body .tva.studio .lv-hero.is-live { border-color: rgba(255,59,74,.55); background: radial-gradient(120% 180% at 0% 0%, rgba(255,59,74,.4), rgba(255,59,74,.06) 60%); }
.admin-body .tva.studio .lv-hero > div > span:first-child { color: var(--x-mute); letter-spacing: .1em; }
.admin-body .tva.studio .lv-hero p { color: var(--x-soft); }
.admin-body .tva.studio .lv-event { padding: 16px 18px; }
.admin-body .tva.studio .lv-event.is-live { border-color: rgba(255,59,74,.5); background: rgba(255,59,74,.08); }
.admin-body .tva.studio .lv-event-when span, .admin-body .tva.studio .lv-event-body small { color: var(--x-mute); }
.admin-body .tva.studio .lv-chip { background: rgba(255,255,255,.07); color: var(--x-soft); font-weight: 600; }
.admin-body .tva.studio .lv-chip.is-youtube, .admin-body .tva.studio .lv-chip.is-site { background: rgba(255,59,74,.16); color: #ffa4ab; }
.admin-body .tva.studio .lv-chip.is-facebook { background: rgba(110,168,255,.16); color: #a9c9ff; }
.admin-body .tva.studio .lv-platform { border-color: var(--x-line); padding: 14px 0; }
.admin-body .tva.studio .lv-guide code { background: rgba(255,255,255,.07); color: var(--x-ink); }
.admin-body .tva.studio .lv-tips ul { color: var(--x-soft); }

@keyframes tvx-blink { 50% { opacity: .35; } }
@keyframes tvx-breathe { 50% { opacity: .65; } }
@keyframes tvx-fade { from { opacity: 0; } }
@keyframes tvx-flash { 0% { background: rgba(255,59,74,.4); } }
@media (prefers-reduced-motion: reduce) { .admin-body .tva.studio *, .admin-body .tvx-modal { animation: none !important; transition: none !important; } }

@container studio (max-width: 960px) {
  .admin-body .tvx { grid-template-columns: 1fr; }
  .admin-body .tvx-side { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .admin-body .tva.studio .tva-sched-layout { grid-template-columns: 1fr; }
  .admin-body .tvs-tabs button:not(.active) span { display: none; }
}
@container studio (max-width: 900px) {
  .admin-body .tvx-gfx-grid, .admin-body .tvx-settings { grid-template-columns: 1fr; }
  .admin-body .tva.studio .tva-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-body .tvs-brand b { display: none; }
}
@container studio (max-width: 640px) {
  .admin-body .tvs-bar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .admin-body .tvs-clock { display: none; }
  .admin-body .tvs-tabs { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .admin-body .tvs-onair { justify-self: end; grid-column: 3; grid-row: 1; }
  .admin-body .tvs-brand { grid-column: 1; }
  .admin-body .tvx-now h2 { font-size: 22px; }
  .admin-body .tva.studio h2 { font-size: 22px; }
  .admin-body .tvx-link { grid-template-columns: 1fr; }
  .admin-body .tva.studio .tva-slot { grid-template-columns: 70px minmax(0, 1fr) auto; }
  .admin-body .tva.studio .tva-slot img, .admin-body .tva.studio .tva-slot .tva-slot-ph, .admin-body .tvs-grip { display: none; }
  .admin-body .tva.studio .tva-slot nav { opacity: 1; }
  .admin-body .tva.studio .tva-slot nav .tva-icon:not(.danger) { display: none; }
  .admin-body .tva.studio .tva-episode { grid-template-columns: 110px minmax(0, 1fr); }
  .admin-body .tvx-pick button { grid-template-columns: 84px minmax(0, 1fr); }
  .admin-body .tvx-pick img { width: 84px; } .admin-body .tvx-pick em { display: none; }
}
@media (max-width: 760px) { .admin-body .tva.studio { padding: 12px; gap: 16px; border-radius: 20px; } .admin-body .tvs-bar { top: 58px; } .admin-body .tva.studio :is(.tvx-card, .tva-card, .tvs-panel) { padding: 18px; } .admin-body .tvx-two, .admin-body .tva.studio .tva-two { grid-template-columns: 1fr; } }
@container studio (max-width: 1120px) { .admin-body .tvs-tabs button:not(.active) span { display: none; } .admin-body .tvs-tabs button { padding: 0 13px; } }
.admin-body .tvx-styles label { position: relative; }
.admin-body .tvx-styles input { inset: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: 0; }
.admin-body .tva.studio { max-width: 100%; overflow-x: clip; }

/* ---- Sayt ayarları (v364): one page, every value in one place ---- */
.admin-body .st-page { --s-bg: #fff; --s-soft: #f6f7fa; --s-line: #e6e8ee; --s-ink: #12151c; --s-mute: #6b7280; --s-red: #e5112a; display: grid; gap: 20px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; color: var(--s-ink); font-size: 15px; container: st / inline-size; max-width: 100%; overflow-x: clip; }
.admin-body.admin-dark .st-page { --s-bg: #151821; --s-soft: #1b1f2a; --s-line: #2a2f3c; --s-ink: #f2f4f8; --s-mute: #9aa3b2; }
.admin-body .st-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-body .st-head h1 { margin: 0; font-size: 30px; font-weight: 750; letter-spacing: -.025em; color: var(--s-ink); }
.admin-body .st-head p { margin: 6px 0 0; color: var(--s-mute); font-size: 15px; }
.admin-body .st-tabs { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--s-line); border-radius: 18px; background: var(--s-bg); overflow-x: auto; scrollbar-width: none; }
.admin-body .st-tabs button { position: relative; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border: 0; border-radius: 13px; background: transparent; color: var(--s-mute); font-weight: 600; font-size: 14.5px; line-height: 1; font-family: inherit; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.admin-body .st-tabs button:hover { background: var(--s-soft); color: var(--s-ink); }
.admin-body .st-tabs button.active { background: var(--s-ink); color: var(--s-bg); }
.admin-body .st-tabs .lucide-icon { width: 18px; height: 18px; }
.admin-body .st-tab-dot { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; }
.admin-body .st-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.admin-body .st-main, .admin-body .st-card { border: 1px solid var(--s-line); border-radius: 22px; background: var(--s-bg); box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px -18px rgba(16,24,40,.12); }
.admin-body .st-main { display: grid; padding: 0; overflow: clip; }
.admin-body .st-panel { display: grid; gap: 20px; padding: 30px 32px 28px; }
.admin-body .st-panel[hidden] { display: none; }
.admin-body .st-panel h2 { margin: 0; font-size: 22px; font-weight: 720; letter-spacing: -.02em; color: var(--s-ink); }
.admin-body .st-panel h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--s-ink); }
.admin-body .st-page .st-note { padding: 0; border: 0; background: none; margin: -12px 0 0; color: var(--s-mute); font-size: 14.5px; line-height: 1.55; }
.admin-body .st-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.admin-body .st-field { display: grid; gap: 8px; margin: 0; color: var(--s-ink); }
.admin-body .st-field.wide { grid-column: 1 / -1; }
.admin-body .st-field > span { font-size: 13.5px; font-weight: 600; color: var(--s-ink); }
.admin-body .st-field small { color: var(--s-mute); font-size: 13px; }
.admin-body .st-field em { font-style: normal; font-weight: 600; }
.admin-body .st-page :is(input:not([type="checkbox"]):not([type="hidden"]), textarea, select) { width: 100%; min-height: 48px; margin: 0; padding: 12px 15px; border: 1px solid var(--s-line); border-radius: 13px; background: var(--s-soft); color: var(--s-ink); font-weight: 400; font-size: 15px; line-height: 1.5; font-family: inherit; box-shadow: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.admin-body .st-page textarea { resize: vertical; }
.admin-body .st-page :is(input, textarea, select):focus { outline: none; border-color: var(--s-ink); background: var(--s-bg); box-shadow: 0 0 0 4px rgba(18,21,28,.08); }
.admin-body .st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid var(--s-line); border-radius: 12px; background: var(--s-bg); color: var(--s-ink); font-weight: 600; font-size: 14px; line-height: 1; font-family: inherit; white-space: nowrap; cursor: pointer; box-shadow: none; transition: background .15s, transform .15s; }
.admin-body .st-btn:hover { background: var(--s-soft); transform: translateY(-1px); }
.admin-body .st-btn.primary { border-color: transparent; background: var(--s-red); color: #fff; box-shadow: 0 10px 22px -12px rgba(229,17,42,.7); }
.admin-body .st-btn.primary:hover { background: #c90e24; }
.admin-body .st-btn.ghost { background: transparent; }
.admin-body .st-btn.danger { color: var(--s-red); }
.admin-body .st-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-body .st-asset { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px 16px; align-items: center; padding: 16px; border: 1px solid var(--s-line); border-radius: 18px; background: var(--s-soft); }
.admin-body .st-asset-img { grid-row: 1 / 3; display: grid; place-items: center; height: 80px; border-radius: 13px; background: #fff; border: 1px solid var(--s-line); background-image: linear-gradient(45deg, #f1f2f5 25%, transparent 25%, transparent 75%, #f1f2f5 75%), linear-gradient(45deg, #f1f2f5 25%, transparent 25%, transparent 75%, #f1f2f5 75%); background-size: 14px 14px; background-position: 0 0, 7px 7px; }
.admin-body .st-asset.is-dark .st-asset-img { background: #10131a; border-color: #10131a; }
.admin-body .st-asset-img img { max-width: 88%; max-height: 60px; object-fit: contain; }
.admin-body .st-asset-off { color: var(--s-mute); font-size: 12.5px; font-weight: 600; }
.admin-body .st-asset b { display: block; font-size: 15px; color: var(--s-ink); }
.admin-body .st-asset small { display: block; margin-top: 3px; color: var(--s-mute); font-size: 13px; }
.admin-body .st-asset-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-body .st-asset-actions .st-btn { height: 36px; padding: 0 14px; font-size: 13px; }
.admin-body .st-fb { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, rgba(24,119,242,.1), rgba(24,119,242,.03)); border: 1px solid rgba(24,119,242,.22); }
.admin-body .st-fb b { display: block; font-size: 15.5px; color: var(--s-ink); }
.admin-body .st-fb small { color: var(--s-mute); font-size: 13.5px; }
.admin-body .st-socials { display: grid; gap: 10px; }
.admin-body .st-social { display: grid; grid-template-columns: 12px 110px minmax(0, 1fr) minmax(0, .55fr); gap: 14px; align-items: center; padding: 10px 14px; border: 1px solid var(--s-line); border-radius: 16px; }
.admin-body .st-social b { font-size: 14.5px; color: var(--s-ink); }
.admin-body .st-social-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--s-line); transition: background .2s; }
.admin-body .st-social.is-on .st-social-dot { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
.admin-body .st-langs { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border-radius: 12px; background: var(--s-soft); }
.admin-body .st-langs button { height: 36px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; color: var(--s-mute); font-weight: 700; font-size: 13px; line-height: 1; font-family: inherit; cursor: pointer; }
.admin-body .st-langs button.active { background: var(--s-bg); color: var(--s-ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.admin-body .st-lang { display: grid; gap: 16px; }
.admin-body .st-lang[hidden] { display: none; }
.admin-body .st-block { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--s-line); border-radius: 18px; }
.admin-body .st-toggles { display: grid; gap: 10px; }
.admin-body .st-toggle { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid var(--s-line); border-radius: 16px; cursor: pointer; }
.admin-body .st-toggle b { display: block; font-size: 15px; color: var(--s-ink); }
.admin-body .st-toggle small { display: block; margin-top: 3px; color: var(--s-mute); font-size: 13.5px; line-height: 1.45; }
.admin-body .st-toggle input { appearance: none; flex: none; position: relative; width: 46px; height: 28px; margin: 0; border-radius: 999px; background: var(--s-line); cursor: pointer; transition: background .2s; }
.admin-body .st-toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.admin-body .st-toggle input:checked { background: #22c55e; }
.admin-body .st-toggle.is-warn input:checked { background: #f59e0b; }
.admin-body .st-toggle input:checked::after { transform: translateX(18px); }
.admin-body .st-seo-preview { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--s-line); border-radius: 16px; background: var(--s-soft); }
.admin-body .st-seo-preview small { color: var(--s-mute); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.admin-body .st-seo-preview b { color: #1a0dab; font-size: 19px; font-weight: 500; }
.admin-body.admin-dark .st-seo-preview b { color: #8ab4f8; }
.admin-body .st-seo-preview span { color: #188038; font-size: 13.5px; }
.admin-body .st-seo-preview p { margin: 0; color: var(--s-mute); font-size: 14px; line-height: 1.5; }
.admin-body .st-links { display: flex; gap: 16px; margin: 0; flex-wrap: wrap; }
.admin-body .st-links a { color: var(--s-ink); font-weight: 600; font-size: 14px; }
.admin-body .st-savebar { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 16px 32px; border-top: 1px solid var(--s-line); background: color-mix(in srgb, var(--s-bg) 92%, transparent); backdrop-filter: blur(10px); }
.admin-body .st-savebar span { flex: 1; color: var(--s-mute); font-size: 14px; }
.admin-body .st-savebar.is-dirty span { color: #b45309; font-weight: 600; }
.admin-body .st-savebar.is-dirty span::before { content: "● "; }
.admin-body .st-aside { display: grid; gap: 16px; position: sticky; top: 84px; }
.admin-body .st-card { display: grid; gap: 14px; padding: 22px; }
.admin-body .st-card h2 { margin: 0; font-size: 16px; font-weight: 700; color: var(--s-ink); }
.admin-body .st-tab-mock { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border-radius: 12px 12px 0 0; background: var(--s-soft); border: 1px solid var(--s-line); border-bottom: 0; font-size: 13px; color: var(--s-ink); }
.admin-body .st-tab-mock img { width: 16px; height: 16px; object-fit: contain; }
.admin-body .st-tab-mock span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .st-tab-mock i { font-style: normal; color: var(--s-mute); }
.admin-body .st-header-mock { display: flex; align-items: center; gap: 10px; margin-top: -14px; height: 64px; padding: 0 16px; border: 1px solid var(--s-line); border-radius: 0 0 12px 12px; background: #fff; }
.admin-body .st-header-mock img { height: 36px; max-width: 120px; object-fit: contain; margin-right: auto; }
.admin-body .st-header-mock span { width: 26px; height: 6px; border-radius: 3px; background: #e5e7eb; }
.admin-body .st-footer-mock { display: grid; gap: 10px; padding: 18px; border-radius: 12px; background: #10131a; color: #c5cad4; }
.admin-body .st-footer-mock img { height: 34px; max-width: 130px; object-fit: contain; }
.admin-body .st-footer-mock p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #9aa3b2; }
.admin-body .st-footer-mock div { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-body .st-footer-mock i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.1); font-style: normal; font-size: 11px; font-weight: 700; color: #fff; }
.admin-body .st-footer-mock small { color: #6b7280; font-size: 12px; }
.admin-body .st-meter { position: relative; height: 10px; border-radius: 99px; background: var(--s-soft); }
.admin-body .st-meter::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #22c55e, #16a34a); }
.admin-body .st-meter b { position: absolute; right: 0; top: -30px; font-size: 15px; color: var(--s-ink); }
.admin-body .st-score ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.admin-body .st-score li button { display: flex; justify-content: space-between; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--s-ink); font-weight: 500; font-size: 14px; line-height: 1.3; font-family: inherit; text-align: left; cursor: pointer; }
.admin-body .st-score li button:hover { background: var(--s-soft); }
.admin-body .st-score li span { color: var(--s-red); font-weight: 600; font-size: 13px; }
.admin-body .st-quick { gap: 6px; }
.admin-body .st-quick button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--s-ink); font-weight: 600; font-size: 14.5px; line-height: 1; font-family: inherit; cursor: pointer; }
.admin-body .st-quick button:hover { background: var(--s-soft); }
.admin-body .st-quick .lucide-icon { width: 18px; height: 18px; color: var(--s-mute); }
@container st (max-width: 1080px) { .admin-body .st-layout { grid-template-columns: minmax(0, 1fr); } .admin-body .st-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@container st (max-width: 760px) {
  .admin-body .st-grid, .admin-body .st-assets { grid-template-columns: minmax(0, 1fr); }
  .admin-body .st-grid > span:empty { display: none; }
  .admin-body .st-panel { padding: 22px 18px; }
  .admin-body .st-savebar { padding: 14px 18px; flex-wrap: wrap; }
  .admin-body .st-social { grid-template-columns: 12px minmax(0, 1fr); }
  .admin-body .st-social input { grid-column: 1 / -1; }
  .admin-body .st-social > i { display: none; }
  .admin-body .st-fb { flex-direction: column; align-items: flex-start; }
  .admin-body .st-tabs button span { display: none; }
  .admin-body .st-tabs button.active span { display: inline; }
  .admin-body .st-head h1 { font-size: 24px; }
}

/* Studio graphics v364: tag, more lower-third styles, breaking strip, sponsor */

/* ---- Studio v364: graphics desk (PVW → TAKE → PGM), templates, ad campaigns ---- */
.admin-body .tvx-desk { display: grid; gap: 20px; }
.admin-body .tvx-desk > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.admin-body .tvx-desk-tabs { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--x-line); border-radius: 16px; background: rgba(0,0,0,.25); overflow-x: auto; scrollbar-width: none; }
.admin-body .tvx-desk-tabs button { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: 1; justify-content: center; height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: transparent; color: var(--x-soft); font-family: inherit; font-weight: 600; font-size: 14.5px; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.admin-body .tvx-desk-tabs button:hover { color: #fff; background: var(--x-surface-2); }
.admin-body .tvx-desk-tabs button.active { background: #fff; color: #0b0d12; }
.admin-body .tvx-onair-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--x-red); box-shadow: 0 0 0 3px rgba(255,59,74,.25); animation: tvx-pulse 1.6s ease-in-out infinite; }
.admin-body .tvx-desk-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; align-items: start; }
.admin-body .tvx-desk-edit { display: grid; gap: 16px; align-content: start; }
.admin-body .tvx-two { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; }
.admin-body .tvx-field { display: grid; gap: 8px; color: var(--x-soft); font-size: 13px; font-weight: 500; }
.admin-body .tvx-field > span { color: var(--x-soft); }
.admin-body .tvx-hint { margin: 0; padding: 12px 14px; border-radius: 13px; background: var(--x-surface); color: var(--x-soft); font-size: 13.5px; line-height: 1.55; }
.admin-body .tvx-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-body .tvx-chips button { height: 32px; padding: 0 12px; border: 1px solid var(--x-line-2); border-radius: 999px; background: transparent; color: var(--x-soft); font-family: inherit; font-weight: 700; font-size: 11.5px; letter-spacing: .06em; cursor: pointer; transition: all .15s; }
.admin-body .tvx-chips button:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.admin-body .tvx-chips button.is-on { background: var(--x-red); border-color: var(--x-red); color: #fff; }
.admin-body .tvx-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--x-line); border-radius: 13px; background: rgba(0,0,0,.25); }
.admin-body .tvx-seg label { position: relative; flex: 1 1 auto; display: block !important; margin: 0; cursor: pointer; }
.admin-body .tvx-seg input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.admin-body .tvx-seg span { display: grid; place-items: center; height: 36px; padding: 0 12px; border-radius: 10px; color: var(--x-soft); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s; }
.admin-body .tvx-seg label:hover span { color: #fff; }
.admin-body .tvx-seg input:checked + span { background: var(--x-surface-2); color: #fff; box-shadow: inset 0 0 0 1px var(--x-line-2); }
.admin-body .tvx-seg input:focus-visible + span { outline: 2px solid var(--x-blue); }
.admin-body .tvx-swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.admin-body .tvx-swatches label { position: relative; display: block !important; margin: 0; cursor: pointer; }
.admin-body .tvx-swatches input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.admin-body .tvx-swatches span { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 12px; border: 1px solid var(--x-line); border-radius: 12px; color: var(--x-soft); font-size: 13px; font-weight: 600; transition: border-color .15s, background .15s; }
.admin-body .tvx-swatches i { width: 22px; height: 14px; border-radius: 3px; background: linear-gradient(180deg, #e50914 60%, #fff 60%); }
.admin-body .tvx-swatches .is-dark i { background: linear-gradient(180deg, #0b0f17 60%, #3a3f4c 60%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.admin-body .tvx-swatches .is-light i { background: linear-gradient(180deg, #fff 60%, #e50914 60%); }
.admin-body .tvx-swatches .is-glass i { background: linear-gradient(180deg, rgba(255,255,255,.35) 60%, rgba(0,0,0,.5) 60%); box-shadow: inset 2px 0 0 #e50914; }
.admin-body .tvx-swatches .is-gold i { background: linear-gradient(180deg, #1d2230 60%, #d4a63a 60%); }
.admin-body .tvx-swatches .is-breaking i { background: linear-gradient(180deg, #ffd400 60%, #e50914 60%); }
.admin-body .tvx-swatches input:checked + span { border-color: #fff; background: var(--x-surface-2); color: #fff; }
.admin-body .tvx-desk-mon { display: grid; gap: 12px; }
.admin-body .tvx-mon-head { display: flex; align-items: center; gap: 10px; }
.admin-body .tvx-mon-head small { color: var(--x-mute); font-size: 12.5px; }
.admin-body .tvx-tally { padding: 4px 10px; border-radius: 7px; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.admin-body .tvx-tally.pvw { background: rgba(61,220,151,.16); color: var(--x-green); box-shadow: inset 0 0 0 1px rgba(61,220,151,.35); }
.admin-body .tvx-screen.is-pvw { border-radius: 16px; background: radial-gradient(120% 90% at 30% 20%, #2a3040, #0d1016 70%); box-shadow: inset 0 0 0 2px rgba(61,220,151,.45); container-type: inline-size; }
.admin-body .tvx-screen.is-pvw .tvp-gfx { position: absolute; inset: 0; }
.admin-body .tvx-take { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }
.admin-body .tva.studio .tvx-btn.take { border-color: transparent; background: linear-gradient(180deg, #ff4f5c, var(--x-red-2)); color: #fff; box-shadow: 0 12px 28px -12px rgba(255,59,74,.85), inset 0 1px 0 rgba(255,255,255,.25); }
.admin-body .tva.studio .tvx-btn.take.big { height: 54px; font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.admin-body .tvx-take .tvx-btn:not(.take) { height: 54px; }
.admin-body .tvx-btn kbd, .admin-body .tvx-keys kbd, .admin-body .tvx-tpl kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: rgba(255,255,255,.14); color: inherit; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.admin-body .tvx-airline { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 13px; background: var(--x-surface); color: var(--x-mute); font-size: 14px; }
.admin-body .tvx-airline i { width: 9px; height: 9px; border-radius: 50%; background: var(--x-mute); flex: none; }
.admin-body .tvx-airline span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .tvx-airline.is-on { background: rgba(255,59,74,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,59,74,.3); }
.admin-body .tvx-airline.is-on i { background: var(--x-red); animation: tvx-pulse 1.6s ease-in-out infinite; }
.admin-body .tvx-airline b { font-variant-numeric: tabular-nums; color: var(--x-amber); }
.admin-body .tvx-sponsor-up { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px dashed var(--x-line-2); border-radius: 16px; }
.admin-body .tvx-sponsor-up img { width: 120px; height: 60px; padding: 6px; border-radius: 10px; background: #fff; object-fit: contain; }
.admin-body .tvx-sponsor-up span { display: grid; place-items: center; width: 120px; height: 60px; border-radius: 10px; background: var(--x-surface); color: var(--x-mute); font-size: 12.5px; }
.admin-body .tvx-lib { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--x-line); }
.admin-body .tvx-lib > header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-body .tvx-lib > header b { font-size: 16px; }
.admin-body .tvx-lib > header small { padding: 2px 9px; border-radius: 999px; background: var(--x-surface-2); color: var(--x-soft); font-size: 12px; font-weight: 700; }
.admin-body .tva.studio .tvx-lib > header input { flex: 1; min-width: 180px; max-width: 320px; min-height: 40px; margin-left: auto; }
.admin-body .tvx-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.admin-body .tvx-tpl { display: grid; border: 1px solid var(--x-line); border-radius: 16px; background: var(--x-surface); overflow: hidden; transition: border-color .15s, transform .15s; }
.admin-body .tvx-tpl[hidden] { display: none; }
.admin-body .tvx-tpl:hover { border-color: var(--x-line-2); transform: translateY(-2px); }
.admin-body .tvx-tpl-art { position: relative; display: flex; align-items: flex-end; height: 104px; padding: 14px; border: 0; background: radial-gradient(120% 120% at 20% 0%, #2a3040, #0d1016 70%); font-size: 8px; text-align: left; cursor: pointer; container-type: inline-size; }
.admin-body .tvx-tpl-art .tvp-gfx-lower { position: static; max-width: 100%; animation: none; }
.admin-body .tvx-tpl-art .tvp-gfx-lower b { font-size: 15px; }
.admin-body .tvx-tpl-art .tvp-gfx-lower span { font-size: 11px; }
.admin-body .tvx-tpl-art .tvp-gfx-lower em { font-size: 9px; }
.admin-body .tvx-tpl-art kbd { position: absolute; top: 10px; right: 10px; color: #fff; }
.admin-body .tvx-tpl footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; }
.admin-body .tvx-tpl footer .tvx-btn { flex: 1; height: 36px; }
.admin-body .tvx-keys { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--x-line); color: var(--x-mute); font-size: 12.5px; }
.admin-body .tvx-keys span { display: inline-flex; align-items: center; gap: 6px; }
@keyframes tvx-pulse { 50% { opacity: .45; } }
/* Ad campaigns */
.admin-body .tvx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.admin-body .tvx-kpi { display: grid; gap: 4px; padding: 20px 22px; border: 1px solid var(--x-line); border-radius: var(--x-r); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); }
.admin-body .tvx-kpi b { font-size: 32px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.admin-body .tvx-kpi span { color: var(--x-soft); font-size: 14px; font-weight: 600; }
.admin-body .tvx-kpi small { color: var(--x-mute); font-size: 12.5px; }
.admin-body .tvx-kpi.warn b { color: var(--x-amber); }
.admin-body .tvx-adlist { display: grid; gap: 0; padding: 0 !important; overflow: hidden; }
.admin-body .tvx-adintro { display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(280px, 400px); align-items: center; gap: 18px; padding: 14px 18px; }
.admin-body .tvx-adintro .ai-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--x-line); border-radius: 10px; background: var(--x-surface-2); color: var(--x-mute); }
.admin-body .tvx-adintro .ai-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.admin-body .tvx-adintro .ai-thumb i { font-style: normal; font-size: 16px; }
.admin-body .tvx-adintro .ai-thumb small { position: absolute; right: 5px; bottom: 5px; padding: 1px 5px; border-radius: 5px; background: rgba(0,0,0,.72); color: #fff; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.admin-body .tvx-adintro .ai-info { display: grid; gap: 4px; min-width: 0; }
.admin-body .tvx-adintro header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.admin-body .tvx-adintro header b { color: var(--x-ink); font-size: 15px; font-weight: 650; }
.admin-body .tvx-adintro header em { padding: 2px 8px; border-radius: 999px; background: var(--x-surface-2); color: var(--x-mute); font-size: 11.5px; font-style: normal; font-weight: 600; }
.admin-body .tvx-adintro header em.is-on { background: rgba(61,220,151,.14); color: var(--x-green); }
.admin-body .tvx-adintro p { margin: 0; color: var(--x-soft); font-size: 13px; line-height: 1.4; }
.admin-body .tvx-adintro .ai-ctl { display: flex; align-items: center; gap: 14px; min-width: 0; }
.admin-body .tvx-adintro select { flex: 1 1 auto; width: 100%; min-width: 0; height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--x-line-2); border-radius: 10px; color: var(--x-ink); font: inherit; font-size: 13.5px; appearance: none; -webkit-appearance: none; cursor: pointer; background: var(--x-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b4bac6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; }
.admin-body .tvx-adintro select:hover { background-color: var(--x-hover); }
.admin-body .tvx-adintro select option { color: #111827; background: #fff; }
.admin-body .tvx-adintro .ai-switch { position: relative; flex: none; display: block; width: 44px; height: 26px; cursor: pointer; }
.admin-body .tvx-adintro .ai-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.admin-body .tvx-adintro .ai-switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--x-line-2); transition: background .15s; pointer-events: none; }
.admin-body .tvx-adintro .ai-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.admin-body .tvx-adintro .ai-switch input:checked + i { background: var(--x-green); }
.admin-body .tvx-adintro .ai-switch input:checked + i::after { transform: translateX(18px); }
.admin-body .tvx-adintro .ai-switch input:focus-visible + i { outline: 2px solid var(--x-blue); outline-offset: 2px; }
.admin-body .tvx-adintro .ai-switch input:disabled { cursor: not-allowed; }
.admin-body .tvx-adintro .ai-switch input:disabled + i { opacity: .45; }
@media (max-width: 860px) { .admin-body .tvx-adintro { grid-template-columns: 88px minmax(0, 1fr); gap: 12px 14px; padding: 12px 14px; } .admin-body .tvx-adintro .ai-ctl { grid-column: 1 / -1; } }
.admin-body .tvx-adbar { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--x-line); flex-wrap: wrap; }
.admin-body .tvx-filter { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-body .tvx-filter button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 0; border-radius: 11px; background: transparent; color: var(--x-soft); font-family: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.admin-body .tvx-filter button small { padding: 1px 7px; border-radius: 999px; background: var(--x-surface-2); color: var(--x-mute); font-size: 11.5px; font-weight: 700; }
.admin-body .tvx-filter button:hover { color: #fff; }
.admin-body .tvx-filter button.active { background: var(--x-surface-2); color: #fff; }
.admin-body .tva.studio .tvx-adbar input { flex: 1; min-width: 200px; max-width: 340px; min-height: 40px; margin-left: auto; }
.admin-body .tvx-ads { display: grid; }
.admin-body .tvx-ad { display: grid; grid-template-columns: 148px minmax(0, 1fr) 92px 104px auto; gap: 18px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--x-line); transition: background .15s; }
.admin-body .tvx-ad[hidden] { display: none; }
.admin-body .tvx-ad:hover { background: rgba(255,255,255,.025); }
.admin-body .tvx-ad.is-paused, .admin-body .tvx-ad.is-ended { opacity: .6; }
.admin-body .tvx-ad-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.admin-body .tvx-ad-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-body .tvx-ad-thumb span { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.8); color: #fff; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-body .tvx-ad-main { display: grid; gap: 6px; min-width: 0; }
.admin-body .tvx-ad-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-body .tvx-ad-title b { font-size: 16px; font-weight: 700; }
.admin-body .tvx-ad-main p { display: flex; gap: 6px 14px; flex-wrap: wrap; margin: 0; color: var(--x-mute); font-size: 13px; }
.admin-body .tvx-pill.off { background: var(--x-surface-2); color: var(--x-mute); }
.admin-body .tvx-pill.soon { background: rgba(110,168,255,.14); color: var(--x-blue); }
.admin-body .tvx-pill.prio-high { background: rgba(255,197,61,.14); color: var(--x-amber); }
.admin-body .tvx-pill.prio-low { background: var(--x-surface-2); color: var(--x-soft); }
.admin-body .tvx-ad-span { position: relative; display: block; height: 4px; max-width: 320px; border-radius: 99px; background: var(--x-surface-2); overflow: hidden; }
.admin-body .tvx-ad-span::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--x-blue); border-radius: inherit; }
.admin-body .tvx-ad-stat { display: grid; gap: 2px; justify-items: start; }
.admin-body .tvx-ad-stat b { font-size: 20px; font-weight: 750; font-variant-numeric: tabular-nums; }
.admin-body .tvx-ad-stat b small { color: var(--x-mute); font-size: 13px; font-weight: 600; }
.admin-body .tvx-ad-stat span { color: var(--x-mute); font-size: 12px; }
.admin-body .tvx-ad-stat i { display: block; width: 100%; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--x-green) var(--p), var(--x-surface-2) var(--p)); }
.admin-body .tvx-ad nav { display: flex; gap: 6px; }
.admin-body .tvx-adfoot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; color: var(--x-mute); font-size: 13px; flex-wrap: wrap; }
.admin-body .tvx-adform { grid-template-rows: auto minmax(0, 1fr) auto !important; overflow: hidden; }
.admin-body .tvx-adform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; overflow-y: auto; padding: 2px; }
.admin-body .tvx-adform-grid .wide { grid-column: 1 / -1; }
.admin-body .tvx-adform footer { display: flex; justify-content: flex-end; gap: 10px; }
.admin-body .tvx-admedia > span small { margin-left: 6px; color: var(--x-mute); font-weight: 500; }
.admin-body .tvx-admedia-off, .admin-body .tvx-admedia-legacy { margin: 0; padding: 12px 14px; border: 1px dashed var(--x-line-2); border-radius: 14px; color: var(--x-mute); font-size: 13px; }
.admin-body .tvx-admedia-legacy { border-color: rgba(245,158,11,.45); background: rgba(245,158,11,.08); color: #fbbf24; }
.admin-body .tvx-admedia-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.admin-body .tvx-admedia-bar nav { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .tvx-admedia-bar nav button { padding: 6px 12px; border: 1px solid var(--x-line); border-radius: 999px; background: transparent; color: var(--x-mute); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.admin-body .tvx-admedia-bar nav button small { opacity: .7; }
.admin-body .tvx-admedia-bar nav button.is-on { border-color: transparent; background: var(--x-ink); color: #111; }
.admin-body .tvx-admedia-bar input { flex: 1 1 180px; max-width: 240px; }
.admin-body .tvx-admedia-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 300px; overflow-y: auto; padding: 2px; }
.admin-body .tvx-admedia-grid > button { position: relative; display: grid; gap: 4px; padding: 6px 6px 8px; border: 1.5px solid var(--x-line); border-radius: 14px; background: var(--x-surface-2, rgba(255,255,255,.03)); color: var(--x-ink); text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.admin-body .tvx-admedia-grid > button[hidden] { display: none; }
.admin-body .tvx-admedia-grid > button:hover { border-color: var(--x-line-2); transform: translateY(-1px); }
.admin-body .tvx-admedia-grid > button.is-on { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.18); }
.admin-body .tvx-admedia-grid img, .admin-body .tvx-admedia-grid .tvx-ad-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px; }
.admin-body .tvx-admedia-grid b { overflow: hidden; font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .tvx-admedia-grid small { color: var(--x-mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.admin-body .tvx-admedia-grid em { position: absolute; top: 10px; right: 10px; display: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f59e0b; color: #111; font-style: normal; font-weight: 800; font-size: 13px; }
.admin-body .tvx-admedia-grid > button.is-on em { display: grid; }
.admin-body .tvx-ad-ph { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, rgba(245,158,11,.18), rgba(168,85,247,.14)); color: rgba(255,255,255,.6); font-style: normal; font-size: 18px; }
@container studio (max-width: 860px) { .admin-body .tvx-desk-body { grid-template-columns: minmax(0, 1fr); } .admin-body .tvx-desk-mon { order: -1; } }
@container studio (max-width: 820px) { .admin-body .tvx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-body .tvx-ad { grid-template-columns: 120px minmax(0, 1fr) auto; } .admin-body .tvx-ad .tvx-ad-stat { display: none; } }
@container studio (max-width: 640px) {
  .admin-body .tvx-two, .admin-body .tvx-adform-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-body .tvx-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .tvx-take { grid-template-columns: minmax(0, 1fr); }
  .admin-body .tvx-keys { display: none; }
  .admin-body .tvx-desk-tabs button { flex: none; }
  .admin-body .tvx-kpi b { font-size: 26px; }
  .admin-body .tvx-ad { grid-template-columns: 96px minmax(0, 1fr); }
  .admin-body .tvx-ad nav { grid-column: 1 / -1; justify-content: flex-end; }
}
.admin-body .tvx-screen.is-pvw :is(.tvp-gfx-lower, .tvp-gfx-breaking, .tvp-gfx-sponsor) { animation: none; }

/* v365: TV automation graphics (up next, cues, L-band) and the TV guide */
.tvp-player.has-lband { background: #000 var(--tvp-lband) center / cover no-repeat; }
.tvp-player.has-lband > iframe, .tvp-player.has-lband > [data-tv-yt], .tvp-player.has-lband > video { inset: 0 0 auto auto !important; width: 78% !important; height: 78% !important; transition: width .5s ease, height .5s ease; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.tvp-player.has-lband .tvp-gfx-logo, .tvp-player.has-lband .tvp-gfx-sponsor { display: none; }
.tvp-guide { padding: 22px; border: 1px solid var(--tv-line, #e5e7eb); border-radius: 18px; background: #fff; }
.tvp-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tvp-days::-webkit-scrollbar { display: none; }
.tvp-days button { display: grid; flex: 0 0 auto; gap: 2px; min-width: 104px; padding: 10px 14px; border: 1px solid var(--tv-line, #e5e7eb); border-radius: 12px; background: #fff; color: var(--tv-ink, #0f172a); font-family: inherit; text-align: left; cursor: pointer; }
.tvp-days button b { font-size: 14px; font-weight: 800; }
.tvp-days button small { color: var(--tv-muted, #64748b); font-size: 12px; }
.tvp-days button.active { border-color: var(--tv-red, #e80715); background: var(--tv-red, #e80715); color: #fff; }
.tvp-days button.active small { color: rgba(255,255,255,.85); }
.tvp-guide-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.tvp-guide-item { display: grid; grid-template-columns: 58px 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 6px; border-top: 1px solid var(--tv-line, #e5e7eb); }
.tvp-guide-item:first-child { border-top: 0; }
.tvp-guide-item time { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tvp-guide-item img, .tvp-guide-item > i { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #f1f5f9; }
.tvp-guide-item span { display: grid; gap: 2px; min-width: 0; }
.tvp-guide-item small { color: var(--tv-muted, #64748b); font-size: 12px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tvp-guide-item small em { color: var(--tv-red, #e80715); font-style: normal; font-weight: 800; }
.tvp-guide-item b { font-size: 15px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tvp-guide-item button { padding: 8px 12px; border: 1px solid var(--tv-line, #e5e7eb); border-radius: 999px; background: #fff; color: var(--tv-ink, #0f172a); font-family: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.tvp-guide-item button:hover { border-color: var(--tv-red, #e80715); color: var(--tv-red, #e80715); }
.tvp-guide-item.is-now { margin: 0 -6px; padding: 12px; border-radius: 12px; background: rgba(232,7,21,.06); box-shadow: inset 3px 0 0 var(--tv-red, #e80715); }
.tvp-guide-item.is-past { opacity: .5; }
.tvp-guide .tvp-empty { padding: 18px 0; color: var(--tv-muted, #64748b); }
.tvp.is-mobile .tvp-guide { padding: 14px; border-radius: 14px; }
.tvp.is-mobile .tvp-guide-item { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; }
.tvp.is-mobile .tvp-guide-item img, .tvp.is-mobile .tvp-guide-item > i { display: none; }
.tvp.is-mobile .tvp-guide-item button { padding: 7px 10px; font-size: 12px; }
@media (max-width: 640px) { .tvp-guide-item { grid-template-columns: 48px minmax(0, 1fr) auto; } .tvp-guide-item img, .tvp-guide-item > i { display: none; } }

/* v365: studio automation, rundown, presenter screen, journal, reports */
.admin-body .tva-ad-tag.is-promo, .admin-body .tva.studio .tva-ad-tag.is-promo { background: rgba(96,165,250,.16); color: #93c5fd; }
.admin-body .tva-ad-tag.is-ident, .admin-body .tva.studio .tva-ad-tag.is-ident { background: rgba(167,139,250,.16); color: #c4b5fd; }
.admin-body .tvx-subtabs small { margin-left: 4px; color: var(--x-mute); font-size: 12px; }
.admin-body .tva.studio > .tvx-subtabs { justify-self: start; }
.admin-body .tvx-lband-pv { position: absolute; inset: 0; background: center / cover no-repeat; }
.admin-body .tvx-lband-pv i { position: absolute; top: 0; right: 0; width: 78%; height: 78%; background: #0d1016; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.admin-body .tvx-sponsor-up.is-wide video, .admin-body .tvx-sponsor-up.is-wide img, .admin-body .tvx-sponsor-up.is-wide span { width: 160px; height: 90px; padding: 0; object-fit: cover; }
.admin-body .tvx-copy { display: flex; gap: 8px; }
.admin-body .tvx-copy input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid var(--x-line-2); border-radius: 10px; background: var(--x-surface); color: var(--x-ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.admin-body .tvx-steps { display: grid; gap: 4px; margin: 0; padding-left: 20px; color: var(--x-soft); font-size: 13.5px; }
.admin-body .tvx-linkcard code { padding: 1px 6px; border-radius: 6px; background: var(--x-surface); font-size: 12px; }
.admin-body .tvx-ops { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.admin-body .tvx-rundown, .admin-body .tvx-journal { display: grid; gap: 14px; }
.admin-body .tvx-rundown > header, .admin-body .tvx-journal > header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-body .tvx-rundown > header h3, .admin-body .tvx-journal > header h3 { margin: 0; }
.admin-body .tvx-rundown select { height: 36px; max-width: 260px; padding: 0 10px; border: 1px solid var(--x-line-2); border-radius: 10px; background: var(--x-surface); color: var(--x-ink); font-family: inherit; font-size: 14px; }
.admin-body .tvx-head-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.admin-body .tvx-segs { display: grid; gap: 4px; max-height: 360px; margin: 0; padding: 0; overflow: auto; list-style: none; }
.admin-body .tvx-seg-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; background: var(--x-surface); }
.admin-body .tvx-seg-row > b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--x-mute); font-size: 12px; }
.admin-body .tvx-seg-row div { display: grid; gap: 2px; min-width: 0; }
.admin-body .tvx-seg-row span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }
.admin-body .tvx-seg-row small { overflow: hidden; color: var(--x-mute); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .tvx-seg-row time { color: var(--x-mute); font-variant-numeric: tabular-nums; }
.admin-body .tvx-seg-row.is-done { opacity: .45; }
.admin-body .tvx-seg-row.is-now { border-color: rgba(61,220,151,.5); background: rgba(61,220,151,.08); }
.admin-body .tvx-seg-row.is-now > b { background: var(--x-green); color: #04120b; }
.admin-body .tvx-seg-row em { color: var(--x-green); font-style: normal; font-weight: 800; font-size: 16px; }
.admin-body .tvx-seg-row em.is-warn { color: var(--x-amber); }
.admin-body .tvx-seg-row em.is-over { color: var(--x-red); }
.admin-body .tvx-rd-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-body .tvx-backtime { margin-right: auto; color: var(--x-mute); font-size: 13.5px; }
.admin-body .tvx-backtime b { color: var(--x-ink); font-variant-numeric: tabular-nums; }
.admin-body .tvx-rd-form { width: min(1040px, 100%); grid-template-rows: auto auto auto minmax(0, 1fr) auto auto; }
.admin-body .tvx-rd-rows { display: grid; gap: 8px; overflow-y: auto; }
.admin-body .tvx-rd-row, .admin-body .tva-cue { display: grid; grid-template-columns: 1.4fr 72px 1.4fr 1.1fr 1.1fr 100px 34px; gap: 8px; align-items: center; }
.admin-body .tvx-rd-row.is-head span, .admin-body .tva-cue.is-head span { color: var(--x-mute); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.admin-body .tvx-rd-row input, .admin-body .tvx-rd-row select, .admin-body .tva-cue input, .admin-body .tva-cue select { width: 100%; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--x-line-2); border-radius: 9px; background: var(--x-surface); color: var(--x-ink); font-family: inherit; font-size: 13.5px; }
.admin-body .tvx-rd-form > footer { display: flex; align-items: center; gap: 8px; }
.admin-body .tvx-rd-form > footer span { flex: 1; }
.admin-body .tva-cue { grid-template-columns: 72px 62px 0.8fr 1.3fr 1.3fr 96px 34px; }
.admin-body .tva-cues, .admin-body .tva-sponsor { display: grid; gap: 10px; margin: 0; padding: 14px; border: 1px solid var(--x-line, rgba(255,255,255,.1)); border-radius: 14px; }
.admin-body .tva-cues legend, .admin-body .tva-sponsor legend { padding: 0 6px; font-weight: 700; }
.admin-body .tva-cues legend small { display: block; color: var(--x-mute); font-size: 12px; font-weight: 500; }
.admin-body .tva-cues [data-tv-cues] { display: grid; gap: 8px; }
.admin-body .tva-cues > button, .admin-body .tvx-rd-form > button { justify-self: start; }
.admin-body .tvx-journal ol { display: grid; gap: 0; max-height: 360px; margin: 0; padding: 0; overflow: auto; list-style: none; }
.admin-body .tvx-journal li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--x-line); font-size: 13.5px; }
.admin-body .tvx-journal li:first-child { border-top: 0; }
.admin-body .tvx-journal time { color: var(--x-mute); font-variant-numeric: tabular-nums; }
.admin-body .tvx-journal b { font-weight: 700; }
.admin-body .tvx-alarms h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.admin-body .tvx-report { width: min(860px, 100%); grid-template-rows: none; overflow-y: auto; }
/* The list of exact air times scrolls on its own, so the daily table and the buttons stay in reach. */
.admin-body .tvx-report-sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 6px 0 0; color: var(--x-ink); font-size: 15px; }
.admin-body .tvx-report-sub small { color: var(--x-mute); font-size: 12px; font-weight: 500; }
.admin-body .tvx-report .tvx-report-times { max-height: 320px; }
.admin-body .tvx-report .tvx-report-times td:nth-child(2) b { font-variant-numeric: tabular-nums; }
.admin-body .tvx-report-bar { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr 1fr; gap: 12px; }
.admin-body .tvx-report-bar label { display: grid; gap: 6px; color: var(--x-mute); font-size: 12.5px; }
.admin-body .tvx-report-bar select, .admin-body .tvx-report-bar input { height: 38px; padding: 0 10px; border: 1px solid var(--x-line-2); border-radius: 10px; background: var(--x-surface); color: var(--x-ink); font-family: inherit; font-size: 14px; }
.admin-body .tvx-kpis.is-report { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.admin-body .tvx-kpis.is-report .tvx-kpi { padding: 14px 16px; }
.admin-body .tvx-report .tva-table-wrap { overflow: auto; }
.admin-body .tvx-report > footer { display: flex; justify-content: flex-end; gap: 8px; }
.admin-body .tvp-prompter { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: calc(100vh - 140px); padding: 26px 34px; border-radius: 24px; background: #07080c; color: #fff; }
.admin-body .tvp-prompter:fullscreen { min-height: 100vh; border-radius: 0; }
.admin-body .tvp-prompter > header { display: flex; align-items: center; gap: 24px; color: rgba(255,255,255,.6); font-size: 20px; }
.admin-body .tvp-prompter > header > b { color: #fff; font-size: 34px; font-variant-numeric: tabular-nums; }
.admin-body .tvp-prompter > header span b { color: #fff; font-variant-numeric: tabular-nums; }
.admin-body .tvp-prompter > header button { margin-left: auto; }
.admin-body .tvp-pr-body { display: grid; align-content: center; justify-items: center; gap: 18px; text-align: center; }
.admin-body .tvp-pr-top { display: flex; gap: 18px; color: rgba(255,255,255,.55); font-size: 20px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.admin-body .tvp-prompter h1 { max-width: 90%; margin: 0; font-size: clamp(32px, 5vw, 72px); line-height: 1.1; }
.admin-body .tvp-pr-count { color: #3ddc97; font-size: clamp(90px, 18vw, 260px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.admin-body .tvp-pr-count.is-warn { color: #ffc53d; }
.admin-body .tvp-pr-count.is-over { color: #ff4d4f; animation: tvp-gfx-blink 1s steps(2) infinite; }
.admin-body .tvp-pr-note { max-width: 80%; margin: 0; color: rgba(255,255,255,.85); font-size: clamp(20px, 2.4vw, 34px); line-height: 1.4; }
.admin-body .tvp-pr-next { display: grid; gap: 4px; min-width: min(560px, 90%); padding: 18px 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.04); }
.admin-body .tvp-pr-next small { color: rgba(255,255,255,.5); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.admin-body .tvp-pr-next b { font-size: clamp(22px, 2.6vw, 36px); }
.admin-body .tvp-pr-next span { color: rgba(255,255,255,.6); font-size: 18px; }
@media (max-width: 1100px) { .admin-body .tvx-ops { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .admin-body .tvx-rd-row, .admin-body .tva-cue { grid-template-columns: 1fr 1fr; }
  .admin-body .tvx-rd-row.is-head, .admin-body .tva-cue.is-head { display: none; }
  .admin-body .tvx-rd-row { padding: 10px; border: 1px solid var(--x-line); border-radius: 12px; }
  .admin-body .tvx-report-bar, .admin-body .tvx-kpis.is-report { grid-template-columns: 1fr 1fr; }
  .admin-body .tvp-prompter { padding: 18px; }
}

/* v366: the channel's own HLS feed from the VPS */
.tvp-player video.tvp-video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
/* v366 admin: VPS live studio — go-live picker, on-air platform switches, 24/7 playout */
.admin-body .lv-go { border: 2px solid #d81e2c; }
.admin-body .lv-go footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.admin-body .lv-platform-pick label.is-off { opacity: .45; cursor: not-allowed; }
.admin-body .lv-air-toggles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.admin-body .lv-air-toggles small { opacity: .8; margin-right: 4px; }
.admin-body .lv-air-toggles .lv-chip { cursor: pointer; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: inherit; font: inherit; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.admin-body .lv-air-toggles .lv-chip.is-on { background: #d81e2c; border-color: #d81e2c; color: #fff; }
.admin-body .lv-playout h4 { margin: 14px 0 6px; font-size: 13px; }
.admin-body .lv-playout .lv-now { margin: 6px 0; font-size: 13px; }
.admin-body .lv-library { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 360px; overflow: auto; }
.admin-body .lv-lib { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: rgba(0,0,0,.03); }
.admin-body .lv-lib label { display: flex; gap: 6px; align-items: center; margin: 0; min-width: 0; }
.admin-body .lv-lib label b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .lv-lib small { grid-column: 1; font-size: 11px; opacity: .7; }
.admin-body .lv-lib nav { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: 2px; }
.admin-body .lv-lib.is-now { outline: 2px solid #d81e2c; }
.admin-body .lv-lib:not(.is-in) { opacity: .7; }
.admin-body .lv-upload-form { display: grid; gap: 6px; margin-top: 10px; }
.admin-body .lv-upload { margin-top: 10px; display: grid; gap: 4px; }
.admin-body .lv-upload i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #d81e2c var(--p, 0%), rgba(0,0,0,.1) var(--p, 0%)); }
.admin-body .lv-chip.is-site, .admin-body b.is-site { color: inherit; }
.admin-body .lv-lib label { display: flex !important; flex-direction: row; align-items: center; gap: 8px; }
.admin-body .lv-lib input[type="checkbox"], .admin-body .lv-air-toggles input { width: auto; margin: 0; flex: none; }
/* v367: the studio's multi-platform go-live */
.admin-body .tvx-targets { border: 0; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .tvx-targets legend { font-size: 12px; margin-bottom: 6px; padding: 0; opacity: .85; }
.admin-body .tvx-targets label { display: inline-flex !important; align-items: center; gap: 6px; margin: 0; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: 12px; cursor: pointer; }
.admin-body .tvx-targets input { width: auto; margin: 0; }
.admin-body .tvx-link { background: none; border: 0; color: #ff8a93; cursor: pointer; font: inherit; text-decoration: underline; padding: 0 0 0 6px; }
/* v367: TV stands out in the admin menu */
.admin-body .portal-sidebar .nav-group.is-tv .nav-group-toggle { color: #ff4d5a; background: rgba(216, 30, 44, .12); }
.admin-body .portal-sidebar .nav-group.is-tv .nav-group-toggle:hover { color: #fff; background: rgba(216, 30, 44, .28); }
.admin-body .portal-sidebar .nav-group.is-tv .nav-group-toggle span { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; }
.admin-body .portal-sidebar .nav-group-ico { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #d81e2c; color: #fff; box-shadow: 0 0 0 3px rgba(216, 30, 44, .2); }
.admin-body .portal-sidebar .nav-group-ico svg { width: 13px; height: 13px; stroke-width: 2.2; }
/* v368: temporary clip ("Rolik") in the studio */
.admin-body .tvx-clip-on { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(216, 30, 44, .16); border: 1px solid rgba(216, 30, 44, .5); font-size: 12px; }
.admin-body .tvx-clip-on span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.admin-body .tvx-ctl > [data-tvx-clip] { width: 100%; margin-top: 8px; }
.admin-body .tvx-clip-wait { display: flex; padding: 10px 12px; border-radius: 10px; opacity: .65; border: 1px dashed rgba(255,255,255,.2); }
.admin-body .tvx-clip-wait span, .admin-body .tvx-pick [data-tvx-clip-play] span { display: grid; gap: 2px; text-align: left; }
.admin-body .tvx-clip-upload { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 12px; }
@media (max-width: 700px) { .admin-body .tvx-clip-upload { grid-template-columns: 1fr; } }
.admin-body .tvx-clip-on { flex-wrap: wrap; }
.admin-body .tvx-clip-on span { flex: 1 1 100%; flex-wrap: wrap; line-height: 1.4; }
.admin-body .tvx-clip-on .tvx-btn { width: 100%; }
.admin-body .tvx-pick [data-tvx-clip-play] em { opacity: 1; }
/* v370: a temporary clip from the studio over the TV player */
.tvp-player .tvp-clip { position: absolute; inset: 0; z-index: 2; background: #000; }
.tvp-player .tvp-clip video { width: 100%; height: 100%; object-fit: contain; display: block; }
.admin-body .tvx-note { margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; background: rgba(250, 204, 21, .12); border: 1px solid rgba(250, 204, 21, .35); font-size: 12px; line-height: 1.45; }
.admin-body .tvx-clip-row { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: stretch; }
.admin-body .tvx-clip-row > button:first-child { width: 100%; }

/* TV efiri: the steps page (connect platforms, upload videos, list and start, go live). */
.admin-body .lv-steps { display: grid; gap: 14px; max-width: 980px; }
.admin-body .lv-step > header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.admin-body .lv-step > header > div { flex: 1; min-width: 0; display: grid; gap: 3px; }
.admin-body .lv-step > header b { font-size: 16px; }
.admin-body .lv-step > header small { color: var(--x-soft, #64748b); font-size: 13px; line-height: 1.45; }
.admin-body .lv-step > header .lv-state { flex: none; }
.admin-body .lv-step-n { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #dc2626; color: #fff; font-weight: 800; font-size: 15px; }
.admin-body .lv-step.is-done .lv-step-n { background: #16a34a; }
.admin-body .lv-step-body { display: grid; gap: 12px; padding-left: 48px; min-width: 0; }
.admin-body .lv-step-body > .tva-card { border: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; }
.admin-body .lv-step-body > .tva-card > header { display: none; }
.admin-body .lv-step-body .lv-upload-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; margin: 0; }
.admin-body .lv-step-body .lv-upload-form small { grid-column: 1 / -1; }
.admin-body .lv-step-body > .tva-btn { justify-self: start; }
.admin-body .lv-step-body .lv-library { max-height: 420px; }
@media (max-width: 760px) { .admin-body .lv-step-body { padding-left: 0; } .admin-body .lv-step-body .lv-upload-form { grid-template-columns: 1fr; } }

/* TV → Media kitabxanası */
.admin-body .lv-media-wrap { overflow-x: auto; }
.admin-body .lv-media { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-body .lv-media th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--x-soft, #64748b); padding: 0 10px 10px; white-space: nowrap; }
.admin-body .lv-media td { padding: 12px 10px; border-top: 1px solid var(--x-line, #e5e7eb); vertical-align: middle; white-space: nowrap; }
.admin-body .lv-media td:first-child { white-space: normal; width: 100%; min-width: 220px; }
.admin-body .lv-media td:first-child small { display: block; margin-top: 4px; }
.admin-body .lv-media tr.is-now td { background: rgba(61,220,151,.06); }
.admin-body .lv-media .lv-actions { display: flex; gap: 6px; justify-content: flex-end; }
.admin-body .lv-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 700; background: rgba(61,220,151,.15); color: #16a34a; }
.admin-body .lv-tag.is-list { background: rgba(59,130,246,.15); color: #3b82f6; }
.admin-body .lv-rename { display: flex; gap: 6px; align-items: center; }
.admin-body .lv-rename input { flex: 1; min-width: 160px; }
.admin-body .lv .tva-card > .lv-upload-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; }
.admin-body .lv .tva-card > .lv-upload-form small { grid-column: 1 / -1; }
@media (max-width: 760px) { .admin-body .lv .tva-card > .lv-upload-form { grid-template-columns: 1fr; } }

/* ===== TV → Efir planı (drag & drop running order) ===== */
.admin-body .pl { display: grid; gap: 16px; }
.admin-body .pl-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 16px; align-items: stretch; }
.admin-body .pl-head > div:first-child { padding: 22px 24px; border-radius: 20px; background: radial-gradient(120% 140% at 0% 0%, rgba(255,59,74,.22), transparent 55%), var(--x-surface, #111827); border: 1px solid var(--x-line, #1f2937); }
.admin-body .pl-kicker { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--x-soft, #94a3b8); }
.admin-body .pl-head h2 { margin: 8px 0 6px; font-size: 28px; letter-spacing: -.02em; color: var(--x-ink, #fff); }
.admin-body .pl-head p { margin: 0; color: var(--x-soft, #94a3b8); font-size: 14px; line-height: 1.5; max-width: 560px; }
.admin-body .pl-onair { display: grid; gap: 12px; padding: 18px 20px; border-radius: 20px; background: var(--x-surface, #111827); border: 1px solid var(--x-line, #1f2937); position: relative; overflow: hidden; }
.admin-body .pl-onair.is-on { border-color: rgba(61,220,151,.45); box-shadow: 0 0 0 1px rgba(61,220,151,.15), 0 18px 40px -20px rgba(61,220,151,.45); }
.admin-body .pl-onair-state { display: grid; gap: 6px; }
.admin-body .pl-onair-state b { font-size: 17px; color: var(--x-ink, #fff); line-height: 1.3; }
.admin-body .pl-onair-state small { color: var(--x-soft, #94a3b8); font-size: 12.5px; }
.admin-body .pl-onair-state .lv-state { justify-self: start; }
.admin-body .pl-next { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px dashed var(--x-line-2, #334155); display: grid; gap: 6px; }
.admin-body .pl-next li { display: flex; gap: 10px; font-size: 13px; color: var(--x-soft, #94a3b8); min-width: 0; }
.admin-body .pl-next time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--x-ink, #e2e8f0); }
.admin-body .pl-next span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .pl-onair-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.admin-body .pl-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.admin-body .pl-day { flex: none; display: grid; justify-items: center; gap: 1px; width: 64px; padding: 9px 4px 10px; border-radius: 14px; border: 1px solid var(--x-line, #1f2937) !important; background: var(--x-surface, #111827) !important; color: var(--x-soft, #94a3b8) !important; cursor: pointer; position: relative; overflow: hidden; transition: transform .15s, border-color .15s, background .15s; }
.admin-body .pl-day:hover { transform: translateY(-2px); border-color: var(--x-line-2, #334155) !important; }
.admin-body .pl-day b { font-size: 20px; color: var(--x-ink, #fff); font-variant-numeric: tabular-nums; }
.admin-body .pl-day small { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.admin-body .pl-day i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--f); background: linear-gradient(90deg, #ff3b4a, #ff8a3d); }
.admin-body .pl-day.is-today small:first-child { color: #ff6b76; }
.admin-body .pl-day.is-on { background: linear-gradient(180deg, rgba(255,59,74,.22), rgba(255,59,74,.06)) !important; border-color: rgba(255,59,74,.6) !important; color: #fff !important; }
.admin-body .pl-day.is-past { opacity: .55; }

.admin-body .pl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.admin-body .pl-board, .admin-body .pl-bin { border-radius: 20px; background: var(--x-surface, #111827); border: 1px solid var(--x-line, #1f2937); }
.admin-body .pl-board { padding: 18px; display: grid; gap: 14px; min-width: 0; }
.admin-body .pl-board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-body .pl-board-head > div:first-child { display: grid; gap: 2px; }
.admin-body .pl-board-head b { font-size: 16px; color: var(--x-ink, #fff); }
.admin-body .pl-board-head small { color: var(--x-soft, #94a3b8); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.admin-body .pl-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-body .pl-save { font-size: 12px; color: var(--x-green, #3ddc97); margin-right: 4px; }
.admin-body .pl-save.is-busy { color: var(--x-amber, #ffc53d); }

.admin-body .pl-ruler { position: relative; padding-top: 16px; }
.admin-body .pl-ruler > span { position: absolute; top: 0; transform: translateX(-50%); font-size: 10px; color: var(--x-soft, #64748b); font-variant-numeric: tabular-nums; }
.admin-body .pl-ruler-track { position: relative; height: 26px; border-radius: 8px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 calc(100% / 24 - 1px), rgba(255,255,255,.09) calc(100% / 24 - 1px) calc(100% / 24)); overflow: hidden; }
.admin-body .pl-ruler-track i { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: hsl(var(--h) 70% 55%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.admin-body .pl-now { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #ff3b4a; box-shadow: 0 0 10px #ff3b4a; }
.admin-body .pl-now::before { content: ""; position: absolute; top: 0; left: -4px; border: 5px solid transparent; border-top-color: #ff3b4a; }

.admin-body .pl-list { display: grid; gap: 6px; min-height: 120px; border-radius: 14px; transition: background .15s; }
.admin-body .pl-list.is-drag { background: rgba(255,59,74,.04); outline: 2px dashed rgba(255,59,74,.35); outline-offset: 6px; }
.admin-body .pl-row { display: grid; grid-template-columns: 18px 96px 112px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px 8px 6px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid transparent; border-left: 4px solid hsl(var(--h) 70% 55%); cursor: grab; position: relative; transition: background .12s, border-color .12s, transform .12s, opacity .12s; }
.admin-body .pl-row:hover { background: rgba(255,255,255,.06); }
.admin-body .pl-row.is-dragging { opacity: .35; }
.admin-body .pl-row.is-before::before, .admin-body .pl-drop-end.is-before::before, .admin-body .pl-empty.is-before::before { content: ""; position: absolute; left: 0; right: 0; top: -5px; height: 3px; border-radius: 3px; background: #ff3b4a; box-shadow: 0 0 12px #ff3b4a; }
.admin-body .pl-row.is-past { opacity: .5; }
.admin-body .pl-row.is-late { border-color: rgba(255,197,61,.5); }
.admin-body .pl-row.is-now { background: linear-gradient(90deg, rgba(61,220,151,.16), rgba(61,220,151,.04)); border-color: rgba(61,220,151,.4); opacity: 1; }
.admin-body .pl-grip { color: var(--x-soft, #64748b); font-size: 14px; letter-spacing: -2px; text-align: center; user-select: none; }
.admin-body .pl-time { display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
.admin-body .pl-time button { all: unset; cursor: pointer; font-weight: 800; font-size: 15px; color: var(--x-ink, #fff); padding: 2px 6px; margin-left: -6px; border-radius: 6px; }
.admin-body .pl-time button:hover { background: rgba(255,255,255,.1); }
.admin-body .pl-time input { width: 100%; padding: 4px 6px; border-radius: 8px; font-size: 14px; }
.admin-body .pl-time small { color: var(--x-soft, #64748b); font-size: 11.5px; }
.admin-body .pl-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, hsl(var(--h, 0) 45% 25%), hsl(var(--h, 0) 50% 12%)); display: grid; place-items: center; color: rgba(255,255,255,.6); }
.admin-body .pl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-body .pl-thumb em { position: absolute; right: 5px; bottom: 5px; padding: 1px 6px; border-radius: 6px; background: rgba(0,0,0,.72); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-body .pl-live { position: absolute; left: 5px; top: 5px; padding: 2px 6px; border-radius: 6px; background: #16a34a; color: #fff; font-size: 9.5px; font-style: normal; font-weight: 800; letter-spacing: .06em; animation: pl-pulse 1.6s infinite; }
@keyframes pl-pulse { 50% { opacity: .55; } }
.admin-body .pl-meta { display: grid; gap: 3px; min-width: 0; }
.admin-body .pl-meta b { color: var(--x-ink, #fff); font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .pl-meta small { color: var(--x-soft, #94a3b8); font-size: 12px; font-variant-numeric: tabular-nums; }
.admin-body .pl-warn { color: var(--x-amber, #ffc53d); font-style: normal; }
.admin-body .pl-prog { height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; position: relative; }
.admin-body .pl-prog::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: #3ddc97; }
.admin-body .pl-row nav { display: flex; gap: 6px; opacity: .55; transition: opacity .12s; }
.admin-body .pl-row:hover nav { opacity: 1; }
.admin-body .pl-gap { padding: 6px 12px; margin-left: 24px; border-radius: 10px; font-size: 12px; color: var(--x-soft, #94a3b8); background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 8px, transparent 8px 16px); border: 1px dashed var(--x-line-2, #334155); }
.admin-body .pl-empty { position: relative; display: grid; place-items: center; gap: 6px; text-align: center; padding: 44px 20px; border-radius: 16px; border: 2px dashed var(--x-line-2, #334155); color: var(--x-soft, #94a3b8); }
.admin-body .pl-empty b { font-size: 17px; color: var(--x-ink, #fff); }
.admin-body .pl-empty p { margin: 0; max-width: 420px; font-size: 13px; line-height: 1.5; }
.admin-body .pl-drop-end { position: relative; min-height: 34px; display: grid; place-items: center; border-radius: 12px; font-size: 12px; color: var(--x-soft, #64748b); }
.admin-body .pl-list.is-drag .pl-drop-end { border: 1px dashed var(--x-line-2, #334155); }

.admin-body .pl-bin { padding: 16px; display: grid; gap: 12px; position: sticky; top: 12px; max-height: calc(100vh - 24px); grid-template-rows: auto auto minmax(0, 1fr) auto; }
.admin-body .pl-bin > header { display: flex; justify-content: space-between; align-items: baseline; }
.admin-body .pl-bin > header b { color: var(--x-ink, #fff); font-size: 15px; }
.admin-body .pl-bin > header small { color: var(--x-soft, #94a3b8); font-size: 12px; }
.admin-body .pl-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--x-line-2, #334155); background: rgba(0,0,0,.25); margin: 0; }
.admin-body .pl-search span { color: var(--x-soft, #94a3b8); font-size: 16px; }
.admin-body .pl-search input { flex: 1; border: 0 !important; background: transparent !important; padding: 10px 0 !important; color: var(--x-ink, #fff) !important; outline: none; box-shadow: none !important; }
.admin-body .pl-bin-list { display: grid; gap: 8px; overflow-y: auto; padding-right: 4px; align-content: start; }
.admin-body .pl-bin-card { display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid transparent; cursor: grab; transition: background .12s, border-color .12s, transform .12s; }
.admin-body .pl-bin-card:hover { background: rgba(255,255,255,.07); border-color: var(--x-line-2, #334155); transform: translateX(-2px); }
.admin-body .pl-bin-card.is-dragging { opacity: .4; }
.admin-body .pl-bin-card.is-wait { cursor: default; opacity: .6; }
.admin-body .pl-bin-meta { display: grid; gap: 3px; min-width: 0; }
.admin-body .pl-bin-meta b { font-size: 13.5px; color: var(--x-ink, #fff); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .pl-bin-meta small { font-size: 11.5px; color: var(--x-soft, #94a3b8); }
.admin-body .pl-add { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--x-line-2, #334155) !important; background: rgba(255,59,74,.12) !important; color: #ff6b76 !important; font-size: 20px; font-weight: 700; cursor: pointer; line-height: 1; }
.admin-body .pl-add:hover { background: #ff3b4a !important; color: #fff !important; }

@media (max-width: 1280px) { .admin-body .pl-grid { grid-template-columns: minmax(0, 1fr) 290px; } .admin-body .pl-row { grid-template-columns: 18px 88px 96px minmax(0, 1fr) auto; } }
@media (max-width: 1080px) { .admin-body .pl-head, .admin-body .pl-grid { grid-template-columns: 1fr; } .admin-body .pl-bin { position: static; max-height: 460px; } }
@media (max-width: 640px) { .admin-body .pl-row { grid-template-columns: 14px 80px minmax(0, 1fr); } .admin-body .pl-row .pl-thumb { display: none; } .admin-body .pl-row nav { grid-column: 2 / -1; opacity: 1; } }
.admin-body .tva.studio > .tva.lv { color: var(--x-ink); }
.admin-body .tva.studio .pl :is(h2, b) { color: var(--x-ink); }
.admin-body .tva.studio label.pl-search { display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 0 12px; }
.admin-body .tva.studio .pl-search input { min-height: 42px; padding: 0 !important; border: 0 !important; background: transparent !important; }

/* ---- TV · Media kitabxanası (v377) ---- */
.admin-body .md { display: grid; gap: 16px; color: var(--x-ink, #fff); }
.admin-body .md :is(h2, b, strong) { color: var(--x-ink, #fff); }
.admin-body .md-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--x-line, #1f2937); background: radial-gradient(120% 160% at 0% 0%, rgba(255,59,74,.2), transparent 55%), radial-gradient(80% 120% at 100% 100%, rgba(99,102,241,.14), transparent 60%), var(--x-surface, #111827); }
.admin-body .md-kicker { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--x-soft, #94a3b8); }
.admin-body .md-hero h2 { margin: 6px 0 4px; font-size: 28px; letter-spacing: -.02em; }
.admin-body .md-hero p { margin: 0; color: var(--x-soft, #94a3b8); font-size: 14px; line-height: 1.5; max-width: 520px; }
.admin-body .md-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-body .md-stats > div { display: grid; gap: 2px; min-width: 92px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.admin-body .md-stats b { font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.admin-body .md-stats small { font-size: 11.5px; color: var(--x-soft, #94a3b8); }
.admin-body .md-disk { min-width: 150px !important; }
.admin-body .md-disk i { display: block; height: 5px; margin-top: 6px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.admin-body .md-disk u { display: block; height: 100%; background: linear-gradient(90deg, #3ddc97, #22c3ee); border-radius: inherit; }

.admin-body .md-drop { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; align-items: center; padding: 26px 28px; border-radius: 20px; border: 2px dashed rgba(255,255,255,.16); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.admin-body .md-drop:hover { border-color: rgba(255,59,74,.55); background: rgba(255,59,74,.05); }
.admin-body .md-drop.is-over { border-color: #ff3b4a; background: rgba(255,59,74,.12); transform: scale(1.01); box-shadow: 0 0 0 6px rgba(255,59,74,.12); }
.admin-body .md-drop-ico { grid-row: span 2; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #ff3b4a, #ff8a3d); box-shadow: 0 14px 30px -12px rgba(255,59,74,.7); }
.admin-body .md-drop-ico svg { width: 28px; height: 28px; }
.admin-body .md-drop.is-over .md-drop-ico { animation: md-bob .8s ease-in-out infinite alternate; }
@keyframes md-bob { to { transform: translateY(-5px); } }
.admin-body .md-drop > div { display: grid; gap: 4px; }
.admin-body .md-drop > div b { font-size: 18px; }
.admin-body .md-drop > div small { color: var(--x-soft, #94a3b8); font-size: 13.5px; }
.admin-body .md-drop em { font-style: normal; color: var(--x-soft, #64748b); font-size: 12px; }
.admin-body .md-link { all: unset; cursor: pointer; color: #ff6b76; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.admin-body .md-ups { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.admin-body .md-up { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--x-surface, #111827); border: 1px solid var(--x-line, #1f2937); }
.admin-body .md-up-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 900; background: rgba(255,255,255,.06); color: var(--x-soft, #94a3b8); }
.admin-body .md-up.is-up .md-up-ico { background: rgba(255,59,74,.16); color: #ff6b76; animation: md-pulse 1.4s ease-in-out infinite; }
.admin-body .md-up.is-done .md-up-ico { background: rgba(61,220,151,.16); color: #3ddc97; }
.admin-body .md-up.is-error .md-up-ico { background: rgba(244,63,94,.18); color: #fb7185; }
@keyframes md-pulse { 50% { box-shadow: 0 0 0 6px rgba(255,59,74,.08); } }
.admin-body .md-up-main { display: grid; gap: 6px; min-width: 0; }
.admin-body .md-up-top { display: flex; justify-content: space-between; gap: 12px; }
.admin-body .md-up-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.admin-body .md-up-top strong { font-variant-numeric: tabular-nums; font-size: 14px; }
.admin-body .md-up small { color: var(--x-soft, #94a3b8); font-size: 12px; font-variant-numeric: tabular-nums; }
.admin-body .md-up.is-error small { color: #fb7185; }
.admin-body .md-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.admin-body .md-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff3b4a, #ff8a3d); transition: width .3s; }
.admin-body .md-up.is-done .md-bar i { background: #3ddc97; }
.admin-body .md-up.is-error .md-bar i, .admin-body .md-up.is-cancel .md-bar i { background: #475569; }

.admin-body .md-old { display: grid; gap: 10px; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(251,191,36,.35); background: rgba(251,191,36,.07); }
.admin-body .md-old-head { display: grid; gap: 3px; }
.admin-body .md-old-head small { color: var(--x-soft, #cbd5e1); font-size: 13px; }
.admin-body .md-old ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.admin-body .md-old li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.2); }
.admin-body .md-old li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.admin-body .md-old li small { color: var(--x-soft, #94a3b8); font-size: 12px; }

.admin-body .md-lib { display: grid; gap: 14px; padding: 18px; border-radius: 20px; background: var(--x-surface, #111827); border: 1px solid var(--x-line, #1f2937); }
.admin-body .md-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-body .md-toolbar > b { font-size: 16px; margin-right: 4px; }
.admin-body .md-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-body .md-filter button { all: unset; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--x-soft, #94a3b8); background: rgba(255,255,255,.05); border: 1px solid transparent; }
.admin-body .md-filter button i { font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.08); }
.admin-body .md-filter button:hover { color: #fff; }
.admin-body .md-filter button.active { color: #fff; background: rgba(255,59,74,.16); border-color: rgba(255,59,74,.5); }
.admin-body .md-search { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 38px; min-width: 240px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--x-line, #1f2937); color: var(--x-soft, #94a3b8); }
.admin-body .md-search svg { width: 16px; height: 16px; flex: none; }
.admin-body .md-search input { all: unset; flex: 1; font-size: 14px; color: var(--x-ink, #fff); }
.admin-body .md-search:focus-within { border-color: rgba(255,59,74,.6); }

.admin-body .md-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.admin-body .md-card { display: grid; grid-template-rows: auto 1fr auto; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); transition: transform .18s, border-color .18s, box-shadow .18s; }
.admin-body .md-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.16); box-shadow: 0 18px 36px -22px rgba(0,0,0,.9); }
.admin-body .md-card.is-now { border-color: rgba(61,220,151,.55); box-shadow: 0 0 0 1px rgba(61,220,151,.2); }
.admin-body .md-thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1e293b, #0f172a) center / cover no-repeat; }
.admin-body .md-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; color: rgba(255,255,255,.25); }
.admin-body .md-dur, .admin-body .md-live { position: absolute; font-style: normal; font-size: 11.5px; font-weight: 800; padding: 3px 7px; border-radius: 7px; font-variant-numeric: tabular-nums; }
.admin-body .md-dur { right: 8px; bottom: 8px; background: rgba(0,0,0,.75); color: #fff; }
.admin-body .md-live { left: 8px; top: 8px; display: inline-flex; gap: 6px; align-items: center; background: #10b981; color: #04140d; }
.admin-body .md-live i { width: 7px; height: 7px; border-radius: 50%; background: #04140d; animation: md-blink 1.2s infinite; }
@keyframes md-blink { 50% { opacity: .25; } }
.admin-body .md-busy { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 14px; text-align: center; background: rgba(2,6,23,.72); backdrop-filter: blur(2px); }
.admin-body .md-busy b { font-size: 12.5px; }
.admin-body .md-busy .md-bar { width: 150px; }
.admin-body .md-busy.is-error { background: rgba(76,5,25,.78); }
.admin-body .md-busy.is-error small { color: #fecdd3; font-size: 11.5px; }
.admin-body .md-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: #ff6b76; animation: md-rot .8s linear infinite; }
@keyframes md-rot { to { transform: rotate(360deg); } }
.admin-body .md-info { display: grid; align-content: start; gap: 4px; padding: 12px 14px 4px; min-width: 0; }
.admin-body .md-title { font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.admin-body .md-info > small { color: var(--x-soft, #94a3b8); font-size: 12px; }
.admin-body .md-tags { margin: 4px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.admin-body .md-tags span { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--x-soft, #cbd5e1); }
.admin-body .md-rename { display: grid; gap: 6px; }
.admin-body .md-rename input { width: 100%; padding: 6px 8px; border-radius: 8px; font-size: 14px; }
.admin-body .md-rename button { justify-self: start; }
.admin-body .md-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px 12px; }
.admin-body .md-actions > span { display: flex; gap: 4px; }
.admin-body .md-empty { display: grid; justify-items: center; gap: 6px; padding: 40px 16px; text-align: center; color: var(--x-soft, #94a3b8); }
.admin-body .md-empty span { font-size: 34px; opacity: .6; }
.admin-body .md-empty small { font-size: 13px; }
@media (max-width: 1100px) { .admin-body .md-hero { grid-template-columns: 1fr; } .admin-body .md-hero-go { justify-self: start; } .admin-body .md-search { margin-left: 0; min-width: 0; flex: 1; } }

/* ---- TV efiri: settings cards (v377) ---- */
.admin-body .lh { display: grid; gap: 14px; margin-top: 16px; }
.admin-body .lh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.admin-body .lh-tile { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; background: var(--x-surface, #111827); border: 1px solid var(--x-line, #1f2937); transition: transform .18s, border-color .18s, background .18s; }
.admin-body .lh-tile:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.18); }
.admin-body .lh-tile:focus-visible { outline: 2px solid #ff3b4a; outline-offset: 2px; }
.admin-body .lh-tile.is-open { border-color: rgba(255,59,74,.7); background: linear-gradient(180deg, rgba(255,59,74,.14), rgba(255,59,74,.03)), var(--x-surface, #111827); }
.admin-body .lh-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 22px; background: rgba(255,255,255,.06); }
.admin-body .lh-text { display: grid; gap: 4px; min-width: 0; }
.admin-body .lh-text b { font-size: 15px; color: var(--x-ink, #fff); }
.admin-body .lh-text small { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--x-soft, #94a3b8); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .lh-text small i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #475569; }
.admin-body .lh-tile.is-on .lh-text small i { background: #3ddc97; box-shadow: 0 0 0 3px rgba(61,220,151,.18); }
.admin-body .lh-tile.is-live .lh-text small i { background: #ff3b4a; animation: md-blink 1.2s infinite; }
.admin-body .lh-tile.is-ready .lh-text small i, .admin-body .lh-tile.is-busy .lh-text small i { background: #fbbf24; }
.admin-body .lh-tile.is-off .lh-text small i { background: #f43f5e; }
.admin-body .lh-chev { font-style: normal; font-size: 20px; color: var(--x-soft, #64748b); transition: transform .2s; }
.admin-body .lh-tile.is-open .lh-chev { transform: rotate(90deg); color: #ff6b76; }
.admin-body .lh-tile.is-link { background: rgba(255,255,255,.025); border-style: dashed; }
.admin-body .lh-panel { border-radius: 20px; background: var(--x-surface, #111827); border: 1px solid rgba(255,59,74,.4); overflow: hidden; animation: lh-in .22s ease-out; }
@keyframes lh-in { from { opacity: 0; transform: translateY(-6px); } }
.admin-body .lh-panel > header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--x-line, #1f2937); background: rgba(255,59,74,.06); }
.admin-body .lh-panel > header div { display: grid; gap: 3px; }
.admin-body .lh-panel > header b { font-size: 17px; color: var(--x-ink, #fff); }
.admin-body .lh-panel > header small { color: var(--x-soft, #94a3b8); font-size: 13px; line-height: 1.45; }
.admin-body .lh-body { display: grid; gap: 14px; padding: 18px; }
.admin-body .lh-body > .tva-card { margin: 0; }
.admin-body .lh-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin-body .lh-hint { margin: 0; text-align: center; color: var(--x-soft, #64748b); font-size: 13px; }
.admin-body .tva.studio label.md-search { display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 0 12px; margin: 0 0 0 auto; }
.admin-body .tva.studio .md-search input { flex: 1; min-width: 0; min-height: 36px; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--x-ink, #fff) !important; outline: none; width: auto; }
.admin-body .tva.studio .md-stats > div { color: var(--x-ink, #fff); }

/* ---- Media kitabxanası: groups (v378) ---- */
.admin-body .md-lib { grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 18px; }
.admin-body .md-main { display: grid; gap: 14px; min-width: 0; }
.admin-body .md-groups { display: grid; gap: 4px; position: sticky; top: 12px; padding: 4px 14px 4px 0; border-right: 1px solid var(--x-line, #1f2937); transition: background .2s; }
.admin-body .md-groups > header { display: grid; gap: 2px; padding: 4px 8px 10px; }
.admin-body .md-groups > header b { font-size: 15px; color: var(--x-ink, #fff); }
.admin-body .md-groups > header small { font-size: 11.5px; color: var(--x-soft, #64748b); line-height: 1.4; }
.admin-body .md-glist { display: grid; gap: 4px; padding: 6px 0; margin: 4px 0; border-block: 1px dashed rgba(255,255,255,.08); }
.admin-body .md-grow { display: flex; align-items: center; border-radius: 12px; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; }
.admin-body .md-grow:hover { background: rgba(255,255,255,.05); }
.admin-body .md-grow.active { background: rgba(255,59,74,.13); border-color: rgba(255,59,74,.45); }
.admin-body .md-groups.is-target .md-grow[data-media-drop-group]:not([data-media-drop-group=""]) { border-color: rgba(255,255,255,.14); border-style: dashed; }
.admin-body .md-grow.is-hover { background: rgba(61,220,151,.16) !important; border-color: #3ddc97 !important; border-style: solid !important; transform: translateX(4px); }
.admin-body .md-gbtn { all: unset; cursor: pointer; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 9px 10px; font-size: 13.5px; font-weight: 600; color: var(--x-ink, #e2e8f0); }
.admin-body .md-gbtn i { flex: none; width: 10px; height: 10px; border-radius: 4px; background: var(--g); box-shadow: 0 0 0 3px color-mix(in srgb, var(--g) 22%, transparent); }
.admin-body .md-gbtn span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .md-gbtn em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: rgba(255,255,255,.07); color: var(--x-soft, #94a3b8); font-variant-numeric: tabular-nums; }
.admin-body .md-gedit { all: unset; cursor: pointer; padding: 6px 8px; margin-right: 2px; border-radius: 8px; color: var(--x-soft, #64748b); opacity: 0; font-size: 13px; }
.admin-body .md-grow:hover .md-gedit, .admin-body .md-gedit:focus-visible { opacity: 1; }
.admin-body .md-gedit:hover { color: #fff; background: rgba(255,255,255,.08); }
.admin-body .md-gadd { all: unset; cursor: pointer; margin-top: 6px; padding: 9px 10px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.16); font-size: 13px; font-weight: 700; color: var(--x-soft, #94a3b8); text-align: center; }
.admin-body .md-gadd:hover { color: #fff; border-color: rgba(255,59,74,.6); background: rgba(255,59,74,.06); }
.admin-body .md-gform { display: grid; gap: 10px; padding: 10px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,59,74,.45); }
.admin-body .tva.studio .md-gform input[name="name"] { width: 100%; min-height: 36px; padding: 0 10px !important; border-radius: 9px; font-size: 13.5px; }
.admin-body .md-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .md-swatches label { cursor: pointer; display: inline-flex; }
.admin-body .md-swatches input { position: absolute; opacity: 0; pointer-events: none; }
.admin-body .md-swatches span { width: 20px; height: 20px; border-radius: 7px; background: var(--g); border: 2px solid transparent; transition: transform .12s; }
.admin-body .md-swatches input:checked + span { border-color: #fff; transform: scale(1.12); }
.admin-body .md-gform footer { display: flex; gap: 6px; align-items: center; }
.admin-body .md-gform footer .tva-icon { margin-left: auto; }
.admin-body .md-gpill { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .01em; color: #fff; background: color-mix(in srgb, var(--g) 30%, rgba(15,23,42,.85)); border: 1px solid color-mix(in srgb, var(--g) 65%, transparent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.admin-body .md-gtag { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 70px); display: flex; }
.admin-body .md-card.is-now .md-gtag { bottom: 8px; }
.admin-body .md-card[draggable="true"] { cursor: grab; }
.admin-body .md-card.is-drag { opacity: .45; transform: scale(.97); }
.admin-body .md-gsel { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 0 8px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); justify-self: start; max-width: 100%; }
.admin-body .md-gsel span { flex: none; width: 8px; height: 8px; border-radius: 3px; background: var(--g); }
.admin-body .tva.studio .md-gsel select { all: unset; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--x-soft, #cbd5e1); padding-right: 14px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 4px center / 5px 5px no-repeat, linear-gradient(135deg, currentColor 50%, transparent 50%) right 0 center / 5px 5px no-repeat; }
.admin-body .tva.studio .md-gsel select option { color: #0f172a; background: #fff; }
@media (max-width: 900px) { .admin-body .md-lib { grid-template-columns: 1fr; } .admin-body .md-groups { position: static; border-right: 0; padding: 0; } }
.admin-body .pl-groups { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-body .pl-groups button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; color: var(--x-soft, #94a3b8); background: rgba(255,255,255,.05); border: 1px solid transparent; }
.admin-body .pl-groups button i { width: 8px; height: 8px; border-radius: 3px; background: var(--g); }
.admin-body .pl-groups button.active { color: #fff; background: rgba(255,59,74,.15); border-color: rgba(255,59,74,.5); }
.admin-body .pl-bin-meta .md-gpill { justify-self: start; margin: 2px 0; }
.admin-body .pl-bin:has(.pl-groups) { grid-template-rows: auto auto auto minmax(0, 1fr) auto; }
.admin-body .tva.studio .md-card label.md-gsel { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; height: 28px; margin: 6px 0 0; padding: 0 8px; width: auto; }
.admin-body .tva.studio .md-card .md-gsel select { appearance: none !important; display: block; height: 26px !important; min-height: 0 !important; width: auto !important; max-width: 160px; padding: 0 16px 0 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 5px center / 5px 5px no-repeat, linear-gradient(135deg, currentColor 50%, transparent 50%) right 0 center / 5px 5px no-repeat !important; font-size: 12px !important; line-height: 26px; color: var(--x-soft, #cbd5e1) !important; cursor: pointer; }

/* ---- Site TV player: controls in a menu that slides in from the right (v378) ---- */
.tvp-ctl { position: absolute; top: 50%; right: 0; z-index: 6; display: flex; align-items: center; transform: translate(calc(100% - 34px), -50%); transition: transform .28s cubic-bezier(.2,.8,.2,1); font-size: clamp(12px, 1.5cqi, 16px); }
.tvp-ctl.is-open { transform: translate(0, -50%); }
.tvp-ctl-handle { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 64px; padding: 0; border: 0; border-radius: 12px 0 0 12px; background: rgba(8,10,16,.62); backdrop-filter: blur(8px); color: #fff; cursor: pointer; opacity: .35; transition: opacity .2s, background .2s; }
.tvp-ctl-handle svg { width: 20px; height: 20px; transition: transform .28s; }
.tvp-ctl.is-open .tvp-ctl-handle svg { transform: rotate(180deg); }
[data-tv-player]:hover .tvp-ctl-handle, .tvp-ctl.is-awake .tvp-ctl-handle, .tvp-ctl.is-open .tvp-ctl-handle, .tvp-ctl-handle:focus-visible { opacity: 1; }
.tvp-ctl-handle:hover { background: rgba(229,9,20,.85); }
.tvp-ctl-handle i { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: transparent; }
/* Sound off: a blinking red dot on the panel's tab, and the tab stays visible, so a viewer who does not know the panel finds the sound. */
.tvp-ctl.is-muted .tvp-ctl-handle { opacity: .9; }
.tvp-ctl.is-muted .tvp-ctl-handle i { top: 5px; right: 5px; width: 9px; height: 9px; background: #ff1f2d; box-shadow: 0 0 0 2px rgba(8,10,16,.85); animation: tvp-mute-blink 1.1s ease-in-out infinite; }
.tvp-ctl.is-muted.is-open .tvp-ctl-handle i { animation: none; }
@keyframes tvp-mute-blink { 0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 2px rgba(8,10,16,.85), 0 0 0 0 rgba(255,31,45,.7); } 50% { opacity: .25; transform: scale(.8); box-shadow: 0 0 0 2px rgba(8,10,16,.85), 0 0 0 7px rgba(255,31,45,0); } }
@media (prefers-reduced-motion: reduce) { .tvp-ctl.is-muted .tvp-ctl-handle i { animation-duration: 2.4s; } }
.tvp-ctl-menu { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px; border-radius: 14px 0 0 14px; background: rgba(8,10,16,.82); backdrop-filter: blur(10px); box-shadow: -10px 0 30px rgba(0,0,0,.35); }
.tvp-ctl-menu button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; transition: background .15s; }
.tvp-ctl-menu button:hover, .tvp-ctl-menu button:focus-visible { background: rgba(255,255,255,.14); outline: none; }
.tvp-ctl-menu button svg { width: 22px; height: 22px; }
.tvp-ctl.is-muted [data-tv-ctl="mute"] { color: #ff5a63; }
.tvp-ctl-vol { display: grid; place-items: center; width: 40px; height: 96px; }
.tvp-ctl-vol input { width: 84px; height: 4px; margin: 0; transform: rotate(-90deg); accent-color: #e50914; cursor: pointer; }
@media (max-width: 640px) { .tvp-ctl-menu button { width: 34px; height: 34px; } .tvp-ctl-vol { height: 76px; } .tvp-ctl-vol input { width: 64px; } .tvp-ctl-handle { width: 30px; height: 54px; } .tvp-ctl { transform: translate(calc(100% - 30px), -50%); } .tvp-ctl.is-open { transform: translate(0, -50%); } }
/* The menu stays inside the picture: closed, it has no width at all (v379). */
[data-tv-player] { overflow: hidden; }
.tvp-ctl, .tvp-ctl.is-open { transform: translateY(-50%) !important; }
.tvp-ctl-menu { max-width: 0; padding: 10px 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-width .28s cubic-bezier(.2,.8,.2,1), padding .28s, opacity .2s, visibility 0s linear .28s; }
.tvp-ctl.is-open .tvp-ctl-menu { max-width: 64px; padding: 10px 8px; opacity: 1; visibility: visible; transition: max-width .28s cubic-bezier(.2,.8,.2,1), padding .28s, opacity .2s; }
.tvp-ctl-vol { overflow: hidden; }
@media (max-width: 640px) { .tvp-ctl.is-open .tvp-ctl-menu { max-width: 52px; padding: 8px 6px; } }
/* Small players (phones): no volume slider (the phone's own buttons do that), compact buttons, kept above the ticker. */
@media (max-width: 640px) {
  .tvp-ctl { top: 46%; }
  .tvp-ctl-vol { display: none; }
  .tvp-ctl-menu { gap: 2px; }
  .tvp-ctl.is-open .tvp-ctl-menu { max-width: 46px; padding: 6px 5px; }
  .tvp-ctl-menu button { width: 34px; height: 34px; }
  .tvp-ctl-menu button svg { width: 19px; height: 19px; }
  .tvp-ctl-handle { width: 28px; height: 50px; }
}
@media (max-width: 640px) { .tvp-ctl { top: 44.5%; } .tvp-ctl-menu button { width: 30px; height: 30px; } .tvp-ctl-menu button svg { width: 18px; height: 18px; } .tvp-ctl.is-open .tvp-ctl-menu { max-width: 42px; padding: 5px 6px; } }
/* Volume: a real vertical slider (no rotation), so nothing around it can clip it (v380). */
.tvp-ctl-vol { display: grid; place-items: center; width: 40px; height: 100px; overflow: visible; padding: 4px 0; }
.tvp-ctl-vol input { writing-mode: vertical-lr; direction: rtl; transform: none; width: 18px; height: 88px; margin: 0; padding: 0; accent-color: #e50914; cursor: pointer; background: transparent; }
@media (max-width: 640px) { .tvp-ctl-vol { display: none; } }
/* Phones and tablets of any width: the phone's own volume buttons set the level, so no slider. */
@media (pointer: coarse) { .tvp-ctl-vol { display: none; } }

/* Studio monitor: the real HLS feed with buffer health and stop reasons */
.admin-body .tvx-hls { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; background: #000; }
.admin-body .tvx-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.admin-body .tvx-hls-msg { position: relative; z-index: 1; padding: 8px 14px; border-radius: 10px; background: rgba(0,0,0,.7); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.admin-body .tvx-hls-msg[hidden] { display: none; }
.admin-body .tvx-buf { display: grid; gap: 8px; padding: 12px 22px; border-top: 1px solid var(--x-line); background: rgba(255,255,255,.02); }
.admin-body .tvx-buf-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-body .tvx-buf-state { display: inline-flex; align-items: center; gap: 7px; min-width: 112px; color: var(--x-ink); font-size: 13px; font-weight: 700; }
.admin-body .tvx-buf-state i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.admin-body .tvx-buf.is-warn .tvx-buf-state i { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.18); }
.admin-body .tvx-buf.is-bad .tvx-buf-state i { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.2); }
.admin-body .tvx-buf-meter { position: relative; flex: 1; height: 8px; min-width: 60px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.admin-body .tvx-buf-meter b { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: #22c55e; transition: width .4s ease; }
.admin-body .tvx-buf.is-warn .tvx-buf-meter b { background: #f59e0b; }
.admin-body .tvx-buf.is-bad .tvx-buf-meter b { background: #ef4444; }
.admin-body .tvx-buf-row strong { min-width: 44px; text-align: right; color: var(--x-ink); font-size: 14px; font-variant-numeric: tabular-nums; }
.admin-body .tvx-buf-row small { min-width: 120px; color: var(--x-soft); font-size: 12px; font-variant-numeric: tabular-nums; }
.admin-body .tvx-buf-why { margin: 0; padding: 9px 12px; border-radius: 10px; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); color: #fecaca; font-size: 13px; line-height: 1.45; }
.admin-body .tvx-buf-why b { color: #fff; }
.admin-body .tvx-buf-log { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.admin-body .tvx-buf-log li { display: grid; grid-template-columns: 70px 52px 1fr; gap: 8px; color: var(--x-soft); font-size: 12px; }
.admin-body .tvx-buf-log time { font-variant-numeric: tabular-nums; }
.admin-body .tvx-buf-log b { color: #fca5a5; font-variant-numeric: tabular-nums; }

/* "Xəbər paneli" lower third: red slanted tag, navy headline bar, light subtitle bar */
.admin-body .tvx-swatches .is-news i { background: linear-gradient(90deg, #d70015 30%, transparent 30%), linear-gradient(180deg, #0d2d82 60%, #dfe3ea 60%); }
.admin-body .tvx-tpl-art .tvp-gfx-lower.is-news { width: 100%; }
.admin-body .tvx-tpl-art .tvp-gfx-lower.is-news b { font-size: 12px; }
.admin-body .tvx-tpl-art .tvp-gfx-lower.is-news span { font-size: 10px; }
.admin-body .tvx-tpl-art .tvp-gfx-lower.is-news em { font-size: 9px; }
.admin-body .tvx-lib.is-starters { margin-bottom: 14px; }
.admin-body .tvx-lib.is-starters header small { color: var(--x-soft); font-size: 12px; }
.admin-body .tvx-tpl-name { color: var(--x-ink); font-size: 12px; font-weight: 700; padding: 0 4px; }

/* Studio: live link ("Meet") card */
.admin-body .tvx-guest { display: grid; gap: 10px; }
.admin-body .tvx-guest h3 { display: flex; align-items: center; gap: 10px; }
.admin-body .tvx-guest-state { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--x-soft); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-body .tvx-guest-state i { width: 7px; height: 7px; border-radius: 50%; background: #6b7280; }
.admin-body .tvx-guest-state.is-ok i { background: #22c55e; } .admin-body .tvx-guest-state.is-wait i { background: #f59e0b; }
.admin-body .tvx-guest-state.is-air { background: #e50914; color: #fff; } .admin-body .tvx-guest-state.is-air i { background: #fff; }
.admin-body .tvx-guest-pv { position: relative; display: grid; place-content: center; gap: 4px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; text-align: center; }
.admin-body .tvx-guest-pv b { color: var(--x-ink); font-size: 13px; } .admin-body .tvx-guest-pv small { color: var(--x-soft); font-size: 12px; padding: 0 14px; }
.admin-body .tvx-guest-hear { position: absolute; right: 8px; bottom: 8px; z-index: 2; background: rgba(0,0,0,.6); }
.admin-body .tvx-guest-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.admin-body .tvx-guest-row .tvx-btn { min-height: 40px; font-size: 13px; }
.admin-body .tvx-guest-row .tvx-btn.is-bad { border-color: rgba(239,68,68,.5); color: #fca5a5; }
.admin-body .tvx-guest-row .tvx-btn.is-on { border-color: rgba(34,197,94,.55); color: #86efac; }
.admin-body .tvx-guest-row.is-small { display: flex; justify-content: space-between; }
.admin-body .tvx-guest-link { display: grid; gap: 6px; color: var(--x-soft); font-size: 12px; }
.admin-body .tvx-guest-link div { display: flex; gap: 6px; align-items: center; }
.admin-body .tvx-guest-link input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--x-line-2); border-radius: 10px; background: rgba(0,0,0,.3); color: var(--x-ink); font: 12px ui-monospace, monospace; }
.admin-body .tvx-guest-link a.tvx-chip { display: inline-flex; align-items: center; text-decoration: none; }
.admin-body .tvx-link-btn.danger { color: #fca5a5; }

/* Canlı pult (control room) */
.admin-body .ctl-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.admin-body .ctl-side { display: grid; gap: 14px; }
.admin-body .ctl-side .tvx-card { display: grid; gap: 10px; }
.admin-body .ctl-sum { margin: 0; color: var(--x-soft); font-size: 13px; line-height: 1.6; } .admin-body .ctl-sum b { color: var(--x-ink); }
.admin-body .ctl-rec-on { margin-left: auto; padding: 4px 10px; border-radius: 99px; background: #e50914; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; animation: tvp-gfx-blink 1.6s steps(2) infinite; }
.admin-body .ctl-rec-on b { font-variant-numeric: tabular-nums; }
.admin-body .ctl-sources { margin-top: 18px; }
.admin-body .ctl-sources > header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.admin-body .ctl-sources > header h3 { margin: 0; }
.admin-body .ctl-sources > header small { margin-right: auto; }
.admin-body .ctl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.admin-body .ctl-src { display: grid; gap: 10px; padding: 12px; border: 2px solid var(--x-line); border-radius: 16px; background: rgba(255,255,255,.02); }
.admin-body .ctl-src.is-pgm { border-color: #e50914; box-shadow: 0 0 0 3px rgba(229,9,20,.18); }
.admin-body .ctl-src.is-snd:not(.is-pgm) { border-color: rgba(34,197,94,.6); }
.admin-body .ctl-src.is-down { opacity: .82; }
.admin-body .ctl-pv { position: relative; display: grid; place-content: center; gap: 4px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; text-align: center; }
.admin-body .ctl-pv-msg { position: relative; z-index: 1; color: var(--x-ink); font-size: 13px; } .admin-body .ctl-pv small { color: var(--x-soft); font-size: 12px; }
.admin-body .ctl-tally { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; gap: 6px; }
.admin-body .ctl-tally em { padding: 3px 8px; border-radius: 6px; font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.admin-body .ctl-tally .pgm { background: #e50914; color: #fff; } .admin-body .ctl-tally .snd { background: #22c55e; color: #04120a; }
.admin-body .ctl-hear { position: absolute; right: 8px; bottom: 8px; z-index: 2; background: rgba(0,0,0,.6); }
.admin-body .ctl-src > header { display: flex; align-items: center; gap: 8px; }
.admin-body .ctl-src > header b { color: var(--x-ink); font-size: 14px; } .admin-body .ctl-src > header small { color: var(--x-soft); font-size: 12px; margin-right: auto; }
.admin-body .ctl-src > header i.ok { color: #4ade80; font-style: normal; }
.admin-body .ctl-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.admin-body .ctl-btns .tvx-btn, .admin-body .ctl-side .tvx-btn { min-height: 40px; font-size: 13px; }
.admin-body .tvx-btn.is-pgm { background: #e50914; border-color: #e50914; color: #fff; }
.admin-body .tvx-btn.is-snd { border-color: rgba(34,197,94,.6); color: #86efac; }
.admin-body .ctl-gain { display: grid; grid-template-columns: auto 1fr 44px; align-items: center; gap: 10px; color: var(--x-soft); font-size: 12px; }
.admin-body .ctl-gain input { width: 100%; accent-color: #22c55e; } .admin-body .ctl-gain b { color: var(--x-ink); text-align: right; font-variant-numeric: tabular-nums; }
.admin-body .ctl-link { display: flex; gap: 6px; align-items: center; }
.admin-body .ctl-link input { flex: 1; min-width: 0; height: 32px; padding: 0 8px; border: 1px solid var(--x-line-2); border-radius: 8px; background: rgba(0,0,0,.3); color: var(--x-ink); font: 11px ui-monospace, monospace; }
.admin-body .ctl-link a.tvx-chip { display: inline-flex; align-items: center; text-decoration: none; }
.admin-body .ctl-src > footer { display: flex; justify-content: space-between; }
.admin-body .ctl-recs { margin-top: 18px; }
.admin-body .ctl-recs ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.admin-body .ctl-recs li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--x-line); border-radius: 12px; }
.admin-body .ctl-recs li b { color: var(--x-ink); font-size: 13px; font-variant-numeric: tabular-nums; } .admin-body .ctl-recs li small { color: var(--x-soft); margin-right: auto; }
.admin-body .ctl-recs li nav { display: flex; gap: 6px; align-items: center; }
@media (max-width: 1100px) { .admin-body .ctl-top { grid-template-columns: 1fr; } }

/* ===== Canlı pult v2: broadcast control room ===== */
.admin-body .ctl2 { --c-bg: #07090d; --c-panel: #0d1118; --c-panel2: #121824; --c-line: rgba(255,255,255,.07); --c-line2: rgba(255,255,255,.13); --c-ink: #eef2f8; --c-soft: #8a94a7; --c-pgm: #ff2b2b; --c-pvw: #17d46b; --c-amber: #ffb020; --c-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace; }
.admin-body .ctl2 .ctl2-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 16px; margin-bottom: 0; padding: 12px 16px; border: 1px solid var(--c-line); border-radius: 16px; background: linear-gradient(180deg, #0f141d, #0a0d13); }
.admin-body .ctl2-tally { display: inline-flex; align-items: center; gap: 10px; min-width: 132px; justify-content: center; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--c-line2); background: #161b26; color: var(--c-soft); font: 900 15px/1 var(--c-mono); letter-spacing: .16em; }
.admin-body .ctl2-tally i { width: 10px; height: 10px; border-radius: 50%; background: #3b4252; }
.admin-body .ctl2-tally.is-armed { color: var(--c-amber); border-color: rgba(255,176,32,.45); } .admin-body .ctl2-tally.is-armed i { background: var(--c-amber); }
.admin-body .ctl2-tally.is-air { background: var(--c-pgm); border-color: var(--c-pgm); color: #fff; box-shadow: 0 0 0 4px rgba(255,43,43,.18), 0 0 32px rgba(255,43,43,.35); }
.admin-body .ctl2-tally.is-air i { background: #fff; animation: ctl2-pulse 1.2s ease-in-out infinite; }
@keyframes ctl2-pulse { 50% { opacity: .25; } }
.admin-body .ctl2-bar-info { display: grid; gap: 3px; min-width: 0; } .admin-body .ctl2-bar-info b { color: var(--c-ink); font-size: 14px; } .admin-body .ctl2-bar-info small { color: var(--c-soft); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .ctl2-big { height: 46px; padding: 0 22px; border-radius: 12px; border: 0; font: 900 14px/1 inherit; letter-spacing: .08em; cursor: pointer; }
.admin-body .ctl2-big.is-go { background: linear-gradient(180deg, #ff4141, #d70f0f); color: #fff; box-shadow: 0 8px 24px rgba(215,15,15,.35); }
.admin-body .ctl2-big.is-stop { background: #1b212d; color: #fff; border: 1px solid rgba(255,43,43,.6); }
.admin-body .ctl2-big:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.admin-body .ctl2-rec { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--c-line2); background: #141922; color: var(--c-soft); font: 900 13px/1 var(--c-mono); letter-spacing: .1em; cursor: pointer; }
.admin-body .ctl2-rec i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; }
.admin-body .ctl2-rec b { color: var(--c-ink); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.admin-body .ctl2-recauto { display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--c-line2); background: #141922; color: var(--c-soft); font: 900 12px/1 var(--c-mono); letter-spacing: .08em; cursor: pointer; }
.admin-body .ctl2-recauto i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; }
.admin-body .ctl2-recauto small { font: 600 11px/1 var(--c-mono); letter-spacing: 0; opacity: .8; }
.admin-body .ctl2-recauto.is-on { color: #86efac; border-color: rgba(34,197,94,.55); background: rgba(34,197,94,.1); } .admin-body .ctl2-recauto.is-on i { background: #22c55e; border-color: #22c55e; }
.admin-body .ctl2-recauto.is-rec { color: #fff; border-color: var(--c-pgm); background: rgba(255,43,43,.14); } .admin-body .ctl2-recauto.is-rec i { background: var(--c-pgm); border-color: var(--c-pgm); animation: ctl2-pulse 1s infinite; }
.admin-body .ctl2-rec.is-on { color: #fff; border-color: var(--c-pgm); background: rgba(255,43,43,.14); } .admin-body .ctl2-rec.is-on i { background: var(--c-pgm); border-color: var(--c-pgm); animation: ctl2-pulse 1s infinite; }
.admin-body .ctl2-clock { display: grid; justify-items: end; } .admin-body .ctl2-clock b { color: var(--c-ink); font: 700 22px/1 var(--c-mono); font-variant-numeric: tabular-nums; } .admin-body .ctl2-clock small { color: var(--c-soft); font-size: 10px; letter-spacing: .2em; }

.admin-body .ctl2-main { display: grid; grid-template-columns: minmax(0, 1fr) 108px minmax(0, 1fr) 300px; gap: 12px; align-items: start; }
.admin-body .ctl2-mon { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: var(--c-panel); border: 1px solid var(--c-line); }
.admin-body .ctl2-mon-head { display: flex; align-items: center; gap: 9px; min-width: 0; }
.admin-body .ctl2-mon-head b { color: var(--c-ink); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .ctl2-mon-head small { margin-left: auto; white-space: nowrap; }
.admin-body .ctl2-tag { padding: 4px 8px; border-radius: 6px; font: 900 10px/1 var(--c-mono); letter-spacing: .14em; color: #04120a; background: var(--c-pvw); }
.admin-body .ctl2-mon.is-pgm .ctl2-tag { background: var(--c-pgm); color: #fff; } .admin-body .ctl2-tag.is-dim { background: #2a3140; color: var(--c-ink); }
.admin-body .ctl2-screen { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.admin-body .ctl2-screen .tvx-video { object-fit: cover; }
.admin-body .ctl2-mon.is-pvw .ctl2-screen { box-shadow: inset 0 0 0 3px var(--c-pvw); }
.admin-body .ctl2-mon.is-pgm .ctl2-screen { box-shadow: inset 0 0 0 3px var(--c-pgm); }
.admin-body .ctl2-mon.is-pgm.is-live { border-color: rgba(255,43,43,.5); box-shadow: 0 0 30px rgba(255,43,43,.12); }
.admin-body .ctl2-empty { position: relative; z-index: 1; color: #5b6475; font: 800 12px/1 var(--c-mono); letter-spacing: .16em; } .admin-body .ctl2-empty.is-bad { color: #ff6b6b; }
.admin-body .ctl2-tbar { display: grid; gap: 10px; align-content: center; height: 100%; padding-top: 28px; }
.admin-body .ctl2-cut { display: grid; place-items: center; gap: 4px; height: 96px; border-radius: 14px; border: 0; background: linear-gradient(180deg, #ffd23a, #f0a500); color: #1a1200; font: 900 22px/1 var(--c-mono); letter-spacing: .12em; cursor: pointer; box-shadow: 0 10px 26px rgba(240,165,0,.28), inset 0 -3px 0 rgba(0,0,0,.18); transition: transform .08s; }
.admin-body .ctl2-cut small { font: 700 10px/1 var(--c-mono); letter-spacing: .08em; opacity: .7; }
.admin-body .ctl2-cut:active { transform: translateY(2px); } .admin-body .ctl2-cut:disabled { background: #1b212d; color: #4b5263; box-shadow: none; cursor: default; }
.admin-body .ctl2-afv { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; border: 1px solid var(--c-line2); background: #121722; cursor: pointer; text-align: center; }
.admin-body .ctl2-afv input { position: absolute; opacity: 0; pointer-events: none; }
.admin-body .ctl2-afv span { padding: 4px 10px; border-radius: 6px; background: #232a38; color: var(--c-soft); font: 900 12px/1 var(--c-mono); letter-spacing: .12em; }
.admin-body .ctl2-afv input:checked + span { background: var(--c-amber); color: #1a1200; }
.admin-body .ctl2-afv small { color: var(--c-soft); font-size: 10px; line-height: 1.25; }
.admin-body .ctl2-blk { height: 40px; border-radius: 10px; border: 1px solid var(--c-line2); background: #000; color: #cfd6e2; font: 900 12px/1 var(--c-mono); letter-spacing: .14em; cursor: pointer; } .admin-body .ctl2-blk:disabled { opacity: .35; cursor: default; }
.admin-body .ctl2-out { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: var(--c-panel); border: 1px solid var(--c-line); }
.admin-body .ctl2-out .tvx-screen { border-radius: 8px; } .admin-body .ctl2-out .tvx-buf { padding: 4px 0 0; border: 0; background: none; }
.admin-body .ctl2-out .tvx-buf-row { flex-wrap: wrap; gap: 8px; } .admin-body .ctl2-out .tvx-buf-row small { min-width: 0; } .admin-body .ctl2-out .tvx-buf-state { min-width: 0; }
.admin-body .ctl2-q { color: var(--c-soft); font: 600 11px/1 var(--c-mono); font-variant-numeric: tabular-nums; }
.admin-body .ctl2-q.is-ok { color: #4ade80; } .admin-body .ctl2-q.is-warn { color: var(--c-amber); } .admin-body .ctl2-q.is-bad { color: #ff6b6b; }

.admin-body .ctl2-mv { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.admin-body .ctl2-tile { position: relative; display: grid; gap: 0; padding: 0; border: 2px solid var(--c-line2); border-radius: 12px; overflow: hidden; background: var(--c-panel); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.admin-body .ctl2-tile .ctl2-screen { border-radius: 0; }
.admin-body .ctl2-tile:hover { border-color: rgba(255,255,255,.3); }
.admin-body .ctl2-tile.is-pvw { border-color: var(--c-pvw); box-shadow: 0 0 0 2px rgba(23,212,107,.25); }
.admin-body .ctl2-tile.is-pgm { border-color: var(--c-pgm); box-shadow: 0 0 0 2px rgba(255,43,43,.3); }
.admin-body .ctl2-tile.is-down .ctl2-screen { background: repeating-linear-gradient(135deg, #0b0e14 0 10px, #10141c 10px 20px); }
.admin-body .ctl2-num { position: absolute; top: 6px; left: 6px; z-index: 2; min-width: 22px; padding: 3px 6px; border-radius: 6px; background: rgba(0,0,0,.72); color: #fff; font: 900 12px/1 var(--c-mono); text-align: center; }
.admin-body .ctl2-tile.is-pvw .ctl2-num { background: var(--c-pvw); color: #04120a; } .admin-body .ctl2-tile.is-pgm .ctl2-num { background: var(--c-pgm); }
.admin-body .ctl2-kind { position: absolute; top: 6px; right: 6px; z-index: 2; padding: 3px 6px; border-radius: 6px; background: rgba(0,0,0,.6); color: var(--c-soft); font: 800 9px/1 var(--c-mono); letter-spacing: .12em; }
.admin-body .ctl2-snd { position: absolute; top: 6px; right: 44px; z-index: 2; padding: 2px 6px; border-radius: 6px; background: var(--c-pvw); color: #04120a; font: 900 11px/1 var(--c-mono); }
.admin-body .ctl2-tile-vu { position: absolute; left: 0; right: 0; bottom: 38px; z-index: 2; height: 3px; background: linear-gradient(90deg, #17d46b 0 70%, #ffb020 70% 88%, #ff2b2b 88%); clip-path: inset(0 calc(100% - var(--v, 0) * 100%) 0 0); }
.admin-body .ctl2-tile-name { display: grid; gap: 3px; padding: 7px 9px 8px; background: #0a0d13; } .admin-body .ctl2-tile-name b { color: var(--c-ink); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .ctl2-tile.is-add, .admin-body .ctl2-tile.is-void { display: grid; place-content: center; gap: 6px; aspect-ratio: auto; min-height: 120px; border-style: dashed; cursor: default; }
.admin-body .ctl2-tile.is-void b, .admin-body .ctl2-tile.is-add b { color: #353c4b; font: 900 20px/1 var(--c-mono); text-align: center; }
.admin-body .ctl2-tile.is-add button { height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--c-line2); background: #151b27; color: var(--c-ink); font: 700 11px/1 inherit; cursor: pointer; }
.admin-body .ctl2-tile.is-add small { color: var(--c-soft); font-size: 10px; text-align: center; }
.admin-body .ctl2-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.admin-body .ctl2-kinds button { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 14px; border: 1px solid var(--c-line2); border-radius: 12px; background: #151b27; color: var(--c-ink); cursor: pointer; font: inherit; }
.admin-body .ctl2-kinds button:hover { border-color: #e3262f; }
.admin-body .ctl2-kinds i { font-style: normal; font-size: 24px; }
.admin-body .ctl2-kinds b { font-size: 14px; } .admin-body .ctl2-kinds small { color: var(--c-soft); font-size: 12px; line-height: 1.35; }
.admin-body .ctl2-links tr.is-open td { background: rgba(227, 38, 47, .06); }
.admin-body .ctl2-acts button.is-on { border-color: #e3262f; color: #fff; }
.admin-body .ctl2-setup td { padding: 4px 8px 16px; }
.admin-body .ctl2-guide { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(260px, 1.2fr); gap: 16px 24px; padding: 14px; border: 1px solid var(--c-line2); border-radius: 12px; background: #0b0f17; }
.admin-body .ctl2-guide-fields { display: grid; gap: 8px; align-content: start; }
.admin-body .ctl2-guide-fields details summary { cursor: pointer; color: var(--c-soft); font-size: 12px; margin: 4px 0; }
.admin-body .ctl2-guide ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--c-ink); font-size: 13px; line-height: 1.45; }
.admin-body .ctl2-guide ol em { font-style: normal; color: #fbbf24; }
.admin-body .ctl2-guide code { font: 11px var(--c-mono); color: #93c5fd; word-break: break-all; }
.admin-body .ctl2-guide > .ctl2-hint { grid-column: 1 / -1; margin: 0; }
.admin-body .ctl2-cp { display: grid; grid-template-columns: 1fr auto; gap: 4px 6px; align-items: center; }
.admin-body .ctl2-cp span { grid-column: 1 / -1; color: var(--c-soft); font-size: 11px; }
.admin-body .ctl2-cp input { min-width: 0; height: 32px; padding: 0 8px; border: 1px solid var(--c-line2); border-radius: 8px; background: #05070a; color: var(--c-ink); font: 11px var(--c-mono); }
.admin-body .ctl2-cp button { height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--c-line2); background: #151b27; color: var(--c-ink); font: 600 11px/1 inherit; cursor: pointer; }
@media (max-width: 760px) { .admin-body .ctl2-guide { grid-template-columns: 1fr; } }

.admin-body .ctl2-lower { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 12px; margin-top: 12px; align-items: start; }
.admin-body .ctl2-panel { padding: 14px; border-radius: 14px; background: var(--c-panel); border: 1px solid var(--c-line); }
.admin-body .ctl2-panel > header { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.admin-body .ctl2-panel > header h3 { margin: 0; color: var(--c-ink); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
/* Screen layouts ("Ekran düzümü") */
.admin-body .ctl2-comp { display: block; }
.admin-body .ctl2-comp-box { position: absolute; overflow: hidden; display: grid; place-items: center; }
.admin-body .ctl2-comp-box .tvx-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.admin-body .ctl2-comp-box em { position: absolute; left: 6px; bottom: 5px; z-index: 1; max-width: calc(100% - 12px); overflow: hidden; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.62); color: #fff; font: 700 10.5px/1.3 var(--c-mono); font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .ctl2-comp-box.is-empty em { position: static; background: none; color: rgba(255,255,255,.6); }
.admin-body .ctl2-layout > header { align-items: center; }
.admin-body .ctl2-afl { position: relative; display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px 10px; border: 1px solid var(--c-line2); border-radius: 10px; background: #121722; cursor: pointer; }
.admin-body .ctl2-afl input { accent-color: var(--c-pgm); width: 16px; height: 16px; }
.admin-body .ctl2-afl span { color: var(--c-ink); font-size: 12.5px; font-weight: 700; }
.admin-body .ctl2-afl small { color: var(--c-soft); font-size: 11.5px; }
.admin-body .ctl2-lays { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.admin-body .ctl2-lay { display: grid; gap: 4px; padding: 8px; border: 1px solid var(--c-line2); border-radius: 12px; background: #121722; color: var(--c-ink); text-align: left; cursor: pointer; transition: border-color .15s, transform .15s, background .15s; }
.admin-body .ctl2-lay:hover { transform: translateY(-1px); border-color: var(--c-soft); }
.admin-body .ctl2-lay.is-on { border-color: var(--c-pgm); background: #1b1216; box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-pgm) 35%, transparent); }
.admin-body .ctl2-lay b { overflow: hidden; font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .ctl2-lay small { color: var(--c-soft); font-size: 11px; }
.admin-body .ctl2-lay-pv { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; }
.admin-body .ctl2-lay-pv span { position: absolute; display: grid; place-items: center; background: linear-gradient(135deg, #3b4a66, #26324a); color: rgba(255,255,255,.85); font: 800 11px/1 var(--c-mono); font-style: normal; }
.admin-body .ctl2-lay-pv span:first-child { background: linear-gradient(135deg, #52648a, #34425f); }
.admin-body .ctl2-lay-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.admin-body .ctl2-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-body .ctl2-slot { display: flex; align-items: center; gap: 8px; padding: 5px 6px 5px 5px; border: 1px solid var(--c-line2); border-radius: 10px; background: #121722; }
.admin-body .ctl2-slot b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--c-pgm); color: #fff; font: 800 11px/1 var(--c-mono); }
.admin-body .ctl2-slot span { color: var(--c-soft); font-size: 12px; white-space: nowrap; }
.admin-body .ctl2-slot select { min-width: 150px; padding: 5px 8px; border: 1px solid var(--c-line2); border-radius: 7px; background: #0b0f17; color: var(--c-ink); font-size: 12.5px; }
.admin-body .ctl2-themes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.admin-body .ctl2-themes > span { margin-right: 4px; color: var(--c-soft); font-size: 12px; }
.admin-body .ctl2-theme { display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border: 1px solid var(--c-line2); border-radius: 999px; background: #121722; color: var(--c-soft); font-size: 12px; font-weight: 600; cursor: pointer; }
.admin-body .ctl2-theme i { width: 18px; height: 18px; border-radius: 50%; }
.admin-body .ctl2-theme.is-on { border-color: var(--c-ink); color: var(--c-ink); }
@media (max-width: 1500px) { .admin-body .ctl2-lays { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .admin-body .ctl2-lays { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-body .ctl2-afl { margin-left: 0; } }
.admin-body .ctl2-panel > header small { color: var(--c-soft); font-size: 11px; }
.admin-body .ctl2-strips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.admin-body .ctl2-ch { flex: 0 0 104px; display: grid; gap: 8px; justify-items: center; padding: 10px 8px; border-radius: 12px; background: var(--c-panel2); border: 1px solid var(--c-line); }
.admin-body .ctl2-ch.is-on { border-color: rgba(23,212,107,.45); } .admin-body .ctl2-ch.is-off { opacity: .55; }
.admin-body .ctl2-ch header { display: grid; justify-items: center; gap: 2px; width: 100%; } .admin-body .ctl2-ch header b { max-width: 100%; color: var(--c-ink); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .admin-body .ctl2-ch header small { color: var(--c-soft); font: 700 9px/1 var(--c-mono); letter-spacing: .1em; text-transform: uppercase; }
.admin-body .ctl2-ch-body { display: flex; gap: 10px; height: 170px; }
.admin-body .ctl2-vu { position: relative; width: 12px; height: 100%; border-radius: 3px; background: #05070a; overflow: hidden; }
.admin-body .ctl2-vu i { position: absolute; inset: 0; background: linear-gradient(0deg, #17d46b 0 60%, #ffb020 60% 82%, #ff2b2b 82%); clip-path: inset(calc(100% - var(--v, 0) * 100%) 0 0 0); transition: clip-path .05s linear; }
.admin-body .ctl2-vu em { position: absolute; left: 0; right: 0; height: 2px; bottom: calc(var(--p, 0) * 100%); background: #fff; opacity: .85; }
.admin-body .ctl2-vu.is-clip { box-shadow: 0 0 0 1px var(--c-pgm); }
.admin-body .ctl2-scale { display: none; }
.admin-body .ctl2-fader { position: relative; width: 34px; height: 100%; border-radius: 8px; background: repeating-linear-gradient(0deg, transparent 0 16px, rgba(255,255,255,.06) 16px 17px), #090c12; }
.admin-body .ctl2-fader input { position: absolute; left: 50%; top: 50%; width: 160px; height: 28px; margin: 0; transform: translate(-50%, -50%) rotate(-90deg); background: transparent; -webkit-appearance: none; appearance: none; cursor: ns-resize; }
.admin-body .ctl2-fader input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: #262d3b; }
.admin-body .ctl2-fader input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 20px; margin-top: -8px; border-radius: 4px; background: linear-gradient(90deg, #dfe4ec, #9aa3b2 48%, #2b313d 50%, #9aa3b2 52%, #dfe4ec); box-shadow: 0 2px 6px rgba(0,0,0,.6); }
.admin-body .ctl2-fader input::-moz-range-track { height: 4px; border-radius: 4px; background: #262d3b; }
.admin-body .ctl2-fader input::-moz-range-thumb { width: 30px; height: 20px; border: 0; border-radius: 4px; background: linear-gradient(90deg, #dfe4ec, #9aa3b2 48%, #2b313d 50%, #9aa3b2 52%, #dfe4ec); }
.admin-body .ctl2-ch output { color: var(--c-ink); font: 700 11px/1 var(--c-mono); font-variant-numeric: tabular-nums; }
.admin-body .ctl2-on, .admin-body .ctl2-pfl { width: 100%; height: 30px; border-radius: 8px; border: 1px solid var(--c-line2); background: #1a202c; color: var(--c-soft); font: 900 10px/1 var(--c-mono); letter-spacing: .1em; cursor: pointer; }
.admin-body .ctl2-on.is-on { background: var(--c-pgm); border-color: var(--c-pgm); color: #fff; }
.admin-body .ctl2-pfl.is-on { background: var(--c-amber); border-color: var(--c-amber); color: #1a1200; } .admin-body .ctl2-pfl.is-wait { color: var(--c-amber); } .admin-body .ctl2-pfl.is-bad { color: #ff6b6b; border-color: rgba(255,107,107,.5); }
.admin-body .ctl2-pfl:disabled { opacity: .4; cursor: default; }
.admin-body .ctl2-recs ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; max-height: 300px; overflow: auto; }
.admin-body .ctl2-recs li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--c-panel2); }
.admin-body .ctl2-recs li b { color: var(--c-ink); font: 600 12px/1 var(--c-mono); } .admin-body .ctl2-recs li small { margin-right: auto; color: var(--c-soft); font-size: 11px; }
.admin-body .ctl2-recs nav { display: flex; gap: 4px; }
.admin-body .ctl2-recs nav button { width: 30px; height: 28px; border-radius: 8px; border: 1px solid var(--c-line2); background: #161c28; color: var(--c-ink); cursor: pointer; } .admin-body .ctl2-recs nav button.danger { color: #ff8a8a; }
.admin-body .ctl2-hint { margin: 0; color: var(--c-soft); font-size: 12px; line-height: 1.5; }
.admin-body .ctl2-links { margin-top: 12px; }
.admin-body .ctl2-links > header small { margin-right: auto; }
.admin-body .ctl2-btn { height: 32px; padding: 0 14px; border-radius: 9px; border: 0; background: #2563eb; color: #fff; font: 700 12px/1 inherit; cursor: pointer; } .admin-body .ctl2-btn.ghost { background: #182030; border: 1px solid var(--c-line2); } .admin-body .ctl2-btn:disabled { opacity: .4; }
.admin-body .ctl2-links table { width: 100%; border-collapse: collapse; }
.admin-body .ctl2-links td { padding: 9px 8px; border-top: 1px solid var(--c-line); color: var(--c-soft); font-size: 12px; vertical-align: middle; }
.admin-body .ctl2-links td b { display: block; color: var(--c-ink); font-size: 13px; } .admin-body .ctl2-links td small { color: var(--c-soft); font-size: 11px; }
.admin-body .ctl2-badge { display: inline-grid !important; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #1c2330; color: var(--c-ink) !important; font: 900 12px/1 var(--c-mono) !important; }
.admin-body .ctl2-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #4b5263; } .admin-body .ctl2-dot.is-ok { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.admin-body .ctl2-linkcell { display: flex; gap: 6px; align-items: center; }
.admin-body .ctl2-linkcell input { flex: 1; min-width: 160px; height: 30px; padding: 0 8px; border: 1px solid var(--c-line2); border-radius: 8px; background: #05070a; color: var(--c-ink); font: 11px var(--c-mono); }
.admin-body .ctl2-linkcell button, .admin-body .ctl2-linkcell a, .admin-body .ctl2-acts button { height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--c-line2); background: #151b27; color: var(--c-ink); font: 600 11px/30px inherit; text-decoration: none; cursor: pointer; white-space: nowrap; }
.admin-body .ctl2-acts { white-space: nowrap; text-align: right; } .admin-body .ctl2-acts button { margin-left: 4px; } .admin-body .ctl2-acts .danger { color: #ff8a8a; }
.admin-body .ctl2-tabs { display: flex; gap: 6px; margin-top: 12px; padding: 6px; border-radius: 14px; background: var(--c-panel); border: 1px solid var(--c-line); overflow-x: auto; scrollbar-width: none; }
.admin-body .ctl2-tabs::-webkit-scrollbar { display: none; }
.admin-body .ctl2-tabs button { flex: 1 1 0; min-width: 132px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--c-soft); text-align: left; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.admin-body .ctl2-tabs button:hover { background: rgba(255, 255, 255, .04); color: var(--c-ink); }
.admin-body .ctl2-tabs button:focus-visible { outline: 2px solid #5b8cff; outline-offset: 1px; }
.admin-body .ctl2-tabs button.is-on { background: rgba(227, 38, 47, .12); border-color: rgba(227, 38, 47, .55); color: var(--c-ink); }
.admin-body .ctl2-tabs b { font-size: 13px; font-weight: 700; white-space: nowrap; }
.admin-body .ctl2-tabs small { grid-column: 1; font-size: 11px; color: var(--c-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .ctl2-tabs kbd { grid-column: 2; grid-row: 1 / span 2; padding: 3px 6px; border-radius: 5px; border: 1px solid var(--c-line2); background: #151b27; color: var(--c-soft); font: 700 10px/1 var(--c-mono); }
.admin-body .ctl2-tabs button.is-on kbd { color: var(--c-ink); }
.admin-body .ctl2-pane { margin-top: 10px; }
.admin-body .ctl2-pane.is-off { display: none; }
.admin-body .ctl2-pane > .ctl2-panel { margin-top: 0; }
@media (max-width: 720px) { .admin-body .ctl2-tabs kbd { display: none; } .admin-body .ctl2-tabs button { min-width: 112px; grid-template-columns: 1fr; } }
.admin-body .ctl2-keys { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; padding: 10px 4px; color: var(--c-soft); font-size: 11px; }
.admin-body .ctl2-keys kbd { padding: 2px 6px; border-radius: 5px; border: 1px solid var(--c-line2); background: #151b27; color: var(--c-ink); font: 700 10px/1 var(--c-mono); }
@media (max-width: 1500px) { .admin-body .ctl2-main { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); } .admin-body .ctl2-out { grid-column: 1 / -1; grid-template-columns: 320px 1fr; align-items: start; } .admin-body .ctl2-mv { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .admin-body .ctl2-lower { grid-template-columns: 1fr; } .admin-body .ctl2 .ctl2-bar { grid-template-columns: auto 1fr; } .admin-body .ctl2-out { grid-template-columns: 1fr; } }

/* ===== Qrafika masası v384: PVW | TAKE | PGM, layers, live style gallery ===== */
.admin-body .tvx-screen .tvp-gfx, .admin-body .gd-mini .tvp-gfx { --u: 1cqi; }
.admin-body .tvx-screen .tvp-gfx-ticker, .admin-body .tvx-screen .tvp-gfx-breaking, .admin-body .gd-mini .tvp-gfx-ticker, .admin-body .gd-mini .tvp-gfx-breaking { min-height: 0; }
.admin-body .gd { display: grid; gap: 18px; }
.admin-body .gd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.admin-body .gd-head h3 { margin: 0 0 4px; font-size: 20px; }
.admin-body .gd-head small { color: var(--x-soft); font-size: 13px; } .admin-body .gd-head small b { color: #3ddc97; }
.admin-body .gd-mons { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 14px; align-items: center; }
.admin-body .gd-mon { display: grid; gap: 8px; margin: 0; }
.admin-body .gd-mon figcaption { display: flex; align-items: center; gap: 10px; color: var(--x-soft); font-size: 12px; }
.admin-body .gd-tally { padding: 3px 9px; border-radius: 6px; font: 800 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; color: #fff; }
.admin-body .gd-tally.is-pvw { background: #17a85a; } .admin-body .gd-tally.is-pgm { background: #e50914; }
.admin-body .gd-screen { border-radius: 12px; container-type: inline-size; background: radial-gradient(120% 90% at 30% 20%, #2a3040, #0d1016 70%); }
.admin-body .gd-screen.is-pvw { box-shadow: inset 0 0 0 2px rgba(23,212,107,.6); }
.admin-body .gd-screen.is-pgm { box-shadow: inset 0 0 0 2px rgba(229,9,20,.75); }
.admin-body .gd-screen .tvp-gfx { position: absolute; inset: 0; }
.admin-body .gd-screen.is-safe::before, .admin-body .gd-screen.is-safe::after { content: ""; position: absolute; z-index: 6; border: 1px dashed rgba(255,255,255,.35); pointer-events: none; }
.admin-body .gd-screen.is-safe::before { inset: 3.5%; } .admin-body .gd-screen.is-safe::after { inset: 5%; border-color: rgba(255,214,0,.4); }
.admin-body .gd-act { display: grid; gap: 10px; }
.admin-body .gd-act .tvx-btn { display: flex; justify-content: center; gap: 8px; width: 100%; }
.admin-body .gd-act .tvx-btn.big { min-height: 64px; font-size: 17px; letter-spacing: .04em; }
.admin-body .gd-layers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.admin-body .gd-layer { position: relative; display: flex; min-width: 0; border: 1px solid var(--x-line); border-radius: 12px; background: var(--x-surface); transition: border-color .15s, background .15s; }
.admin-body .gd-layer.is-sel { border-color: #fff; background: var(--x-surface-2); }
.admin-body .gd-layer.is-on { border-color: rgba(229,9,20,.55); }
.admin-body .gd-layer.is-on.is-sel { border-color: #ff4d4f; }
.admin-body .gd-layer-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 10px 12px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.admin-body .gd-layer-main i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #4b5563; }
.admin-body .gd-layer.is-on .gd-layer-main i { background: #ff2b2b; box-shadow: 0 0 8px #ff2b2b; }
.admin-body .gd-layer-main span { display: grid; min-width: 0; }
.admin-body .gd-layer-main b { font-size: 13.5px; }
.admin-body .gd-layer-main small { overflow: hidden; color: var(--x-soft); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .gd-layer-main em { margin-left: auto; color: #ffc53d; font: 700 12px ui-monospace, monospace; font-style: normal; }
.admin-body .gd-layer-off { flex: none; width: 34px; border: 0; border-left: 1px solid var(--x-line); background: none; color: #fca5a5; font-size: 18px; cursor: pointer; }
.admin-body .gd-layer-off:hover { background: rgba(229,9,20,.18); }
.admin-body .gd-work { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 22px; align-items: start; padding: 18px; border: 1px solid var(--x-line); border-radius: 16px; background: rgba(0,0,0,.18); }
.admin-body .gd-work.is-single { grid-template-columns: minmax(0, 640px); }
.admin-body .gd-work h4 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-size: 15px; }
.admin-body .gd-work h4 small { color: var(--x-soft); font-size: 12px; font-weight: 500; }
.admin-body .gd-fields { display: grid; gap: 14px; align-content: start; }
.admin-body .gd-fields h4 { margin: 0; }
.admin-body .gd-style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; max-height: 470px; overflow: auto; padding: 2px; }
.admin-body .gd-style { display: grid !important; gap: 6px; margin: 0; cursor: pointer; }
.admin-body .gd-style input { position: absolute; opacity: 0; pointer-events: none; }
.admin-body .gd-style > span { color: var(--x-soft); font-size: 12px; font-weight: 600; }
.admin-body .gd-style .gd-mini { outline: 1px solid var(--x-line); transition: outline-color .15s; }
.admin-body .gd-style:hover .gd-mini { outline-color: var(--x-line-2); }
.admin-body .gd-style input:checked ~ .gd-mini { outline: 2px solid #17d46b; }
.admin-body .gd-style input:checked ~ span { color: #fff; }
.admin-body .gd-style input:focus-visible ~ .gd-mini { outline: 2px solid #fff; }
.admin-body .gd-mini { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; container-type: inline-size; background: radial-gradient(120% 100% at 25% 15%, #343b4f, #0d1016 75%); }
.admin-body .gd-mini .tvp-gfx { position: absolute; inset: 0; }
.admin-body .gd-mini * { animation: none !important; }
.admin-body .gd-tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.admin-body .gd-tpl { display: grid; gap: 6px; padding: 0; border: 0; background: none; color: var(--x-soft); font: 600 12px/1.3 inherit; text-align: left; cursor: pointer; }
.admin-body .gd-tpl[hidden] { display: none; }
.admin-body .gd-tpl:hover .gd-mini { outline: 1px solid var(--x-line-2); }
.admin-body .gd-tpl.is-saved { padding: 8px; border: 1px solid var(--x-line); border-radius: 12px; background: var(--x-surface); cursor: default; }
.admin-body .gd-tpl-art { position: relative; padding: 0; border: 0; background: none; cursor: pointer; }
.admin-body .gd-tpl-art kbd { position: absolute; top: 6px; left: 6px; z-index: 5; }
.admin-body .gd-tpl footer { display: flex; align-items: center; gap: 6px; }
.admin-body .gd-tpl footer span { flex: 1; min-width: 0; overflow: hidden; color: var(--x-ink); white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 1300px) { .admin-body .gd-layers { grid-template-columns: repeat(3, minmax(0, 1fr)); } .admin-body .gd-work { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .admin-body .gd-mons { grid-template-columns: 1fr; } .admin-body .gd-act { grid-template-columns: 2fr 1fr 1fr; } .admin-body .gd-layers { grid-template-columns: 1fr 1fr; } }

/* ===== Studiya v384: one screen — status strip + Efir / Kameralar / Qrafika / Ssenari ===== */
.admin-body .st2-strip { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--x-line); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); }
.admin-body .st2-now { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 260px; }
.admin-body .st2-now > div { display: grid; min-width: 0; }
.admin-body .st2-now small { color: var(--x-soft); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-body .st2-now b { overflow: hidden; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .st2-now em { margin-left: auto; color: #ffc53d; font: 700 15px ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; }
.admin-body .st2-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-body .st2-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border: 1px solid var(--x-line); border-radius: 999px; background: rgba(0,0,0,.25); color: var(--x-soft); font: 700 12px/1 inherit; letter-spacing: .03em; cursor: pointer; }
.admin-body .st2-pill i { width: 8px; height: 8px; border-radius: 50%; background: #4b5563; }
.admin-body .st2-pill.is-on { color: #fff; border-color: rgba(23,212,107,.45); } .admin-body .st2-pill.is-on i { background: #17d46b; box-shadow: 0 0 8px #17d46b; }
.admin-body .st2-pill.is-live, .admin-body .st2-pill.is-rec { color: #fff; border-color: #e50914; background: rgba(229,9,20,.22); }
.admin-body .st2-pill.is-live i, .admin-body .st2-pill.is-rec i { background: #ff2b2b; box-shadow: 0 0 8px #ff2b2b; animation: tvp-gfx-blink 1.2s steps(2) infinite; }
.admin-body .st2-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 5px; border: 1px solid var(--x-line); border-radius: 16px; background: rgba(0,0,0,.28); }
.admin-body .st2-tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border: 0; border-radius: 12px; background: transparent; color: var(--x-soft); font: 700 15px/1 inherit; cursor: pointer; transition: background .15s, color .15s; }
.admin-body .st2-tabs button svg { width: 18px; height: 18px; }
.admin-body .st2-tabs button:hover { color: #fff; background: var(--x-surface-2); }
.admin-body .st2-tabs button.active { background: #fff; color: #0b0d12; }
.admin-body .st2-tabs button > i { display: none; width: 8px; height: 8px; border-radius: 50%; }
.admin-body .st2-tabs button.is-live > i { display: block; background: #ff2b2b; box-shadow: 0 0 8px #ff2b2b; }
.admin-body .st2-tabs button.is-on > i, .admin-body .st2-tabs button.is-ok > i { display: block; background: #17d46b; }
.admin-body .st2 .ctl2 { display: grid; gap: 16px; }
.admin-body .st2-subtabs { display: inline-flex; gap: 6px; width: max-content; max-width: 100%; margin-bottom: 18px; padding: 5px; border: 1px solid var(--x-line); border-radius: 14px; background: rgba(0,0,0,.25); overflow-x: auto; }
.admin-body .st2-subtabs button { height: 40px; padding: 0 18px; border: 0; border-radius: 10px; background: transparent; color: var(--x-soft); font: 600 14px/1 inherit; white-space: nowrap; cursor: pointer; }
.admin-body .st2-subtabs button.active { background: #fff; color: #0b0d12; }
@media (max-width: 760px) { .admin-body .st2-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Style and template cards: the frame's lower-left part at 1.5×, where these graphics live */
.admin-body .gd-style .gd-mini .tvp-gfx, .admin-body .gd-tpl .gd-mini .tvp-gfx { inset: auto auto 0 0; width: 150%; height: 150%; }
.admin-body .gd-style-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.admin-body .gd-tpl-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* Top bar TV button: red "TV" badge + "CANLI" (v385) */
.tv-live, .web-header nav .tv-live, .web-header-inner > .tv-live { width: auto; min-width: 0; gap: 9px; padding: 6px 14px 6px 6px; }
.tv-live b { display: inline-flex; align-items: center; gap: 7px; color: var(--red); font-size: 14px; font-weight: 950; letter-spacing: .06em; }
.tv-live b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(227, 6, 19, .18); animation: tv-live-dot 1.4s ease-in-out infinite; }
@keyframes tv-live-dot { 50% { opacity: .35; } }
@media (max-width: 760px) { .tv-live, .web-header nav .tv-live, .web-header-inner > .tv-live { gap: 7px; padding: 4px 10px 4px 4px; } .tv-live b { font-size: 12px; gap: 5px; } }
@media (prefers-reduced-motion: reduce) { .tv-live b::before { animation: none; } }

/* Header v386: the menu sits right after the logo and always fits next to "TV • CANLI" */
@media (min-width: 1000px) {
  .web-header-inner { grid-template-columns: auto minmax(0, 1fr) auto 40px; column-gap: clamp(14px, 1.6vw, 30px); }
  .web-header nav { gap: clamp(10px, 1.15vw, 26px); }
  .web-header nav a { font-size: clamp(12.5px, 1.04vw, 15px); }
}

/* TV channel plan (VPS 24/7): beside the player on wide screens, folded under it on phones */
.tvp-plan { margin-top: 6px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 10px; }
.tvp-plan summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; user-select: none; }
.tvp-plan summary::-webkit-details-marker { display: none; }
.tvp-plan summary small { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.1); color: #cbd5e1; font-size: 11px; font-weight: 800; letter-spacing: 0; }
.tvp-plan summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #cbd5e1; border-bottom: 2px solid #cbd5e1; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.tvp-plan[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.tvp-epg.is-plan { margin-top: 10px; gap: 2px; }
.tvp-epg.is-plan li { align-items: center; padding: 7px 8px; border-radius: 8px; }
.tvp-epg.is-plan li.is-now { background: rgba(239,68,68,.16); }
.tvp-epg.is-plan li.is-slate { color: rgba(255,255,255,.5); }
.tvp-epg.is-plan time { flex: 0 0 auto; min-width: 42px; }
.tvp-epg.is-plan span { flex: 1 1 auto; min-width: 0; }
.tvp-epg.is-plan em { flex: 0 0 auto; color: #fca5a5; font-size: 11px; font-style: normal; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
/* The plan never stretches the stage: beside the player it scrolls inside the player's height; under it, it scrolls after ~8 rows */
@media (min-width: 1101px) { .tvp:not(.is-mobile) .tvp-stage > .tvp-now { contain: size; } }
.tvp-epg.is-plan { max-height: 340px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (min-width: 1101px) { .tvp:not(.is-mobile) .tvp-epg.is-plan { max-height: none; overflow: visible; } }
/* Stacked (phones, narrow screens): the info and the plan are their own card under the player, not joined to it */
@media (max-width: 1100px) {
  .tvp-stage { gap: 12px; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
  .tvp-stage > .tvp-player { overflow: hidden; border-radius: 18px; box-shadow: 0 24px 50px -28px rgba(2, 6, 23, .7); }
  .tvp-stage > .tvp-now { border-radius: 18px; background: radial-gradient(120% 120% at 0% 0%, #1e1b4b 0%, #0b1020 55%, #05070d 100%); box-shadow: 0 24px 50px -28px rgba(2, 6, 23, .7); }
  .tvp.is-live .tvp-stage { box-shadow: none; }
  .tvp.is-live .tvp-stage > .tvp-player { box-shadow: 0 0 0 2px rgba(220,38,38,.55), 0 20px 50px rgba(220,38,38,.18); }
}
.tvp.is-mobile .tvp-stage { gap: 12px; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.tvp.is-mobile .tvp-stage > .tvp-player { overflow: hidden; border-radius: 0 0 18px 18px; }
.tvp.is-mobile .tvp-stage > .tvp-now { border-radius: 18px; background: radial-gradient(120% 120% at 0% 0%, #1e1b4b 0%, #0b1020 55%, #05070d 100%); }
/* Cut picker: media library (TV server) and YouTube tabs */
.admin-body .tvx-pick-tabs { justify-self: start; display: inline-flex; gap: 4px; align-self: flex-start; padding: 4px; border-radius: 12px; background: var(--x-surface-2); }
.admin-body .tvx-pick-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--x-mute); font-weight: 800; cursor: pointer; }
.admin-body .tvx-pick-tabs button.is-on { background: var(--x-hover); color: var(--x-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.admin-body .tvx-pick-tabs small { padding: 1px 7px; border-radius: 999px; background: rgba(148, 163, 184, .18); font-size: 11px; }
.admin-body .tvx-pick .tvx-pick-ph { display: grid; place-items: center; width: 112px; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--x-surface-2); color: var(--x-mute); font-style: normal; }
/* Clip upload: a file card, the title and the button on one row, the note underneath */
.admin-body .tvx-clip-upload { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: stretch; gap: 10px; margin-top: 4px; padding: 14px; border: 1px dashed var(--x-line-2); border-radius: 16px; background: var(--x-surface); }
.admin-body .tvx-file { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border: 1px solid var(--x-line-2); border-radius: 12px; background: var(--x-surface-2); cursor: pointer; transition: border-color .15s, background .15s; }
.admin-body .tvx-file:hover, .admin-body .tvx-file:focus-within { border-color: rgba(255, 138, 147, .55); background: var(--x-hover); }
.admin-body .tvx-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.admin-body .tvx-file i { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(227, 6, 19, .16); color: #ff8a93; font-style: normal; font-weight: 900; }
.admin-body .tvx-file span { display: grid; gap: 2px; min-width: 0; }
.admin-body .tvx-file b { overflow: hidden; color: var(--x-ink); font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .tvx-file small { color: var(--x-mute); font-size: 12px; }
.admin-body .tvx-file.has-file { border-color: rgba(34, 197, 94, .5); }
.admin-body .tvx-file.has-file i { background: rgba(34, 197, 94, .16); color: #4ade80; }
.admin-body .tvx-clip-upload > input[name="title"] { min-width: 0; padding: 0 14px; border: 1px solid var(--x-line-2); border-radius: 12px; background: var(--x-surface-2); color: var(--x-ink); font: inherit; font-size: 14px; }
.admin-body .tvx-clip-upload > input[name="title"]:focus { outline: none; border-color: rgba(255, 138, 147, .55); }
.admin-body .tvx-clip-upload > .tvx-btn { align-self: stretch; padding-inline: 22px; }
.admin-body .tvx-clip-hint { position: relative; grid-column: 1 / -1; margin: 2px 0 0; padding-left: 26px; color: var(--x-soft); font-size: 12.5px; line-height: 1.55; }
.admin-body .tvx-clip-hint::before { content: "i"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--x-surface-2); color: var(--x-mute); font-size: 11px; font-weight: 900; font-style: italic; }
.admin-body .tvx-clip-hint b { color: var(--x-ink); }
@media (max-width: 700px) { .admin-body .tvx-clip-upload { grid-template-columns: 1fr; } .admin-body .tvx-clip-upload > input[name="title"] { min-height: 44px; } }
/* ===================== Canlı yayım studiyası — broadcast control room ===================== */
.admin-body .ls { --ls-red: #ff2d3d; --ls-red-2: #e30613; --ls-ok: #22c55e; --ls-warn: #f59e0b; }
.admin-body .ls-head { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 22px; padding: 18px 22px; border: 1px solid var(--x-line-2); border-radius: 22px; background: radial-gradient(140% 180% at 0% 0%, rgba(255,255,255,.06), transparent 55%), var(--x-raise); overflow: hidden; }
.admin-body .ls-head::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); }
.admin-body .ls-head.is-air { border-color: rgba(255, 45, 61, .55); background: radial-gradient(120% 200% at 0% 0%, rgba(255, 45, 61, .22), transparent 55%), var(--x-raise); box-shadow: 0 0 0 1px rgba(255, 45, 61, .18), 0 30px 70px -40px rgba(255, 45, 61, .75); }
.admin-body .ls-head.is-air::after { background: linear-gradient(90deg, transparent, var(--ls-red), transparent); animation: lsSweep 2.6s ease-in-out infinite; }
@keyframes lsSweep { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.admin-body .ls-tally { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 10px; row-gap: 2px; min-width: 150px; padding: 12px 16px; border: 1px solid var(--x-line-2); border-radius: 16px; background: rgba(0,0,0,.35); }
.admin-body .ls-tally i { grid-row: span 2; width: 14px; height: 14px; border-radius: 50%; background: #475569; box-shadow: 0 0 0 4px rgba(71, 85, 105, .25); }
.admin-body .ls-tally b { color: var(--x-soft); font-size: 15px; font-weight: 950; letter-spacing: .14em; }
.admin-body .ls-tally small, .admin-body .ls-tally time { color: var(--x-mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.admin-body .ls-head.is-air .ls-tally { border-color: rgba(255, 45, 61, .6); background: linear-gradient(180deg, rgba(255, 45, 61, .28), rgba(255, 45, 61, .12)); }
.admin-body .ls-head.is-air .ls-tally i { background: var(--ls-red); box-shadow: 0 0 0 4px rgba(255, 45, 61, .25), 0 0 18px var(--ls-red); animation: lsPulse 1.3s ease-in-out infinite; }
.admin-body .ls-head.is-air .ls-tally b { color: #fff; }
.admin-body .ls-head.is-air .ls-tally time { color: #ffd5d8; font-size: 16px; font-weight: 900; }
@keyframes lsPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.82); opacity: .7; } }
.admin-body .ls-title { min-width: 0; }
.admin-body .ls-title small { color: var(--x-mute); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-body .ls-title h2 { margin: 2px 0 0; overflow: hidden; color: var(--x-ink); font-size: 24px; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .ls-title p { margin: 4px 0 0; color: var(--x-soft); font-size: 13px; }
.admin-body .ls-title p b { color: #fff; }
.admin-body .ls-plats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 420px; }
.admin-body .ls-plat { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid var(--x-line-2); border-radius: 999px; background: var(--x-surface-2); color: var(--x-soft); font-size: 12.5px; font-weight: 800; }
.admin-body .ls-plat i { width: 7px; height: 7px; border-radius: 50%; background: #64748b; }
.admin-body .ls-plat.is-ok { border-color: rgba(34, 197, 94, .45); color: #d1fadf; }
.admin-body .ls-plat.is-ok i { background: var(--ls-ok); box-shadow: 0 0 10px var(--ls-ok); }
.admin-body .ls-plat.is-wait i { background: var(--ls-warn); animation: lsPulse 1s ease-in-out infinite; }
.admin-body .ls-plat.is-bad { border-color: rgba(255, 45, 61, .5); color: #ffd5d8; }
.admin-body .ls-plat.is-bad i { background: var(--ls-red); }
.admin-body .ls-end { padding: 13px 20px; border: 1px solid rgba(255, 45, 61, .6); border-radius: 14px; background: rgba(255, 45, 61, .12); color: #ffd5d8; font: inherit; font-weight: 900; letter-spacing: .04em; cursor: pointer; transition: background .15s, transform .15s; }
.admin-body .ls-end:hover { background: rgba(255, 45, 61, .24); transform: translateY(-1px); }
.admin-body .ls-end:disabled { opacity: .5; cursor: wait; }
.admin-body .ls-stats { grid-column: 3 / -1; display: flex; gap: 10px; }
.admin-body .ls-stats span { display: grid; min-width: 118px; padding: 10px 14px; border: 1px solid var(--x-line); border-radius: 14px; background: var(--x-surface); color: var(--x-mute); font-size: 13px; }
.admin-body .ls-stats b { color: var(--x-ink); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.admin-body .ls-stats small { font-size: 11.5px; }

.admin-body .ls-setup { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; margin-top: 14px; }
.admin-body .ls-setup-main { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--x-line-2); border-radius: 20px; background: var(--x-raise); }
.admin-body .ls-field { display: grid; gap: 8px; }
.admin-body .ls-field span, .admin-body .ls-setup legend { color: var(--x-mute); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-body .ls-field input { height: 52px; padding: 0 16px; border: 1px solid var(--x-line-2); border-radius: 14px; background: rgba(0,0,0,.3); color: var(--x-ink); font: inherit; font-size: 18px; font-weight: 700; }
.admin-body .ls-field input:focus { outline: none; border-color: rgba(255, 45, 61, .6); box-shadow: 0 0 0 4px rgba(255, 45, 61, .12); }
.admin-body .ls-setup fieldset { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.admin-body .ls-source { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-body .ls-source legend { grid-column: 1 / -1; margin-bottom: 8px; }
.admin-body .ls-source label { position: relative; cursor: pointer; }
.admin-body .ls-source input { position: absolute; opacity: 0; pointer-events: none; }
.admin-body .ls-source span { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; height: 100%; padding: 14px; border: 1px solid var(--x-line-2); border-radius: 16px; background: var(--x-surface); transition: border-color .15s, background .15s, box-shadow .15s; }
.admin-body .ls-source span i { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--x-surface-2); font-size: 20px; font-style: normal; }
.admin-body .ls-source span b { color: var(--x-ink); font-size: 15px; }
.admin-body .ls-source span small { color: var(--x-mute); font-size: 12.5px; line-height: 1.4; }
.admin-body .ls-source label:hover span { background: var(--x-hover); }
.admin-body .ls-source input:checked + span { border-color: rgba(255, 45, 61, .65); background: linear-gradient(180deg, rgba(255, 45, 61, .14), rgba(255, 45, 61, .04)); box-shadow: inset 0 0 0 1px rgba(255, 45, 61, .35); }
.admin-body .ls-source input:checked + span i { background: rgba(255, 45, 61, .2); }
.admin-body .ls-source input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 45, 61, .35); }
.admin-body .ls-targets { display: flex !important; flex-wrap: wrap; }
.admin-body .ls-targets legend { width: 100%; margin-bottom: 8px; }
.admin-body .ls-targets label { cursor: pointer; }
.admin-body .ls-targets input { position: absolute; opacity: 0; pointer-events: none; }
.admin-body .ls-targets span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--x-line-2); border-radius: 999px; background: var(--x-surface); color: var(--x-soft); font-weight: 800; transition: all .15s; }
.admin-body .ls-targets span::before { content: ""; width: 16px; height: 16px; border: 1.5px solid var(--x-line-2); border-radius: 5px; transition: all .15s; }
.admin-body .ls-targets input:checked + span { border-color: rgba(34, 197, 94, .5); background: rgba(34, 197, 94, .1); color: #fff; }
.admin-body .ls-targets input:checked + span::before { border-color: var(--ls-ok); background: var(--ls-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.admin-body .ls-check { display: grid; align-content: start; gap: 14px; padding: 20px; border: 1px solid var(--x-line-2); border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.04), transparent), var(--x-raise); }
.admin-body .ls-check h3 { margin: 0; color: var(--x-ink); font-size: 15px; }
.admin-body .ls-check ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.admin-body .ls-check li { display: flex; align-items: center; gap: 10px; color: var(--x-soft); font-size: 13.5px; }
.admin-body .ls-check li i { flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 900; }
.admin-body .ls-check li.is-ok i { background: rgba(34, 197, 94, .18); color: var(--ls-ok); }
.admin-body .ls-check li.is-ok i::before { content: "✓"; }
.admin-body .ls-check li.is-warn i { background: rgba(245, 158, 11, .18); color: var(--ls-warn); }
.admin-body .ls-check li.is-warn i::before { content: "!"; }
.admin-body .ls-check li.is-bad i { background: rgba(255, 45, 61, .2); color: var(--ls-red); }
.admin-body .ls-check li.is-bad i::before { content: "×"; }
.admin-body .ls-go { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 62px; border: 0; border-radius: 16px; background: linear-gradient(180deg, var(--ls-red), var(--ls-red-2)); color: #fff; font: inherit; font-size: 18px; font-weight: 950; letter-spacing: .12em; cursor: pointer; box-shadow: 0 18px 40px -18px rgba(255, 45, 61, .9), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .15s, box-shadow .15s, filter .15s; }
.admin-body .ls-go i { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); animation: lsPulse 1.3s ease-in-out infinite; }
.admin-body .ls-go:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 24px 50px -18px rgba(255, 45, 61, 1), inset 0 1px 0 rgba(255,255,255,.25); }
.admin-body .ls-go:active { transform: translateY(0); }
.admin-body .ls-go:disabled { filter: grayscale(.8); opacity: .55; cursor: not-allowed; transform: none; }
.admin-body .ls-check p { margin: 0; color: var(--x-mute); font-size: 12.5px; line-height: 1.5; }
.admin-body .ls-tabs { margin-top: 16px; }
.admin-body .ls-note { margin: 12px 0 0; padding: 11px 14px; border: 1px solid rgba(245, 158, 11, .35); border-radius: 12px; background: rgba(245, 158, 11, .1); color: #fde6b3; font-size: 13px; }
@media (max-width: 1200px) {
  .admin-body .ls-head { grid-template-columns: auto minmax(0, 1fr); }
  .admin-body .ls-plats, .admin-body .ls-stats { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
  .admin-body .ls-end { grid-column: 1 / -1; }
  .admin-body .ls-setup { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .admin-body .ls-source { grid-template-columns: 1fr; } .admin-body .ls-title h2 { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .admin-body .ls-head.is-air::after, .admin-body .ls-tally i, .admin-body .ls-plat i, .admin-body .ls-go i { animation: none !important; } }
/* TV page: no date/currency bar and no "Ən son" news ticker above the channel */
.is-tv-page .topbar, .is-tv-page .breaking-news-web { display: none !important; }
.admin-body .ctl2 .ctl2-afl, .admin-body .ctl2 .ctl2-slot { display: flex !important; flex-direction: row !important; align-items: center !important; margin: 0; }
.admin-body .ctl2 .ctl2-afl input { margin: 0; flex: none; }
.admin-body .ctl2 .ctl2-slot select { width: auto; margin: 0; }

/* Sound and light check ("Səs və işıq") */
.admin-body .tech { display: grid; gap: 16px; --t-ok: #22c55e; --t-warn: #f59e0b; --t-bad: #ef4444; --t-idle: #64748b; }
.admin-body .tech-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px) auto; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid var(--x-line, rgba(255,255,255,.08)); border-radius: 18px; background: linear-gradient(135deg, rgba(34,197,94,.06), rgba(59,130,246,.05)), #10131b; }
.admin-body .tech-head h3 { margin: 0 0 4px; font-size: 18px; }
.admin-body .tech-head p { margin: 0; color: var(--x-mute, #8b93a7); font-size: 13px; line-height: 1.5; }
.admin-body .tech-sum { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.admin-body .tech-sum b { display: block; font-size: 15px; }
.admin-body .tech-sum small { display: block; margin-top: 2px; color: var(--x-mute, #8b93a7); font-size: 12px; line-height: 1.4; }
.admin-body .tech-sum.is-ok { border-color: rgba(34,197,94,.35); } .admin-body .tech-sum.is-warn { border-color: rgba(245,158,11,.45); } .admin-body .tech-sum.is-bad { border-color: rgba(239,68,68,.5); }
.admin-body .tech .tech-toggle { display: grid !important; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; margin: 0; cursor: pointer; }
.admin-body .tech-toggle input { grid-row: span 2; width: 18px; height: 18px; accent-color: #3b82f6; margin: 0; }
.admin-body .tech-toggle span { font-weight: 700; font-size: 13px; } .admin-body .tech-toggle small { color: var(--x-mute, #8b93a7); font-size: 11.5px; }
.admin-body .tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 860px), 1fr)); gap: 16px; }
.admin-body .tech-card { display: grid; gap: 12px; align-content: start; padding: 16px; border: 1px solid var(--x-line, rgba(255,255,255,.08)); border-radius: 18px; background: #10131b; }
.admin-body .tech-card.is-down { opacity: .6; }
.admin-body .tech-card > header { display: flex; align-items: center; gap: 10px; }
.admin-body .tech-card > header b { font-size: 15px; } .admin-body .tech-card > header small { color: var(--x-mute, #8b93a7); font-size: 12px; }
.admin-body .tech-badge { display: flex; gap: 6px; margin-left: auto; }
.admin-body .tech-badge span, .admin-body .ctl2-tech span { padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.admin-body .tech-badge .is-ok, .admin-body .ctl2-tech .is-ok { background: rgba(34,197,94,.18); color: #86efac; }
.admin-body .tech-badge .is-warn, .admin-body .ctl2-tech .is-warn { background: rgba(245,158,11,.2); color: #fcd34d; }
.admin-body .tech-badge .is-bad, .admin-body .ctl2-tech .is-bad { background: rgba(239,68,68,.22); color: #fca5a5; }
.admin-body .ctl2-tech { position: absolute; top: 6px; left: 50%; z-index: 2; display: flex; gap: 4px; transform: translateX(-50%); pointer-events: none; }
.admin-body .ctl2-tech span { padding: 1px 6px; background: rgba(0,0,0,.65); font-size: 10.5px; }
.admin-body .tech-body { display: grid; grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.admin-body .tech-view { position: relative; display: grid; gap: 6px; }
.admin-body .tech-view .ctl2-screen { border-radius: 10px; }
.admin-body .tech-view.is-audio { place-items: center; aspect-ratio: 16 / 9; padding: 12px; border-radius: 10px; background: #0b0e15; text-align: center; color: var(--x-mute, #8b93a7); font-size: 12px; }
.admin-body .tech-view.is-audio span { font-size: 30px; }
.admin-body .tech-map { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; pointer-events: none; mix-blend-mode: normal; }
.admin-body .tech-hist { width: 100%; height: 40px; border-radius: 6px; background: rgba(255,255,255,.03); }
.admin-body .tech-sec { display: grid; gap: 8px; align-content: start; min-width: 0; }
.admin-body .tech-sec h4 { margin: 0; color: var(--x-mute, #8b93a7); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.admin-body .tech-verdict { display: flex; align-items: center; gap: 10px; }
.admin-body .tech-verdict b { display: block; font-size: 13.5px; line-height: 1.3; } .admin-body .tech-verdict small { color: var(--x-mute, #8b93a7); font-size: 11.5px; }
.admin-body .tech-ring { --c: var(--t-idle); flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(closest-side, #10131b 78%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--s) * 1%), rgba(255,255,255,.08) 0); }
.admin-body .tech-ring b { font-size: 14px !important; font-variant-numeric: tabular-nums; }
.admin-body .tech-ring.is-ok { --c: var(--t-ok); } .admin-body .tech-ring.is-warn { --c: var(--t-warn); } .admin-body .tech-ring.is-bad { --c: var(--t-bad); }
.admin-body .tech-bar { display: grid; grid-template-columns: 74px minmax(0, 1fr) 40px; align-items: center; gap: 8px; font-size: 11.5px; color: var(--x-mute, #8b93a7); }
.admin-body .tech-bar i { height: 6px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.admin-body .tech-bar em { display: block; height: 100%; border-radius: inherit; background: var(--t-ok); }
.admin-body .tech-bar.is-low em { background: #3b82f6; } .admin-body .tech-bar.is-high em { background: var(--t-bad); }
.admin-body .tech-bar b { color: #e5e7eb; text-align: right; font-variant-numeric: tabular-nums; }
.admin-body .tech-tone { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--x-mute, #8b93a7); font-size: 11.5px; }
.admin-body .tech-tone i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(255,255,255,.2); }
.admin-body .tech-tone b { color: #e5e7eb; }
.admin-body .tech-tips { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.admin-body .tech-tips li { position: relative; padding: 7px 9px 7px 24px; border-radius: 9px; background: rgba(255,255,255,.04); font-size: 12px; line-height: 1.45; }
.admin-body .tech-tips li::before { content: "→"; position: absolute; left: 9px; top: 7px; color: #f59e0b; }
.admin-body .tech-vu { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #16a34a 0 66%, #eab308 66% 86%, #ef4444 86%); overflow: hidden; }
.admin-body .tech-vu i { position: absolute; inset: 0 0 0 auto; width: calc((1 - var(--v, 0)) * 100%); background: #1a1f2b; transition: width .06s linear; }
.admin-body .tech-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.admin-body .tech-nums span { display: grid; padding: 6px; border-radius: 9px; background: rgba(255,255,255,.04); text-align: center; }
.admin-body .tech-nums b { font-size: 15px; font-variant-numeric: tabular-nums; } .admin-body .tech-nums small { color: var(--x-mute, #8b93a7); font-size: 10.5px; }
.admin-body .tech-nums .is-bad b { color: #fca5a5; }
.admin-body .tech-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .tech-acts button, .admin-body .tech-apply { padding: 7px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #171c27; color: #e5e7eb; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.admin-body .tech-acts button:hover, .admin-body .tech-apply:hover { border-color: rgba(255,255,255,.3); }
.admin-body .tech-acts button.is-on { border-color: #3b82f6; background: rgba(59,130,246,.18); }
.admin-body .tech-acts button:disabled { opacity: .45; cursor: not-allowed; }
.admin-body .tech-apply { justify-self: start; border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.14); color: #bbf7d0; }
.admin-body .tech-test { display: grid; gap: 6px; padding: 14px; border-radius: 12px; text-align: center; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.35); }
.admin-body .tech-test.is-talk { background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.4); }
.admin-body .tech-test b { font-size: 16px; } .admin-body .tech-test p { margin: 0; font-size: 12.5px; color: #cbd5e1; }
.admin-body .tech-test i { height: 5px; border-radius: 999px; background: linear-gradient(90deg, #22c55e var(--p), rgba(255,255,255,.1) var(--p)); }
.admin-body .tech-test small { color: var(--x-mute, #8b93a7); font-variant-numeric: tabular-nums; }
.admin-body .tech-wait { margin: 0; color: var(--x-mute, #8b93a7); font-size: 12.5px; }
.admin-body .ls-techlink { width: 100%; margin: 4px 0 10px; padding: 9px 12px; border: 1px dashed rgba(255,255,255,.2); border-radius: 12px; background: transparent; color: #e5e7eb; font-weight: 700; font-size: 13px; cursor: pointer; }
.admin-body .ls-techlink:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
@media (max-width: 1300px) { .admin-body .tech-body { grid-template-columns: 200px minmax(0, 1fr); } .admin-body .tech-body > .tech-sec:last-child { grid-column: 1 / -1; } .admin-body .tech-head { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .admin-body .tech-grid { grid-template-columns: minmax(0, 1fr); } .admin-body .tech-body { grid-template-columns: minmax(0, 1fr); } }

/* Sujet: prepared off air, taken to air in one step */
.admin-body .ctl2-sujet.is-empty > header { margin: 0; }
.admin-body .ctl2-sujet.is-empty > header .ctl2-btn { margin-left: auto; }
.admin-body .ctl2-sujet.is-cued { border-color: rgba(59,130,246,.45); background: linear-gradient(180deg, rgba(59,130,246,.07), transparent 140px), var(--c-panel); }
.admin-body .ctl2-sujet.is-air { border-color: rgba(239,68,68,.6); background: linear-gradient(90deg, rgba(239,68,68,.14), transparent 70%), var(--c-panel); }
.admin-body .sj-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #ef4444; color: #fff; font: 800 11px/1 var(--c-mono); letter-spacing: .08em; }
.admin-body .sj-tag i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: sj-blink 1s infinite; }
.admin-body .sj-tag.is-cue { background: rgba(59,130,246,.2); color: #93c5fd; } .admin-body .sj-tag.is-cue i { background: #60a5fa; animation: none; }
@keyframes sj-blink { 50% { opacity: .25; } }
.admin-body .sj-grid { display: grid; grid-template-columns: minmax(280px, 440px) minmax(0, 1fr); gap: 16px; align-items: start; }
.admin-body .sj-pv { display: grid; gap: 6px; }
.admin-body .sj-pv .ctl2-screen { box-shadow: inset 0 0 0 2px rgba(59,130,246,.7); }
.admin-body .ctl2-comp-box.is-sujet { background: #000; }
.admin-body .ctl2-comp-box.is-sujet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.admin-body .ctl2-comp-box.is-sujet em { background: rgba(37,99,235,.85); }
.admin-body .ctl2-comp-box.is-sujet video.sj-pv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; background: #000; }
.admin-body .ctl2-comp-box.is-sujet em, .admin-body .ctl2-comp-box.is-sujet .dsk-hint { z-index: 2; }
.admin-body .ctl2-comp-box.is-sujet .sj-pvbar { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(15,23,42,.82); color: #fff; font: 700 11px/1 var(--c-mono); opacity: .7; transition: opacity .15s; }
.admin-body .ctl2-comp-box.is-sujet:hover .sj-pvbar, .admin-body .ctl2-comp-box.is-sujet .sj-pvbar:focus-within { opacity: 1; }
.admin-body .dsk-pgm .sj-prog { position: relative; display: block; left: auto; right: auto; bottom: auto; margin: 8px 0 2px; }
.admin-body .sj-pvbar button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #2563eb; color: #fff; font-size: 12px; cursor: pointer; }
.admin-body .sj-pvbar input { width: 90px; accent-color: #60a5fa; cursor: pointer; }
.admin-body .sj-pvbar output { min-width: 32px; text-align: right; }
.admin-body .ctl2-comp-box.is-sujet em { bottom: auto; top: 5px; }
.admin-body .dsk-pgm .ctl2-mon-head small { color: #fbbf24; font-size: 11px; margin-left: auto; }
.admin-body .sj-edit { display: grid; gap: 12px; min-width: 0; }
.admin-body .sj-clip { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; background: #121722; border: 1px solid var(--c-line2); }
.admin-body .sj-clip img, .admin-body .sj-clip .tvx-ad-ph { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; flex: none; }
.admin-body .sj-clip b { display: block; color: var(--c-ink); font-size: 14px; } .admin-body .sj-clip small { color: var(--c-soft); font-size: 12px; }
.admin-body .sj-clip .ctl2-btn { margin-left: auto; }
.admin-body .sj-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: center; }
.admin-body .sj-row > span { color: var(--c-soft); font-size: 12px; font-weight: 700; }
.admin-body .ctl2-lays.is-mini { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.admin-body .ctl2-lay.is-mini { padding: 5px; gap: 3px; } .admin-body .ctl2-lay.is-mini b { font-size: 10.5px; }
.admin-body .ctl2-lay-pv span.is-clip { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.admin-body .sj-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .sj-seg button { padding: 6px 12px; border: 1px solid var(--c-line2); border-radius: 9px; background: #121722; color: var(--c-soft); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.admin-body .sj-seg button.is-on { border-color: #3b82f6; background: rgba(59,130,246,.2); color: #dbeafe; }
.admin-body .sj-audio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.admin-body .sj-audio button { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid var(--c-line2); border-radius: 10px; background: #121722; color: var(--c-ink); text-align: left; cursor: pointer; }
.admin-body .sj-audio button b { font-size: 12.5px; } .admin-body .sj-audio button small { color: var(--c-soft); font-size: 11px; }
.admin-body .sj-audio button.is-on { border-color: #3b82f6; background: rgba(59,130,246,.18); }
.admin-body .sj-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 4px; }
.admin-body .sj-go small { color: var(--c-soft); font-size: 12px; }
.admin-body .sj-take { padding: 12px 20px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #ef4444, #b91c1c); color: #fff; font: 900 14px/1 var(--c-mono); letter-spacing: .06em; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(239,68,68,.9); }
.admin-body .sj-take:disabled { background: #2a3140; color: #7b8496; box-shadow: none; cursor: not-allowed; }
.admin-body .sj-air { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding-bottom: 10px; }
.admin-body .sj-air b { display: block; color: var(--c-ink); font-size: 15px; } .admin-body .sj-air small { color: var(--c-soft); font-size: 12px; }
.admin-body .sj-air time { color: #fecaca; font: 900 22px/1 var(--c-mono); font-variant-numeric: tabular-nums; }
.admin-body .sj-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #ef4444 var(--p, 0%), rgba(255,255,255,.08) var(--p, 0%)); }
.admin-body .sj-stop { padding: 10px 14px; border: 1px solid rgba(239,68,68,.6); border-radius: 10px; background: rgba(239,68,68,.12); color: #fecaca; font-weight: 800; font-size: 12.5px; cursor: pointer; }
.admin-body .sj-note { margin: 8px 0 0; color: var(--c-soft); font-size: 12px; }
@media (max-width: 1500px) { .admin-body .sj-grid { grid-template-columns: minmax(0, 1fr); } .admin-body .ctl2-lays.is-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .admin-body .sj-audio { grid-template-columns: minmax(0, 1fr); } .admin-body .sj-row { grid-template-columns: minmax(0, 1fr); } .admin-body .sj-air { grid-template-columns: minmax(0, 1fr); } }
.admin-body .sj-snd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-body .sj-air + .sj-snd { margin-top: 10px; }
.admin-body .sj-mute { padding: 7px 12px; border: 1px solid rgba(34,197,94,.45); border-radius: 10px; background: rgba(34,197,94,.14); color: #bbf7d0; font-weight: 800; font-size: 12.5px; cursor: pointer; }
.admin-body .sj-snd.is-muted .sj-mute { border-color: rgba(239,68,68,.55); background: rgba(239,68,68,.14); color: #fecaca; }
.admin-body .sj-snd input[type="range"] { flex: 1 1 140px; max-width: 220px; accent-color: #22c55e; }
.admin-body .sj-snd input:disabled { opacity: .4; }
.admin-body .sj-snd output { color: var(--c-soft); font: 700 12px/1 var(--c-mono); min-width: 56px; }
.admin-body .sj-clip-acts { display: flex; gap: 6px; margin-left: auto; }
.admin-body .sj-clip-acts .ctl2-btn { margin-left: 0; }
.admin-body .sj-del { border-color: rgba(239,68,68,.45) !important; color: #fca5a5 !important; }

/* Full screen made by the page itself (iPhone, or a phone turned sideways): the player covers the screen and keeps
   its logo, clock, lower third and ticker, which the phone's own video player would leave out. */
html.tvp-fs-lock, html.tvp-fs-lock body { overflow: hidden !important; }
.tvp-player.is-fs { position: fixed !important; z-index: 2147483000; inset: 0; margin: auto; width: min(calc(100vw - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)), calc(100dvh * 16 / 9)) !important; height: auto !important; max-height: 100dvh; aspect-ratio: 16 / 9; border-radius: 0 !important; box-shadow: 0 0 0 100vmax #000 !important; overflow: hidden; }

/* Director's stage (Canlı pult): program in the middle, sources at the sides, sujets and sound under it. */
.admin-body .dsk-stage { display: grid; grid-template-columns: 210px minmax(0, 1fr) 210px; gap: 12px; align-items: start; margin-top: 12px; }
.admin-body .dsk-side { display: grid; gap: 10px; align-content: start; }
.admin-body .dsk-side .ctl2-tile { cursor: grab; }
.admin-body .dsk-side .ctl2-tile .ctl2-screen { aspect-ratio: 16 / 9; min-height: 0; }
.admin-body .dsk-side .ctl2-tile:active { cursor: grabbing; }
.admin-body .dsk-side .ctl2-tile.is-void { min-height: 70px; }
.admin-body .dsk-side .ctl2-tile.is-add { min-height: 100px; }
.admin-body .ctl2-tile.is-armed, .admin-body .dsk-sj.is-armed { outline: 3px solid #fbbf24; outline-offset: 2px; }
.admin-body .dsk-center { display: grid; gap: 12px; min-width: 0; }
.admin-body .dsk-pgm .ctl2-mon-head time { margin-left: auto; color: #fff; font: 800 13px var(--c-mono); }
/* The program screen stays within half the window's height, so sujets and sound are visible without scrolling. */
/* A plain block (not a grid) so the absolutely placed boxes are laid out the same in Safari, Chrome and Firefox. */
.admin-body .dsk-pgm .ctl2-screen { display: block; position: relative; width: 100%; max-width: calc(38vh * 16 / 9); height: auto; aspect-ratio: 16 / 9; margin: 0 auto; justify-self: center; }
.admin-body .dsk-pgm .ctl2-comp-box { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.admin-body .dsk-drop { transition: box-shadow .12s, filter .12s; }
.admin-body .dsk-drop .dsk-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; color: var(--c-soft); font-size: 13px; text-align: center; pointer-events: none; }
.admin-body .dsk-drop .dsk-hint { position: absolute; inset: 0; display: none; place-items: center; background: rgba(251, 191, 36, .22); color: #fff; font: 900 15px/1 inherit; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.admin-body [data-ctl].is-dragging .dsk-drop, .admin-body .dsk-stage.is-arming .dsk-drop { box-shadow: inset 0 0 0 2px rgba(251, 191, 36, .7); cursor: copy; }
.admin-body [data-ctl].is-dragging .dsk-drop.is-over .dsk-hint, .admin-body .dsk-stage.is-arming .dsk-drop:hover .dsk-hint { display: grid; }
.admin-body .dsk-drop.is-over { box-shadow: inset 0 0 0 4px #fbbf24 !important; }
.admin-body .dsk-mini { height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--c-line2); background: #151b27; color: var(--c-ink); font: 700 11px/1 inherit; cursor: pointer; white-space: nowrap; }
.admin-body .dsk-mini.is-stop { border-color: #7f1d1d; background: #3a1d1d; color: #fecaca; }
.admin-body .dsk-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px; }
.admin-body .dsk-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 6px; border-radius: 8px; border: 1px solid var(--c-line2); background: #151b27; color: var(--c-ink); font: 600 11px/1 inherit; cursor: pointer; }
.admin-body .dsk-chip .ctl2-lay-pv { position: relative; display: block; width: 32px; height: 18px; border-radius: 3px; overflow: hidden; }
.admin-body .dsk-chip .ctl2-lay-pv span { position: absolute; background: rgba(255, 255, 255, .5); font-size: 0; }
.admin-body .dsk-chip.is-on { border-color: #e3262f; background: rgba(227, 38, 47, .14); }
.admin-body .dsk-chip:disabled { opacity: .45; cursor: not-allowed; }
.admin-body .dsk-chip.is-more { padding: 0 12px; }
.admin-body .dsk-sjs, .admin-body .dsk-sound { border: 1px solid var(--c-line); border-radius: 12px; background: #0b0f17; padding: 10px 12px; }
.admin-body .dsk-sjs header, .admin-body .dsk-sound header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.admin-body .dsk-sjs header b, .admin-body .dsk-sound header b { color: var(--c-ink); font-size: 13px; }
.admin-body .dsk-sjs header small, .admin-body .dsk-sound header small { color: var(--c-soft); font-size: 11px; }
.admin-body .dsk-sjs .tvx-search { margin-left: auto; width: 180px; height: 30px; }
.admin-body .dsk-sjaudio button { height: 28px; font-size: 11px; }
.admin-body .dsk-sj-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.admin-body .dsk-sj { flex: 0 0 150px; display: grid; gap: 4px; padding: 6px; border: 1px solid var(--c-line2); border-radius: 10px; background: #151b27; cursor: grab; user-select: none; }
.admin-body .dsk-sj[hidden] { display: none; }
.admin-body .dsk-sj img, .admin-body .dsk-sj > i { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #05070a; display: grid; place-items: center; font-style: normal; font-size: 22px; }
.admin-body .dsk-sj b { color: var(--c-ink); font-size: 12px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.admin-body .dsk-sj small { color: var(--c-soft); font-size: 11px; }
.admin-body .dsk-sj.is-air { border-color: #e3262f; } .admin-body .dsk-sj.is-air small { color: #f87171; font-weight: 800; }
.admin-body .dsk-snds { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .dsk-snd { height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--c-line2); background: #151b27; color: var(--c-ink); font: 600 12px/1 inherit; cursor: pointer; }
.admin-body .dsk-snd.is-on { border-color: #22c55e; background: rgba(34, 197, 94, .16); color: #bbf7d0; }
.admin-body .dsk-snd-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.admin-body .dsk-snd-foot .dsk-mini { margin-left: auto; }
.admin-body .dsk-low { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); gap: 12px; align-items: start; }
.admin-body .dsk-low .ctl2-out { grid-column: auto; display: block; }
@media (max-width: 1200px) { .admin-body .dsk-stage { grid-template-columns: 1fr; } .admin-body .dsk-side { grid-template-columns: repeat(4, minmax(0, 1fr)); } .admin-body .dsk-stage > .dsk-side:first-child { order: 2; } .admin-body .dsk-stage > .dsk-center { order: 1; } .admin-body .dsk-stage > .dsk-side:last-child { order: 3; } }
@media (max-width: 700px) { .admin-body .dsk-side { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-body .dsk-low { grid-template-columns: 1fr; } }

/* Side menu fully hidden (third press of the menu button): the page gets the whole width. */
@media (min-width: 901px) {
  .admin-body.sidebar-hidden .portal-app { grid-template-columns: 0 minmax(0, 1fr); }
  .admin-body.sidebar-hidden .portal-sidebar { visibility: hidden; overflow: hidden; width: 0; min-width: 0; padding: 0; border: 0; }
}

/* Compact stage: names over the picture, short empty places, small preview and site monitors in the side columns. */
.admin-body .dsk-side { gap: 8px; }
.admin-body .dsk-side .ctl2-tile .ctl2-tile-name { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; gap: 1px; padding: 14px 7px 5px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.admin-body .dsk-side .ctl2-tile .ctl2-tile-name b { font-size: 11px; } .admin-body .dsk-side .ctl2-tile .ctl2-tile-name small { font-size: 10px; }
.admin-body .dsk-side .ctl2-tile .ctl2-tile-vu { bottom: 0; }
.admin-body .dsk-side .ctl2-tile .ctl2-empty { font-size: 10px; }
.admin-body .dsk-side .ctl2-tile.is-void { min-height: 0; height: 34px; }
.admin-body .dsk-side .ctl2-tile.is-void b { font-size: 13px; }
.admin-body .dsk-side .ctl2-tile.is-add { min-height: 0; height: auto; padding: 8px 6px; }
.admin-body .dsk-side .ctl2-tile.is-add small { display: none; }
.admin-body .dsk-pvw { display: grid; gap: 6px; margin-top: 4px; }
.admin-body .dsk-pvw .ctl2-mon { gap: 4px; padding: 6px; }
.admin-body .dsk-pvw .ctl2-mon-head small { display: none; }
.admin-body .dsk-cutrow { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; }
.admin-body .dsk-cutrow .ctl2-cut { height: 44px; font-size: 16px; border-radius: 10px; }
.admin-body .dsk-cutrow .ctl2-blk { height: 44px; padding: 0 10px; }
.admin-body .dsk-side .dsk-site { grid-column: auto; display: grid; grid-template-columns: 1fr; gap: 4px; padding: 6px; margin-top: 4px; }
.admin-body .dsk-site .tvx-buf { display: none; }
.admin-body .dsk-sj { flex-basis: 128px; }
.admin-body .dsk-sjs header { margin-bottom: 6px; }
.admin-body .dsk-chips { flex-wrap: nowrap; overflow-x: auto; padding: 6px 8px; gap: 4px; }
.admin-body .dsk-chip { flex: 0 0 auto; height: 28px; padding: 0 8px 0 5px; font-size: 10px; }
.admin-body .dsk-chip .ctl2-lay-pv { width: 26px; height: 15px; }
.admin-body .dsk-side .dsk-sound { padding: 8px; margin-top: 4px; }
.admin-body .dsk-side .dsk-sound header { display: grid; gap: 2px; margin-bottom: 6px; }
.admin-body .dsk-side .dsk-snds { display: grid; gap: 5px; }
.admin-body .dsk-side .dsk-snd { height: 30px; padding: 0 8px; font-size: 11px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .dsk-side .dsk-snd-foot { display: grid; gap: 6px; }
.admin-body .dsk-side .dsk-snd-foot .dsk-mini { margin-left: 0; }
/* Breaking-news music bed: switch and live level, inside "Səs haradan gəlsin?" */
.admin-body .dsk-bed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0 0 8px; padding: 8px; border: 1px solid var(--c-line2); border-radius: 10px; background: #111723; }
.admin-body .dsk-bed.is-on { border-color: #b91c1c; background: linear-gradient(180deg, rgba(185, 28, 28, .16), #111723 70%); }
.admin-body .dsk-bed-txt { display: grid; gap: 2px; min-width: 0; }
.admin-body .dsk-bed-txt b { color: var(--c-ink); font-size: 12px; }
.admin-body .dsk-bed-txt small { color: var(--c-soft); font-size: 11px; }
.admin-body .dsk-bed-on { order: 3; height: 32px; border-radius: 8px; border: 1px solid var(--c-line2); background: #151b27; color: var(--c-ink); font: 700 12px/1 inherit; cursor: pointer; }
.admin-body .dsk-bed-on.is-on { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.admin-body .dsk-bed-on:disabled { opacity: .5; cursor: default; }
.admin-body .dsk-bed-vol { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 3.2em; align-items: center; gap: 6px; font-size: 12px; }
.admin-body .dsk-bed-vol input { width: 100%; accent-color: #ef4444; }
.admin-body .dsk-bed-vol output { color: var(--c-ink); font: 700 12px/1 ui-monospace, monospace; text-align: right; }
.admin-body .dsk-bed.is-off .dsk-bed-vol { opacity: .5; pointer-events: none; }
.admin-body .dsk-side .dsk-snd-foot .ctl2-afl span { font-size: 11px; }
@media (max-width: 1200px) { .admin-body .dsk-side .dsk-sound, .admin-body .dsk-side .dsk-site, .admin-body .dsk-side .dsk-pvw { grid-column: 1 / -1; } }
/* Program screen boxes: every place of the layout is clearly framed; an empty place says its number, name and what to do. */
.admin-body .dsk-pgm .ctl2-comp-box { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.admin-body .dsk-pgm .ctl2-comp-box.is-empty { align-content: center; justify-items: center; gap: 4px; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 10px, transparent 10px 20px) !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); outline: 2px dashed rgba(255, 255, 255, .35); outline-offset: -8px; }
.admin-body .dsk-pgm .ctl2-comp-box.is-empty em { color: #fff; font: 800 14px/1.2 inherit; text-align: center; }
.admin-body .dsk-pgm .ctl2-comp-box.is-empty .dsk-empty { position: static; display: block; padding: 0 6px; color: rgba(255, 255, 255, .6); font-size: 11px; }
.admin-body .dsk-pgm .ctl2-comp-box.is-sujet { box-shadow: inset 0 0 0 3px #3b82f6; }
.admin-body .dsk-pgm .ctl2-comp-box:not(.is-empty):not(.is-sujet) em { top: 5px; bottom: auto; font-size: 11px; }
/* 407: the center column's implicit grid track was "auto", so the long sujet row (dozens of cards) widened it to thousands of px and pushed PROGRAM off-screen. */
.admin-body .dsk-center { grid-template-columns: minmax(0, 1fr); }
.admin-body .dsk-center > * { min-width: 0; max-width: 100%; }
.admin-body .dsk-sjs { overflow: hidden; }
.admin-body .dsk-snd-warn { margin: 0 0 8px; padding: 6px 8px; border-radius: 8px; background: rgba(245, 158, 11, .12); color: #fbbf24; font-size: 11px; line-height: 1.35; }
.admin-body .dsk-grps { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 8px; padding-bottom: 2px; }
.admin-body .dsk-grp { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--c-line2); border-radius: 999px; background: #151b27; color: var(--c-soft); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.admin-body .dsk-grp i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); }
.admin-body .dsk-grp small { color: var(--c-soft); opacity: .7; font-size: 11px; }
.admin-body .dsk-grp.is-on { border-color: var(--g, #3b82f6); background: rgba(59, 130, 246, .16); color: var(--c-ink); }
.admin-body .dsk-empty .dsk-fill { display: block; margin-top: 4px; color: #93c5fd; font-size: 10px; font-weight: 600; letter-spacing: .02em; opacity: .85; }
/* 410: the program screen fills the whole center column (no side gaps). */
.admin-body .dsk-pgm .ctl2-screen { max-width: none; width: 100%; }
/* Graphics desk: graphics on the monitors can be grabbed and moved */
.admin-body .gd-screen [data-gfx] { pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.admin-body .gd-screen [data-gfx]:hover { outline: 1px dashed rgba(255,255,255,.7); outline-offset: .25em; }
.admin-body .gd-screen [data-gfx].is-dragging { cursor: grabbing; outline: 2px solid #17d46b; outline-offset: .25em; animation: none !important; }
.admin-body .gd-screen [data-gfx].is-dragging * { animation: none !important; }
.admin-body .gd-screen.is-guide-x .tvp-gfx::before, .admin-body .gd-screen.is-guide-y .tvp-gfx::after { content: ""; position: absolute; z-index: 9; background: #ff3bd4; pointer-events: none; }
.admin-body .gd-screen.is-guide-x .tvp-gfx::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.admin-body .gd-screen.is-guide-y .tvp-gfx::after { top: 50%; left: 0; right: 0; height: 1px; }
.admin-body .gd-mon figcaption .gd-drag-tip { color: #86efac; font-weight: 600; }
.admin-body .gd-mon figcaption .gd-place-reset { margin-left: auto; }
/* A believable studio picture behind the graphics in the monitors and style cards (soft lights, depth) */
.admin-body .gd-screen, .admin-body .gd-mini { background: radial-gradient(28% 42% at 30% 48%, rgba(255,196,150,.34), transparent 70%), radial-gradient(30% 45% at 70% 42%, rgba(90,150,255,.38), transparent 72%), radial-gradient(60% 40% at 50% 100%, rgba(10,14,30,.9), transparent 70%), linear-gradient(180deg, #24304f 0%, #121a31 55%, #0a0f1d 100%); }
.admin-body .tvx-styles.lg-picks { gap: 6px; }
.admin-body .tvx-styles.lg-picks span::before { display: none; }
.admin-body .tvx-field small[data-tvx-logo-theme-now] { color: #86efac; font-weight: 600; }

/* ============================================================================
   Loqo studiyası (TV → Ayarlar): live stage + animated choice cards + holiday calendar
   ============================================================================ */
.admin-body .lg-studio { display: grid; gap: 16px; margin-bottom: 18px; padding: 20px; background: radial-gradient(120% 80% at 0% 0%, rgba(227,38,47,.10), transparent 55%), radial-gradient(120% 80% at 100% 0%, rgba(59,130,246,.12), transparent 55%), var(--x-card, #0f141d); }
.admin-body .lg-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.admin-body .lg-head h3 { margin: 0 0 4px; font-size: 20px; }
.admin-body .lg-head small { color: var(--x-soft, #94a3b8); }
.admin-body .lg-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-body .lg-tools [data-lg-tour].is-on { border-color: #f59e0b; color: #fbbf24; }
.admin-body .lg-studio.is-dirty .lg-save { box-shadow: 0 0 0 3px rgba(23,212,107,.35); animation: lg-ping 1.6s ease-in-out infinite; }
.admin-body .lg-studio.is-dirty .lg-save::before { content: "● "; color: #fde68a; }
@keyframes lg-ping { 50% { box-shadow: 0 0 0 7px rgba(23,212,107,.08); } }
.admin-body .lg-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1180px) { .admin-body .lg-main { grid-template-columns: 1fr; } }
.admin-body .lg-stage-col { display: grid; gap: 10px; position: sticky; top: 76px; }
.admin-body .lg-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; container-type: inline-size; box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); transition: background .4s; }
.admin-body .lg-stage .tvp-gfx { position: absolute; inset: 0; --u: 1cqi; }
.admin-body .lg-stage [data-gfx] { pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.admin-body .lg-stage [data-gfx]:hover { outline: 1px dashed rgba(255,255,255,.75); outline-offset: .35em; }
.admin-body .lg-stage [data-gfx].is-dragging { cursor: grabbing; outline: 2px solid #17d46b; outline-offset: .35em; }
.admin-body .lg-stage.is-guide-x .tvp-gfx::before, .admin-body .lg-stage.is-guide-y .tvp-gfx::after { content: ""; position: absolute; z-index: 9; background: #ff3bd4; pointer-events: none; }
.admin-body .lg-stage.is-guide-x .tvp-gfx::before { left: 50%; top: 0; bottom: 0; width: 1px; } .admin-body .lg-stage.is-guide-y .tvp-gfx::after { top: 50%; left: 0; right: 0; height: 1px; }
.admin-body .lg-safe { position: absolute; inset: 3.5%; border: 1px dashed rgba(255,255,255,.18); border-radius: 6px; pointer-events: none; }
.admin-body .lg-tip { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.45); color: #e2e8f0; font-size: 12px; font-weight: 600; pointer-events: none; backdrop-filter: blur(6px); }
/* Stage backgrounds: test the logo on different pictures */
.admin-body .lg-stage.bg-studio { background: radial-gradient(28% 42% at 30% 52%, rgba(255,196,150,.5), transparent 70%), radial-gradient(30% 45% at 70% 46%, rgba(90,150,255,.5), transparent 72%), linear-gradient(180deg, #3a4566 0%, #1b2440 55%, #0d1222 100%); }
.admin-body .lg-stage.bg-night { background: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent), radial-gradient(1.5px 1.5px at 85% 60%, #fff, transparent), radial-gradient(60% 40% at 50% 110%, rgba(255,150,60,.35), transparent 70%), linear-gradient(180deg, #050816, #0b1230 70%, #1a1b3a); }
.admin-body .lg-stage.bg-day { background: radial-gradient(30% 30% at 80% 18%, rgba(255,250,220,.95), transparent 60%), linear-gradient(180deg, #8fc7ff 0%, #cfe7ff 55%, #9fd18b 56%, #6fae5a 100%); }
.admin-body .lg-stage.bg-news { background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 2px, transparent 2px 60px), radial-gradient(70% 60% at 50% 40%, #1d3f9e, #0a1a4f 70%); }
.admin-body .lg-under { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.admin-body .lg-bgs { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--x-line, #263043); }
.admin-body .lg-bgs button { height: 28px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--x-soft, #94a3b8); font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-body .lg-bgs button.is-on { background: #e3262f; color: #fff; }
.admin-body .lg-now { color: #86efac; font-size: 12px; font-weight: 700; }
.admin-body .lg-controls { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--x-line, #263043); }
.admin-body .lg-pos { align-items: center; }
.admin-body .lg-pick-col { display: grid; gap: 16px; }
.admin-body .lg-pick-col h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--x-soft, #94a3b8); }
.admin-body .lg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.admin-body .lg-card { position: relative; display: grid; gap: 6px; padding: 6px; border-radius: 12px; border: 1px solid var(--x-line, #263043); background: rgba(255,255,255,.03); cursor: pointer; transition: transform .15s, border-color .15s, background .15s; }
.admin-body .lg-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.25); }
.admin-body .lg-card input { position: absolute; opacity: 0; pointer-events: none; }
.admin-body .lg-card.is-on, .admin-body .lg-card:has(input:checked) { border-color: #e3262f; background: rgba(227,38,47,.12); box-shadow: 0 0 0 1px #e3262f, 0 8px 20px rgba(227,38,47,.18); }
.admin-body .lg-card:has(input:focus-visible) { outline: 2px solid #fff; }
.admin-body .lg-card b { font-size: 11.5px; font-weight: 700; color: var(--x-ink, #e5e7eb); text-align: center; line-height: 1.2; }
.admin-body .lg-mini { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; container-type: inline-size; background: radial-gradient(40% 60% at 30% 55%, rgba(255,196,150,.45), transparent 70%), radial-gradient(40% 60% at 72% 45%, rgba(90,150,255,.45), transparent 72%), linear-gradient(180deg, #3a4566, #141c33); }
.admin-body .lg-mini .tvp-gfx { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; --u: 1cqi; }
.admin-body .lg-mini .tvp-gfx-logo { position: relative !important; inset: auto !important; max-width: none; }
/* Holiday calendar strip */
.admin-body .lg-cal { display: grid; gap: 6px; margin-bottom: 10px; }
.admin-body .lg-cal small { color: var(--x-soft, #94a3b8); font-size: 11.5px; }
.admin-body .lg-cal-bar { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); height: 34px; border-radius: 9px; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid var(--x-line, #263043); }
.admin-body .lg-cal-bar > span { display: grid; place-items: end center; padding-bottom: 3px; border-right: 1px solid rgba(255,255,255,.05); color: rgba(148,163,184,.8); font-size: 10px; font-weight: 700; }
.admin-body .lg-day { position: absolute; top: 4px; height: 14px; border: 0; border-radius: 4px; cursor: pointer; transition: transform .15s; }
.admin-body .lg-day:hover, .admin-body .lg-day.is-sel { transform: scaleY(1.35); box-shadow: 0 0 0 2px #fff; z-index: 2; }
.admin-body .lg-day.is-newyear { background: linear-gradient(90deg, #22c55e, #ef4444); }
.admin-body .lg-day.is-novruz { background: linear-gradient(90deg, #f59e0b, #16a34a); }
.admin-body .lg-day.is-georgia { background: repeating-linear-gradient(90deg, #fff 0 3px, #e8112d 3px 6px); }
.admin-body .lg-day.is-azerbaijan { background: linear-gradient(180deg, #00b5e2 33%, #ef3340 33% 66%, #509e2f 66%); }
.admin-body .lg-today { position: absolute; top: 0; bottom: 0; width: 2px; background: #fde047; box-shadow: 0 0 8px #fde047; pointer-events: none; }
.admin-body .lg-today::after { content: "bu gün"; position: absolute; top: 19px; left: 4px; color: #fde047; font-size: 9px; font-weight: 800; white-space: nowrap; }
/* Graphics desk: the form column never grows past its track (long option rows wrap instead of sliding under the style gallery). */
.admin-body .gd-work > *, .admin-body .gd-fields > *, .admin-body .gd-fields .tvx-field, .admin-body .gd-fields label { min-width: 0; }
.admin-body .gd-fields .tvx-field { display: grid; gap: 8px; }
.admin-body .gd-fields .tvx-field > small { color: var(--x-mute); font-size: 12px; line-height: 1.4; }
.admin-body .gd-fields .tvx-seg label { flex: 1 1 auto; min-width: max-content; }
.admin-body .gd-fields .tvx-seg span { height: 34px; padding: 0 10px; font-size: 12.5px; }
/* Alt banner: more room for its longer form; uploads stacked as two clean rows. */
.admin-body .gd-work:has(.bn-ups) { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.admin-body .gd-work:has(.bn-ups) .gd-style-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.admin-body .gd-fields .bn-ups { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.admin-body .gd-fields .bn-ups .tvx-sponsor-up { flex-wrap: wrap; gap: 10px; padding: 12px; }
.admin-body .gd-fields .bn-ups .tvx-sponsor-up > :is(img, video, span) { flex: 1 1 200px; width: auto; max-width: 100%; height: 64px; border-radius: 10px; background: rgba(0,0,0,.35); object-fit: cover; display: grid; place-items: center; text-align: center; font-size: 12px; line-height: 1.35; color: var(--x-soft); }
.admin-body .gd-fields .bn-ups .tvx-sponsor-up:not(.is-wide) > img { flex: 0 0 120px; object-fit: contain; background: #fff; padding: 6px; }
.admin-body .gd-fields .bn-ups .tvx-btn { flex: 0 0 auto; }
@media (max-width: 1300px) { .admin-body .gd-work:has(.bn-ups) { grid-template-columns: 1fr; } }
.admin-body .tva.studio .gd-fields .tvx-two.bn-ups, .admin-body .gd-fields .tvx-two.bn-ups { grid-template-columns: minmax(0, 1fr); }
.admin-body .gd-fields .tvx-two { align-items: start; }
.admin-body .gd-fields .bn-ups .tvx-sponsor-up.is-wide > :is(img, video, span) { flex: 1 1 100%; height: 72px; }
.admin-body .tva.studio .gd-fields .tvx-two:has(.tvx-seg), .admin-body .gd-fields .tvx-two:has(.tvx-seg) { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
/* Ad places: stop or replace what is on a place right there */
.admin-body .ad-place-board li span { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .ad-place-now { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 9px; border-radius: 999px; background: #eef4ff; color: #1d2939; font-style: normal; font-weight: 700; }
.admin-body .ad-place-now button { padding: 3px 8px; border: 0; border-radius: 999px; background: #fee4e2; color: #b42318; font-size: 11px; font-weight: 800; cursor: pointer; }
.admin-body .ad-place-actions { margin-top: 6px; }
.admin-body .ad-place-actions button { padding: 5px 10px; border: 1px solid #d0d5dd; border-radius: 6px; background: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.admin-body .ad-place-board li.is-busy .ad-place-actions button { border-color: #2e90fa; color: #175cd3; }
.admin-body .ad-replace-note { margin: 0 0 14px; padding: 12px 14px; border: 1px solid #fedf89; border-radius: 10px; background: #fffaeb; color: #93370d; font-size: 13px; }
.admin-body .ad-replace-note button { margin-left: 8px; padding: 4px 10px; border: 1px solid #fec84b; border-radius: 6px; background: #fff; font-weight: 700; cursor: pointer; }
/* Ad form: the banner files it has now */
.admin-body .ad-asset-row { display: grid; gap: 8px; margin: 10px 0; }
.admin-body .ad-asset-row:empty { display: none; }
.admin-body .ad-asset-row figure { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; padding: 8px; border: 1px solid var(--admin-line); border-radius: 10px; background: #f9fafb; }
.admin-body .ad-asset-row img { width: 140px; height: 56px; object-fit: contain; border-radius: 6px; background: #fff; }
.admin-body .ad-asset-row figcaption { display: grid; gap: 2px; min-width: 0; font-size: 12px; color: #667085; }
.admin-body .ad-asset-row figcaption b { color: #101828; font-size: 13px; }
.admin-body .ad-asset-row button { padding: 6px 12px; border: 1px solid #fda29b; border-radius: 6px; background: #fff; color: #b42318; font-weight: 800; cursor: pointer; }
.admin-body [data-ad-upload].is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 640px) { .admin-body .ad-asset-row figure { grid-template-columns: 96px minmax(0, 1fr); } .admin-body .ad-asset-row img { width: 96px; } .admin-body .ad-asset-row button { grid-column: 1 / -1; } }
/* TV ad manager: L-band packages */
.admin-body .tvx-lbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; padding: 14px; }
.admin-body .tvx-lb { display: grid; gap: 10px; padding: 10px; border: 1px solid var(--x-line); border-radius: 14px; background: var(--x-surface); }
.admin-body .tvx-lb.is-live { border-color: rgba(255,59,48,.7); box-shadow: 0 0 0 1px rgba(255,59,48,.35); }
.admin-body .tvx-lb.is-paused, .admin-body .tvx-lb.is-ended { opacity: .6; }
.admin-body .tvx-lb-pic { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; background: #0b0f17 center / cover no-repeat; overflow: hidden; }
.admin-body .tvx-lb-pic i { position: absolute; left: 3%; top: 4%; width: 74%; height: 74%; border-radius: 4px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 8px, rgba(255,255,255,.02) 8px 16px); outline: 1px dashed rgba(255,255,255,.25); }
.admin-body .tvx-lb-pic em { position: absolute; right: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: #e3262f; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.admin-body .tvx-lb-pic.is-empty { display: grid; place-items: center; text-align: center; color: var(--x-soft); font-size: 13px; border: 1px dashed var(--x-line-2); }
.admin-body .tvx-lb-pic.is-empty small { color: var(--x-mute); }
.admin-body .tvx-lb-main { display: grid; gap: 6px; min-width: 0; }
.admin-body .tvx-lb-main p { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; color: var(--x-mute); font-size: 12px; }
.admin-body .tvx-lb nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.admin-body .tvx-lb nav .tvx-btn { margin-right: auto; }
.admin-body .tvx-lb-up { display: grid; grid-template-columns: minmax(0, 260px) auto; align-items: center; gap: 14px; }
.admin-body .tvx-lb-up > div:last-of-type { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) { .admin-body .tvx-lb-up { grid-template-columns: 1fr; } }
/* Graphics desk: pick a saved L-band package */
.admin-body .tvx-lb-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.admin-body .tvx-lb-chips button { display: grid; gap: 2px; padding: 6px; border: 1px solid var(--x-line); border-radius: 10px; background: rgba(0,0,0,.25); color: #fff; text-align: left; cursor: pointer; min-width: 0; }
.admin-body .tvx-lb-chips button.is-on { border-color: var(--x-green); box-shadow: inset 0 0 0 1px var(--x-green); }
.admin-body .tvx-lb-chips i { aspect-ratio: 16 / 9; border-radius: 6px; background: #0b0f17 center / cover no-repeat; }
.admin-body .tvx-lb-chips b { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .tvx-lb-chips small { overflow: hidden; color: var(--x-mute); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
/* Graphics ad packages: banner preview, schedule line, form */
.admin-body .tvx-lb-pic.is-banner { background: radial-gradient(120% 90% at 30% 30%, #2a3550, #0b0f17); }
.admin-body .tvx-lb-pic.is-banner .tvp-gfx { --u: max(2px, 1cqi); }
.admin-body .tvx-lb-pic.is-strip { aspect-ratio: auto; min-height: 90px; }
.admin-body .tvx-pill.is-auto { background: rgba(59,130,246,.18); color: #93c5fd; }
.admin-body .tvx-pill.is-onair { background: #e3262f; color: #fff; }
.admin-body .tvx-lb-sched { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 6px 8px; border-radius: 8px; background: rgba(59,130,246,.08); color: #bfdbfe !important; font-size: 12px; }
.admin-body .tvx-lb-sched.is-manual { background: rgba(255,255,255,.04); color: var(--x-mute) !important; }
.admin-body .tvx-gaform .tvx-adform-grid select { width: 100%; }
.admin-body .tvx-ga-media { width: 100%; max-width: 360px; height: 54px; object-fit: cover; border-radius: 8px; background: #000; }
.admin-body .tvx-lb-up.is-logo { grid-template-columns: 96px auto; }
.admin-body .tvx-ga-logo { width: 96px; height: 48px; object-fit: contain; border-radius: 8px; background: #fff; padding: 4px; }
.admin-body .tvx-ga-logo.is-empty { display: grid; place-items: center; background: rgba(0,0,0,.3); color: var(--x-mute); font-size: 12px; border: 1px dashed var(--x-line-2); }
.admin-body .tvx-ga-sched { margin: 0; padding: 12px 14px 14px; border: 1px solid rgba(59,130,246,.35); border-radius: 14px; background: rgba(59,130,246,.06); }
.admin-body .tvx-ga-sched legend { padding: 0 6px; }
.admin-body .tvx-ga-sched.is-off .tvx-ga-grid { opacity: .4; pointer-events: none; }
.admin-body .tvx-ga-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.admin-body .tvx-ga-range { display: flex; align-items: center; gap: 6px; }
.admin-body .tvx-ga-range input { min-width: 0; flex: 1; }
.admin-body .tvx-ga-hint { margin: 10px 0 0; color: #bfdbfe; font-size: 13px; }
.panel-ad-fade { animation: panel-ad-fade .6s ease both; } @keyframes panel-ad-fade { from { opacity: 0; } to { opacity: 1; } }
/* ===== Smart ad manager (Reklam yerləri) ===== */
.admin-body .sm-page { --sm-bg: #ffffff; --sm-soft: #f6f8fb; --sm-line: #e4e9f0; --sm-ink: #101828; --sm-mute: #667085; --sm-brand: #4f46e5; --sm-live: #12b76a; --sm-end: #f79009; --sm-next: #2e90fa; --sm-off: #98a2b3; --sm-canvas: #eef2f7; --sm-block: #dde3ec; --sm-dark: #1f2937; display: grid; gap: 18px; color: var(--sm-ink); }
.admin-dark .admin-body .sm-page, .admin-body.admin-dark .sm-page, .admin-dark .sm-page { --sm-bg: #182235; --sm-soft: #1d2940; --sm-line: #2a364b; --sm-ink: #eef3fb; --sm-mute: #94a3b8; --sm-canvas: #111a2b; --sm-block: #24314a; --sm-dark: #0b1220; }
.admin-body .sm-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 18px; background: radial-gradient(120% 140% at 0% 0%, #4f46e5 0%, #312e81 55%, #1e1b4b 100%); color: #fff; box-shadow: 0 14px 40px -18px rgba(49,46,129,.6); }
.admin-body .sm-hero span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.admin-body .sm-hero h2 { margin: 4px 0 6px; font-size: 26px; letter-spacing: -.02em; color: #fff; }
.admin-body .sm-hero p { margin: 0; max-width: 620px; font-size: 14px; opacity: .85; }
.admin-body .sm-hero nav { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-body .sm-hero nav button { padding: 10px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; font-weight: 700; cursor: pointer; }
.admin-body .sm-hero nav button.primary { border-color: #fff; background: #fff; color: #312e81; }
.admin-body .sm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-body .sm-kpi { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--sm-line); border-radius: 14px; background: var(--sm-bg); }
.admin-body .sm-kpi b { font-size: 26px; letter-spacing: -.02em; }
.admin-body .sm-kpi span { font-weight: 700; font-size: 13px; }
.admin-body .sm-kpi small { color: var(--sm-mute); font-size: 12px; }
.admin-body .sm-kpi.is-good b { color: var(--sm-live); } .admin-body .sm-kpi.is-warn b { color: var(--sm-end); }
.admin-body .sm-work { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .9fr); gap: 18px; align-items: start; }
.admin-body .sm-map { padding: 18px; background: var(--sm-bg); }
.admin-body .sm-map > header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.admin-body .sm-map h2 { margin: 0; font-size: 17px; }
.admin-body .sm-map header p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 4px 0 0; color: var(--sm-mute); font-size: 12px; }
.admin-body .sm-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 6px; }
.admin-body .sm-key.is-live { background: var(--sm-live); } .admin-body .sm-key.is-ending { background: var(--sm-end); } .admin-body .sm-key.is-next { background: var(--sm-next); } .admin-body .sm-key.is-free { background: transparent; border: 1.5px dashed var(--sm-brand); } .admin-body .sm-key.is-off { background: var(--sm-off); }
.admin-body .sm-seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--sm-line); border-radius: 10px; background: var(--sm-soft); }
.admin-body .sm-seg button { padding: 7px 14px; border: 0; border-radius: 8px; background: transparent; color: var(--sm-mute); font-weight: 700; font-size: 13px; cursor: pointer; }
.admin-body .sm-seg button.is-on { background: var(--sm-bg); color: var(--sm-ink); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
/* skeleton */
.admin-body .sm-canvas { padding: 14px; border-radius: 14px; background: var(--sm-canvas); }
.admin-body .sm-bar { height: 8px; border-radius: 4px; background: var(--sm-dark); margin-bottom: 8px; }
.admin-body .sm-head { display: flex; align-items: center; gap: 8px; height: 30px; margin-bottom: 10px; padding: 0 10px; border-radius: 8px; background: var(--sm-bg); }
.admin-body .sm-head i { width: 70px; height: 12px; border-radius: 4px; background: #e3262f; }
.admin-body .sm-head span { flex: 0 0 40px; height: 6px; border-radius: 3px; background: var(--sm-block); }
.admin-body .sm-head span:first-of-type { margin-left: auto; }
.admin-body .sm-grid { display: grid; grid-template-columns: 70px minmax(0, 1fr) 70px; gap: 10px; }
.admin-body .sm-grid > aside { display: grid; }
.admin-body .sm-grid > main { display: grid; gap: 10px; }
.admin-body .sm-lead { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; }
.admin-body .sm-lead > section { display: grid; gap: 8px; }
.admin-body .sm-block { display: grid; place-items: center; border-radius: 8px; background: var(--sm-block); color: var(--sm-mute); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-body .sm-block.is-hero { min-height: 150px; }
.admin-body .sm-block.is-dark { background: var(--sm-dark); color: #94a3b8; }
.admin-body .sm-block.is-short { min-height: 70px; }
.admin-body .sm-content { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; }
.admin-body .sm-content > section, .admin-body .sm-content > aside { display: grid; gap: 10px; align-content: start; }
.admin-body .sm-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.admin-body .sm-cards i { height: 46px; border-radius: 6px; background: var(--sm-bg); }
.admin-body .sm-promo { display: grid; grid-template-columns: 1fr 2.4fr; gap: 10px; }
/* a place on the skeleton */
.admin-body .sm-slot { --tone: var(--sm-brand); position: relative; display: grid; align-content: center; justify-items: center; gap: 2px; min-height: 64px; padding: 8px 6px; border: 1.5px dashed color-mix(in srgb, var(--tone) 60%, transparent); border-radius: 9px; background: color-mix(in srgb, var(--tone) 7%, var(--sm-bg)); color: var(--sm-ink); text-align: center; cursor: pointer; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.admin-body .sm-slot::before { content: ""; position: absolute; inset: 0; background: var(--pic, none) center / cover no-repeat; opacity: .9; }
.admin-body .sm-slot[style*="--pic"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)); }
.admin-body .sm-slot > * { position: relative; z-index: 1; }
.admin-body .sm-slot[style*="--pic"] { color: #fff; }
.admin-body .sm-slot b { font-size: 12px; line-height: 1.15; }
.admin-body .sm-slot small { font-size: 10px; opacity: .7; }
.admin-body .sm-slot em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--tone); }
.admin-body .sm-slot-tag { position: absolute !important; top: 5px; left: 5px; padding: 2px 6px; border-radius: 999px; background: var(--tone); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .03em; }
.admin-body .sm-slot.is-live { --tone: var(--sm-live); border-style: solid; } .admin-body .sm-slot.is-ending { --tone: var(--sm-end); border-style: solid; } .admin-body .sm-slot.is-next { --tone: var(--sm-next); } .admin-body .sm-slot.is-off { --tone: var(--sm-off); background: repeating-linear-gradient(135deg, var(--sm-soft) 0 6px, var(--sm-bg) 6px 12px); }
.admin-body .sm-slot:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--tone) 70%, transparent); }
.admin-body .sm-slot.is-selected { border-color: var(--sm-brand); border-style: solid; box-shadow: 0 0 0 3px color-mix(in srgb, var(--sm-brand) 30%, transparent); }
.admin-body .sm-grid > aside .sm-slot { min-height: 100%; }
.admin-body .sm-canvas.is-mobile { display: grid; place-items: center; padding: 20px; }
.admin-body .sm-phone { display: grid; gap: 10px; width: min(300px, 100%); padding: 14px 12px 20px; border: 8px solid var(--sm-dark); border-radius: 32px; background: var(--sm-canvas); }
.admin-body .sm-notch { justify-self: center; width: 80px; height: 8px; border-radius: 6px; background: var(--sm-dark); }
.admin-body .sm-head.is-phone { margin: 0; }
.admin-body .sm-block.is-hero.is-phone { min-height: 120px; }
.admin-body .sm-cards.is-phone { grid-template-columns: 1fr; } .admin-body .sm-cards.is-phone i { height: 34px; }
.admin-body .sm-phone .sm-slot { min-height: 54px; }
/* right panel */
.admin-body .sm-panel { position: sticky; top: 76px; display: grid; gap: 16px; padding: 18px; background: var(--sm-bg); max-height: calc(100vh - 96px); overflow: auto; }
.admin-body .sm-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.admin-body .sm-panel-head h2 { margin: 2px 0 4px; font-size: 19px; }
.admin-body .sm-panel-head p { margin: 0; color: var(--sm-mute); font-size: 12px; }
.admin-body .sm-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12px; font-weight: 700; color: var(--sm-mute); }
.admin-body .sm-switch input { position: absolute; opacity: 0; pointer-events: none; }
.admin-body .sm-switch i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--sm-off); transition: background .2s; }
.admin-body .sm-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.admin-body .sm-switch input:checked + i { background: var(--sm-live); } .admin-body .sm-switch input:checked + i::after { transform: translateX(16px); }
.admin-body .sm-rule { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--sm-line); border-radius: 12px; background: var(--sm-soft); }
.admin-body .sm-rule h3, .admin-body .sm-ads h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--sm-mute); }
.admin-body .sm-ads h3 small { padding: 1px 8px; border-radius: 999px; background: var(--sm-soft); color: var(--sm-ink); font-size: 11px; }
.admin-body .sm-rule .sm-seg { display: grid; grid-template-columns: repeat(3, 1fr); }
.admin-body .sm-rule p { margin: 0; font-size: 12px; color: var(--sm-mute); }
.admin-body .sm-rule p input { width: 56px; padding: 3px 6px; border: 1px solid var(--sm-line); border-radius: 6px; background: var(--sm-bg); color: var(--sm-ink); }
.admin-body .sm-share-bar { display: flex; height: 10px; overflow: hidden; border-radius: 999px; background: var(--sm-line); }
.admin-body .sm-share-bar i { min-width: 3px; }
.admin-body .sm-share ul { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 12px; }
.admin-body .sm-share li { display: flex; align-items: center; gap: 8px; } .admin-body .sm-share li i { width: 8px; height: 8px; border-radius: 2px; } .admin-body .sm-share li b { margin-left: auto; }
.admin-body .sm-ads { display: grid; gap: 10px; }
.admin-body .sm-ad { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 12px; padding: 10px; border: 1px solid var(--sm-line); border-radius: 12px; background: var(--sm-bg); }
.admin-body .sm-ad.is-paused, .admin-body .sm-ad.is-expired, .admin-body .sm-ad.is-draft { opacity: .65; }
.admin-body .sm-ad-pic { display: grid; place-items: center; height: 60px; border-radius: 8px; background: var(--sm-soft) center / contain no-repeat; color: var(--sm-mute); font-size: 10px; text-align: center; border: 1px solid var(--sm-line); }
.admin-body .sm-ad-main { display: grid; gap: 4px; min-width: 0; }
.admin-body .sm-ad-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .admin-body .sm-ad-title b { font-size: 14px; }
.admin-body .sm-ad-main > small { color: var(--sm-mute); font-size: 11px; }
.admin-body .sm-ad-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--sm-mute); font-size: 11px; }
.admin-body .sm-dot { width: 8px; height: 8px; border-radius: 2px; }
.admin-body .sm-weight { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--sm-ink); }
.admin-body .sm-weight input { width: 90px; accent-color: var(--sm-brand); }
.admin-body .sm-order { font-weight: 700; color: var(--sm-ink); }
.admin-body .sm-ad-tools { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--sm-line); }
.admin-body .sm-ad-tools button { padding: 5px 10px; border: 1px solid var(--sm-line); border-radius: 7px; background: var(--sm-bg); color: var(--sm-ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-body .sm-ad-tools button:disabled { opacity: .35; cursor: default; }
.admin-body .sm-ad-tools button.danger { margin-left: auto; border-color: #fda29b; color: #d92d20; }
.admin-body .sm-empty { padding: 18px; border: 1.5px dashed var(--sm-line); border-radius: 12px; text-align: center; color: var(--sm-mute); }
.admin-body .sm-empty b { color: var(--sm-ink); } .admin-body .sm-empty p { margin: 6px 0 0; font-size: 12px; }
.admin-body .sm-add-open { padding: 14px; border: 1.5px dashed var(--sm-brand); border-radius: 12px; background: color-mix(in srgb, var(--sm-brand) 6%, var(--sm-bg)); color: var(--sm-brand); font-weight: 800; cursor: pointer; }
.admin-body .sm-add { display: grid; gap: 10px; padding: 14px; border: 1px solid color-mix(in srgb, var(--sm-brand) 40%, var(--sm-line)); border-radius: 14px; background: color-mix(in srgb, var(--sm-brand) 4%, var(--sm-bg)); }
.admin-body .sm-add header { display: flex; align-items: center; justify-content: space-between; }
.admin-body .sm-x { width: 28px; height: 28px; border: 0; border-radius: 8px; background: var(--sm-soft); color: var(--sm-ink); font-size: 18px; cursor: pointer; }
.admin-body .sm-add label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--sm-mute); }
.admin-body .sm-add input { padding: 9px 10px; border: 1px solid var(--sm-line); border-radius: 8px; background: var(--sm-bg); color: var(--sm-ink); font: inherit; font-size: 13px; }
.admin-body .sm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.admin-body .sm-drop { position: relative; display: grid; place-items: center; min-height: 92px; padding: 12px; border: 1.5px dashed var(--sm-brand); border-radius: 12px; background: var(--sm-bg) var(--pic, none) center / contain no-repeat; color: var(--sm-ink); text-align: center; cursor: pointer; }
.admin-body .sm-drop span { display: grid; gap: 2px; padding: 6px 10px; border-radius: 8px; background: color-mix(in srgb, var(--sm-bg) 85%, transparent); }
.admin-body .sm-drop small { color: var(--sm-mute); }
.admin-body .sm-drop.is-dragging { background-color: color-mix(in srgb, var(--sm-brand) 10%, var(--sm-bg)); }
.admin-body .sm-drop.is-busy { opacity: .6; pointer-events: none; }
.admin-body .sm-drop.has-pic { min-height: 110px; border-style: solid; }
.admin-body .sm-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--sm-mute); font-weight: 700; }
.admin-body .sm-quick button { padding: 5px 10px; border: 1px solid var(--sm-line); border-radius: 999px; background: var(--sm-bg); color: var(--sm-ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-body .sm-quick button.is-on { border-color: var(--sm-brand); color: var(--sm-brand); }
.admin-body .sm-add footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.admin-body .sm-add footer a { font-size: 12px; color: var(--sm-brand); font-weight: 700; }
.admin-body .sm-add footer .primary { padding: 10px 18px; border: 0; border-radius: 10px; background: var(--sm-brand); color: #fff; font-weight: 800; cursor: pointer; }
@media (max-width: 1200px) { .admin-body .sm-work { grid-template-columns: 1fr; } .admin-body .sm-panel { position: static; max-height: none; } }
@media (max-width: 760px) { .admin-body .sm-kpis { grid-template-columns: 1fr 1fr; } .admin-body .sm-grid { grid-template-columns: 1fr; } .admin-body .sm-grid > aside { display: none; } .admin-body .sm-lead, .admin-body .sm-content { grid-template-columns: 1fr; } .admin-body .sm-promo { grid-template-columns: 1fr; } .admin-body .sm-two { grid-template-columns: 1fr; } .admin-body .sm-hero { padding: 18px; } }
.admin-body .sm-slot-tag { position: static !important; justify-self: center; margin-bottom: 2px; }
.admin-body .sm-promo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.admin-body .sm-grid { grid-template-columns: 84px minmax(0, 1fr) 84px; }
.admin-body .sm-grid > aside .sm-slot b { font-size: 11px; }
.admin-body .sm-grid > aside .sm-slot small { display: none; }
@media (max-width: 760px) { .admin-body .sm-grid > aside { display: grid; } .admin-body .sm-grid > aside .sm-slot { min-height: 60px; } .admin-body .sm-grid > aside .sm-slot small { display: block; } }
@media (max-width: 760px) { .admin-body .sm-grid { grid-template-columns: 1fr; } .admin-body .sm-grid > aside .sm-slot { min-height: 56px; } .admin-body .sm-lead, .admin-body .sm-content { grid-template-columns: 1fr; } .admin-body .sm-block.is-hero { min-height: 90px; } .admin-body .sm-ad { grid-template-columns: 72px minmax(0, 1fr); } }

.tvp-player > .tvp-lband-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.tvp-player > .tvp-lband-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tvp-player.has-lband > iframe, .tvp-player.has-lband > [data-tv-yt], .tvp-player.has-lband > video { z-index: 1; }
.admin-body .tvx-lband-pv.is-video video, .admin-body .tvx-lb-pic.is-video video, .admin-body .tvx-lb-chips i.is-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.admin-body .tvx-lb-pic.is-video i, .admin-body .tvx-lband-pv.is-video i { z-index: 1; }
.admin-body .tvx-lb-chips i.is-video { position: relative; overflow: hidden; display: block; }
.admin-body .tvx-sponsor-up.is-wide video { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #000; }
.admin-body .sm-more { border: 1px solid var(--sm-line); border-radius: 10px; padding: 8px 10px; background: var(--sm-bg); }
.admin-body .sm-more summary { cursor: pointer; font-size: 12px; font-weight: 800; color: var(--sm-mute); }
.admin-body .sm-more .sm-two { margin-top: 8px; }
.admin-body .sm-add select { padding: 9px 10px; border: 1px solid var(--sm-line); border-radius: 8px; background: var(--sm-bg); color: var(--sm-ink); font: inherit; font-size: 13px; }
.admin-body .sm-hours { display: flex; align-items: center; gap: 6px; }
.admin-body .sm-hours input { min-width: 0; flex: 1; }
.admin-body .sm-note { font-size: 12px; color: var(--sm-mute); }
.admin-body .sm-replace { margin: 0; padding: 8px 10px; border-radius: 8px; background: color-mix(in srgb, #f59e0b 14%, var(--sm-bg)); font-size: 12px; }

.admin-body .sm-status { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--sm-line); background: var(--sm-bg); font-size: 12px; color: var(--sm-mute); }
.admin-body .sm-status b { font-size: 14px; color: var(--sm-ink); }
.admin-body .sm-status.is-solo { border-color: color-mix(in srgb, var(--sm-live) 45%, var(--sm-line)); background: color-mix(in srgb, var(--sm-live) 8%, var(--sm-bg)); }
.admin-body .sm-status.is-solo b { color: color-mix(in srgb, var(--sm-live) 75%, #000); }
.admin-body .sm-status.is-multi { border-color: color-mix(in srgb, var(--sm-brand) 40%, var(--sm-line)); background: color-mix(in srgb, var(--sm-brand) 6%, var(--sm-bg)); }
.admin-body .sm-rule.is-idle .sm-seg, .admin-body .sm-rule.is-idle .sm-iv, .admin-body .sm-rule.is-idle > p { opacity: .65; }
.admin-body .sm-iv { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--sm-mute); }
.admin-body .sm-iv > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.admin-body .sm-iv button { padding: 5px 10px; border: 1px solid var(--sm-line); border-radius: 999px; background: var(--sm-bg); color: var(--sm-ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-body .sm-iv button.is-on { border-color: var(--sm-brand); background: var(--sm-brand); color: #fff; }
.admin-body .sm-iv label { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; }
.admin-body .sm-iv input { width: 64px; padding: 4px 6px; border: 1px solid var(--sm-line); border-radius: 6px; background: var(--sm-bg); color: var(--sm-ink); font: inherit; }
.admin-body .sm-cycle { display: grid; gap: 8px; }
.admin-body .sm-cycle-bar { display: flex; gap: 2px; height: 26px; overflow: hidden; border-radius: 8px; }
.admin-body .sm-cycle-bar i { display: grid; place-items: center; min-width: 28px; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.admin-body .sm-cycle-bar i span { overflow: hidden; white-space: nowrap; text-overflow: clip; padding: 0 4px; }
.admin-body .sm-cycle ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.admin-body .sm-cycle li { display: flex; align-items: center; gap: 8px; } .admin-body .sm-cycle li i { width: 8px; height: 8px; border-radius: 2px; } .admin-body .sm-cycle li b { margin-left: auto; }
.admin-body .sm-cycle small { font-size: 11px; color: var(--sm-mute); }

/* Ad reports */
.admin-body .ar-page { --ar-bg: #ffffff; --ar-soft: #f6f8fb; --ar-line: #e4e9f0; --ar-ink: #101828; --ar-mute: #667085; --ar-brand: #4f46e5; --ar-tv: #e11d48; --ar-click: #f59e0b; display: grid; gap: 16px; color: var(--ar-ink); }
.admin-dark .ar-page, .admin-body.admin-dark .ar-page { --ar-bg: #182235; --ar-soft: #1d2940; --ar-line: #2a364b; --ar-ink: #eef3fb; --ar-mute: #94a3b8; }
.admin-body .ar-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, #1e1b4b, #4f46e5 60%, #e11d48); color: #fff; }
.admin-body .ar-hero span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.admin-body .ar-hero h2 { margin: 4px 0; font-size: 26px; color: #fff; }
.admin-body .ar-hero p { margin: 0; max-width: 620px; font-size: 13px; opacity: .85; }
.admin-body .ar-hero nav { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-body .ar-hero nav button { padding: 9px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font-weight: 700; cursor: pointer; }
.admin-body .ar-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-body .ar-seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--ar-line); border-radius: 10px; background: var(--ar-soft); }
.admin-body .ar-seg button { padding: 7px 14px; border: 0; border-radius: 8px; background: transparent; color: var(--ar-mute); font-weight: 700; font-size: 13px; cursor: pointer; }
.admin-body .ar-seg button.is-on { background: var(--ar-bg); color: var(--ar-ink); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.admin-body .ar-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.admin-body .ar-chips button, .admin-body .ar-chips label { display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; border: 1px solid var(--ar-line); border-radius: 999px; background: var(--ar-bg); color: var(--ar-ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-body .ar-chips .is-on { border-color: var(--ar-brand); color: var(--ar-brand); }
.admin-body .ar-chips input { border: 0; background: transparent; color: inherit; font: inherit; font-size: 12px; }
.admin-body .ar-client { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; font-weight: 700; color: var(--ar-mute); }
.admin-body .ar-client select { padding: 7px 10px; border: 1px solid var(--ar-line); border-radius: 8px; background: var(--ar-bg); color: var(--ar-ink); font: inherit; font-size: 13px; }
.admin-body .ar-note { margin: 0; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--ar-click) 14%, var(--ar-bg)); font-size: 13px; }
.admin-body .ar-note.is-error { background: color-mix(in srgb, var(--ar-tv) 14%, var(--ar-bg)); }
.admin-body .ar-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.admin-body .ar-kpi { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--ar-line); border-radius: 14px; background: var(--ar-bg); border-top: 3px solid var(--ar-brand); }
.admin-body .ar-kpi.is-tv { border-top-color: var(--ar-tv); }
.admin-body .ar-kpi b { font-size: 24px; letter-spacing: -.02em; }
.admin-body .ar-kpi span { font-size: 13px; font-weight: 700; }
.admin-body .ar-kpi small { font-size: 11px; color: var(--ar-mute); }
.admin-body .ar-card { display: grid; gap: 12px; padding: 16px 18px; border: 1px solid var(--ar-line); border-radius: 16px; background: var(--ar-bg); min-width: 0; }
.admin-body .ar-card > header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.admin-body .ar-card h3 { margin: 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ar-mute); }
.admin-body .ar-card header small { font-size: 12px; color: var(--ar-mute); }
.admin-body .ar-chart { margin: 0; display: grid; gap: 6px; }
.admin-body .ar-chart svg { width: 100%; height: 170px; display: block; background: linear-gradient(var(--ar-line) 1px, transparent 1px) 0 0 / 100% 25%; }
.admin-body .ar-chart rect { fill: color-mix(in srgb, var(--ar-brand) 75%, transparent); }
.admin-body .ar-chart rect.is-tv { fill: color-mix(in srgb, var(--ar-tv) 75%, transparent); }
.admin-body .ar-chart rect:hover { fill: var(--ar-brand); }
.admin-body .ar-chart polyline { fill: none; stroke: var(--ar-click); stroke-width: 2.5; stroke-linejoin: round; }
.admin-body .ar-chart figcaption { display: flex; justify-content: space-between; font-size: 11px; color: var(--ar-mute); }
.admin-body .ar-legend { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; color: var(--ar-mute); }
.admin-body .ar-legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--ar-brand); }
.admin-body .ar-legend i.is-tv { background: var(--ar-tv); } .admin-body .ar-legend i.is-line { height: 3px; margin-left: 10px; background: var(--ar-click); }
.admin-body .ar-table-wrap { overflow-x: auto; }
.admin-body .ar-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-body .ar-table th { padding: 8px 10px; border-bottom: 1px solid var(--ar-line); text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ar-mute); white-space: nowrap; }
.admin-body .ar-table td { padding: 10px; border-bottom: 1px solid var(--ar-line); vertical-align: middle; white-space: nowrap; font-variant-numeric: tabular-nums; }
.admin-body .ar-table td:first-child { white-space: normal; min-width: 200px; }
.admin-body .ar-table td small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 3px; font-size: 11px; color: var(--ar-mute); }
.admin-body .ar-table tr:hover td { background: var(--ar-soft); }
.admin-body .ar-empty { text-align: center; color: var(--ar-mute); padding: 22px !important; }
.admin-body .ar-pill { padding: 2px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; background: color-mix(in srgb, var(--ar-brand) 14%, transparent); color: var(--ar-brand); }
.admin-body .ar-pill.is-tv { background: color-mix(in srgb, var(--ar-tv) 14%, transparent); color: var(--ar-tv); }
.admin-body .ar-link { padding: 0; border: 0; background: none; color: var(--ar-ink); font: inherit; text-align: left; cursor: pointer; }
.admin-body .ar-link:hover b { color: var(--ar-brand); text-decoration: underline; }
.admin-body .ar-card > header .ar-link { color: var(--ar-brand); font-size: 12px; font-weight: 700; }
.admin-body .ar-print { padding: 6px 10px; border: 1px solid var(--ar-line); border-radius: 8px; background: var(--ar-bg); color: var(--ar-ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-body .ar-print:hover { border-color: var(--ar-brand); color: var(--ar-brand); }
.admin-body .ar-foot { margin: 0; font-size: 11px; color: var(--ar-mute); }
@media (max-width: 760px) {
  .admin-body .ar-hero { padding: 18px; } .admin-body .ar-hero h2 { font-size: 22px; }
  .admin-body .ar-client { margin-left: 0; width: 100%; } .admin-body .ar-client select { flex: 1; }
  .admin-body .ar-chart svg { height: 130px; }
}

/* Studio: the lenta (sujet rundown) under the program monitor */
.admin-body .dsk-rd { border: 1px solid var(--c-line); border-radius: 12px; background: #0b0f17; padding: 10px 12px; transition: border-color .15s, background .15s; }
.admin-body .dsk-rd.is-over { border-color: #3b82f6; background: #0d1626; }
.admin-body .dsk-rd header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.admin-body .dsk-rd header b { color: var(--c-ink); font-size: 13px; }
.admin-body .dsk-rd header small { color: var(--c-soft); font-size: 11px; }
.admin-body .dsk-rd .rd-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.admin-body .dsk-rd .rd-auto { display: inline-flex; align-items: center; gap: 5px; color: var(--c-soft); font-size: 11px; cursor: pointer; }
.admin-body .dsk-rd .rd-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 4px; min-height: 64px; align-items: stretch; }
.admin-body .dsk-rd .rd-empty { margin: auto 0; }
.admin-body .rd-card { position: relative; flex: 0 0 112px; display: grid; gap: 3px; padding: 5px; border: 1px solid var(--c-line2); border-radius: 9px; background: #151b27; cursor: pointer; user-select: none; }
.admin-body .rd-card:hover { border-color: #475569; }
.admin-body .rd-card img, .admin-body .rd-card > i { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; background: #05070a; display: grid; place-items: center; font-style: normal; font-size: 18px; }
.admin-body .rd-card b { color: var(--c-ink); font-size: 11px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.admin-body .rd-card small { color: var(--c-soft); font-size: 10px; font-family: var(--c-mono); }
.admin-body .rd-card .rd-n { position: absolute; top: 8px; left: 8px; z-index: 1; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; background: rgba(0,0,0,.75); color: #fff; font: 700 10px/18px var(--c-mono); text-align: center; }
.admin-body .rd-card .rd-x { position: absolute; top: 6px; right: 6px; z-index: 1; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 10px; cursor: pointer; opacity: 0; transition: opacity .12s; }
.admin-body .rd-card:hover .rd-x, .admin-body .rd-card .rd-x:focus { opacity: 1; }
.admin-body .rd-card .rd-x:hover { background: #dc2626; }
.admin-body .rd-card.is-cur { border-color: #3b82f6; box-shadow: 0 0 0 1px #3b82f6; }
.admin-body .rd-card.is-cur small { color: #60a5fa; }
.admin-body .rd-card.is-air { border-color: #ef4444; box-shadow: 0 0 0 1px #ef4444; }
.admin-body .rd-card.is-air small { color: #f87171; }
.admin-body .rd-card.is-done { opacity: .5; }
.admin-body .rd-card.is-bad { opacity: .4; }
.admin-body .rd-card.is-before { box-shadow: -4px 0 0 #3b82f6; }
.admin-body .dsk-sj .rd-add { justify-self: start; }
.admin-body .sj-pvbar .sj-pvx { width: 22px; height: 22px; margin-left: 2px; background: rgba(255,255,255,.12); font-size: 10px; }
.admin-body .sj-pvbar .sj-pvx:hover { background: #dc2626; }
/* A reporter who switched their own microphone or camera off on their page */
.admin-body .ctl2-tile .ctl2-self { position: absolute; left: 6px; right: 6px; top: 50%; transform: translateY(-50%); z-index: 3; padding: 4px 6px; border-radius: 6px; background: rgba(127,29,29,.92); color: #fecaca; font: 700 10.5px/1.25 var(--c-mono); text-align: center; pointer-events: none; }
.admin-body .dsk-snd-warn.is-self { border-color: #7f1d1d; background: #2a1212; color: #fecaca; }

/* The viewer's player while the feed comes back after a server or stream restart */
.tvp-player .tvp-reconnect { position: absolute; left: 50%; top: 50%; z-index: 6; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font: 600 14px/1.2 system-ui, sans-serif; pointer-events: none; }
.tvp-player .tvp-reconnect i { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: tvp-spin .8s linear infinite; }
@keyframes tvp-spin { to { transform: rotate(360deg); } }

/* Studio: the air background (fon) gallery */
.admin-body .dsk-sl { border: 1px solid var(--c-line); border-radius: 12px; background: #0b0f17; padding: 10px 12px; }
.admin-body .dsk-sl header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.admin-body .dsk-sl header b { color: var(--c-ink); font-size: 13px; }
.admin-body .dsk-sl header small { color: var(--c-soft); font-size: 11px; flex: 1 1 260px; }
.admin-body .dsk-sl .sl-up { margin-left: auto; cursor: pointer; }
.admin-body .dsk-sl .sl-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 4px; }
.admin-body .sl-card { position: relative; flex: 0 0 168px; display: grid; gap: 3px; padding: 5px; border: 2px solid var(--c-line2); border-radius: 10px; background: #151b27; cursor: pointer; text-align: left; }
.admin-body .sl-card:hover { border-color: #475569; }
.admin-body .sl-card.is-on { border-color: #22c55e; box-shadow: 0 0 0 1px #22c55e; cursor: default; }
.admin-body .sl-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #05070a; }
.admin-body .sl-card b { color: var(--c-ink); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .sl-card small { color: var(--c-soft); font-size: 10.5px; }
.admin-body .sl-card.is-on small { color: #4ade80; font-weight: 700; }
.admin-body .sl-card .sl-x { position: absolute; top: 9px; right: 9px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 11px; cursor: pointer; opacity: 0; transition: opacity .12s; }
.admin-body .sl-card:hover .sl-x { opacity: 1; }
.admin-body .sl-card .sl-x:hover { background: #dc2626; }
.admin-body .dsk-in .in-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.admin-body .dsk-in select { flex: 1 1 240px; min-width: 0; max-width: 420px; height: 32px; border: 1px solid var(--c-line); border-radius: 8px; background: #111827; color: var(--c-ink); padding: 0 8px; font: inherit; font-size: 12.5px; }
.admin-body .dsk-in .in-chk { display: inline-flex; align-items: center; gap: 6px; color: var(--c-ink); font-size: 12.5px; cursor: pointer; }
.admin-body .dsk-in .in-go { margin-left: auto; }
.admin-body .dsk-in .in-go.is-on { background: #b91c1c; border-color: #b91c1c; color: #fff; opacity: 1; }
/* Efir fonu in the left column, under the preview: a compact two-column gallery. */
.admin-body .dsk-side .dsk-sl { padding: 8px; border-radius: 10px; }
.admin-body .dsk-side .dsk-sl header { flex-wrap: nowrap; gap: 6px; margin-bottom: 4px; cursor: help; }
.admin-body .dsk-side .dsk-sl header b { font-size: 12px; }
.admin-body .dsk-side .dsk-sl .sl-up { padding: 0 8px; height: 24px; font-size: 11px; }
.admin-body .dsk-side .dsk-sl .sl-note { display: block; color: var(--c-soft); font-size: 10.5px; line-height: 1.3; margin-bottom: 6px; }
.admin-body .dsk-side .dsk-sl .sl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 0; }
.admin-body .dsk-side .sl-card { gap: 2px; padding: 3px; border-radius: 8px; }
.admin-body .dsk-side .sl-card img { border-radius: 5px; }
.admin-body .dsk-side .sl-card b { font-size: 10.5px; }
.admin-body .dsk-side .sl-card small { font-size: 9.5px; }
.admin-body .dsk-side .sl-card .sl-x { top: 6px; right: 6px; width: 18px; height: 18px; font-size: 9px; }
@media (max-width: 1200px) { .admin-body .dsk-side .dsk-sl { grid-column: 1 / -1; } .admin-body .dsk-side .dsk-sl .sl-row { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } }
/* Efir planı: the automatic intro between shows. */
.admin-body .pl-intro { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 2px 24px; padding: 4px 12px; border-radius: 9px; border: 1px dashed rgba(229, 9, 20, .55); background: rgba(229, 9, 20, .08); color: #fca5a5; font-size: 12px; font-weight: 600; }
.admin-body .pl-intro small { margin-left: auto; color: var(--x-soft, #94a3b8); font-weight: 500; font-variant-numeric: tabular-nums; }
.admin-body .pl-intro .tva-icon { width: 22px; height: 22px; min-width: 22px; font-size: 14px; }
.admin-body .pl-intro.is-ad { border-color: rgba(245, 158, 11, .6); background: rgba(245, 158, 11, .09); color: #fcd34d; }
.admin-body .pl-intro.is-off { border-color: rgba(148, 163, 184, .4); background: transparent; color: var(--x-soft, #94a3b8); font-weight: 500; }
.admin-body .pl-introtg.is-on { background: #b91c1c; border-color: #b91c1c; color: #fff; }

/* Efir planı: a video's part for the plan, chosen on a strip of frames */
.admin-body .pl-gap { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-body .pl-gap-add { flex: none; height: 28px; padding: 0 12px; border: 1px dashed var(--x-line-2); border-radius: 8px; background: transparent; color: var(--x-ink); font: inherit; font-size: 12.5px; font-weight: 650; cursor: pointer; }
.admin-body .pl-gap-add:hover { border-style: solid; background: var(--x-hover); }
.admin-body .pl-trim { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 16px; background: rgba(4,5,8,.72); }
.admin-body .pl-trim-box { display: grid; gap: 12px; width: min(760px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 18px; border: 1px solid var(--x-line-2); border-radius: var(--x-r); background: var(--x-raise); color: var(--x-ink); box-sizing: border-box; }
.admin-body .pl-trim-box header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.admin-body .pl-trim-box h3 { margin: 0; font-size: 17px; }
.admin-body .pl-trim-box header p { margin: 3px 0 0; color: var(--x-soft); font-size: 13px; overflow-wrap: anywhere; }
.admin-body .pl-trim-stage { aspect-ratio: 16 / 9; max-height: 42dvh; margin: 0 auto; width: 100%; overflow: hidden; border-radius: 12px; background: #000; }
.admin-body .pl-trim-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.admin-body .pl-trim-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.admin-body .pl-trim-bar span { font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-body .pl-trim-bar small { color: var(--x-mute); font-size: 12.5px; }
.admin-body .pl-trim-track { position: relative; height: 68px; border-radius: 10px; overflow: hidden; background: var(--x-surface-2); touch-action: none; cursor: pointer; user-select: none; }
.admin-body .pl-trim-track canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.admin-body .pl-trim-track > u { position: absolute; top: 0; bottom: 0; background: rgba(4,5,8,.68); pointer-events: none; }
.admin-body .pl-trim-track > u.is-l { left: 0; }
.admin-body .pl-trim-track > u.is-r { right: 0; }
.admin-body .pl-trim-sel { position: absolute; top: 0; bottom: 0; box-sizing: border-box; min-width: 28px; border-block: 3px solid var(--x-amber); cursor: grab; }
.admin-body .pl-trim-sel:active { cursor: grabbing; }
.admin-body .pl-trim-sel i { position: absolute; top: -3px; bottom: -3px; width: 14px; background: var(--x-amber); cursor: ew-resize; }
.admin-body .pl-trim-sel i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 2px; height: 20px; border-radius: 2px; background: #0a0b0f; transform: translate(-50%, -50%); }
.admin-body .pl-trim-sel i.is-l { left: 0; border-radius: 8px 0 0 8px; }
.admin-body .pl-trim-sel i.is-r { right: 0; border-radius: 0 8px 8px 0; }
.admin-body .pl-trim-track > b { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 4px rgba(0,0,0,.8); pointer-events: none; }
.admin-body .pl-trim-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.admin-body .pl-trim-fields label { display: grid; gap: 4px; color: var(--x-soft); font-size: 12.5px; }
.admin-body .pl-trim-fields input, .admin-body .pl-trim-fields output { box-sizing: border-box; width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--x-line-2); border-radius: 9px; background: var(--x-surface-2); color: var(--x-ink); font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; line-height: 36px; }
.admin-body .pl-trim-fields output { border-color: transparent; background: transparent; padding: 0; font-weight: 700; }
.admin-body .pl-trim-warn { margin: 0; color: var(--x-amber); font-size: 13px; }
.admin-body .pl-trim-box footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-body .pl-trim-box footer span { flex: 1; }
.admin-body .pl-trim-find { box-sizing: border-box; width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--x-line-2); border-radius: 10px; background: var(--x-surface-2); color: var(--x-ink); font: inherit; }
.admin-body .pl-trim-list { display: grid; gap: 6px; max-height: 52dvh; overflow: auto; }
.admin-body .pl-trim-list button { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.admin-body .pl-trim-list button:hover { background: var(--x-hover); }
.admin-body .pl-trim-list img, .admin-body .pl-trim-list button > i { display: grid; place-items: center; width: 80px; aspect-ratio: 16 / 9; border-radius: 7px; object-fit: cover; background: var(--x-surface-2); color: var(--x-mute); font-style: normal; }
.admin-body .pl-trim-list b { overflow: hidden; font-size: 13.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .pl-trim-list small { color: var(--x-mute); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .admin-body .pl-trim-bar small { flex-basis: 100%; } .admin-body .pl-trim-box { padding: 14px; } }
.admin-body .pl-bin-card .pl-thumb { position: relative; }
.admin-body .pl-inplan { position: absolute; top: 4px; left: 4px; padding: 2px 6px; border-radius: 6px; background: var(--x-green); color: #06281a; font-size: 10.5px; font-style: normal; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.admin-body .pl-bin-card.is-used .pl-bin-meta small { color: var(--x-green); }

/* Media library cards */
.admin-body .md-grid { grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 16px; }
.admin-body .md-card { background: var(--x-raise, #12141b); }
.admin-body .md-info { display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 13px 14px 12px; }
.admin-body .md-title { min-height: calc(2 * 1.35em); }
.admin-body .tva.studio .md-card label.md-gsel { align-self: flex-start; }
.admin-body .md-tags { margin-top: auto; padding-top: 4px; }
.admin-body .md-actions { padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.07); }
.admin-body .md-actions > span { gap: 6px; flex: none; }
.admin-body .md-actions .tva-btn.small { padding: 0 11px; white-space: nowrap; font-size: 12.5px; }
.admin-body .tva.studio .md-actions .tva-icon { width: 34px; height: 34px; border-color: rgba(255,255,255,.14) !important; background: rgba(255,255,255,.06) !important; color: #e4e7ee !important; }
.admin-body .tva.studio .md-actions .tva-icon:hover:not(:disabled) { background: rgba(255,255,255,.14) !important; color: #fff !important; }
.admin-body .tva.studio .md-actions .tva-icon.danger { border-color: rgba(255,59,74,.5) !important; background: rgba(255,59,74,.16) !important; color: #ff8d97 !important; }
.admin-body .tva.studio .md-actions .tva-icon.danger:hover:not(:disabled) { border-color: #ff3b4a !important; background: #e5232f !important; color: #fff !important; }
.admin-body .tva.studio .md-actions .tva-icon:disabled { opacity: .35; }
.admin-body .md-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border: 2px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; transform: translate(-50%, -50%); transition: transform .15s, background .15s, border-color .15s; }
.admin-body .md-play:hover { border-color: #fff; background: #e5232f; transform: translate(-50%, -50%) scale(1.08); }
.admin-body .md-play:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* 30-second preview */
.admin-body .md-pv { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; background: rgba(4,5,9,.8); }
.admin-body .md-pv-box { width: min(860px, 100%); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: #12141b; color: #f4f5f8; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.admin-body .md-pv-box > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px 12px 18px; }
.admin-body .md-pv-box > header div { display: grid; gap: 2px; min-width: 0; }
.admin-body .md-pv-box > header b { overflow: hidden; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .md-pv-box > header small { color: #9aa1ae; font-size: 12px; }
.admin-body .md-pv-x { flex: none; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: rgba(255,255,255,.06); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.admin-body .md-pv-x:hover { background: rgba(255,255,255,.14); }
.admin-body .md-pv-screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.admin-body .md-pv-screen video { display: block; width: 100%; height: 100%; cursor: pointer; }
.admin-body .md-pv-wait { position: absolute; left: 50%; top: 50%; display: none; color: #cfd3dc; font-size: 14px; transform: translate(-50%, -50%); }
.admin-body .md-pv.is-wait .md-pv-wait { display: block; }
.admin-body .md-pv-end { position: absolute; inset: 0; display: none; place-content: center; justify-items: center; gap: 14px; background: rgba(0,0,0,.7); }
.admin-body .md-pv.is-done .md-pv-end { display: grid; }
.admin-body .md-pv.is-done .md-pv-wait { display: none; }
.admin-body .md-pv-end b { font-size: 17px; }
.admin-body .md-pv-end button { height: 40px; padding: 0 18px; border: 0; border-radius: 11px; background: #e5232f; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.admin-body .md-pv-box > footer { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.admin-body .md-pv-btn { flex: none; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: rgba(255,255,255,.06); color: #fff; font-size: 13px; cursor: pointer; }
.admin-body .md-pv-btn:hover { background: rgba(255,255,255,.14); }
.admin-body .md-pv-bar { flex: 1; height: 6px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.14); }
.admin-body .md-pv-bar u { display: block; width: 0; height: 100%; background: #e5232f; transition: width .25s linear; }
.admin-body .md-pv-box time { color: #cfd3dc; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-body .md-pv-box input[type="range"] { flex: none; width: 90px; accent-color: #e5232f; }
@media (max-width: 560px) { .admin-body .md-pv-box input[type="range"] { display: none; } }

/* Where the broadcast is going out */
.admin-body .ls-where { margin-bottom: 14px; }
.admin-body .ls-where ul { display: grid; gap: 2px; margin: 8px 0 0; padding: 0; list-style: none; }
.admin-body .ls-where li { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; grid-template-areas: "dot name count" ". state count"; align-items: center; column-gap: 10px; padding: 8px 0; border-top: 1px solid var(--x-line); }
.admin-body .ls-where li:first-child { border-top: 0; }
.admin-body .ls-where li > i { grid-area: dot; width: 9px; height: 9px; border-radius: 50%; background: #64748b; }
.admin-body .ls-where li.is-ok > i { background: var(--x-green); }
.admin-body .ls-where li.is-wait > i { background: var(--x-amber); }
.admin-body .ls-where li.is-bad > i { background: var(--x-red); }
.admin-body .ls-where li > b { grid-area: name; font-size: 14px; }
.admin-body .ls-where li > span { grid-area: state; color: var(--x-mute); font-size: 12.5px; }
.admin-body .ls-where li.is-bad > span { color: #ff8d97; font-weight: 600; }
.admin-body .ls-where li > em, .admin-body .ls-where li > button { grid-area: count; justify-self: end; }
.admin-body .ls-where li > em { color: var(--x-soft); font-size: 13px; font-style: normal; white-space: nowrap; }
.admin-body .ls-where li > em b { color: var(--x-ink); font-size: 18px; font-variant-numeric: tabular-nums; }
.admin-body .ls-where li > em.is-none { color: var(--x-mute); font-size: 12px; }

/* "Harada yayımlansın?": each platform with its problem */
.admin-body .ls-target-list { display: grid; gap: 8px; width: 100%; }
.admin-body .ls-target { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.admin-body .ls-target label { flex: 0 0 140px; }
.admin-body .ls-target label span { width: 100%; box-sizing: border-box; }
.admin-body .ls-target input:disabled + span { opacity: .45; cursor: not-allowed; }
.admin-body .ls-target p { display: flex; flex: 1 1 200px; align-items: center; gap: 8px; min-width: 0; margin: 0; color: var(--x-soft); font-size: 13px; line-height: 1.35; }
.admin-body .ls-target p i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #64748b; }
.admin-body .ls-target.is-ok p i { background: var(--x-green); }
.admin-body .ls-target.is-warn p i { background: var(--x-amber); }
.admin-body .ls-target.is-bad p i { background: var(--x-red); }
.admin-body .ls-target.is-warn p { color: #ffd479; }
.admin-body .ls-target.is-bad p { color: #ff8d97; font-weight: 600; }
.admin-body .ls-target-fix { flex: none; height: 34px; padding: 0 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.admin-body .ls-target-fix:hover { background: rgba(255,255,255,.16); }
.admin-body .ls-target.is-bad .ls-target-fix { border-color: transparent; background: #e5232f; }
.admin-body .ls-target.is-bad .ls-target-fix:hover { background: #ff3b4a; }
.admin-body .ls-where-note { margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--x-line); color: var(--x-soft); font-size: 12.5px; line-height: 1.45; }

/* Monitorinq: site, Cloudflare, VPS and TV feed health */
.admin-body .mon-page { --ok: #16a34a; --warn: #d97706; --bad: #dc2626; --muted: #94a3b8; }
/* Redrawn every 10 s: no entrance animation, or the page would blink. */
.admin-body .mon-page > * { animation: none; }
.admin-body .mon-btn { height: 32px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 9px; background: #fff; color: var(--st-ink); font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.admin-body .mon-btn:hover { border-color: var(--st-accent); color: var(--st-accent); }
.admin-body .mon-btn:disabled { opacity: .6; cursor: default; }
.admin-body .mon-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-body .mon-status { display: flex; align-items: center; gap: 12px; }
.admin-body .mon-status i { width: 14px; height: 14px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 5px color-mix(in srgb, var(--muted) 20%, transparent); }
.admin-body .mon-status.is-ok i { background: var(--ok); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 20%, transparent); animation: mon-beat 2s ease-in-out infinite; }
.admin-body .mon-status.is-bad i { background: var(--bad); box-shadow: 0 0 0 5px color-mix(in srgb, var(--bad) 22%, transparent); animation: mon-beat 1s ease-in-out infinite; }
.admin-body .mon-status b { display: block; font-size: 18px; }
.admin-body .mon-status small { color: var(--st-muted); font-size: 13px; }
@keyframes mon-beat { 50% { transform: scale(.8); } }
.admin-body .mon-problems { margin: 0; padding: 12px 16px 12px 34px; border: 1px solid #fecaca; border-radius: 12px; background: #fef2f2; color: #991b1b; font-size: 14px; display: grid; gap: 4px; }
.admin-body .mon-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.admin-body .mon-kpi { --tone: var(--muted); display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--st-line); border-left: 4px solid var(--tone); border-radius: 14px; background: var(--st-card); min-width: 0; }
.admin-body .mon-kpi.is-ok { --tone: var(--ok); }
.admin-body .mon-kpi.is-warn { --tone: var(--warn); }
.admin-body .mon-kpi.is-bad { --tone: var(--bad); }
.admin-body .mon-kpi span { color: var(--st-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.admin-body .mon-kpi b { font-size: 24px; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--tone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .mon-kpi small { color: var(--st-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Cards of different heights: balanced columns, so no empty holes between them. */
.admin-body .mon-grid { columns: 3; column-gap: 18px; }
.admin-body .mon-grid > .mon-card { break-inside: avoid; margin-bottom: 18px; width: 100%; }
.admin-body .mon-setup { display: grid; gap: 8px; padding: 14px 16px; border: 1px dashed #f59e0b; border-radius: 12px; background: #fffbeb; color: #78350f; font-size: 14px; }
.admin-body .mon-setup p { margin: 0; }
.admin-body .mon-setup pre { margin: 0; padding: 10px 12px; border-radius: 8px; background: #0f172a; color: #e2e8f0; font-size: 13px; white-space: pre-wrap; word-break: break-all; }
.admin-body .mon-setup small { color: #92400e; }
.admin-body .mon-vps .mon-charts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-body .mon-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: #f1f5f9; color: #475569; }
.admin-body .mon-pill.is-ok { background: #dcfce7; color: #166534; }
.admin-body .mon-pill.is-warn { background: #fef3c7; color: #92400e; }
.admin-body .mon-pill.is-bad { background: #fee2e2; color: #991b1b; }
.admin-body .mon-gauges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.admin-body .mon-gauge { display: grid; gap: 6px; min-width: 0; }
.admin-body .mon-gauge header { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.admin-body .mon-gauge header span { color: var(--st-muted); font-weight: 600; }
.admin-body .mon-gauge small { color: var(--st-muted); font-size: 12px; }
.admin-body .mon-page b.is-ok { color: var(--ok); }
.admin-body .mon-page b.is-warn, .admin-body .mon-page td.is-warn { color: var(--warn); }
.admin-body .mon-page b.is-bad, .admin-body .mon-page td.is-bad { color: var(--bad); }
.admin-body .mon-bar { height: 8px; border-radius: 99px; background: #eef2f7; overflow: hidden; }
.admin-body .mon-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ok); transition: width .5s; }
.admin-body .mon-bar.is-warn i { background: var(--warn); }
.admin-body .mon-bar.is-bad i { background: var(--bad); }
.admin-body .mon-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-body .mon-charts > div { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--st-line); border-radius: 12px; background: var(--st-soft); }
.admin-body .mon-charts header { display: flex; justify-content: space-between; font-size: 13px; color: var(--st-muted); }
.admin-body .mon-charts header b { color: var(--st-ink); font-variant-numeric: tabular-nums; }
.admin-body .mon-spark { display: block; width: 100%; height: 56px; }
.admin-body .mon-spark.is-empty { display: grid; place-items: center; height: 44px; color: var(--st-muted); font-size: 12px; }
.admin-body .mon-foot { margin: 0; color: var(--st-muted); font-size: 12px; }
.admin-body .mon-sub { margin: 4px 0 -6px; font-size: 12px; color: var(--st-muted); text-transform: uppercase; letter-spacing: .04em; }
.admin-body .mon-list { margin: 0; padding: 0; list-style: none; display: grid; }
.admin-body .mon-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--st-line); font-size: 13px; }
.admin-body .mon-list li:last-child { border-bottom: 0; }
.admin-body .mon-list li span { color: var(--st-muted); }
.admin-body .mon-list li b { text-align: right; font-variant-numeric: tabular-nums; }
.admin-body .mon-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-body .mon-table td { padding: 7px 6px; border-bottom: 1px solid var(--st-line); vertical-align: middle; }
.admin-body .mon-table tr:last-child td { border-bottom: 0; }
.admin-body .mon-table td:first-child { color: var(--st-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.admin-body .mon-table td small { display: block; color: var(--st-muted); font-size: 11px; word-break: break-all; }
.admin-body .mon-table td.is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-body .mon-days { display: flex; align-items: flex-end; gap: 3px; height: 90px; padding-top: 6px; }
.admin-body .mon-days i { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 1px; }
.admin-body .mon-days b, .admin-body .mon-days em { flex: 1; min-height: 1px; border-radius: 2px 2px 0 0; }
.admin-body .mon-days b, .admin-body .mon-key.is-tx { background: #f97316; }
.admin-body .mon-days em, .admin-body .mon-key.is-rx { background: #22c55e; }
.admin-body .mon-key { display: inline-block; width: 10px; height: 10px; margin: 0 4px 0 8px; border-radius: 2px; vertical-align: -1px; }
.admin-body .mon-events { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; max-height: 360px; overflow: auto; }
.admin-body .mon-events li { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--st-soft); border-left: 3px solid var(--muted); font-size: 13px; }
.admin-body .mon-events li.is-ok { border-left-color: var(--ok); }
.admin-body .mon-events li.is-warn { border-left-color: var(--warn); }
.admin-body .mon-events li.is-bad { border-left-color: var(--bad); }
.admin-body .mon-events time { color: var(--st-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-body .mon-empty { margin: 0; color: var(--st-muted); font-size: 13px; }
.admin-body .mon-page code { padding: 1px 5px; border-radius: 5px; background: #e0e7ff; font-size: 12px; }
@media (max-width: 1400px) { .admin-body .mon-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .admin-body .mon-grid { columns: 2; } .admin-body .mon-vps .mon-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-body .mon-gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .admin-body .mon-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-body .mon-grid { columns: 1; } .admin-body .mon-charts, .admin-body .mon-vps .mon-charts { grid-template-columns: 1fr; } }
/* Monitorinq in the panel's dark mode (☾) */
.admin-body.admin-dark .mon-page { --st-ink: #e2e8f0; --st-muted: #94a3b8; --st-line: #23314a; --st-soft: #131d31; --st-card: #182235; }
/* Inside the TV studio (always dark) the page takes the studio's surfaces. */
.admin-body .tva.studio .mon-page { --st-ink: var(--x-ink); --st-muted: var(--x-mute); --st-line: var(--x-line); --st-soft: rgba(255,255,255,.03); --st-card: rgba(255,255,255,.035); --st-accent: var(--x-blue); }
.admin-body .tva.studio .mon-page .st-card, .admin-body .tva.studio .mon-kpi { box-shadow: inset 0 1px 0 rgba(255,255,255,.04); border-radius: 18px; }
.admin-body .tva.studio .mon-page h3 { font-size: 16px; }
.admin-body.admin-dark .mon-btn, .admin-body .tva.studio .mon-btn { background: #182235; color: #e2e8f0; }
.admin-body.admin-dark .mon-bar, .admin-body .tva.studio .mon-bar { background: #23314a; }
.admin-body.admin-dark .mon-pill, .admin-body .tva.studio .mon-pill { background: #23314a; color: #cbd5e1; }
.admin-body.admin-dark .mon-pill.is-ok, .admin-body .tva.studio .mon-pill.is-ok { background: rgba(22,163,74,.18); color: #86efac; }
.admin-body.admin-dark .mon-pill.is-warn, .admin-body .tva.studio .mon-pill.is-warn { background: rgba(217,119,6,.2); color: #fcd34d; }
.admin-body.admin-dark .mon-pill.is-bad, .admin-body .tva.studio .mon-pill.is-bad { background: rgba(220,38,38,.2); color: #fca5a5; }
.admin-body.admin-dark .mon-problems, .admin-body .tva.studio .mon-problems { background: rgba(220,38,38,.12); border-color: rgba(220,38,38,.35); color: #fca5a5; }
.admin-body.admin-dark .mon-setup, .admin-body .tva.studio .mon-setup { background: rgba(245,158,11,.1); color: #fde68a; }
.admin-body.admin-dark .mon-setup small, .admin-body .tva.studio .mon-setup small { color: #fcd34d; }
.admin-body.admin-dark .mon-page code, .admin-body .tva.studio .mon-page code { background: #23314a; color: #c7d2fe; }

/* "Harada yayımlansın?": five equal platform cards */
.admin-body .ls-targets .ls-tgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: 100%; }
.admin-body .ls-tcard { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--x-line-2); border-radius: 14px; background: var(--x-surface); transition: border-color .15s, background .15s, box-shadow .15s; }
.admin-body .ls-tcard label { display: grid; grid-template-columns: auto 1fr auto; align-content: start; align-items: center; gap: 10px; padding: 14px; cursor: pointer; flex: 1; }
.admin-body .ls-tcard .ls-tlogo { grid-area: 1 / 1; }
.admin-body .ls-tcard .ls-ttick { grid-area: 1 / 3; }
.admin-body .ls-tcard b { grid-area: 2 / 1 / 3 / 4; }
.admin-body .ls-tcard small { grid-area: 3 / 1 / 4 / 4; }
.admin-body .ls-tcard .ls-tlogo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; font: 800 13px/1 inherit; font-style: normal; letter-spacing: -.02em; }
.admin-body .ls-tcard b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; font-size: 15px; font-weight: 700; color: var(--x-ink); }
.admin-body .ls-tcard .ls-ttick { width: 20px; height: 20px; border: 1.5px solid var(--x-line-2); border-radius: 6px; transition: all .15s; }
.admin-body .ls-tcard small { display: flex; align-items: flex-start; gap: 7px; min-height: 32px; margin-top: -4px; color: var(--x-soft); font-size: 12px; line-height: 1.35; }
.admin-body .ls-tcard small i { flex: none; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #64748b; }
.admin-body .ls-tcard.is-ok small i { background: var(--x-green); }
.admin-body .ls-tcard.is-warn small i { background: var(--x-amber); }
.admin-body .ls-tcard.is-warn small { color: #ffd479; }
.admin-body .ls-tcard.is-bad small i { background: var(--x-red); }
.admin-body .ls-tcard.is-bad small { color: #ff8d97; font-weight: 600; }
.admin-body .ls-tcard:hover:not(.is-disabled) { border-color: rgba(255,255,255,.22); background: var(--x-surface-2); }
.admin-body .ls-tcard:has(input:checked) { border-color: rgba(34,197,94,.55); background: rgba(34,197,94,.08); box-shadow: inset 0 0 0 1px rgba(34,197,94,.25); }
.admin-body .ls-tcard input:checked ~ .ls-ttick { border-color: var(--x-green); background: var(--x-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.admin-body .ls-tcard.is-disabled label { cursor: not-allowed; }
.admin-body .ls-tcard.is-disabled .ls-tlogo, .admin-body .ls-tcard.is-disabled b, .admin-body .ls-tcard.is-disabled .ls-ttick { opacity: .4; }
.admin-body .ls-tfix { margin: 0 10px 10px; height: 32px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(255,255,255,.07); color: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-body .ls-tfix:hover { background: rgba(255,255,255,.15); }
.admin-body .ls-tcard.is-bad .ls-tfix { border-color: transparent; background: #e5232f; }
@container studio (max-width: 1100px) { .admin-body .ls-targets .ls-tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container studio (max-width: 640px) { .admin-body .ls-targets .ls-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Canlı yayım studiyası: the same card language as Efir planı =====
   One surface (soft top-lit gradient), one border, 20 px corners for sections and 16 px inside them,
   one heading style, a red glow on the page header and the Efir planı "selected" look for chosen items. */
.admin-body .tva.studio.ls { --ls-card: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018)); --ls-inner: rgba(255,255,255,.03); --ls-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 48px -32px rgba(0,0,0,.85); gap: 18px; }
.admin-body .tva.studio.ls :is(.ls-head, .ls-setup-main, .ls-check, .ctl2-bar, .ctl2-panel, .ls-where) { border: 1px solid var(--x-line); border-radius: 20px; background: var(--ls-card); box-shadow: var(--ls-shadow); }
.admin-body .tva.studio.ls .ls-head { background: radial-gradient(120% 160% at 0% 0%, rgba(255,59,74,.22), transparent 55%), var(--ls-card); }
.admin-body .tva.studio.ls :is(.ls-setup-main, .ls-check) { padding: 22px; }
.admin-body .tva.studio.ls .ls-setup { gap: 18px; }
.admin-body .tva.studio.ls .ctl2-panel { padding: 20px; }
.admin-body .tva.studio.ls .ctl2 { display: grid; gap: 18px; }
.admin-body .tva.studio.ls :is(.dsk-stage, .ctl2-lower) { margin-top: 0; gap: 16px; }
.admin-body .tva.studio.ls .ctl2-lower { align-items: stretch; }

/* Inner blocks of the control room (sources, lenta, sujets, background, sound, monitors) */
.admin-body .tva.studio.ls :is(.dsk-sl, .dsk-rd, .dsk-sjs, .dsk-sound, .ctl2-out, .ctl2-mon, .ctl2-tile.is-add) { border: 1px solid var(--x-line); border-radius: 16px; background: var(--ls-card); box-shadow: var(--ls-shadow); }
.admin-body .tva.studio.ls :is(.dsk-sl, .dsk-rd, .dsk-sjs, .dsk-sound) { padding: 14px 16px; }
.admin-body .tva.studio.ls .ctl2-mon.is-pgm { border-color: rgba(255,59,74,.35); box-shadow: 0 0 0 1px rgba(255,59,74,.12), 0 24px 48px -28px rgba(255,59,74,.35); }

/* Headings: a title and a quiet line under it, everywhere */
.admin-body .tva.studio.ls :is(.ctl2-panel, .dsk-sl, .dsk-rd, .dsk-sjs, .dsk-sound) > header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 14px; }
.admin-body .tva.studio.ls :is(.ctl2-panel > header h3, .ls-check > h3, .dsk-sl > header b, .dsk-rd > header b, .dsk-sjs > header b, .dsk-sound > header b) { margin: 0; color: var(--x-ink); font-size: 16px; font-weight: 650; letter-spacing: -.01em; text-transform: none; }
.admin-body .tva.studio.ls :is(.ctl2-panel, .dsk-sl, .dsk-rd, .dsk-sjs, .dsk-sound) > header small { color: var(--x-mute); font-size: 12.5px; line-height: 1.45; }
.admin-body .tva.studio.ls :is(.ls-field > span, .ls-source legend, .ls-targets legend) { color: var(--x-soft); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* Choices: layouts, signal source, theme pills: the Efir planı "selected day" look */
.admin-body .tva.studio.ls .ctl2-lay { border: 1px solid var(--x-line); border-radius: 16px; background: var(--ls-inner); padding: 10px; transition: transform .15s, border-color .15s, background .15s; }
.admin-body .tva.studio.ls .ctl2-lay:hover { transform: translateY(-2px); border-color: var(--x-line-2); background: rgba(255,255,255,.05); }
.admin-body .tva.studio.ls .ctl2-lay.is-on { border-color: rgba(255,59,74,.6); background: linear-gradient(180deg, rgba(255,59,74,.2), rgba(255,59,74,.05)); box-shadow: none; }
.admin-body .tva.studio.ls .ls-source label > span { border-radius: 16px; }
.admin-body .tva.studio.ls :is(.ls-tcard, .ls-field input) { border-radius: 16px; }

/* Tabs under the setup: the studio's pill bar */
.admin-body .tva.studio.ls .ls-tabs { border: 1px solid var(--x-line); border-radius: 18px; background: rgba(0,0,0,.28); }
.admin-body .tva.studio.ls .ls-tabs button { border-radius: 13px; }

/* Efir planı · "Bu günün efiri": the text on the left, what is on air now on the right, inside the same card */
.admin-body .pl-head > .pl-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.admin-body .pl-hero-text { min-width: 0; }
.admin-body .pl-hero-now { display: grid; gap: 10px; width: 240px; margin: 0; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(0,0,0,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.admin-body .pl-hero-shot { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 11px; background: linear-gradient(135deg, hsl(var(--h) 45% 22%), #0b0d12); }
.admin-body .pl-hero-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-body .pl-hero-shot > span { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.6); font-size: 22px; }
.admin-body .pl-hero-live { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 7px; background: rgba(229,17,42,.92); color: #fff; font: 800 10px/1 inherit; font-style: normal; letter-spacing: .12em; box-shadow: 0 6px 16px -6px rgba(229,17,42,.8); }
.admin-body .pl-hero-live b { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pl-hero-blink 1.4s ease-in-out infinite; }
@keyframes pl-hero-blink { 50% { opacity: .25; } }
.admin-body .pl-hero-shot em { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.7); color: #fff; font: 700 11px/1 inherit; font-style: normal; font-variant-numeric: tabular-nums; }
.admin-body .pl-hero-now figcaption { display: grid; gap: 8px; padding: 0 2px 2px; min-width: 0; }
.admin-body .pl-hero-now figcaption b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--x-ink, #fff); font-size: 14px; font-weight: 700; }
.admin-body .pl-hero-bar { display: block; height: 4px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.admin-body .pl-hero-bar::before { content: ""; display: block; width: var(--p); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff3b4a, #ff8a3d); }
@media (max-width: 760px) { .admin-body .pl-head > .pl-hero { grid-template-columns: 1fr; } .admin-body .pl-hero-now { width: 100%; } }

/* ===== Studiya (Efir tab): the Efir planı card language, no empty columns =====
   The side column (control, cameras, where) ends where the program screen ends; "Sonra" and "Diqqət" sit in one row under both. */
.admin-body .tva.studio.st2 { --st2-card: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018)); --st2-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 48px -32px rgba(0,0,0,.85); }
.admin-body .st2 .tvx { gap: 18px; align-items: stretch; }
.admin-body .st2 .tvx-pgm { align-content: start; border-radius: 20px; }
.admin-body .st2 .tvx-side { display: flex; flex-direction: column; gap: 18px; }
.admin-body .st2 .tvx-side > :last-child { flex: 1; }
.admin-body .st2 .st2-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-body .st2 :is(.tvx-side, .st2-cards) > .tvx-card,
.admin-body .st2 .tvx-tl { margin: 0; padding: 20px 22px; gap: 14px; border: 1px solid var(--x-line); border-radius: 20px; background: var(--st2-card); box-shadow: var(--st2-shadow); }
.admin-body .st2 .tvx-card > h3,
.admin-body .st2 .tvx-tl > header h3 { display: flex; align-items: center; gap: 10px; margin: 0; min-height: 28px; color: var(--x-ink); font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.admin-body .st2 .tvx-card > h3 > :is(button, span) { margin-left: auto; }
.admin-body .st2 .tvx-ctl { gap: 10px !important; }
.admin-body .st2 .tvx-ctl > .tvx-btn { margin: 0; }
.admin-body .st2 :is(.tvx-ctl, .tvx-guest) > p.tvx-muted { margin: 0; font-size: 12.5px; }
.admin-body .st2 .tvx-guest { gap: 12px; }
/* Where: one row per platform, count on the right */
.admin-body .st2 .ls-where ul { margin: 0; }
.admin-body .st2 .ls-where li { padding: 10px 12px; border: 1px solid var(--x-line); border-radius: 14px; background: rgba(255,255,255,.025); }
.admin-body .st2 .ls-where li + li { margin-top: 8px; }
.admin-body .st2 .ls-where li:first-child { border-top: 1px solid var(--x-line); }
/* Sonra: the next programme as a tile */
.admin-body .st2 .tvx-next { grid-template-rows: auto 1fr auto; }
.admin-body .st2 .tvx-next ol { align-content: start; }
.admin-body .st2 .tvx-next li { gap: 6px; padding: 14px 16px; border: 1px solid var(--x-line); border-radius: 14px; background: radial-gradient(120% 160% at 0% 0%, rgba(255,59,74,.12), transparent 55%), rgba(255,255,255,.025); }
.admin-body .st2 .tvx-next li span { font-size: 17px; font-weight: 650; }
.admin-body .st2 .tvx-next > p.tvx-muted { margin: 0; align-self: center; }
/* Diqqət: each warning as a quiet row */
.admin-body .st2 .tvx-alarms ul { gap: 8px; }
.admin-body .st2 .tvx-alarms li { padding: 10px 12px; border: 1px solid var(--x-line); border-radius: 14px; background: rgba(255,255,255,.025); }
.admin-body .st2 .tvx-alarms.is-ok { display: flex; align-items: center; }
.admin-body .st2 .tvx-alarms .tvx-chip { height: 32px; padding: 0 12px; border-radius: 10px; }
@container studio (max-width: 960px) { .admin-body .st2 .tvx-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; } }
@container studio (max-width: 640px) { .admin-body .st2 .st2-cards { grid-template-columns: 1fr; } }

/* ===== Studiya: header, tabs and program screen in the Efir planı look =====
   The strip is the page hero (red glow, big title, countdown chip); the program card's own header said the same thing, so it goes.
   Tabs pick like the Efir planı days: a red tint, not a white block. The program card glows green while on air, red when live. */
.admin-body .st2 .st2-strip { gap: 16px 20px; padding: 18px 22px; border-radius: 20px; background: radial-gradient(120% 180% at 0% 0%, rgba(255,59,74,.22), transparent 55%), var(--st2-card); box-shadow: var(--st2-shadow); }
.admin-body .st2 .st2-now { gap: 16px; }
.admin-body .st2 .st2-now > div { gap: 4px; }
.admin-body .st2 .st2-now small { color: #ff7a85; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.admin-body .st2 .st2-now b { color: var(--x-ink); font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.admin-body .st2 .st2-now em { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid rgba(255,197,61,.25); border-radius: 12px; background: rgba(0,0,0,.35); color: #ffc53d; font: 600 17px/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; font-variant-numeric: tabular-nums; }
.admin-body .st2 .st2-pill { height: 36px; padding: 0 14px; border-color: var(--x-line); background: rgba(0,0,0,.3); }
.admin-body .st2 .st2-pill:hover { border-color: var(--x-line-2); color: #fff; }
.admin-body .st2 .st2-tabs { gap: 8px; padding: 6px; border-radius: 18px; background: rgba(0,0,0,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.admin-body .st2 .st2-tabs button { height: 46px; border: 1px solid transparent; border-radius: 13px; font-weight: 650; transition: background .15s, color .15s, border-color .15s; }
.admin-body .st2 .st2-tabs button.active { border-color: rgba(255,59,74,.55); background: linear-gradient(180deg, rgba(255,59,74,.24), rgba(255,59,74,.07)); color: #fff; box-shadow: 0 10px 24px -16px rgba(255,59,74,.7); }
.admin-body .st2 .st2-tabs button.active svg { color: #ff6b76; }
.admin-body .st2 .st2-subtabs button.active { background: linear-gradient(180deg, rgba(255,59,74,.24), rgba(255,59,74,.07)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,59,74,.5); }
.admin-body .st2 .tvx-pgm > header { display: none; }
.admin-body .st2 .tvx-pgm { background: linear-gradient(180deg, #050608 60%, rgba(255,255,255,.03)); }
.admin-body .st2 .tvx-pgm.is-air { border-color: rgba(61,220,151,.4); box-shadow: 0 0 0 1px rgba(61,220,151,.12), 0 24px 48px -26px rgba(61,220,151,.4); }
.admin-body .st2 .tvx-pgm.is-cut { border-color: rgba(255,197,61,.4); box-shadow: 0 0 0 1px rgba(255,197,61,.12), 0 24px 48px -26px rgba(255,197,61,.35); }
.admin-body .st2 .tvx-now { gap: 6px; padding: 18px 22px 22px; }
.admin-body .st2 .tvx-now small { color: #ff7a85; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.admin-body .st2 .tvx-now h2 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.admin-body .st2 .tvx-prog { height: 5px; margin-top: 10px; border-radius: 99px; background: linear-gradient(90deg, #ff3b4a, #ff8a3d var(--p, 0%), rgba(255,255,255,.1) var(--p, 0%)); }
.admin-body .st2 :is(.tvx-side, .st2-cards) > .tvx-card { transition: border-color .2s; }
.admin-body .st2 :is(.tvx-side, .st2-cards) > .tvx-card:hover { border-color: var(--x-line-2); }

/* ===== Prompter (Studiya → Prompter): scripts list, editor and playback control in the Efir planı card language ===== */
.admin-body .tva.studio .pr-desk { margin-bottom: 18px; padding: 22px; gap: 18px; border: 1px solid var(--x-line); border-radius: 20px; background: var(--st2-card, linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018))); box-shadow: var(--st2-shadow, none); }
.admin-body .pr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: -22px -22px 0; padding: 22px; border-radius: 20px 20px 0 0; background: radial-gradient(120% 200% at 0% 0%, rgba(255,59,74,.2), transparent 55%); }
.admin-body .pr-head small { color: #ff7a85; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.admin-body .tva.studio .pr-head h3 { margin: 6px 0 4px; color: var(--x-ink); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.admin-body .pr-head p { max-width: 560px; margin: 0; color: var(--x-soft); font-size: 13.5px; line-height: 1.5; }
.admin-body .pr-status { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--x-line); border-radius: 999px; background: rgba(0,0,0,.3); color: var(--x-soft); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.admin-body .pr-status i { width: 8px; height: 8px; border-radius: 50%; background: #6b7280; }
.admin-body .pr-status.is-ok { color: #fff; border-color: rgba(61,220,151,.4); } .admin-body .pr-status.is-ok i { background: var(--x-green); box-shadow: 0 0 8px var(--x-green); }
.admin-body .pr-status.is-wait i { background: var(--x-amber); }
.admin-body .pr-status.is-bad { color: #ff8d97; } .admin-body .pr-status.is-bad i { background: var(--x-red); }
.admin-body .pr-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.admin-body .pr-list { display: grid; gap: 8px; max-height: 640px; overflow-y: auto; }
.admin-body .pr-list .pr-new { width: 100%; }
.admin-body .pr-item { position: relative; display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--x-line); border-radius: 14px; background: rgba(255,255,255,.025); color: var(--x-ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.admin-body .pr-item:hover { border-color: var(--x-line-2); background: rgba(255,255,255,.05); }
.admin-body .pr-item.is-open { border-color: rgba(255,59,74,.55); background: linear-gradient(180deg, rgba(255,59,74,.18), rgba(255,59,74,.05)); }
.admin-body .pr-item b { overflow: hidden; font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .pr-item small { color: var(--x-mute); font-size: 12px; }
.admin-body .pr-item em { display: none; justify-self: start; margin-top: 2px; padding: 3px 8px; border-radius: 6px; background: rgba(61,220,151,.15); color: var(--x-green); font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .1em; }
.admin-body .pr-item.is-cur em { display: inline-block; }
.admin-body .pr-editor { display: grid; gap: 10px; min-width: 0; }
.admin-body .pr-editor input, .admin-body .pr-editor textarea { width: 100%; border: 1px solid var(--x-line-2); border-radius: 14px; background: rgba(0,0,0,.35); color: var(--x-ink); font: inherit; }
.admin-body .tva.studio .pr-editor input { height: 46px; padding: 0 14px; font-size: 16px; font-weight: 650; }
.admin-body .tva.studio .pr-editor textarea { height: 560px; min-height: 360px; max-height: none; padding: 16px 18px; resize: vertical; font-size: 17px; line-height: 1.65; }
.admin-body .pr-editor :is(input, textarea):focus { outline: none; border-color: rgba(255,59,74,.55); box-shadow: 0 0 0 3px rgba(255,59,74,.15); }
.admin-body .pr-editor footer { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.admin-body .pr-hint { flex: 1 1 260px; color: var(--x-mute); font-size: 12px; line-height: 1.5; }
.admin-body .pr-hint code { padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.08); color: #ffc53d; font-size: 12px; }
.admin-body .pr-count { color: var(--x-soft); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.admin-body .pr-actions { display: flex; gap: 8px; margin-left: auto; }
.admin-body .pr-ctl { display: grid; gap: 12px; }
.admin-body .pr-preview { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--x-line-2); border-radius: 14px; background: #000; }
.admin-body .pr-preview iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.admin-body .pr-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #ff3b4a, #ff8a3d var(--p, 0%), rgba(255,255,255,.12) var(--p, 0%)); }
.admin-body .pr-pct { position: absolute; right: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.7); color: #fff; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-body .pr-trans { display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; align-items: center; gap: 8px; }
.admin-body .tva.studio .pr-trans .tvx-btn { height: 46px; padding: 0; font-size: 18px; }
.admin-body .pr-play { width: 64px; height: 64px; border: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #ff6b76, #e5112a 60%, #a10a1c); color: #fff; font-size: 22px; cursor: pointer; box-shadow: 0 12px 28px -12px rgba(255,59,74,.8), inset 0 2px 0 rgba(255,255,255,.25); transition: transform .1s; }
.admin-body .pr-play:active { transform: scale(.95); }
.admin-body .pr-play.is-on { background: radial-gradient(circle at 30% 25%, #4a4f5c, #23262f 65%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.14); }
.admin-body .pr-speed { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--x-line); border-radius: 16px; background: rgba(0,0,0,.25); }
.admin-body .tva.studio .pr-speed .tvx-btn { height: 46px; padding: 0; font-size: 22px; }
.admin-body .pr-speed div { display: grid; justify-items: center; }
.admin-body .pr-speed b { color: #fff; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.admin-body .pr-speed small { color: var(--x-mute); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.admin-body .pr-flags { display: grid; grid-template-columns: 1fr 1fr auto auto auto; align-items: center; gap: 6px; }
.admin-body .tva.studio .pr-flags .tvx-btn { height: 40px; padding: 0 10px; font-size: 13px; }
.admin-body .tva.studio .pr-flags .tvx-btn.is-on { border-color: rgba(255,59,74,.6); background: linear-gradient(180deg, rgba(255,59,74,.24), rgba(255,59,74,.07)); color: #fff; }
.admin-body .pr-flags span { min-width: 44px; color: var(--x-soft); font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.admin-body .tva.studio .pr-open { width: 100%; height: 48px; }
.admin-body .pr-phone { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--x-line); border-radius: 16px; background: rgba(255,255,255,.025); }
.admin-body .pr-qr { display: grid; place-items: center; width: 112px; height: 112px; padding: 8px; border-radius: 12px; background: #fff; }
.admin-body .pr-qr svg { width: 100%; height: 100%; }
.admin-body .pr-phone b { color: var(--x-ink); font-size: 14px; }
.admin-body .pr-phone p { margin: 4px 0 8px; color: var(--x-soft); font-size: 12px; line-height: 1.45; }
.admin-body .pr-phone-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-body .pr-help { border: 1px solid var(--x-line); border-radius: 14px; background: rgba(0,0,0,.2); }
.admin-body .pr-help summary { padding: 12px 14px; color: var(--x-ink); font-size: 13.5px; font-weight: 650; cursor: pointer; }
.admin-body .pr-help ol { display: grid; gap: 8px; margin: 0; padding: 0 16px 14px 32px; color: var(--x-soft); font-size: 12.5px; line-height: 1.5; }
.admin-body .pr-help b { color: var(--x-ink); }
.admin-body .tva.studio .pr-rekey { justify-self: start; color: var(--x-mute); font-size: 12px; }
@container studio (max-width: 1250px) { .admin-body .pr-grid { grid-template-columns: 210px minmax(0, 1fr); } .admin-body .pr-ctl { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@container studio (max-width: 760px) { .admin-body .pr-grid { grid-template-columns: 1fr; } .admin-body .pr-list { grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); max-height: none; overflow-x: auto; } .admin-body .tva.studio .pr-editor textarea { height: 420px; } }

/* ===== "Harada yayımlansın?": platform tiles with the real logo, a switch and the brand colour when chosen ===== */
.admin-body .ls-targets .ls-tgrid { gap: 12px; }
.admin-body .ls-pf { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--x-line); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.admin-body .ls-pf label { display: grid; align-content: start; gap: 10px; flex: 1; padding: 16px; cursor: pointer; }
.admin-body .tva.studio .ls-targets .ls-pf input[type=checkbox] { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; appearance: none; }
.admin-body .ls-pf-top { display: flex; align-items: center; justify-content: space-between; }
.admin-body .ls-pf-logo { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--brand); color: #fff; box-shadow: 0 10px 22px -12px var(--brand), inset 0 1px 0 rgba(255,255,255,.25); }
.admin-body .ls-pf.is-tiktok .ls-pf-logo { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.admin-body .ls-pf.is-instagram .ls-pf-logo { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.admin-body .ls-pf-logo svg { width: 22px; height: 22px; }
.admin-body .ls-pf-sw { position: relative; display: block; flex: none; width: 40px; height: 24px; border-radius: 99px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: background .2s; }
.admin-body .ls-pf-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .2s; }
.admin-body .ls-pf b { min-width: 0; overflow: hidden; color: var(--x-ink); font-size: 15px; font-weight: 700; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .ls-targets .ls-pf small { display: flex; align-items: center; gap: 7px; margin-top: -4px; color: var(--x-mute); font-size: 12px; line-height: 1.35; }
.admin-body .ls-pf small i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #64748b; }
.admin-body .ls-pf.is-ok small i { background: var(--x-green); }
.admin-body .ls-pf.is-warn small i { background: var(--x-amber); }
.admin-body .ls-pf.is-bad small { color: #ff8d97; font-weight: 600; } .admin-body .ls-pf.is-bad small i { background: var(--x-red); }
.admin-body .ls-pf:hover:not(.is-off) { transform: translateY(-2px); border-color: var(--x-line-2); }
/* Chosen: the brand colour on the border, a soft glow and the switch on */
.admin-body .ls-pf:has(input:checked) { border-color: color-mix(in srgb, var(--brand) 65%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 20%, transparent), color-mix(in srgb, var(--brand) 5%, transparent)); box-shadow: 0 16px 34px -22px var(--brand), inset 0 1px 0 rgba(255,255,255,.06); }
.admin-body .ls-pf.is-tiktok:has(input:checked) { border-color: rgba(255,255,255,.4); background: linear-gradient(180deg, rgba(37,244,238,.1), rgba(254,44,85,.06)); box-shadow: 0 16px 34px -22px rgba(254,44,85,.6); }
.admin-body .ls-pf input:checked ~ .ls-pf-top .ls-pf-sw { background: var(--x-green); }
.admin-body .ls-pf input:checked ~ .ls-pf-top .ls-pf-sw::after { transform: translateX(16px); }
.admin-body .ls-pf input:focus-visible ~ .ls-pf-top .ls-pf-sw { outline: 2px solid #fff; outline-offset: 2px; }
.admin-body .ls-pf input:checked ~ small { color: var(--x-soft); }
/* Not connected: dimmed, dashed, with the way to connect */
.admin-body .ls-pf.is-off { border-style: dashed; background: rgba(255,255,255,.015); }
.admin-body .ls-pf.is-off label { cursor: not-allowed; }
.admin-body .ls-pf.is-off :is(.ls-pf-logo, b, .ls-pf-sw) { opacity: .4; filter: saturate(.4); }
.admin-body .tva.studio .ls-pf .ls-pf-fix { margin: 0 12px 12px; padding: 0 12px; height: 34px; border: 1px solid var(--x-line-2); border-radius: 10px; background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .15s; }
.admin-body .tva.studio .ls-pf .ls-pf-fix:hover { background: rgba(255,255,255,.12); }
.admin-body .tva.studio .ls-pf.is-bad .ls-pf-fix { border-color: transparent; background: #e5232f; }

/* Control room: the reporter's own network reading on each source tile */
.admin-body .ctl2-net { position: absolute; left: 6px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.72); color: #d1fae5; font: 800 10px/1 var(--c-mono, ui-monospace, monospace); letter-spacing: .02em; pointer-events: auto; }
.admin-body .ctl2-net::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.admin-body .ctl2-net.is-mid { color: #fde68a; } .admin-body .ctl2-net.is-mid::before { background: #f59e0b; }
.admin-body .ctl2-net.is-bad { color: #fecaca; background: rgba(127,29,29,.85); } .admin-body .ctl2-net.is-bad::before { background: #ef4444; }

/* Single camera goes on air whole (letterboxed, like the site shows it), so the monitor shows it whole too */
.admin-body .ctl2-comp-box.is-whole { background: #000; }
.admin-body .ctl2-comp-box.is-whole .tvx-video { object-fit: contain; }

/* Director's intercom (talkback): never on air */
.admin-body .tb-box { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: linear-gradient(180deg, #121826, #0c111c); border: 1px solid rgba(255,255,255,.08); color: #e5e7eb; }
.admin-body .tb-box.is-talking { border-color: rgba(37,99,235,.7); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.admin-body .tb-box header { display: flex; align-items: baseline; gap: 8px; }
.admin-body .tb-box header b { font-size: 15px; letter-spacing: .01em; }
.admin-body .tb-box header small { margin-left: auto; padding: 3px 8px; border-radius: 99px; background: rgba(250,204,21,.14); color: #fde68a; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.admin-body .tb-all { display: grid; gap: 2px; justify-items: center; height: auto; min-height: 54px; padding: 8px 12px; border: 1px solid rgba(37,99,235,.55); border-radius: 12px; background: rgba(37,99,235,.16); color: #dbeafe; font-weight: 800; font-size: 14px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; }
.admin-body .tb-all small { font-size: 10.5px; font-weight: 600; color: #93c5fd; }
.admin-body .tb-all.is-on, .admin-body .tb-btn.is-on { background: #2563eb; border-color: #2563eb; color: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.35); }
.admin-body .tb-all:disabled, .admin-body .tb-btn:disabled { opacity: .4; cursor: default; }
.admin-body .tb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.admin-body .tb-row { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 7px 8px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid transparent; transition: background .15s, border-color .15s; }
.admin-body .tb-row.is-down { opacity: .5; }
.admin-body .tb-row.is-hot { background: rgba(250,204,21,.14); border-color: rgba(250,204,21,.6); }
.admin-body .tb-n { grid-row: 1 / 3; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.08); font: 800 11px/1 var(--c-mono, ui-monospace, monospace); }
.admin-body .tb-row b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.admin-body .tb-row em { grid-column: 2; font-style: normal; font-size: 11px; color: #8b94a6; }
.admin-body .tb-row.is-hot em { color: #fde68a; font-weight: 700; }
.admin-body .tb-row.is-hot em::before { content: "🔊 "; }
.admin-body .tb-btn { grid-column: 3; grid-row: 1 / 3; height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; background: rgba(255,255,255,.07); color: #fff; font-weight: 800; font-size: 12.5px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; }
.admin-body .tb-hint { margin: 0; color: #7d8699; font-size: 11.5px; line-height: 1.45; }

/* Top bar: tools in one even row; the profile chip as avatar (initial) + name over role */
.admin-body .portal-top .portal-tools { display: flex; align-items: center; gap: 10px; }
.admin-body .portal-top .portal-tools > button:not(.portal-user) { width: 44px; height: 44px; min-height: 44px; padding: 0; display: grid; place-items: center; border-radius: 12px; }
.admin-body .portal-top .portal-tools .portal-user { display: grid !important; grid-template-columns: 36px minmax(0, 1fr) !important; grid-template-rows: auto auto; grid-template-areas: "av name" "av role"; column-gap: 10px; row-gap: 1px; align-items: center; align-content: center; width: auto; min-width: 0; max-width: 230px; height: 46px; min-height: 46px; padding: 0 16px 0 5px !important; border-radius: 999px; text-align: left; }
.admin-body .portal-top .portal-tools .portal-user::before { content: attr(data-initial); grid-area: av; display: grid; place-items: center; width: 36px; height: 36px; margin: 0; border: 0; border-radius: 50%; background: linear-gradient(135deg, #1d4ed8, #e50914); color: #fff; font-size: 15px; font-weight: 800; line-height: 1; box-shadow: none; }
.admin-body .portal-top .portal-tools .portal-user span { grid-area: name; align-self: end; max-width: 150px; font-size: 14px; font-weight: 800; line-height: 1.15; }
.admin-body .portal-top .portal-tools .portal-user small { grid-area: role; align-self: start; max-width: 150px; font-size: 11px; font-weight: 600; line-height: 1.2; }
.admin-body .portal-top .portal-tools .portal-user span, .admin-body .portal-top .portal-tools .portal-user small { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .portal-top .portal-tools > button:not(.portal-user) { position: relative; }
.admin-body .portal-top .portal-tools > button:not(.portal-user) svg { width: 20px; height: 20px; }
.admin-body .portal-top .portal-tools > button:not(.portal-user) sup { position: absolute; top: 3px; right: 3px; margin: 0; min-width: 16px; height: 16px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; font-size: 10.5px; line-height: 1; }

/* ===== Reklamlar page: premium layer (scoped to .tvx-adspage) ===== */
.admin-body .tvx-adspage .tvx-subtabs { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--x-line); border-radius: 16px; background: rgba(255,255,255,.03); }
.admin-body .tvx-adspage .tvx-subtabs button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 12px; background: transparent; color: var(--x-soft); font-weight: 650; font-size: 13.5px; cursor: pointer; transition: background .15s, color .15s; }
.admin-body .tvx-adspage .tvx-subtabs button:hover { background: var(--x-surface-2); color: var(--x-ink); }
.admin-body .tvx-adspage .tvx-subtabs button.active { background: linear-gradient(180deg, #2a2d36, #1d2028); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 18px rgba(0,0,0,.35); }
.admin-body .tvx-adspage .tvx-subtabs button small { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; background: rgba(255,255,255,.08); color: var(--x-soft); font-size: 11px; font-weight: 750; }
.admin-body .tvx-adspage .tvx-subtabs button.active small { background: var(--x-red-2); color: #fff; }

/* intro card */
.admin-body .tvx-adspage .tvx-adintro { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr) minmax(260px, auto); gap: 22px; align-items: center; padding: 18px 22px 18px 18px; border: 1px solid rgba(255,59,74,.22); border-radius: var(--x-r); background: radial-gradient(120% 140% at 0% 0%, rgba(229,17,42,.16), transparent 55%), linear-gradient(180deg, #15171e, #101219); overflow: hidden; }
.admin-body .tvx-adspage .tvx-adintro .ai-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 10px 26px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08); }
.admin-body .tvx-adspage .tvx-adintro .ai-info header { display: flex; align-items: center; gap: 10px; }
.admin-body .tvx-adspage .tvx-adintro .ai-info b { font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.admin-body .tvx-adspage .tvx-adintro .ai-info p { margin: 6px 0 0; color: var(--x-mute); font-size: 13.5px; }
.admin-body .tvx-adspage .tvx-adintro .ai-ctl { display: flex; align-items: center; gap: 14px; }
.admin-body .tvx-adspage .tvx-adintro select { height: 44px; min-width: 240px; border-radius: 12px; }

/* KPI cards */
.admin-body .tvx-adspage .tvx-kpis { gap: 14px; }
.admin-body .tvx-adspage .tvx-kpi { --k: var(--x-blue); position: relative; grid-template-columns: 1fr auto; grid-template-areas: "val ic" "lab lab" "note note"; gap: 2px; padding: 20px 22px 18px; border: 1px solid var(--x-line); border-radius: 20px; background: radial-gradient(140% 120% at 100% 0%, color-mix(in srgb, var(--k) 16%, transparent), transparent 60%), linear-gradient(180deg, #15171e, #0f1117); overflow: hidden; transition: transform .18s, border-color .18s; }
.admin-body .tvx-adspage .tvx-kpi::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--k), transparent); opacity: .7; }
.admin-body .tvx-adspage .tvx-kpi:hover { transform: translateY(-2px); border-color: var(--x-line-2); }
.admin-body .tvx-adspage .tvx-kpi.k-on { --k: var(--x-green); }
.admin-body .tvx-adspage .tvx-kpi.k-play { --k: var(--x-red); }
.admin-body .tvx-adspage .tvx-kpi.k-share { --k: var(--x-blue); }
.admin-body .tvx-adspage .tvx-kpi.k-end { --k: #a78bfa; }
.admin-body .tvx-adspage .tvx-kpi.warn { --k: var(--x-amber); }
.admin-body .tvx-adspage .tvx-kpi .k-ic { grid-area: ic; align-self: start; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--k) 16%, transparent); color: var(--k); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k) 30%, transparent); }
.admin-body .tvx-adspage .tvx-kpi .k-ic svg { width: 20px; height: 20px; }
.admin-body .tvx-adspage .tvx-kpi b { grid-area: val; font-size: 34px; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.admin-body .tvx-adspage .tvx-kpi.warn b { color: var(--x-amber); }
.admin-body .tvx-adspage .tvx-kpi span { grid-area: lab; margin-top: 4px; color: var(--x-ink); font-size: 14px; font-weight: 650; }
.admin-body .tvx-adspage .tvx-kpi small { grid-area: note; color: var(--x-mute); font-size: 12.5px; }

/* list shell */
.admin-body .tvx-adspage .tvx-adlist { padding: 0; border-radius: var(--x-r); background: linear-gradient(180deg, #121419, #0d0f14); overflow: hidden; }
.admin-body .tvx-adspage .tvx-adbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-bottom: 1px solid var(--x-line); }
.admin-body .tvx-adspage .tvx-filter { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--x-line); }
.admin-body .tvx-adspage .tvx-filter button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border: 0; border-radius: 10px; background: transparent; color: var(--x-soft); font-size: 13px; font-weight: 650; cursor: pointer; }
.admin-body .tvx-adspage .tvx-filter button.active { background: #fff; color: #0b0c10; }
.admin-body .tvx-adspage .tvx-filter button small { display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 99px; background: rgba(255,255,255,.08); font-size: 10.5px; font-weight: 750; }
.admin-body .tvx-adspage .tvx-filter button.active small { background: #0b0c10; color: #fff; }
.admin-body .tvx-adspage .tvx-adbar input[type="search"] { width: min(340px, 100%); height: 42px; padding: 0 14px 0 40px; border: 1px solid var(--x-line); border-radius: 12px; background: rgba(255,255,255,.035) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8291' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center; color: var(--x-ink); }

/* ad cards */
.admin-body .tvx-adspage .tvx-ads { display: grid; gap: 12px; padding: 16px; }
.admin-body .tvx-adspage .tvx-ad { --s: var(--x-green); position: relative; grid-template-columns: 176px minmax(0, 1fr) auto auto; gap: 20px; padding: 14px 16px 14px 18px; border: 1px solid var(--x-line); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); transition: border-color .18s, transform .18s, box-shadow .18s; }
.admin-body .tvx-adspage .tvx-ad::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--s); box-shadow: 0 0 14px var(--s); }
.admin-body .tvx-adspage .tvx-ad:hover { border-color: var(--x-line-2); transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0,0,0,.35); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); }
.admin-body .tvx-adspage .tvx-ad.is-soon { --s: var(--x-blue); }
.admin-body .tvx-adspage .tvx-ad.is-paused { --s: var(--x-amber); opacity: .75; }
.admin-body .tvx-adspage .tvx-ad.is-ended { --s: #4b5160; opacity: .6; }
.admin-body .tvx-adspage .tvx-ad-thumb { border-radius: 14px; box-shadow: 0 8px 22px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.08); }
.admin-body .tvx-adspage .tvx-ad-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); pointer-events: none; }
.admin-body .tvx-adspage .tvx-ad-thumb span { z-index: 1; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 7px; background: rgba(0,0,0,.72); font-size: 11.5px; }
.admin-body .tvx-adspage .tvx-ad-main { gap: 8px; }
.admin-body .tvx-adspage .tvx-ad-title b { font-size: 17px; font-weight: 750; letter-spacing: -.01em; color: #fff; }
.admin-body .tvx-adspage .tvx-ad-title .tvx-pill { height: 22px; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 750; letter-spacing: .02em; display: inline-flex; align-items: center; }
.admin-body .tvx-adspage .tvx-ad-main p { gap: 6px; }
.admin-body .tvx-adspage .tvx-ad-main p span { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--x-soft); font-size: 12px; font-weight: 550; }
.admin-body .tvx-adspage .tvx-ad-span { max-width: 360px; height: 5px; }
.admin-body .tvx-adspage .tvx-ad-span::before { background: linear-gradient(90deg, var(--x-blue), #a78bfa); }
.admin-body .tvx-adspage .tvx-ad-stats { display: grid; grid-template-columns: repeat(2, minmax(84px, auto)); border: 1px solid var(--x-line); border-radius: 14px; background: rgba(0,0,0,.25); overflow: hidden; }
.admin-body .tvx-adspage .tvx-ad-stats .tvx-ad-stat { padding: 10px 16px; }
.admin-body .tvx-adspage .tvx-ad-stats .tvx-ad-stat + .tvx-ad-stat { border-left: 1px solid var(--x-line); }
.admin-body .tvx-adspage .tvx-ad-stat b { font-size: 21px; font-weight: 800; color: #fff; }
.admin-body .tvx-adspage .tvx-ad-stat span { font-size: 11.5px; font-weight: 600; text-transform: lowercase; }
.admin-body .tvx-adspage .tvx-ad nav { gap: 6px; padding: 5px; border: 1px solid var(--x-line); border-radius: 14px; background: rgba(255,255,255,.03); }
.admin-body .tvx-adspage .tvx-ad nav .tva-icon { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--x-soft); transition: background .15s, color .15s; }
.admin-body .tvx-adspage .tvx-ad nav .tva-icon:hover:not(:disabled) { background: rgba(255,255,255,.09); color: #fff; }
.admin-body .tvx-adspage .tvx-ad nav .tva-icon[data-tvx-ad-air]:not(:disabled) { background: rgba(61,220,151,.14); color: var(--x-green); }
.admin-body .tvx-adspage .tvx-ad nav .tva-icon.danger:hover { background: rgba(255,59,74,.16); color: var(--x-red); }
.admin-body .tvx-adspage .tvx-ad nav .tva-icon:disabled { opacity: .35; }
.admin-body .tvx-adspage .tvx-adfoot { padding: 14px 18px; border-top: 1px solid var(--x-line); background: rgba(0,0,0,.2); }

@container studio (max-width: 960px) {
  .admin-body .tvx-adspage .tvx-ad { grid-template-columns: 160px minmax(0, 1fr) auto; }
  .admin-body .tvx-adspage .tvx-ad nav { grid-column: 2 / -1; justify-self: end; }
  .admin-body .tvx-adspage .tvx-adintro { grid-template-columns: 140px minmax(0, 1fr); }
  .admin-body .tvx-adspage .tvx-adintro .ai-ctl { grid-column: 1 / -1; }
}
@container studio (max-width: 820px) {
  .admin-body .tvx-adspage .tvx-ad { grid-template-columns: 128px minmax(0, 1fr); }
  .admin-body .tvx-adspage .tvx-ad-stats { grid-column: 1 / -1; }
  .admin-body .tvx-adspage .tvx-ad .tvx-ad-stat { display: grid; }
  .admin-body .tvx-adspage .tvx-ad nav { grid-column: 1 / -1; }
  .admin-body .tvx-adspage .tvx-subtabs { display: flex; overflow-x: auto; }
}

/* ============================================================================
   v465 Efir planı · video cutter in the style of a pro editor (CapCut-like):
   dark studio surface, big preview with timecode, transport, time ruler, film strip with a white trim frame.
   ============================================================================ */
.admin-body .pl-trim { background: rgba(2,3,6,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.admin-body .pl-trim-box.is-editor { --ed-bg: #121216; --ed-panel: #1b1b21; --ed-line: rgba(255,255,255,.08); --ed-text: #f2f3f5; --ed-soft: #a0a3ad; --ed-mute: #6c6f7a; --ed-acc: #1fd1e6; --ed-acc2: #4b7bff;
  width: min(1080px, 100%); gap: 0; padding: 0; border: 1px solid var(--ed-line); border-radius: 18px; background: var(--ed-bg); color: var(--ed-text); box-shadow: 0 30px 80px rgba(0,0,0,.6); overflow: hidden auto; }
.admin-body .pl-trim-box.is-editor > header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--ed-line); background: linear-gradient(180deg, #19191f, #141418); }
.admin-body .pl-trim-logo { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--ed-acc), var(--ed-acc2)); color: #04131a; font-size: 17px; font-weight: 900; }
.admin-body .pl-trim-box.is-editor > header > div { flex: 1; min-width: 0; }
.admin-body .pl-trim-box.is-editor h3 { margin: 0; font-size: 15.5px; font-weight: 750; letter-spacing: .01em; color: var(--ed-text); }
.admin-body .pl-trim-box.is-editor header p { margin: 2px 0 0; color: var(--ed-soft); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .pl-trim-x { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); color: var(--ed-soft); font-size: 22px; line-height: 1; cursor: pointer; }
.admin-body .pl-trim-x:hover { background: rgba(255,255,255,.12); color: #fff; }
/* Preview */
.admin-body .is-editor .pl-trim-stage { position: relative; overflow: clip; flex-shrink: 0; max-height: none; margin: 14px 16px 0; aspect-ratio: 16 / 9; max-width: calc((100dvh - 480px) * 16 / 9); justify-self: center; width: calc(100% - 32px); min-width: min(320px, calc(100% - 32px)); border-radius: 12px; background: #000; box-shadow: 0 0 0 1px var(--ed-line); }
.admin-body .is-editor .pl-trim-stage video { cursor: pointer; }
.admin-body .pl-trim-big { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; padding: 0 0 0 4px; border: 0; border-radius: 50%; background: rgba(10,10,14,.55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(255,255,255,.18); cursor: pointer; transition: opacity .2s, transform .2s; }
.admin-body .pl-trim-big svg { width: 30px; height: 30px; }
.admin-body .pl-trim-big:hover { transform: scale(1.06); background: rgba(10,10,14,.7); }
.admin-body .is-editor.is-playing .pl-trim-big { opacity: 0; pointer-events: none; }
.admin-body .pl-trim-tc, .admin-body .pl-trim-cutbadge { position: absolute; top: 10px; padding: 4px 9px; border-radius: 7px; background: rgba(0,0,0,.62); color: #fff; font: 700 12.5px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .02em; pointer-events: none; }
.admin-body .pl-trim-tc { right: 10px; }
.admin-body .pl-trim-cutbadge { left: 10px; color: var(--ed-acc); font-weight: 650; }
/* Transport */
.admin-body .is-editor .pl-trim-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 12px 16px 6px; }
.admin-body .pl-trim-time { display: flex; align-items: baseline; gap: 6px; font: 700 15px/1 ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; }
.admin-body .pl-trim-time b { color: #fff; }
.admin-body .pl-trim-time span { color: var(--ed-mute); font-size: 13px; }
.admin-body .pl-trim-transport { display: flex; align-items: center; gap: 4px; }
.admin-body .pl-trim-transport button, .admin-body .pl-trim-marks button { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ed-soft); cursor: pointer; transition: background .15s, color .15s; }
.admin-body .pl-trim-transport button:hover, .admin-body .pl-trim-marks button:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-body .pl-trim-transport svg, .admin-body .pl-trim-marks svg { width: 20px; height: 20px; }
.admin-body .pl-trim-transport .pl-trim-play { width: 46px; height: 46px; margin: 0 6px; border-radius: 50%; background: #fff; color: #111; box-shadow: 0 4px 14px rgba(255,255,255,.12); }
.admin-body .pl-trim-transport .pl-trim-play:hover { background: #fff; color: #000; transform: scale(1.05); }
.admin-body .pl-trim-transport .pl-trim-play svg { width: 22px; height: 22px; }
.admin-body .pl-trim-marks { display: flex; justify-content: flex-end; gap: 6px; }
.admin-body .pl-trim-marks button { width: auto; grid-auto-flow: column; gap: 6px; padding: 0 10px 0 8px; background: var(--ed-panel); box-shadow: inset 0 0 0 1px var(--ed-line); font-size: 12.5px; font-weight: 650; }
.admin-body .pl-trim-marks button:hover { box-shadow: inset 0 0 0 1px rgba(31,209,230,.6); color: var(--ed-acc); }
.admin-body .is-editor kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; background: rgba(255,255,255,.08); color: var(--ed-soft); font: 700 10.5px/1 ui-monospace, Menlo, monospace; box-shadow: inset 0 -1px 0 rgba(0,0,0,.4); }
/* Timeline: ruler + film strip + white trim frame + playhead */
.admin-body .pl-trim-tl { position: relative; margin: 6px 16px 0; padding: 22px 0 0; touch-action: none; cursor: pointer; user-select: none; -webkit-user-select: none; }
.admin-body .pl-trim-ruler { position: absolute; left: 0; right: 0; top: 0; height: 20px; pointer-events: none; }
.admin-body .pl-trim-ruler i { position: absolute; bottom: 2px; width: 1px; height: 4px; background: rgba(255,255,255,.18); }
.admin-body .pl-trim-ruler i.is-major { height: 8px; background: rgba(255,255,255,.4); }
.admin-body .pl-trim-ruler span { position: absolute; left: 4px; bottom: 4px; color: var(--ed-mute); font: 600 10.5px/1 ui-monospace, Menlo, monospace; white-space: nowrap; }
.admin-body .pl-trim-film { position: relative; height: 72px; border-radius: 10px; overflow: visible; background: repeating-linear-gradient(90deg, #22222a 0 99px, #1a1a20 99px 100px); }
.admin-body .pl-trim-film canvas { display: block; width: 100%; height: 100%; border-radius: 10px; pointer-events: none; }
.admin-body .pl-trim-film > u { position: absolute; top: 0; bottom: 0; background: rgba(8,8,12,.74); pointer-events: none; }
.admin-body .pl-trim-film > u.is-l { left: 0; border-radius: 10px 0 0 10px; }
.admin-body .pl-trim-film > u.is-r { right: 0; border-radius: 0 10px 10px 0; }
.admin-body .is-editor .pl-trim-sel { top: -3px; bottom: -3px; min-width: 34px; border: 3px solid #fff; border-inline-width: 0; border-radius: 9px; box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.45); }
.admin-body .is-editor .pl-trim-sel i { top: -3px; bottom: -3px; width: 15px; background: #fff; }
.admin-body .is-editor .pl-trim-sel i.is-l { left: 0; border-radius: 9px 0 0 9px; }
.admin-body .is-editor .pl-trim-sel i.is-r { right: 0; border-radius: 0 9px 9px 0; }
.admin-body .is-editor .pl-trim-sel i::after { width: 3px; height: 22px; background: #15151a; }
.admin-body .is-editor .pl-trim-sel i:hover { background: var(--ed-acc); }
.admin-body .pl-trim-sel em { position: absolute; left: 20px; top: 5px; padding: 3px 7px; border-radius: 6px; background: rgba(10,10,14,.78); color: #fff; font: 800 11px/1.2 ui-monospace, Menlo, monospace; font-style: normal; white-space: nowrap; pointer-events: none; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
.admin-body .pl-trim-tl > b { position: absolute; top: 6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--ed-acc); box-shadow: 0 0 6px rgba(31,209,230,.6); pointer-events: none; z-index: 3; }
.admin-body .pl-trim-tl > b s { position: absolute; left: 50%; top: -4px; width: 12px; height: 12px; margin-left: -6px; border-radius: 3px 3px 50% 50%; background: var(--ed-acc); text-decoration: none; }
/* In / out / duration */
.admin-body .is-editor .pl-trim-fields { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; padding: 26px 16px 4px; }
.admin-body .is-editor .pl-trim-fields label { gap: 5px; padding: 10px 12px; border-radius: 12px; background: var(--ed-panel); box-shadow: inset 0 0 0 1px var(--ed-line); }
.admin-body .is-editor .pl-trim-fields label > span { color: var(--ed-mute); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.admin-body .is-editor .pl-trim-fields input, .admin-body .is-editor .pl-trim-fields output { height: 28px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff; font: 700 17px/28px ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; outline: none; }
.admin-body .is-editor .pl-trim-fields label:focus-within { box-shadow: inset 0 0 0 1.5px var(--ed-acc); }
.admin-body .is-editor .pl-trim-fields .is-len { background: linear-gradient(135deg, rgba(31,209,230,.16), rgba(75,123,255,.14)); box-shadow: inset 0 0 0 1px rgba(31,209,230,.35); }
.admin-body .is-editor .pl-trim-fields .is-len output { color: var(--ed-acc); }
.admin-body .is-editor .pl-trim-warn { margin: 8px 16px 0; padding: 8px 12px; border-radius: 10px; background: rgba(245,166,35,.12); color: #ffc46b; }
/* Footer */
.admin-body .pl-trim-box.is-editor > footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 16px; border-top: 1px solid var(--ed-line); background: #16161b; }
.admin-body .pl-trim-ghost { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--ed-panel); color: var(--ed-text); box-shadow: inset 0 0 0 1px var(--ed-line); font-size: 13px; font-weight: 650; cursor: pointer; }
.admin-body .pl-trim-ghost:hover { background: #24242b; }
.admin-body .pl-trim-ghost svg { width: 17px; height: 17px; }
.admin-body .pl-trim-keys { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; color: var(--ed-mute); font-size: 11.5px; }
.admin-body .pl-trim-keys kbd + kbd { margin-left: -1px; }
.admin-body .pl-trim-keys kbd:not(:first-child) { margin-left: 6px; }
.admin-body .pl-trim-keys kbd + kbd:not(:first-child) { margin-left: 2px; }
.admin-body .pl-trim-save { margin-left: auto; height: 38px; padding: 0 20px; border: 0; border-radius: 10px; background: linear-gradient(135deg, var(--ed-acc), var(--ed-acc2)); color: #fff; font-size: 13.5px; font-weight: 800; letter-spacing: .01em; box-shadow: 0 6px 18px rgba(31,140,230,.35); cursor: pointer; }
.admin-body .pl-trim-save:hover { filter: brightness(1.08); }
@media (max-width: 720px) {
  .admin-body .is-editor .pl-trim-bar { grid-template-columns: 1fr auto; }
  .admin-body .pl-trim-marks { grid-column: 1 / -1; justify-content: stretch; }
  .admin-body .pl-trim-marks button { flex: 1; }
  .admin-body .pl-trim-keys { display: none; }
  .admin-body .pl-trim-box.is-editor > footer > span { flex: 1; }
}
@media (max-width: 460px) { .admin-body .pl-trim-transport button:not(.pl-trim-play) { width: 30px; } .admin-body .pl-trim-time { font-size: 13px; } .admin-body .pl-trim-time span { display: none; } }

/* ============================================================================
   v466 Virtual Production: the program monitor draws the studio (background, keyed presenters, desk) with WebGL,
   and the editor (big preview + key / colour / placement controls).
   ============================================================================ */
.admin-body .vs-stage { position: relative; overflow: hidden; background: #050b1c; aspect-ratio: 16 / 9; container-type: inline-size; }
.admin-body .vs-cam { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.admin-body .vs-cam > .vs-bg, .admin-body .vs-cam > .vs-desk, .admin-body .vs-cam > .vs-shadow { position: absolute; display: block; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.admin-body .vs-cam > .vs-bg { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.admin-body .vs-cam > .vs-desk { z-index: 3; height: auto; }
/* The desk's glass top: presenters mirrored (canvas), masked by the glass and faded toward the viewer; then contact shadows. */
.admin-body .vs-glass { position: absolute; left: 0; width: 100%; z-index: 4; pointer-events: none; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.admin-body .vs-glass > canvas { display: block; width: 100%; height: 100%; }
.admin-body .vs-cam > .vs-shadow { z-index: 5; }
/* The studio wall screen (slot 3): a live camera on the video wall behind the presenters. */
.admin-body .vs-wall { position: absolute; z-index: 1; box-sizing: border-box; display: block !important; padding: 0 !important; overflow: hidden; background: #0b1220 !important; outline: 1px solid rgba(255,255,255,.32); border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.admin-body .vs-wall > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; pointer-events: none; }
.admin-body .vs-wall.is-empty { background: rgba(255,255,255,.05) !important; outline: 2px dashed rgba(255,255,255,.35); outline-offset: -2px; }
.admin-body .vs-wall > em { position: absolute; z-index: 2; left: 6px; top: 6px; padding: 2px 8px; border-radius: 99px; background: rgba(5,8,18,.7); color: #fff; font: 700 10.5px/1.3 system-ui, sans-serif; font-style: normal; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s; }
.admin-body .vs-stage:hover .vs-wall > em, .admin-body .vs-wall.is-empty > em { opacity: 1; }
.admin-body .vse-view .vs-wall { cursor: move; }
.admin-body .dsk-chip.is-shot.is-on { background: #fff; color: #0b0f17; }
.admin-body .vs-load { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 99px; background: rgba(34,197,94,.12); color: #86efac; font: 700 11.5px/1 ui-monospace, Menlo, monospace; white-space: nowrap; }
.admin-body .vs-load.is-hot { background: rgba(239,68,68,.16); color: #fca5a5; animation: tvx-blink 1.2s steps(2) infinite; }
.admin-body .vs-p { position: absolute; z-index: 2; box-sizing: border-box; display: block !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.admin-body .vs-p > video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.admin-body .vs-p > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.admin-body .vs-p.is-empty { outline: 2px dashed rgba(255,255,255,.45); outline-offset: -2px; border-radius: 10px; background: rgba(255,255,255,.06) !important; }
.admin-body .vs-p > em { position: absolute; z-index: 4; left: 50%; top: 6%; transform: translateX(-50%); padding: 3px 9px; border-radius: 99px; background: rgba(5,8,18,.7); color: #fff; font: 700 11px/1.3 system-ui, sans-serif; font-style: normal; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s; }
.admin-body .vs-stage:hover .vs-p > em, .admin-body .vs-p.is-empty > em { opacity: 1; }
.admin-body .vs-p > .vs-hint { position: absolute; left: 50%; top: 42%; transform: translateX(-50%); color: rgba(255,255,255,.8); font: 600 12px/1.3 system-ui, sans-serif; white-space: nowrap; pointer-events: none; }
.admin-body .dsk-chip.is-vs { color: #7dd3fc; }
/* Editor */
.admin-body .vse { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; padding: 16px; background: rgba(2,3,8,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.admin-body .vse-box { --v-bg: #10121a; --v-panel: #181b25; --v-line: rgba(255,255,255,.08); --v-soft: #a3a9b8; --v-mute: #6b7180; --v-acc: #22c55e;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: min(1400px, 100%); max-height: calc(100dvh - 32px); border: 1px solid var(--v-line); border-radius: 18px; background: var(--v-bg); color: #eef0f4; box-shadow: 0 30px 90px rgba(0,0,0,.65); overflow: hidden; }
.admin-body .vse-box > header { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--v-line); background: linear-gradient(180deg, #161a26, #11141d); }
.admin-body .vse-logo { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #1d4ed8, #e3262f); font-size: 17px; }
.admin-body .vse-box > header > div { flex: 1; min-width: 0; }
.admin-body .vse-box h3 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: .01em; }
.admin-body .vse-box header p { margin: 2px 0 0; color: var(--v-soft); font-size: 12.5px; }
.admin-body .vse-x { width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); color: var(--v-soft); font-size: 22px; cursor: pointer; }
.admin-body .vse-x:hover { background: rgba(255,255,255,.12); color: #fff; }
.admin-body .vse-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: 0; }
.admin-body .vse-view { display: grid; align-content: start; gap: 10px; padding: 16px; min-width: 0; overflow: auto; }
.admin-body .vse-view .vs-stage { border-radius: 12px; box-shadow: 0 0 0 1px var(--v-line); }
.admin-body .vse-view .vs-p:not(.is-empty) { cursor: grab; }
.admin-body .vse-view .vs-p:not(.is-empty):active { cursor: grabbing; }
.admin-body .vse-view .vs-p:not(.is-empty):hover { outline: 1px solid rgba(125,211,252,.6); outline-offset: -1px; }
.admin-body .vse.is-picking .vs-p { cursor: crosshair !important; }
.admin-body .vse.is-picking .vs-p canvas { opacity: 0; }
.admin-body .vse.is-picking .vs-p video { opacity: 1; }
.admin-body .vse-tip { margin: 0; color: var(--v-mute); font-size: 12px; line-height: 1.5; }
.admin-body .vse-side { display: grid; align-content: start; gap: 12px; padding: 16px; border-left: 1px solid var(--v-line); background: #0d0f16; overflow: auto; }
.admin-body .vse-group { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--v-panel); box-shadow: inset 0 0 0 1px var(--v-line); }
.admin-body .vse-group h4 { margin: 0; color: var(--v-soft); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-body .vse-sws { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .vse-sw { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 7px; border: 0; border-radius: 9px; background: rgba(255,255,255,.05); color: #e5e7eb; box-shadow: inset 0 0 0 1px var(--v-line); font-size: 12.5px; font-weight: 650; cursor: pointer; }
.admin-body .vse-sw i { width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.admin-body .vse-sw.is-on { box-shadow: inset 0 0 0 1.5px #7dd3fc; background: rgba(125,211,252,.1); color: #fff; }
.admin-body .vse-r { display: grid; gap: 4px; }
.admin-body .vse-r > span { display: flex; justify-content: space-between; color: #d1d5db; font-size: 12.5px; font-weight: 600; }
.admin-body .vse-r output { color: #7dd3fc; font: 700 12px/1.4 ui-monospace, Menlo, monospace; }
.admin-body .vse-r input[type="range"] { width: 100%; accent-color: #38bdf8; }
.admin-body .vse-tg { display: flex; align-items: flex-start; gap: 8px; color: #d1d5db; font-size: 12.5px; line-height: 1.35; cursor: pointer; }
.admin-body .vse-tg input { margin-top: 2px; accent-color: #38bdf8; }
.admin-body .vse-seg { display: grid; grid-auto-flow: column; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(0,0,0,.3); }
.admin-body .vse-seg button { height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--v-soft); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.admin-body .vse-seg button.is-on { background: #fff; color: #0b0f17; }
.admin-body .vse-note { margin: 0; color: var(--v-mute); font-size: 11.5px; }
.admin-body .vse-crop summary { color: #d1d5db; font-size: 12.5px; font-weight: 650; cursor: pointer; }
.admin-body .vse-crop[open] { display: grid; gap: 8px; }
.admin-body .vse-box > footer { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--v-line); background: #12151e; }
.admin-body .vse-box > footer > span { flex: 1; }
.admin-body .vse-live { display: flex; flex: 1; align-items: center; gap: 8px; color: #d1d5db; font-size: 12.5px; font-weight: 650; cursor: pointer; }
.admin-body .vse-live input { accent-color: #22c55e; }
.admin-body .vse-rb { color: var(--v-mute); font-style: normal; font-size: 11px; cursor: help; }
.admin-body .vse-ghost { height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); color: #e5e7eb; box-shadow: inset 0 0 0 1px var(--v-line); font-size: 13px; font-weight: 650; cursor: pointer; }
.admin-body .vse-ghost:hover { background: rgba(255,255,255,.1); }
.admin-body .vse-save { height: 38px; padding: 0 20px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #e3262f, #b3121b); color: #fff; font-size: 13.5px; font-weight: 800; box-shadow: 0 6px 18px rgba(227,38,47,.35); cursor: pointer; }
.admin-body .vse-save:disabled { opacity: .6; cursor: wait; }
@media (max-width: 980px) { .admin-body .vse-main { grid-template-columns: 1fr; overflow: auto; } .admin-body .vse-side { border-left: 0; border-top: 1px solid var(--v-line); overflow: visible; } .admin-body .vse-box { overflow: auto; } }

/* ---- TV studio on a phone: one tidy column in working order. The desktop desk (sources | monitors | sources) is
   flattened: PROGRAM, PREVIEW + CUT, the 8 sources in one 4x2 grid, then the rundown, clips, intro, sound, talkback,
   the site monitor and the air background. Sticky TV bar becomes a normal one with a swipeable tab strip. */
@media (max-width: 700px) {
.admin-body .tvs-bar { position: static; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 10px; padding: 10px 12px; }
.admin-body .tvs-bar .tvs-brand b, .admin-body .tvs-bar .tvs-clock small { display: none; }
.admin-body .tvs-bar .tvs-brand img { height: 22px; width: auto; }
.admin-body .tvs-bar .tvs-onair { grid-column: 3; justify-self: end; }
.admin-body .tvs-bar .tvs-clock { grid-column: 2; justify-self: end; }
.admin-body .tvs-bar .tvs-clock b { font-size: 13px; }
.admin-body .tvs-bar .tvs-tabs { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px 2px; scroll-snap-type: x proximity; }
.admin-body .tvs-bar .tvs-tabs::-webkit-scrollbar { display: none; }
.admin-body .tvs-bar .tvs-tabs button { flex: 0 0 auto; width: auto; padding: 0 12px; height: 36px; gap: 6px; scroll-snap-align: start; }
.admin-body .tvs-bar .tvs-tabs button span { display: inline; font-size: 13px; white-space: nowrap; }
.admin-body .tva.ls { padding: 8px; grid-template-columns: minmax(0, 1fr); }
.admin-body .tva.ls > * { min-width: 0; }
.admin-body .tva .ls-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px; }
.admin-body .tva .ls-head .ls-tally { padding: 8px 12px; gap: 2px 8px; }
.admin-body .tva .ls-head .ls-title { min-width: 0; }
.admin-body .tva .ls-head .ls-title small { display: block; font-size: 10px; letter-spacing: .14em; white-space: nowrap; }
.admin-body .tva .ls-head .ls-title h2 { font-size: 17px; line-height: 1.2; white-space: normal; overflow: visible; text-overflow: clip; margin: 2px 0 0; }
.admin-body .tva .ls-head .ls-stats { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.admin-body .tva .ls-head .ls-stats span { display: block; padding: 10px 12px; min-height: 0; }
.admin-body .tva .ls-head .ls-stats span small { display: block; margin-top: 2px; }
.admin-body .tva .ls-source label { min-width: 0; }
.admin-body .tva .st2-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; }
.admin-body .tva .st2-tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 58px; min-height: 0; padding: 4px 2px; font-size: 11.5px; text-align: center; position: relative; }
.admin-body .tva .st2-tabs button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.admin-body .tva .st2-tabs button svg { width: 18px; height: 18px; }
.admin-body .tva .st2-tabs button i { position: absolute; top: 8px; right: 10px; margin: 0; }
.admin-body .tva .ctl2 { padding-bottom: 56px; }
.admin-body .tva .ctl2-panel { padding: 14px; }
.admin-body .tva .ctl2-keys { display: none; }
.admin-body .tva .ctl2-bar { grid-template-columns: auto minmax(0, 1fr); grid-auto-flow: row; align-items: center; gap: 10px; padding: 12px; }
.admin-body .tva .ctl2-bar .ctl2-bar-info { min-width: 0; }
.admin-body .tva .ctl2-bar .ctl2-bar-info b { font-size: 13px; line-height: 1.3; white-space: normal; }
.admin-body .tva .ctl2-bar .ctl2-bar-info small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .tva .ctl2-bar .ctl2-rec, .admin-body .tva .ctl2-bar .ctl2-recauto { width: 100%; height: 42px; justify-content: center; }
.admin-body .tva .ctl2-mixer .ctl2-strips button { white-space: nowrap; font-size: 11px; }
.admin-body .tva .dsk-stage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.admin-body .tva .dsk-stage > .dsk-side, .admin-body .tva .dsk-stage > .dsk-center { display: contents; }
.admin-body .tva .dsk-stage > * > * { grid-column: 1 / -1; order: 1; min-width: 0; margin-top: 0; }
.admin-body .tva .dsk-stage > .dsk-side > .ctl2-tile { grid-column: auto; order: 3; }
.admin-body .tva .dsk-stage .dsk-pgm { order: 1; }
.admin-body .tva .dsk-stage .dsk-pvw { order: 2; }
.admin-body .tva .dsk-stage .dsk-rd { order: 4; }
.admin-body .tva .dsk-stage .dsk-sjs { order: 5; }
.admin-body .tva .dsk-stage .dsk-in { order: 6; }
.admin-body .tva .dsk-stage .dsk-sound { order: 7; }
.admin-body .tva .dsk-stage .tb-box { order: 8; }
.admin-body .tva .dsk-stage .dsk-site { order: 9; }
.admin-body .tva .dsk-stage .dsk-sl:not(.dsk-in) { order: 10; }
.admin-body .tva .dsk-stage > .dsk-side > .ctl2-tile.is-void, .admin-body .tva .dsk-stage > .dsk-side > .ctl2-tile.is-add { height: 44px; min-height: 0; padding: 0 4px; display: grid; place-items: center; align-content: center; gap: 0; }
.admin-body .tva .dsk-stage > .dsk-side > .ctl2-tile.is-add b { font-size: 13px; line-height: 1; }
.admin-body .tva .dsk-stage > .dsk-side > .ctl2-tile.is-add button { height: 20px; min-height: 0; padding: 0 6px; font-size: 10.5px; margin-top: 3px; }
.admin-body .tva .dsk-cutrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 96px; gap: 8px; }
.admin-body .tva .dsk-cutrow .ctl2-cut { height: 52px; font-size: 16px; }
.admin-body .tva .dsk-cutrow .ctl2-cut small { display: none; }
.admin-body .tva .dsk-cutrow .ctl2-blk { height: 52px; }
.admin-body .tva .dsk-rd .rd-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; width: 100%; margin: 8px 0 0; }
.admin-body .tva .dsk-rd .rd-nav .dsk-mini { width: 100%; height: 36px; margin: 0; justify-content: center; }
.admin-body .tva .dsk-rd .rd-nav .rd-auto { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; gap: 8px; height: 30px; margin: 0; font-size: 13px; }
.admin-body .tva .dsk-rd .rd-nav .rd-auto input { width: 18px; height: 18px; margin: 0; }
.admin-body .tva .dsk-in .in-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.admin-body .tva .dsk-in .in-row select { width: 100%; height: 40px; }
.admin-body .tva .dsk-in .in-chk { display: flex; align-items: center; gap: 8px; font-size: 13px; text-align: left; }
.admin-body .tva .dsk-in .in-chk input { width: 18px; height: 18px; margin: 0; }
.admin-body .tva .tb-box { padding: 14px; }
.admin-body .tva .tb-box .tb-all { width: 100%; height: 60px; font-size: 16px; }
.admin-body .tva .dsk-stage .dsk-sound { padding: 14px; }
.admin-body .tva .dsk-stage .dsk-sound header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; }
.admin-body .tva .dsk-stage .dsk-snd { height: 42px; font-size: 13.5px; padding: 0 12px; border-radius: 10px; }
.admin-body .tva .dsk-stage .dsk-snd-foot .ctl2-afl span { font-size: 13px; }
.admin-body .tva .dsk-stage .dsk-sl:not(.dsk-in) { padding: 14px; }
.admin-body .tva .dsk-stage .dsk-sl:not(.dsk-in) header b { font-size: 16px; }
.admin-body .tva .dsk-stage .dsk-sl:not(.dsk-in) .sl-note { font-size: 12px; margin-bottom: 10px; }
.admin-body .tva .dsk-stage .dsk-sl .sl-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-body .tva .dsk-stage .sl-card { padding: 5px; gap: 3px; }
.admin-body .tva .dsk-stage .sl-card b { font-size: 12px; }
.admin-body .tva .dsk-stage .sl-card small { font-size: 11px; }
.admin-body .tva .dsk-stage .sl-card .sl-x { width: 24px; height: 24px; font-size: 11px; }
.admin-body .tva .gd, .admin-body .tva .gd > * { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.admin-body .tva .gd .gd-act { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.admin-body .tva .gd .gd-act .take { grid-column: 1 / -1; width: 100%; height: 54px; }
.admin-body .tva .gd .gd-act .tvx-btn:not(.take) { width: 100%; min-width: 0; height: 44px; white-space: nowrap; }
.admin-body .tva .pr-flags { grid-template-columns: 1fr 1fr 44px 52px 44px; gap: 6px; }
.admin-body .tva .pr-flags > * { min-width: 0; padding-left: 4px; padding-right: 4px; justify-content: center; white-space: nowrap; }
.admin-body .tva .pr-flags > span { text-align: center; font-size: 12px; }
}
/* TV "Studiya" (monitor) on a phone: the now-playing strip, equal tabs and the player's buffer row. */
@media (max-width: 700px) {
.admin-body .tva .st2-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.admin-body .tva .st2-strip .st2-now { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.admin-body .tva .st2-strip .st2-now > div { min-width: 0; }
.admin-body .tva .st2-strip .st2-now small { display: block; white-space: nowrap; font-size: 10px; letter-spacing: .14em; }
.admin-body .tva .st2-strip .st2-now b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; overflow: hidden; font-size: 16px; line-height: 1.25; }
.admin-body .tva .st2-strip .st2-now em { font-size: 15px; padding: 6px 8px; }
.admin-body .tva .tvx-buf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.admin-body .tva .tvx-buf-row .tvx-buf-meter { flex: 1 1 80px; }
.admin-body .tva .tvx-buf-row small { order: 5; flex: 1 1 auto; white-space: nowrap; }
.admin-body .tva .tvx-buf-row .tvx-chip { order: 6; margin-left: auto; }
}
.public-ad-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.admin-body .message-composer-readonly p { margin: 0; color: #667085; font-size: 11px; line-height: 1.5; }

/* "Bütün populyar xəbərlər" stays on one line in every popular panel. */
.popular-panel h2 { font-size: 16px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Side ads on every page with rails (not only articles) on 1181–1420 px screens. TV and ad-places pages have no rails. */
@media (min-width: 1181px) and (max-width: 1420px) {
  .page-shell:not(.tv-shell):not(.ads-shell):has(> .side-rail) {
    width: min(100% - 32px, 1260px);
    grid-template-columns: minmax(86px, 104px) minmax(0, 1fr) minmax(86px, 104px);
    gap: 18px;
  }
  .page-shell:not(.tv-shell):not(.ads-shell) > .side-rail { display: block; }
  .page-shell:not(.tv-shell):not(.ads-shell) > .side-rail .skyscraper { max-width: 104px; }
  /* The narrower column keeps the whole hero banner instead of cropping its sides. */
  .home-flow .wide-ad.kontakt { height: auto; aspect-ratio: 900 / 65; }
}

/* "Kopyalandı" bubble above the copy-link button in the share sheet. */
[data-copy-link] { position: relative; overflow: visible; }
[data-copy-link].is-copied::after { content: attr(data-copied-text); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 30; transform: translateX(-50%); padding: 4px 8px; border-radius: 5px; background: #16a34a; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.3; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); animation: copied-pop .16s ease-out; }
[data-copy-link].is-copied::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 3px); z-index: 30; transform: translateX(-50%); border: 5px solid transparent; border-bottom: 0; border-top-color: #16a34a; pointer-events: none; }
@keyframes copied-pop { from { opacity: 0; transform: translate(-50%, 3px); } to { opacity: 1; transform: translate(-50%, 0); } }
.public-ad-turnstile { margin-top: 14px; min-height: 65px; }
.public-ad-turnstile[hidden] { display: none; }
/* Each camera's own lower third (Pult) */
.admin-body .ctl2-lt-badge { position: absolute; left: 6px; bottom: 44px; z-index: 2; max-width: calc(100% - 12px); padding: 2px 6px; border-radius: 5px; background: rgba(220, 38, 38, .9); color: #fff; font: 700 10px/1.3 inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
/* Camera lower thirds: two settings with switches, then one card per camera with a preview of its plate. */
.admin-body .ctl2-lt { --lt-ink: var(--x-ink, #f5f6f8); --lt-soft: var(--x-soft, #b4bac6); --lt-mute: var(--x-mute, #7a8291); --lt-line: var(--x-line, rgba(255,255,255,.075)); --lt-line2: var(--x-line-2, rgba(255,255,255,.13)); --lt-field: rgba(255,255,255,.035); margin-top: 14px; }
.admin-body .ctl2-lt > header small { flex-basis: 100%; }
.admin-body .ctl2-lt-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 10px; margin-bottom: 14px; }
.admin-body .ctl2-lt-opt { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lt-line); background: var(--lt-field); }
.admin-body .ctl2-lt-opt > span { display: grid; gap: 2px; flex: 1 1 180px; min-width: 0; }
.admin-body .ctl2-lt-opt b { color: var(--lt-ink); font-size: 13px; font-weight: 650; }
.admin-body .ctl2-lt-opt small { color: var(--lt-mute); font-size: 12px; line-height: 1.4; }
.admin-body .ctl2-lt-switch { position: relative; flex: none; width: 40px; height: 22px; padding: 0; border-radius: 999px; border: 1px solid var(--lt-line2); background: #262d3a; cursor: pointer; transition: background .2s, border-color .2s; }
.admin-body .ctl2-lt-switch i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #cbd2dc; box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .2s, background .2s; }
.admin-body .ctl2-lt-switch.is-on { background: #16a34a; border-color: #16a34a; } .admin-body .ctl2-lt-switch.is-on i { transform: translateX(18px); background: #fff; }
.admin-body .ctl2-lt-switch:focus-visible { outline: 2px solid #ef4444; outline-offset: 2px; }
.admin-body .ctl2-lt-hold { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--lt-soft); font-size: 12px; }
.admin-body .ctl2-lt-hold select { height: 32px; padding: 0 28px 0 10px; border-radius: 8px; border: 1px solid var(--lt-line2); background-color: #0d1118; color: var(--lt-ink); font: 600 12.5px/1 inherit; }
.admin-body .ctl2-lt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.admin-body .ctl2-lt-card { display: grid; gap: 12px; min-width: 0; padding: 14px; border-radius: 14px; border: 1px solid var(--lt-line); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); }
.admin-body .ctl2-lt-card.is-pgm { border-color: rgba(239,68,68,.45); box-shadow: 0 0 0 1px rgba(239,68,68,.15); }
.admin-body .ctl2-lt-card > header { display: flex; align-items: center; gap: 8px; min-width: 0; }
.admin-body .ctl2-lt-num { display: inline-grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #1b2230; color: var(--lt-soft); font: 800 12px/1 var(--c-mono, ui-monospace, monospace); }
.admin-body .ctl2-lt-name { overflow: hidden; color: var(--lt-ink); font-size: 14px; font-weight: 650; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .ctl2-lt-onair { flex: none; padding: 3px 7px; border-radius: 5px; background: #dc2626; color: #fff; font: 800 10px/1 inherit; font-style: normal; letter-spacing: .08em; }
.admin-body .ctl2-lt-corner { display: grid; flex: none; grid-template-columns: repeat(2, 24px); gap: 3px; margin-left: auto; }
.admin-body .ctl2-lt-corner button { position: relative; width: 24px; height: 16px; padding: 0; border-radius: 4px; border: 1px solid var(--lt-line2); background: #0d1118; cursor: pointer; }
.admin-body .ctl2-lt-corner button i { position: absolute; width: 9px; height: 4px; border-radius: 1px; background: #4b5567; }
.admin-body .ctl2-lt-corner i.is-tl { left: 2px; top: 2px; } .admin-body .ctl2-lt-corner i.is-tr { right: 2px; top: 2px; } .admin-body .ctl2-lt-corner i.is-bl { left: 2px; bottom: 2px; } .admin-body .ctl2-lt-corner i.is-br { right: 2px; bottom: 2px; }
.admin-body .ctl2-lt-corner button.is-on { border-color: #ef4444; background: rgba(239,68,68,.16); } .admin-body .ctl2-lt-corner button.is-on i { background: #ef4444; }
.admin-body .ctl2-lt-corner button:hover:not(:disabled) { border-color: #64748b; } .admin-body .ctl2-lt-corner button:disabled { opacity: .3; cursor: default; }
.admin-body .ctl2-lt-corner button:focus-visible { outline: 2px solid #ef4444; outline-offset: 1px; }
/* The plate as it will look on air, over a dim picture. */
.admin-body .ctl2-lt-prev { display: grid; justify-items: start; align-content: end; min-height: 78px; padding: 12px; border-radius: 10px; background: linear-gradient(135deg, #1d2633, #0e131b 60%), #0e131b; overflow: hidden; }
.admin-body .ctl2-lt-prev b { max-width: 100%; padding: 6px 12px; background: var(--pb); color: var(--pf); font: 800 16px/1.2 Inter, system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.admin-body .ctl2-lt-prev span { max-width: 100%; padding: 4px 11px; background: var(--sb); color: var(--sf); font: 600 12px/1.3 Inter, system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .ctl2-lt-prev span[hidden] { display: none; }
.admin-body .ctl2-lt-prev.is-blank b { opacity: .45; }
.admin-body .ctl2-lt-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-body .ctl2-lt-fields label { display: grid; gap: 5px; min-width: 0; } .admin-body .ctl2-lt-fields label.is-wide { grid-column: 1 / -1; }
.admin-body .ctl2-lt-fields label > span { color: var(--lt-mute); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-body .ctl2-lt-fields :is(input, select) { width: 100%; height: 36px; min-width: 0; padding: 0 10px; border-radius: 9px; border: 1px solid var(--lt-line2); background: #0d1118; color: var(--lt-ink); font: 500 13px/1 inherit; }
.admin-body .ctl2-lt-fields :is(input, select):focus { outline: none; border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.18); }
.admin-body .ctl2-lt-fields input::placeholder { color: #566072; }
.admin-body .ctl2-lt-card > footer { display: flex; gap: 8px; }
.admin-body .ctl2-lt-card > footer button { height: 34px; padding: 0 14px; border-radius: 9px; font: 700 12.5px/1 inherit; cursor: pointer; }
.admin-body .ctl2-lt-save { flex: 1; border: 0; background: #2563eb; color: #fff; } .admin-body .ctl2-lt-save:hover { background: #1d4ed8; }
.admin-body .ctl2-lt-save.is-dirty { background: #f59e0b; color: #111; } .admin-body .ctl2-lt-save.is-dirty:hover { background: #d97706; }
.admin-body .ctl2-lt-air { flex: 1; border: 1px solid rgba(239,68,68,.55); background: rgba(239,68,68,.12); color: #fca5a5; } .admin-body .ctl2-lt-air:hover:not(:disabled) { background: #dc2626; border-color: #dc2626; color: #fff; }
.admin-body .ctl2-lt-air:disabled { opacity: .4; cursor: default; }
.admin-body .ctl2-lt-del { width: 34px; padding: 0 !important; border: 1px solid var(--lt-line2); background: transparent; color: var(--lt-mute); font-size: 18px !important; } .admin-body .ctl2-lt-del:hover { border-color: #ef4444; color: #fca5a5; }
.admin-body .ctl2-lt-card button:focus-visible { outline: 2px solid #ef4444; outline-offset: 2px; }
.admin-body .ctl2-lt-none { margin: 0; color: var(--lt-mute); font-size: 13px; }

/* ===== Canlı yayım studiyası, v489: one tidy console =====
   The page head, the "where it is on air" strip and the pult bar read as one stack; the stage keeps only what is
   touched every minute (sources, program, preview, CUT, intercom); sound source and air background live in the tabs. */
.admin-body .tva.studio.ls { gap: 14px; }
.admin-body .tva.studio.ls .ctl2 { gap: 14px; }
.admin-body .tva.studio.ls .ls-tabs { margin-top: 0; }
/* Where it is on air: one row of equal cards instead of a tall list; the head no longer repeats the same chips */
.admin-body .tva.studio.ls .ls-head.is-air .ls-plats { display: none; }
.admin-body .tva.studio.ls .ls-where { margin: 0; padding: 14px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 18px; }
.admin-body .tva.studio.ls .ls-where > h3 { margin: 0; color: var(--x-soft); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.admin-body .tva.studio.ls .ls-where ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; margin: 0; }
.admin-body .tva.studio.ls .ls-where li, .admin-body .tva.studio.ls .ls-where li + li { margin: 0; padding: 9px 12px; border: 1px solid var(--x-line); border-radius: 12px; background: var(--ls-inner); }
.admin-body .tva.studio.ls .ls-where li > b { font-size: 13.5px; }
.admin-body .tva.studio.ls .ls-where li > span { font-size: 12px; }
.admin-body .tva.studio.ls .ls-where li > em b { font-size: 16px; }
.admin-body .tva.studio.ls .ls-where-note { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; color: var(--x-mute); font-size: 12px; }
@media (max-width: 900px) { .admin-body .tva.studio.ls .ls-where { grid-template-columns: 1fr; } }
/* Pult bar: the state is a quiet pill here (the big ON AIR lives in the page head) */
.admin-body .tva.studio.ls .ctl2-bar { padding: 10px 14px; border-radius: 16px; gap: 14px; }
.admin-body .tva.studio.ls .ctl2-tally { min-width: 0; padding: 7px 12px; border-radius: 999px; font-size: 11px; letter-spacing: .14em; box-shadow: none; }
.admin-body .tva.studio.ls .ctl2-tally i { width: 8px; height: 8px; }
/* Source tiles: nothing sits on top of anything else */
.admin-body .tva.studio.ls .dsk-side .ctl2-tile { border-radius: 14px; }
.admin-body .tva.studio.ls .ctl2-net { left: auto; right: 6px; top: 28px; bottom: auto; padding: 3px 6px; font-size: 9.5px; }
.admin-body .tva.studio.ls .ctl2-lt-badge { left: 6px; bottom: 40px; font-family: inherit; font-size: 10px; font-weight: 700; line-height: 1.3; padding: 2px 6px; }
.admin-body .tva.studio.ls .dsk-side .ctl2-tile .ctl2-tile-name { padding: 16px 8px 6px; }
/* Program: layout chips wrap instead of being cut off */
.admin-body .tva.studio.ls .dsk-chips { flex-wrap: wrap; overflow: visible; padding: 10px 12px 12px; gap: 6px; }
.admin-body .tva.studio.ls .dsk-chip { flex: 1 1 auto; justify-content: center; height: 32px; padding: 0 10px 0 6px; font-size: 11.5px; border-radius: 9px; }
.admin-body .tva.studio.ls .dsk-chip.is-more { flex: 0 0 40px; padding: 0; }
/* Checkboxes inside rows keep their own size */
.admin-body .tva.studio.ls :is(.rd-auto, .in-chk, .ctl2-afl) input[type="checkbox"] { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--x-red); }
.admin-body .tva.studio.ls :is(.rd-auto, .in-chk) { display: inline-flex; flex-direction: row; align-items: center; gap: 7px; white-space: nowrap; }
.admin-body .tva.studio.ls .dsk-rd > header { align-items: center; }
.admin-body .tva.studio.ls .dsk-rd > header small { flex: 1 1 220px; }
.admin-body .tva.studio.ls .dsk-in .in-row { align-items: center; gap: 10px 16px; }
.admin-body .tva.studio.ls .dsk-in .in-row select { flex: 1 1 220px; min-width: 0; }
.admin-body .tva.studio.ls .dsk-in .in-go { margin-left: auto; }
/* Intercom: the name gets the whole line, the talk button its own */
.admin-body .tva.studio.ls .tb-box { padding: 14px; border-radius: 16px; border: 1px solid var(--x-line); background: var(--ls-card); box-shadow: var(--ls-shadow); }
.admin-body .tva.studio.ls .tb-row { grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto; row-gap: 6px; padding: 8px; }
.admin-body .tva.studio.ls .tb-n { grid-row: 1; }
.admin-body .tva.studio.ls .tb-row em { display: none; }
.admin-body .tva.studio.ls .tb-row:is(.is-hot, .is-down) em { display: block; grid-column: 1 / -1; }
.admin-body .tva.studio.ls .tb-btn { grid-column: 1 / -1; grid-row: auto; width: 100%; height: 32px; }
.admin-body .tva.studio.ls .tb-hint { font-size: 11px; cursor: help; }
/* Site monitor and add-source tile match the other cards */
.admin-body .tva.studio.ls .dsk-side .dsk-site { margin-top: 0; padding: 8px; }
/* Tabs under the stage and what they open */
.admin-body .tva.studio.ls .ctl2-tabs { margin-top: 0; padding: 6px; border-radius: 18px; border: 1px solid var(--x-line); background: rgba(0,0,0,.28); }
.admin-body .tva.studio.ls .ctl2-tabs button { border-radius: 13px; padding: 10px 14px; }
.admin-body .tva.studio.ls .ctl2-pane { margin-top: 0; display: grid; gap: 14px; }
.admin-body .tva.studio.ls .ctl2-pane.is-off { display: none; }
.admin-body .tva.studio.ls .ctl2-pane > :is(.dsk-sound, .dsk-sl) { padding: 20px; border-radius: 20px; }
.admin-body .tva.studio.ls .ctl2-pane .dsk-snds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 8px; }
.admin-body .tva.studio.ls .ctl2-pane .dsk-snd { height: 40px; padding: 0 12px; border-radius: 11px; font-size: 13px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .tva.studio.ls .ctl2-pane .dsk-bed { grid-template-columns: auto minmax(0, 1fr) minmax(180px, 280px); align-items: center; gap: 14px; margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; }
.admin-body .tva.studio.ls .ctl2-pane .dsk-snd-foot { margin-top: 12px; }
.admin-body .tva.studio.ls .ctl2-pane .dsk-sl .sl-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 190px)); gap: 10px; overflow: visible; }
.admin-body .tva.studio.ls .ctl2-pane .dsk-sl .sl-note { display: block; margin: -8px 0 12px; color: var(--x-mute); font-size: 12.5px; }
.admin-body .tva.studio.ls .ctl2-pane .sl-card { flex: none; }
@media (max-width: 720px) { .admin-body .tva.studio.ls .ctl2-pane .dsk-bed { grid-template-columns: 1fr; } }
.admin-body .tva.studio.ls .dsk-chip { flex: 0 0 auto; }
.admin-body .tva.studio.ls .dsk-chip.is-more { margin-left: auto; }
.admin-body .tva.studio.ls .tb-box header { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin: 0; }
.admin-body .tva.studio.ls .tb-box header b { font-size: 15px; white-space: nowrap; }
.admin-body .tva.studio.ls .tb-box header small { margin-left: auto; padding: 3px 7px; font-size: 9px; letter-spacing: .05em; white-space: nowrap; line-height: 1.2; }
.admin-body .tva.studio.ls .dsk-site .ctl2-mon-head b { font-size: 12px; }
.admin-body .tva.studio.ls .dsk-site .ctl2-mon-head small { display: none; }
.admin-body .tva.studio.ls .ctl2-links td b { color: var(--x-ink); }
.admin-body .tva.studio.ls .ctl2-links .ctl2-acts button.danger { border-color: rgba(255,59,74,.4); background: rgba(255,59,74,.1); color: #ff8d97; }
.admin-body .tva.studio.ls .ctl2-links .ctl2-acts button.danger:hover { background: rgba(255,59,74,.2); color: #fff; }
.admin-body .tva.studio.ls .ctl2-ch :is(.ctl2-on, .ctl2-pfl) { white-space: nowrap; overflow: hidden; font-size: 11px; letter-spacing: .06em; padding: 0 4px; }
.admin-body .tva.studio.ls .ls-head .ls-stats span { display: block; }
.admin-body .tva.studio.ls .ls-head .ls-stats span b { margin-right: 2px; }
.admin-body .tva.studio.ls .ls-head .ls-stats span small { display: block; margin-top: 2px; }
.admin-body .tva.studio.ls .ctl2, .admin-body .tva.studio.ls .ctl2-pane { grid-template-columns: minmax(0, 1fr); }
.admin-body .tva.studio.ls .ctl2 > *, .admin-body .tva.studio.ls .ctl2-pane > * { min-width: 0; }
.admin-body .tva.studio.ls .ctl2-links { overflow-x: auto; }
/* The hidden radio inside each style card is absolutely placed: without this it escaped the scrolling style list and
   stretched the whole page, leaving an empty strip under the studio (and the sidebar ending early). */
.admin-body .gd-style { position: relative; }

/* ===================== TV › Studiya şablonları (virtual studio templates) ===================== */
.admin-body .vt { display: grid; gap: 18px; color: var(--x-ink, #f5f6f8); }
.admin-body .vt h3 { margin: 0; font-size: 19px; letter-spacing: -.015em; }
.admin-body .vt h4 { margin: 0 0 6px; font-size: 15px; letter-spacing: -.01em; }
.admin-body .vt-muted { margin: 0; color: var(--x-soft, #b4bac6); font-size: 13.5px; line-height: 1.55; }
.admin-body .vt-muted.small { font-size: 12.5px; color: var(--x-mute, #7a8291); }
.admin-body .vt-spin { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); border-top-color: var(--x-red, #ff3b4a); animation: vt-spin .8s linear infinite; }
@keyframes vt-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .admin-body .vt-spin { animation-duration: 2.4s; } }

/* Gallery */
.admin-body .vt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.admin-body .vt-card { display: grid; grid-template-rows: auto 1fr; padding: 0; overflow: hidden; text-align: left; color: inherit; border-radius: 18px; border: 1px solid var(--x-line, rgba(255,255,255,.075)); background: var(--x-surface, rgba(255,255,255,.035)); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.admin-body .vt-card:hover { border-color: var(--x-line-2, rgba(255,255,255,.13)); transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.8); }
.admin-body .vt-card:focus-visible { outline: 2px solid var(--x-blue, #6ea8ff); outline-offset: 2px; }
.admin-body .vt-card.is-on { border-color: rgba(255,59,74,.7); box-shadow: 0 0 0 1px rgba(255,59,74,.45), 0 20px 44px -26px rgba(255,59,74,.55); }
.admin-body .vt-card-img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1a1d26, #0f1117); }
.admin-body .vt-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-body .vt-card-img em { font-style: normal; font-size: 12px; color: var(--x-mute, #7a8291); }
.admin-body .vt-card-img u { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; text-decoration: none; letter-spacing: .02em; color: #fff; background: rgba(10,11,15,.72); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.admin-body .vt-card-body { display: grid; gap: 8px; padding: 12px 14px 14px; }
.admin-body .vt-card-body b { font-size: 14.5px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .vt-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-body .vt-chips i { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; color: var(--x-mute, #7a8291); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.admin-body .vt-chips i.on { color: #bff3da; background: rgba(61,220,151,.12); border-color: rgba(61,220,151,.28); }
.admin-body .vt-card-new { grid-template-rows: none; place-content: center; justify-items: center; gap: 6px; min-height: 190px; padding: 18px; text-align: center; border-style: dashed; border-width: 2px; border-color: rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); }
.admin-body .vt-card-new small { color: var(--x-mute, #7a8291); font-size: 12.5px; }
.admin-body .vt-plus { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--x-red, #ff3b4a), #ff8a3d); box-shadow: 0 10px 24px -10px rgba(255,59,74,.7); }

/* Editor */
.admin-body .vt-editor { display: grid; gap: 16px; padding: 20px; border-radius: 22px; border: 1px solid var(--x-line, rgba(255,255,255,.075)); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); }
.admin-body .vt-ehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.admin-body .vt-ehead h3 { margin-top: 4px; font-size: 22px; }
.admin-body .vt-eact { display: flex; gap: 8px; }
.admin-body .vt-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--x-line, rgba(255,255,255,.075)); }
.admin-body .vt-steps button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border: 0; border-radius: 12px; text-align: left; color: var(--x-soft, #b4bac6); background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.admin-body .vt-steps button:hover { background: rgba(255,255,255,.05); color: var(--x-ink, #f5f6f8); }
.admin-body .vt-steps button.is-on { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.admin-body .vt-steps span { grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-weight: 800; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.admin-body .vt-steps button.is-on span { background: var(--x-red, #ff3b4a); border-color: transparent; color: #fff; }
.admin-body .vt-steps button.is-done span { background: rgba(61,220,151,.16); border-color: rgba(61,220,151,.4); color: #3ddc97; }
.admin-body .vt-steps b { font-size: 14px; }
.admin-body .vt-steps small { font-size: 12px; color: var(--x-mute, #7a8291); }
.admin-body .vt-panel { display: grid; gap: 14px; align-content: start; padding: 18px; border-radius: 18px; background: rgba(0,0,0,.2); border: 1px solid var(--x-line, rgba(255,255,255,.075)); }
.admin-body .vt-note { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; color: var(--x-soft, #b4bac6); background: rgba(110,168,255,.08); border: 1px solid rgba(110,168,255,.2); }
.admin-body .vt-hint { margin: 0; font-size: 13px; color: var(--x-mute, #7a8291); }
.admin-body .vt-warn { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: #ffe3a3; background: rgba(255,197,61,.1); border: 1px solid rgba(255,197,61,.28); }
.admin-body .vt-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(61,220,151,.08); border: 1px solid rgba(61,220,151,.25); }
.admin-body .vt-next span { color: #bff3da; font-weight: 600; }

/* Fields */
.admin-body .vt-field { display: grid; gap: 6px; min-width: 0; }
.admin-body .vt-field > span { font-size: 12.5px; font-weight: 600; color: var(--x-soft, #b4bac6); }
.admin-body .vt-field input[type="text"], .admin-body .vt-field select { height: 42px; padding: 0 12px; border-radius: 11px; font: inherit; font-size: 14px; color: var(--x-ink, #f5f6f8); background: rgba(255,255,255,.05); border: 1px solid var(--x-line-2, rgba(255,255,255,.13)); }
.admin-body .vt-field input[type="text"]:focus, .admin-body .vt-field select:focus { outline: none; border-color: var(--x-blue, #6ea8ff); box-shadow: 0 0 0 3px rgba(110,168,255,.18); }
.admin-body .vt-field select option { color: #111; }
.admin-body .vt-newname input { height: 48px !important; font-size: 16px !important; }
.admin-body .vt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Layers */
.admin-body .vt-stack { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: center; }
.admin-body .vt-stack-art { position: relative; height: 220px; perspective: 700px; }
.admin-body .vt-stack-art i { position: absolute; left: 14px; right: 14px; height: 92px; display: grid; place-items: end start; padding: 8px 10px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; border-radius: 10px; transform: rotateX(58deg) rotateZ(-8deg); box-shadow: 0 14px 30px -14px rgba(0,0,0,.9); }
.admin-body .vt-stack-art .l1 { top: 118px; background: linear-gradient(135deg, #1d4ed8, #0b1d52); border: 1px solid rgba(110,168,255,.5); color: #cfe0ff; }
.admin-body .vt-stack-art .lp { top: 82px; background: radial-gradient(40% 70% at 50% 100%, rgba(61,220,151,.55), transparent 70%); border: 1px dashed rgba(61,220,151,.6); color: #bff3da; }
.admin-body .vt-stack-art .l2 { top: 46px; background: linear-gradient(180deg, transparent 55%, rgba(226,232,240,.75) 56%); border: 1px dashed rgba(255,255,255,.35); color: #fff; }
.admin-body .vt-stack-art .l3 { top: 10px; background: linear-gradient(135deg, transparent 75%, rgba(255,59,74,.85) 76%); border: 1px dashed rgba(255,59,74,.55); color: #ffd1d5; }
.admin-body .vt-slots { display: grid; gap: 10px; }
.admin-body .vt-slot { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--x-line, rgba(255,255,255,.075)); transition: border-color .2s; }
.admin-body .vt-slot.has { border-color: rgba(61,220,151,.3); background: linear-gradient(90deg, rgba(61,220,151,.07), rgba(255,255,255,.02)); }
.admin-body .vt-slot.is-locked { opacity: .55; }
.admin-body .vt-slot-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 18px; background: rgba(255,255,255,.06); color: var(--x-soft, #b4bac6); }
.admin-body .vt-slot.has .vt-slot-ico { background: rgba(61,220,151,.15); color: #3ddc97; }
.admin-body .vt-slot-text { display: grid; gap: 3px; min-width: 0; }
.admin-body .vt-slot-text b { font-size: 14.5px; }
.admin-body .vt-slot-text em { margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 700; color: #ffb4bb; }
.admin-body .vt-slot-text em.soft { color: var(--x-mute, #7a8291); font-weight: 600; }
.admin-body .vt-slot-text small { font-size: 12.5px; color: var(--x-mute, #7a8291); line-height: 1.45; }
.admin-body .vt-slot-act { display: flex; gap: 8px; align-items: center; }
.admin-body .vt-slot-act label { cursor: pointer; }
.admin-body .vt-tag { font-size: 12px; font-weight: 600; color: var(--x-mute, #7a8291); }

/* Calibration */
.admin-body .vt-calib { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.admin-body .vt-stage-wrap { display: grid; gap: 12px; position: sticky; top: 12px; }
.admin-body .vt-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: repeating-conic-gradient(#14161d 0 25%, #191c24 0 50%) 0 0 / 24px 24px; border: 1px solid var(--x-line-2, rgba(255,255,255,.13)); cursor: grab; touch-action: none; user-select: none; box-shadow: 0 30px 60px -36px rgba(0,0,0,.9); }
.admin-body .vt-stage.is-drag { cursor: grabbing; }
.admin-body .vt-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .25s; }
.admin-body .vt-stage.is-busy img { filter: saturate(.85) brightness(.85); }
.admin-body .vt-stage-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--x-soft, #b4bac6); font-size: 13.5px; }
.admin-body .vt-stage-busy { position: absolute; right: 12px; top: 12px; display: none; padding: 7px; border-radius: 99px; background: rgba(10,11,15,.7); backdrop-filter: blur(6px); }
.admin-body .vt-stage.is-busy .vt-stage-busy { display: block; }
.admin-body .vt-guide { position: absolute; border: 1.5px dashed rgba(255,255,255,.7); border-radius: 4px; box-shadow: 0 0 0 9999px rgba(0,0,0,0); pointer-events: none; opacity: 0; transition: opacity .2s; }
.admin-body .vt-guide::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--x-red, #ff3b4a); box-shadow: 0 0 0 3px rgba(255,59,74,.3); }
.admin-body .vt-stage:hover .vt-guide, .admin-body .vt-stage.is-drag .vt-guide, .admin-body .vt-stage.is-busy .vt-guide { opacity: 1; }
.admin-body .vt-stage-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.admin-body .vt-tip { margin: 0; font-size: 12.5px; color: var(--x-mute, #7a8291); }
.admin-body .vt-knobs { display: grid; gap: 10px; max-height: calc(100vh - 140px); overflow: auto; padding-right: 2px; }
.admin-body .vt-knobs details { border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--x-line, rgba(255,255,255,.075)); }
.admin-body .vt-knobs summary { padding: 12px 14px; font-size: 13.5px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.admin-body .vt-knobs summary::-webkit-details-marker { display: none; }
.admin-body .vt-knobs summary::after { content: "▾"; color: var(--x-mute, #7a8291); transition: transform .2s; }
.admin-body .vt-knobs details:not([open]) summary::after { transform: rotate(-90deg); }
.admin-body .vt-knobs details > :not(summary) { margin: 0 14px 12px; }
.admin-body .vt-range { display: grid; gap: 4px; }
.admin-body .vt-range span { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--x-soft, #b4bac6); }
.admin-body .vt-range output { font-variant-numeric: tabular-nums; color: var(--x-ink, #f5f6f8); font-weight: 600; }
.admin-body .vt-range input, .admin-body .vt-at input { width: 100%; accent-color: var(--x-red, #ff3b4a); }
.admin-body .vt-at output { font-variant-numeric: tabular-nums; }
.admin-body .vt-keyrow { display: flex; gap: 8px; align-items: end; }
.admin-body .vt-keyrow .vt-field { flex: 1; }
.admin-body .vt-keyrow input[type="color"] { width: 100%; height: 34px; padding: 2px; border-radius: 9px; border: 1px solid var(--x-line-2, rgba(255,255,255,.13)); background: transparent; cursor: pointer; }
.admin-body .vt-check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--x-soft, #b4bac6); }
.admin-body .vt-check input { accent-color: var(--x-red, #ff3b4a); width: 16px; height: 16px; }
.admin-body .vt-save { position: sticky; bottom: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 10px 0 2px; background: linear-gradient(180deg, transparent, rgba(10,11,15,.95) 35%); }

/* Render */
.admin-body .vt-render { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.admin-body .vt-go { height: 48px !important; font-size: 15px !important; font-weight: 700; }
.admin-body .vt-jobs { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.admin-body .vt-jobs li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--x-line, rgba(255,255,255,.075)); }
.admin-body .vt-jobs li.is-ready { border-color: rgba(61,220,151,.25); }
.admin-body .vt-jobs li.is-error { border-color: rgba(255,59,74,.3); }
.admin-body .vt-job-img { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: #12141b; }
.admin-body .vt-job-img img { width: 100%; height: 100%; object-fit: cover; }
.admin-body .vt-job-img i { font-style: normal; color: var(--x-mute, #7a8291); font-weight: 800; }
.admin-body .vt-job-text { display: grid; gap: 4px; min-width: 0; }
.admin-body .vt-job-text b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .vt-job-text small { font-size: 12.5px; color: var(--x-mute, #7a8291); }
.admin-body .vt-ok { color: #3ddc97; font-weight: 600; }
.admin-body .vt-bad { color: #ff8a93; }

/* Guide */
.admin-body .vt-guidebook { display: grid; gap: 16px; }
.admin-body .vt-gintro { padding: 18px 20px; border-radius: 18px; background: radial-gradient(120% 140% at 0% 0%, rgba(110,168,255,.14), transparent 60%), rgba(255,255,255,.03); border: 1px solid var(--x-line, rgba(255,255,255,.075)); }
.admin-body .vt-gintro p { margin: 8px 0 0; color: var(--x-soft, #b4bac6); font-size: 14px; line-height: 1.6; max-width: 820px; }
.admin-body .vt-gsteps { display: flex; flex-wrap: wrap; gap: 12px; }
.admin-body .vt-gsteps article { flex: 1 1 200px; position: relative; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--x-line, rgba(255,255,255,.075)); }
.admin-body .vt-gsteps article > span { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 10px; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--x-red, #ff3b4a), #ff8a3d); }
.admin-body .vt-gsteps p, .admin-body .vt-gcard li { margin: 0; font-size: 13px; line-height: 1.55; color: var(--x-soft, #b4bac6); }
.admin-body .vt-gsteps b, .admin-body .vt-gcard b { color: var(--x-ink, #f5f6f8); }
.admin-body .vt-gcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.admin-body .vt-gcard { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--x-line, rgba(255,255,255,.075)); }
.admin-body .vt-gcard ul, .admin-body .vt-gcard ol { display: grid; gap: 8px; margin: 0; padding-left: 18px; }

@container studio (max-width: 1100px) {
  .admin-body .vt-calib { grid-template-columns: minmax(0, 1fr) 300px; }
}
@container studio (max-width: 940px) {
  .admin-body .vt-calib, .admin-body .vt-render { grid-template-columns: 1fr; }
  .admin-body .vt-stage-wrap { position: static; }
  .admin-body .vt-knobs { max-height: none; }
  .admin-body .vt-gcols { grid-template-columns: 1fr; }
}
@container studio (max-width: 720px) {
  .admin-body .vt-steps { grid-auto-columns: minmax(118px, 1fr); }
  .admin-body .vt-steps small { display: none; }
  .admin-body .vt-stack { grid-template-columns: 1fr; }
  .admin-body .vt-stack-art { display: none; }
  .admin-body .vt-slot { grid-template-columns: 44px minmax(0, 1fr); }
  .admin-body .vt-slot-act { grid-column: 1 / -1; justify-content: flex-end; }
  .admin-body .vt-stage-bar, .admin-body .vt-two { grid-template-columns: 1fr; }
  .admin-body .md-hero.vt-hero { grid-template-columns: 1fr; }
}
.admin-body .vt-auto { display: grid; gap: 6px; padding: 12px; margin-bottom: 10px; border-radius: 12px; border: 1px solid rgba(255,59,74,.32); background: linear-gradient(135deg, rgba(255,59,74,.12), rgba(255,255,255,.03)); }
.admin-body .vt-auto .tva-btn { width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: 8px; }
.admin-body .vt-auto small { color: #b4bac6; font-size: 12px; line-height: 1.45; }
.admin-body .vt-skills { margin-top: 4px; border-top: 1px solid rgba(255,255,255,.075); padding-top: 8px; }
.admin-body .vt-skills summary { cursor: pointer; font-size: 12.5px; color: #f5f6f8; }
.admin-body .vt-skills summary b { color: #ffc861; }
.admin-body .vt-skills ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; max-height: 320px; overflow: auto; }
.admin-body .vt-skills li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; }
.admin-body .vt-skills li i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.075); color: #b4bac6; }
.admin-body .vt-skills li.is-fixed i { background: rgba(63,207,142,.16); color: #bff3da; }
.admin-body .vt-skills li.is-warn i { background: rgba(255,200,97,.18); color: #ffc861; }
.admin-body .vt-skills li b { display: block; font-size: 12.5px; color: #f5f6f8; font-weight: 600; }
.admin-body .vt-skills li small { display: block; font-size: 11.5px; line-height: 1.4; color: #7a8291; }
.admin-body .vt-shoot { display: grid; gap: 16px; }
.admin-body .vt-3d-wrap { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.075); background: #0a0b0f; }
.admin-body .vt-3d { display: block; width: 100%; height: clamp(360px, 46vw, 600px); cursor: grab; touch-action: none; }
.admin-body .vt-3d:active { cursor: grabbing; }
.admin-body .vt-3d-bar { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .vt-3d-hint { position: absolute; right: 12px; bottom: 16px; max-width: 46%; text-align: right; font-size: 11.5px; color: #7a8291; pointer-events: none; }
@container studio (max-width: 900px) { .admin-body .vt-3d-hint { display: none; } }
@media (max-width: 900px) { .admin-body .vt-3d-hint { display: none; } }
.admin-body .vt-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-body .vt-tbl td { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.075); color: #b4bac6; vertical-align: top; }
.admin-body .vt-tbl td:first-child { padding-right: 12px; color: #7a8291; }
.admin-body .vt-tbl tr:last-child td { border-bottom: 0; }
.admin-body .vt-tbl b { color: #f5f6f8; }
.admin-body .vt-sw { display: inline-block; width: 12px; height: 12px; margin: 0 4px -1px 2px; border-radius: 4px; border: 1px solid rgba(255,255,255,.25); }
.admin-body .vt-gmore { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: #b4bac6; }
.admin-body .vt-shoot-test p { margin: 0 0 12px; font-size: 13px; line-height: 1.55; color: #b4bac6; }
.admin-body .vt-shoot-pick { display: inline-flex; cursor: pointer; margin-bottom: 14px; }
.admin-body .vt-shoot-busy { display: flex; align-items: center; gap: 10px; color: #b4bac6; font-size: 13px; }
.admin-body .vt-shoot-res header { display: grid; gap: 2px; padding: 12px 14px; margin-bottom: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.075); }
.admin-body .vt-shoot-res header b { font-size: 15px; color: #f5f6f8; }
.admin-body .vt-shoot-res header small { font-size: 12px; color: #7a8291; }
.admin-body .vt-shoot-res.is-ok header { background: rgba(63,207,142,.1); border-color: rgba(63,207,142,.3); }
.admin-body .vt-shoot-res.is-warn header { background: rgba(255,200,97,.08); border-color: rgba(255,200,97,.3); }
.admin-body .vt-shoot-res.is-bad header { background: rgba(255,59,74,.08); border-color: rgba(255,59,74,.32); }
.admin-body .vt-shoot-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@container studio (max-width: 940px) { .admin-body .vt-shoot-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .admin-body .vt-shoot-grid { grid-template-columns: 1fr; } }
.admin-body .vt-shoot-grid figure { margin: 0; }
.admin-body .vt-shoot-grid img { display: block; width: 100%; border-radius: 12px; }
.admin-body .vt-shoot-grid figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin-top: 8px; font-size: 11.5px; color: #7a8291; }
.admin-body .vt-shoot-grid figcaption i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: -6px; }
.admin-body .sw-red { background: #ff3b4a; } .admin-body .sw-yel { background: #ffc861; } .admin-body .sw-grn { background: #78dca0; } .admin-body .sw-wht { background: #f5f6f8; }
.admin-body .vt-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.admin-body .vt-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); }
.admin-body .vt-checks li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; }
.admin-body .vt-checks li.is-ok i { background: rgba(63,207,142,.16); color: #bff3da; }
.admin-body .vt-checks li.is-warn i { background: rgba(255,200,97,.18); color: #ffc861; }
.admin-body .vt-checks li.is-bad i { background: rgba(255,59,74,.18); color: #ff8a93; }
.admin-body .vt-checks b { display: block; font-size: 13px; color: #f5f6f8; }
.admin-body .vt-checks em { font-style: normal; font-weight: 500; font-size: 11.5px; color: #7a8291; margin-left: 6px; }
.admin-body .vt-checks small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.45; color: #b4bac6; }
.admin-body .vt-steps::-webkit-scrollbar { display: none; }
.admin-body .vt-steps button { min-width: 0; white-space: nowrap; }
.admin-body .vt-steps b, .admin-body .vt-steps small { overflow: hidden; text-overflow: ellipsis; }
@container studio (max-width: 1100px) { .admin-body .vt-steps button { padding: 9px 10px; column-gap: 8px; } .admin-body .vt-steps span { width: 26px; height: 26px; } }
.admin-body .vt-3d-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: stretch; }
@container studio (max-width: 1100px) { .admin-body .vt-3d-layout { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .admin-body .vt-3d-layout { grid-template-columns: 1fr; } }
.admin-body .vt-3d-layers { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .vt-3d-wrap .vt-3d-layers label, .admin-body .tva.studio .vt .vt-3d-wrap .vt-3d-layers label { grid-template-columns: none; margin: 0; width: auto; line-height: 1.2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; color: #b4bac6; background: rgba(10,11,15,.7); border: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.admin-body .vt-3d-wrap .vt-3d-layers input { accent-color: #ff3b4a; margin: 0; width: 14px; height: 14px; }
.admin-body .vt-3d-legend { padding: 14px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.075); }
.admin-body .vt-3d-legend h4 { margin: 0; font-size: 14px; color: #f5f6f8; }
.admin-body .vt-3d-legend > p { margin: 2px 0 10px; font-size: 12px; color: #7a8291; }
.admin-body .vt-3d-legend ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.admin-body .vt-3d-legend button { display: grid; grid-template-columns: 22px 1fr; gap: 10px; width: 100%; padding: 9px 10px; border: 1px solid transparent; border-radius: 12px; text-align: left; background: rgba(255,255,255,.03); color: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.admin-body .vt-3d-legend button:hover { background: rgba(255,255,255,.06); }
.admin-body .vt-3d-legend button.is-on { border-color: rgba(255,59,74,.55); background: rgba(255,59,74,.08); }
.admin-body .vt-3d-legend i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: #ff3b4a; }
.admin-body .vt-3d-legend b { display: block; font-size: 13px; color: #f5f6f8; }
.admin-body .vt-3d-legend small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.45; color: #b4bac6; }

/* ===================== Canlı yayım studiyası › Fon musiqisi (desk card under the programme) ===================== */
.admin-body .dsk-mu { --mu-red: #ef4444; --mu-line: #1f2937; display: grid; gap: 12px; padding: 12px 14px 10px; transition: border-color .2s, background .2s; }
.admin-body .dsk-mu.is-on { border-color: rgba(239, 68, 68, .55); background: linear-gradient(180deg, rgba(239, 68, 68, .09), #0b0f17 60%); }
/* header: title · state pill · list button */
.admin-body .dsk-mu .mu-head { display: flex; align-items: center; gap: 10px; margin: 0; }
.admin-body .dsk-mu .mu-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #1a2130; color: #fca5a5; font-size: 14px; }
.admin-body .dsk-mu .mu-head > b { font-size: 14px; letter-spacing: .01em; }
.admin-body .dsk-mu .mu-state { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--mu-line); color: #94a3b8; font: 800 10px/1 inherit; letter-spacing: .08em; }
.admin-body .dsk-mu .mu-state i { width: 7px; height: 7px; border-radius: 50%; background: #475569; }
.admin-body .dsk-mu .mu-state.is-on { border-color: rgba(34, 197, 94, .45); color: #86efac; }
.admin-body .dsk-mu .mu-state.is-on i { background: #22c55e; }
.admin-body .dsk-mu .mu-state.is-air { border-color: rgba(239, 68, 68, .6); background: rgba(239, 68, 68, .14); color: #fecaca; }
.admin-body .dsk-mu .mu-state.is-air i { background: var(--mu-red); animation: mu-pulse 1.2s ease-in-out infinite; }
@keyframes mu-pulse { 50% { opacity: .3; } }
.admin-body .dsk-mu .mu-manage-btn { margin-left: auto; }
.admin-body .dsk-mu .mu-manage-btn em { margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: #1f2937; color: #cbd5e1; font: 700 10px/1.4 inherit; font-style: normal; }
/* buttons */
.admin-body .dsk-mu .mu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid #263041; background: #131a26; color: var(--c-ink); font: 700 12px/1 inherit; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s; }
.admin-body .dsk-mu .mu-btn:hover { border-color: #3b4658; background: #182131; }
.admin-body .dsk-mu .mu-btn.is-on { background: #1f2937; border-color: #3b4658; }
.admin-body .dsk-mu .mu-btn.is-main { border-color: rgba(239, 68, 68, .5); background: rgba(239, 68, 68, .12); color: #fecaca; }
/* deck: play · now playing · levels */
.admin-body .dsk-mu .mu-deck { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(220px, 300px); align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; background: #0f141e; border: 1px solid var(--mu-line); }
.admin-body .dsk-mu .mu-play { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 0; background: #16a34a; color: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(22, 163, 74, .3); transition: transform .12s, background .2s, box-shadow .2s; }
.admin-body .dsk-mu .mu-play svg { width: 22px; height: 22px; fill: currentColor; }
.admin-body .dsk-mu .mu-play:hover:not(:disabled) { transform: scale(1.05); }
.admin-body .dsk-mu .mu-play.is-on { background: #dc2626; box-shadow: 0 6px 18px rgba(220, 38, 38, .35); }
.admin-body .dsk-mu .mu-play:disabled { opacity: .4; cursor: default; box-shadow: none; }
.admin-body .dsk-mu .mu-now { display: grid; gap: 2px; min-width: 0; }
.admin-body .dsk-mu .mu-now small { color: #64748b; font: 800 10px/1.2 inherit; letter-spacing: .08em; text-transform: uppercase; }
.admin-body .dsk-mu .mu-now b { overflow: hidden; color: var(--c-ink); font-size: 16px; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .dsk-mu .mu-now span { color: #94a3b8; font-size: 11px; }
.admin-body .dsk-mu .mu-levels { display: grid; gap: 8px; }
.admin-body .dsk-mu .mu-lvl { display: grid; grid-template-columns: 88px minmax(0, 1fr) 40px; align-items: center; gap: 10px; margin: 0; font-size: 11px; }
.admin-body .dsk-mu .mu-lvl > span { color: #94a3b8; font-weight: 700; }
.admin-body .dsk-mu .mu-lvl input { width: 100%; margin: 0; accent-color: var(--mu-red); cursor: pointer; }
.admin-body .dsk-mu .mu-lvl output { color: var(--c-ink); font: 700 11px/1 ui-monospace, SFMono-Regular, monospace; text-align: right; }
.admin-body .dsk-mu .mu-bar { position: relative; display: block; height: 6px; border-radius: 999px; background: #1e2633; overflow: hidden; }
.admin-body .dsk-mu .mu-bar u { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: #64748b; transition: width .2s; }
.admin-body .dsk-mu .mu-lvl.is-low .mu-bar u { background: #f59e0b; }
.admin-body .dsk-mu .mu-lvl.is-low output { color: #fbbf24; }
/* tracks: a tidy grid of tiles */
.admin-body .dsk-mu .mu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.admin-body .dsk-mu .mu-tile { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 48px; padding: 6px 10px 6px 8px; border-radius: 10px; border: 1px solid var(--mu-line); background: #111723; color: var(--c-ink); text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.admin-body .dsk-mu .mu-tile:hover:not(:disabled) { border-color: #334155; background: #151c2a; }
.admin-body .dsk-mu .mu-tile b { display: -webkit-box; overflow: hidden; font-size: 12px; font-weight: 700; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; word-break: break-word; }
.admin-body .dsk-mu .mu-tile small { color: #64748b; font: 600 10px/1 ui-monospace, SFMono-Regular, monospace; }
.admin-body .dsk-mu .mu-tile small.is-wait { color: #fbbf24; font-family: inherit; }
.admin-body .dsk-mu .mu-tile small.is-err { color: #f87171; font-family: inherit; }
.admin-body .dsk-mu .mu-tile-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #1a2130; color: #64748b; font-size: 12px; }
.admin-body .dsk-mu .mu-tile.is-sel { border-color: rgba(239, 68, 68, .65); background: rgba(239, 68, 68, .08); }
.admin-body .dsk-mu .mu-tile.is-sel .mu-tile-ic { background: rgba(239, 68, 68, .18); color: #fca5a5; }
.admin-body .dsk-mu .mu-tile:disabled { opacity: .5; cursor: default; }
.admin-body .dsk-mu .mu-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.admin-body .dsk-mu .mu-eq s { width: 2px; height: 4px; border-radius: 1px; background: var(--mu-red); animation: mu-eq .9s ease-in-out infinite; }
.admin-body .dsk-mu .mu-eq s:nth-child(2) { animation-delay: .15s; }
.admin-body .dsk-mu .mu-eq s:nth-child(3) { animation-delay: .3s; }
.admin-body .dsk-mu .mu-eq s:nth-child(4) { animation-delay: .45s; }
@keyframes mu-eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.admin-body .dsk-mu .mu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: #64748b; font-size: 11px; }
.admin-body .dsk-mu kbd { display: inline-block; min-width: 18px; padding: 1px 5px; border: 1px solid #334155; border-bottom-width: 2px; border-radius: 5px; background: #111723; color: #e2e8f0; font: 700 10px/1.4 ui-monospace, SFMono-Regular, monospace; text-align: center; }
/* manager: add from file or library, the list */
.admin-body .dsk-mu .mu-manage { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--mu-line); }
.admin-body .dsk-mu .mu-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-body .dsk-mu .mu-libpick { display: flex; flex: 1 1 320px; gap: 8px; min-width: 0; }
.admin-body .dsk-mu .mu-libpick select { flex: 1 1 auto; min-width: 0; height: 30px; padding: 0 8px; border: 1px solid #263041; border-radius: 8px; background: #0f141e; color: var(--c-ink); font: inherit; font-size: 12px; }
.admin-body .dsk-mu .mu-note { margin: 0; color: #64748b; font-size: 11px; }
.admin-body .dsk-mu .mu-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--mu-line); border-radius: 10px; overflow: hidden; }
.admin-body .dsk-mu .mu-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; background: #0f141e; }
.admin-body .dsk-mu .mu-list li + li { border-top: 1px solid var(--mu-line); }
.admin-body .dsk-mu .mu-list li.is-sel { background: rgba(239, 68, 68, .06); }
.admin-body .dsk-mu .mu-list li > div { display: grid; gap: 2px; min-width: 0; }
.admin-body .dsk-mu .mu-list b { overflow: hidden; color: var(--c-ink); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .dsk-mu .mu-list small { color: #64748b; font-size: 11px; }
.admin-body .dsk-mu .mu-list small em { color: #f87171; font-style: normal; }
.admin-body .dsk-mu .mu-li-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #1a2130; color: #64748b; font-size: 12px; }
.admin-body .dsk-mu .mu-list li.is-sel .mu-li-ic { background: rgba(239, 68, 68, .18); color: #fca5a5; }
.admin-body .dsk-mu .mu-list nav { display: flex; gap: 4px; }
.admin-body .dsk-mu .mu-list nav button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border-radius: 7px; border: 1px solid transparent; background: transparent; color: #94a3b8; font: 700 13px/1 inherit; cursor: pointer; }
.admin-body .dsk-mu .mu-list nav button:hover { border-color: #334155; background: #182131; color: var(--c-ink); }
.admin-body .dsk-mu .mu-list nav button.is-del:hover { border-color: rgba(239, 68, 68, .5); background: rgba(239, 68, 68, .12); color: #fca5a5; }
.admin-body .dsk-mu .mu-lock { color: #475569; font-size: 12px; }
.admin-body .dsk-mu .mu-ups li { grid-template-columns: 26px minmax(0, 1fr) 120px 40px; }
.admin-body .dsk-mu .mu-ups .mu-bar u { background: var(--mu-red); }
.admin-body .dsk-mu .mu-ups output { color: var(--c-ink); font: 700 11px/1 ui-monospace, SFMono-Regular, monospace; text-align: right; }
.admin-body .dsk-mu .mu-ups li.is-error small { color: #f87171; }
@media (prefers-reduced-motion: reduce) { .admin-body .dsk-mu .mu-eq s, .admin-body .dsk-mu .mu-state.is-air i { animation: none; } .admin-body .dsk-mu .mu-eq s { height: 8px; } }
@media (max-width: 860px) { .admin-body .dsk-mu .mu-deck { grid-template-columns: auto minmax(0, 1fr); } .admin-body .dsk-mu .mu-levels { grid-column: 1 / -1; } }
@media (max-width: 520px) { .admin-body .dsk-mu .mu-grid { grid-template-columns: 1fr 1fr; } .admin-body .dsk-mu .mu-ups li { grid-template-columns: 26px minmax(0, 1fr) 40px; } .admin-body .dsk-mu .mu-ups .mu-bar { display: none; } }

/* ===================== Canlı yayım studiyası › bükülən bölmələr (fold to the header line) ===================== */
.admin-body .dsk-foldable > header { cursor: pointer; user-select: none; }
.admin-body .dsk-fold { flex: none; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border-radius: 7px; border: 1px solid #263041; background: #131a26; color: #94a3b8; cursor: pointer; transition: background .15s, color .15s; }
.admin-body .dsk-fold:hover { background: #1b2433; color: var(--c-ink); }
.admin-body .dsk-fold svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.admin-body .dsk-foldable.is-folded .dsk-fold svg { transform: rotate(-90deg); }
.admin-body .dsk-foldable.is-folded > :not(header) { display: none !important; }
.admin-body .dsk-foldable.is-folded > header { margin-bottom: 0 !important; }
.admin-body .dsk-foldable.is-folded > header > small { flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .dsk-foldable.is-folded > header > div, .admin-body .dsk-foldable.is-folded > header > nav { display: none; }
.admin-body .dsk-mu.is-folded { gap: 0; padding-bottom: 12px; }
/* folded music: the track's name and a small ▶/■ stay in the header line */
.admin-body .dsk-mu .mu-sum, .admin-body .dsk-mu .mu-mini { display: none; }
.admin-body .dsk-mu.is-folded .mu-sum { display: block; flex: 1 1 0; min-width: 0; overflow: hidden; color: #cbd5e1; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .dsk-mu.is-folded .mu-mini { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 0; background: #16a34a; color: #fff; font-size: 11px; cursor: pointer; }
.admin-body .dsk-mu.is-folded .mu-mini.is-on { background: #dc2626; }
.admin-body .dsk-mu.is-folded .mu-manage-btn { margin-left: 0; }
/* the bottom panes: the open tab folds its pane away */
.admin-body .ctl2-tabs button.is-on.is-folded { background: rgba(255, 255, 255, .03); border-color: #263041; }
/* Efir introsu: a tidy card in the narrow left column */
.admin-body .dsk-in { --in-line: #1f2937; padding: 10px; }
.admin-body .dsk-in > header { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.admin-body .dsk-in > header b { flex: none; font-size: 13px; }
.admin-body .dsk-in .in-pill { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; height: 20px; padding: 0 7px; border-radius: 999px; border: 1px solid var(--in-line); color: #64748b; font: 800 9px/1 inherit; letter-spacing: .07em; white-space: nowrap; }
.admin-body .dsk-in .in-pill i { width: 6px; height: 6px; border-radius: 50%; background: #475569; }
.admin-body .dsk-in .in-pill.is-on { border-color: rgba(34, 197, 94, .4); color: #86efac; }
.admin-body .dsk-in .in-pill.is-on i { background: #22c55e; }
.admin-body .dsk-in .in-pill.is-air { border-color: rgba(239, 68, 68, .6); background: rgba(239, 68, 68, .14); color: #fecaca; }
.admin-body .dsk-in .in-pill.is-air i { background: #ef4444; animation: mu-pulse 1.2s ease-in-out infinite; }
.admin-body .dsk-in .in-sum { display: none; }
.admin-body .dsk-in.is-folded .in-pill { display: none; }
.admin-body .dsk-in.is-folded .in-sum { display: block; flex: 1 1 0; min-width: 0; overflow: hidden; color: #94a3b8; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .dsk-in .in-body { display: grid; gap: 8px; }
.admin-body .dsk-in .in-prev { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 9px; border: 1px solid var(--in-line); background: #0f141e center / cover no-repeat; overflow: hidden; }
.admin-body .dsk-in .in-prev.is-empty { border-style: dashed; }
.admin-body .dsk-in .in-ph { display: grid; justify-items: center; gap: 4px; color: #475569; font-size: 20px; }
.admin-body .dsk-in .in-ph small { color: #64748b; font-size: 11px; }
.admin-body .dsk-in .in-dur { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 5px; background: rgba(0, 0, 0, .72); color: #fff; font: 700 10px/1.3 ui-monospace, SFMono-Regular, monospace; }
.admin-body .dsk-in .in-live { position: absolute; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 5px; background: #dc2626; color: #fff; font: 800 9px/1 inherit; letter-spacing: .07em; }
.admin-body .dsk-in .in-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: mu-pulse 1.2s ease-in-out infinite; }
.admin-body .dsk-in select { width: 100%; max-width: none; height: 32px; padding: 0 8px; border: 1px solid #263041; border-radius: 8px; background: #0f141e; color: var(--c-ink); font: inherit; font-size: 12px; }
.admin-body .dsk-in .in-opts { display: grid; gap: 2px; padding: 4px 0; }
.admin-body .dsk-in .in-sw { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 28px; margin: 0; color: #cbd5e1; font-size: 12px; cursor: pointer; }
.admin-body .dsk-in .in-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.admin-body .dsk-in .in-sw i { position: relative; width: 30px; height: 17px; border-radius: 999px; background: #263041; transition: background .2s; }
.admin-body .dsk-in .in-sw i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #94a3b8; transition: transform .2s, background .2s; }
.admin-body .dsk-in .in-sw input:checked + i { background: #16a34a; }
.admin-body .dsk-in .in-sw input:checked + i::after { transform: translateX(13px); background: #fff; }
.admin-body .dsk-in .in-sw input:focus-visible + i { outline: 2px solid #5b8cff; outline-offset: 2px; }
.admin-body .dsk-in .in-sw input:disabled + i, .admin-body .dsk-in .in-sw input:disabled ~ span { opacity: .45; }
.admin-body .dsk-in .in-sw:has(input:disabled) { cursor: default; }
.admin-body .dsk-in .in-go { width: 100%; height: 36px; border-radius: 9px; border: 1px solid rgba(239, 68, 68, .55); background: rgba(239, 68, 68, .14); color: #fecaca; font: 800 12px/1 inherit; cursor: pointer; transition: background .15s; }
.admin-body .dsk-in .in-go:hover:not(:disabled) { background: rgba(239, 68, 68, .24); }
.admin-body .dsk-in .in-go.is-on { border-color: #dc2626; background: #dc2626; color: #fff; }
.admin-body .dsk-in .in-go:disabled:not(.is-on) { border-color: #263041; background: #131a26; color: #64748b; cursor: default; }
.admin-body .dsk-in .in-note { margin: 0; color: #64748b; font-size: 10.5px; line-height: 1.4; }

/* Video montaj (TV › Montaj): player + cut marks on the left, the edit on the right. */
.admin-body .ve-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.admin-body .ve-phead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-body .ve-phead b { font-size: 15px; }
.admin-body .ve-phead span { color: var(--x-mute, #7a8291); font-size: 12.5px; }
.admin-body .ve-phead .tva-btn { margin-left: auto; }
.admin-body .ve-player { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; border: 1px solid var(--x-line, rgba(255,255,255,.075)); }
.admin-body .ve-player video { display: block; width: 100%; height: 100%; background: #000; }
.admin-body .ve-player-wait { display: grid; place-items: center; height: 100%; color: var(--x-mute, #7a8291); font-size: 14px; }
.admin-body .ve-marks { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.admin-body .ve-mark { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.admin-body .ve-mark > span, .admin-body .ve-len span { grid-column: 1 / -1; font-size: 12.5px; font-weight: 600; color: var(--x-soft, #b4bac6); }
.admin-body .ve-mark input, .admin-body .ve-text-opts input, .admin-body .ve-text-opts select, .admin-body .ve-texts textarea { min-width: 0; height: 38px; padding: 0 10px; border-radius: 10px; font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--x-ink, #f5f6f8); background: rgba(255,255,255,.05); border: 1px solid var(--x-line-2, rgba(255,255,255,.12)); }
.admin-body .ve-texts textarea { width: 100%; height: auto; padding: 8px 10px; resize: vertical; }
.admin-body .ve-text-opts select option { color: #111; }
.admin-body :is(.ve-mark input, .ve-text-opts input, .ve-text-opts select, .ve-texts textarea):focus { outline: none; border-color: var(--x-blue, #6ea8ff); box-shadow: 0 0 0 3px rgba(110,168,255,.18); }
.admin-body .ve-len { display: grid; gap: 6px; text-align: right; }
.admin-body .ve-len b { height: 38px; line-height: 38px; font-size: 18px; font-variant-numeric: tabular-nums; }
.admin-body .ve-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.admin-body .ve-segs, .admin-body .ve-texts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.admin-body .ve-segs li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--x-line, rgba(255,255,255,.075)); }
.admin-body .ve-segs li.is-edit { border-color: var(--x-blue, #6ea8ff); box-shadow: 0 0 0 3px rgba(110,168,255,.14); }
.admin-body .ve-segs b { display: block; overflow: hidden; font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .ve-segs small { color: var(--x-mute, #7a8291); font-size: 12px; font-variant-numeric: tabular-nums; }
.admin-body .ve-seg-img { display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 8px; background: #12141b; }
.admin-body .ve-seg-img img { width: 100%; height: 100%; object-fit: cover; }
.admin-body .ve-seg-img i { font-style: normal; font-weight: 800; color: var(--x-mute, #7a8291); }
.admin-body .ve-segs nav { display: flex; gap: 2px; }
.admin-body .ve-segs nav button { width: 30px; height: 30px; border: 0; border-radius: 8px; color: var(--x-soft, #b4bac6); background: transparent; cursor: pointer; }
.admin-body .ve-segs nav button:hover:not(:disabled) { color: #fff; background: rgba(255,255,255,.08); }
.admin-body .ve-segs nav button:disabled { opacity: .3; cursor: default; }
.admin-body .ve-segs nav button.is-del:hover { color: #fff; background: rgba(255,59,74,.6); }
.admin-body .ve-texts li { display: grid; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--x-line, rgba(255,255,255,.075)); }
.admin-body .ve-text-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; align-items: end; }
.admin-body .ve-text-opts .is-del { justify-self: end; height: 38px; }
.admin-body .ve-text-opts label { display: grid; gap: 4px; min-width: 0; }
.admin-body .ve-text-opts label > span { font-size: 11.5px; color: var(--x-mute, #7a8291); }
.admin-body .ve-text-opts .ve-check { display: flex; align-items: center; gap: 6px; height: 38px; }
.admin-body .ve-text-opts .ve-check input { width: 16px; height: 16px; padding: 0; }
.admin-body .ve-text-opts .ve-check span { font-size: 12.5px; color: var(--x-soft, #b4bac6); }
.admin-body .ve-empty { padding: 18px; border-radius: 12px; text-align: center; border: 1px dashed var(--x-line-2, rgba(255,255,255,.12)); }
.admin-body .ve-go { justify-self: stretch; height: 46px; font-size: 15px; }
.admin-body .ve-bar { display: block; height: 4px; margin-top: 6px; overflow: hidden; border-radius: 2px; background: rgba(255,255,255,.08); }
.admin-body .ve-bar u { display: block; height: 100%; background: var(--x-blue, #6ea8ff); transition: width .4s; }
.admin-body .ve-lib { display: grid; gap: 10px; }
.admin-body .ve-lib input[type="search"] { height: 40px; padding: 0 12px; border-radius: 11px; font: inherit; font-size: 14px; color: var(--x-ink, #f5f6f8); background: rgba(255,255,255,.05); border: 1px solid var(--x-line-2, rgba(255,255,255,.12)); }
.admin-body .ve-lib input[type="search"]:focus { outline: none; border-color: var(--x-blue, #6ea8ff); box-shadow: 0 0 0 3px rgba(110,168,255,.18); }
.admin-body .ve-folders { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.admin-body .ve-folders button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; font: inherit; font-size: 13px; color: var(--x-soft, #b4bac6); background: rgba(255,255,255,.04); border: 1px solid var(--x-line, rgba(255,255,255,.075)); cursor: pointer; white-space: nowrap; }
.admin-body .ve-folders button i { width: 8px; height: 8px; border-radius: 50%; }
.admin-body .ve-folders button small { color: var(--x-mute, #7a8291); }
.admin-body .ve-folders button.is-on { color: #fff; background: rgba(110,168,255,.16); border-color: rgba(110,168,255,.5); }
.admin-body .ve-lib-list { display: grid; gap: 6px; max-height: 300px; overflow-y: auto; padding-right: 4px; }
.admin-body .ve-lib-item { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px; border-radius: 11px; text-align: left; font: inherit; color: var(--x-ink, #f5f6f8); background: rgba(255,255,255,.03); border: 1px solid transparent; cursor: pointer; }
.admin-body .ve-lib-item:hover { background: rgba(255,255,255,.06); }
.admin-body .ve-lib-item.is-on { border-color: var(--x-blue, #6ea8ff); background: rgba(110,168,255,.1); }
.admin-body .ve-lib-item b { display: block; overflow: hidden; font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .ve-lib-item small { color: var(--x-mute, #7a8291); font-size: 12px; }
.admin-body .ve-lib-item em { font-style: normal; }
.admin-body .ve-now { margin: 4px 0 0; font-size: 13.5px; color: var(--x-soft, #b4bac6); }
.admin-body .ve-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; }
.admin-body .ve-tags span { padding: 2px 8px; border-radius: 999px; font-size: 11.5px; color: #cfe0ff; background: rgba(110,168,255,.12); }
.admin-body .ve-segs nav button.is-on { color: #fff; background: rgba(110,168,255,.3); }
.admin-body .ve-opts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; align-items: end; padding: 12px; border-radius: 10px; background: rgba(0,0,0,.25); }
.admin-body .ve-opts > label { display: grid; gap: 4px; min-width: 0; }
.admin-body .ve-opts > label > span { font-size: 11.5px; color: var(--x-mute, #7a8291); }
.admin-body .ve-opts select, .admin-body .ve-opts input[type="number"] { min-width: 0; height: 36px; padding: 0 8px; border-radius: 9px; font: inherit; font-size: 13.5px; color: var(--x-ink, #f5f6f8); background: rgba(255,255,255,.05); border: 1px solid var(--x-line-2, rgba(255,255,255,.12)); }
.admin-body .ve-opts select option { color: #111; }
.admin-body .ve-opts input[type="range"] { width: 100%; height: 36px; }
.admin-body .ve-opts fieldset { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--x-line, rgba(255,255,255,.075)); }
.admin-body .ve-opts legend { padding: 0 4px; font-size: 11.5px; color: var(--x-mute, #7a8291); }
.admin-body .ve-opts .ve-check, .admin-body .ve-side > .ve-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--x-soft, #b4bac6); }
.admin-body .ve-opts .ve-check input, .admin-body .ve-side > .ve-check input { width: 16px; height: 16px; }
.admin-body .ve-opts > .tva-btn { justify-self: start; }
.admin-body .ve-cap { display: grid; gap: 10px; }
.admin-body .ve-cap-run { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.admin-body .ve-cap-on { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--x-soft, #b4bac6); }
.admin-body .ve-cap-on input { width: 16px; height: 16px; }
.admin-body .ve-caps { display: grid; gap: 4px; max-height: 420px; margin: 0; padding: 0 4px 0 0; overflow-y: auto; list-style: none; }
.admin-body .ve-caps li { display: grid; grid-template-columns: 98px minmax(0, 1fr) 30px; gap: 8px; align-items: center; }
.admin-body .ve-caps small { color: var(--x-mute, #7a8291); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.admin-body .ve-caps input { min-width: 0; height: 34px; padding: 0 10px; border-radius: 9px; font: inherit; font-size: 13.5px; color: var(--x-ink, #f5f6f8); background: rgba(255,255,255,.05); border: 1px solid var(--x-line-2, rgba(255,255,255,.12)); }
.admin-body .ve-caps input:focus { outline: none; border-color: var(--x-blue, #6ea8ff); box-shadow: 0 0 0 3px rgba(110,168,255,.18); }
.admin-body .ve-caps button { width: 30px; height: 30px; border: 0; border-radius: 8px; color: var(--x-soft, #b4bac6); background: transparent; cursor: pointer; }
.admin-body .ve-caps button:hover { color: #fff; background: rgba(255,59,74,.6); }
@media (max-width: 1100px) { .admin-body .ve-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .admin-body .ve-marks { grid-template-columns: 1fr; }
  .admin-body .ve-len { text-align: left; }
  .admin-body .ve-segs li { grid-template-columns: 56px minmax(0, 1fr); }
  .admin-body .ve-segs nav { grid-column: 1 / -1; justify-content: flex-end; }
  .admin-body .ve-caps li { grid-template-columns: minmax(0, 1fr) 30px; }
  .admin-body .ve-caps small { grid-column: 1 / -1; }
  .admin-body .ve-cap-run { grid-template-columns: 1fr; }
}
.admin-body .ve-opts > label.ve-check { display: flex; align-items: center; height: 36px; }
/* Montaj: the media library in a big window */
.admin-body .ve-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; background: rgba(4,6,12,.72); backdrop-filter: blur(6px); }
.admin-body .ve-modal-box { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 14px; width: min(1240px, 100%); height: min(880px, calc(100dvh - 48px)); padding: 18px 20px 20px; border-radius: 22px; color: var(--x-ink, #f5f6f8); background: radial-gradient(120% 60% at 0% 0%, rgba(110,168,255,.10), transparent 60%), radial-gradient(90% 50% at 100% 0%, rgba(46,204,113,.08), transparent 60%), #0f121a; border: 1px solid var(--x-line-2, rgba(255,255,255,.12)); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.admin-body .ve-modal-box > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-body .ve-modal-box > header b { display: block; font-size: 18px; }
.admin-body .ve-modal-box > header small { color: var(--x-mute, #7a8291); font-size: 12.5px; }
.admin-body .ve-modal-box input[type="search"] { height: 44px; padding: 0 14px; border-radius: 12px; font: inherit; font-size: 15px; color: var(--x-ink, #f5f6f8); background: rgba(255,255,255,.05); border: 1px solid var(--x-line-2, rgba(255,255,255,.12)); }
.admin-body .ve-modal-box input[type="search"]:focus { outline: none; border-color: var(--x-blue, #6ea8ff); box-shadow: 0 0 0 3px rgba(110,168,255,.18); }
.admin-body .ve-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; align-content: start; overflow-y: auto; padding-right: 4px; }
.admin-body .ve-card { display: grid; gap: 6px; padding: 8px; border-radius: 14px; text-align: left; font: inherit; color: var(--x-ink, #f5f6f8); background: rgba(255,255,255,.03); border: 1px solid var(--x-line, rgba(255,255,255,.075)); cursor: pointer; }
.admin-body .ve-card:hover { background: rgba(255,255,255,.07); border-color: rgba(110,168,255,.4); }
.admin-body .ve-card.is-on { border-color: var(--x-blue, #6ea8ff); }
.admin-body .ve-card-img { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 10px; background: #0b0d13; }
.admin-body .ve-card-img img { width: 100%; height: 100%; object-fit: cover; }
.admin-body .ve-card-img > i { font-style: normal; color: var(--x-mute, #7a8291); }
.admin-body .ve-card-img em { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 6px; font-style: normal; font-size: 11.5px; background: rgba(0,0,0,.75); }
.admin-body .ve-card-img u { position: absolute; left: 6px; top: 6px; padding: 2px 6px; border-radius: 6px; text-decoration: none; font-size: 11px; background: rgba(61,220,151,.85); color: #04130c; }
.admin-body .ve-card b { overflow: hidden; font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .ve-card small { display: flex; align-items: center; gap: 6px; color: var(--x-mute, #7a8291); font-size: 12px; }
.admin-body .ve-card small i { width: 8px; height: 8px; border-radius: 50%; }
@media (max-width: 640px) { .admin-body .ve-modal { padding: 0; } .admin-body .ve-modal-box { height: 100dvh; border-radius: 0; } .admin-body .ve-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Montaj: media window header, tabs and body */
.admin-body .ve-mhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-body .ve-mhead-r { display: flex; align-items: center; gap: 8px; }
.admin-body .ve-mtabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.admin-body .ve-mtabs button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--x-mute, #9aa3b2); background: transparent; cursor: pointer; transition: background .18s, color .18s; }
.admin-body .ve-mtabs button:hover { color: #fff; }
.admin-body .ve-mtabs button.is-on { color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 18px rgba(0,0,0,.35); }
.admin-body .ve-mtabs small { padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 600; color: #cfe0ff; background: rgba(110,168,255,.16); }
.admin-body .ve-mtabs [data-ve-tab="px"] small { color: #b7f5cf; background: rgba(46,204,113,.16); }
.admin-body .ve-x { width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); font-size: 15px; color: #cfd5df; background: rgba(255,255,255,.04); cursor: pointer; }
.admin-body .ve-x:hover { color: #fff; background: rgba(255,255,255,.1); }
.admin-body .ve-mbody { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow-y: auto; padding-right: 4px; }
.admin-body .ve-mbody > .ve-cards { overflow: visible; }
.admin-body .ve-px-logo { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; font-weight: 800; font-size: 17px; letter-spacing: -.5px; color: #fff; background: linear-gradient(135deg, #2ec66d, #0b8f4a); box-shadow: 0 8px 22px rgba(46,198,109,.35); }
.admin-body .ve-px-logo.sm { width: 20px; height: 20px; border-radius: 6px; font-size: 10px; box-shadow: none; }

/* Pixabay: connect card */
.admin-body .ve-px-setup { display: grid; gap: 18px; max-width: 720px; margin: 10px auto; padding: 26px; border-radius: 20px; background: linear-gradient(160deg, rgba(46,198,109,.10), rgba(255,255,255,.02) 50%); border: 1px solid rgba(46,198,109,.22); }
.admin-body .ve-px-hero { display: flex; gap: 16px; align-items: flex-start; }
.admin-body .ve-px-hero b { font-size: 20px; }
.admin-body .ve-px-hero p { margin: 6px 0 0; color: #b9c1ce; line-height: 1.5; }
.admin-body .ve-px-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: pxs; }
.admin-body .ve-px-steps li { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 52px; border-radius: 14px; background: rgba(255,255,255,.035); counter-increment: pxs; }
.admin-body .ve-px-steps li::before { content: counter(pxs); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 700; font-size: 13px; color: #04130c; background: #2ec66d; }
.admin-body .ve-px-steps span { color: #a9b2c0; font-size: 13.5px; }
.admin-body .ve-px-steps a { color: #6fe3a2; }
.admin-body .ve-px-key { display: flex; gap: 10px; }
.admin-body .ve-px-key input { flex: 1; width: auto !important; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; font: inherit; color: #fff; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.14); }
.admin-body .ve-px-key input:focus { outline: none; border-color: #2ec66d; box-shadow: 0 0 0 3px rgba(46,198,109,.2); }

/* Pixabay: search bar */
.admin-body .ve-px { display: flex; flex-direction: column; gap: 14px; }
.admin-body .ve-px-bar { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(15,18,26,.92); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.08); }
.admin-body .ve-seg-ctl { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: rgba(255,255,255,.06); }
.admin-body .ve-seg-ctl button { height: 36px; padding: 0 14px; border: 0; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 600; color: #a9b2c0; background: transparent; cursor: pointer; }
.admin-body .ve-seg-ctl button.is-on { color: #04130c; background: #2ec66d; }
.admin-body .ve-px-search { display: flex; flex: 1 1 320px; gap: 8px; }
.admin-body .ve-modal-box .ve-px-search input { flex: 1; width: auto !important; min-width: 0; height: 42px; padding: 0 14px; border-radius: 11px; font: inherit; font-size: 15px; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.admin-body .ve-modal-box .ve-px-search input:focus { outline: none; border-color: #2ec66d; box-shadow: 0 0 0 3px rgba(46,198,109,.18); }
.admin-body .ve-px-bar select { height: 42px; padding: 0 10px; border-radius: 11px; font: inherit; font-size: 13.5px; color: #e6e9ef; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.admin-body .ve-px-count { margin: 0 0 10px; color: #8e97a6; font-size: 12.5px; }
.admin-body .ve-px-count a { color: #6fe3a2; }

/* Pixabay: results */
.admin-body .ve-px-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.admin-body .ve-px-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); transition: transform .2s, box-shadow .2s, border-color .2s; }
.admin-body .ve-px-card:hover { transform: translateY(-3px); border-color: rgba(46,198,109,.45); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.admin-body .ve-px-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(110deg, #161a24 30%, #1e2330 50%, #161a24 70%); background-size: 200% 100%; }
.admin-body .ve-px-card.is-skel .ve-px-media, .admin-body .ve-px-card.is-skel b, .admin-body .ve-px-card.is-skel small { animation: ve-shimmer 1.3s linear infinite; }
.admin-body .ve-px-card.is-skel b, .admin-body .ve-px-card.is-skel small { display: block; height: 12px; border-radius: 6px; background: linear-gradient(110deg, #1a1f2b 30%, #262c3a 50%, #1a1f2b 70%); background-size: 200% 100%; }
.admin-body .ve-px-card.is-skel small { width: 60%; margin-top: 8px; }
@keyframes ve-shimmer { to { background-position: -200% 0; } }
.admin-body .ve-px-media img, .admin-body .ve-px-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.admin-body .ve-px-card.is-tall .ve-px-media img, .admin-body .ve-px-card.is-tall .ve-px-media video { object-fit: contain; background: #07090d; }
.admin-body .ve-px-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); pointer-events: none; }
.admin-body .ve-px-media em, .admin-body .ve-px-media u { position: absolute; z-index: 1; padding: 3px 8px; border-radius: 7px; font-style: normal; text-decoration: none; font-size: 11.5px; font-weight: 600; }
.admin-body .ve-px-media em { right: 8px; bottom: 8px; background: rgba(0,0,0,.72); }
.admin-body .ve-px-media u { left: 8px; top: 8px; color: #04130c; background: rgba(46,198,109,.92); }
.admin-body .ve-px-play { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; font-size: 15px; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.3); opacity: .9; transition: opacity .2s, transform .2s; }
.admin-body .ve-px-media:hover .ve-px-play { opacity: 0; transform: scale(.8); }
.admin-body .ve-px-meta { display: grid; gap: 3px; padding: 10px 12px 4px; }
.admin-body .ve-px-meta b { overflow: hidden; font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; text-transform: capitalize; }
.admin-body .ve-px-meta small { color: #8e97a6; font-size: 12px; }
.admin-body .ve-px-meta a { color: #6fe3a2; text-decoration: none; }
.admin-body .ve-px-act { display: flex; gap: 6px; padding: 8px 12px 12px; margin-top: auto; }
.admin-body .ve-px-act .tva-btn { flex: 1; justify-content: center; }
.admin-body .ve-px-done { flex: 1; padding: 7px; border-radius: 9px; text-align: center; font-size: 12.5px; font-weight: 600; color: #6fe3a2; background: rgba(46,198,109,.1); }
.admin-body .ve-px-more { align-self: center; margin: 16px auto 4px; min-width: 240px; justify-content: center; }
.admin-body .ve-px-empty { display: grid; justify-items: center; gap: 8px; padding: 48px 16px; text-align: center; }
.admin-body .ve-px-empty b { font-size: 18px; }
.admin-body .ve-px-empty p { max-width: 520px; margin: 0; color: #9aa3b2; line-height: 1.5; }
.admin-body .ve-px-ideas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.admin-body .ve-px-ideas button { height: 32px; padding: 0 14px; border-radius: 99px; font: inherit; font-size: 13px; color: #d9f7e5; background: rgba(46,198,109,.1); border: 1px solid rgba(46,198,109,.3); cursor: pointer; }
.admin-body .ve-px-ideas button:hover { background: rgba(46,198,109,.22); }
.admin-body .ve-px-pend { padding-top: 6px; border-top: 1px solid rgba(255,255,255,.07); }

/* Files on their way from Pixabay */
.admin-body .ve-pend { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.admin-body .ve-pend li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(46,198,109,.06); border: 1px dashed rgba(46,198,109,.3); }
.admin-body .ve-pend li > div { display: grid; flex: 1; gap: 3px; min-width: 0; }
.admin-body .ve-pend b { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .ve-pend small { color: #9aa3b2; font-size: 12px; }
.admin-body .ve-px-mark { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; font-weight: 800; font-size: 11px; color: #fff; background: linear-gradient(135deg, #2ec66d, #0b8f4a); }

/* Background music */
.admin-body .ve-mu-card { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.admin-body .ve-mu-card.is-on { background: linear-gradient(135deg, rgba(168,85,247,.14), rgba(110,168,255,.06)); border-color: rgba(168,85,247,.35); }
.admin-body .ve-mu-ico { display: grid; place-items: center; width: 44px; height: 44px; grid-row: span 3; align-self: start; border-radius: 12px; font-size: 20px; color: #fff; background: linear-gradient(135deg, #a855f7, #6366f1); box-shadow: 0 8px 20px rgba(139,92,246,.35); }
.admin-body .ve-mu-pick, .admin-body .ve-mu-vol { display: grid; gap: 4px; font-size: 12.5px; color: #9aa3b2; }
.admin-body .ve-mu-pick select { height: 38px; padding: 0 10px; border-radius: 10px; font: inherit; font-size: 14px; color: #fff; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.12); }
.admin-body .ve-mu-vol input { accent-color: #a855f7; }
.admin-body .ve-mu-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.admin-body .ve-mu-up { cursor: pointer; }
.admin-body .ve-mu-up.is-busy { pointer-events: none; opacity: .8; }
.admin-body .ve-px-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }

@media (max-width: 640px) {
  .admin-body .ve-mtabs button { padding: 0 10px; font-size: 13px; }
  .admin-body .ve-mtabs small { display: none; }
  .admin-body .ve-px-bar { position: static; }
  .admin-body .ve-px-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .admin-body .ve-px-act { flex-direction: column; }
  .admin-body .ve-px-setup { padding: 18px; }
  .admin-body .ve-px-key { flex-direction: column; }
}
.admin-body .ve-px-bar select { flex: none; width: auto !important; min-width: 0; margin: 0; }
.admin-body .ve-px .tva-btn.primary, .admin-body .ve-px-setup .tva-btn.primary { color: #04130c !important; background: linear-gradient(180deg, #3ad67b, #1aa957) !important; border-color: transparent !important; box-shadow: 0 6px 16px rgba(46,198,109,.28); }
.admin-body .ve-px .tva-btn.primary:hover, .admin-body .ve-px-setup .tva-btn.primary:hover { filter: brightness(1.08); }
.admin-body .ve-mu-card .ve-check { grid-column: 2; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: #c9cfda; }
.admin-body .ve-mu-card .ve-check input { width: 16px !important; height: 16px; margin: 0; accent-color: #a855f7; }
.admin-body .ve-mtabs button { white-space: nowrap; }

/* Montaj: music and sound effects (Openverse) */
.admin-body .ve-snd-logo { display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; font-size: 24px; color: #fff; background: linear-gradient(135deg, #a855f7, #6366f1); box-shadow: 0 10px 26px rgba(139,92,246,.4); }
.admin-body .ve-snd-logo.sm { width: 20px; height: 20px; border-radius: 6px; font-size: 11px; box-shadow: none; }
.admin-body .ve-snd .ve-seg-snd button.is-on { color: #fff; background: linear-gradient(135deg, #a855f7, #6366f1); }
.admin-body .ve-snd .tva-btn.primary { color: #fff !important; background: linear-gradient(135deg, #a855f7, #6366f1) !important; border-color: transparent !important; box-shadow: 0 6px 16px rgba(139,92,246,.3); }
.admin-body .ve-modal-box .ve-snd .ve-px-search input:focus { border-color: #a855f7; box-shadow: 0 0 0 3px rgba(168,85,247,.2); }
.admin-body .ve-snd .ve-px-ideas button { color: #eadcff; background: rgba(168,85,247,.1); border-color: rgba(168,85,247,.32); }
.admin-body .ve-snd .ve-px-ideas button:hover { background: rgba(168,85,247,.22); }
.admin-body .ve-snd .ve-px-count a { color: #c9a6ff; }
.admin-body .ve-snd-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.admin-body .ve-snd-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); transition: background .18s, border-color .18s; }
.admin-body .ve-snd-row:hover { background: rgba(255,255,255,.055); }
.admin-body .ve-snd-row.is-on { border-color: rgba(168,85,247,.55); background: linear-gradient(90deg, rgba(168,85,247,.14), rgba(99,102,241,.05)); }
.admin-body .ve-snd-play { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 14px; color: #fff; background: linear-gradient(135deg, #a855f7, #6366f1); cursor: pointer; box-shadow: 0 6px 16px rgba(139,92,246,.35); transition: transform .15s; }
.admin-body .ve-snd-play:hover { transform: scale(1.07); }
.admin-body .ve-snd-info { display: grid; gap: 3px; min-width: 0; }
.admin-body .ve-snd-info b { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .ve-snd-info small { overflow: hidden; color: #8e97a6; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .ve-snd-bar { display: block; height: 3px; margin-top: 4px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.07); }
.admin-body .ve-snd-bar u { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #a855f7, #6366f1); transition: width .25s linear; }
.admin-body .ve-snd-dur { font-variant-numeric: tabular-nums; font-size: 13px; color: #c9cfda; }
.admin-body .ve-snd-lic { padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.admin-body .ve-snd-lic.is-free { color: #04130c; background: #2ec66d; }
.admin-body .ve-snd-lic.is-by { color: #1f1300; background: #f5b941; }
.admin-body .ve-snd-act { display: flex; gap: 6px; }
.admin-body .ve-px-done.is-wait { color: #d9c4ff; background: rgba(168,85,247,.14); }
.admin-body .ve-snd-row.is-skel .ve-snd-play { background: #1e2330; box-shadow: none; }
.admin-body .ve-snd-row.is-skel b, .admin-body .ve-snd-row.is-skel small { display: block; height: 12px; border-radius: 6px; background: linear-gradient(110deg, #1a1f2b 30%, #262c3a 50%, #1a1f2b 70%); background-size: 200% 100%; animation: ve-shimmer 1.3s linear infinite; }
.admin-body .ve-snd-row.is-skel small { width: 50%; }
.admin-body .ve-mu-credit { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; color: #f6dfa8; background: rgba(245,185,65,.09); border: 1px solid rgba(245,185,65,.28); }
.admin-body .ve-mu-find { color: #fff !important; background: linear-gradient(135deg, #a855f7, #6366f1) !important; border-color: transparent !important; }
@media (max-width: 760px) {
  .admin-body .ve-snd-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 12px; }
  .admin-body .ve-snd-lic { grid-column: 2; justify-self: start; }
  .admin-body .ve-snd-dur { grid-column: 3; grid-row: 1; }
  .admin-body .ve-snd-act { grid-column: 1 / -1; }
  .admin-body .ve-snd-act .tva-btn { flex: 1; justify-content: center; }
}
.admin-body .ve-modal-box { grid-template-columns: minmax(0, 1fr); }
.admin-body .ve-mhead, .admin-body .ve-mtabs { min-width: 0; }
.admin-body .ve-mtabs { overflow-x: auto; scrollbar-width: none; }
@media (max-width: 640px) {
  .admin-body .ve-mtabs button { gap: 5px; padding: 0 9px; }
  .admin-body .ve-mtabs .ve-px-logo.sm, .admin-body .ve-mtabs .ve-snd-logo.sm { display: none; }
  .admin-body .ve-modal-box { padding: 12px; }
}

/* ===== Video montaj: the editor (picture in the middle, tools around it, timeline below) ===== */
.admin-body .vx { --vx-bg: #0c0f16; --vx-panel: #121622; --vx-panel2: #171c2a; --vx-line: rgba(255,255,255,.08); --vx-mute: #8d96a7; --vx-acc: #6ea8ff; --vx-v: #3b82f6; --vx-t: #f59e0b; --vx-a: #a855f7; display: grid; gap: 12px; color: #eef1f6; }
.admin-body .vx-top { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(110,168,255,.10), rgba(168,85,247,.08)), var(--vx-panel); border: 1px solid var(--vx-line); }
.admin-body .vx-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.admin-body .vx-brand b { display: block; font-size: 16px; }
.admin-body .vx-brand small { color: var(--vx-mute); font-size: 12px; white-space: nowrap; }
.admin-body .vx-logo { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; font-size: 18px; background: linear-gradient(135deg, #3b82f6, #a855f7); box-shadow: 0 8px 20px rgba(99,102,241,.35); }
.admin-body .vx .vx-title { flex: 1; min-width: 120px; width: auto !important; height: 40px; padding: 0 14px; border-radius: 11px; font: inherit; font-size: 14.5px; color: #fff; background: rgba(0,0,0,.25); border: 1px solid var(--vx-line); }
.admin-body .vx-top-r { display: flex; align-items: center; gap: 10px; }
.admin-body .vx-go { height: 42px; padding: 0 20px; border: 0; border-radius: 12px; font: inherit; font-size: 14.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ef4444, #db2777); box-shadow: 0 10px 24px rgba(239,68,68,.35); cursor: pointer; white-space: nowrap; }
.admin-body .vx-go:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.admin-body .vx-main { display: grid; grid-template-columns: 300px minmax(0, 1fr) 320px; gap: 12px; min-height: 0; }
.admin-body .vx-tools, .admin-body .vx-insp, .admin-body .vx-center, .admin-body .vx-tl { border-radius: 18px; background: var(--vx-panel); border: 1px solid var(--vx-line); }
.admin-body .vx-tools { display: grid; grid-template-columns: 62px minmax(0, 1fr); overflow: hidden; height: 600px; }
.admin-body .vx-rail { display: flex; flex-direction: column; gap: 4px; padding: 8px 6px; background: rgba(0,0,0,.22); border-right: 1px solid var(--vx-line); }
.admin-body .vx-rail button { display: grid; justify-items: center; gap: 2px; padding: 8px 2px; border: 0; border-radius: 11px; font: inherit; color: var(--vx-mute); background: transparent; cursor: pointer; }
.admin-body .vx-rail button span { font-size: 17px; line-height: 1; font-weight: 800; }
.admin-body .vx-rail button small { font-size: 10.5px; }
.admin-body .vx-rail button:hover { color: #fff; background: rgba(255,255,255,.05); }
.admin-body .vx-rail button.is-on { color: #fff; background: linear-gradient(135deg, rgba(59,130,246,.35), rgba(168,85,247,.3)); }
.admin-body .vx-tool { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 12px; overflow-y: auto; }
.admin-body .vx-tool-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.admin-body .vx-tool-head b { font-size: 14.5px; }
.admin-body .vx-note { margin: 0; color: var(--vx-mute); font-size: 12px; line-height: 1.45; }
.admin-body .vx-need { padding: 8px 10px; border-radius: 10px; color: #fde7b0; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25); }
.admin-body .vx-sub { margin: 6px 0 0; font-size: 12px; font-weight: 700; color: #c9d1de; text-transform: uppercase; letter-spacing: .04em; }
.admin-body .vx .vx-search { width: 100% !important; height: 36px; padding: 0 12px; border-radius: 10px; font: inherit; font-size: 13.5px; color: #fff; background: rgba(0,0,0,.25); border: 1px solid var(--vx-line); }
.admin-body .vx-chips { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.admin-body .vx-chips button { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; flex: none; border-radius: 99px; font: inherit; font-size: 12px; color: #c9d1de; background: rgba(255,255,255,.05); border: 1px solid var(--vx-line); cursor: pointer; }
.admin-body .vx-chips button.is-on { color: #fff; background: rgba(110,168,255,.22); border-color: rgba(110,168,255,.5); }
.admin-body .vx-chips i { width: 7px; height: 7px; border-radius: 50%; }
.admin-body .vx-mlist { display: grid; gap: 6px; }
.admin-body .vx-mitem { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 5px; border: 1px solid transparent; border-radius: 11px; font: inherit; text-align: left; color: #eef1f6; background: rgba(255,255,255,.03); cursor: pointer; }
.admin-body .vx-mitem:hover { border-color: rgba(110,168,255,.4); background: rgba(110,168,255,.08); }
.admin-body .vx-mthumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 7px; background: #07090e; color: var(--vx-mute); }
.admin-body .vx-mthumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-body .vx-mthumb em { position: absolute; right: 3px; bottom: 3px; padding: 0 4px; border-radius: 4px; font-size: 10px; font-style: normal; background: rgba(0,0,0,.75); }
.admin-body .vx-mname { overflow: hidden; font-size: 12.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.admin-body .vx-plus { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-weight: 700; color: #fff; background: rgba(110,168,255,.25); }
.admin-body .vx-mini { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 9px; font: inherit; font-size: 12.5px; color: #e6eaf2; background: rgba(255,255,255,.06); border: 1px solid var(--vx-line); cursor: pointer; text-decoration: none; white-space: nowrap; }
.admin-body .vx-mini:hover { background: rgba(255,255,255,.11); }
.admin-body .vx-mini:disabled { opacity: .4; cursor: default; }
.admin-body .vx-mini.is-del { color: #fecaca; border-color: rgba(239,68,68,.35); }
.admin-body .vx-mini.is-busy { pointer-events: none; opacity: .8; }
.admin-body .vx-big { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; border: 0; border-radius: 12px; font: inherit; font-size: 13.5px; font-weight: 700; color: #fff; cursor: pointer; }
.admin-body .vx-big.px { background: linear-gradient(135deg, #22b864, #0f8a4a); }
.admin-body .vx-big.snd { background: linear-gradient(135deg, #a855f7, #6366f1); }
.admin-body .vx-row2 { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-body .vx-tool-foot { margin-top: 4px; }
.admin-body .vx-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-body .vx-preset { display: grid; gap: 4px; padding: 0; border: 1px solid var(--vx-line); border-radius: 12px; font: inherit; color: #c9d1de; background: transparent; cursor: pointer; overflow: hidden; }
.admin-body .vx-preset:hover { border-color: rgba(245,158,11,.6); }
.admin-body .vx-preset-stage { display: grid; place-items: center; height: 68px; padding: 6px; overflow: hidden; background: linear-gradient(135deg, #2a3348, #121620 70%), #1b2130; }
.admin-body .vx-preset small { padding: 0 8px 7px; font-size: 11.5px; text-align: left; }
.admin-body .vx-presets.mini { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.admin-body .vx-presets.mini .vx-preset-stage { height: 34px; padding: 2px; }
.admin-body .vx-tracks { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.admin-body .vx-tracks li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px; border-radius: 11px; background: rgba(255,255,255,.035); }
.admin-body .vx-tracks b { display: block; overflow: hidden; font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .vx-tracks small { color: var(--vx-mute); font-size: 11px; }
.admin-body .vx-tplay { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; font-size: 11px; color: #fff; background: linear-gradient(135deg, #a855f7, #6366f1); cursor: pointer; }
.admin-body .vx-grid3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.admin-body .vx-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.admin-body .vx-chipbtn { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 8px; border-radius: 9px; font: inherit; font-size: 12px; text-align: left; color: #d7dde8; background: rgba(255,255,255,.04); border: 1px solid var(--vx-line); cursor: pointer; }
.admin-body .vx-chipbtn i { width: 16px; height: 16px; flex: none; border-radius: 5px; background: linear-gradient(135deg, #f97316, #06b6d4 60%, #22c55e); }
.admin-body .vx-chipbtn:hover:not(:disabled) { border-color: rgba(110,168,255,.45); }
.admin-body .vx-chipbtn.is-on { color: #fff; background: rgba(110,168,255,.2); border-color: rgba(110,168,255,.65); }
.admin-body .vx-chipbtn:disabled { opacity: .45; cursor: default; }
.admin-body .vx-keys { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: var(--vx-mute); }
.admin-body .vx-keys kbd { padding: 1px 6px; border-radius: 5px; font: inherit; font-size: 11px; color: #e6eaf2; background: rgba(255,255,255,.08); border: 1px solid var(--vx-line); }

/* The picture */
.admin-body .vx-center { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 12px; min-width: 0; background: radial-gradient(80% 60% at 50% 30%, rgba(110,168,255,.06), transparent), var(--vx-panel); }
.admin-body .vx-stage-wrap { display: flex; flex-direction: column; gap: 10px; }
.admin-body .vx-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #000; box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06); user-select: none; }
.admin-body .vx-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: center; }
.admin-body .vx-over { position: absolute; inset: 0; perspective: 600px; }
.admin-body .vx-txt { position: absolute; cursor: grab; will-change: transform; outline: 1px dashed transparent; outline-offset: 4px; }
.admin-body .vx-txt:hover { outline-color: rgba(255,255,255,.35); }
.admin-body .vx-txt.is-sel { outline: 2px solid #f59e0b; }
.admin-body .vx-stage.is-guide-x::before, .admin-body .vx-stage.is-guide-y::after { content: ""; position: absolute; z-index: 3; background: rgba(245,158,11,.8); pointer-events: none; }
.admin-body .vx-stage.is-guide-x::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.admin-body .vx-stage.is-guide-y::after { top: 50%; left: 0; right: 0; height: 1px; }
.admin-body .vx-captxt { position: absolute; left: 50%; bottom: 7%; max-width: 86%; padding: .15em .5em; transform: translateX(-50%); border-radius: 4px; font-weight: 600; text-align: center; color: #fff; background: #000; }
.admin-body .vx-logo-b { position: absolute; padding: 3px 7px; border-radius: 5px; font-size: 11px; font-weight: 800; color: #fff; background: rgba(214,31,38,.85); }
.admin-body .vx-logo-b.tr { top: 4%; right: 3%; } .admin-body .vx-logo-b.tl { top: 4%; left: 3%; } .admin-body .vx-logo-b.br { bottom: 4%; right: 3%; } .admin-body .vx-logo-b.bl { bottom: 4%; left: 3%; }
.admin-body .vx-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 20px; text-align: center; background: radial-gradient(circle at 50% 40%, #1a2133, #07090e); }
.admin-body .vx-empty b { font-size: 18px; } .admin-body .vx-empty span { max-width: 380px; color: var(--vx-mute); font-size: 13px; }
.admin-body .vx-empty[hidden], .admin-body .vx-wait[hidden] { display: none; }
.admin-body .vx-wait { position: absolute; left: 50%; top: 50%; padding: 6px 14px; transform: translate(-50%, -50%); border-radius: 99px; font-size: 12.5px; background: rgba(0,0,0,.65); }
.admin-body .vx-transport { display: flex; align-items: center; justify-content: center; gap: 6px; }
.admin-body .vx-transport button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; font-size: 13px; color: #dfe5ef; background: rgba(255,255,255,.06); cursor: pointer; }
.admin-body .vx-transport button:hover { background: rgba(255,255,255,.12); }
.admin-body .vx-transport .vx-play { width: 50px; height: 50px; font-size: 17px; color: #fff; background: linear-gradient(135deg, #3b82f6, #6366f1); box-shadow: 0 8px 22px rgba(59,130,246,.4); }
.admin-body .vx-clock { margin: 0 8px; font-variant-numeric: tabular-nums; font-size: 13.5px; color: var(--vx-mute); }
.admin-body .vx-clock b { color: #fff; font-size: 15px; }
.admin-body .vx-transport .vx-tsplit { color: #fde68a; }

/* The inspector */
.admin-body .vx-insp { display: flex; flex-direction: column; gap: 10px; height: 600px; padding: 12px; overflow-y: auto; }
.admin-body .vx-ihead { display: flex; align-items: center; gap: 8px; min-width: 0; }
.admin-body .vx-ihead b { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .vx-tag { flex: none; padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; color: #c9d1de; background: rgba(255,255,255,.08); }
.admin-body .vx-tag.v { color: #dbeafe; background: rgba(59,130,246,.3); } .admin-body .vx-tag.t { color: #fef3c7; background: rgba(245,158,11,.3); } .admin-body .vx-tag.a { color: #f3e8ff; background: rgba(168,85,247,.32); }
.admin-body .vx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.admin-body .vx-sec { border-radius: 12px; background: var(--vx-panel2); border: 1px solid var(--vx-line); }
.admin-body .vx-sec > summary { padding: 10px 12px; font-size: 12.5px; font-weight: 700; color: #dbe2ee; cursor: pointer; list-style: none; }
.admin-body .vx-sec > summary::after { content: "▾"; float: right; color: var(--vx-mute); }
.admin-body .vx-sec:not([open]) > summary::after { content: "▸"; }
.admin-body .vx-sec[open] > summary { border-bottom: 1px solid var(--vx-line); }
.admin-body .vx-sec > *:not(summary) { margin: 10px 12px; }
.admin-body .vx-field { display: grid; gap: 4px; font-size: 12px; color: var(--vx-mute); }
.admin-body .vx-field b { color: #e6eaf2; font-weight: 600; }
.admin-body .vx .vx-field select, .admin-body .vx .vx-field input[type="text"], .admin-body .vx .vx-field input[type="number"] { width: 100% !important; height: 34px; padding: 0 9px; border-radius: 9px; font: inherit; font-size: 13px; color: #fff; background: rgba(0,0,0,.25); border: 1px solid var(--vx-line); }
.admin-body .vx .vx-field input[type="range"] { width: 100% !important; accent-color: var(--vx-acc); }
.admin-body .vx-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-body .vx-tin { display: flex; gap: 4px; }
.admin-body .vx-tin .vx-mini { width: 34px; padding: 0; flex: none; }
.admin-body .vx .vx-textarea { width: 100% !important; padding: 10px; border-radius: 10px; font: inherit; font-size: 14px; color: #fff; background: rgba(0,0,0,.28); border: 1px solid var(--vx-line); resize: vertical; }
.admin-body .vx-colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.admin-body .vx-colors label { display: grid; justify-items: center; gap: 4px; padding: 6px; border-radius: 10px; font-size: 11.5px; color: var(--vx-mute); background: rgba(0,0,0,.2); }
.admin-body .vx .vx-colors input[type="color"] { width: 100% !important; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; cursor: pointer; }
.admin-body .vx .vx-colors input[type="checkbox"] { width: auto !important; height: auto; margin: 0 2px 0 0; vertical-align: -2px; }
.admin-body .vx-toggles button { width: 36px; height: 32px; border-radius: 9px; font: inherit; font-size: 13px; color: #c9d1de; background: rgba(255,255,255,.05); border: 1px solid var(--vx-line); cursor: pointer; }
.admin-body .vx-toggles button.is-on { color: #fff; background: rgba(245,158,11,.3); border-color: rgba(245,158,11,.6); }
.admin-body .vx-posgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 132px; padding: 5px; border-radius: 10px; aspect-ratio: 16 / 9; background: #07090e; border: 1px solid var(--vx-line); }
.admin-body .vx-posgrid button { border: 0; border-radius: 4px; background: rgba(255,255,255,.08); cursor: pointer; }
.admin-body .vx-posgrid button.is-on, .admin-body .vx-posgrid button:hover { background: #f59e0b; }
.admin-body .vx-fs { display: grid; gap: 4px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--vx-line); }
.admin-body .vx-fs legend { padding: 0 4px; font-size: 11.5px; color: var(--vx-mute); }
.admin-body .vx-empty-insp { display: grid; gap: 10px; padding: 16px; border-radius: 14px; color: var(--vx-mute); font-size: 13px; line-height: 1.5; background: var(--vx-panel2); }
.admin-body .vx-empty-insp p { margin: 0; } .admin-body .vx-empty-insp ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: #c9d1de; }

/* The timeline */
.admin-body .vx-tl { padding: 10px 12px 12px; }
.admin-body .vx-tl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.admin-body .vx-tl-tools, .admin-body .vx-tl-zoom { display: flex; align-items: center; gap: 5px; }
.admin-body .vx-tl-tools button, .admin-body .vx-tl-zoom button { height: 32px; min-width: 34px; padding: 0 10px; border-radius: 9px; font: inherit; font-size: 13px; color: #e6eaf2; background: rgba(255,255,255,.06); border: 1px solid var(--vx-line); cursor: pointer; }
.admin-body .vx-tl-tools button:hover:not(:disabled), .admin-body .vx-tl-zoom button:hover { background: rgba(255,255,255,.12); }
.admin-body .vx-tl-tools button:disabled { opacity: .35; cursor: default; }
.admin-body .vx-sep { width: 1px; height: 20px; margin: 0 4px; background: var(--vx-line); }
.admin-body .vx-tl-zoom span { margin-right: 6px; font-variant-numeric: tabular-nums; font-size: 12px; color: var(--vx-mute); }
.admin-body .vx .vx-tl-zoom input[type="range"] { width: 120px !important; accent-color: var(--vx-acc); }
.admin-body .vx-tl-body { display: grid; grid-template-columns: 74px minmax(0, 1fr); border-radius: 12px; overflow: hidden; background: #0a0d14; border: 1px solid var(--vx-line); }
.admin-body .vx-labels { display: flex; flex-direction: column; background: rgba(255,255,255,.025); border-right: 1px solid var(--vx-line); }
.admin-body .vx-lab { display: flex; align-items: center; padding: 0 9px; font-size: 11.5px; font-weight: 700; color: var(--vx-mute); border-bottom: 1px solid var(--vx-line); }
.admin-body .vx-lab.r { height: 24px; } .admin-body .vx-lab.v { height: 62px; color: #93c5fd; } .admin-body .vx-lab.t { color: #fcd34d; } .admin-body .vx-lab.a { color: #d8b4fe; } .admin-body .vx-lab.c { height: 22px; }
.admin-body .vx-scroll { position: relative; overflow-x: auto; overflow-y: hidden; touch-action: pan-x; }
.admin-body .vx-canvas { position: relative; min-width: 100%; }
.admin-body .vx-ruler { position: relative; height: 24px; cursor: pointer; border-bottom: 1px solid var(--vx-line); background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(255,255,255,.04) 9px 10px); }
.admin-body .vx-ruler span { position: absolute; top: 4px; padding-left: 4px; font-size: 10.5px; color: var(--vx-mute); border-left: 1px solid rgba(255,255,255,.18); font-variant-numeric: tabular-nums; }
.admin-body .vx-lane { position: relative; border-bottom: 1px solid var(--vx-line); }
.admin-body .vx-lane.v { height: 62px; background: rgba(59,130,246,.035); }
.admin-body .vx-lane.t { background: rgba(245,158,11,.03); }
.admin-body .vx-lane.a { background: rgba(168,85,247,.035); }
.admin-body .vx-lane.c { height: 22px; }
.admin-body .vx-lane-hint { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: rgba(255,255,255,.3); pointer-events: none; white-space: nowrap; }
.admin-body .vx-clip { position: absolute; display: flex; flex-direction: column; justify-content: center; gap: 1px; overflow: hidden; padding: 0 12px; border-radius: 8px; cursor: grab; user-select: none; touch-action: none; }
.admin-body .vx-clip.v { top: 4px; height: 54px; color: #fff; background: linear-gradient(180deg, rgba(10,14,24,.15), rgba(10,14,24,.75)), var(--thumb, none) left center / auto 100% repeat-x, linear-gradient(135deg, #1d4ed8, #3b82f6); border: 1px solid rgba(147,197,253,.5); }
.admin-body .vx-clip.t { height: 24px; color: #1f1300; background: linear-gradient(135deg, #fbbf24, #f59e0b); border: 1px solid rgba(254,243,199,.6); }
.admin-body .vx-clip.a { height: 28px; color: #fff; background: linear-gradient(135deg, #7c3aed, #a855f7); border: 1px solid rgba(233,213,255,.5); }
.admin-body .vx-clip.a.is-bad { filter: grayscale(1); opacity: .6; }
.admin-body .vx-clip.is-sel { outline: 2px solid #fff; outline-offset: 1px; box-shadow: 0 0 0 4px rgba(255,255,255,.15); z-index: 2; }
.admin-body .vx-clip.is-drop { box-shadow: -4px 0 0 #fbbf24; }
.admin-body .vx-cl-name { overflow: hidden; font-size: 11.5px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.admin-body .vx-clip.t .vx-cl-name { text-shadow: none; }
.admin-body .vx-cl-meta { font-size: 10.5px; opacity: .85; white-space: nowrap; }
.admin-body .vx-wave { position: absolute; inset: 4px 10px; opacity: .35; background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 2px, transparent 2px 5px); -webkit-mask: linear-gradient(180deg, transparent 15%, #000 35% 65%, transparent 85%); mask: linear-gradient(180deg, transparent 15%, #000 35% 65%, transparent 85%); pointer-events: none; }
.admin-body .vx-h { position: absolute; top: 0; bottom: 0; width: 9px; cursor: ew-resize; background: rgba(255,255,255,.0); }
.admin-body .vx-h.l { left: 0; } .admin-body .vx-h.r { right: 0; }
.admin-body .vx-clip:hover .vx-h, .admin-body .vx-clip.is-sel .vx-h { background: rgba(255,255,255,.55); }
.admin-body .vx-h::after { content: ""; position: absolute; left: 3px; top: 30%; bottom: 30%; width: 3px; border-radius: 2px; background: rgba(0,0,0,.35); }
.admin-body .vx-cap { position: absolute; top: 5px; height: 12px; border-radius: 3px; background: rgba(255,255,255,.35); }
.admin-body .vx-ph { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #ef4444; pointer-events: none; z-index: 5; box-shadow: 0 0 8px rgba(239,68,68,.6); }
.admin-body .vx-ph i { position: absolute; top: 0; left: -6px; width: 14px; height: 14px; border-radius: 3px 3px 7px 7px; background: #ef4444; }
.admin-body .vx-jobs { border-radius: 18px; }

@media (max-width: 1280px) {
  .admin-body .vx-main { grid-template-columns: 270px minmax(0, 1fr); }
  .admin-body .vx-insp { grid-column: 1 / -1; height: auto; max-height: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: start; }
  .admin-body .vx-insp > .vx-ihead, .admin-body .vx-insp > .vx-actions, .admin-body .vx-insp > .vx-textarea, .admin-body .vx-insp > .vx-presets, .admin-body .vx-insp > p { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .admin-body .vx-top { flex-wrap: wrap; }
  .admin-body .vx .vx-title { order: 3; flex-basis: 100%; }
  .admin-body .vx-main { grid-template-columns: minmax(0, 1fr); }
  .admin-body .vx-center { order: -1; padding: 8px; }
  .admin-body .vx-tools { grid-template-columns: minmax(0, 1fr); height: auto; }
  .admin-body .vx-rail { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--vx-line); }
  .admin-body .vx-rail button { flex: none; min-width: 58px; }
  .admin-body .vx-tool { max-height: 420px; }
  .admin-body .vx-insp { display: flex; }
  .admin-body .vx-presets.mini { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-body .vx-tl-zoom input[type="range"] { display: none; }
  .admin-body .vx-transport button { width: 34px; height: 34px; }
  .admin-body .vx-labels { width: 52px; } .admin-body .vx-tl-body { grid-template-columns: 52px minmax(0, 1fr); }
  .admin-body .vx-lab { padding: 0 5px; font-size: 10.5px; }
}
.admin-body .vx .ve-check { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: #c9d1de; cursor: pointer; }
.admin-body .vx .ve-check input { width: 16px !important; height: 16px; min-height: 0; margin: 0; flex: none; accent-color: var(--vx-acc); }
.admin-body .vx .vx-sec > .ve-check { margin: 10px 12px; }

/* Channel subtitles: the CC button on a library card and its window */
.admin-body .md-cc { position: absolute; right: 8px; top: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 7px; border: 1px solid rgba(255,255,255,.45); border-radius: 6px; background: rgba(8,10,16,.62); color: rgba(255,255,255,.72); font: 800 11px/1 system-ui, sans-serif; letter-spacing: .02em; cursor: pointer; backdrop-filter: blur(4px); transition: background .15s, border-color .15s, color .15s, transform .15s; }
.admin-body .md-cc b { font-weight: 900; }
.admin-body .md-cc i { font-style: normal; font-weight: 700; font-size: 10px; opacity: .95; }
.admin-body .md-cc:hover { transform: translateY(-1px); border-color: #fff; color: #fff; background: rgba(8,10,16,.82); }
.admin-body .md-cc.is-off { opacity: .55; }
.admin-body .md-card:hover .md-cc.is-off { opacity: 1; }
.admin-body .md-cc.is-wait { border-color: #f5b301; color: #ffd75e; }
.admin-body .md-cc.is-run { border-color: #3b82f6; color: #fff; background: linear-gradient(90deg, rgba(59,130,246,.85), rgba(99,102,241,.85)); }
.admin-body .md-cc.is-done { border-color: #10b981; color: #fff; background: rgba(16,185,129,.88); }
.admin-body .md-cc.is-none { border-color: #94a3b8; color: #e2e8f0; }
.admin-body .md-cc.is-failed { border-color: #ef4444; color: #fff; background: rgba(239,68,68,.88); }
.admin-body .md-sub .md-sub-box { width: min(860px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); display: flex; flex-direction: column; }
.admin-body .md-sub .md-sub-body { flex: 1; min-height: 0; overflow: auto; padding: 14px 16px; display: grid; gap: 12px; align-content: start; }
.admin-body .md-sub .md-sub-head { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: 14px; align-items: end; }
.admin-body .md-sub .md-sub-head select { width: 100%; }
.admin-body .md-sub .md-sub-state { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(59,130,246,.12); font-weight: 700; }
.admin-body .md-sub .md-sub-list { display: grid; gap: 8px; }
.admin-body .md-sub .md-sub-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) repeat(var(--n, 1), minmax(0, 1fr)); gap: 8px; align-items: start; padding: 8px; border-radius: 10px; background: rgba(148,163,184,.08); }
.admin-body .md-sub .md-sub-row time { font: 700 12px/1.6 ui-monospace, monospace; opacity: .7; }
.admin-body .md-sub .md-sub-row p { margin: 0; font-size: 13px; line-height: 1.45; opacity: .8; }
.admin-body .md-sub .md-sub-row label { display: grid; gap: 3px; }
.admin-body .md-sub .md-sub-row label span { font: 800 10px/1 system-ui, sans-serif; letter-spacing: .06em; opacity: .6; }
.admin-body .md-sub .md-sub-row textarea { width: 100%; min-height: 44px; resize: vertical; font-size: 13px; line-height: 1.4; }
.admin-body .md-sub .md-sub-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 16px; border-top: 1px solid rgba(148,163,184,.18); }
@media (max-width: 640px) {
  .admin-body .md-sub .md-sub-head { grid-template-columns: 1fr; }
  .admin-body .md-sub .md-sub-row { grid-template-columns: 1fr; }
}
.admin-body .md-sub textarea, .admin-body .md-sub select { border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: #0b0d12; color: #f4f5f8; padding: 6px 8px; }
.admin-body .md-sub .vt-field span, .admin-body .md-sub .vt-hint { color: rgba(244,245,248,.7); }
/* Channel subtitles over the air picture: above the ticker and lower thirds, in the page's language */
.tvp-player .tvp-sub { position: absolute; left: 6%; right: 6%; bottom: 17%; z-index: 5; display: flex; justify-content: center; pointer-events: none; text-align: center; }
.tvp-player .tvp-sub span { display: inline-block; max-width: 100%; padding: .22em .6em .28em; border-radius: .3em; background: rgba(0,0,0,.72); color: #fff; font: 600 clamp(13px, 2.3vw, 26px)/1.32 system-ui, -apple-system, "Segoe UI", sans-serif; text-shadow: 0 1px 2px rgba(0,0,0,.6); white-space: pre-line; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tvp-player:fullscreen .tvp-sub span { font-size: clamp(18px, 2.6vw, 40px); }
.admin-body .md-sub .md-sub-foot .tva-btn { min-height: 34px; padding: 0 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(255,255,255,.06); color: #f4f5f8; font: 700 13px/1 system-ui, sans-serif; cursor: pointer; }
.admin-body .md-sub .md-sub-foot .tva-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.admin-body .md-sub .md-sub-foot .tva-btn.primary { border-color: #10b981; background: #10b981; color: #fff; }
.admin-body .md-sub .md-sub-foot .tva-btn.primary:hover { background: #0ea371; }
.admin-body .md-sub .md-sub-foot [data-sub-off] { margin-right: auto; color: #fca5a5; }

/* Social posts in the article editor: a card with the link; the public page shows the network's player. */
.social-embed-block { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 14px 0; padding: 12px 14px; border: 1px solid #dfe5ee; border-radius: 10px; background: #f7f9fc; user-select: none; }
.social-embed-block .seb-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: #fff; font-size: 20px; font-weight: 900; }
.seb-youtube { background: #ff0033; } .seb-facebook { background: #1877f2; } .seb-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); } .seb-telegram { background: #229ed9; }
.social-embed-block .seb-text { display: grid; gap: 2px; min-width: 0; }
.social-embed-block .seb-text a { overflow: hidden; color: #1d4ed8; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.social-embed-block .seb-text small { color: #667085; font-size: 12px; }
.social-embed-block button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #e7ebf1; color: #344054; font-size: 18px; cursor: pointer; }
.social-embed-dialog { width: min(480px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 12px; box-shadow: 0 24px 60px rgba(7,16,31,.3); }
.social-embed-dialog::backdrop { background: rgba(7,16,31,.5); }
.social-embed-dialog form { display: grid; gap: 14px; padding: 20px; }
.social-embed-dialog h3 { margin: 0; font-size: 18px; }
.social-embed-dialog label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.social-embed-dialog input { height: 42px; padding: 0 12px; border: 1px solid #cfd6e1; border-radius: 8px; font: inherit; font-weight: 400; }
.social-embed-dialog .seb-error { margin: 0; color: #c8102e; font-size: 13px; }
.social-embed-dialog footer { display: flex; justify-content: flex-end; gap: 8px; }
.social-embed-dialog footer button { height: 38px; padding: 0 16px; border: 0; border-radius: 8px; font-weight: 800; cursor: pointer; }
.social-embed-dialog footer .secondary { background: #eef1f5; color: #344054; }
.social-embed-dialog footer .primary { background: var(--red, #c8102e); color: #fff; }

/* YouTube / Facebook / Instagram / Telegram posts inside an article (functions/_lib/social-embed.js). */
.social-embed { display: grid; justify-items: center; gap: 6px; margin: 20px 0; }
.social-embed iframe { display: block; width: 100%; border: 0; border-radius: 10px; background: #000; }
.social-embed-youtube iframe, .social-embed-facebook:not(.is-post) iframe { aspect-ratio: 16 / 9; }
.social-embed.is-tall iframe { width: min(100%, 360px); aspect-ratio: 9 / 16; }
.social-embed-facebook.is-post iframe { width: min(100%, 500px); height: 640px; background: #fff; }
.social-embed-instagram iframe { width: min(100%, 480px); height: 760px; background: #fff; }
.social-embed-telegram iframe { width: min(100%, 520px); height: 560px; background: #fff; }
.social-embed figcaption { font-size: 12px; }
.social-embed figcaption a { color: #667085; text-decoration: none; }

/* Views stand where the reading time was (owner request): a little larger than the date. */
.article-image-meta .article-views { font-size: 15px; color: #3f4753; }
.article-image-meta .article-views .icon { width: 20px; height: 20px; }
/* The five newest stories under the comments of an article. */
.after-latest { margin: 18px 0 8px; padding: 14px; border: 1px solid #e7e9ee; border-radius: 10px; background: #fff; }
.after-latest h2 { margin: 0 0 10px; font-size: 16px; font-weight: 900; text-transform: uppercase; color: #121826; }
.after-latest-item { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid #eef0f4; color: inherit; text-decoration: none; }
.after-latest-item:first-of-type { border-top: 0; }
.after-latest-img { display: block; width: 96px; height: 64px; border-radius: 8px; background: #e9ecf1 center / cover no-repeat; }
.after-latest-text { display: grid; gap: 6px; min-width: 0; }
.after-latest-text b { font-size: 14px; line-height: 1.3; font-weight: 800; color: #121826; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.after-latest-text time { font-size: 12px; color: #6d7582; font-weight: 700; }
.after-latest-item:hover b { color: #d62828; }
.after-latest-all { display: block; margin-top: 10px; padding: 12px; border-radius: 8px; background: #d62828; color: #fff; text-align: center; font-weight: 900; text-decoration: none; text-transform: uppercase; font-size: 13px; }
.after-latest-all:hover { background: #b51f1f; }

/* Like / dislike under an article body. */
.article-react { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; padding: 12px 14px; border: 1px solid #e7e9ee; border-radius: 10px; background: #fff; }
.article-react > span { margin-right: auto; font-size: 13px; font-weight: 900; color: #3f4753; text-transform: uppercase; }
.article-react button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid #e1e4ea; border-radius: 999px; background: #f6f7f9; color: #3f4753; font: inherit; font-weight: 900; font-size: 14px; cursor: pointer; }
.article-react button .icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.article-react button[data-react="like"].active { background: #e8f6ec; border-color: #2e9e57; color: #1f7a40; }
.article-react button[data-react="dislike"].active { background: #fdecec; border-color: #d62828; color: #b51f1f; }

/* Date, likes, dislikes and views under a news card. */
.card-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 8px; color: #5b6472; font-size: 12px; font-weight: 700; line-height: 1.2; }
.card-stat { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.card-stat svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.card-stat-date { color: #6d7582; }
.card-stat-like { color: #2e9e57; }
.card-stat-dislike { color: #d62828; }
.card-stat-views { color: #3f4753; }
/* The date takes its own line, so likes, dislikes and views always stay together on one line (Android and iOS). */
.card-stats { flex-wrap: wrap; row-gap: 6px; }
.card-stat-date { flex: 0 0 100%; }
.social-embed-dialog textarea { padding: 10px 12px; border: 1px solid #cfd6e1; border-radius: 8px; font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 400; resize: vertical; }
.seb-maps { background: #34a853 !important; }
.seb-tiktok { background: #111 !important; }
.seb-vimeo { background: #1ab7ea !important; }

/* A Facebook "share" link that Facebook's player cannot show: a plain link card instead of a broken frame. */
.social-embed.is-link { padding: 14px 16px; border: 1px solid #dfe5ee; border-radius: 10px; background: #f6f8fb; aspect-ratio: auto !important; height: auto !important; }
.social-embed.is-link a { color: #1877f2; font-weight: 800; text-decoration: none; }
.social-embed-maps iframe { aspect-ratio: 4 / 3; }
.social-embed-vimeo iframe { aspect-ratio: 16 / 9; }
.headline-hint { display: block; margin: 4px 0 0; color: #7b8492; font-size: 12px; line-height: 1.4; }

/* Links the editor put on a word by hand look like the automatic ones (owner request). */
.cms-article-body a:not(.social-embed a):not([class]), .article-web .lead a:not([class]), .article-page .lead a:not([class]) { color: #c8102e; text-decoration: underline; text-underline-offset: 2px; }
.cms-article-body a:not([class]):hover { color: #9e0b23; }
.st-wm-preset { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; margin-top: 16px; padding: 16px; border: 1px solid #e3e8ef; border-radius: 12px; background: #fbfcfe; }
.st-wm-preview { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 9; background: #dfe5ee; }
.st-wm-preview > img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-wm-logo { position: absolute; transform: translate(-50%, -50%); height: auto; pointer-events: none; }
.st-wm-controls { display: grid; gap: 10px; align-content: start; }
.st-wm-controls small { color: #6b7686; line-height: 1.4; }
.st-wm-controls label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.st-wm-controls output { float: right; color: #2563eb; }
.st-wm-label { font-size: 13px; font-weight: 700; }
.st-wm-grid { display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; }
.st-wm-grid button { height: 30px; border: 1px solid #d6dde7; border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.st-wm-grid button i { width: 7px; height: 7px; border-radius: 50%; background: #2563eb; }
.st-wm-grid button.active { border-color: #2563eb; background: #eaf1ff; }
.st-wm-controls .st-wm-auto { display: flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .st-wm-preset { grid-template-columns: 1fr; } }

/* ---- Ad places: the same size on every page, and one house banner ("Sizin reklam yeriniz") for an empty place. ---- */
.ad-size-desktop-left-rail, .ad-size-desktop-right-rail { width: 100%; max-width: 124px; height: auto !important; aspect-ratio: 124 / 552 !important; }
.ad-size-desktop-hero-strip { width: 100%; height: auto !important; aspect-ratio: 900 / 65 !important; }
.ad-size-desktop-sidebar-card { width: 100%; max-width: 260px; height: auto !important; min-height: 0 !important; aspect-ratio: 260 / 197 !important; }
.ad-size-desktop-sidebar-tall { width: 100%; max-width: 310px; height: auto !important; min-height: 0 !important; aspect-ratio: 300 / 480 !important; }
.ad-size-desktop-lower-strip { width: 100%; height: auto !important; min-height: 0 !important; aspect-ratio: 626 / 197 !important; }
.ad-size-mobile-top { width: 100%; height: auto !important; min-height: 0 !important; aspect-ratio: 410 / 72 !important; }
.ad-size-mobile-hero-strip { width: 100%; height: auto !important; min-height: 0 !important; aspect-ratio: 410 / 98 !important; }
.ad-size-mobile-feed-strip { width: 100%; height: auto !important; min-height: 0 !important; aspect-ratio: 410 / 86 !important; }
.has-house-ad { display: block !important; padding: 0 !important; overflow: hidden; border-radius: 8px; background: none !important; box-shadow: 0 10px 24px rgba(7, 16, 31, .08); }
.has-house-ad > *:not(.ad-house) { display: none !important; }

/* House banner: no logo, an eye-catching moving design (owner request). A panel ad replaces it in the same box. */
.ad-house { container-type: size; position: relative; isolation: isolate; display: grid; width: 100%; height: 100%; box-sizing: border-box; overflow: hidden; color: #fff; text-decoration: none; font-family: inherit;
  background: linear-gradient(125deg, #07101f 0%, #172a4d 30%, #9d1420 55%, #d62828 70%, #172a4d 88%, #07101f 100%); background-size: 320% 320%; animation: adhouse-bg 9s ease-in-out infinite; }
.ad-house::before { content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .18) 0 6%, transparent 7%), radial-gradient(circle at 70% 65%, rgba(255, 205, 0, .22) 0 4%, transparent 5%), radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .12) 0 3%, transparent 4%);
  animation: adhouse-float 14s linear infinite; }
.ad-house::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); animation: adhouse-shine 3.6s ease-in-out infinite; }
.ad-house > * { position: relative; z-index: 2; }
.ad-house small { justify-self: start; padding: 3px 7px; border-radius: 3px; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ad-house b { font-weight: 900; line-height: 1.05; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); animation: adhouse-pop 3.6s ease-in-out infinite; transform-origin: left center; }
.ad-house span { color: #ffd76a; font-weight: 900; letter-spacing: .02em; white-space: nowrap; }
.ad-house i { justify-self: start; padding: .5em 1.1em; border-radius: 999px; background: #ffd400; color: #07101f; font-style: normal; font-weight: 900; text-transform: uppercase; white-space: nowrap; animation: adhouse-pulse 1.8s ease-out infinite; }
.ad-house:hover i { background: #fff; }
/* The old sample ads (.promo-ad, .side-fill-ad) pin their span/small; the house banner lays them out itself. */
a.ad-house > span { position: relative; inset: auto; padding: 0; border-radius: 0; background: none; }
a.ad-house > small { margin: 0; }
@keyframes adhouse-bg { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes adhouse-float { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes adhouse-shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes adhouse-pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.06); } }
@keyframes adhouse-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 212, 0, .7); } 70%, 100% { box-shadow: 0 0 0 .9em rgba(255, 212, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .ad-house, .ad-house::before, .ad-house::after, .ad-house b, .ad-house i { animation: none; } .ad-house::after { display: none; } }

/* Tall right-column banner (300 × 480) */
.ad-house.is-tall { align-content: end; gap: 14px; padding: 9%; }
.ad-house.is-tall small { position: absolute; top: 7cqw; left: 8cqw; font-size: 3.6cqw; }
.ad-house.is-tall b { font-size: 12cqw; }
.ad-house.is-tall span { font-size: 6cqw; }
.ad-house.is-tall i { font-size: 4.6cqw; }

/* Side rails (124 × 552): everything stacked in the middle */
.ad-house.is-sky { align-content: center; justify-items: center; gap: 18px; padding: 12% 8%; text-align: center; }
.ad-house.is-sky small, .ad-house.is-sky i { justify-self: center; }
.ad-house.is-sky b { transform-origin: center; }
.ad-house.is-sky small { font-size: 8cqw; }
.ad-house.is-sky b { font-size: 14cqw; }
.ad-house.is-sky span { font-size: 9cqw; white-space: normal; }
.ad-house.is-sky i { font-size: 8.5cqw; padding: .5em .8em; }

/* Cards (260 × 197, 626 × 197) */
.ad-house.is-card { align-content: end; gap: 1.6cqh; padding: 16px 18px 18px; }
.ad-house.is-card small { position: absolute; top: 16px; left: 18px; font-size: 6cqh; }
.ad-house.is-card b { font-size: min(14cqh, 9.5cqw); }
.ad-house.is-card span { font-size: 8cqh; }
.ad-house.is-card i { margin-top: 1cqh; font-size: 6.5cqh; }

/* Strips (900 × 65, 410 × 72 / 49 / 43): one row */
.ad-house.is-strip { grid-auto-flow: column; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 2%; padding: 0 2.4%; }
.ad-house.is-strip::after { width: 25%; }
.ad-house.is-strip small { font-size: min(20cqh, 2.6cqw); }
.ad-house.is-strip b { font-size: min(36cqh, 4.6cqw); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-house.is-strip span { font-size: min(26cqh, 3.2cqw); }
.ad-house.is-strip i { justify-self: end; font-size: min(24cqh, 3cqw); }
@container (max-width: 430px) { .ad-house.is-strip small, .ad-house.is-strip span { display: none; } .ad-house.is-strip { grid-template-columns: 1fr auto; } .ad-house.is-strip b { font-size: min(38cqh, 5.6cqw); } }

/* Unread messages: a red count beside "Yazışmalar" in the menu; on the folded menu a dot-badge on the icon. */
.admin-body .nav-unread[hidden] { display: none; }
.admin-body .nav-unread { animation: nav-unread-pop .35s ease-out; box-shadow: 0 0 0 2px rgba(240, 68, 56, .25); }
.admin-body [data-view="messages"] { position: relative; }
body.sidebar-collapsed .admin-body .nav-unread, .sidebar-collapsed .nav-unread { position: absolute; top: 2px; right: 4px; margin: 0; min-width: 16px; padding: 0 4px; font-size: 9px; line-height: 16px; }
@keyframes nav-unread-pop { from { transform: scale(.4); } to { transform: scale(1); } }

/* Until the ad script fills a place, it shows the house banner's moving background, never the old sample ads
   (Pronet, Kapital Bank…) that are still in the page HTML; so nothing old flashes while a page opens. */
.side-rail .skyscraper:not(.has-panel-ad), .wide-ad.kontakt:not(.has-panel-ad), .small-ad.promo-ad:not(.has-panel-ad),
.side-fill-ad:not(.has-panel-ad), .wide-ad.bank-blue:not(.has-panel-ad), .top-ad:not(.has-panel-ad), .ad-strip.kontakt-mobile:not(.has-panel-ad) {
  background: linear-gradient(125deg, #07101f 0%, #172a4d 30%, #9d1420 55%, #d62828 70%, #172a4d 88%, #07101f 100%) !important;
  background-size: 320% 320% !important; animation: adhouse-bg 9s ease-in-out infinite; color: transparent !important; border-radius: 8px;
}
.side-rail .skyscraper:not(.has-panel-ad) > *, .wide-ad.kontakt:not(.has-panel-ad) > *, .small-ad.promo-ad:not(.has-panel-ad) > *,
.side-fill-ad:not(.has-panel-ad) > *, .wide-ad.bank-blue:not(.has-panel-ad) > *, .top-ad:not(.has-panel-ad) > *, .ad-strip.kontakt-mobile:not(.has-panel-ad) > * { visibility: hidden !important; }
.side-rail .skyscraper:not(.has-panel-ad)::before, .side-rail .skyscraper:not(.has-panel-ad)::after, .wide-ad:not(.has-panel-ad)::before, .wide-ad:not(.has-panel-ad)::after,
.small-ad.promo-ad:not(.has-panel-ad)::before, .small-ad.promo-ad:not(.has-panel-ad)::after, .side-fill-ad:not(.has-panel-ad)::before, .side-fill-ad:not(.has-panel-ad)::after,
.top-ad:not(.has-panel-ad)::before, .top-ad:not(.has-panel-ad)::after, .ad-strip.kontakt-mobile:not(.has-panel-ad)::before, .ad-strip.kontakt-mobile:not(.has-panel-ad)::after { content: none !important; }

/* ===== Red animated top on the desktop site (owner design, 2026-11-13) ===== */
/* Top bar: white, date and a live clock, coloured exchange rates with moving arrows, a neat language pill. */
.topbar { position: relative; height: 40px; background: #fff; color: #39424f; border-bottom: 1px solid #eceff3; font-size: 12.5px; font-weight: 700; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, #d0101b 20%, #ff4b4b 50%, #d0101b 80%, transparent); background-size: 200% 100%; animation: rt-line 6s linear infinite; }
.topbar-inner { gap: 22px; }
.topbar time { display: inline-flex; align-items: center; gap: 6px; color: #1f2733; font-weight: 800; }
.topbar time[data-live-date]::before, .topbar time[data-live-time]::before { content: ""; width: 14px; height: 14px; background: #d0101b; -webkit-mask: var(--rt-ico) center / contain no-repeat; mask: var(--rt-ico) center / contain no-repeat; }
.topbar time[data-live-date] { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.topbar time[data-live-time] { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); padding-right: 14px; border-right: 1.5px solid #e1e5eb; }
.topbar-inner > span, .topbar-inner > a { color: #4b5563; transition: color .2s; }
.topbar-inner > a { position: relative; }
.topbar-inner > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: #d0101b; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.topbar-inner > a:hover { color: #d0101b; } .topbar-inner > a:hover::after { transform: scaleX(1); }
.topbar .live-currency { display: inline-flex; align-items: center; margin-left: auto; }
.topbar .currency-rate { display: inline-flex; align-items: center; gap: 5px; padding: 0 12px; font-size: 13px; font-weight: 900; border-radius: 6px; transition: background .2s, transform .2s; animation: rt-rate-in .5s ease-out; }
.topbar .currency-rate + .currency-rate { border-left: 1.5px solid #e1e5eb; border-radius: 0; }
.topbar .currency-rate:hover { background: #f5f7fa; transform: translateY(-1px); }
.topbar .currency-rate b { font-size: 13px; }
.topbar .currency-rate.down { color: #d0101b; } .topbar .currency-rate.up { color: #138a45; } .topbar .currency-rate.same { color: #6b7280; }
.topbar .currency-rate i { font-style: normal; font-size: .78em; }
.topbar .currency-rate.up i { animation: rt-arrow-up 1.6s ease-in-out infinite; } .topbar .currency-rate.down i { animation: rt-arrow-down 1.6s ease-in-out infinite; }
.topbar .lang-switch { margin-left: 0; height: 30px; padding: 2px; border: 1px solid #e1e5eb; border-radius: 999px; background: #f5f7fa; box-shadow: none; }
.topbar .lang-switch::after { right: 9px; color: #d0101b; }
.topbar .lang-switch select { height: 24px; border-radius: 999px; background: #fff; box-shadow: 0 2px 6px rgba(7, 16, 31, .1); }
@keyframes rt-line { from { background-position: 0 0; } to { background-position: -200% 0; } }

/* News ticker: a slanted red "ƏN SON" label with a live dot, soft fades at the edges, red bullets. */
.breaking-news-web { grid-template-columns: auto minmax(0, 1fr); background: #fff; border-bottom: 1px solid #eceff3; }
.breaking-news-web strong { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 22px 0 16px; letter-spacing: .06em; background: linear-gradient(90deg, #b30d16, #e3141f); clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.breaking-news-web strong::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: rt-live-dot 1.4s ease-out infinite; }
.breaking-viewport { -webkit-mask: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.breaking-track a { color: #1f2733; transition: color .2s; }
.breaking-track a:hover { color: #d0101b; }

/* Header: dark red with a dotted world map, glowing swooshes and a light sweep (decor in .rt-bg, so menus are not cut off). */
.web-header { background: linear-gradient(105deg, #4a0006 0%, #8f0a12 38%, #b3121b 62%, #5c0008 100%); border-bottom: 0; box-shadow: 0 10px 28px rgba(80, 0, 6, .25); backdrop-filter: none; }
.web-header > .rt-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.web-header > .rt-bg::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 120, 120, .5) 0 1.2px, transparent 1.8px), radial-gradient(70% 120% at 40% 50%, #000, transparent);
  background-size: 8px 8px, 100% 100%;
  -webkit-mask: radial-gradient(14% 38% at 36% 40%, #000 55%, transparent 75%), radial-gradient(12% 34% at 50% 42%, #000 55%, transparent 75%), radial-gradient(8% 30% at 46% 80%, #000 50%, transparent 75%), radial-gradient(10% 30% at 62% 70%, #000 50%, transparent 75%), radial-gradient(10% 40% at 22% 45%, #000 50%, transparent 75%);
  mask: radial-gradient(14% 38% at 36% 40%, #000 55%, transparent 75%), radial-gradient(12% 34% at 50% 42%, #000 55%, transparent 75%), radial-gradient(8% 30% at 46% 80%, #000 50%, transparent 75%), radial-gradient(10% 30% at 62% 70%, #000 50%, transparent 75%), radial-gradient(10% 40% at 22% 45%, #000 50%, transparent 75%);
  opacity: .75; animation: rt-map-drift 50s linear infinite, rt-glow 6s ease-in-out infinite; }
.web-header > .rt-bg::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 18%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent); animation: rt-sweep 7s ease-in-out infinite; }
.web-header > .rt-bg .rt-swoosh { position: absolute; border-radius: 50%; border-top: 2px solid rgba(255, 92, 92, .95); filter: drop-shadow(0 0 6px rgba(255, 40, 40, .9)); animation: rt-swoosh 6s ease-in-out infinite; }
.web-header > .rt-bg .rt-swoosh.a { left: -12%; top: 10%; width: 45%; height: 160%; }
.web-header > .rt-bg .rt-swoosh.b { right: -15%; bottom: -130%; width: 55%; height: 180%; animation-delay: -3s; }
.web-header-inner { position: relative; z-index: 1; }
.web-logo:not(.web-logo-tv) { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
/* Section menu on red: white words, an underline that grows on hover, a slanted white tab for the open section. */
.web-header-inner > nav > a, .web-header-inner > nav > .category-menu-group > a { color: #fff; transition: color .2s; }
.web-header-inner > nav > a::before, .web-header-inner > nav > .category-menu-group > a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 36px; height: 2px; border-radius: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.web-header-inner > nav > a:hover::before, .web-header-inner > nav > .category-menu-group > a:hover::before { transform: scaleX(1); }
.web-header-inner > nav > a.active, .web-header-inner > nav > .category-menu-group > a.active { z-index: 0; padding: 0 12px; margin: 0 -12px; color: #c8101b; }
.web-header-inner > nav > a.active::after, .web-header-inner > nav > .category-menu-group > a.active::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; bottom: auto; z-index: -1; height: 38px; border-radius: 6px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); transform: translateY(-50%) skewX(-12deg); animation: rt-tab-in-web .45s cubic-bezier(.2, .8, .2, 1.2); }
.web-header-inner > nav > a.active::before { display: none; }
@keyframes rt-tab-in-web { from { transform: translateY(-50%) skewX(-12deg) scaleX(.82); } to { transform: translateY(-50%) skewX(-12deg) scaleX(1); } }
.web-header-inner > .menu { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.web-header-inner > .menu:hover { background: rgba(255, 255, 255, .22); }
.web-header .tv-live { border-color: rgba(255, 255, 255, .8); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
@media (prefers-reduced-motion: reduce) { .topbar::after, .topbar .currency-rate, .topbar .currency-rate i, .breaking-news-web strong::before, .web-header > .rt-bg::before, .web-header > .rt-bg::after, .web-header > .rt-bg .rt-swoosh, .web-header-inner > nav a.active::after { animation: none !important; } }
@keyframes rt-map-drift { from { background-position: 0 0, 0 0; } to { background-position: 140px 0, 0 0; } }
@keyframes rt-sweep { 0% { transform: translateX(-120%) skewX(-20deg); } 60%, 100% { transform: translateX(320%) skewX(-20deg); } }
@keyframes rt-glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes rt-swoosh { 0%, 100% { transform: rotate(-8deg) translateY(0); opacity: .75; } 50% { transform: rotate(-5deg) translateY(-3px); opacity: 1; } }
@keyframes rt-rate-in { from { transform: translateY(5px); } to { transform: none; } }
@keyframes rt-arrow-up { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes rt-arrow-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }
@keyframes rt-tab-in { from { transform: skewX(-12deg) scaleX(.82); } to { transform: skewX(-12deg) scaleX(1); } }
@keyframes rt-live-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } }

/* Desktop-only pages (Reklam yerləri, Haqqımızda, Əlaqə, Məxfilik) opened on a phone: no sideways scroll,
   a compact header with the menu button, and a one-column footer. */
@media (max-width: 760px) {
  html, body { max-width: 100%; overflow-x: clip; }
  body { touch-action: manipulation; -webkit-text-size-adjust: 100%; }
  img, video, iframe, table { max-width: 100%; }
  input, select, textarea { font-size: 16px !important; }
  .topbar-inner { gap: 14px; overflow: hidden; }
  .topbar-inner > :not(:first-child):not(.lang-switch), .topbar .currency-rate, .topbar .search { display: none !important; }
  .topbar-inner .lang-switch { margin-left: auto; }
  .web-header-inner { width: calc(100% - 24px) !important; gap: 10px; }
  .web-header-inner > nav { display: none !important; }
  .web-header-inner > a:first-child img { max-height: 46px; width: auto; }
  .web-header-inner .tv-live { margin-left: auto; }
  .page-shell { width: calc(100% - 24px) !important; max-width: 100%; }
  .side-fill-ad, .side-ad, [class*="side-rail"] { display: none !important; }
  .web-footer-inner { width: calc(100% - 32px) !important; grid-template-columns: 1fr !important; gap: 26px; }
  .footer-links div { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px 16px; }
  .footer-links a { white-space: normal; overflow-wrap: anywhere; }
  /* Reklam yerləri on a phone: short and tidy. The big web/mobile maps and the mapping table are left out;
     the list of places (each with its web and mobile size) and the request form stay. */
  .public-ad-device-tabs, .public-ad-browser, .public-ad-packages { display: none !important; }
  .public-ad-page { gap: 18px !important; }
  .public-ad-heading { padding: 0 !important; gap: 10px !important; }
  .public-ad-heading h1 { font-size: 28px !important; }
  .public-ad-request { display: grid !important; grid-template-columns: 1fr !important; gap: 18px !important; padding: 0 !important; }
  .public-ad-directory, .public-ad-form { padding: 16px !important; border-radius: 12px; }
  .public-ad-directory header h2, .public-ad-form h2 { font-size: 22px !important; }
  .ad-placement-option { padding: 10px 4px !important; gap: 10px !important; grid-template-columns: 28px minmax(0, 1fr) 24px !important; }
  .ad-placement-option b { width: 26px !important; height: 26px !important; font-size: 13px !important; }
  .ad-placement-option strong { font-size: 15px !important; }
  .ad-placement-option small { font-size: 12px !important; line-height: 1.35 !important; }
}

/* The active tab is a slanted "/" shape at both ends: room on the left of the first item (Ana səhifə, next to the logo)
   and on the right of the last one, so the menu's scroll box never cuts a slanted edge straight. */
@media (min-width: 761px) {
  .web-header-inner > nav { padding-left: 14px !important; padding-right: 14px !important; scroll-padding-inline: 14px; column-gap: min(17.25px, .95vw) !important; }
}

/* Blinking cities on the red header (Brüssel, Ankara, Tbilisi, Bakı): above and below the menu, never behind it. */
.rt-cities { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.rt-city { position: absolute; display: flex; align-items: center; gap: 5px; white-space: nowrap; color: #fff;
  transform: translateX(calc(var(--px, 0) * var(--depth, 14px))) scale(var(--s, 1)); transform-origin: left center; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.rt-city i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .8), 0 0 8px #fff; animation: rt-city-ping 2.6s ease-out infinite; animation-delay: var(--d, 0s); transition: background .25s; }
.rt-city b { font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; line-height: 1; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); animation: rt-city-blink 2.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.rt-city em { font-size: 9.5px; font-style: normal; font-weight: 800; line-height: 1; color: #ffd6d6; opacity: .8; }
.rt-city.near { --s: 1.18; }
.rt-city.near i { background: #ffd23f; box-shadow: 0 0 0 4px rgba(255, 210, 63, .35), 0 0 12px #ffd23f; animation: none; }
.rt-city.near b { animation: none; color: #fff7d6; }
.rt-city.near em { opacity: 1; color: #fff; }
.rt-city.c0 { --d: 0s; --depth: 22px; } .rt-city.c1 { --d: -.65s; --depth: 14px; } .rt-city.c2 { --d: -1.3s; --depth: 18px; } .rt-city.c3 { --d: -1.95s; --depth: 10px; }
@keyframes rt-city-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8), 0 0 8px #fff; } 75%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0), 0 0 8px #fff; } }
@keyframes rt-city-blink { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rt-city, .rt-city i, .rt-city b { animation: none !important; transition: none !important; } }
/* Desktop: top band and bottom band of the 110 px header, clear of the menu text and the active tab. */
.web-header > .rt-cities .c0 { left: 24%; top: 10px; }
.web-header > .rt-cities .c1 { left: 41%; bottom: 10px; }
.web-header > .rt-cities .c2 { left: 57%; top: 10px; }
.web-header > .rt-cities .c3 { left: 71%; bottom: 10px; }
@media (max-width: 760px) { .web-header > .rt-cities { display: none; } }
/* Cities a little more eye-catching (owner request): a soft dark pill, bigger name, brighter glow. */
.rt-city { padding: 3px 8px 3px 6px; border-radius: 999px; background: rgba(40, 0, 4, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 2px 10px rgba(0, 0, 0, .25); }
.rt-city i { width: 9px; height: 9px; box-shadow: 0 0 0 0 rgba(255, 255, 255, .9), 0 0 10px #fff, 0 0 18px rgba(255, 210, 63, .6); }
.rt-city b { font-size: 12.5px; text-shadow: 0 0 10px rgba(255, 255, 255, .55), 0 1px 4px rgba(0, 0, 0, .5); }
.rt-city em { font-size: 10.5px; }
@keyframes rt-city-blink { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.web-header > .rt-cities .c0, .web-header > .rt-cities .c2 { top: 6px; }
.web-header > .rt-cities .c1, .web-header > .rt-cities .c3 { bottom: 6px; }
/* Tbilisi hub: bigger, brighter, right before the TV live button; signals flow from it to the other cities. */
.rt-city { transform: scale(var(--s, 1)); }
.rt-city.hub { z-index: 2; padding: 4px 10px 4px 7px; background: linear-gradient(180deg, rgba(255, 60, 70, .5), rgba(150, 0, 10, .55)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 0 18px rgba(255, 60, 70, .55); }
.rt-city.hub i { width: 11px; height: 11px; background: #ffd23f; box-shadow: 0 0 0 0 rgba(255, 210, 63, .9), 0 0 12px #ffd23f; animation: rt-hub-ping 1.8s ease-out infinite; }
.rt-city.hub b { font-size: 14px; opacity: 1; animation: rt-hub-glow 1.8s ease-in-out infinite; }
.rt-city.hub em { color: #fff; opacity: .95; }
.rt-signals { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rt-signals .sig { fill: none; stroke: rgba(255, 225, 225, .6); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 2 6; animation: rt-sig-flow 1.1s linear infinite; }
.rt-signals .spark { fill: #ffe27a; }
@keyframes rt-sig-flow { to { stroke-dashoffset: -16; } }
@keyframes rt-hub-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 63, .9), 0 0 12px #ffd23f; } 80%, 100% { box-shadow: 0 0 0 12px rgba(255, 210, 63, 0), 0 0 12px #ffd23f; } }
@keyframes rt-hub-glow { 0%, 100% { text-shadow: 0 0 6px rgba(255, 255, 255, .5), 0 1px 4px rgba(0, 0, 0, .5); } 50% { text-shadow: 0 0 14px rgba(255, 230, 150, .95), 0 1px 4px rgba(0, 0, 0, .5); } }
@media (prefers-reduced-motion: reduce) { .rt-signals .sig, .rt-city.hub i, .rt-city.hub b { animation: none !important; } .rt-signals .spark { display: none; } }
.web-header > .rt-cities .hub { top: 4px; left: 80%; }
/* Desktop Tbilisi hub: after the logo and a size bigger (owner request). */
.web-header > .rt-cities .hub { top: 5px; padding: 5px 12px 5px 8px; gap: 7px; }
.web-header > .rt-cities .hub i { width: 13px; height: 13px; }
.web-header > .rt-cities .hub b { font-size: 17px; }
.web-header > .rt-cities .hub em { font-size: 12px; }
.web-header > .rt-cities .c0 { left: 36%; }
.rt-signals .sig { stroke: rgba(255, 230, 230, .7); stroke-width: 1.5; }
/* Desktop city layout (owner request): Tbilisi where Brüssel was, Brüssel where Bakı was, Bakı after the logo. */
.web-header > .rt-cities .hub { left: 36%; top: 3px; }
.web-header > .rt-cities .c0 { top: 6px; }
.web-header > .rt-cities .c3 { left: 71%; bottom: 6px; }

/* Tablets (761–1180 px): the menu keeps even spacing and scrolls sideways instead of squeezing tabs into each other;
   the top bar keeps the date, time, rates that fit and the language switch. */
@media (min-width: 761px) and (max-width: 1180px) {
  .web-header-inner { width: calc(100% - 32px) !important; gap: 14px; }
  .web-header-inner > nav { column-gap: 22px !important; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .web-header-inner > nav::-webkit-scrollbar { display: none; }
  .web-header-inner > nav > a, .web-header-inner > nav > .category-menu-group { scroll-snap-align: start; flex: none; }
  .web-header-inner .web-logo { max-height: 56px; width: auto; }
  .topbar-inner { gap: 16px; overflow: hidden; }
  .topbar-inner > span:not(.live-currency), .topbar-inner > a { display: none; }
  .topbar .live-currency { min-width: 0; overflow: hidden; }
  .page-shell { width: calc(100% - 32px) !important; }
}
/* Empty "Yazarlar" block keeps its height (placeholder rows), the message centred over them. */
.authors-panel.is-empty, [data-authors-panel].is-empty { position: relative; }
[data-authors-panel].is-empty .author-rows { opacity: .45; pointer-events: none; }
[data-authors-panel].is-empty .authors-empty { position: absolute; left: 18px; right: 18px; top: 50%; margin: 0; transform: translateY(-50%); padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .92); text-align: center; font-weight: 800; box-shadow: 0 6px 18px rgba(7, 16, 31, .08); }

/* Home page third row: video news (empty slots until they are published). */
.home-video-row { margin-top: 12px; }
.compact-card.is-video .compact-img { position: relative; background-color: #111827; }
.compact-card.is-video .video-play-badge { width: 32px; height: 32px; font-size: 12px; font-style: normal; }
.compact-card.is-placeholder { border: 1px dashed #d6dce6; background: #fbfcfe; box-shadow: none; pointer-events: none; }
.compact-card.is-placeholder .compact-img { background: linear-gradient(135deg, #e9edf4 0%, #f7f9fc 52%, #e4e9f1 100%); }
.compact-card.is-placeholder .compact-img::before { content: "INTERPRESS TV"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(31, 42, 61, .2); font-size: 12px; font-weight: 950; letter-spacing: .08em; }
.compact-card.is-placeholder .video-play-badge { opacity: .72; }
.compact-card.is-placeholder h3 { color: #778195; }

/* Home page: the tall right banner ends level with the banner row under the news (no tail below it). */
@media (min-width: 1421px) {
  .home-flow .right-stack { grid-template-rows: auto auto minmax(0, 1fr); }
  .home-flow .right-stack .side-fill-ad { aspect-ratio: auto !important; height: auto !important; min-height: 0 !important; max-height: none !important; }
  .home-flow .right-stack .side-fill-ad > :is(a, iframe, img) { height: 100% !important; }
  .home-flow .right-stack .side-fill-ad img { object-fit: cover; }
}

/* Header background: a real dotted world map (assets/world-dots.svg), Tbilisi in the middle band, edges fading out. */
.web-header > .rt-bg::before {
  background-image: url("../assets/world-dots.svg?v=3") !important;
  background-size: max(100%, 1300px) auto !important; background-position: 50% 19% !important; background-repeat: no-repeat !important;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent) !important; mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent) !important;
  opacity: .9; animation: rt-glow 6s ease-in-out infinite !important; }

/* Signal rings behind the header logo (same as on the maintenance page). */
.web-header-inner > a:has(> .web-logo) { position: relative; isolation: isolate; }
.web-header-inner > a:has(> .web-logo)::before, .web-header-inner > a:has(> .web-logo)::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border: 2px solid rgba(255, 130, 130, .85); border-radius: 50%; box-shadow: 0 0 10px rgba(255, 60, 60, .45); pointer-events: none; animation: logo-ring 3s ease-out infinite; }
.web-header-inner > a:has(> .web-logo)::after { animation-delay: 1.5s; }
@keyframes logo-ring { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.75); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .web-header-inner > a:has(> .web-logo)::before, .web-header-inner > a:has(> .web-logo)::after { animation: none; opacity: 0; } }

/* Web header map: Georgia (Tbilisi, pulsing) sits in the free space right of the menu button; the map repeats to the left. */
@media (min-width: 761px) {
  .web-header > .rt-bg::before {
    background-size: 2400px 800px !important; background-repeat: repeat-x !important;
    background-position: right calc(min(56px, 4vw) - 901px) top -147px !important;
    -webkit-mask: linear-gradient(90deg, transparent, #000 14%) !important; mask: linear-gradient(90deg, transparent, #000 14%) !important; }
}

/* v529: the date, likes, dislikes and views under every card. Generic rules (.compact-card span, .hero-copy span) hid them
   or painted them as red category badges; these win on specificity. */
.card-stats > .card-stat { display: inline-flex; align-items: center; gap: 4px; padding: 0; border-radius: 0; background: none; font-size: 12px; font-weight: 700; text-transform: none; white-space: nowrap; }
.card-stats > .card-stat-date { color: #6d7582; }
.card-stats > .card-stat-like { color: #2e9e57; }
.card-stats > .card-stat-dislike { color: #d62828; }
.card-stats > .card-stat-views { color: #3f4753; margin-left: auto; }
.compact-card .card-stats { margin: -4px 12px 12px; }
.compact-card .card-stats > .card-stat-date { flex: 0 0 100%; }
/* Writers' panel: red title bar with white letters; each row shows the writer's name first, the article title under it. */
.authors-panel > h2 { margin: -18px -18px 12px; padding: 12px 18px; border-radius: 8px 8px 0 0; background: var(--red); color: #fff; letter-spacing: .02em; }
.author-item .author-name { overflow: hidden; color: #0b1730; font-size: 15px; font-weight: 900; white-space: nowrap; text-overflow: ellipsis; }
.author-item .author-name + h3 { font-size: 13px; font-weight: 600; color: #4a5361; }

/* v530: the views eye blinks now and then and its pupil looks left and right (owner choice). Cards blink at
   different moments so a page of cards does not blink all at once. */
.card-stat-views svg, [data-article-views] svg { transform-origin: 50% 50%; animation: ip-eye-blink 5s ease-in-out infinite; overflow: visible; }
.card-stat-views svg circle, [data-article-views] svg circle { animation: ip-eye-look 5s ease-in-out infinite; }
:nth-child(3n+1) > .card-stats .card-stat-views svg, :nth-child(3n+1) > .card-stats .card-stat-views svg circle { animation-delay: -1.7s; }
:nth-child(3n+2) > .card-stats .card-stat-views svg, :nth-child(3n+2) > .card-stats .card-stat-views svg circle { animation-delay: -3.4s; }
@keyframes ip-eye-blink { 0%, 88%, 100% { transform: scaleY(1); } 92% { transform: scaleY(.08); } 96% { transform: scaleY(1); } }
@keyframes ip-eye-look { 0%, 30%, 80%, 100% { transform: translateX(0); } 40%, 52% { transform: translateX(2px); } 62%, 72% { transform: translateX(-2px); } }
@media (prefers-reduced-motion: reduce) { .card-stat-views svg, [data-article-views] svg, .card-stat-views svg circle, [data-article-views] svg circle { animation: none; } }

/* v531: line icons on the computer news page (views eye, listen button) were drawn filled black: web.css had no
   .icon rule, unlike the phone stylesheet. Same outline look as on phones. */
svg.icon { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* v531 PageSpeed: readable contrast for the empty video slots and the "more news" link. */
.compact-card.is-placeholder h3 { color: #4f586a; }
.more-news-link { color: #b0000e; }

/* v533: "more news" link under a category's first four rows. */
.category-more { display: flex; width: max-content; margin: 18px auto 0; }
.category-more[hidden] { display: none; }

/* ---- İdarə Paneli (v537): the statistics page's live parts above the newsroom lists ---- */
.admin-body .dash-live-part { display: grid; gap: 18px; min-width: 0; }
.admin-body .dash-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.admin-body .dash-actions button { height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; font-weight: 600; font-size: 13.5px; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.admin-body .dash-actions button:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }
.admin-body .dash-actions button.primary { border-color: #fff; background: #fff; color: #312e81; }
.admin-body .dash-live { display: inline-flex; align-items: center; gap: 8px; color: #c7d2fe; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.admin-body .dash-live i, .admin-body .dash-on i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.55); animation: dash-pulse 1.8s infinite; }
@keyframes dash-pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.admin-body .dash-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 18px; align-items: start; }
.admin-body .dash-side { display: grid; gap: 18px; min-width: 0; }
.admin-body .dash-more { padding: 8px 12px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 10px; background: transparent; color: #4f46e5; font-weight: 600; cursor: pointer; }
.admin-body .dash-more:hover { background: #eef2ff; }
.admin-body .dash-health { display: grid; gap: 8px; }
.admin-body .dash-health p { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 11px 14px; border-radius: 12px; background: var(--s-soft, #f6f7fa); }
.admin-body .dash-health span { color: var(--s-mute, #6b7280); font-size: 14px; }
.admin-body .dash-health b { font-size: 16px; font-variant-numeric: tabular-nums; }
.admin-body .dash-on { display: inline-flex; align-items: center; gap: 8px; color: #16a34a; }
.admin-body .dash-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.admin-body .dash-quick button { padding: 12px; border: 1px solid var(--s-line, #e6e8ee); border-radius: 12px; background: var(--s-bg, #fff); color: var(--s-ink, #12151c); font-weight: 600; font-size: 13.5px; text-align: left; cursor: pointer; transition: border-color .2s, color .2s, transform .2s; }
.admin-body .dash-quick button:hover { border-color: #4f46e5; color: #4f46e5; transform: translateY(-1px); }
.admin-body.admin-dark .dash-more:hover { background: rgba(99,102,241,.16); }
@media (max-width: 1000px) { .admin-body .dash-row { grid-template-columns: 1fr; } }
.admin-body .dash-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.admin-body .dash-recent li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; transition: background .15s; }
.admin-body .dash-recent li:hover { background: var(--st-soft, rgba(99, 102, 241, .06)); }
.admin-body .dash-recent img, .admin-body .dash-recent-ph { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; background: rgba(148, 163, 184, .18); display: block; }
.admin-body .dash-recent b { display: block; font-size: 14px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.admin-body .dash-recent small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; opacity: .7; }
.admin-body .dash-recent small .news-status-badge { font-size: 11px; padding: 1px 8px; }
.admin-body .dash-recent-views { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-body .dash-recent-views small { display: block; margin: 0; font-weight: 500; }
.admin-body .dash-recent .row-tools { opacity: .55; transition: opacity .15s; }
.admin-body .dash-recent li:hover .row-tools { opacity: 1; }
@media (max-width: 640px) { .admin-body .dash-recent li { grid-template-columns: 56px minmax(0, 1fr); } .admin-body .dash-recent-views, .admin-body .dash-recent .row-tools { display: none; } }

/* ---- Statistika üslubu bütün səhifələrdə (v537), TV xaric: admin.js shell() puts .st-skin on the page ---- */
.admin-body .portal-content.st-skin { --st-ink: #0f172a; --st-muted: #64748b; --st-line: #e2e8f0; --st-soft: #f8fafc; --st-card: #fff; --st-accent: #4f46e5; color: var(--st-ink); }
.admin-body.admin-dark .portal-content.st-skin, .admin-dark .portal-content.st-skin { --st-ink: #e2e8f0; --st-muted: #94a3b8; --st-line: #23314a; --st-soft: #131d31; --st-card: #182235; }
.admin-body .st-skin .st-pagehead { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin: 0 0 18px; padding: 22px 26px; border-radius: 20px; color: #fff; overflow: hidden; background: radial-gradient(120% 140% at 100% 0%, #6366f1 0%, #312e81 45%, #0b1024 100%); box-shadow: 0 24px 50px -24px rgba(49, 46, 129, .65); }
.admin-body .st-skin .st-pagehead::after { content: ""; position: absolute; right: -70px; bottom: -130px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); pointer-events: none; }
.admin-body .st-skin .st-pagehead > div { position: relative; z-index: 1; min-width: 0; }
.admin-body .st-skin .st-pagehead h2 { margin: 6px 0 6px; font-size: 24px; font-weight: 750; letter-spacing: -.01em; color: #fff; }
.admin-body .st-skin .st-pagehead p { margin: 0; max-width: 680px; color: #e0e7ff; font-size: 14px; line-height: 1.5; }
.admin-body .st-skin .portal-crumb { color: var(--st-muted); }

/* Cards */
.admin-body .portal-content.st-skin .portal-card, .admin-body .portal-content.st-skin .portal-stats article { border: 1px solid var(--st-line); border-radius: 16px; background: var(--st-card); color: var(--st-ink); box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -22px rgba(15,23,42,.22); }
.admin-body .portal-content.st-skin .portal-card { padding: 20px; }
.admin-body .portal-content.st-skin .portal-card h2 { font-size: 16px; font-weight: 700; color: var(--st-ink); }
.admin-body .portal-content.st-skin .portal-card label { color: var(--st-ink); font-weight: 600; }
.admin-body .portal-content.st-skin .portal-card small, .admin-body .portal-content.st-skin .portal-stats small { color: var(--st-muted); }
.admin-body .portal-content.st-skin .portal-stats article { transition: transform .2s, box-shadow .2s; }
.admin-body .portal-content.st-skin .portal-stats article:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(79,70,229,.45); }

/* Fields */
.admin-body .portal-content.st-skin :is(.portal-card, .filter-row) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]), select, textarea):not(:is(.pro-toolbar, .editor-canvas) *) { min-height: 40px; border: 1px solid var(--st-line); border-radius: 10px; background: var(--st-soft); color: var(--st-ink); font-size: 13px; font-weight: 500; transition: border-color .15s, box-shadow .15s, background .15s; }
.admin-body .portal-content.st-skin :is(.portal-card, .filter-row) :is(input, select, textarea):focus { outline: none; border-color: var(--st-accent); background: var(--st-card); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }

/* Buttons (toolbars of the text editor keep their own look) */
.admin-body .portal-content.st-skin .portal-card button:not(:is(.pro-toolbar, .editor-canvas, .row-tools, .st-seg, .mm-archive, .mm-source, .us-roles, .rl-page, .mu-side, .ed-lang, .ed-device) *):not(.primary):not(.danger) { min-height: 38px; padding: 0 14px; border: 1px solid var(--st-line); border-radius: 10px; background: var(--st-card); color: var(--st-ink); font-size: 13px; font-weight: 600; box-shadow: none; transition: background .15s, transform .15s, border-color .15s; }
.admin-body .portal-content.st-skin .portal-card button:not(:is(.pro-toolbar, .editor-canvas, .row-tools, .st-seg, .mm-archive, .mm-source, .us-roles, .rl-page, .mu-side, .ed-lang, .ed-device) *):not(.primary):not(.danger):hover { background: var(--st-soft); border-color: #c7d2fe; transform: translateY(-1px); }
.admin-body .portal-content.st-skin :is(.portal-card, .filter-row) .primary, .admin-body .portal-content.st-skin .portal-card button.primary { min-height: 38px; padding: 0 16px; border: 0 !important; border-radius: 10px; background: linear-gradient(135deg, #6366f1, #4f46e5) !important; color: #fff !important; font-weight: 700; box-shadow: 0 10px 22px -12px rgba(79,70,229,.85) !important; transition: transform .15s, box-shadow .15s; }
.admin-body .portal-content.st-skin :is(.portal-card, .filter-row) .primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(79,70,229,.95) !important; }
.admin-body .portal-content.st-skin .portal-card .danger { border-radius: 10px; }
.admin-body .portal-content.st-skin .row-tools button { border: 1px solid var(--st-line); border-radius: 9px; background: var(--st-card); color: var(--st-muted); transition: color .15s, border-color .15s, background .15s; }
.admin-body .portal-content.st-skin .row-tools button:hover { color: var(--st-accent); border-color: #c7d2fe; background: rgba(79,70,229,.06); }

/* Tables */
.admin-body .portal-content.st-skin .portal-table th { background: var(--st-soft); color: var(--st-muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid var(--st-line); }
.admin-body .portal-content.st-skin .portal-table th:first-child { border-top-left-radius: 10px; }
.admin-body .portal-content.st-skin .portal-table th:last-child { border-top-right-radius: 10px; }
.admin-body .portal-content.st-skin .portal-table td { border-top: 1px solid var(--st-line); color: var(--st-ink); font-weight: 500; transition: background .15s; }
.admin-body .portal-content.st-skin .portal-table tbody tr:hover td { background: rgba(79,70,229,.04); }
.admin-body .portal-content.st-skin .portal-table .news-cell b { font-weight: 650; }
.admin-body .portal-content.st-skin .portal-table .news-cell img { border-radius: 10px; }
.admin-body .portal-content.st-skin .portal-table mark { border-radius: 999px; background: rgba(79,70,229,.08); color: var(--st-accent); font-weight: 600; }
.admin-body .portal-content.st-skin .portal-table em, .admin-body .portal-content.st-skin .news-status-badge { border-radius: 999px; font-weight: 600; }
.admin-body .portal-content.st-skin .table-headline strong { color: var(--st-ink); font-weight: 700; }
.admin-body .portal-content.st-skin .table-headline b { color: var(--st-accent); }
.admin-body .portal-content.st-skin .portal-pagination button.active, .admin-body .portal-content.st-skin .portal-pagination button[aria-current] { border-color: transparent; background: var(--st-accent); color: #fff; }
.admin-body .portal-content.st-skin .empty-state { border-radius: 14px; border-color: var(--st-line); background: var(--st-soft); color: var(--st-muted); }
.admin-dark .portal-content.st-skin .portal-table mark { background: rgba(129,140,248,.16); color: #c7d2fe; }
.admin-dark .portal-content.st-skin .table-headline b { color: #a5b4fc; }
@media (max-width: 640px) { .admin-body .st-skin .st-pagehead { padding: 18px; border-radius: 16px; } .admin-body .st-skin .st-pagehead h2 { font-size: 20px; } }
.admin-body .portal-content.st-skin .portal-table { background: transparent; }
.admin-body .portal-content.st-skin .admin-table-wrap, .admin-body .portal-content.st-skin .table-wrap { border-radius: 12px; background: transparent; }
.admin-body .portal-content.st-skin .news-cell b { color: var(--st-ink); }
.admin-body .portal-content.st-skin .news-cell small { color: var(--st-muted); }
.admin-body.admin-dark .portal-top:not(.is-tv) { background: rgba(16, 24, 39, .94); border-color: #23314a; color: #e2e8f0; }
.admin-body.admin-dark .portal-top:not(.is-tv) h1 { color: #f1f5f9; }
.admin-body.admin-dark .portal-top:not(.is-tv) .portal-search, .admin-body.admin-dark .portal-top:not(.is-tv) .portal-tools > button { background: #182235; border-color: #23314a; color: #e2e8f0; }
.admin-body.admin-dark .portal-top:not(.is-tv) .menu-toggle { background: #182235; border-color: #23314a; color: #e2e8f0; }

/* ---- Panel seçimi (v537): the first screen after signing in, news panel or TV panel ---- */
body.pc-open { overflow: hidden; }
.pc-choice { position: fixed; inset: 0; z-index: 9990; display: grid; place-items: center; padding: 28px 20px; overflow-y: auto; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; background: radial-gradient(120% 90% at 50% -10%, #1e1b4b 0%, #0b1024 55%, #05070f 100%); opacity: 0; transition: opacity .45s ease; }
.pc-choice.is-in { opacity: 1; }
.pc-choice.is-out { opacity: 0; transition: opacity .45s ease .2s; }
.pc-aurora { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.pc-aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .5; animation: pc-drift 18s ease-in-out infinite alternate; }
.pc-aurora i:nth-child(1) { left: -12vmax; top: -16vmax; background: radial-gradient(circle, #6366f1, transparent 65%); }
.pc-aurora i:nth-child(2) { right: -14vmax; bottom: -18vmax; background: radial-gradient(circle, #e11d48, transparent 65%); animation-duration: 22s; animation-delay: -6s; opacity: .38; }
.pc-aurora i:nth-child(3) { left: 30%; top: 40%; width: 30vmax; height: 30vmax; background: radial-gradient(circle, #0ea5e9, transparent 65%); animation-duration: 26s; animation-delay: -12s; opacity: .22; }
@keyframes pc-drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vmax, 4vmax) scale(1.12); } 100% { transform: translate(-4vmax, 7vmax) scale(.95); } }
.pc-grid { position: fixed; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.pc-inner { position: relative; z-index: 1; width: min(1040px, 100%); display: grid; gap: 34px; }
.pc-head { text-align: center; display: grid; gap: 10px; justify-items: center; }
.pc-head > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.pc-choice.is-in .pc-head > * { opacity: 1; transform: none; }
.pc-choice.is-in .pc-head > :nth-child(2) { transition-delay: .08s; }
.pc-choice.is-in .pc-head > :nth-child(3) { transition-delay: .16s; }
.pc-brand { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.pc-brand .brand-inter { color: #fff; } .pc-brand .brand-press { color: #ef4444; } .pc-brand em { font-style: normal; color: #94a3b8; }
.pc-hello { margin: 4px 0 0; color: #c7d2fe; font-size: 16px; }
.pc-hello b { color: #fff; }
.pc-head h1 { margin: 0; font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; background: linear-gradient(90deg, #fff 0%, #c7d2fe 50%, #fff 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pc-shine 6s linear infinite; }
@keyframes pc-shine { to { background-position: -200% 0; } }
.pc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; perspective: 1200px; }
.pc-card { --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg; --c1: #6366f1; --c2: #4338ca; --glow: rgba(99,102,241,.55); position: relative; display: grid; gap: 18px; align-content: start; min-height: 360px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); color: #fff; text-align: left; font: inherit; cursor: pointer; overflow: hidden; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .35s; outline: none; }
.pc-card.is-tv { --c1: #ef4444; --c2: #be123c; --glow: rgba(239,68,68,.5); }
.pc-choice.is-in .pc-card { opacity: 1; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition-delay: .22s; }
.pc-choice.is-in .pc-card.is-tv { transition-delay: .32s; }
.pc-choice.is-in .pc-card:hover, .pc-choice.is-in .pc-card:focus-visible { transition-delay: 0s; transition-duration: .2s, .2s, .25s, .35s; border-color: color-mix(in srgb, var(--c1) 70%, #fff); box-shadow: 0 40px 80px -30px var(--glow), 0 0 0 1px color-mix(in srgb, var(--c1) 50%, transparent); }
.pc-choice.is-in .pc-card:hover { transform: translateY(-6px) rotateX(var(--rx)) rotateY(var(--ry)); }
.pc-card:focus-visible { box-shadow: 0 0 0 3px #fff, 0 40px 80px -30px var(--glow) !important; }
.pc-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--c1) 38%, transparent), transparent 60%); opacity: .5; transition: opacity .3s; }
.pc-card:hover .pc-glow { opacity: 1; }
.pc-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2), var(--c1)); background-size: 200% 100%; animation: pc-bar 3s linear infinite; }
@keyframes pc-bar { to { background-position: -200% 0; } }
.pc-art { position: relative; display: grid; place-items: center; width: 100%; height: 120px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 40%, transparent), color-mix(in srgb, var(--c2) 20%, transparent)); border: 1px solid rgba(255,255,255,.1); overflow: hidden; }
/* Newspaper: lines being typed */
.pc-paper { position: relative; display: grid; gap: 8px; width: 120px; padding: 14px 14px 14px 46px; border-radius: 10px; background: #fff; box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); animation: pc-float 4s ease-in-out infinite; }
.pc-paper b { position: absolute; left: 12px; top: 14px; width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, #6366f1, #4338ca); }
.pc-paper i { display: block; height: 6px; border-radius: 3px; background: #c7d2fe; transform-origin: left; animation: pc-type 2.8s ease-in-out infinite; }
.pc-paper i:nth-child(1) { width: 100%; background: #312e81; }
.pc-paper i:nth-child(2) { width: 85%; animation-delay: .25s; }
.pc-paper i:nth-child(3) { width: 95%; animation-delay: .5s; }
.pc-paper i:nth-child(4) { width: 60%; animation-delay: .75s; }
@keyframes pc-type { 0% { transform: scaleX(0); } 35%, 80% { transform: scaleX(1); } 100% { transform: scaleX(0); opacity: .3; } }
@keyframes pc-float { 50% { transform: translateY(-5px) rotate(-1.5deg); } }
/* TV: a live screen with an equaliser and a scan line */
.pc-screen { position: relative; display: grid; place-items: center; width: 150px; height: 86px; border: 4px solid #1f2937; border-radius: 12px; background: radial-gradient(circle at 30% 20%, #3b0a16, #0b0b12); overflow: hidden; box-shadow: 0 16px 30px -14px rgba(0,0,0,.7); animation: pc-float 4s ease-in-out infinite; }
.pc-stand { position: absolute; bottom: 10px; width: 46px; height: 6px; border-radius: 3px; background: #1f2937; }
.pc-live { position: absolute; left: 8px; top: 7px; display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 5px; background: #ef4444; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.pc-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pc-blink 1.1s ease-in-out infinite; }
@keyframes pc-blink { 50% { opacity: .2; } }
.pc-eq { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 14px; }
.pc-eq i { width: 7px; height: 100%; border-radius: 3px; background: linear-gradient(#fda4af, #ef4444); transform-origin: bottom; animation: pc-eq 1s ease-in-out infinite alternate; }
.pc-eq i:nth-child(2) { animation-delay: -.3s; } .pc-eq i:nth-child(3) { animation-delay: -.6s; } .pc-eq i:nth-child(4) { animation-delay: -.15s; } .pc-eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes pc-eq { 0% { transform: scaleY(.2); } 100% { transform: scaleY(1); } }
.pc-scan { position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(transparent, rgba(255,255,255,.1), transparent); animation: pc-scan 2.6s linear infinite; }
@keyframes pc-scan { from { top: -30%; } to { top: 100%; } }
.pc-text { position: relative; display: grid; gap: 6px; }
.pc-text small { color: color-mix(in srgb, var(--c1) 55%, #fff); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pc-text strong { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.pc-text > span { color: #cbd5e1; font-size: 15px; line-height: 1.5; }
.pc-tags { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.pc-tags em { padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); color: #e2e8f0; font-size: 12px; font-style: normal; font-weight: 600; }
.pc-go { position: relative; display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 15px; }
.pc-go b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 20px -8px var(--glow); transition: transform .25s; }
.pc-card:hover .pc-go b, .pc-card:focus-visible .pc-go b { transform: translateX(6px); }
.pc-go kbd { margin-left: auto; padding: 3px 9px; border: 1px solid rgba(255,255,255,.2); border-bottom-width: 2px; border-radius: 7px; color: #94a3b8; font: 600 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.pc-card.is-picked { transform: scale(1.04) !important; border-color: #fff; box-shadow: 0 0 0 2px #fff, 0 50px 100px -30px var(--glow); }
.pc-choice.is-out .pc-card:not(.is-picked) { opacity: .25; transform: scale(.96); transition-delay: 0s; }
.pc-foot { margin: 0; text-align: center; color: #64748b; font-size: 13px; opacity: 0; transition: opacity .6s ease .5s; }
.pc-choice.is-in .pc-foot { opacity: 1; }
.pc-foot b { color: #cbd5e1; font-weight: 600; }
@media (max-width: 760px) {
  .pc-choice { place-items: start center; }
  .pc-inner { gap: 22px; }
  .pc-cards { grid-template-columns: 1fr; gap: 14px; }
  .pc-card { min-height: 0; padding: 20px; gap: 14px; border-radius: 22px; }
  .pc-art { height: 92px; }
  .pc-text strong { font-size: 23px; }
  .pc-go kbd { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-choice *, .pc-choice *::before { animation: none !important; }
  .pc-card, .pc-head > * { transition-duration: .01s !important; }
}

/* ---- Giriş ekranı (v538): live showcase on the left, the form on the right ---- */
body.lgn-open { overflow: hidden; }
.lgn-screen { --px: 50%; --py: 50%; position: fixed; inset: 0; z-index: 9999; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); color: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; background: radial-gradient(110% 90% at 0% 0%, #1e1b4b 0%, #0b1024 50%, #05070f 100%); overflow: hidden auto; }
.lgn-screen::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--px) var(--py), rgba(99,102,241,.16), transparent 60%); transition: background .1s; }
.lgn-net { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease .2s; }
.lgn-screen.is-in .lgn-net { opacity: 1; }
.lgn-aurora { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.lgn-aurora i { position: absolute; border-radius: 50%; filter: blur(80px); animation: pc-drift 20s ease-in-out infinite alternate; }
.lgn-aurora i:nth-child(1) { left: -10vmax; top: -12vmax; width: 44vmax; height: 44vmax; background: radial-gradient(circle, rgba(99,102,241,.55), transparent 65%); }
.lgn-aurora i:nth-child(2) { right: -12vmax; bottom: -16vmax; width: 46vmax; height: 46vmax; background: radial-gradient(circle, rgba(225,29,72,.38), transparent 65%); animation-duration: 24s; animation-delay: -8s; }
.lgn-aurora i:nth-child(3) { left: 35%; top: 45%; width: 26vmax; height: 26vmax; background: radial-gradient(circle, rgba(14,165,233,.22), transparent 65%); animation-duration: 28s; animation-delay: -14s; }

/* Showcase */
.lgn-show { position: relative; z-index: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 34px; padding: 48px clamp(28px, 5vw, 72px); min-height: 100vh; box-sizing: border-box; }
.lgn-show > *, .lgn-card > * { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.lgn-screen.is-in .lgn-show > *, .lgn-screen.is-in .lgn-card > * { opacity: 1; transform: none; }
.lgn-screen.is-in .lgn-show > :nth-child(2) { transition-delay: .1s; }
.lgn-screen.is-in .lgn-show > :nth-child(3) { transition-delay: .2s; }
.lgn-brand { display: flex; align-items: center; gap: 16px; }
.lgn-brand strong { display: block; font-size: 28px; font-weight: 900; letter-spacing: -.02em; }
.lgn-brand .brand-inter { color: #fff; } .lgn-brand .brand-press { color: #ef4444; } .lgn-brand em { font-style: normal; color: #94a3b8; }
.lgn-brand small { display: block; margin-top: 3px; color: #a5b4fc; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.lgn-mark { position: relative; display: grid; place-items: center; width: 58px; height: 58px; flex: none; }
.lgn-mark b { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #ef4444, #be123c); font-size: 17px; font-weight: 900; box-shadow: 0 12px 28px -10px rgba(239,68,68,.8); }
.lgn-mark i { position: absolute; inset: 0; border: 2px solid rgba(239,68,68,.55); border-radius: 18px; animation: lgn-ring 2.8s ease-out infinite; }
.lgn-mark i:nth-child(2) { animation-delay: .9s; } .lgn-mark i:nth-child(3) { animation-delay: 1.8s; }
@keyframes lgn-ring { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.lgn-clock { align-self: center; display: grid; gap: 4px; }
.lgn-clock b { font-size: clamp(54px, 7vw, 96px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lgn-clock span { font-size: 18px; color: #e0e7ff; font-weight: 600; }
.lgn-clock small { color: #64748b; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.lgn-wall { display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; max-width: 680px; }
.lgn-tv, .lgn-feed, .lgn-stats { border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.8); }
.lgn-tv { display: grid; gap: 12px; padding: 16px; animation: pc-float 6s ease-in-out infinite; }
.lgn-tv header, .lgn-tv footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lgn-tv header small, .lgn-tv footer span { color: #94a3b8; font-size: 12px; font-weight: 600; }
.lgn-tv footer b { font-size: 18px; }
.lgn-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; background: #ef4444; font-size: 11px; font-weight: 800; letter-spacing: .08em; box-shadow: 0 0 0 0 rgba(239,68,68,.6); animation: lgn-pulse 1.8s ease-out infinite; }
.lgn-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pc-blink 1.1s ease-in-out infinite; }
@keyframes lgn-pulse { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,.55); } 100% { box-shadow: 0 0 0 12px rgba(239,68,68,0); } }
.lgn-tv-screen { position: relative; display: grid; place-items: end center; height: 96px; padding-bottom: 14px; border-radius: 12px; background: radial-gradient(circle at 30% 20%, #3b0a16, #07070c); overflow: hidden; box-sizing: border-box; }
.lgn-eq { display: flex; align-items: flex-end; gap: 5px; height: 52px; }
.lgn-eq i { width: 8px; height: 100%; border-radius: 3px; background: linear-gradient(#fda4af, #ef4444); transform-origin: bottom; animation: pc-eq .9s ease-in-out infinite alternate; }
.lgn-eq i:nth-child(2n) { animation-delay: -.35s; } .lgn-eq i:nth-child(3n) { animation-delay: -.6s; } .lgn-eq i:nth-child(5n) { animation-delay: -.15s; }
.lgn-scan { position: absolute; left: 0; right: 0; height: 35%; background: linear-gradient(transparent, rgba(255,255,255,.1), transparent); animation: pc-scan 2.4s linear infinite; }
.lgn-feed { display: grid; grid-template-rows: auto 1fr; min-width: 0; padding: 16px 0 0; overflow: hidden; }
.lgn-feed header { display: flex; align-items: center; gap: 8px; padding: 0 18px 10px; color: #c7d2fe; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lgn-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: pc-blink 1.6s ease-in-out infinite; }
.lgn-ticker { position: relative; height: 150px; overflow: hidden; mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.lgn-ticker ul { margin: 0; padding: 0 18px; list-style: none; animation: lgn-roll 26s linear infinite; }
.lgn-feed:hover .lgn-ticker ul { animation-play-state: paused; }
.lgn-ticker li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #e2e8f0; font-size: 13.5px; line-height: 1.4; }
.lgn-ticker li i { flex: none; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: #818cf8; }
.lgn-ticker li span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes lgn-roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.lgn-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 6px; }
.lgn-stats p { margin: 0; padding: 0 16px; border-left: 1px solid rgba(255,255,255,.08); }
.lgn-stats p:first-child { border-left: 0; }
.lgn-stats b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lgn-stats span { color: #94a3b8; font-size: 12.5px; font-weight: 600; }

/* Form */
.lgn-side { position: relative; z-index: 1; display: grid; place-items: center; padding: 40px 32px; min-height: 100vh; box-sizing: border-box; background: linear-gradient(90deg, transparent, rgba(5,7,15,.55) 30%); }
.lgn-card { position: relative; display: grid; gap: 14px; width: min(400px, 100%); padding: 34px 30px 26px; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.12); box-sizing: border-box; }
.lgn-card::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--lgn-a, 0deg), transparent 0 70%, rgba(129,140,248,.9), rgba(239,68,68,.9), transparent 95%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: lgn-spin-border 5s linear infinite; }
@property --lgn-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes lgn-spin-border { to { --lgn-a: 360deg; } }
.lgn-screen.is-in .lgn-card > :nth-child(2) { transition-delay: .25s; } .lgn-screen.is-in .lgn-card > :nth-child(3) { transition-delay: .32s; } .lgn-screen.is-in .lgn-card > :nth-child(n+4) { transition-delay: .4s; }
.lgn-card-head { display: grid; justify-items: center; gap: 6px; margin-bottom: 8px; text-align: center; }
.lgn-badge { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 16px; background: linear-gradient(135deg, #6366f1, #4338ca); box-shadow: 0 14px 30px -12px rgba(99,102,241,.9); }
.lgn-badge svg { width: 24px; height: 24px; }
.lgn-card-head h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.lgn-card-head p { margin: 0; color: #a5b4fc; font-size: 14px; font-weight: 600; }
.lgn-field { position: relative; display: block; }
.lgn-field[hidden], .lgn-caps[hidden], .lgn-error[hidden] { display: none !important; }
.lgn-field input { width: 100%; height: 56px; box-sizing: border-box; padding: 20px 46px 6px 46px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(5,7,15,.45); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.lgn-field input:hover { border-color: rgba(255,255,255,.26); }
.lgn-field input:focus { border-color: #818cf8; background: rgba(5,7,15,.65); box-shadow: 0 0 0 4px rgba(129,140,248,.18); }
.lgn-field input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px #12162a inset; caret-color: #fff; }
.lgn-label { position: absolute; left: 46px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 15px; font-weight: 500; pointer-events: none; transition: top .2s, font-size .2s, color .2s, transform .2s; }
.lgn-field input:focus + .lgn-label, .lgn-field input:not(:placeholder-shown) + .lgn-label, .lgn-field input:-webkit-autofill + .lgn-label { top: 15px; transform: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a5b4fc; }
.lgn-ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: #64748b; pointer-events: none; transition: color .2s; }
.lgn-ico svg, .lgn-eye svg { width: 100%; height: 100%; }
.lgn-field:focus-within .lgn-ico { color: #a5b4fc; }
.lgn-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; padding: 9px; border: 0; border-radius: 10px; background: transparent; color: #94a3b8; cursor: pointer; transition: background .2s, color .2s; box-sizing: border-box; }
.lgn-eye:hover { background: rgba(255,255,255,.08); color: #fff; }
.lgn-eye.is-on { color: #a5b4fc; }
.lgn-caps { margin: -4px 0 0; color: #fbbf24; font-size: 12.5px; font-weight: 700; }
.lgn-error { margin: 0; padding: 11px 14px; border: 1px solid rgba(248,113,113,.4); border-radius: 12px; background: rgba(239,68,68,.14); color: #fecaca; font-size: 13.5px; font-weight: 600; }
.lgn-card.is-shake { animation: lgn-shake .45s cubic-bezier(.36,.07,.19,.97); }
@keyframes lgn-shake { 15%, 85% { transform: translateX(-2px); } 30%, 70% { transform: translateX(5px); } 45%, 55% { transform: translateX(-7px); } }
.lgn-submit { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; margin-top: 4px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #ef4444, #e11d48 55%, #be123c); background-size: 160% 100%; color: #fff; font-family: inherit; font-size: 16px; font-weight: 800; line-height: 1; cursor: pointer; overflow: hidden; box-shadow: 0 18px 36px -16px rgba(239,68,68,.9); transition: transform .2s, box-shadow .2s, background-position .4s, background .3s; }
.lgn-submit::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: lgn-sheen 3.2s ease-in-out infinite; }
@keyframes lgn-sheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.lgn-submit:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 24px 44px -16px rgba(239,68,68,1); }
.lgn-submit:active { transform: translateY(0) scale(.98); }
.lgn-submit:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lgn-arrow { transition: transform .25s; } .lgn-submit:hover .lgn-arrow { transform: translateX(5px); }
.lgn-spin, .lgn-check { position: absolute; display: none; }
.lgn-spin { width: 22px; height: 22px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: lgn-rot .7s linear infinite; }
@keyframes lgn-rot { to { transform: rotate(360deg); } }
.lgn-submit.is-busy { cursor: progress; }
.lgn-submit.is-busy .lgn-submit-text, .lgn-submit.is-busy .lgn-arrow, .lgn-submit.is-done .lgn-submit-text, .lgn-submit.is-done .lgn-arrow { visibility: hidden; }
.lgn-submit.is-busy .lgn-spin { display: block; }
.lgn-submit.is-done { background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 18px 36px -16px rgba(34,197,94,.9); }
.lgn-submit.is-done .lgn-check { display: block; font-size: 24px; animation: lgn-pop .4s cubic-bezier(.2,1.6,.4,1); }
@keyframes lgn-pop { from { transform: scale(0); } to { transform: scale(1); } }
.lgn-link { justify-self: center; border: 0; background: none; color: #a5b4fc; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.lgn-link:hover { color: #fff; text-decoration: underline; }
.lgn-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 0; color: #64748b; font-size: 12px; font-weight: 600; }
.lgn-secure i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.lgn-screen.is-success .lgn-card { border-color: rgba(34,197,94,.55); }
.lgn-screen.is-out { opacity: 0; transform: scale(1.03); transition: opacity .5s ease, transform .5s ease; }
@media (max-width: 980px) {
  .lgn-screen { grid-template-columns: 1fr; align-content: start; }
  .lgn-show { min-height: 0; padding: 26px 20px 0; gap: 18px; grid-template-rows: auto; }
  .lgn-clock, .lgn-tv, .lgn-stats { display: none; }
  .lgn-wall { grid-template-columns: 1fr; max-width: none; }
  .lgn-ticker { height: 76px; }
  .lgn-side { min-height: 0; padding: 22px 16px 40px; background: none; }
  .lgn-card { padding: 28px 20px 22px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .lgn-screen *, .lgn-screen *::before, .lgn-screen *::after { animation: none !important; }
  .lgn-show > *, .lgn-card > * { transition-duration: .01s !important; }
}

/* ---- Yeni xəbər yaz (v538): live readiness bar and livelier cards ---- */
.admin-body .ed-pulse { position: sticky; top: 74px; z-index: 6; display: grid; grid-template-columns: auto minmax(160px, 1fr) auto auto; align-items: center; gap: 18px; margin: 0 0 16px; padding: 12px 18px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 18px; background: color-mix(in srgb, var(--st-card, #fff) 88%, transparent); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 18px 40px -26px rgba(15,23,42,.35); transition: border-color .3s, box-shadow .3s; }
.admin-body .ed-pulse.is-ready { border-color: rgba(34,197,94,.55); box-shadow: 0 18px 40px -24px rgba(34,197,94,.55); }
.admin-body .ed-ring { position: relative; display: grid; place-items: center; width: 52px; height: 52px; }
.admin-body .ed-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.admin-body .ed-ring circle { fill: none; stroke: var(--st-line, #e2e8f0); stroke-width: 4; }
.admin-body .ed-ring .ed-ring-bar { stroke: url(#none); stroke: #6366f1; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: calc(119.4 - 119.4 * var(--p) / 100); transition: stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1), stroke .3s; }
.admin-body .ed-pulse.is-ready .ed-ring-bar { stroke: #22c55e; }
.admin-body .ed-ring b { font-size: 12.5px; font-weight: 800; color: var(--st-ink, #0f172a); font-variant-numeric: tabular-nums; }
.admin-body .ed-pulse-text { display: grid; gap: 2px; min-width: 0; }
.admin-body .ed-pulse-text strong { font-size: 15px; font-weight: 750; color: var(--st-ink, #0f172a); }
.admin-body .ed-pulse-text small { color: var(--st-muted, #64748b); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .ed-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-body .portal-content .ed-step { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 8px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 999px; background: var(--st-soft, #f8fafc); color: var(--st-muted, #64748b); font-size: 12.5px; font-weight: 650; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.admin-body .portal-content .ed-step:hover { transform: translateY(-1px); border-color: #c7d2fe; color: var(--st-ink, #0f172a); }
.admin-body .ed-step i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--st-card, #fff); color: #6366f1; transition: background .25s, color .25s, transform .3s; }
.admin-body .ed-step i svg { width: 13px; height: 13px; }
.admin-body .ed-step em { position: absolute; right: -4px; top: -5px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 10px; font-style: normal; font-weight: 900; transform: scale(0); transition: transform .35s cubic-bezier(.2,1.6,.4,1); box-shadow: 0 0 0 2px var(--st-card, #fff); }
.admin-body .portal-content .ed-step.is-done { border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.08); color: #15803d; }
.admin-body .ed-step.is-done i { background: #22c55e; color: #fff; transform: rotate(360deg); }
.admin-body .ed-step.is-done em { transform: scale(1); }
.admin-body .ed-meter { display: flex; gap: 2px; }
.admin-body .ed-meter p { display: grid; justify-items: center; min-width: 64px; margin: 0; padding: 0 10px; border-left: 1px solid var(--st-line, #e2e8f0); }
.admin-body .ed-meter p:first-child { border-left: 0; }
.admin-body .ed-meter b { font-size: 18px; font-weight: 800; color: var(--st-ink, #0f172a); font-variant-numeric: tabular-nums; }
.admin-body .ed-meter span { color: var(--st-muted, #64748b); font-size: 11px; font-weight: 600; white-space: nowrap; }
.admin-body .ed-meter p.is-warn b { color: #d97706; }
/* Cards light up while you work in them */
.admin-body .st-skin .editor-pro-layout .portal-card { transition: border-color .25s, box-shadow .25s, transform .25s; }
.admin-body .st-skin .editor-pro-layout .portal-card:focus-within { border-color: #a5b4fc; box-shadow: 0 0 0 4px rgba(99,102,241,.1), 0 22px 44px -28px rgba(79,70,229,.55); }
.admin-body .st-skin .editor-pro-layout .portal-card > h2 { display: flex; align-items: center; gap: 10px; }
.admin-body .st-skin .editor-pro-layout .portal-card > h2::before { content: ""; width: 8px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, #818cf8, #4f46e5); flex: none; }
.admin-body .st-skin .editor-pro-layout .publish-card > h2::before { background: linear-gradient(180deg, #f87171, #e11d48); }
.admin-body .st-skin .editor-pro-layout .portal-card.ed-flash { animation: ed-flash 1.2s ease; }
@keyframes ed-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); } 25% { box-shadow: 0 0 0 6px rgba(99,102,241,.35); } }
.admin-body .st-skin .editor-pro-layout input[name="title"] { font-size: 18px !important; font-weight: 700 !important; min-height: 52px !important; }
.admin-body .st-skin .article-format-switch button.active { background: linear-gradient(135deg, #6366f1, #4f46e5) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 10px 20px -12px rgba(79,70,229,.9) !important; }
.admin-body .st-skin .main-image-preview, .admin-body .st-skin [data-main-image-preview] { border-radius: 14px; transition: transform .3s, box-shadow .3s; }
.admin-body .st-skin [data-main-image-preview]:hover { transform: scale(1.01); box-shadow: 0 18px 36px -22px rgba(15,23,42,.5); }
@media (max-width: 1280px) { .admin-body .ed-pulse { grid-template-columns: auto minmax(0, 1fr) auto; } .admin-body .ed-meter { display: none; } }
@media (max-width: 860px) { .admin-body .ed-pulse { grid-template-columns: auto minmax(0, 1fr); top: 64px; } .admin-body .ed-steps { grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
.admin-dark .ed-step.is-done { color: #86efac; }

/* ---- İdarə Paneli as the newsroom centre (v538) ---- */
.admin-body .dc-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 30px; border-radius: 22px; color: #fff; overflow: hidden; background: radial-gradient(90% 140% at 100% 0%, #be123c 0%, #4c1d95 38%, #1e1b4b 70%, #0b1024 100%); box-shadow: 0 24px 50px -24px rgba(76,29,149,.7); }
.admin-body .dc-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.admin-body .dc-hero > * { position: relative; }
.admin-body .dc-hero h2 { margin: 8px 0 8px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.admin-body .dc-hero p { margin: 0 0 18px; max-width: 620px; color: #e9d5ff; font-size: 15px; line-height: 1.55; }
.admin-body .dc-hero p b { color: #fff; }
.admin-body .dc-hero-side { display: grid; gap: 14px; justify-items: end; }
.admin-body .dc-clock { text-align: right; }
.admin-body .dc-clock b { display: block; font-size: 58px; line-height: 1; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.admin-body .dc-clock small { color: #c4b5fd; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.admin-body .dc-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.admin-body .dc-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.admin-body .dc-pill i { width: 8px; height: 8px; border-radius: 50%; background: #a5b4fc; }
.admin-body .dc-pill.is-tv { cursor: pointer; transition: background .2s, transform .2s; }
.admin-body .dc-pill.is-tv:hover { background: rgba(239,68,68,.3); transform: translateY(-1px); }
.admin-body .dc-pill.is-tv i { background: #ef4444; animation: lgn-pulse 1.8s ease-out infinite; }
.admin-body .dc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.admin-body .dc-tile { --tone: #6366f1; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--st-line); border-radius: 18px; background: var(--st-card); color: var(--st-ink); text-align: left; font: inherit; cursor: pointer; overflow: hidden; transition: transform .2s, box-shadow .25s, border-color .2s; }
.admin-body .dc-tile::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tone) 22%, transparent), transparent 70%); transition: transform .4s; }
.admin-body .dc-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 45%, transparent); box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--tone) 70%, transparent); }
.admin-body .dc-tile:hover::after { transform: scale(1.5); }
.admin-body .dc-tile.is-amber { --tone: #f59e0b; } .admin-body .dc-tile.is-sky { --tone: #0ea5e9; } .admin-body .dc-tile.is-rose { --tone: #e11d48; } .admin-body .dc-tile.is-emerald { --tone: #10b981; }
.admin-body .dc-tile-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--tone) 14%, transparent); color: var(--tone); }
.admin-body .dc-tile-ico svg { width: 22px; height: 22px; }
.admin-body .dc-tile-text { display: grid; gap: 2px; min-width: 0; }
.admin-body .dc-tile-text small { color: var(--st-muted); font-size: 12.5px; font-weight: 600; }
.admin-body .dc-tile-text b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.admin-body .dc-tile-text em { color: var(--st-muted); font-size: 12px; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .dc-tile-go { color: var(--st-muted); transition: transform .2s, color .2s; }
.admin-body .dc-tile:hover .dc-tile-go { transform: translateX(4px); color: var(--tone); }
.admin-body .dc-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.admin-body .dc-row.is-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, .9fr); }
.admin-body .dc-flow, .admin-body .dc-queue, .admin-body .dc-team, .admin-body .dc-reading, .admin-body .dc-health { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.admin-body .dc-flow li { position: relative; display: grid; grid-template-columns: 48px 14px 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 6px; border-radius: 12px; transition: background .15s; }
.admin-body .dc-flow li:hover, .admin-body .dc-queue li:hover { background: rgba(99,102,241,.06); }
.admin-body .dc-flow time { font-size: 13px; font-weight: 800; color: var(--st-accent); font-variant-numeric: tabular-nums; }
.admin-body .dc-flow-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--st-accent); box-shadow: 0 0 0 4px rgba(99,102,241,.15); }
.admin-body .dc-flow li:not(:last-child) .dc-flow-dot::after { content: ""; position: absolute; left: 4px; top: 14px; width: 2px; height: 46px; background: var(--st-line); }
.admin-body .dc-flow img, .admin-body .dc-ph { width: 56px; height: 40px; border-radius: 8px; object-fit: cover; background: rgba(148,163,184,.2); display: block; }
.admin-body :is(.dc-flow, .dc-queue, .dc-team, .dc-reading) b { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.35; color: var(--st-ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.admin-body :is(.dc-flow, .dc-queue) small { display: block; margin-top: 3px; color: var(--st-muted); font-size: 12px; }
.admin-body :is(.dc-flow, .dc-queue) .row-tools { opacity: 0; transition: opacity .15s; }
.admin-body :is(.dc-flow, .dc-queue) li:hover .row-tools { opacity: 1; }
.admin-body .dc-queue li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 6px; border-radius: 12px; }
.admin-body .dc-tag { padding: 4px 9px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
.admin-body .dc-tag.is-amber { background: rgba(245,158,11,.14); color: #b45309; } .admin-body .dc-tag.is-sky { background: rgba(14,165,233,.14); color: #0369a1; }
.admin-dark .dc-tag.is-amber { color: #fcd34d; } .admin-dark .dc-tag.is-sky { color: #7dd3fc; }
.admin-body .dc-clear { display: grid; justify-items: center; gap: 4px; padding: 26px 10px; text-align: center; }
.admin-body .dc-clear span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(34,197,94,.14); color: #16a34a; font-size: 22px; font-weight: 900; animation: lgn-pop .5s cubic-bezier(.2,1.6,.4,1); }
.admin-body .dc-clear small { color: var(--st-muted); }
.admin-body .dc-team li, .admin-body .dc-reading li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 4px; }
.admin-body .dc-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, hsl(var(--h) 80% 60%), hsl(calc(var(--h) + 40) 70% 45%)); color: #fff; font-weight: 800; }
.admin-body .dc-bar { display: block; height: 6px; margin-top: 6px; border-radius: 3px; background: var(--st-soft); overflow: hidden; }
.admin-body .dc-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #818cf8, #4f46e5); animation: dc-grow .9s cubic-bezier(.2,.8,.2,1) both; transform-origin: left; }
@keyframes dc-grow { from { transform: scaleX(0); } }
.admin-body :is(.dc-team, .dc-reading) p { margin: 0; text-align: right; }
.admin-body :is(.dc-team, .dc-reading) p b { -webkit-line-clamp: 1; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.admin-body :is(.dc-team, .dc-reading) p small { color: var(--st-muted); font-size: 11px; }
.admin-body .dc-rank { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--st-soft); color: var(--st-muted); font-size: 12px; font-style: normal; font-weight: 800; }
.admin-body .dc-reading li:first-child .dc-rank { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; }
.admin-body .dc-reading .dc-bar i { background: linear-gradient(90deg, #fb7185, #e11d48); }
.admin-body .dc-health li { display: grid; grid-template-columns: 10px auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--st-soft); }
.admin-body .dc-health li + li { margin-top: 6px; }
.admin-body .dc-health i { width: 9px; height: 9px; border-radius: 50%; }
.admin-body .dc-health i.is-ok { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.admin-body .dc-health i.is-warn { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.admin-body .dc-health i.is-live { background: #ef4444; animation: lgn-pulse 1.8s ease-out infinite; }
.admin-body .dc-health span { color: var(--st-muted); font-size: 13px; }
.admin-body .dc-health b { justify-self: end; font-size: 13px; font-weight: 700; color: var(--st-ink); text-align: right; }
@media (max-width: 1280px) { .admin-body .dc-row.is-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .admin-body .dc-row.is-3 > aside { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
@media (max-width: 1100px) { .admin-body .dc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-body .dc-row, .admin-body .dc-row.is-3 { grid-template-columns: 1fr; } .admin-body .dc-row.is-3 > aside { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .admin-body .dc-hero { grid-template-columns: 1fr; padding: 22px 18px; } .admin-body .dc-hero-side { justify-items: start; } .admin-body .dc-clock { text-align: left; } .admin-body .dc-clock b { font-size: 42px; } .admin-body .dc-tiles { grid-template-columns: 1fr; } .admin-body .dc-flow li { grid-template-columns: 44px 12px minmax(0, 1fr); } .admin-body .dc-flow li img, .admin-body .dc-flow li .dc-ph, .admin-body .dc-flow .row-tools { display: none; } }

/* ---- Multimedia (v538): header, panel / old-news source switch, archive gallery and viewer ---- */
.admin-body .mm-hero { position: relative; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 26px; margin: 0 0 18px; padding: 26px 30px; border-radius: 22px; color: #fff; overflow: hidden; background: radial-gradient(120% 160% at 0% 100%, #0ea5e9 0%, transparent 55%), radial-gradient(120% 140% at 100% 0%, #8b5cf6 0%, #312e81 50%, #0b1024 100%); box-shadow: 0 26px 54px -26px rgba(49,46,129,.7); }
.admin-body .mm-hero.is-audio { background: radial-gradient(120% 160% at 0% 100%, #f43f5e 0%, transparent 55%), radial-gradient(120% 140% at 100% 0%, #f59e0b 0%, #7c2d12 52%, #1c0a05 100%); }
.admin-body .mm-hero.is-videos { background: radial-gradient(120% 160% at 0% 100%, #10b981 0%, transparent 55%), radial-gradient(120% 140% at 100% 0%, #06b6d4 0%, #134e4a 52%, #021412 100%); }
.admin-body .mm-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.admin-body .mm-hero > * { position: relative; z-index: 1; }
.admin-body .mm-hero .st-eyebrow { color: rgba(255,255,255,.75); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-body .mm-hero h2 { margin: 6px 0 6px; color: #fff; font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.admin-body .mm-hero p { margin: 0; max-width: 620px; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.5; }
.admin-body .mm-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.admin-body .mm-hero-stats div { min-width: 96px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.admin-body .mm-hero-stats div.is-archive { border-color: rgba(253,224,71,.5); background: rgba(253,224,71,.12); }
.admin-body .mm-hero-stats b { display: block; color: #fff; font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }
.admin-body .mm-hero-stats small { color: rgba(255,255,255,.7); font-size: 11.5px; font-weight: 700; }
.admin-body .mm-stack { position: relative; height: 150px; }
.admin-body .mm-stack span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 130px; height: 92px; border: 3px solid rgba(255,255,255,.9); border-radius: 14px; background: rgba(255,255,255,.14) center / cover no-repeat; box-shadow: 0 18px 30px -12px rgba(0,0,0,.55); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.admin-body .mm-stack span b { color: rgba(255,255,255,.85); font-size: 32px; }
.admin-body .mm-stack span:nth-child(1) { transform: translate(-50%, -50%) translate(-34px, 10px) rotate(-12deg); }
.admin-body .mm-stack span:nth-child(2) { transform: translate(-50%, -50%) translate(30px, 14px) rotate(9deg); }
.admin-body .mm-stack span:nth-child(3) { transform: translate(-50%, -50%) translateY(-14px) rotate(-1deg); }
.admin-body .mm-hero:hover .mm-stack span:nth-child(1) { transform: translate(-50%, -50%) translate(-62px, 16px) rotate(-18deg); }
.admin-body .mm-hero:hover .mm-stack span:nth-child(2) { transform: translate(-50%, -50%) translate(58px, 18px) rotate(15deg); }
.admin-body .mm-hero:hover .mm-stack span:nth-child(3) { transform: translate(-50%, -50%) translateY(-22px) scale(1.06); }
.admin-body .mm-wave { display: flex; align-items: center; gap: 3px; height: 34px; }
.admin-body .mm-wave i { flex: 1; min-width: 2px; height: 30%; border-radius: 3px; background: currentColor; opacity: .85; animation: mm-eq 1.2s ease-in-out infinite; }
.admin-body .mm-wave i:nth-child(3n) { animation-delay: -.3s; } .admin-body .mm-wave i:nth-child(3n+1) { animation-delay: -.7s; } .admin-body .mm-wave i:nth-child(4n) { animation-duration: .9s; } .admin-body .mm-wave i:nth-child(5n) { animation-duration: 1.5s; }
.admin-body .mm-wave.is-hero { height: 110px; color: #fff; }
.admin-body .mm-wave.is-big { height: 90px; color: #f97316; }
@keyframes mm-eq { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.admin-body .mm-upload { display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 14px; border: 0; border-radius: 16px; color: #1e1b4b; background: #fff; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); transition: transform .2s, box-shadow .2s; text-align: left; }
.admin-body .mm-upload:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(0,0,0,.6); }
.admin-body .mm-upload i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #6366f1, #a855f7); font-style: normal; font-size: 22px; font-weight: 900; }
.admin-body .mm-upload b { display: block; font-size: 15px; font-weight: 900; }
.admin-body .mm-upload small { color: #64748b; font-size: 11.5px; font-weight: 700; }

.admin-body .mm-source { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 16px; padding: 5px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 18px; background: var(--st-card, #fff); box-shadow: 0 10px 26px -20px rgba(15,23,42,.5); }
.admin-body .mm-source button { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; min-width: 230px; padding: 10px 18px 10px 12px; border: 0; border-radius: 14px; color: var(--st-ink, #0f172a); background: transparent; cursor: pointer; text-align: left; transition: color .25s; }
.admin-body .mm-source button i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--st-soft, #f1f5f9); font-style: normal; font-size: 16px; transition: background .25s; }
.admin-body .mm-source button b { display: block; font-size: 14px; font-weight: 900; }
.admin-body .mm-source button small { color: var(--st-muted, #64748b); font-size: 11.5px; font-weight: 700; }
.admin-body .mm-source button.active { color: #fff; }
.admin-body .mm-source button.active small { color: rgba(255,255,255,.75); }
.admin-body .mm-source button.active i { background: rgba(255,255,255,.18); }
.admin-body .mm-source-glider { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 7px); border-radius: 14px; background: linear-gradient(135deg, #4f46e5, #7c3aed); box-shadow: 0 10px 22px -10px rgba(79,70,229,.8); transition: transform .35s cubic-bezier(.3,1.3,.5,1); }
.admin-body .mm-source:has(button:nth-of-type(2).active) .mm-source-glider { transform: translateX(calc(100% + 4px)); }

.admin-body .mm-archive { padding: 22px; }
.admin-body .mm-archive-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.admin-body .mm-archive-head h2 { margin: 0; font-size: 19px; font-weight: 900; }
.admin-body .mm-archive-head p { margin: 4px 0 0; color: var(--st-muted, #64748b); font-size: 13px; font-weight: 600; }
.admin-body .mm-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-body .mm-search { display: flex; align-items: center; gap: 8px; min-width: 260px; height: 40px; padding: 0 12px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 12px; background: var(--st-soft, #f8fafc); color: var(--st-muted, #64748b); transition: border-color .2s, box-shadow .2s; }
.admin-body .mm-search:focus-within { border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,.15); }
.admin-body .mm-search svg { width: 16px; height: 16px; flex: none; }
.admin-body .mm-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; color: var(--st-ink, #0f172a); background: transparent; font: inherit; font-size: 13.5px; }
.admin-body .mm-seg { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--st-soft, #f1f5f9); border: 1px solid var(--st-line, #e2e8f0); }
.admin-body .mm-seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 8px; color: var(--st-muted, #64748b); background: transparent; font-weight: 900; font-size: 12.5px; cursor: pointer; }
.admin-body .mm-seg button.active { color: #fff; background: #4f46e5; box-shadow: 0 6px 14px -6px rgba(79,70,229,.8); }
.admin-body .mm-tools select { height: 40px; padding: 0 12px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 12px; color: var(--st-ink, #0f172a); background: var(--st-soft, #f8fafc); font-weight: 700; }

.admin-body .mm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.admin-body .mm-card { position: relative; display: flex; flex-direction: column; gap: 9px; padding: 0 0 12px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 16px; background: var(--st-card, #fff); cursor: pointer; overflow: hidden; outline: 0; animation: mm-in .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); transition: transform .25s, box-shadow .25s, border-color .25s; }
.admin-body .mm-card:hover, .admin-body .mm-card:focus-visible { transform: translateY(-4px); border-color: #a5b4fc; box-shadow: 0 22px 38px -22px rgba(49,46,129,.55); }
.admin-body .mm-card figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #e0e7ff, #f1f5f9); }
.admin-body .mm-card figure img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.admin-body .mm-card:hover figure img { transform: scale(1.08); }
.admin-body .mm-card figure.is-broken img { visibility: hidden; }
.admin-body .mm-card figure.is-broken::before { content: "Şəkil tapılmadı"; position: absolute; inset: 0; display: grid; place-items: center; color: #94a3b8; font-size: 12px; font-weight: 800; }
.admin-body .mm-card figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 26px 10px 8px; color: #fff; background: linear-gradient(transparent, rgba(2,6,23,.78)); font-size: 11px; font-weight: 700; opacity: .0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.admin-body .mm-card:hover figcaption, .admin-body .mm-card:focus-visible figcaption { opacity: 1; transform: none; }
.admin-body .mm-card figcaption em { padding: 3px 8px; border-radius: 99px; background: rgba(99,102,241,.9); font-style: normal; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.admin-body .mm-card > b { display: -webkit-box; padding: 0 12px; color: var(--st-ink, #0f172a); font-size: 13.5px; font-weight: 800; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.admin-body .mm-card > small { padding: 0 12px; color: var(--st-muted, #64748b); font-size: 11.5px; font-weight: 700; }
.admin-body .mm-grid.is-audio { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.admin-body .mm-card.is-audio { padding: 16px 16px 14px 72px; min-height: 120px; color: #f97316; }
.admin-body .mm-card.is-audio .mm-wave { height: 26px; margin-bottom: 4px; }
.admin-body .mm-card.is-audio .mm-wave i { animation-play-state: paused; }
.admin-body .mm-card.is-audio:hover .mm-wave i { animation-play-state: running; }
.admin-body .mm-card.is-audio > b, .admin-body .mm-card.is-audio > small { padding: 0; }
.admin-body .mm-card .mm-play { position: absolute; top: 16px; left: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #f97316, #e11d48); font-size: 15px; cursor: pointer; box-shadow: 0 10px 20px -8px rgba(225,29,72,.7); transition: transform .2s; }
.admin-body .mm-card:hover .mm-play { transform: scale(1.1); }
.admin-body .mm-skel { aspect-ratio: 16 / 13; border-radius: 16px; background: linear-gradient(100deg, var(--st-soft, #f1f5f9) 30%, var(--st-line, #e2e8f0) 50%, var(--st-soft, #f1f5f9) 70%) 0 0 / 300% 100%; animation: mm-shimmer 1.3s linear infinite; }
.admin-body .mm-more { display: flex; justify-content: center; margin-top: 20px; }
.admin-body .mm-more button { height: 44px; padding: 0 26px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 99px; color: var(--st-ink, #0f172a); background: var(--st-card, #fff); font-weight: 900; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.admin-body .mm-more button:hover { color: #fff; background: #4f46e5; border-color: #4f46e5; }
@keyframes mm-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes mm-shimmer { to { background-position: -300% 0; } }

.mm-viewer { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; background: rgba(2,6,23,.8); backdrop-filter: blur(8px); opacity: 0; transition: opacity .22s; }
.mm-viewer.is-in { opacity: 1; }
.mm-viewer-box { display: grid; grid-template-columns: minmax(0, 1fr) 340px; width: min(1180px, 100%); max-height: calc(100vh - 48px); border-radius: 22px; overflow: hidden; background: #0b1120; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); transform: translateY(16px) scale(.97); transition: transform .3s cubic-bezier(.2,1.2,.4,1); }
.mm-viewer.is-in .mm-viewer-box { transform: none; }
.mm-viewer-stage { position: relative; display: grid; place-items: center; min-height: 420px; background: #020617; }
.mm-viewer-stage img { display: block; max-width: 100%; max-height: calc(100vh - 48px); object-fit: contain; }
.mm-viewer-audio { display: grid; gap: 22px; width: min(520px, 90%); }
.mm-viewer-audio audio { width: 100%; }
.mm-viewer .mm-wave { display: flex; align-items: center; gap: 3px; }
.mm-viewer .mm-wave i { flex: 1; height: 30%; border-radius: 3px; background: #f97316; animation: mm-eq 1.2s ease-in-out infinite; }
.mm-viewer .mm-wave i:nth-child(3n) { animation-delay: -.3s; } .mm-viewer .mm-wave i:nth-child(3n+1) { animation-delay: -.7s; } .mm-viewer .mm-wave i:nth-child(4n) { animation-duration: .9s; }
.mm-viewer .mm-wave.is-big { height: 90px; }
.mm-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); font-size: 28px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.mm-nav:hover:not(:disabled) { background: rgba(255,255,255,.24); transform: scale(1.08); }
.mm-nav:disabled { opacity: .25; cursor: default; }
.mm-nav.is-prev { left: 14px; } .mm-nav.is-next { right: 14px; }
.mm-viewer-info { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 22px; color: #e2e8f0; overflow-y: auto; }
.mm-viewer-info .st-eyebrow { color: #a5b4fc; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mm-viewer-info h3 { margin: 0; padding-right: 30px; color: #fff; font-size: 19px; font-weight: 900; line-height: 1.35; }
.mm-viewer-info dl { display: grid; gap: 8px; margin: 0; }
.mm-viewer-info dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.05); }
.mm-viewer-info dt { color: #94a3b8; font-size: 12px; font-weight: 700; }
.mm-viewer-info dd { margin: 0; color: #f1f5f9; font-size: 12.5px; font-weight: 800; text-align: right; }
.mm-viewer-info dd.mm-file { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-actions { display: grid; gap: 8px; margin-top: auto; }
.mm-btn { display: flex; justify-content: center; align-items: center; height: 42px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #e2e8f0; background: rgba(255,255,255,.05); font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.mm-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.mm-btn.is-primary { border-color: transparent; color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.mm-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #e2e8f0; background: rgba(255,255,255,.08); cursor: pointer; }
.mm-close:hover { background: rgba(255,255,255,.18); }
.mm-hint { color: #64748b; font-size: 11px; font-weight: 700; text-align: center; }

.admin-dark .mm-card figure { background: linear-gradient(135deg, #1e293b, #0f172a); }
.admin-dark .mm-upload { color: #1e1b4b; }
@media (max-width: 980px) {
  .admin-body .mm-hero { grid-template-columns: 1fr; padding: 22px; }
  .admin-body .mm-hero-art { display: none; }
  .admin-body .mm-hero-cta .mm-upload { width: 100%; }
  .mm-viewer-box { grid-template-columns: 1fr; overflow-y: auto; }
  .mm-viewer-stage { min-height: 260px; }
  .mm-viewer-stage img { max-height: 55vh; }
}
@media (max-width: 640px) {
  .admin-body .mm-source { display: grid; width: 100%; }
  .admin-body .mm-source button { min-width: 0; padding: 8px 10px; }
  .admin-body .mm-source button i { display: none; }
  .admin-body .mm-search { min-width: 0; flex: 1 1 100%; }
  .admin-body .mm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .admin-body .mm-grid.is-audio { grid-template-columns: 1fr; }
  .admin-body .mm-hero h2 { font-size: 24px; }
  .mm-viewer { padding: 0; }
  .mm-viewer-box { max-height: 100vh; height: 100vh; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .admin-body .mm-card, .admin-body .mm-wave i, .mm-viewer .mm-wave i { animation: none; } }
.admin-body .media-premium-page { container-type: inline-size; container-name: mm; }
@container mm (max-width: 1080px) {
  .admin-body .mm-hero { grid-template-columns: 170px minmax(0, 1fr); }
  .admin-body .mm-hero-cta { grid-column: 2; }
  .admin-body .mm-stack span { width: 110px; height: 78px; }
}
@container mm (max-width: 720px) {
  .admin-body .mm-hero { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .admin-body .mm-hero-art { display: none; }
  .admin-body .mm-hero-cta { grid-column: auto; }
  .admin-body .mm-hero-cta .mm-upload { width: 100%; }
  .admin-body .mm-source { display: grid; width: 100%; box-sizing: border-box; }
  .admin-body .mm-source button { min-width: 0; }
  .admin-body .mm-search { min-width: 0; flex: 1 1 100%; }
}
/* The skin's form-field rule is very specific; the search field sits inside its own framed box. */
.admin-body .mm-search input, .admin-body .mm-search input:focus { min-height: 0 !important; height: 100% !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }

/* ---- İstifadəçilər (v538): team header, role bar, cards with two weeks of work, edit panel that follows ---- */
.admin-body .us-hero { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin: 0 0 16px; padding: 26px 30px; border-radius: 22px; color: #fff; overflow: hidden; background: radial-gradient(110% 160% at 0% 100%, #14b8a6 0%, transparent 50%), radial-gradient(120% 140% at 100% 0%, #6366f1 0%, #1e1b4b 52%, #0b1024 100%); box-shadow: 0 26px 54px -26px rgba(30,27,75,.7); }
.admin-body .us-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(270deg, transparent, #000 70%); pointer-events: none; }
.admin-body .us-hero > * { position: relative; z-index: 1; }
.admin-body .us-hero .st-eyebrow { color: rgba(255,255,255,.75); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-body .us-hero h2 { margin: 6px 0; color: #fff; font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.admin-body .us-hero p { margin: 0; max-width: 560px; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.5; }
.admin-body .us-hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.admin-body .us-hero-stats button { min-width: 92px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: #fff; background: rgba(255,255,255,.08); text-align: left; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s, transform .2s; }
.admin-body .us-hero-stats button:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); }
.admin-body .us-hero-stats button.is-on { border-color: #fff; background: rgba(255,255,255,.22); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.admin-body .us-hero-stats b { display: block; font-size: 21px; font-weight: 900; font-variant-numeric: tabular-nums; }
.admin-body .us-hero-stats small { color: rgba(255,255,255,.72); font-size: 11.5px; font-weight: 700; }
.admin-body .us-hero-side { display: grid; justify-items: end; gap: 16px; }
.admin-body .us-stack { display: flex; padding-left: 14px; }
.admin-body .us-stack span { display: grid; place-items: center; width: 48px; height: 48px; margin-left: -14px; border: 3px solid #1e1b4b; border-radius: 50%; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 75% 60%), hsl(calc(var(--h) + 40) 70% 45%)); font-size: 15px; font-weight: 900; transition: margin .35s cubic-bezier(.3,1.4,.5,1), transform .35s; }
.admin-body .us-stack span.is-more { background: rgba(255,255,255,.18); }
.admin-body .us-hero:hover .us-stack span { margin-left: -4px; }
.admin-body .us-stack span:hover { transform: translateY(-6px) scale(1.08); }
.admin-body .us-new { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 8px; border: 0; border-radius: 14px; color: #1e1b4b; background: #fff; font-size: 14.5px; font-weight: 900; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); transition: transform .2s; }
.admin-body .us-new:hover { transform: translateY(-2px); }
.admin-body .us-new i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #6366f1, #14b8a6); font-style: normal; font-size: 19px; }

.admin-body .us-roles { margin: 0 0 16px; padding: 18px 20px; }
.admin-body .us-roles-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.admin-body .us-roles-head h3 { margin: 0; font-size: 15px; font-weight: 900; }
.admin-body .portal-content.st-skin .us-roles .us-link { min-height: 0; padding: 0; border: 0; background: none; color: #4f46e5; font-size: 13px; font-weight: 800; cursor: pointer; transform: none; }
.admin-body .us-rolebar { display: flex; gap: 4px; height: 14px; }
.admin-body .portal-content.st-skin .us-rolebar button { min-width: 18px; min-height: 0; height: 14px; padding: 0; border: 0; border-radius: 99px; background: linear-gradient(90deg, hsl(var(--h) 75% 58%), hsl(calc(var(--h) + 30) 70% 52%)); cursor: pointer; transition: opacity .25s, transform .25s; }
.admin-body .portal-content.st-skin .us-rolebar button:hover { transform: scaleY(1.4); }
.admin-body .us-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.admin-body .portal-content.st-skin .us-legend button { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 99px; color: var(--st-ink); background: var(--st-card); font-size: 12.5px; font-weight: 700; cursor: pointer; transition: opacity .25s, border-color .2s; }
.admin-body .us-legend i { width: 10px; height: 10px; border-radius: 50%; background: hsl(var(--h) 75% 55%); }
.admin-body .us-legend b { color: var(--st-muted); }
.admin-body .portal-content.st-skin :is(.us-rolebar, .us-legend) button.is-dim { opacity: .28; }

.admin-body .us-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.admin-body .us-list { padding: 18px; }
.admin-body .us-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.admin-body .us-search { display: flex; flex: 1 1 240px; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 12px; color: var(--st-muted, #64748b); background: var(--st-soft, #f8fafc); }
.admin-body .us-search:focus-within { border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,.15); }
.admin-body .us-search svg { width: 16px; height: 16px; flex: none; }
.admin-body .us-search input, .admin-body .us-search input:focus { flex: 1; min-width: 0; min-height: 0 !important; height: 100% !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.admin-body .us-filter select { flex: 0 1 180px; }
.admin-body .user-directory-list.us-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.admin-body .user-row-card.us-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 18px; background: var(--st-card, #fff); cursor: pointer; overflow: hidden; outline: 0; animation: mm-in .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); transition: transform .25s, box-shadow .25s, border-color .25s; }
.admin-body .user-row-card.us-card[hidden] { display: none; }
.admin-body .user-row-card.us-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, hsl(var(--h) 75% 58%), hsl(calc(var(--h) + 40) 70% 55%)); opacity: .85; }
.admin-body .user-row-card.us-card:hover, .admin-body .user-row-card.us-card:focus-visible { transform: translateY(-3px); border-color: hsl(var(--h) 70% 75%); box-shadow: 0 20px 36px -22px hsl(var(--h) 60% 35% / .55); }
.admin-body .user-row-card.us-card.is-selected { border-color: hsl(var(--h) 70% 55%); box-shadow: 0 0 0 3px hsl(var(--h) 80% 60% / .25), 0 20px 36px -22px hsl(var(--h) 60% 35% / .55); }
.admin-body .us-card header { display: flex; align-items: center; gap: 12px; min-width: 0; }
.admin-body .us-card header div { min-width: 0; }
.admin-body .us-card header b { display: block; overflow: hidden; color: var(--st-ink, #0f172a); font-size: 15px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .us-card header small { display: block; overflow: hidden; color: var(--st-muted, #64748b); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .user-avatar.us-avatar { position: relative; display: grid; flex: none; place-items: center; width: 50px; height: 50px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 75% 60%), hsl(calc(var(--h) + 40) 70% 45%)); font-size: 16px; font-weight: 900; box-shadow: 0 10px 20px -10px hsl(var(--h) 70% 40% / .7); }
.admin-body .us-dot { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border: 3px solid var(--st-card, #fff); border-radius: 50%; background: #94a3b8; }
.admin-body .us-card.is-ok .us-dot { background: #22c55e; }
.admin-body .us-card.is-wait .us-dot { background: #f59e0b; }
.admin-body .us-card.is-bad .us-dot { background: #ef4444; }
.admin-body .us-card.is-bad { opacity: .78; }
.admin-body .us-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .us-tags mark, .admin-body .us-tags em, .admin-body .us-tags span { padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-style: normal; font-weight: 800; }
.admin-body .us-tags mark { color: hsl(var(--h) 70% 35%); background: hsl(var(--h) 80% 94%); }
.admin-body .us-tags em.ok { color: #15803d; background: #dcfce7; }
.admin-body .us-tags em.bad { color: #b45309; background: #fef3c7; }
.admin-body .us-card.is-bad .us-tags em.bad { color: #b91c1c; background: #fee2e2; }
.admin-body .us-tags span { color: var(--st-muted, #64748b); background: var(--st-soft, #f1f5f9); }
.admin-body .us-work { display: flex; align-items: flex-end; gap: 14px; padding: 10px 12px; border-radius: 12px; background: var(--st-soft, #f8fafc); }
.admin-body .us-work b { display: block; color: var(--st-ink, #0f172a); font-size: 20px; font-weight: 900; line-height: 1; }
.admin-body .us-work small { color: var(--st-muted, #64748b); font-size: 11px; font-weight: 700; }
.admin-body .us-spark { display: flex; flex: 1; align-items: flex-end; gap: 3px; height: 34px; }
.admin-body .us-spark i { flex: 1; border-radius: 3px 3px 1px 1px; background: hsl(var(--h) 75% 55%); transform-origin: bottom; animation: us-grow .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d, 0ms) + 150ms); }
.admin-body .us-spark i.is-zero { background: var(--st-line, #e2e8f0); }
@keyframes us-grow { from { transform: scaleY(0); } }
.admin-body .us-card > p { margin: 0; color: var(--st-muted, #64748b); font-size: 11.5px; font-weight: 600; }
.admin-body .us-card nav { display: flex; gap: 6px; }
.admin-body .portal-content.st-skin .us-card nav button { flex: 1; min-height: 34px; padding: 0 10px; font-size: 12.5px; }
.admin-body .us-none { margin: 20px 0 6px; color: var(--st-muted, #64748b); text-align: center; font-weight: 700; }

.admin-body .user-edit-panel.us-edit { position: sticky; top: 84px; display: grid; gap: 12px; padding: 0 20px 20px; overflow: hidden; }
.admin-body .us-edit-head { display: flex; align-items: center; gap: 14px; margin: 0 -20px 4px; padding: 20px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 70% 50%), hsl(calc(var(--h) + 40) 65% 32%)); transition: background .4s; }
.admin-body .us-edit-head .profile-photo.small { display: grid; flex: none; place-items: center; width: 58px; height: 58px; margin: 0; border: 3px solid rgba(255,255,255,.7); border-radius: 18px; color: #fff; background-color: rgba(255,255,255,.18); font-size: 22px; font-weight: 900; }
.admin-body .us-edit-head .st-eyebrow { color: rgba(255,255,255,.75); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-body .us-edit-head b { display: block; font-size: 17px; font-weight: 900; }
.admin-body .us-edit-head small { color: rgba(255,255,255,.8); font-size: 12px; font-weight: 700; }
.admin-body .us-edit.is-flash .us-edit-head { animation: us-flash .6s ease; }
@keyframes us-flash { 0% { filter: brightness(1.5) saturate(1.2); } 100% { filter: none; } }
.admin-body .us-edit label { display: grid; gap: 6px; color: var(--st-muted, #64748b); font-size: 12px; font-weight: 800; }
.admin-body .us-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-body .us-edit .user-public-email { display: flex; align-items: center; gap: 8px; }
.admin-body .us-edit .user-photo-actions { display: flex; gap: 8px; }
.admin-body .us-edit .user-photo-actions button { flex: 1; }
.admin-body .us-edit .user-edit-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.admin-dark .us-tags mark { color: hsl(var(--h) 80% 78%); background: hsl(var(--h) 50% 22%); }
.admin-dark .us-tags em.ok { color: #86efac; background: rgba(34,197,94,.16); }
.admin-dark .us-tags em.bad { color: #fcd34d; background: rgba(245,158,11,.16); }
.admin-dark .us-card.is-bad .us-tags em.bad { color: #fca5a5; background: rgba(239,68,68,.16); }
.admin-dark .portal-content.st-skin .us-roles .us-link { color: #a5b4fc; }
.admin-body .users-premium-page.us-page { container-type: inline-size; container-name: us; }
@container us (max-width: 980px) {
  .admin-body .us-workspace { grid-template-columns: 1fr; }
  .admin-body .user-edit-panel.us-edit { position: static; }
}
@container us (max-width: 620px) {
  .admin-body .us-hero { padding: 22px; }
  .admin-body .us-hero h2 { font-size: 24px; }
  .admin-body .us-hero-side { justify-items: start; width: 100%; }
  .admin-body .us-new { width: 100%; justify-content: center; }
  .admin-body .us-hero-stats button { flex: 1 1 40%; }
  .admin-body .user-directory-list.us-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .admin-body .us-card, .admin-body .us-spark i { animation: none; } }
@container us (max-width: 900px) {
  .admin-body .us-hero-side { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; width: 100%; }
}
.admin-body .us-roles .us-link { padding: 0; border: 0; background: none; color: #4f46e5; font-size: 13px; font-weight: 800; cursor: pointer; }
.admin-body .us-rolebar button { min-width: 18px; height: 14px; padding: 0; border: 0; border-radius: 99px; background: linear-gradient(90deg, hsl(var(--h) 75% 58%), hsl(calc(var(--h) + 30) 70% 52%)); cursor: pointer; transition: opacity .25s, transform .25s; }
.admin-body .us-rolebar button:hover { transform: scaleY(1.4); }
.admin-body .us-legend button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 99px; color: var(--st-ink, #0f172a); background: var(--st-card, #fff); font-size: 12.5px; font-weight: 700; cursor: pointer; transition: opacity .25s, border-color .2s; }
.admin-body .us-legend button:hover { border-color: hsl(var(--h) 70% 60%); }
.admin-body :is(.us-rolebar, .us-legend) button.is-dim { opacity: .28; }
.admin-dark .us-roles .us-link { color: #a5b4fc; }
.admin-body .user-row-card.us-card { align-items: stretch; }
.admin-body .us-card header { justify-content: flex-start; margin: 0; padding: 0; border: 0; }
.admin-body .us-card nav { grid-column: auto; justify-content: stretch; }
.admin-body .us-card .us-tags mark, .admin-body .us-card .us-tags em { justify-self: auto; }

/* ---- Multimedia side panel (v539): drop zone with upload queue, library health, formats ---- */
.admin-body .mu-side { display: grid; gap: 16px; align-content: start; }
.admin-body .mu-side > .portal-card { padding: 18px; }
.admin-body .mu-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 0; border: 0; }
.admin-body .mu-head h3 { margin: 0; color: var(--st-ink, #0f172a); font-size: 15px; font-weight: 900; }
.admin-body .mu-head p { margin: 3px 0 0; color: var(--st-muted, #64748b); font-size: 12px; font-weight: 600; }
.admin-body .mu-kbd { flex: none; padding: 4px 8px; border: 1px solid var(--st-line, #e2e8f0); border-bottom-width: 3px; border-radius: 8px; color: var(--st-muted, #64748b); background: var(--st-soft, #f8fafc); font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.admin-body .mu-drop-card { position: relative; transition: transform .25s, box-shadow .25s; }
.admin-body .mu-drop-card.is-over { transform: scale(1.02); box-shadow: 0 0 0 4px rgba(99,102,241,.25), 0 26px 50px -24px rgba(79,70,229,.6); }
.admin-body .portal-content.st-skin .portal-card button.mu-drop, .admin-body button.mu-drop { position: relative; display: grid; justify-items: center; gap: 6px; width: 100%; min-height: 0; padding: 26px 16px 20px; border: 0; border-radius: 16px; color: var(--st-ink, #0f172a); background: radial-gradient(120% 90% at 50% 0%, rgba(99,102,241,.12), transparent 70%), var(--st-soft, #f8fafc); cursor: pointer; isolation: isolate; transform: none; }
.admin-body button.mu-drop::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 2px; border-radius: 16px; background: repeating-conic-gradient(from var(--lgn-a, 0deg), #6366f1 0 6deg, transparent 6deg 12deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .45; transition: opacity .25s; }
.admin-body button.mu-drop:hover::before, .admin-body .mu-drop-card.is-over button.mu-drop::before { opacity: 1; animation: lgn-spin-border 6s linear infinite; }
.admin-body .mu-drop-card.is-over button.mu-drop { background: radial-gradient(120% 90% at 50% 0%, rgba(99,102,241,.28), transparent 70%), var(--st-soft, #f8fafc); }
.admin-body .mu-drop-orb { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 4px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #6366f1, #a855f7); box-shadow: 0 16px 30px -12px rgba(99,102,241,.8); transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.admin-body .mu-drop-orb i { position: absolute; top: -8px; right: -10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #6366f1; background: #fff; font-style: normal; font-size: 13px; font-weight: 900; box-shadow: 0 6px 14px -6px rgba(15,23,42,.4); }
.admin-body .mu-drop-orb svg { width: 30px; height: 30px; }
.admin-body button.mu-drop:hover .mu-drop-orb, .admin-body .mu-drop-card.is-over .mu-drop-orb { transform: translateY(-6px) rotate(-6deg); }
.admin-body .mu-drop-card.is-over .mu-drop-orb svg { animation: mu-bob .7s ease-in-out infinite alternate; }
@keyframes mu-bob { to { transform: translateY(-4px); } }
.admin-body button.mu-drop b { font-size: 15px; font-weight: 900; }
.admin-body button.mu-drop small { color: var(--st-muted, #64748b); font-size: 12.5px; font-weight: 600; }
.admin-body button.mu-drop u { color: #4f46e5; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.admin-body .mu-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 8px; }
.admin-body .mu-chips em { padding: 3px 9px; border-radius: 99px; color: var(--st-muted, #64748b); background: var(--st-card, #fff); border: 1px solid var(--st-line, #e2e8f0); font-size: 10.5px; font-style: normal; font-weight: 800; letter-spacing: .04em; }
.admin-body .mu-rule { margin: 12px 0 0; color: var(--st-muted, #64748b); font-size: 11.5px; line-height: 1.45; }
.admin-body .mu-queue { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.admin-body .mu-queue:not(:empty) { margin-top: 12px; }
.admin-body .mu-queue li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 12px; background: var(--st-card, #fff); animation: mm-in .3s ease both; }
.admin-body .mu-q-thumb { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #6366f1; background: var(--st-soft, #eef2ff) center / cover no-repeat; font-weight: 900; }
.admin-body .mu-queue b { display: block; overflow: hidden; color: var(--st-ink, #0f172a); font-size: 12.5px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .mu-queue small { color: var(--st-muted, #64748b); font-size: 11px; font-weight: 600; }
.admin-body .mu-q-bar { display: block; height: 4px; margin-top: 5px; border-radius: 99px; background: var(--st-line, #e2e8f0); overflow: hidden; }
.admin-body .mu-q-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6366f1, #a855f7); transition: width .2s; }
.admin-body .mu-queue em { min-width: 38px; color: #4f46e5; font-size: 12px; font-style: normal; font-weight: 900; text-align: right; }
.admin-body .mu-queue li.is-done em { color: #16a34a; font-size: 16px; }
.admin-body .mu-queue li.is-done .mu-q-bar i { background: #22c55e; }
.admin-body .mu-queue li.is-fail { border-color: #fecaca; }
.admin-body .mu-queue li.is-fail em, .admin-body .mu-queue li.is-fail small { color: #dc2626; }

.admin-body .mu-score { --c: #22c55e; position: relative; display: grid; flex: none; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--st-line, #e2e8f0) 0); }
.admin-body .mu-score::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--st-card, #fff); }
.admin-body .mu-score b, .admin-body .mu-score small { position: relative; line-height: 1; }
.admin-body .mu-score b { color: var(--st-ink, #0f172a); font-size: 17px; font-weight: 900; }
.admin-body .mu-score small { position: absolute; top: 37px; color: var(--st-muted, #64748b); font-size: 9px; font-weight: 800; }
.admin-body .is-mid { --c: #f59e0b; } .admin-body .is-low { --c: #ef4444; } .admin-body .is-good { --c: #22c55e; }
.admin-body .mu-health ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.admin-body .portal-content.st-skin .portal-card .mu-health button, .admin-body .mu-health button { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 0; padding: 8px 10px 8px 8px; border: 1px solid transparent; border-radius: 12px; color: var(--st-ink, #0f172a); background: transparent; text-align: left; cursor: pointer; transform: none; transition: background .2s, border-color .2s; }
.admin-body .mu-health button:hover:not(:disabled) { background: var(--st-soft, #f8fafc); border-color: var(--st-line, #e2e8f0); }
.admin-body .mu-health button.is-active { background: rgba(99,102,241,.08) !important; border-color: #a5b4fc !important; }
.admin-body .mu-health button:disabled { cursor: default; opacity: 1; }
.admin-body .mu-ring { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--st-line, #e2e8f0) 0); }
.admin-body .mu-ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--st-card, #fff); }
.admin-body .mu-ring i { position: relative; font-size: 11px; font-style: normal; font-weight: 900; }
.admin-body .mu-check-text b { display: block; font-size: 13px; font-weight: 800; }
.admin-body .mu-check-text small { color: var(--st-muted, #64748b); font-size: 11px; font-weight: 600; }
.admin-body .mu-health button em { color: #4f46e5; font-size: 11.5px; font-style: normal; font-weight: 900; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.admin-body .mu-health button:hover em, .admin-body .mu-health button.is-active em { opacity: 1; transform: none; }
.admin-body .mu-health button.is-active em { font-size: 0; } .admin-body .mu-health button.is-active em::after { content: "Söndür"; font-size: 11.5px; }
.admin-body .media-grid.mu-focus > article { opacity: .25; filter: grayscale(.8); transition: opacity .3s, filter .3s, box-shadow .3s; }
.admin-body .media-grid.mu-focus > article.mu-lacking { opacity: 1; filter: none; box-shadow: 0 0 0 3px #f59e0b, 0 18px 30px -18px rgba(245,158,11,.7); }

.admin-body .mu-bar { display: flex; gap: 3px; height: 12px; }
.admin-body .mu-bar i { min-width: 10px; border-radius: 99px; background: linear-gradient(90deg, hsl(var(--h) 75% 58%), hsl(calc(var(--h) + 25) 70% 52%)); transform-origin: left; animation: mu-grow .7s cubic-bezier(.2,.8,.2,1) both; }
.admin-body .mu-bar i.is-empty { flex: 1; background: var(--st-line, #e2e8f0); }
@keyframes mu-grow { from { transform: scaleX(0); } }
.admin-body .mu-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; color: var(--st-muted, #64748b); font-size: 12px; font-weight: 700; }
.admin-body .mu-legend span { display: inline-flex; align-items: center; gap: 6px; }
.admin-body .mu-legend i { width: 9px; height: 9px; border-radius: 3px; background: hsl(var(--h) 75% 55%); }
.admin-body .mu-legend b { color: var(--st-ink, #0f172a); }
.admin-body .mu-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.admin-body .mu-facts div { padding: 10px; border-radius: 12px; background: var(--st-soft, #f8fafc); }
.admin-body .mu-facts dt { color: var(--st-muted, #64748b); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.admin-body .mu-facts dd { margin: 4px 0 0; color: var(--st-ink, #0f172a); font-size: 14px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-dark .mu-drop-orb i { background: #1e293b; color: #a5b4fc; }
.admin-dark button.mu-drop u { color: #a5b4fc; }
.admin-dark .mu-queue li.is-fail { border-color: rgba(239,68,68,.4); }
@container mm (max-width: 1080px) and (min-width: 721px) { .admin-body .mu-side { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-body .mu-drop-card { grid-row: span 2; } }
@container mm (max-width: 720px) { .admin-body .mu-side { grid-template-columns: 1fr; } }
@container mm (max-width: 1080px) { .admin-body .media-workspace { grid-template-columns: 1fr; } }
@container mm (min-width: 1081px) { .admin-body .media-workspace { grid-template-columns: minmax(0, 1fr) 340px; } .admin-body .mu-side { grid-template-columns: 1fr; } }

/* ---- Rollar (v539): role cards, three-way permission switches, live summary, comparison matrix ---- */
.admin-body .rl-page { container-type: inline-size; container-name: rl; display: block; }
.admin-body .rl-hero { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0 0 16px; padding: 26px 30px; border-radius: 22px; color: #fff; overflow: hidden; background: radial-gradient(110% 160% at 0% 100%, #f43f5e 0%, transparent 48%), radial-gradient(120% 140% at 100% 0%, #6366f1 0%, #1e1b4b 52%, #0b1024 100%); box-shadow: 0 26px 54px -26px rgba(30,27,75,.7); }
.admin-body .rl-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(270deg, transparent, #000 70%); pointer-events: none; }
.admin-body .rl-hero > * { position: relative; z-index: 1; }
.admin-body .rl-hero .st-eyebrow { color: rgba(255,255,255,.75); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-body .rl-hero h2 { margin: 6px 0; color: #fff; font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.admin-body .rl-hero p { margin: 0; color: rgba(255,255,255,.8); font-size: 14px; }
.admin-body .rl-hero-stats div { min-width: 86px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.08); }
.admin-body .rl-hero-stats b { display: block; font-size: 21px; font-weight: 900; }
.admin-body .rl-hero-stats small { color: rgba(255,255,255,.72); font-size: 11.5px; font-weight: 700; }
.admin-body .rl-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr) 290px; gap: 16px; align-items: start; }
.admin-body .rl-dir { position: sticky; top: 84px; display: grid; gap: 12px; padding: 14px; }
.admin-body .rl-list { display: grid; gap: 6px; }
.admin-body .portal-content.st-skin .portal-card button.rl-role, .admin-body button.rl-role { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 0; padding: 10px; border: 1px solid transparent; border-radius: 14px; color: var(--st-ink, #0f172a); background: transparent; text-align: left; cursor: pointer; transform: none; animation: mm-in .4s ease both; animation-delay: var(--d, 0ms); transition: background .2s, border-color .2s, box-shadow .2s; }
.admin-body button.rl-role[hidden] { display: none; }
.admin-body button.rl-role:hover { background: var(--st-soft, #f8fafc) !important; border-color: var(--st-line, #e2e8f0) !important; }
.admin-body button.rl-role.active { background: hsl(var(--h) 85% 96%) !important; border-color: hsl(var(--h) 70% 70%) !important; box-shadow: 0 10px 24px -16px hsl(var(--h) 60% 40% / .6); }
.admin-body button.rl-role.active::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: hsl(var(--h) 70% 52%); }
.admin-body .rl-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 75% 60%), hsl(calc(var(--h) + 40) 70% 45%)); font-style: normal; font-weight: 900; }
.admin-body .rl-role-text { display: grid; gap: 2px; min-width: 0; }
.admin-body .rl-role-text b { overflow: hidden; font-size: 13.5px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .rl-role-text small { color: var(--st-muted, #64748b); font-size: 11px; font-weight: 700; }
.admin-body .rl-mix, .admin-body .rl-stack { display: flex; gap: 2px; height: 5px; margin-top: 4px; border-radius: 99px; overflow: hidden; }
.admin-body .rl-mix i, .admin-body .rl-stack i { transition: flex .4s cubic-bezier(.2,.8,.2,1); }
.admin-body :is(.rl-mix, .rl-stack, .rl-key, .rl-summary) .is-full { background: #22c55e; }
.admin-body :is(.rl-mix, .rl-stack, .rl-key, .rl-summary) .is-read { background: #3b82f6; }
.admin-body :is(.rl-mix, .rl-stack, .rl-key, .rl-summary) .is-none { background: var(--st-line, #e2e8f0); }
.admin-body button.rl-role em { padding: 3px 8px; border-radius: 99px; font-size: 10.5px; font-style: normal; font-weight: 800; }
.admin-body button.rl-role em.ok { color: #15803d; background: #dcfce7; }
.admin-body button.rl-role em.bad { color: #b91c1c; background: #fee2e2; }

.admin-body .rl-main { padding: 0; overflow: hidden; }
.admin-body .rl-main-head { display: flex; align-items: center; gap: 14px; margin: 0; padding: 20px 22px; border: 0; background: linear-gradient(135deg, hsl(var(--h) 85% 96%), transparent 70%); }
.admin-body .rl-big-icon { display: grid; flex: none; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 75% 58%), hsl(calc(var(--h) + 40) 70% 42%)); font-size: 22px; font-weight: 900; box-shadow: 0 14px 28px -14px hsl(var(--h) 70% 40% / .8); }
.admin-body .rl-main-head > div { flex: 1; min-width: 0; }
.admin-body .rl-main-head h2 { margin: 0; font-size: 21px; font-weight: 900; }
.admin-body .rl-main-head p { margin: 3px 0 0; color: var(--st-muted, #64748b); font-size: 13px; }
.admin-body .rl-power { width: 64px; height: 64px; }
.admin-body .rl-power small { top: 40px; }
.admin-body .rl-summary { padding: 0 22px; }
.admin-body .rl-stack { height: 10px; margin: 0; }
.admin-body .rl-summary p { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0 0; font-size: 12.5px; font-weight: 700; color: var(--st-muted, #64748b); }
.admin-body .rl-summary p span { display: inline-flex; align-items: center; gap: 6px; background: none !important; }
.admin-body .rl-summary p span::before { content: ""; width: 9px; height: 9px; border-radius: 3px; }
.admin-body .rl-summary p span.is-full::before { background: #22c55e; } .admin-body .rl-summary p span.is-read::before { background: #3b82f6; } .admin-body .rl-summary p span.is-none::before { background: #cbd5e1; }
.admin-body .rl-summary b { color: var(--st-ink, #0f172a); }
.admin-body .rl-note { margin: 14px 22px 0 !important; }
.admin-body .rl-table { display: grid; gap: 14px; padding: 16px 22px 18px; }
.admin-body .rl-group { padding: 0; border: 1px solid var(--st-line, #e2e8f0); border-radius: 16px; overflow: hidden; background: var(--st-card, #fff); }
.admin-body .rl-group > header { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--st-line, #e2e8f0); background: var(--st-soft, #f8fafc); }
.admin-body .rl-group h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; font-weight: 900; }
.admin-body .rl-group h3 i { font-style: normal; }
.admin-body .rl-bulk { display: flex; gap: 4px; }
.admin-body .portal-content.st-skin .portal-card .rl-bulk button, .admin-body .rl-bulk button { min-height: 0; height: 26px; padding: 0 9px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 8px; color: var(--st-muted, #64748b); background: var(--st-card, #fff); font-size: 11px; font-weight: 800; cursor: pointer; transform: none; }
.admin-body .rl-bulk button.is-full:hover { color: #15803d; border-color: #86efac; }
.admin-body .rl-bulk button.is-read:hover { color: #1d4ed8; border-color: #93c5fd; }
.admin-body .rl-bulk button.is-none:hover { color: #b91c1c; border-color: #fca5a5; }
.admin-body .rl-perm { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-top: 1px solid var(--st-line, #e2e8f0); transition: background .25s; }
.admin-body .rl-perm:first-of-type { border-top: 0; }
.admin-body .rl-perm::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: #cbd5e1; transition: background .25s; }
.admin-body .rl-perm.is-full::before { background: #22c55e; } .admin-body .rl-perm.is-read::before { background: #3b82f6; }
.admin-body .rl-perm.is-pulse { animation: rl-pulse .45s ease; }
@keyframes rl-pulse { 0% { background: rgba(99,102,241,.12); } 100% { background: transparent; } }
.admin-body .rl-perm > span:first-child { display: grid; gap: 2px; min-width: 0; }
.admin-body .rl-perm b { font-size: 13.5px; font-weight: 800; }
.admin-body .rl-perm small { color: var(--st-muted, #64748b); font-size: 11.5px; font-weight: 600; }
.admin-body .rl-switch { position: relative; display: grid; grid-template-columns: repeat(3, 62px); padding: 3px; border-radius: 12px; background: var(--st-soft, #f1f5f9); border: 1px solid var(--st-line, #e2e8f0); }
.admin-body .portal-content.st-skin .portal-card .rl-switch button, .admin-body .rl-switch button { position: relative; z-index: 1; min-height: 0; height: 30px; padding: 0; border: 0; border-radius: 9px; color: var(--st-muted, #64748b); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; transform: none; transition: color .25s; }
.admin-body .rl-switch button.on { color: #fff; }
.admin-body .rl-switch button:disabled { cursor: not-allowed; }
.admin-body .rl-knob { position: absolute; top: 3px; left: 3px; width: 62px; height: 30px; border-radius: 9px; background: #94a3b8; box-shadow: 0 6px 14px -6px rgba(15,23,42,.5); transition: transform .3s cubic-bezier(.3,1.3,.5,1), background .3s; }
.admin-body .rl-perm.is-full .rl-knob { background: linear-gradient(135deg, #22c55e, #16a34a); }
.admin-body .rl-perm.is-read .rl-knob { transform: translateX(62px); background: linear-gradient(135deg, #3b82f6, #2563eb); }
.admin-body .rl-perm.is-none .rl-knob { transform: translateX(124px); background: linear-gradient(135deg, #94a3b8, #64748b); }
.admin-body .rl-foot { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--st-line, #e2e8f0); background: color-mix(in srgb, var(--st-card, #fff) 88%, transparent); backdrop-filter: blur(8px); }

.admin-body .rl-side { display: grid; gap: 16px; }
.admin-body .rl-side > .portal-card { display: grid; gap: 10px; padding: 18px; }
.admin-body .rl-side h3 { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: 15px; font-weight: 900; }
.admin-body .rl-side h3 b { padding: 2px 9px; border-radius: 99px; color: #4f46e5; background: #eef2ff; font-size: 12px; }
.admin-body .rl-edit label { display: grid; gap: 6px; color: var(--st-muted, #64748b); font-size: 12px; font-weight: 800; }
.admin-body .rl-people ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; max-height: 260px; overflow: auto; }
.admin-body .rl-people li { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; }
.admin-body .rl-people li:hover { background: var(--st-soft, #f8fafc); }
.admin-body .rl-people li b { display: block; font-size: 13px; font-weight: 800; }
.admin-body .rl-people li small { color: var(--st-muted, #64748b); font-size: 11px; }
.admin-body .us-avatar-sm { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 75% 60%), hsl(calc(var(--h) + 40) 70% 45%)); font-size: 12px; font-weight: 900; }
.admin-body .rl-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.admin-body .rl-compare { margin-top: 16px; padding: 18px; }
.admin-body .rl-key { display: inline-flex; align-items: center; gap: 6px; color: var(--st-muted, #64748b); font-size: 12px; font-weight: 700; }
.admin-body .rl-key i { width: 10px; height: 10px; margin-left: 6px; border-radius: 50%; }
.admin-body .rl-matrix-wrap { overflow-x: auto; }
.admin-body .rl-matrix { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.admin-body .rl-matrix th, .admin-body .rl-matrix td { padding: 7px 8px; border-bottom: 1px solid var(--st-line, #e2e8f0); text-align: center; transition: background .15s; }
.admin-body .rl-matrix tbody th { color: var(--st-ink, #0f172a); font-weight: 700; text-align: left; white-space: nowrap; }
.admin-body .portal-content.st-skin .portal-card .rl-matrix thead button, .admin-body .rl-matrix thead button { display: grid; justify-items: center; gap: 4px; min-height: 0; margin: 0 auto; padding: 4px; border: 0; background: none; color: var(--st-ink, #0f172a); cursor: pointer; transform: none; }
.admin-body .rl-matrix thead i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 75% 60%), hsl(calc(var(--h) + 40) 70% 45%)); font-style: normal; font-weight: 900; transition: transform .2s; }
.admin-body .rl-matrix thead button:hover i { transform: translateY(-3px); }
.admin-body .rl-matrix thead span { max-width: 92px; overflow: hidden; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .rl-matrix td i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; transition: transform .2s; }
.admin-body .rl-matrix td i.is-full { background: #22c55e; }
.admin-body .rl-matrix td i.is-read { background: #3b82f6; }
.admin-body .rl-matrix td i.is-none { background: transparent; box-shadow: inset 0 0 0 2px var(--st-line, #e2e8f0); }
.admin-body .rl-matrix .is-sel { background: rgba(99,102,241,.07); }
.admin-body .rl-matrix tr.is-hover > *, .admin-body .rl-matrix .is-hover { background: rgba(99,102,241,.1); }
.admin-body .rl-matrix tr.is-hover td.is-hover i { transform: scale(1.35); }

.admin-dark .rl-main-head { background: linear-gradient(135deg, hsl(var(--h) 40% 20%), transparent 70%); }
.admin-dark button.rl-role.active { background: hsl(var(--h) 40% 18%) !important; border-color: hsl(var(--h) 50% 40%) !important; }
.admin-dark button.rl-role em.ok { color: #86efac; background: rgba(34,197,94,.16); }
.admin-dark button.rl-role em.bad { color: #fca5a5; background: rgba(239,68,68,.16); }
.admin-dark .rl-side h3 b { color: #c7d2fe; background: rgba(99,102,241,.2); }
@container rl (max-width: 1180px) { .admin-body .rl-layout { grid-template-columns: 250px minmax(0, 1fr); } .admin-body .rl-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
@container rl (max-width: 760px) {
  .admin-body .rl-layout { grid-template-columns: 1fr; }
  .admin-body .rl-dir { position: static; }
  .admin-body .rl-list { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .admin-body button.rl-role { min-width: 210px; }
  .admin-body .rl-side { grid-template-columns: 1fr; }
  .admin-body .rl-perm { grid-template-columns: 1fr; }
  .admin-body .rl-hero { padding: 22px; } .admin-body .rl-hero h2 { font-size: 24px; }
}
.admin-body .rl-switch { justify-self: end; }
@container rl (max-width: 760px) { .admin-body .rl-switch { justify-self: start; } }
.admin-body .rl-switch button:focus-visible { outline: 2px solid #6366f1; outline-offset: 1px; }
/* Drop zone frame: marching dashes (replaces the conic frame above). */
.admin-body button.mu-drop::before { padding: 0; -webkit-mask: none; mask: none; opacity: .5; background:
  linear-gradient(90deg, #6366f1 55%, transparent 0) repeat-x 0 0 / 16px 2px,
  linear-gradient(90deg, #6366f1 55%, transparent 0) repeat-x 0 100% / 16px 2px,
  linear-gradient(0deg, #6366f1 55%, transparent 0) repeat-y 0 0 / 2px 16px,
  linear-gradient(0deg, #6366f1 55%, transparent 0) repeat-y 100% 0 / 2px 16px; }
.admin-body button.mu-drop:hover::before, .admin-body .mu-drop-card.is-over button.mu-drop::before { opacity: 1; animation: mu-march .8s linear infinite; }
@keyframes mu-march { to { background-position: 16px 0, -16px 100%, 0 -16px, 100% 16px; } }

/* ---- Yeni xəbər yaz (v539): sticky dock with actions, writing surface, focus mode, preview sizes ---- */
.admin-body .ed-sentinel { display: block; height: 1px; margin-top: -1px; }
.admin-body .ed-pulse.ed-dock { display: block; top: 70px; padding: 0; overflow: hidden; border-radius: 20px; }
.admin-body .ed-dock-main { display: grid; grid-template-columns: auto minmax(150px, 1fr) auto auto; align-items: center; gap: 16px; padding: 12px 14px 12px 16px; }
.admin-body .ed-acts { display: flex; align-items: center; gap: 6px; }
.admin-body .portal-content .ed-act { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 12px; color: var(--st-ink, #0f172a); background: var(--st-card, #fff); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, opacity .2s; }
.admin-body .portal-content .ed-act:hover:not(:disabled) { transform: translateY(-1px); border-color: #c7d2fe; box-shadow: 0 10px 20px -14px rgba(79,70,229,.6); }
.admin-body .ed-act svg { width: 16px; height: 16px; flex: none; }
.admin-body .portal-content .ed-act.is-ghost { border-color: transparent; background: transparent; color: var(--st-muted, #64748b); }
.admin-body .portal-content .ed-act.is-ghost:hover { color: var(--st-ink, #0f172a); background: var(--st-soft, #f1f5f9); }
.admin-body .portal-content .ed-act[aria-pressed="true"] { color: #4f46e5; background: rgba(99,102,241,.1); }
.admin-body .ed-act kbd { padding: 2px 5px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 5px; color: var(--st-muted, #64748b); background: var(--st-soft, #f8fafc); font: 700 10px/1 ui-monospace, Menlo, monospace; }
.admin-body .portal-content .ed-act.is-primary { padding: 0 18px; border: 0; color: #fff; background: linear-gradient(135deg, #e11d48, #be123c); box-shadow: 0 12px 24px -12px rgba(225,29,72,.8); }
.admin-body .ed-pulse.is-ready .ed-act.is-primary { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 12px 24px -10px rgba(22,163,74,.8); animation: ed-ready 2.2s ease-in-out infinite; }
@keyframes ed-ready { 0%, 100% { box-shadow: 0 12px 24px -10px rgba(22,163,74,.8); } 50% { box-shadow: 0 0 0 5px rgba(34,197,94,.2), 0 12px 24px -10px rgba(22,163,74,.8); } }
.admin-body .portal-content .ed-act.is-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.admin-body .ed-dock .ed-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 0; border-top: 1px solid var(--st-line, #e2e8f0); flex-wrap: nowrap; }
.admin-body .portal-content .ed-dock .ed-step { justify-content: center; height: 40px; padding: 0 8px; border: 0; border-left: 1px solid var(--st-line, #e2e8f0); border-radius: 0; background: transparent; font-size: 12.5px; font-weight: 700; }
.admin-body .portal-content .ed-dock .ed-step:first-child { border-left: 0; }
.admin-body .portal-content .ed-dock .ed-step:hover { transform: none; background: var(--st-soft, #f8fafc); }
.admin-body .portal-content .ed-dock .ed-step.is-done { background: rgba(34,197,94,.06); }
.admin-body .ed-dock .ed-step span small { margin-right: 5px; color: var(--st-muted, #94a3b8); font-size: 10.5px; font-weight: 800; }
.admin-body .ed-dock .ed-step em { top: 6px; right: 8px; }
.admin-body .ed-steps-fill { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 1%); background: linear-gradient(90deg, #6366f1, #22c55e); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.admin-body .ed-pulse.is-stuck { box-shadow: 0 22px 40px -22px rgba(15,23,42,.45); }
.admin-body .ed-pulse.is-stuck .ed-steps { display: none; }
.admin-body .ed-pulse.is-stuck .ed-dock-main { padding-top: 8px; padding-bottom: 8px; }
.admin-body .ed-pulse.is-stuck .ed-ring { width: 42px; height: 42px; }

/* Writing surface */
.admin-body .st-skin .editor-form-pro { padding: 22px 26px; }
.admin-body .editor-title-field { position: relative; }
.admin-body .st-skin .editor-pro-layout .editor-title-field input[name="title"] { min-height: 64px !important; padding: 12px 4px !important; border: 0 !important; border-bottom: 2px solid var(--st-line, #e2e8f0) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-family: Georgia, "Times New Roman", serif; font-size: 27px !important; font-weight: 700 !important; letter-spacing: -.01em; line-height: 1.25; transition: border-color .3s; }
.admin-body .st-skin .editor-pro-layout .editor-title-field input[name="title"]:focus { border-bottom-color: #6366f1 !important; }
.admin-body .editor-title-field.is-good input[name="title"] { border-bottom-color: #22c55e !important; }
.admin-body .editor-title-field.is-warn input[name="title"] { border-bottom-color: #f59e0b !important; }
.admin-body .editor-title-field [data-title-count] { padding: 3px 9px; border-radius: 99px; color: var(--st-muted, #64748b); background: var(--st-soft, #f1f5f9); font-size: 11px; font-weight: 800; transition: color .3s, background .3s; }
.admin-body .editor-title-field.is-good [data-title-count] { color: #15803d; background: #dcfce7; }
.admin-body .editor-title-field.is-warn [data-title-count] { color: #b45309; background: #fef3c7; }
.admin-body .editor-title-field::after { content: "İdeal başlıq: 30–110 simvol"; display: block; margin-top: 6px; color: var(--st-muted, #94a3b8); font-size: 11px; font-weight: 600; }
.admin-body .st-skin .editor-pro-layout .pro-toolbar { position: sticky; top: 132px; z-index: 4; border-radius: 14px 14px 0 0; background: color-mix(in srgb, var(--st-card, #fff) 92%, transparent); backdrop-filter: blur(10px); }
.admin-body .st-skin .editor-pro-layout .editor-canvas { border-radius: 0 0 16px 16px; }
.admin-body .st-skin .editor-pro-layout .rich-editor.news-editor { min-height: 380px; padding: 26px 30px; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.75; }
.admin-body .st-skin .editor-pro-layout .rich-editor.news-editor:empty::before { color: var(--st-muted, #94a3b8); font-style: italic; }
.admin-body .st-skin .editor-pro-layout .word-count { display: none; }
.admin-body .st-skin .editor-pro-layout textarea[name="lead"] { font-size: 15px; line-height: 1.6; }

/* Side cards: numbered, coloured headings */
.admin-body .editor-control-column { counter-reset: edcard; }
.admin-body .st-skin .editor-control-column > .portal-card > h2 { counter-increment: edcard; }
.admin-body .st-skin .editor-control-column > .portal-card > h2::before { content: counter(edcard); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 900; background: linear-gradient(135deg, #818cf8, #4f46e5); }
.admin-body .st-skin .editor-control-column > .main-image-card > h2::before { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.admin-body .st-skin .editor-control-column > .audio-upload-card > h2::before { background: linear-gradient(135deg, #fb923c, #ea580c); }
.admin-body .st-skin .editor-control-column > .sponsored-news-card > h2::before { background: linear-gradient(135deg, #facc15, #ca8a04); }
.admin-body .st-skin .editor-control-column > .editor-preview-card > h2::before { background: linear-gradient(135deg, #34d399, #059669); }
.admin-body .st-skin .editor-control-column > .publish-card > h2::before { background: linear-gradient(135deg, #f87171, #e11d48); }

/* Live preview: phone / desktop */
.admin-body .editor-preview-card > h2 { flex-wrap: wrap; }
.admin-body .ed-device { display: inline-flex; margin-left: auto; padding: 3px; border-radius: 10px; background: var(--st-soft, #f1f5f9); border: 1px solid var(--st-line, #e2e8f0); }
.admin-body .portal-content .ed-device button { min-height: 0; height: 28px; width: 34px; padding: 0; border: 0; border-radius: 7px; background: transparent; font-size: 14px; cursor: pointer; transform: none; opacity: .55; }
.admin-body .portal-content .ed-device button.on { opacity: 1; background: var(--st-card, #fff); box-shadow: 0 4px 10px -6px rgba(15,23,42,.4); }
.admin-body .editor-preview-card article { margin: 0 auto; transition: max-width .45s cubic-bezier(.2,.8,.2,1), border-radius .45s, padding .45s; }
.admin-body .editor-preview-card.is-mobile article { max-width: 340px; padding: 12px; border: 8px solid #0f172a; border-radius: 30px; box-shadow: 0 24px 40px -24px rgba(15,23,42,.6); }
.admin-body .editor-preview-card:not(.is-mobile) article { max-width: 100%; }

/* Focus mode: only the text */
body.ed-focus .admin-sidebar, body.ed-focus .editor-control-column, body.ed-focus .portal-crumb, body.ed-focus .admin-sidebar-backdrop { display: none !important; }
body.ed-focus .portal-app { grid-template-columns: 1fr !important; }
body.ed-focus .portal-main { margin-left: 0 !important; width: 100% !important; }
body.ed-focus .admin-body .editor-pro-layout, body.ed-focus .editor-pro-layout { display: block !important; max-width: 900px; margin: 0 auto; }
body.ed-focus .ed-pulse.ed-dock { max-width: 900px; margin-left: auto; margin-right: auto; }
body.ed-focus .editor-form-pro { animation: mm-in .4s ease both; }

.admin-dark .editor-title-field.is-good [data-title-count] { color: #86efac; background: rgba(34,197,94,.16); }
.admin-dark .editor-title-field.is-warn [data-title-count] { color: #fcd34d; background: rgba(245,158,11,.16); }
.admin-dark .editor-preview-card.is-mobile article { border-color: #020617; }
@media (max-width: 1280px) { .admin-body .ed-dock-main { grid-template-columns: auto minmax(0, 1fr) auto; } .admin-body .ed-dock .ed-meter { display: none; } }
@media (max-width: 860px) {
  .admin-body .ed-pulse.ed-dock { top: 64px; }
  .admin-body .ed-dock-main { grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .admin-body .ed-acts { grid-column: 1 / -1; }
  .admin-body .portal-content .ed-act { flex: 1; justify-content: center; padding: 0 8px; }
  .admin-body .ed-act kbd, .admin-body .ed-act[data-ed-act="focus"] { display: none; }
  .admin-body .ed-dock .ed-steps { overflow-x: auto; grid-template-columns: repeat(5, minmax(92px, 1fr)); }
  .admin-body .st-skin .editor-pro-layout .pro-toolbar { top: 118px; }
  .admin-body .st-skin .editor-form-pro { padding: 16px; }
  .admin-body .st-skin .editor-pro-layout .editor-title-field input[name="title"] { font-size: 22px !important; }
  .admin-body .st-skin .editor-pro-layout .rich-editor.news-editor { padding: 18px; font-size: 17px; }
}
.admin-body .ed-hidden-row { display: none !important; }
.admin-body .article-kind-field { display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.admin-body .ed-lang { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 4px; border: 1px solid var(--st-line, #e2e8f0); border-radius: 14px; background: var(--st-card, #fff); }
.admin-body .ed-lang span { padding: 0 8px 0 6px; color: var(--st-muted, #64748b); font-size: 12px; font-weight: 800; }
.admin-body .portal-content .ed-lang button { min-height: 0; height: 34px; padding: 0 14px; border: 0; border-radius: 10px; color: var(--st-muted, #64748b); background: transparent; font-size: 13px; font-weight: 800; cursor: pointer; transform: none; transition: background .2s, color .2s; }
.admin-body .portal-content .ed-lang button.active { color: #fff; background: linear-gradient(135deg, #0ea5e9, #0369a1); box-shadow: 0 8px 16px -10px rgba(3,105,161,.9); }
.admin-body .portal-content .editor-title-field.is-good [data-title-count] { color: #15803d !important; background: #dcfce7 !important; }
.admin-body .portal-content .editor-title-field.is-warn [data-title-count] { color: #b45309 !important; background: #fef3c7 !important; }
.admin-dark .portal-content .editor-title-field.is-good [data-title-count] { color: #86efac !important; background: rgba(34,197,94,.16) !important; }
.admin-dark .portal-content .editor-title-field.is-warn [data-title-count] { color: #fcd34d !important; background: rgba(245,158,11,.16) !important; }
.admin-body .portal-content .rl-group h3 { padding: 0; border: 0; background: none; color: var(--st-ink, #0f172a); box-shadow: none; }
.admin-body .portal-content .rl-perm b { color: var(--st-ink, #0f172a); }
.admin-body .portal-content .rl-perm small { color: var(--st-muted, #64748b); }
.admin-dark .rl-group > header { background: rgba(255,255,255,.03); }
.admin-body .portal-content.st-skin .portal-card.rl-main { padding: 0; }
.admin-body .portal-content .rl-main-head { border-radius: 0; }

/* ---- Statistika (v540): all-time totals in the header, all-time leaders and reactions ---- */
.admin-body .st-hero-all { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 12px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600; width: fit-content; max-width: 100%; }
.admin-body .st-hero-all b { color: #fff; font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.admin-body .st-hero-all small { color: rgba(255,255,255,.65); font-size: 11.5px; }
.admin-body .st-leaders { margin-bottom: 16px; }
.admin-body .st-all { margin-bottom: 16px; }
.admin-body .st-all-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.admin-body .st-all-foot .st-note { margin: 0; }
.admin-body .st-kpi[data-stat-jump] { cursor: pointer; }
.admin-body .st-all .st-lead-num em { white-space: normal; }
.admin-body .st-lead-tabs { flex-wrap: wrap; }
.admin-body .st-lead-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; align-items: start; }
.admin-body .st-react { display: grid; gap: 14px; padding: 18px; border-radius: 18px; background: var(--st-soft, #f8fafc); border: 1px solid var(--st-line, #e2e8f0); }
.admin-body .st-react-ring { position: relative; display: grid; place-items: center; justify-self: center; width: 132px; height: 132px; border-radius: 50%; background: conic-gradient(#22c55e calc(var(--p) * 1%), #ef4444 0); animation: st-spin-in .9s cubic-bezier(.2,.8,.2,1); }
.admin-body .st-react-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--st-card, #fff); }
.admin-body .st-react-ring b, .admin-body .st-react-ring small { position: relative; }
.admin-body .st-react-ring b { margin-top: 18px; color: var(--st-ink, #0f172a); font-size: 28px; font-weight: 900; line-height: 1; }
.admin-body .st-react-ring small { margin-top: -26px; color: var(--st-muted, #64748b); font-size: 11px; font-weight: 800; }
@keyframes st-spin-in { from { transform: rotate(-90deg) scale(.85); opacity: 0; } }
.admin-body .st-react dl { display: grid; gap: 6px; margin: 0; }
.admin-body .st-react dl div { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--st-card, #fff); }
.admin-body .st-react dt { color: var(--st-muted, #64748b); font-size: 12px; font-weight: 700; }
.admin-body .st-react dd { margin: 0; color: var(--st-ink, #0f172a); font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.admin-body .st-react .is-like dd { color: #16a34a; } .admin-body .st-react .is-dislike dd { color: #dc2626; }
.admin-body .st-react-split { display: flex; gap: 3px; height: 8px; border-radius: 99px; overflow: hidden; background: var(--st-line, #e2e8f0); }
.admin-body .st-react-split i:first-child { background: #22c55e; } .admin-body .st-react-split i:last-child { background: #ef4444; }
.admin-body .st-lead-panel { display: none; }
.admin-body [data-stat-leaders][data-mode="views"] [data-panel="views"], .admin-body [data-stat-leaders][data-mode="likes"] [data-panel="likes"], .admin-body [data-stat-leaders][data-mode="dislikes"] [data-panel="dislikes"] { display: block; }
.admin-body .st-lead-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.admin-body .st-lead-list li { animation: mm-in .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
.admin-body .st-lead-list a { display: grid; grid-template-columns: 34px 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 1px solid transparent; border-radius: 14px; color: inherit; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.admin-body .st-lead-list a:hover { background: var(--st-soft, #f8fafc); border-color: var(--st-line, #e2e8f0); transform: translateX(3px); }
.admin-body .st-lead-rank { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--st-muted, #64748b); background: var(--st-soft, #f1f5f9); font-style: normal; font-size: 13px; font-weight: 900; }
.admin-body .st-lead-rank.is-1, .admin-body .st-lead-rank.is-2, .admin-body .st-lead-rank.is-3 { background: transparent; font-size: 22px; }
.admin-body .st-lead-list img, .admin-body .st-lead-list .st-thumb { display: block; width: 64px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--st-line, #e2e8f0); transition: transform .3s; }
.admin-body .st-lead-list a:hover img { transform: scale(1.06); }
.admin-body .st-lead-text { display: grid; gap: 3px; min-width: 0; }
.admin-body .st-lead-text b { overflow: hidden; color: var(--st-ink, #0f172a); font-size: 13.5px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .st-lead-text small { overflow: hidden; color: var(--st-muted, #64748b); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .st-lead-bar { display: block; height: 5px; margin-top: 3px; border-radius: 99px; background: var(--st-line, #e2e8f0); overflow: hidden; }
.admin-body .st-lead-bar i { display: block; height: 100%; border-radius: inherit; transform-origin: left; animation: mu-grow .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d, 0ms) + 120ms); }
.admin-body .st-lead-num { display: grid; justify-items: end; gap: 1px; min-width: 92px; }
.admin-body .st-lead-num b { color: var(--st-ink, #0f172a); font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.admin-body .st-lead-num small { color: var(--st-muted, #64748b); font-size: 11px; font-weight: 700; }
.admin-body .st-lead-num em { color: var(--st-muted, #94a3b8); font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
.admin-body [data-stat-leaders][data-mode="likes"] .st-lead-tabs .active { background: #16a34a !important; color: #fff !important; }
.admin-body [data-stat-leaders][data-mode="dislikes"] .st-lead-tabs .active { background: #dc2626 !important; color: #fff !important; }
@media (max-width: 1100px) { .admin-body .st-lead-body { grid-template-columns: 1fr; } .admin-body .st-react { grid-template-columns: auto 1fr; align-items: center; } .admin-body .st-react-split { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .admin-body .st-react { grid-template-columns: 1fr; }
  .admin-body .st-lead-list a { grid-template-columns: 28px 52px minmax(0, 1fr); }
  .admin-body .st-lead-num { grid-column: 3; justify-items: start; grid-auto-flow: column; align-items: baseline; gap: 6px; min-width: 0; }
  .admin-body .st-lead-list img, .admin-body .st-lead-list .st-thumb { width: 52px; height: 38px; }
}
.admin-body .st-react-ring.is-empty { background: var(--st-line, #e2e8f0); }
@media (max-width: 640px) { .admin-body .st-lead-text b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; line-height: 1.3; } }
/* Studio › Video ilə kəs › YouTube while the VPS channel has the air: why a link cannot go on air (v541). */
.admin-body .tvx-yt-off { display: grid; gap: 10px; padding: 18px; border: 1px solid rgba(251,191,36,.35); border-radius: 18px; background: rgba(251,191,36,.07); color: var(--x-ink); }
.admin-body .tvx-yt-off b { color: #fcd34d; font-size: 15px; }
.admin-body .tvx-yt-off p { margin: 0; color: var(--x-soft); font-size: 14px; line-height: 1.5; }
.admin-body .tvx-yt-off div { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- Mərkəzi pult (v544): PREVIEW / PROGRAM, sources, transition, composition, graphics, sujets; outputs, mixer, health. */
.admin-body .mp { display: grid; gap: 12px; padding: 12px; border-radius: 18px; background: var(--c-bg); color: var(--c-ink); }
.admin-body .mp h4 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; color: var(--c-soft); font: 800 10.5px/1.2 var(--c-mono); letter-spacing: .14em; text-transform: uppercase; }
.admin-body .mp-dim { margin: 0; color: var(--c-soft); font-size: 12px; } .admin-body .mp-dim.is-bad { color: #ff8a8a; }
.admin-body .mp-bar { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--c-line); background: var(--c-panel); }
.admin-body .mp-bar-info { display: grid; gap: 2px; flex: 1; min-width: 0; }
.admin-body .mp-bar-info b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; }
.admin-body .mp-bar-info small { color: var(--c-soft); font-size: 12px; }
.admin-body .mp-bar-info time { color: var(--c-ink); font: 700 12px var(--c-mono); }
.admin-body .mp-viewers { color: var(--c-soft); font-size: 12px; white-space: nowrap; } .admin-body .mp-viewers b { color: var(--c-ink); font: 800 17px var(--c-mono); }
.admin-body .mp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: start; }
.admin-body .mp-main, .admin-body .mp-side { display: grid; gap: 12px; min-width: 0; }
.admin-body .mp-mons { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.admin-body .mp-mons .ctl2-mon { height: 100%; }
.admin-body .mp .dsk-pgm .ctl2-screen { max-width: none; }
.admin-body .mp .dsk-pgm .dsk-chips { display: none; }
.admin-body .mp-pgm { position: relative; min-width: 0; }
.admin-body .mp-safe { padding: 3px 7px; border-radius: 6px; border: 1px solid var(--c-line2); background: #141922; color: var(--c-soft); font: 800 10px/1 var(--c-mono); letter-spacing: .12em; cursor: pointer; }
.admin-body .mp-safe.is-on { border-color: var(--c-amber); color: var(--c-amber); }
.admin-body .mp-pgm.is-safe .ctl2-screen::after { content: ""; position: absolute; inset: 5%; z-index: 4; border: 1px dashed rgba(255,255,255,.6); pointer-events: none; }
.admin-body .mp-pgm.is-safe .ctl2-screen > .ctl2-comp-box:first-child::after, .admin-body .mp-pgm.is-safe .ctl2-comp::before { content: ""; position: absolute; inset: 10%; z-index: 4; border: 1px dotted rgba(255,176,32,.75); pointer-events: none; }
.admin-body .mp-srcs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.admin-body .mp-src { position: relative; display: grid; align-content: start; padding: 0; border: 2px solid var(--c-line2); border-radius: 10px; overflow: hidden; background: var(--c-panel); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.admin-body .mp-src .ctl2-screen { border-radius: 0; }
.admin-body .mp-src .ctl2-empty { font-size: 9px; letter-spacing: .08em; }
.admin-body .mp-src .ctl2-tile-vu { bottom: 26px; }
.admin-body .mp-src-name { display: flex; align-items: center; gap: 5px; min-width: 0; height: 26px; padding: 0 6px; }
.admin-body .mp-src-name b { display: grid; place-items: center; flex: none; width: 17px; height: 17px; border-radius: 4px; background: #232a38; font: 800 10px var(--c-mono); }
.admin-body .mp-src-name em { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-style: normal; font-size: 11.5px; font-weight: 700; }
.admin-body .mp-src-name small { color: var(--c-soft); font: 700 9px var(--c-mono); }
.admin-body .mp-src:hover { border-color: rgba(255,255,255,.3); }
.admin-body .mp-src.is-pvw { border-color: var(--c-pvw); box-shadow: 0 0 0 1px var(--c-pvw); } .admin-body .mp-src.is-pvw .mp-src-name b { background: var(--c-pvw); color: #04120a; }
.admin-body .mp-src.is-pgm { border-color: var(--c-pgm); box-shadow: 0 0 0 1px var(--c-pgm); } .admin-body .mp-src.is-pgm .mp-src-name b { background: var(--c-pgm); color: #fff; }
.admin-body .mp-src.is-down { opacity: .8; } .admin-body .mp-src.is-down .ctl2-screen { background: repeating-linear-gradient(135deg, #0b0e14 0 10px, #10141c 10px 20px); }
.admin-body .mp-src.is-add, .admin-body .mp-src.is-void { display: grid; place-items: center; align-content: center; gap: 4px; min-height: 84px; border-style: dashed; color: var(--c-soft); }
.admin-body .mp-src.is-add span { font-size: 12px; font-weight: 700; } .admin-body .mp-src.is-add:hover { color: var(--c-ink); }
.admin-body .mp-src.is-void { cursor: default; opacity: .45; } .admin-body .mp-src.is-add b, .admin-body .mp-src.is-void b { font: 800 12px var(--c-mono); }
.admin-body .mp-ctrl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.5fr) 170px; gap: 8px; align-items: stretch; }
.admin-body .mp-box, .admin-body .mp-panel { padding: 10px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-panel); min-width: 0; }
.admin-body .mp-seg { display: flex; gap: 2px; padding: 2px; border-radius: 9px; background: #07090d; }
.admin-body .mp-seg.is-wrap { flex-wrap: wrap; }
.admin-body .mp-seg button { flex: 1; min-width: 0; padding: 8px 6px; border: 0; border-radius: 7px; background: transparent; color: var(--c-soft); font: 800 11px/1 var(--c-mono); letter-spacing: .04em; white-space: nowrap; cursor: pointer; }
.admin-body .mp-seg button:hover:not(:disabled) { color: var(--c-ink); }
.admin-body .mp-seg button.is-on { background: #232a38; color: var(--c-ink); box-shadow: inset 0 -2px 0 var(--c-pgm); }
.admin-body .mp-seg button:disabled { opacity: .35; cursor: not-allowed; }
.admin-body .mp-row { display: flex; gap: 6px; margin-top: 8px; }
.admin-body .mp-row .mp-key { flex: 1; }
.admin-body .mp-afv { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--c-line2); background: #141922; color: var(--c-soft); font: 800 11px var(--c-mono); cursor: pointer; }
.admin-body .mp-afv input { accent-color: var(--c-pvw); margin: 0; }
.admin-body .mp-afv:has(input:checked) { color: var(--c-pvw); border-color: rgba(23,212,107,.5); }
.admin-body .mp-afv.is-mini { height: 26px; padding: 0 8px; font-size: 10px; }
.admin-body .mp-extra { display: grid; gap: 4px; margin-top: 8px; color: var(--c-soft); font-size: 11px; }
.admin-body .mp-extra select { width: 100%; padding: 7px 8px; border-radius: 8px; border: 1px solid var(--c-line2); background: #07090d; color: var(--c-ink); font: inherit; font-size: 12px; }
.admin-body .mp-box > .mp-dim { margin-top: 8px; font-size: 11px; }
.admin-body .mp-keys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.admin-body .mp-key { display: grid; justify-items: center; gap: 6px; padding: 9px 4px 8px; border-radius: 9px; border: 1px solid var(--c-line2); background: linear-gradient(180deg, #1a202c, #121722); color: var(--c-soft); font: 800 10px/1 var(--c-mono); letter-spacing: .04em; white-space: nowrap; cursor: pointer; transition: border-color .12s, color .12s; }
.admin-body .mp-key i { width: 22px; height: 4px; border-radius: 2px; background: #2a3140; }
.admin-body .mp-key:hover:not(:disabled) { color: var(--c-ink); border-color: rgba(255,255,255,.25); }
.admin-body .mp-key.is-on { color: #fff; border-color: rgba(255,176,32,.6); } .admin-body .mp-key.is-on i { background: var(--c-amber); box-shadow: 0 0 10px rgba(255,176,32,.8); }
.admin-body .mp-key:disabled { opacity: .45; cursor: not-allowed; }
.admin-body .mp-link { padding: 0; border: 0; background: none; color: var(--c-soft); font: 700 10px var(--c-mono); letter-spacing: 0; text-transform: none; cursor: pointer; } .admin-body .mp-link:hover { color: var(--c-ink); }
.admin-body .mp-take { display: grid; gap: 8px; }
.admin-body .mp-cut, .admin-body .mp-auto { display: grid; place-items: center; align-content: center; gap: 4px; min-height: 58px; border: 0; border-radius: 12px; font: 900 20px/1 var(--c-mono); letter-spacing: .12em; cursor: pointer; }
.admin-body .mp-cut small, .admin-body .mp-auto small { font: 700 9.5px var(--c-mono); letter-spacing: .06em; opacity: .8; }
.admin-body .mp-cut { background: linear-gradient(180deg, #ff4a4a, #d61f1f); color: #fff; box-shadow: 0 8px 22px rgba(255,43,43,.25), inset 0 -3px 0 rgba(0,0,0,.2); }
.admin-body .mp-cut:hover:not(:disabled) { filter: brightness(1.08); } .admin-body .mp-cut:active:not(:disabled) { transform: translateY(1px); }
.admin-body .mp-cut:disabled { background: #2a1416; color: #8b5a5d; box-shadow: none; cursor: not-allowed; }
/* AUTO (v544): amber like a mixer's AUTO key; while a transition runs, a bar fills it for the transition's time (--auto-s). */
.admin-body .mp-auto, .admin-body .ctl2-cut.is-auto { position: relative; overflow: hidden; background: linear-gradient(180deg, #ffc93a, #e39a00); color: #1a1200; box-shadow: 0 8px 22px rgba(240,165,0,.22), inset 0 -3px 0 rgba(0,0,0,.18); }
.admin-body .mp-auto:hover:not(:disabled) { filter: brightness(1.06); } .admin-body .mp-auto:active:not(:disabled) { transform: translateY(1px); }
.admin-body .mp-auto:disabled, .admin-body .ctl2-cut.is-auto:disabled { background: #2a2414; color: #8f7a45; box-shadow: none; cursor: not-allowed; }
.admin-body .mp-auto.is-run, .admin-body .ctl2-cut.is-auto.is-run { background: #3a2c08; color: #ffd76a; }
.admin-body .mp-auto.is-run::after, .admin-body .ctl2-cut.is-auto.is-run::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: #ffc93a; transform-origin: left; animation: mp-auto-run var(--auto-s, 1s) linear forwards; }
.admin-body .dsk-cutrow .ctl2-cut.is-auto:not(:disabled):not(.is-run) { background: linear-gradient(180deg, #ff9d4a, #e2640f); color: #1d0b00; } /* the old pult's CUT is already amber */
@keyframes mp-auto-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .admin-body .mp-auto.is-run::after, .admin-body .ctl2-cut.is-auto.is-run::after { animation: none; } }
.admin-body .mp-seg button small { display: block; margin-top: 3px; font: 700 8px/1 var(--c-mono); letter-spacing: .04em; opacity: .75; }
.admin-body .mp-seg.is-dur { margin-top: 6px; }
.admin-body .mp-sjs { padding: 10px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-panel); min-width: 0; }
.admin-body .mp-sjs > header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; }
.admin-body .mp-sjs > header h4 { margin: 0; }
.admin-body .mp-sjs > header small { padding: 3px 8px; border-radius: 999px; background: rgba(23,212,107,.12); color: var(--c-pvw); font: 800 10px var(--c-mono); }
.admin-body .mp-sjs > header em { flex: 1; color: var(--c-soft); font-size: 11px; font-style: normal; }
.admin-body .mp-q { width: 160px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--c-line2); background: #07090d; color: var(--c-ink); font: inherit; font-size: 12px; }
.admin-body .mp-sj-row { display: grid; grid-auto-flow: column; grid-auto-columns: 172px; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.admin-body .mp-sj { display: grid; gap: 6px; padding: 6px; border-radius: 10px; border: 1px solid var(--c-line2); background: #10151f; cursor: pointer; user-select: none; }
.admin-body .mp-sj[hidden] { display: none; }
.admin-body .mp-sj:hover { border-color: rgba(255,255,255,.28); }
.admin-body .mp-sj.is-cue { border-color: rgba(59,130,246,.8); }
.admin-body .mp-sj.is-air { border-color: var(--c-pgm); box-shadow: 0 0 0 1px var(--c-pgm); }
.admin-body .mp-sj-pic { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 7px; overflow: hidden; background: #000; }
.admin-body .mp-sj-pic img { width: 100%; height: 100%; object-fit: cover; }
.admin-body .mp-sj-pic time { position: absolute; right: 5px; bottom: 5px; padding: 2px 5px; border-radius: 4px; background: rgba(0,0,0,.75); font: 700 10px var(--c-mono); }
.admin-body .mp-sj > b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.5em; font-size: 12px; line-height: 1.25; }
.admin-body .mp-sj footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.admin-body .mp-sj footer small { color: var(--c-soft); font: 800 9.5px var(--c-mono); letter-spacing: .06em; }
.admin-body .mp-sj.is-air footer small { color: var(--c-pgm); } .admin-body .mp-sj.is-cue footer small { color: #7fb0ff; }
.admin-body .mp-sj footer button { padding: 5px 10px; border-radius: 7px; border: 1px solid var(--c-line2); background: #1a202c; color: var(--c-ink); font: 800 11px var(--c-mono); cursor: pointer; }
.admin-body .mp-sj footer button:hover { border-color: var(--c-pgm); background: rgba(255,43,43,.16); }
.admin-body .mp-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.admin-body .mp-panel > header b { font: 800 10.5px/1.2 var(--c-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c-soft); }
.admin-body .mp-panel > header small { color: var(--c-soft); font-size: 11px; }
.admin-body .mp-outs { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.admin-body .mp-out { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 10px; background: #10151f; }
.admin-body .mp-out-logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--brand) 22%, transparent); color: var(--brand); }
.admin-body .mp-out-logo svg { width: 17px; height: 17px; }
.admin-body .mp-out.is-tiktok .mp-out-logo, .admin-body .mp-out-logo[style*="#0f1115"] { color: #e7e9ee; background: #2a2f38; }
.admin-body .mp-out span { display: grid; gap: 2px; min-width: 0; }
.admin-body .mp-out span b { font-size: 13px; }
.admin-body .mp-out span small { display: flex; align-items: center; gap: 5px; color: var(--c-soft); font: 700 10px var(--c-mono); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-body .mp-out span small i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #4b5568; }
.admin-body .mp-out.is-ok span small { color: var(--c-pvw); } .admin-body .mp-out.is-ok span small i { background: var(--c-pvw); }
.admin-body .mp-out.is-wait span small { color: var(--c-amber); } .admin-body .mp-out.is-wait span small i { background: var(--c-amber); }
.admin-body .mp-out.is-bad span small { color: #ff6b6b; } .admin-body .mp-out.is-bad span small i { background: #ff6b6b; }
.admin-body .mp-out strong { font: 800 13px var(--c-mono); font-variant-numeric: tabular-nums; }
.admin-body .mp-sw { position: relative; width: 36px; height: 20px; padding: 0; border: 0; border-radius: 999px; background: #2a3140; cursor: pointer; transition: background .15s; }
.admin-body .mp-sw i { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #cfd5df; transition: transform .15s; }
.admin-body .mp-sw.is-on { background: var(--c-pgm); } .admin-body .mp-sw.is-on i { transform: translateX(16px); background: #fff; }
.admin-body .mp-sw:disabled { opacity: .5; }
.admin-body .mp-strips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.admin-body .mp-ch { display: grid; justify-items: center; gap: 5px; flex: 0 0 50px; padding: 6px 2px; border-radius: 9px; background: #10151f; }
.admin-body .mp-ch.is-off { opacity: .45; }
.admin-body .mp-ch-body { display: flex; gap: 4px; height: 118px; }
.admin-body .mp-ch-body .ctl2-vu { width: 6px; }
.admin-body .mp-ch input[type=range] { width: 20px; height: 118px; margin: 0; writing-mode: vertical-lr; direction: rtl; accent-color: #cfd5df; cursor: pointer; }
.admin-body .mp-ch output { color: var(--c-soft); font: 700 9px var(--c-mono); white-space: nowrap; }
.admin-body .mp-mute { width: 30px; height: 22px; border-radius: 6px; border: 1px solid var(--c-line2); background: #1a202c; color: var(--c-soft); font: 900 11px var(--c-mono); cursor: pointer; }
.admin-body .mp-mute.is-muted { background: var(--c-pgm); border-color: var(--c-pgm); color: #fff; }
.admin-body .mp-ch > b { max-width: 48px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 800 9.5px var(--c-mono); text-transform: uppercase; }
.admin-body .mp-ch.is-on > b { color: var(--c-pvw); }
.admin-body .mp-health > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.admin-body .mp-health > header > b { font: 800 10.5px/1.2 var(--c-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c-soft); }
.admin-body .mp-hstate { display: inline-flex; align-items: center; gap: 5px; font: 800 10.5px var(--c-mono); font-style: normal; color: var(--c-soft); }
.admin-body .mp-hstate i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.admin-body .mp-hstate.is-ok { color: var(--c-pvw); } .admin-body .mp-hstate.is-bad { color: #ff6b6b; }
.admin-body .mp-spark { display: block; width: 100%; height: 38px; margin-bottom: 8px; border-radius: 6px; background: #07090d; }
.admin-body .mp-spark polyline { fill: none; stroke: var(--c-pgm); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.admin-body .mp-spark polyline.is-fill { fill: rgba(255,43,43,.14); stroke: none; }
.admin-body .mp-hgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.admin-body .mp-hcell { display: grid; gap: 3px; padding: 6px 7px; border-radius: 8px; background: #10151f; }
.admin-body .mp-hcell span { color: var(--c-soft); font: 700 9px var(--c-mono); letter-spacing: .06em; text-transform: uppercase; }
.admin-body .mp-hcell b { font: 800 15px var(--c-mono); font-variant-numeric: tabular-nums; } .admin-body .mp-hcell b small { margin-left: 1px; color: var(--c-soft); font-size: 10px; }
.admin-body .mp-hcell.is-warn b { color: var(--c-amber); } .admin-body .mp-hcell.is-bad b { color: #ff6b6b; }
.admin-body .mp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 2px 4px; color: var(--c-soft); font-size: 11px; }
.admin-body .mp-foot kbd { padding: 1px 5px; border-radius: 4px; border: 1px solid var(--c-line2); background: #141922; color: var(--c-ink); font: 700 10px var(--c-mono); }
.admin-body .mp-srv { flex: 1; display: inline-flex; align-items: center; gap: 6px; } .admin-body .mp-srv i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-pvw); } .admin-body .mp-srv b { color: var(--c-ink); font: 700 11px var(--c-mono); }
@media (max-width: 1280px) { .admin-body .mp-grid { grid-template-columns: 1fr; } .admin-body .mp-side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; } }
@media (max-width: 1000px) { .admin-body .mp-ctrl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .admin-body .mp { padding: 8px; gap: 8px; border-radius: 14px; }
  .admin-body .mp-bar { flex-wrap: wrap; gap: 8px; }
  .admin-body .mp-bar .ctl2-tally { min-width: 0; padding: 8px 10px; font-size: 12px; }
  .admin-body .mp-bar-info { order: 3; flex-basis: 100%; }
  .admin-body .mp-bar .ctl2-rec { height: 38px; margin-left: auto; padding: 0 10px; }
  .admin-body .mp-mons { grid-template-columns: 1fr; gap: 8px; }
  .admin-body .mp-mons .mp-pvw { order: 2; }
  .admin-body .mp-srcs { gap: 6px; }
  .admin-body .mp-src-name small { display: none; }
  .admin-body .mp-ctrl { grid-template-columns: 1fr; }
  .admin-body .mp-take { grid-template-columns: 1fr 1fr; order: -1; }
  .admin-body .mp-keys { gap: 4px; } .admin-body .mp-key { font-size: 9px; padding: 8px 2px; }
  .admin-body .mp-sjs > header em { display: none; } .admin-body .mp-q { flex: 1; width: auto; min-width: 0; }
  .admin-body .mp-sj-row { grid-auto-columns: 150px; }
  .admin-body .mp-side { grid-template-columns: 1fr; }
  .admin-body .mp-hgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-body .mp-foot span:not(.mp-srv) { display: none; }
}
/* The main column's own width decides how the rows fold (the panel's sidebar and the right column take varying room). */
.admin-body .mp-main { container-type: inline-size; container-name: mpmain; }
.admin-body .mp-seg.is-wrap button { flex: 1 0 auto; }
.admin-body .mp-pgm .ctl2-mon-head small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
@container mpmain (max-width: 1000px) {
  .admin-body .mp-ctrl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .admin-body .mp-take { grid-template-columns: 1fr 1fr; }
}
@container mpmain (max-width: 980px) {
  .admin-body .mp-src-name small { display: none; }
}
@container mpmain (max-width: 640px) {
  .admin-body .mp-srcs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container mpmain (max-width: 520px) {
  .admin-body .mp-ctrl { grid-template-columns: 1fr; }
  .admin-body .mp-src-name small { display: none; }
}
.admin-body .mp label.mp-afv, .admin-body .tva.studio .mp label.mp-afv { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; margin: 0; white-space: nowrap; }
.admin-body .mp .mp-afv input { display: inline-block; flex: none; width: 14px; height: 14px; }
@media (max-width: 640px) { .admin-body .mp-key { white-space: normal; line-height: 1.15; text-align: center; } }
/* ---- Mərkəzi pult look (v544, the owner's reference picture): framed monitors with PREVIEW / PROGRAM pills, a panel of
   eight source cards, tall segmented controls, LED graphics keys, CUT / AUTO with a T-bar, roomy outputs and channel strips. */
.admin-body .mp { --mp-panel: #11151d; --mp-card: #171c26; --mp-well: #0a0d13; --mp-edge: rgba(255,255,255,.06); --mp-label: #7d8799; gap: 14px; padding: 14px; background: #0b0e14; }
.admin-body .mp h4, .admin-body .mp-panel > header b, .admin-body .mp-health > header > b { color: var(--mp-label); font: 800 12px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.admin-body .mp h4 { margin: 0 0 14px; }
.admin-body .mp-grid { gap: 14px; } @media (min-width: 1281px) { .admin-body .mp-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
/* Monitors */
.admin-body .mp-mons { gap: 14px; }
.admin-body .mp-mons .ctl2-mon { gap: 10px; padding: 12px; border-radius: 16px; border: 0; background: var(--mp-panel); }
.admin-body .mp-mons .ctl2-mon-head { gap: 12px; min-height: 30px; }
.admin-body .mp-mons .ctl2-mon-head b { font: 600 17px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; }
.admin-body .mp-mons .ctl2-tag { padding: 7px 12px; border-radius: 6px; font: 900 12px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .2em; }
.admin-body .mp-mons .ctl2-q, .admin-body .mp-fmt { margin-left: auto; color: #aab3c2; font: 600 13px var(--c-mono); }
.admin-body .mp-fmt { margin-left: 0; }
.admin-body .mp-pgm .ctl2-mon-head .mp-safe { margin-left: auto; }
.admin-body .mp-mons .ctl2-screen { border-radius: 12px; border: 3px solid var(--c-line2); overflow: hidden; }
.admin-body .mp-mons .mp-pvw .ctl2-screen { border-color: var(--c-pvw); box-shadow: 0 0 22px rgba(23,212,107,.12); }
.admin-body .mp-mons .mp-pgm .ctl2-screen { border-color: var(--c-pgm); box-shadow: 0 0 22px rgba(255,43,43,.14); }
.admin-body .mp-pgm { display: grid; grid-template-columns: minmax(0, 1fr) 7px; gap: 0; border-radius: 16px; background: var(--mp-panel); }
.admin-body .mp-pgm .ctl2-mon { padding-right: 8px; }
.admin-body .mp-pgm-vu { width: 7px; height: auto; margin: 54px 10px 14px -2px; border-radius: 3px; }
.admin-body .mp-safe { padding: 7px 10px; border-radius: 6px; border: 0; background: #252b37; color: #aab3c2; font: 900 11px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .18em; }
.admin-body .mp-safe.is-on { background: rgba(255,176,32,.16); color: var(--c-amber); }
/* Sources: one panel of eight cards; the card's number badge is red on PROGRAM, green on PREVIEW */
.admin-body .mp-srcs { gap: 10px; padding: 12px; border-radius: 16px; background: var(--mp-panel); }
.admin-body .mp-src { border: 2px solid transparent; border-radius: 12px; background: var(--mp-card); padding: 6px; gap: 6px; }
.admin-body .mp-src .ctl2-screen { border-radius: 7px; }
.admin-body .mp-src .ctl2-tile-vu { bottom: 40px; }
.admin-body .mp-src-name { gap: 8px; height: 28px; padding: 0 2px; }
.admin-body .mp-src-name b { width: 22px; height: 22px; border-radius: 5px; background: #2a303c; color: #c5ccd8; font: 800 12px Inter, ui-sans-serif, system-ui, sans-serif; }
.admin-body .mp-src-name em { font: 600 15px Inter, ui-sans-serif, system-ui, sans-serif; color: #e6eaf1; }
.admin-body .mp-src-name small { color: #7d8799; font: 600 11px var(--c-mono); text-transform: uppercase; }
.admin-body .mp-src:hover { border-color: rgba(255,255,255,.18); }
.admin-body .mp-src.is-pgm { border-color: var(--c-pgm); box-shadow: 0 0 0 1px rgba(255,43,43,.35), 0 0 18px rgba(255,43,43,.18); }
.admin-body .mp-src.is-pvw { border-color: var(--c-pvw); box-shadow: 0 0 0 1px rgba(23,212,107,.35), 0 0 18px rgba(23,212,107,.16); }
.admin-body .mp-src.is-pgm .mp-src-name b { background: var(--c-pgm); color: #fff; } .admin-body .mp-src.is-pvw .mp-src-name b { background: var(--c-pvw); color: #04120a; }
.admin-body .mp-src.is-add, .admin-body .mp-src.is-void { border: 2px dashed rgba(255,255,255,.1); background: transparent; min-height: 120px; }
/* Control row: Keçid · Kompozisiya · Efir qrafikası · CUT / AUTO / T-bar */
.admin-body .mp-ctrl { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr) minmax(0, 1.65fr) minmax(0, .85fr); gap: 14px; }
.admin-body .mp-box { padding: 18px; border-radius: 16px; border: 0; background: var(--mp-panel); }
.admin-body .mp-seg { gap: 4px; padding: 5px; border-radius: 12px; background: var(--mp-well); }
.admin-body .mp-seg button { padding: 13px 8px; border-radius: 9px; color: #9aa3b2; font: 800 15px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .1em; }
.admin-body .mp-seg.is-dur { margin-top: 14px; } .admin-body .mp-seg.is-dur button { letter-spacing: .04em; font-size: 15px; }
.admin-body .mp-seg button.is-on { background: #2a303c; color: #fff; box-shadow: none; }
.admin-body .mp-box:first-child .mp-seg:not(.is-dur) button.is-on { background: #3a1a20; color: #ff5a5f; }
.admin-body .mp-seg button:disabled { opacity: 1; color: #9aa3b2; cursor: not-allowed; }
.admin-body .mp-seg.is-wrap { flex-wrap: nowrap; } .admin-body .mp-seg.is-wrap button { flex: 1 1 0; }
.admin-body .mp-extra { display: flex; align-items: center; gap: 6px; margin-top: 18px; color: #8f98a8; font: 500 15px Inter, ui-sans-serif, system-ui, sans-serif; }
.admin-body .mp-extra select { width: auto; max-width: 60%; padding: 2px 4px; border: 0; border-radius: 6px; background: transparent; color: #c5ccd8; font: inherit; cursor: pointer; }
.admin-body .mp-extra select:hover:not(:disabled) { background: var(--mp-well); }
.admin-body .mp-extra.is-idle select { color: #8f98a8; cursor: default; appearance: none; }
.admin-body .mp-keys { gap: 10px; }
.admin-body .mp-key { gap: 16px; padding: 14px 4px 18px; border-radius: 12px; border: 0; background: linear-gradient(180deg, #232935, #1a1f29); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 4px 10px rgba(0,0,0,.35); color: #8f98a8; font: 800 14px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em; }
.admin-body .mp-key i { width: 26px; height: 4px; background: #3a414e; }
.admin-body .mp-key.is-on { color: #fff; border: 0; } .admin-body .mp-key.is-on i { background: #ffb020; box-shadow: 0 0 10px rgba(255,176,32,.9); }
.admin-body .mp-key:hover:not(:disabled) { color: #fff; }
.admin-body .mp-take { display: grid; grid-template-columns: minmax(0, 1fr) 62px; gap: 14px; padding: 14px; border-radius: 16px; background: var(--mp-panel); }
.admin-body .mp-take-btns { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-width: 0; }
.admin-body .mp-cut, .admin-body .mp-auto { min-height: 92px; border-radius: 14px; font: 900 26px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .14em; gap: 8px; }
.admin-body .mp-cut small, .admin-body .mp-auto small { font: 600 13px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .04em; opacity: .85; }
.admin-body .mp-cut { background: linear-gradient(180deg, #ff3b3b, #d81f24); box-shadow: 0 6px 0 #8f1218, 0 10px 24px rgba(255,43,43,.22); }
.admin-body .mp-auto { background: linear-gradient(180deg, #ffc23d, #e8a312); color: #3a2400; box-shadow: 0 6px 0 #9a6a07, 0 10px 24px rgba(240,165,0,.18); }
.admin-body .mp-cut:disabled { box-shadow: 0 6px 0 #1a0c0e; } .admin-body .mp-auto:disabled { box-shadow: 0 6px 0 #17130a; }
.admin-body .mp-tbar { position: relative; border-radius: 12px; background: repeating-linear-gradient(180deg, #1c212b 0 2px, #0c0f15 2px 9px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); cursor: not-allowed; }
.admin-body .mp-tbar i { position: absolute; left: 4px; right: 4px; top: 6px; height: 40px; border-radius: 10px; background: linear-gradient(180deg, #f4f6fa, #c9cfd9); box-shadow: 0 4px 10px rgba(0,0,0,.5); }
.admin-body .mp-tbar i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 3px; background: #e2262c; }
/* Right column */
.admin-body .mp-panel { padding: 18px; border-radius: 16px; border: 0; background: var(--mp-panel); }
.admin-body .mp-panel > header { margin-bottom: 14px; }
.admin-body .mp-total { color: #aab3c2; font: 500 15px Inter, ui-sans-serif, system-ui, sans-serif; } .admin-body .mp-total strong { color: #fff; font: 800 24px Inter, ui-sans-serif, system-ui, sans-serif; font-variant-numeric: tabular-nums; margin-right: 4px; }
.admin-body .mp-outs { gap: 10px; }
.admin-body .mp-out { grid-template-columns: 38px minmax(0, 1fr) auto auto; gap: 12px; padding: 12px; border-radius: 12px; background: var(--mp-card); }
.admin-body .mp-out-logo { width: 38px; height: 38px; border-radius: 10px; }
.admin-body .mp-out-logo svg { width: 19px; height: 19px; }
.admin-body .mp-out span b { font: 600 17px Inter, ui-sans-serif, system-ui, sans-serif; color: #fff; }
.admin-body .mp-out span small { gap: 0; color: #6f7888; font: 600 11.5px var(--c-mono); letter-spacing: .06em; }
.admin-body .mp-out span small i { width: auto; height: auto; border-radius: 0; background: none; font-style: normal; margin-left: 3px; }
.admin-body .mp-out.is-ok span small, .admin-body .mp-out.is-wait span small, .admin-body .mp-out.is-bad span small { color: #6f7888; }
.admin-body .mp-out.is-ok span small i { background: none; color: #ff4a4f; } .admin-body .mp-out.is-wait span small i { background: none; color: var(--c-amber); } .admin-body .mp-out.is-bad span small i { background: none; color: #ff6b6b; }
.admin-body .mp-out strong { font: 700 17px Inter, ui-sans-serif, system-ui, sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
.admin-body .mp-sw { width: 46px; height: 26px; } .admin-body .mp-sw i { top: 4px; left: 4px; width: 18px; height: 18px; } .admin-body .mp-sw.is-on i { transform: translateX(20px); }
.admin-body .mp-mix > header .mp-afv { height: auto; padding: 6px 9px; border: 0; border-radius: 6px; background: #2a2414; color: #8f7a45; font: 900 11px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .14em; }
.admin-body .mp-mix > header .mp-afv:has(input:checked) { background: #3b2f0d; color: #ffc23d; }
.admin-body .mp .mp-mix > header .mp-afv input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.admin-body .mp-strips { gap: 10px; }
.admin-body .mp-ch { flex: 1 0 64px; gap: 10px; padding: 12px 6px 10px; border-radius: 12px; background: var(--mp-card); }
.admin-body .mp-ch-body { gap: 10px; height: 170px; }
.admin-body .mp-ch-body .ctl2-vu { width: 7px; }
.admin-body .mp-ch output { display: none; }
.admin-body .mp-ch input[type=range] { -webkit-appearance: none; appearance: none; width: 34px; height: 170px; background: transparent; }
.admin-body .mp-ch input[type=range]::-webkit-slider-runnable-track { width: 4px; border-radius: 2px; background: #07090d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.admin-body .mp-ch input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 16px; margin-left: -15px; border-radius: 4px; background: linear-gradient(180deg, #f2f4f8 0 42%, #2b313c 42% 58%, #c7cdd8 58%); box-shadow: 0 3px 6px rgba(0,0,0,.55); }
.admin-body .mp-ch input[type=range]::-moz-range-track { width: 4px; border-radius: 2px; background: #07090d; }
.admin-body .mp-ch input[type=range]::-moz-range-thumb { width: 34px; height: 16px; border: 0; border-radius: 4px; background: linear-gradient(180deg, #f2f4f8 0 42%, #2b313c 42% 58%, #c7cdd8 58%); }
.admin-body .mp-mute { width: 100%; max-width: 54px; height: 30px; border: 0; border-radius: 8px; background: #2a303c; color: #c5ccd8; font: 800 13px Inter, ui-sans-serif, system-ui, sans-serif; }
.admin-body .mp-mute.is-muted { background: #3a1a20; color: #ff5a5f; }
.admin-body .mp-ch > b { max-width: 70px; color: #8f98a8; font: 800 13px Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em; }
.admin-body .mp-ch.is-on > b { color: #fff; }
.admin-body .mp-hstate { font: 600 15px Inter, ui-sans-serif, system-ui, sans-serif; gap: 7px; } .admin-body .mp-hstate i { width: 10px; height: 10px; box-shadow: 0 0 8px currentColor; }
.admin-body .mp-hcell { background: var(--mp-card); border-radius: 10px; padding: 9px 10px; }
.admin-body .mp-spark { background: var(--mp-well); }
/* Sujets */
.admin-body .mp-sjs { padding: 18px; border-radius: 16px; border: 0; background: var(--mp-panel); }
.admin-body .mp-sjs > header { gap: 14px; margin-bottom: 16px; }
.admin-body .mp-sjs > header small { padding: 7px 12px; border-radius: 8px; background: rgba(23,212,107,.12); color: var(--c-pvw); font: 600 15px Inter, ui-sans-serif, system-ui, sans-serif; }
.admin-body .mp-sjs > header em { flex: 1; text-align: right; color: #8f98a8; font: 500 15px Inter, ui-sans-serif, system-ui, sans-serif; } .admin-body .mp-sjs > header em b { color: #fff; font-weight: 600; }
.admin-body .mp-sj-row { grid-auto-columns: minmax(240px, 1fr); grid-auto-flow: column; gap: 14px; }
.admin-body .mp-sj { padding: 8px; border-radius: 14px; border: 1px solid var(--mp-edge); background: var(--mp-card); }
.admin-body .mp-sj-pic { border-radius: 10px; }
@container mpmain (max-width: 1000px) { .admin-body .mp-take { grid-template-columns: minmax(0, 1fr) 54px; } .admin-body .mp-take-btns { grid-template-rows: none; grid-template-columns: 1fr 1fr; } .admin-body .mp-cut, .admin-body .mp-auto { min-height: 78px; } }
@container mpmain (max-width: 640px) { .admin-body .mp-seg button { font-size: 13px; padding: 11px 4px; } .admin-body .mp-key { font-size: 11px; } .admin-body .mp-src-name em { font-size: 13px; } }
@media (max-width: 1280px) { .admin-body .mp-ch { flex: 0 0 64px; } }
@media (max-width: 640px) { .admin-body .mp { padding: 8px; } .admin-body .mp-box, .admin-body .mp-panel, .admin-body .mp-sjs { padding: 12px; } .admin-body .mp-take { order: -1; } .admin-body .mp-sjs > header em { display: none; } .admin-body .mp-sj-row { grid-auto-columns: 200px; } .admin-body .mp-tbar { display: none; } .admin-body .mp-take { grid-template-columns: 1fr; } }
/* Control row inside a narrower pult (the admin sidebar leaves ~870 px): Keçid + Kompozisiya on top, graphics keys below,
   CUT / AUTO / T-bar standing on the right through both rows, as in the reference picture's right-hand take block. */
@container mpmain (max-width: 1180px) {
  .admin-body .mp-ctrl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 190px; grid-template-areas: "tr comp take" "gfx gfx take"; }
  .admin-body .mp-ctrl > .mp-box:nth-child(1) { grid-area: tr; } .admin-body .mp-ctrl > .mp-box:nth-child(2) { grid-area: comp; }
  .admin-body .mp-ctrl > .mp-gfx { grid-area: gfx; } .admin-body .mp-ctrl > .mp-take { grid-area: take; }
  .admin-body .mp-take { grid-template-columns: minmax(0, 1fr) 44px; } .admin-body .mp-take-btns { grid-template-rows: 1fr 1fr; grid-template-columns: none; }
  .admin-body .mp-cut, .admin-body .mp-auto { min-height: 0; }
}
@container mpmain (max-width: 640px) {
  .admin-body .mp-ctrl { grid-template-columns: minmax(0, 1fr); grid-template-areas: "take" "tr" "comp" "gfx"; }
  .admin-body .mp-take-btns { grid-template-rows: none; grid-template-columns: 1fr 1fr; } .admin-body .mp-cut, .admin-body .mp-auto { min-height: 78px; }
}
.admin-body .mp-seg button { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .mp .mp-extra { display: flex; flex-wrap: wrap; } .admin-body .mp .mp-extra > span { white-space: nowrap; }
.admin-body .mp .mp-extra select { width: auto; flex: 0 1 auto; min-width: 0; padding: 2px 4px; border: 0; background: transparent; }
.admin-body .mp-key { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .04em; }
@container mpmain (max-width: 1180px) { .admin-body .mp-key { font-size: 13px; } }
.admin-body .mp .mp-ch input[type=range] { -webkit-appearance: none; appearance: none; width: 34px; height: 170px; background: transparent; border: 0; box-shadow: none; padding: 0; }
/* The studio's generic form rules (label grid, boxed select) outrank class selectors; :not(#mp-x) lifts these two over them. */
.admin-body .mp .mp-extra:not(#mp-x) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 18px; color: #8f98a8; font: 500 15px Inter, ui-sans-serif, system-ui, sans-serif; }
.admin-body .mp .mp-extra select:not(#mp-x) { width: auto; min-width: 0; max-width: 100%; padding: 2px 4px; border: 0; border-radius: 6px; background: transparent; box-shadow: none; color: #c5ccd8; font: 500 15px Inter, ui-sans-serif, system-ui, sans-serif; }
.admin-body .mp .mp-extra.is-idle select:not(#mp-x) { color: #8f98a8; -webkit-appearance: none; appearance: none; opacity: 1; }
.admin-body .mp .mp-extra:not(.is-idle) select:not(#mp-x):hover { background: var(--mp-well); }
/* Fader: a thin dark slot drawn on the input itself, the cap rides over it */
.admin-body .mp .mp-ch input[type=range] { background: linear-gradient(90deg, transparent calc(50% - 2px), #05070a calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)); }
.admin-body .mp .mp-ch input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 100%; background: transparent; box-shadow: none; }
.admin-body .mp .mp-ch input[type=range]::-webkit-slider-thumb { margin: 0; }
.admin-body .mp .mp-ch input[type=range]::-moz-range-track { background: transparent; }
.admin-body .mp .mp-strips { overflow: hidden; } .admin-body .mp .mp-ch { flex: 1 1 0; min-width: 0; padding-left: 4px; padding-right: 4px; }
.admin-body .mp .mp-ch > b { max-width: 100%; font-size: 12px; letter-spacing: .04em; }
.admin-body .mp .mp-strips { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; padding-bottom: 2px; } .admin-body .mp .mp-ch { flex: 0 0 62px; }
@container mpmain (max-width: 640px) { .admin-body .mp-key { font-size: 10.5px; letter-spacing: 0; padding-left: 2px; padding-right: 2px; } }
.admin-body .mp-mons .ctl2-mon-head > small { display: none; }
.admin-body .mp-mons .ctl2-mon-head > b { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* T-bar (v544): the handle rides the track by --p (0 top … 1 bottom); the track fills red behind it while a transition is mixed. */
.admin-body .mp-tbar { touch-action: none; user-select: none; min-height: 150px; }
.admin-body .mp-tbar i { top: calc(6px + var(--p, 0) * (100% - 52px)); transition: top .06s linear; }
.admin-body .mp-tbar.is-on { cursor: grab; } .admin-body .mp-tbar.is-on:active { cursor: grabbing; }
.admin-body .mp-tbar:not(.is-on) i { opacity: .55; }
.admin-body .mp-tbar::before { content: ""; position: absolute; left: 50%; width: 4px; margin-left: -2px; top: 6px; height: calc(var(--p, 0) * (100% - 52px) + 20px); border-radius: 2px; background: linear-gradient(180deg, rgba(255,43,43,.15), rgba(255,43,43,.85)); opacity: calc(var(--p, 0) * 40); }
.admin-body .mp-tbar.is-arm i { animation: mp-tbar-arm .7s ease-in-out infinite alternate; }
@keyframes mp-tbar-arm { from { box-shadow: 0 4px 10px rgba(0,0,0,.5); } to { box-shadow: 0 0 0 3px rgba(255,176,32,.55), 0 4px 10px rgba(0,0,0,.5); } }
/* Mərkəzi pult v548 — 3 / 4 EKRAN pick one source per extra box (stacked, tight), and the full pult's music, Lenta,
   sujets and section tabs (Ekran, Alt yazılar, Səs, Mənbələr, Yazılar) sit under the controls. */
.admin-body .mp .mp-extra + .mp-extra:not(#mp-x) { margin-top: 4px; }
.admin-body .mp-desk { display: grid; gap: 12px; min-width: 0; }
.admin-body .mp-desk > * { min-width: 0; max-width: 100%; margin: 0; }
.admin-body .mp-tabs { margin-top: 12px; min-width: 0; }
/* Mərkəzi pult v551 — CUT / AUTO / T-bar stand at the top of the right column, beside PREVIEW / PROGRAM (where the
   outputs were; they moved down that column). The control row under the monitors keeps Keçid, Kompozisiya and graphics.
   1001–1280 px keeps the two columns (a narrower right one) so the take block stays beside the monitors; at 1000 px and
   below the two columns open up into one list: monitors, sources, CUT / AUTO, controls, desk, then the rest. */
.admin-body .mp .mp-ctrl:not(#mp-x) { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr) minmax(0, 1.65fr); grid-template-areas: none; }
@container mpmain (max-width: 1180px) {
  .admin-body .mp .mp-ctrl:not(#mp-x) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "tr comp" "gfx gfx"; }
}
@container mpmain (max-width: 640px) {
  .admin-body .mp .mp-ctrl:not(#mp-x) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tr" "comp" "gfx"; }
}
.admin-body .mp-side > .mp-take:not(#mp-x) { grid-template-columns: minmax(0, 1fr) 58px; gap: 12px; padding: 14px; }
.admin-body .mp-side > .mp-take .mp-take-btns { grid-template-rows: 1fr 1fr; grid-template-columns: none; gap: 12px; }
.admin-body .mp-side > .mp-take .mp-cut, .admin-body .mp-side > .mp-take .mp-auto { min-height: 104px; }
.admin-body .mp-side > .mp-take .mp-tbar { display: block; min-height: 220px; }
@media (min-width: 1001px) and (max-width: 1280px) {
  .admin-body .mp-grid:not(#mp-x) { grid-template-columns: minmax(0, 1fr) 280px; }
  .admin-body .mp-side:not(#mp-x) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .admin-body .mp-grid:not(#mp-x) { grid-template-columns: minmax(0, 1fr); }
  .admin-body .mp-grid > .mp-main, .admin-body .mp-grid > .mp-side { display: contents; }
  .admin-body .mp-grid > .mp-main > * { order: 1; min-width: 0; }
  .admin-body .mp-grid > .mp-main > .mp-mons { order: 0; }
  .admin-body .mp-grid > .mp-main > .mp-srcs { order: 0; }
  .admin-body .mp-grid > .mp-side > .mp-take { order: 0; }
  .admin-body .mp-grid > .mp-side > * { order: 2; min-width: 0; }
  .admin-body .mp-side > .mp-take:not(#mp-x) { grid-template-columns: minmax(0, 1fr) 54px; }
  .admin-body .mp-side > .mp-take .mp-take-btns { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .admin-body .mp-side > .mp-take .mp-cut, .admin-body .mp-side > .mp-take .mp-auto { min-height: 78px; }
  .admin-body .mp-side > .mp-take .mp-tbar { min-height: 0; }
}
@media (max-width: 640px) {
  .admin-body .mp-side > .mp-take:not(#mp-x) { grid-template-columns: minmax(0, 1fr); }
  .admin-body .mp-side > .mp-take .mp-tbar { display: none; }
}
/* Kompozisiya has five keys (TAM … 4 EKRAN): they wrap onto a second line instead of being cut to "2 EK…". */
.admin-body .mp .mp-seg.is-wrap button:not(#mp-x) { flex: 1 0 auto; overflow: visible; }
/* Person and place pages: old news come 30 to a page (?page=2…). */
.person-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 8px; }
.person-pager a { padding: 9px 16px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; color: #101828; font-weight: 600; text-decoration: none; }
.person-pager a:hover { border-color: #c8102e; color: #c8102e; }
.person-pager b { color: #475467; font-size: 14px; font-weight: 600; }
.person-page-title { margin: 6px 0 14px; font-size: 24px; line-height: 1.3; }
/* Old news (D1 archive): a card with more pictures, the viewer's strip of them, and the people scan status. */
.admin-body .mm-more-badge { position: absolute; top: 8px; right: 8px; z-index: 1; padding: 3px 8px; border-radius: 999px; background: rgba(15, 23, 42, .78); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .01em; }
.mm-strip { display: grid; gap: 6px; margin-top: 12px; }
.mm-strip small { color: #64748b; font-size: 12px; font-weight: 700; }
.mm-strip > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; max-height: 210px; overflow: auto; }
.mm-strip button { padding: 0; aspect-ratio: 1; border: 2px solid transparent; border-radius: 8px; background: #e2e8f0; overflow: hidden; cursor: pointer; }
.mm-strip button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mm-strip button.is-on { border-color: #4f46e5; }
.mm-strip button.is-broken img { visibility: hidden; }
.admin-body .ap-banner { position: relative; margin: 0 0 14px; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; color: #334155; font-size: 13px; line-height: 1.45; overflow: hidden; }
.admin-body .ap-banner.is-done { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
.admin-body .ap-banner.is-running { border-color: #c7d2fe; background: #eef2ff; color: #3730a3; }
.admin-body .ap-banner.is-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.admin-body .ap-banner i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: #4f46e5; transition: width .4s; }
.editor-picker-arc-tools { display: flex; gap: 8px; align-items: center; }
.editor-picker-arc-tools .editor-media-search { flex: 1; }
.editor-picker-arc-tools .mm-seg { display: flex; gap: 4px; }
.editor-picker-arc-tools .mm-seg button { padding: 8px 12px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; font-weight: 700; cursor: pointer; }
.editor-picker-arc-tools .mm-seg button.active { border-color: #4f46e5; background: #eef2ff; color: #3730a3; }
.editor-picker-arc-note { margin: 8px 0; color: #475467; font-size: 13px; }
.editor-picker-panel [data-picker-arc-grid] article > div { position: relative; }
.editor-picker-panel [data-picker-arc-grid] .mm-more-badge { position: absolute; top: 6px; right: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(15, 23, 42, .78); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.editor-picker-panel [data-picker-arc-grid] article.is-broken img { visibility: hidden; }
.editor-picker-panel .mm-more { text-align: center; }

/* v553: exchange rates (top bar) and the "latest" ticker stay on screen while scrolling (owner request). */
.topbar { position: sticky; top: 0; z-index: 23; }
.breaking-news-web { position: sticky; top: 0; z-index: 22; }
.topbar ~ .breaking-news-web { top: 40px; }
.topbar ~ .web-header { top: 40px; }
.topbar ~ .breaking-news-web ~ .web-header { top: 78px; }
/* v565: the TV page hides the top bar and ticker, but the sibling rules above still matched them (0,3,0 beats 0,2,0),
   so the header stuck 78px down across the player. Same selectors with the page class win. */
.is-tv-page .web-header,
.is-tv-page .topbar ~ .web-header,
.is-tv-page .topbar ~ .breaking-news-web ~ .web-header { top: 0; }

/* v553: pictures inside the article text. The editor's tool row never reaches the site (publicMediaMarkup); the
   caption under a picture names who is in it. Several pictures: "slider" = one at a time with arrows, "stack" = in turn. */
.cms-article-body .editor-image-block { position: relative; width: 100%; max-width: 100%; margin: 20px 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.cms-article-body .editor-image-stage { position: relative; overflow: hidden; border-radius: 8px; }
.cms-article-body .editor-image-stage > img:not(.article-image-watermark) { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.cms-article-body .editor-image-stage > .article-image-watermark { position: absolute; z-index: 3; height: auto; max-width: none; transform: translate(-50%, -50%); object-fit: contain; pointer-events: none; }
.cms-article-body .editor-image-block > figcaption.image-caption { position: static; left: auto; bottom: auto; display: block; margin: 0; padding: 8px 2px 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; color: #5b6472; font-size: 14px; font-style: italic; font-weight: 500; line-height: 1.45; text-align: left; white-space: normal; }
.cms-article-body .article-gallery { position: relative; margin: 22px 0; }
.cms-article-body .article-gallery[data-gallery-mode="stack"] .article-gallery-track { display: block; }
.cms-article-body .article-gallery[data-gallery-mode="slider"] .article-gallery-track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 8px; }
.cms-article-body .article-gallery[data-gallery-mode="slider"] .article-gallery-track::-webkit-scrollbar { display: none; }
.cms-article-body .article-gallery[data-gallery-mode="slider"] .editor-image-block { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.cms-article-body .article-gallery[data-gallery-mode="slider"] .editor-image-stage { border-radius: 0; background: #0b1220; }
.cms-article-body .article-gallery[data-gallery-mode="slider"] .editor-image-stage > img:not(.article-image-watermark) { aspect-ratio: 3 / 2; object-fit: contain; }
.cms-article-body .article-gallery-nav { position: absolute; z-index: 5; top: 0; width: 46px; height: 46px; margin-top: calc(33.333% - 23px); display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(7, 16, 31, .62); color: #fff; font-size: 30px; font-weight: 400; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: background .2s; }
.cms-article-body .article-gallery-nav:hover { background: #d0101b; }
.cms-article-body .article-gallery-nav.prev { left: 10px; }
.cms-article-body .article-gallery-nav.next { right: 10px; }
.cms-article-body .article-gallery-count { position: absolute; z-index: 5; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(7, 16, 31, .7); color: #fff; font-size: 12px; font-weight: 800; font-style: normal; }
.cms-article-body .article-gallery.is-single .article-gallery-nav, .cms-article-body .article-gallery.is-single .article-gallery-count { display: none; }

/* v553 editor: tool row on the picture, caption line under it, several pictures as one block. */
.rich-editor .editor-image-block { overflow: visible; }
.rich-editor .editor-image-tools { position: absolute; top: 8px; right: 8px; z-index: 4; display: flex; gap: 4px; max-width: calc(100% - 16px); padding: 4px; border: 1px solid #e4e8ef; border-radius: 7px; background: rgba(255,255,255,.96); box-shadow: 0 8px 22px rgba(21,31,46,.16); }
.rich-editor .editor-image-tools span { max-width: 180px; overflow: hidden; padding: 5px 7px; color: #596579; font-size: 11px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.rich-editor .editor-image-tools button { min-width: 28px; min-height: 26px; padding: 0 6px; }
.rich-editor .editor-image-tools [data-edit-inline-image-metadata] { min-width: 70px; border: 1px solid #d9e3f0; background: #f5f8fc; color: #175cd3; font-size: 10px; font-weight: 900; }
.rich-editor .editor-image-block > figcaption.image-caption { position: static; left: auto; bottom: auto; display: block; min-height: 36px; margin: 0; padding: 9px 11px; border: 0; border-top: 1px solid #e4e8ef; border-radius: 0; background: #fff; box-shadow: none; transform: none; color: #1f2733; font-size: 13px; font-style: italic; font-weight: 500; line-height: 1.4; cursor: text; outline: none; white-space: normal; }
.rich-editor .editor-image-block > figcaption.image-caption:focus { background: #f5f9ff; box-shadow: inset 0 0 0 2px #1677ff; }
.rich-editor .editor-image-block > figcaption.image-caption:empty::before { content: attr(data-placeholder); color: #98a2b3; font-style: normal; pointer-events: none; }
.rich-editor .article-gallery { margin: 16px 0; padding: 10px; border: 2px dashed #8fb8ff; border-radius: 10px; background: #f7faff; }
.rich-editor .article-gallery-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.rich-editor .article-gallery-tools b { margin-right: auto; color: #175cd3; font-size: 12px; font-weight: 900; }
.rich-editor .article-gallery-tools button { min-height: 30px; padding: 0 12px; border: 1px solid #d9e3f0; border-radius: 999px; background: #fff; color: #344054; font-size: 11px; font-weight: 800; }
.rich-editor .article-gallery[data-gallery-mode="slider"] [data-gallery-mode-set="slider"], .rich-editor .article-gallery[data-gallery-mode="stack"] [data-gallery-mode-set="stack"] { border-color: #1677ff; background: #1677ff; color: #fff; }
.rich-editor .article-gallery-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.rich-editor .article-gallery .editor-image-block, .admin-body .rich-editor .article-gallery .editor-image-block { width: 100%; margin: 0; }
.rich-editor .article-gallery .editor-image-tools span { display: none; }
.rich-editor.is-reading-text .editor-image-tools, .rich-editor.is-reading-text .article-gallery-tools, .rich-editor.is-reading-text figcaption:not(.image-caption) { display: none !important; }
.editor-gallery-mode { display: grid; gap: 8px; margin: 14px 0 6px; padding: 0; border: 0; }
.editor-gallery-mode legend { margin-bottom: 6px; color: #344054; font-size: 12px; font-weight: 900; }
.editor-gallery-mode label { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #e4e8ef; border-radius: 10px; background: #fff; cursor: pointer; }
.editor-gallery-mode label:has(input:checked) { border-color: #1677ff; background: #f2f7ff; }
.editor-gallery-mode span { display: grid; gap: 2px; }
.editor-gallery-mode b { font-size: 13px; }
.editor-gallery-mode small { color: #667085; font-size: 11.5px; }

/* v553 phones: the text toolbar is one sliding row that sticks right under the dock, "+ Daxil et" first, and its menu
   opens under the toolbar wherever the text is scrolled to (owner request). */
@media (max-width: 860px) {
  .admin-body .st-skin .editor-pro-layout .pro-toolbar { top: var(--ed-dock-bottom, 118px); z-index: 6; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; gap: 5px; padding: 7px 8px; border-radius: 12px 12px 0 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .admin-body .st-skin .editor-pro-layout .pro-toolbar::-webkit-scrollbar { display: none; }
  .admin-body .st-skin .editor-pro-layout .pro-toolbar > * { flex: 0 0 auto; }
  .admin-body .st-skin .editor-pro-layout .pro-toolbar > select { flex: 0 0 auto; min-width: 104px; }
  .admin-body .st-skin .editor-pro-layout .pro-toolbar .insert-toggle { order: -1; position: sticky; left: 0; z-index: 1; box-shadow: 6px 0 10px -4px rgba(15,23,42,.18); }
  .admin-body .st-skin .editor-pro-layout .insert-popover { position: fixed; top: var(--ed-tools-bottom, 180px); left: 8px; right: 8px; z-index: 40; max-height: min(60vh, 420px); overflow-y: auto; }
}

/* v554 editor autosave: a quiet status next to "Məqalə mətni" and the offer to bring back an unsaved text. */
.ed-autosave { margin-left: 8px; color: #98a2b3; font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.ed-autosave.is-dirty { color: #b45309; }
.ed-autosave.is-saved { color: #15803d; }
.ed-autosave.is-saved::before { content: "✓ "; }
.ed-restore { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #fcd34d; border-radius: 12px; background: #fffbeb; color: #78350f; font-size: 13px; }
.ed-restore span { display: grid; gap: 2px; flex: 1 1 220px; min-width: 0; }
.ed-restore b { color: #92400e; font-size: 13.5px; }
.ed-restore button { min-height: 34px; padding: 0 14px; border: 1px solid #f59e0b; border-radius: 9px; background: #fff; color: #92400e; font-weight: 800; cursor: pointer; }
.ed-restore button.primary { background: #f59e0b; color: #fff; }
.admin-dark .ed-restore { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.4); color: #fde68a; }
.admin-dark .ed-restore b { color: #fcd34d; }

/* v555: a long file name without spaces ("26fc8945c_71_article_1313868_image_…") widened its card over the next one.
   Cards keep their column; the name wraps to two lines at most and is cut with "…". */
.admin-body .media-grid > article { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.admin-body .media-grid > article > * { min-width: 0; }
.admin-body .media-grid > article > b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; word-break: break-word; }
.admin-body .media-grid > article .media-smart-tags span, .admin-body .media-grid > article .media-card-meta span { overflow-wrap: anywhere; }

/* v555: the old site's files continue the library list (no separate tab). */
.admin-body .mm-merged { margin-top: 16px; }
.admin-body .mm-merged .mm-grid { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); gap: 14px; }
.admin-body .mm-merged-status:empty { display: none; }
.admin-body .mm-merged-status { margin: 12px 0 0; color: var(--st-muted, #64748b); font-size: 13px; text-align: center; }
.admin-body .mm-card.is-picture { padding: 0; gap: 0; }
.admin-body .mm-card.is-picture.is-broken { display: none; }
.admin-body .mm-card.is-picture figure { aspect-ratio: 16 / 11; }
.admin-body .mm-card.is-picture figcaption { justify-content: flex-end; }
.editor-picker-grid.is-old { margin-top: 12px; }
.editor-picker-grid.is-old:empty { display: none; }
.editor-picker-grid.is-old article small { display: block; margin: 6px 0; color: #667085; font-size: 11.5px; }
/* v556 */
.admin-body .mm-hero-stats .is-archive b { font-variant-numeric: tabular-nums; }
/* v557: home "more" links under news and under video news */
.latest-desktop .more-news-link + .home-video-row { margin-top: 18px; }
.tv-anchor { display: block; position: relative; top: -140px; visibility: hidden; }
.tv-news [data-video-news-more] { display: block; margin: 16px auto 0; }
.tv-news [data-video-news-more][hidden] { display: none; }
/* v559: names found automatically (face recognition or the article's text) */
.admin-body .media-smart-tags .is-person.is-auto { background: #ecfdf5; color: #047857; border: 1px dashed #34d399; }
.admin-body .media-smart-tags .is-person.is-auto::before { content: "✦ "; font-size: .85em; }
/* v559: upload progress for every picture upload */
.up-dock { position: fixed; right: 16px; bottom: 16px; z-index: 10050; display: grid; gap: 8px; width: min(320px, calc(100vw - 32px)); pointer-events: none; }
.up-row { padding: 10px 12px; border-radius: 10px; background: #fff; color: #0f172a; box-shadow: 0 10px 30px rgba(15, 23, 42, .18); border: 1px solid #e2e8f0; transition: opacity .3s, transform .3s; font: 13px/1.3 system-ui, sans-serif; }
.up-row.is-leaving { opacity: 0; transform: translateY(8px); }
.up-head { display: flex; align-items: center; gap: 8px; }
.up-head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.up-head em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; color: #e30613; }
.up-bar { display: block; height: 6px; margin: 7px 0 5px; border-radius: 99px; background: #eef2f7; overflow: hidden; }
.up-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: #e30613; transition: width .2s; }
.up-row small { color: #64748b; font-size: 12px; }
.up-row.is-done .up-bar i { background: #16a34a; }
.up-row.is-done em, .up-row.is-done small { color: #15803d; font-weight: 700; }
.up-row.is-fail .up-bar i { background: #94a3b8; }
.up-row.is-fail small { color: #b91c1c; font-weight: 700; }
@media (max-width: 860px) { .up-dock { left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: auto; } }
.up-dock[popover] { inset: auto 16px 16px auto; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; color: inherit; }
@media (max-width: 860px) { .up-dock[popover] { inset: auto 16px calc(16px + env(safe-area-inset-bottom)) 16px; } }
/* v562: media in the article text — left / centre / right / full, moved by handle or arrows */
.admin-body .media-float-bar { position: absolute; z-index: 30; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 10px; background: #0f172a; box-shadow: 0 10px 26px rgba(15, 23, 42, .28); }
.admin-body .media-float-bar[hidden] { display: none; }
.admin-body .media-float-bar button { height: 30px; min-width: 30px; padding: 0 9px; border: 0; border-radius: 7px; background: transparent; color: #e2e8f0; font: 700 12px/1 system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.admin-body .media-float-bar button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.admin-body .media-float-bar button.is-active { background: #e30613; color: #fff; }
.admin-body .media-float-bar i { width: 1px; height: 20px; margin: 0 3px; background: rgba(255, 255, 255, .2); }
.admin-body .media-float-bar .mfb-grip { cursor: grab; font-size: 17px; touch-action: none; }
.admin-body .media-float-bar.is-dragging { opacity: .92; pointer-events: auto; }
.admin-body .media-float-bar.is-dragging .mfb-grip { cursor: grabbing; }
.admin-body .media-drop-line { position: absolute; z-index: 29; height: 4px; border-radius: 4px; background: #e30613; box-shadow: 0 0 0 3px rgba(227, 6, 19, .18); pointer-events: none; }
.admin-body .media-drop-line[hidden] { display: none; }
.admin-body .rich-editor .is-media-selected { outline: 2px solid #e30613; outline-offset: 3px; }
.admin-body .rich-editor .is-media-dragging { opacity: .35; }
.admin-body .rich-editor .media-align-left { float: left; width: 46%; margin: 6px 20px 12px 0; clear: left; }
.admin-body .rich-editor .media-align-right { float: right; width: 46%; margin: 6px 0 12px 20px; clear: right; }
.admin-body .rich-editor .media-align-center { width: 70%; margin-left: auto; margin-right: auto; float: none; }
.admin-body .rich-editor::after { content: ""; display: block; clear: both; }
@media (max-width: 860px) {
  .admin-body .media-float-bar { flex-wrap: wrap; max-width: calc(100% - 8px); }
  .admin-body .media-float-bar button { height: 34px; }
}
/* Public article (computer) */
.cms-article-body .media-align-left { float: left; width: 46%; margin: 6px 22px 14px 0; clear: left; }
.cms-article-body .media-align-right { float: right; width: 46%; margin: 6px 0 14px 22px; clear: right; }
.cms-article-body .media-align-center { width: 70%; margin-left: auto; margin-right: auto; }
.cms-article-body::after { content: ""; display: block; clear: both; }
@media (max-width: 640px) {
  .cms-article-body .media-align-left, .cms-article-body .media-align-right, .cms-article-body .media-align-center { float: none; width: 100%; margin: 12px 0; }
}
.admin-body .person-more { display: flex; gap: 6px; align-items: baseline; justify-content: center; width: 100%; margin-top: 10px; padding: 10px 14px; border: 1px solid #d0d5dd; border-radius: 8px; background: #fff; color: var(--admin-blue); font-weight: 800; cursor: pointer; }
.admin-body .person-more:hover { background: #f6f9ff; }
.admin-body .person-more small { color: #98a2b3; font-weight: 600; }
.admin-body .dc-flow.is-days li { grid-template-columns: 84px 14px 56px minmax(0, 1fr) auto; }
.admin-body .dc-flow.is-days time { white-space: nowrap; }

/* ---- Sosial paylaşım (v576): page, editor previews, Ayarlar › Sosial media ---- */
.admin-body .sp-page, .admin-body .social-preview-card, .admin-body .sm-nets { --sp-line: #e4e8f0; --sp-soft: #f6f8fb; --sp-ink: #131a26; --sp-mute: #6b7485; --sp-card: #fff; }
.admin-body.admin-dark .sp-page, .admin-body.admin-dark .social-preview-card, .admin-body.admin-dark .sm-nets { --sp-line: #2a3140; --sp-soft: #1a1f2a; --sp-ink: #eef1f6; --sp-mute: #9aa3b2; --sp-card: #141821; }
.admin-body .sp-page { display: grid; gap: 16px; color: var(--sp-ink); min-width: 0; }
.admin-body .sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 1px solid var(--sp-line); border-radius: 9px; background: var(--sp-card); color: var(--sp-ink); font-family: inherit; font-weight: 600; font-size: 13.5px; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; }
.admin-body .sp-btn:hover:not(:disabled) { background: var(--sp-soft); }
.admin-body .sp-btn.primary { border-color: transparent; background: #e5112a; color: #fff; }
.admin-body .sp-btn.primary:hover:not(:disabled) { background: #c90e24; }
.admin-body .sp-btn.ghost { background: transparent; }
.admin-body .sp-btn.danger { color: #d61f2c; }
.admin-body .sp-btn:disabled { opacity: .5; cursor: not-allowed; }
.admin-body .sp-btn.is-busy { cursor: progress; }
.admin-body .sp-chip i, .admin-body .sp-tabs i, .admin-body .sm-net header > i { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-family: inherit; font-weight: 900; font-size: 11px; line-height: 1; font-style: normal; }
.admin-body .sp-net-state.is-bad { color: #c2410c; }
.admin-body .sp-net-state.is-ok { color: #15803d; }
.admin-body .sp-net-state.is-manual { color: #0f766e; }
.admin-body i.channel-facebook { background: #eaf1ff; color: #1877f2; font-size: 16px !important; }
.admin-body i.channel-telegram { background: #e9f7ff; color: #168ac1; }
.admin-body i.channel-instagram { background: #fff0f6; color: #c13584; }
.admin-body i.channel-whatsapp { background: #eafaf1; color: #128c4a; }
.admin-body .sp-pill { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; background: #eef1f5; color: #5b6576; }
.admin-body .sp-pill.is-ok { background: #e7f7ee; color: #157347; }
.admin-body .sp-pill.is-bad { background: #fdecec; color: #c0262d; }
.admin-body .sp-pill.is-wait { background: #fff5e0; color: #a15c00; }
.admin-body .sp-pill.is-manual { background: #e3f6f3; color: #0f766e; }
.admin-body .sp-pill.is-none { background: transparent; color: #9aa3b2; border: 1px dashed #d6dbe4; }
.admin-body .sp-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-body .sp-tabs button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 4px 10px 4px 5px; border: 1px solid var(--sp-line); border-radius: 10px; background: var(--sp-card); color: var(--sp-ink); font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1; cursor: pointer; }
.admin-body .sp-tabs button.active { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, .15); }
.admin-body .sp-tabs button i { width: 28px; height: 28px; }
.admin-body .sp-tabs button .sp-pill { min-height: 18px; padding: 0 6px; font-size: 10.5px; }
.admin-body .sp-edit { display: grid; gap: 12px; min-width: 0; }
.admin-body .sp-edit label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
.admin-body .sp-edit input, .admin-body .sp-edit textarea { width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid var(--sp-line); border-radius: 9px; background: var(--sp-card); color: var(--sp-ink); font-family: inherit; font-weight: 400; font-size: 14px; line-height: 1.45; }
.admin-body .sp-edit small { color: var(--sp-mute); font-weight: 400; }
.admin-body .sp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-body .sp-note { margin: 0; color: var(--sp-mute); font-size: 13px; line-height: 1.5; }
.admin-body .sp-note a { color: #1d4ed8; word-break: break-all; }
.admin-body .sp-warn { margin: 0; color: #b45309; font-size: 13px; }
.admin-body .sp-error { margin: 0; padding: 10px 12px; border-radius: 9px; background: #fdecec; color: #9f1d23; font-size: 13px; line-height: 1.45; }
.admin-body .sp-honest { margin: 0; padding: 10px 12px; border-radius: 9px; background: #eef6ff; color: #1e3a8a; font-size: 13px; line-height: 1.5; }
.admin-body.admin-dark .sp-honest { background: #172238; color: #c7d7fb; }
.admin-body .sp-mini { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 12.5px; }
.admin-body .sp-mini li { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.admin-body .sp-mini li small { flex-basis: 100%; color: #b42318; }
.admin-body .sp-mini a { color: #1d4ed8; }
.admin-body .sp-link { margin-top: 10px; padding: 0; border: 0; background: none; color: #1d4ed8; font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1.3; cursor: pointer; }
.admin-body .social-preview-card .sp-tabs { margin: 10px 0; }
.admin-body .social-preview-card .sp-tabs button { min-height: 34px; padding: 3px 8px 3px 4px; font-size: 12px; opacity: .55; }
.admin-body .social-preview-card .sp-tabs button.is-ticked { opacity: 1; }
.admin-body .social-preview-card .sp-tabs button i { width: 24px; height: 24px; font-size: 9.5px; }
.admin-body .sp-preview-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; align-items: center; margin-bottom: 8px; }
.admin-body .sp-preview-head small { font-size: 12px; }
.admin-body .sp-editor-status { margin-top: 8px; }
/* the network mock-ups */
.admin-body .spv { overflow: hidden; border: 1px solid #dfe3ea; border-radius: 12px; background: #fff; color: #050505; font: 400 13.5px/1.42 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.admin-body .spv p { margin: 0; overflow-wrap: anywhere; }
.admin-body .spv header { display: flex; gap: 8px; align-items: center; padding: 10px 12px; }
.admin-body .spv header i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e5112a; color: #fff; font-family: inherit; font-weight: 800; font-size: 13px; line-height: 1; font-style: normal; flex: none; }
.admin-body .spv header b { display: block; font-size: 13.5px; }
.admin-body .spv header small { color: #65676b; font-size: 12px; }
.admin-body .spv .is-empty { display: grid; place-items: center; background: #eef0f3 !important; color: #8a93a3; font-size: 12px; }
.admin-body .spv-fb > p { padding: 0 12px 10px; white-space: normal; }
.admin-body .spv-fb-card { display: block; border-top: 1px solid #e4e6eb; background: #f0f2f5; color: inherit; text-decoration: none; }
.admin-body .spv-fb-img { aspect-ratio: 1.91 / 1; background: center / cover no-repeat; }
.admin-body .spv-fb-card span { display: grid; gap: 2px; padding: 9px 12px; }
.admin-body .spv-fb-card small { color: #65676b; font-size: 11.5px; }
.admin-body .spv-fb-card b { font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.admin-body .spv-fb footer { display: flex; justify-content: space-around; padding: 8px 6px; border-top: 1px solid #e4e6eb; color: #65676b; font-size: 12.5px; font-weight: 600; }
.admin-body .spv-tg { padding: 12px; border: 0; background: #b9cf9b linear-gradient(160deg, #cfe2b1, #9fc08a); }
.admin-body .spv-tg-bubble { overflow: hidden; max-width: 330px; border-radius: 12px 12px 12px 4px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.12); }
.admin-body .spv-tg-img { aspect-ratio: 16 / 10; background: center / cover no-repeat; }
.admin-body .spv-tg-bubble p { padding: 8px 10px 0; }
.admin-body .spv-tg-bubble a { color: #168acd; }
.admin-body .spv-tg-bubble small { display: block; padding: 2px 10px 6px; color: #8a9aa8; font-size: 11px; text-align: right; }
.admin-body .spv-tg-btn { max-width: 330px; margin-top: 4px; padding: 8px; border-radius: 8px; background: rgba(0, 0, 0, .18); color: #fff; font-weight: 600; text-align: center; font-size: 13px; }
.admin-body .spv-wa { border: 0; background: #efeae2; }
.admin-body .spv-wa header { background: #fff; }
.admin-body .spv-wa header i { background: #25d366; }
.admin-body .spv-wa-bubble { overflow: hidden; max-width: 330px; margin: 12px; border-radius: 8px; background: #fff; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.admin-body .spv-wa-img { aspect-ratio: 16 / 10; background: center / cover no-repeat; }
.admin-body .spv-wa-bubble p { padding: 8px 10px 0; }
.admin-body .spv-wa-bubble a { color: #027eb5; word-break: break-all; }
.admin-body .spv-wa-bubble small { display: block; padding: 2px 10px 6px; color: #667781; font-size: 11px; text-align: right; }
.admin-body .spv-wa-react { margin: -6px 12px 12px; font-size: 12px; }
.admin-body .spv-ig { max-width: 360px; }
.admin-body .spv-ig header i { width: 30px; height: 30px; background: conic-gradient(#feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.admin-body .spv-ig header span { margin-left: auto; color: #262626; }
.admin-body .spv-ig-img { aspect-ratio: 1 / 1; background: center / cover no-repeat; }
.admin-body .spv-ig-actions { display: flex; gap: 14px; padding: 8px 12px 4px; font-size: 18px; }
.admin-body .spv-ig-actions .r { margin-left: auto; }
.admin-body .spv-ig p { padding: 0 12px 6px; }
.admin-body .spv-ig > small { display: block; padding: 0 12px 10px; color: #8e8e8e; font-size: 11.5px; }
/* Ayarlar › Sosial media */
.admin-body .sm-nets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-body .sm-net { display: grid; gap: 12px; align-content: start; padding: 16px; border: 1px solid var(--s-line, #e6e8ee); border-radius: 16px; background: var(--s-bg, #fff); }
.admin-body .sm-net.is-ready { border-color: #b7e4c7; }
.admin-body .sm-net header { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.admin-body .sm-net header > i { width: 34px; height: 34px; grid-row: auto; }
.admin-body .sm-net header b { display: block; }
.admin-body .sm-net header small { color: var(--s-mute, #6b7280); font-size: 12.5px; }
.admin-body .sm-fields { display: grid; gap: 10px; }
.admin-body .sm-fields .st-field { position: relative; }
.admin-body .sm-fields input { width: 100%; box-sizing: border-box; }
.admin-body .sm-set { color: #15803d; font-style: normal; font-weight: 600; font-size: 12px; }
.admin-body .sm-clear { justify-self: start; padding: 0; border: 0; background: none; color: #c0262d; font-family: inherit; font-weight: 600; font-size: 12px; line-height: 1; cursor: pointer; }
.admin-body .sm-help summary { cursor: pointer; color: #1d4ed8; font-size: 13px; font-weight: 600; }
.admin-body .sm-help p { margin: 8px 0 0; color: var(--s-mute, #6b7280); font-size: 13px; line-height: 1.55; }
.admin-body .sm-net footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-body .sm-net footer .st-btn { height: 38px; padding: 0 14px; font-size: 13px; }
.admin-body .sm-result { flex-basis: 100%; font-size: 12.5px; line-height: 1.45; }
.admin-body .sm-result.is-ok { color: #15803d; }
.admin-body .sm-result.is-bad { color: #c0262d; }
.admin-body .sm-result small { color: var(--s-mute, #6b7280); }
.admin-body .sm-switch { position: relative; display: inline-block; width: 44px; height: 26px; cursor: pointer; }
.admin-body .sm-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.admin-body .sm-switch span { position: absolute; inset: 0; border-radius: 999px; background: #d4d8e0; transition: background .15s; pointer-events: none; }
.admin-body .sm-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.admin-body .sm-switch input:checked + span { background: #16a34a; }
.admin-body .sm-switch input:checked + span::after { transform: translateX(18px); }
.admin-body .sm-comments { margin-top: 18px; }
.admin-body .sm-comments select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--s-line, #e6e8ee); border-radius: 12px; background: var(--s-bg, #fff); color: var(--s-ink, #12151c); font: inherit; }
.admin-body .st-inline-link { padding: 0; border: 0; background: none; color: #1d4ed8; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 760px) {
  .admin-body .sm-nets { grid-template-columns: minmax(0, 1fr); }
}
/* the public comment box: Facebook's own plug-in and the dark scheme */
.facebook-discussion.is-plugin { display: block; padding: 16px; }
.facebook-discussion.is-plugin .fb-plugin-title { margin: 0 0 10px; font-size: 18px; }
.facebook-discussion.is-plugin .fb-comments, .facebook-discussion.is-plugin .fb-comments span, .facebook-discussion.is-plugin .fb-comments iframe { width: 100% !important; }
.facebook-discussion.is-dark { border-color: #2b2f36; background: #18191a; color: #e4e6eb; }
.facebook-discussion.is-dark .facebook-comment-bubble { background: #3a3b3c; color: #e4e6eb; }
.facebook-discussion.is-dark select, .facebook-discussion.is-dark button { color: inherit; }

/* ---- Sosial paylaşım v579: Figma "InterPress — Sosial paylaşım" (hero, KPI cards, list + detail workspace) ---- */
.admin-body .sp-page { --sp-line: #e6eaf2; --sp-soft: #f4f6fb; --sp-ink: #0f172a; --sp-mute: #64748b; --sp-card: #fff; --sp-field: #dce2ec; --sp-sel: #eef2ff; --sp-sel-line: #c7d2fe; --sp-prev: #eef1f6; --sp-shadow: 0 10px 30px -14px rgba(15, 23, 42, .16); gap: 20px; }
.admin-body.admin-dark .sp-page { --sp-line: #262d3b; --sp-soft: #171c27; --sp-ink: #eef1f6; --sp-mute: #94a0b4; --sp-card: #121722; --sp-field: #2c3445; --sp-sel: #1c2240; --sp-sel-line: #3b4588; --sp-prev: #0d111a; --sp-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); }
/* brand tiles */
.admin-body .sp-ni { --ni: 36px; position: relative; display: inline-grid; place-items: center; flex: none; width: var(--ni); height: var(--ni); border-radius: calc(var(--ni) * .3); color: #fff; }
.admin-body .sp-ni svg { display: block; }
.admin-body .sp-ni-facebook { background: #1877f2; }
.admin-body .sp-ni-telegram { background: #229ed9; }
.admin-body .sp-ni-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.admin-body .sp-ni-whatsapp { background: #25d366; }
/* hero */
.admin-body .sp-hero { position: relative; display: grid; gap: 24px; padding: 28px; overflow: hidden; border-radius: 24px; color: #fff; background: linear-gradient(115deg, #0b1024 0%, #1e1b4b 55%, #4c1d95 100%); box-shadow: 0 18px 40px -18px rgba(30, 27, 75, .55); isolation: isolate; }
.admin-body .sp-hero::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(229, 17, 42, .35), transparent); }
.admin-body .sp-hero-top { display: flex; gap: 24px; justify-content: space-between; align-items: flex-start; }
.admin-body .sp-eyebrow { margin: 0 0 8px; color: #fca5a5; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.admin-body .sp-hero h2 { margin: 0 0 8px; color: #fff; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.admin-body .sp-hero-sub { max-width: 600px; margin: 0; color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.5; }
.admin-body .sp-hero-actions { display: flex; gap: 10px; flex: none; }
.admin-body .sp-glass { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transition: background .15s; }
.admin-body .sp-glass:hover { background: rgba(255, 255, 255, .18); }
.admin-body .sp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-body .sp-tile { display: flex; gap: 12px; align-items: center; min-width: 0; padding: 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(255, 255, 255, .07); }
.admin-body .sp-tile > div { display: grid; gap: 3px; min-width: 0; }
.admin-body .sp-tile b { color: #fff; font-size: 14px; }
.admin-body .sp-tile small { overflow: hidden; color: rgba(255, 255, 255, .55); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .sp-tile-state { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; }
.admin-body .sp-tile-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
.admin-body .sp-tile-state.is-ok { color: #4ade80; }
.admin-body .sp-tile-state.is-warn { color: #fbbf24; }
.admin-body .sp-tile-state.is-manual { color: #5eead4; }
.admin-body .sp-tile-state.is-idle { color: rgba(255, 255, 255, .6); }
/* KPI cards */
.admin-body .sp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.admin-body .sp-kpi { display: flex; gap: 14px; align-items: flex-start; min-width: 0; padding: 18px; border: 1px solid var(--sp-line); border-radius: 18px; background: var(--sp-card); box-shadow: var(--sp-shadow); }
.admin-body .sp-kpi > div { display: grid; gap: 2px; min-width: 0; }
.admin-body .sp-kpi b { color: var(--sp-ink); font-size: 28px; line-height: 1.1; font-weight: 800; }
.admin-body .sp-kpi span { color: var(--sp-ink); font-size: 13px; font-weight: 600; opacity: .85; }
.admin-body .sp-kpi small { overflow: hidden; color: var(--sp-mute); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.admin-body .sp-kpi-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; }
.admin-body .sp-kpi.is-wait .sp-kpi-icon { background: #fef3c7; color: #d97706; }
.admin-body .sp-kpi.is-bad .sp-kpi-icon { background: #fee2e2; color: #dc2626; }
.admin-body .sp-kpi.is-bad b { color: #dc2626; }
.admin-body .sp-kpi.is-calm .sp-kpi-icon { background: #f1f5f9; color: #94a3b8; }
.admin-body .sp-kpi.is-manual .sp-kpi-icon { background: #ccfbf1; color: #0f766e; }
.admin-body .sp-kpi.is-ok .sp-kpi-icon { background: #dcfce7; color: #16a34a; }
.admin-body.admin-dark .sp-kpi .sp-kpi-icon { background: color-mix(in srgb, currentColor 16%, transparent) !important; }
/* workspace */
.admin-body .sp-card { border: 1px solid var(--sp-line); border-radius: 20px; background: var(--sp-card); box-shadow: var(--sp-shadow); }
.admin-body .sp-work { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 20px; align-items: start; }
.admin-body .sp-list { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 14px; min-width: 0; max-height: calc(100vh - 96px); padding: 18px; }
.admin-body .sp-list-head { display: flex; justify-content: space-between; align-items: baseline; }
.admin-body .sp-list-head h3 { margin: 0; color: var(--sp-ink); font-size: 17px; }
.admin-body .sp-list-head small { color: var(--sp-mute); font-size: 12px; font-weight: 500; }
.admin-body .sp-search { display: flex; gap: 8px; align-items: center; padding: 0 12px; border: 1px solid var(--sp-line); border-radius: 11px; background: var(--sp-soft); color: #94a3b8; }
.admin-body .sp-search:focus-within { border-color: #818cf8; box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }
.admin-body .sp-search input { flex: 1; min-width: 0; height: 40px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--sp-ink); font-family: inherit; font-weight: 400; font-size: 13.5px; line-height: 1; box-shadow: none; }
.admin-body .sp-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--sp-soft); }
.admin-body .sp-seg button { display: inline-flex; gap: 6px; align-items: center; min-height: 30px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--sp-mute); font-family: inherit; font-weight: 600; font-size: 12.5px; line-height: 1; cursor: pointer; }
.admin-body .sp-seg button:hover { color: var(--sp-ink); }
.admin-body .sp-seg button.active { background: var(--sp-card); color: var(--sp-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.admin-body .sp-seg b { min-width: 18px; padding: 1px 6px; border-radius: 999px; background: #e2e8f0; color: #334155; font-size: 11px; text-align: center; }
.admin-body .sp-seg .is-bad b { background: #fee2e2; color: #dc2626; }
.admin-body.admin-dark .sp-seg b { background: #263042; color: #cbd5e1; }
.admin-body .sp-rows { display: grid; align-content: start; gap: 4px; flex: 1; min-height: 0; margin: 0 -8px; padding: 0 8px; overflow-y: auto; overscroll-behavior: contain; }
.admin-body .sp-row { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid transparent; border-radius: 14px; cursor: pointer; transition: background .12s, border-color .12s; outline: 0; }
.admin-body .sp-row:hover { background: var(--sp-soft); }
.admin-body .sp-row:focus-visible { border-color: #818cf8; }
.admin-body .sp-row.is-open { border-color: var(--sp-sel-line); background: var(--sp-sel); }
.admin-body .sp-thumb { display: grid; place-items: center; flex: none; width: 60px; height: 60px; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #1e3a8a, #60a5fa); color: rgba(255, 255, 255, .8); }
.admin-body .sp-thumb.is-empty { background: linear-gradient(135deg, #cbd5e1, #94a3b8); }
.admin-body .sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-body .sp-thumb.is-lg { width: 56px; height: 56px; border-radius: 14px; }
.admin-body .sp-row-main { display: grid; gap: 6px; flex: 1; min-width: 0; }
.admin-body .sp-row-main > b { display: -webkit-box; overflow: hidden; color: var(--sp-ink); font-size: 13.5px; line-height: 18px; font-weight: 600; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.admin-body .sp-row-meta { display: flex; gap: 8px; justify-content: space-between; align-items: center; }
.admin-body .sp-row-meta small { color: var(--sp-mute); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.admin-body .sp-row-meta em { color: #b45309; font-style: normal; }
.admin-body .sp-row-nets { display: flex; gap: 7px; flex: none; }
.admin-body .sp-rn { position: relative; display: inline-flex; }
.admin-body .sp-rn.is-none .sp-ni { opacity: .28; filter: saturate(.6); }
.admin-body .sp-rn > i { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 12px; height: 12px; border: 2px solid var(--sp-card); border-radius: 50%; color: #fff; }
.admin-body .sp-row.is-open .sp-rn > i { border-color: var(--sp-sel); }
.admin-body .sp-rn.is-ok > i { background: #16a34a; }
.admin-body .sp-rn.is-wait > i { background: #d97706; }
.admin-body .sp-rn.is-bad > i { background: #dc2626; }
.admin-body .sp-rn.is-manual > i { background: #0d9488; }
/* detail */
.admin-body .sp-detail { display: block; min-width: 0; overflow: hidden; scroll-margin-top: 80px; container-type: inline-size; }
.admin-body .sp-detail-empty { display: grid; place-items: center; align-content: center; gap: 10px; min-height: 320px; padding: 32px; color: var(--sp-mute); text-align: center; }
.admin-body .sp-detail-empty p { max-width: 360px; margin: 0; font-size: 13.5px; line-height: 1.5; }
.admin-body .sp-detail-empty b { color: var(--sp-ink); font-size: 16px; }
.admin-body .sp-pick-icons { display: flex; gap: 10px; margin-bottom: 6px; }
.admin-body .sp-pick-icons .sp-ni:nth-child(odd) { transform: translateY(-6px) rotate(-6deg); }
.admin-body .sp-pick-icons .sp-ni:nth-child(even) { transform: translateY(4px) rotate(5deg); }
.admin-body .sp-spin { width: 26px; height: 26px; border: 3px solid var(--sp-line); border-top-color: #6366f1; border-radius: 50%; animation: sp-spin .8s linear infinite; }
@keyframes sp-spin { to { transform: rotate(360deg); } }
.admin-body .sp-detail-head { display: flex; gap: 14px; align-items: center; padding: 20px 22px; }
.admin-body .sp-detail-title { display: grid; gap: 4px; flex: 1; min-width: 0; }
.admin-body .sp-detail-title h3 { margin: 0; color: var(--sp-ink); font-size: 18px; line-height: 1.3; font-weight: 700; }
.admin-body .sp-detail-title small { color: var(--sp-mute); font-size: 12.5px; font-weight: 500; }
.admin-body .sp-icon-btn { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--sp-soft); color: var(--sp-mute); cursor: pointer; }
.admin-body .sp-icon-btn:hover { color: var(--sp-ink); }
.admin-body .sp-ntabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 22px 16px; border-bottom: 1px solid var(--sp-line); }
.admin-body .sp-ntabs button { display: flex; gap: 10px; align-items: center; min-width: 0; padding: 10px 12px; border: 1px solid var(--sp-line); border-radius: 14px; background: var(--sp-soft); color: var(--sp-ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .12s, background .12s; }
.admin-body .sp-ntabs button:hover { border-color: #a5b4fc; }
.admin-body .sp-ntabs button.active { border-color: #818cf8; background: var(--sp-sel); box-shadow: inset 0 0 0 .5px #818cf8; }
.admin-body .sp-ntabs button > span { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.admin-body .sp-ntabs b { font-size: 13px; }
.admin-body .sp-ntabs .sp-pill { min-height: 20px; font-size: 11px; }
.admin-body .sp-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
.admin-body .sp-edit { display: grid; gap: 16px; align-content: start; padding: 20px 22px; }
.admin-body .sp-banner { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid; border-radius: 14px; }
.admin-body .sp-banner > div { display: grid; gap: 2px; flex: 1; min-width: 0; }
.admin-body .sp-banner b { font-size: 13.5px; }
.admin-body .sp-banner small { font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.admin-body .sp-banner a { display: inline-flex; gap: 4px; align-items: center; flex: none; color: inherit; font-size: 13px; font-weight: 600; text-decoration: none; }
.admin-body .sp-banner a:hover { text-decoration: underline; }
.admin-body .sp-banner-icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; }
.admin-body .sp-banner.is-ok { border-color: #bbf7d0; background: #f0fdf4; color: #15803d; }
.admin-body .sp-banner.is-ok b { color: #14532d; }
.admin-body .sp-banner.is-ok .sp-banner-icon { background: #dcfce7; color: #16a34a; }
.admin-body .sp-banner.is-bad { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.admin-body .sp-banner.is-bad b { color: #7f1d1d; }
.admin-body .sp-banner.is-bad .sp-banner-icon { background: #fee2e2; color: #dc2626; }
.admin-body .sp-banner.is-wait { border-color: #fde68a; background: #fffbeb; color: #b45309; }
.admin-body .sp-banner.is-wait b { color: #78350f; }
.admin-body .sp-banner.is-wait .sp-banner-icon { background: #fef3c7; color: #d97706; }
.admin-body .sp-banner.is-manual { border-color: #99f6e4; background: #f0fdfa; color: #0f766e; }
.admin-body .sp-banner.is-manual b { color: #134e4a; }
.admin-body .sp-banner.is-manual .sp-banner-icon { background: #ccfbf1; color: #0d9488; }
.admin-body .sp-banner.is-idle { border-color: var(--sp-line); background: var(--sp-soft); color: var(--sp-mute); }
.admin-body .sp-banner.is-idle b { color: var(--sp-ink); }
.admin-body .sp-banner.is-idle .sp-banner-icon { background: var(--sp-card); color: #6366f1; }
.admin-body.admin-dark .sp-banner:not(.is-idle) { border-color: color-mix(in srgb, currentColor 35%, transparent); background: color-mix(in srgb, currentColor 10%, transparent); }
.admin-body.admin-dark .sp-banner:not(.is-idle) b { color: inherit; filter: brightness(1.3); }
.admin-body.admin-dark .sp-banner .sp-banner-icon { background: color-mix(in srgb, currentColor 18%, transparent); color: inherit; }
.admin-body .sp-field { display: grid; gap: 7px; }
.admin-body .sp-field > span { display: flex; justify-content: space-between; gap: 8px; color: var(--sp-ink); font-size: 12.5px; font-weight: 600; opacity: .85; }
.admin-body .sp-field em { color: #94a3b8; font-style: normal; font-weight: 500; font-size: 12px; }
.admin-body .sp-field em.is-over { color: #dc2626; font-weight: 700; }
.admin-body .sp-field input, .admin-body .sp-field textarea { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid var(--sp-field); border-radius: 12px; background: var(--sp-card); color: var(--sp-ink); font-family: inherit; font-weight: 400; font-size: 13.5px; line-height: 20px; resize: vertical; transition: border-color .12s, box-shadow .12s; }
.admin-body .sp-field input:focus, .admin-body .sp-field textarea:focus { border-color: #818cf8; outline: 0; box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }
.admin-body .sp-field small { color: var(--sp-mute); font-size: 12px; font-weight: 400; }
.admin-body .sp-page .sp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-body .sp-page .sp-btn { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.admin-body .sp-page .sp-btn.primary { box-shadow: 0 6px 16px -6px rgba(229, 17, 42, .6); }
.admin-body .sp-page .sp-btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.admin-body .sp-page .sp-btn.soft { border-color: transparent; background: var(--sp-soft); }
.admin-body .sp-history h4 { margin: 4px 0 10px; color: #94a3b8; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.admin-body .sp-history ul { position: relative; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.admin-body .sp-history ul::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--sp-line); }
.admin-body .sp-history li { position: relative; display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; gap: 10px; align-items: center; color: var(--sp-ink); font-size: 13px; font-weight: 500; }
.admin-body .sp-history li i { width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; box-shadow: 0 0 0 4px color-mix(in srgb, #94a3b8 22%, transparent); }
.admin-body .sp-history li.is-ok i { background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .2); }
.admin-body .sp-history li.is-wait i { background: #4f46e5; box-shadow: 0 0 0 4px rgba(79, 70, 229, .2); }
.admin-body .sp-history li.is-bad i { background: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .2); }
.admin-body .sp-history li.is-manual i { background: #0d9488; box-shadow: 0 0 0 4px rgba(13, 148, 136, .2); }
.admin-body .sp-history li em { color: #b91c1c; font-style: normal; font-weight: 400; }
.admin-body .sp-history time { color: #94a3b8; font-size: 12px; font-weight: 400; white-space: nowrap; }
.admin-body .sp-preview-col { display: grid; gap: 12px; align-content: start; padding: 20px; background: var(--sp-prev); border-left: 1px solid var(--sp-line); }
.admin-body .sp-preview-label { display: flex; gap: 8px; align-items: center; color: var(--sp-mute); font-size: 12.5px; font-weight: 600; }
.admin-body .sp-preview-label em { margin-left: auto; color: #94a3b8; font-style: normal; font-weight: 500; font-size: 12px; }
.admin-body .sp-preview-col .spv { border: 0; border-radius: 14px; box-shadow: 0 12px 28px -12px rgba(15, 23, 42, .3); }
.admin-body .sp-preview-note { display: flex; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--sp-card) 70%, transparent); color: var(--sp-mute); font-size: 12px; line-height: 1.45; }
.admin-body .sp-preview-note svg { flex: none; margin-top: 1px; }
.admin-body .sp-page .sp-pill { min-height: 22px; padding: 0 8px 0 7px; gap: 5px; }
.admin-body .sp-page .sp-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.admin-body .sp-page .sp-pill.is-none::before { display: none; }
.admin-body .sp-page .sp-pill.is-wait { background: #e0e7ff; color: #4f46e5; }
.admin-body.admin-dark .sp-page .sp-pill:not(.is-none) { background: color-mix(in srgb, currentColor 16%, transparent); }
/* editor card: brand tiles in its tabs */
.admin-body .social-preview-card .sp-tabs button { gap: 7px; }
.admin-body .social-preview-card .sp-tabs .sp-ni { border-radius: 7px; }
@container (max-width: 720px) {
  .admin-body .sp-body { grid-template-columns: minmax(0, 1fr); }
  .admin-body .sp-preview-col { border-left: 0; border-top: 1px solid var(--sp-line); }
  .admin-body .sp-preview-col > * { width: 100%; max-width: 440px; justify-self: center; }
}
@container (max-width: 600px) {
  .admin-body .sp-ntabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1280px) {
  .admin-body .sp-tiles, .admin-body .sp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .admin-body .sp-work { grid-template-columns: minmax(0, 1fr); }
  .admin-body .sp-work > .sp-detail { order: -1; }
  .admin-body .sp-work > .sp-pick { display: none; }
  .admin-body .sp-list { position: static; max-height: none; }
}
@media (max-width: 640px) {
  .admin-body .sp-hero { padding: 20px; border-radius: 18px; }
  .admin-body .sp-hero h2 { font-size: 26px; }
  .admin-body .sp-hero-top { flex-direction: column; gap: 14px; }
  .admin-body .sp-tiles, .admin-body .sp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .admin-body .sp-tile { gap: 9px; padding: 10px; border-radius: 13px; }
  .admin-body .sp-tile .sp-ni { --ni: 32px !important; }
  .admin-body .sp-tile b { font-size: 13px; }
  .admin-body .sp-tile small { display: none; }
  .admin-body .sp-kpi { flex-direction: column; gap: 8px; padding: 12px; border-radius: 15px; }
  .admin-body .sp-kpi-icon { width: 34px; height: 34px; border-radius: 10px; }
  .admin-body .sp-kpi b { font-size: 22px; }
  .admin-body .sp-kpi span { font-size: 12px; }
  .admin-body .sp-kpi small { display: none; }
  .admin-body .sp-detail-head { flex-wrap: wrap; padding: 16px; }
  .admin-body .sp-detail-title { flex-basis: calc(100% - 70px); }
  .admin-body .sp-ntabs { padding: 0 16px 14px; }
  .admin-body .sp-edit, .admin-body .sp-preview-col { padding: 16px; }
  .admin-body .sp-row-meta { flex-wrap: wrap; }
}
/* Ayarlar › Sosial media › WhatsApp Connector (QR linking, v582) */
.admin-body .sm-wa { display: grid; gap: 10px; padding: 14px; border: 1px solid #c8f0d8; border-radius: 14px; background: linear-gradient(180deg, #f2fcf6, #fff); }
.admin-body.admin-dark .sm-wa { border-color: #1f4a33; background: #0f1c15; }
.admin-body .sm-wa .st-note { margin: 0; }
.admin-body .sm-wa-head { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.admin-body .sm-wa-head b { font-size: 13.5px; }
.admin-body .sm-wa-state { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; }
.admin-body .sm-wa-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.admin-body .sm-wa-state.is-ok { color: #15803d; }
.admin-body .sm-wa-state.is-wait { color: #b45309; }
.admin-body .sm-wa-state.is-bad { color: #c0262d; }
.admin-body .sm-wa-state.is-off { color: #64748b; }
.admin-body .sm-wa-qr { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: center; }
.admin-body .sm-wa-qr img { width: 220px; height: 220px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px -8px rgba(15, 23, 42, .3); image-rendering: pixelated; }
.admin-body .sm-wa-qr ol { display: grid; gap: 6px; margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.45; }
.admin-body .sm-wa-me { margin: 0; font-size: 14px; font-weight: 700; }
.admin-body .sm-wa footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-body .sm-wa footer .st-btn { height: 38px; padding: 0 14px; font-size: 13px; }
.admin-body .sm-wa select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--s-line, #e6e8ee); border-radius: 12px; background: var(--s-bg, #fff); color: var(--s-ink, #12151c); font: inherit; }
.admin-body .sm-wa-spin { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-width: 2px; vertical-align: -2px; }
@media (max-width: 640px) {
  .admin-body .sm-wa-qr { grid-template-columns: minmax(0, 1fr); justify-items: center; }
}
.admin-body .sm-net[data-sm-net="whatsapp"] { grid-column: 1 / -1; }
.admin-body .sm-wa-qr { justify-content: start; }

/* Manşet with no news marked "Manşetə qoy": its place stays, empty, with a short note. */
.hero-desktop.hero-empty { cursor: default; }
.hero-desktop.hero-empty::after { background: none; }
.hero-desktop.hero-empty .hero-copy { inset: 0; place-content: center; justify-items: center; text-align: center; }
.hero-desktop.hero-empty .hero-copy h1 { color: rgba(255,255,255,.62); font-size: 20px; font-weight: 700; text-shadow: none; }

/* TOP.GE counter beside the "Reklam yerləşdir" button of the footer's contact block. */
.footer-ad-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.footer-ad-row .footer-ad-link { margin-top: 0; }
.footer-topge { display: inline-flex; align-items: center; min-height: 31px; }
.footer-topge a { display: inline-flex; margin: 0 !important; }
.footer-topge img { display: block; width: 88px; height: 31px; }

/* TV ads, promos, idents, banners: "Sil" is a plain red word, not a grey sign easy to miss (owner, 2026-11-16). */
.admin-body .tvx-adspage .tvx-ad nav .tva-icon.tvx-del, .admin-body .tva .tva-icon.tvx-del { width: auto !important; min-width: 44px; padding: 0 12px; background: rgba(255,59,74,.14) !important; color: #ff8d97 !important; font-size: 13px; font-weight: 750; }
.admin-body .tvx-adspage .tvx-ad nav .tva-icon.tvx-del:hover, .admin-body .tva .tva-icon.tvx-del:hover { background: #e5232f !important; color: #fff !important; }

/* ============================================================================
   InterPress TV on-screen graphics — ONE stylesheet for every screen that draws them:
   the site's TV player (desktop + mobile), the OBS/vMix overlay page and the studio's
   preview monitors. The build appends this file to web.css and styles.css.
   Sizes are in em of the layer's font-size (1% of the picture width), so a graphic keeps
   the same proportions on a 320 px preview and on a 1920 px broadcast frame.
   ============================================================================ */
.tvp-gfx { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; container-type: inline-size; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.2; --u: max(4.6px, 1cqi); }
/* --u (1% of the picture width) is resolved on each graphic, i.e. against the .tvp-gfx container. */
.tvp-gfx > * { font-size: var(--u); }
.tvp-gfx * { box-sizing: border-box; }

/* Logo and on-air badge */
.tvp-gfx-logo { position: absolute; height: auto; max-width: 22%; filter: drop-shadow(0 .1em .4em rgba(0,0,0,.45)); }
.tvp-gfx-logo.is-tl { top: 4.5%; left: 3.5%; } .tvp-gfx-logo.is-tr { top: 4.5%; right: 3.5%; }
.tvp-gfx-logo.is-bl { bottom: 6%; left: 3.5%; } .tvp-gfx-logo.is-br { bottom: 6%; right: 3.5%; }
.tvp-gfx-bug { position: absolute; top: 4.5%; display: inline-flex; align-items: center; gap: .6em; padding: .45em .8em; border-radius: .45em; background: rgba(8,10,16,.62); backdrop-filter: blur(6px); color: #fff; font-size: calc(1.55 * var(--u)); font-weight: 800; letter-spacing: .1em; }
.tvp-gfx-bug.is-tl { left: 3.5%; } .tvp-gfx-bug.is-tr { right: 3.5%; }
.tvp-gfx-bug i { width: .65em; height: .65em; border-radius: 50%; background: #22c55e; box-shadow: 0 0 .6em #22c55e; }
.tvp-gfx-bug.is-live { background: #e50914; }
.tvp-gfx-bug.is-live i { background: #fff; box-shadow: 0 0 .6em #fff; animation: tvp-gfx-blink 1.2s steps(2) infinite; }
.tvp-gfx-bug b { padding-left: .6em; border-left: 1px solid rgba(255,255,255,.3); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.tvp-gfx-bug.is-clock b { padding: 0; border: 0; }

/* ---- Lower third: <em> tag, <b> title, <span> subtitle ---- */
.tvp-gfx-lower { position: absolute; left: 5%; bottom: 9%; display: grid; max-width: 72%; animation: tvp-gfx-in .6s cubic-bezier(.2,.8,.2,1) both; }
.tvp-gfx-lower.has-ticker { bottom: 16%; }
.tvp-gfx-lower em { justify-self: start; padding: .3em .7em; background: #0b0f17; color: #fff; font-style: normal; font-size: 1.25em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tvp-gfx-lower b { justify-self: start; padding: .35em .75em; background: #e50914; color: #fff; font-size: 2.6em; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; box-shadow: 0 .23em .77em rgba(0,0,0,.35); }
.tvp-gfx-lower span { justify-self: start; padding: .4em .9em; background: rgba(255,255,255,.96); color: #0b0f17; font-size: 1.7em; font-weight: 600; }

/* Tünd */
.tvp-gfx-lower.is-dark b { background: #0b0f17; } .tvp-gfx-lower.is-dark span { background: rgba(11,15,23,.85); color: #fff; } .tvp-gfx-lower.is-dark em { background: #e50914; }
/* Açıq */
.tvp-gfx-lower.is-light b { background: #fff; color: #0b0f17; } .tvp-gfx-lower.is-light span { background: #e50914; color: #fff; }
/* Şüşə */
.tvp-gfx-lower.is-glass b { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-left: .22em solid #e50914; }
.tvp-gfx-lower.is-glass span { background: rgba(8,10,16,.6); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tvp-gfx-lower.is-glass em { background: #e50914; }
/* Qızılı */
.tvp-gfx-lower.is-gold b { background: linear-gradient(90deg, #0b0f17, #1d2230); color: #f6d47a; border-bottom: .14em solid #d4a63a; }
.tvp-gfx-lower.is-gold span { background: #d4a63a; color: #0b0f17; }
.tvp-gfx-lower.is-gold em { background: #d4a63a; color: #0b0f17; }
/* Təcili */
.tvp-gfx-lower.is-breaking b { background: #ffd400; color: #0b0f17; }
.tvp-gfx-lower.is-breaking span { background: #e50914; color: #fff; }
.tvp-gfx-lower.is-breaking em { background: #e50914; animation: tvp-gfx-blink 1.2s steps(2) infinite; }

/* Xəbər paneli: red slanted tag, navy headline bar, light subtitle bar */
.tvp-gfx-lower.is-news { left: 3%; right: 3%; max-width: none; grid-template-columns: auto 1fr; align-items: stretch; filter: drop-shadow(0 .5em 1.2em rgba(0,0,0,.45)); }
.tvp-gfx-lower.is-news.has-ticker { bottom: 15%; }
.tvp-gfx-lower.is-news em { grid-row: 1 / span 2; grid-column: 1; position: relative; z-index: 2; display: flex; align-items: center; justify-self: stretch; max-width: 6.2em; margin-right: -1.1em; padding: .35em 1.5em .35em .75em; background: linear-gradient(135deg, #ff3b30 0%, #d70015 55%, #8f000d 100%); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 1.1em) 100%, 0 100%); font-size: 2.1em; font-weight: 900; line-height: 1.02; letter-spacing: .03em; white-space: normal; }
.tvp-gfx-lower.is-news b { grid-column: 2; justify-self: stretch; padding: .32em 1em .32em 1.6em; background: linear-gradient(90deg, #081a52 0%, #0d2d82 55%, #0a2268 100%); color: #fff; font-size: 2.5em; letter-spacing: .01em; text-transform: uppercase; box-shadow: none; border-top: .08em solid rgba(120,160,255,.55); }
.tvp-gfx-lower.is-news span { grid-column: 2; justify-self: stretch; padding: .32em 1em .32em 1.9em; background: linear-gradient(90deg, #f7f8fb 0%, #dfe3ea 70%, #b9c0cc 100%); color: #0b1020; font-size: 1.75em; }

/* Kanal: red tag column, white title with a red underline, black subtitle */
.tvp-gfx-lower.is-channel { grid-template-columns: auto auto; align-items: stretch; filter: drop-shadow(0 .4em 1em rgba(0,0,0,.4)); }
.tvp-gfx-lower.is-channel em { grid-row: 1 / span 2; display: flex; align-items: center; justify-self: stretch; padding: 0 .9em; background: #e50914; font-size: 1.35em; letter-spacing: .12em; }
.tvp-gfx-lower.is-channel b { grid-column: 2; justify-self: stretch; background: #fff; color: #0b0f17; box-shadow: inset 0 -.12em 0 #e50914; }
.tvp-gfx-lower.is-channel span { grid-column: 2; justify-self: start; background: #0b0f17; color: #fff; }

/* Mavi studiya */
.tvp-gfx-lower.is-blue b { background: linear-gradient(90deg, #0043ce, #0a84ff); border-radius: .12em .12em 0 0; }
.tvp-gfx-lower.is-blue span { background: #fff; color: #0a2a66; border-left: .25em solid #0a84ff; }
.tvp-gfx-lower.is-blue em { background: #fff; color: #0043ce; border-radius: .2em .2em 0 0; }

/* Lent: slanted ribbons */
.tvp-gfx-lower.is-ribbon { gap: .15em; }
.tvp-gfx-lower.is-ribbon em { background: #ffd400; color: #0b0f17; clip-path: polygon(.5em 0, 100% 0, calc(100% - .5em) 100%, 0 100%); padding: .3em 1.1em; }
.tvp-gfx-lower.is-ribbon b { clip-path: polygon(.35em 0, 100% 0, calc(100% - .35em) 100%, 0 100%); padding: .3em 1.1em; box-shadow: none; }
.tvp-gfx-lower.is-ribbon span { margin-left: 1.2em; background: #0b0f17; color: #fff; clip-path: polygon(.6em 0, 100% 0, calc(100% - .6em) 100%, 0 100%); padding: .35em 1.4em; }

/* İkili: tag, title and subtitle side by side on one line */
.tvp-gfx-lower.is-split { grid-auto-flow: column; align-items: stretch; filter: drop-shadow(0 .4em 1em rgba(0,0,0,.4)); }
.tvp-gfx-lower.is-split em { display: flex; align-items: center; background: #e50914; }
.tvp-gfx-lower.is-split b { background: #0b0f17; box-shadow: none; }
.tvp-gfx-lower.is-split span { display: flex; align-items: center; background: #fff; color: #0b0f17; font-weight: 700; }

/* Ağ kart */
.tvp-gfx-lower.is-white { padding: .7em 1.4em .8em 1.2em; border-left: .4em solid #e50914; border-radius: .6em; background: #fff; box-shadow: 0 .6em 1.8em rgba(0,0,0,.35); gap: .2em; }
.tvp-gfx-lower.is-white em { padding: .2em .6em; border-radius: .3em; background: #e50914; }
.tvp-gfx-lower.is-white b { padding: 0; background: none; color: #0b0f17; box-shadow: none; }
.tvp-gfx-lower.is-white span { padding: 0; background: none; color: #4b5563; font-weight: 600; }

/* Minimal: text only, a red rule on the left */
.tvp-gfx-lower.is-minimal { padding-left: .9em; border-left: .3em solid #e50914; gap: .1em; text-shadow: 0 .08em .5em rgba(0,0,0,.75); }
.tvp-gfx-lower.is-minimal em { padding: 0; background: none; color: #ff4d4f; }
.tvp-gfx-lower.is-minimal b { padding: 0; background: none; box-shadow: none; }
.tvp-gfx-lower.is-minimal span { padding: 0; background: none; color: rgba(255,255,255,.88); }

/* Premium: black fade with gold hairlines */
.tvp-gfx-lower.is-premium { padding: .9em 4em .9em 1.4em; background: linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.8) 70%, rgba(0,0,0,0)); border-top: 1px solid #d4a63a; border-bottom: 1px solid rgba(212,166,58,.5); gap: .25em; }
.tvp-gfx-lower.is-premium em { padding: .2em .6em; border: 1px solid #d4a63a; background: none; color: #f6d47a; }
.tvp-gfx-lower.is-premium b { padding: 0; background: none; box-shadow: none; letter-spacing: .02em; }
.tvp-gfx-lower.is-premium span { padding: 0; background: none; color: #d4a63a; font-size: 1.4em; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

/* İdman: green, italic, slanted */
.tvp-gfx-lower.is-sport { transform: skewX(-8deg); transform-origin: left bottom; }
.tvp-gfx-lower.is-sport em { background: #c6ff00; color: #0b0f17; }
.tvp-gfx-lower.is-sport b { background: linear-gradient(90deg, #087f3e, #12b76a); font-style: italic; text-transform: uppercase; }
.tvp-gfx-lower.is-sport span { background: #0b0f17; color: #fff; font-style: italic; }

/* Neon */
.tvp-gfx-lower.is-neon { padding: .6em 1.2em; background: rgba(5,8,20,.86); border-left: .25em solid #22d3ee; box-shadow: 0 0 1.5em rgba(34,211,238,.35), inset 0 0 .8em rgba(34,211,238,.12); gap: .15em; }
.tvp-gfx-lower.is-neon em { padding: 0; background: none; color: #22d3ee; text-shadow: 0 0 .6em #22d3ee; }
.tvp-gfx-lower.is-neon b { padding: 0; background: none; box-shadow: none; text-shadow: 0 0 .5em rgba(165,243,252,.5); }
.tvp-gfx-lower.is-neon span { padding: 0; background: none; color: #a5f3fc; }

/* Sənədli: calm serif for documentaries and interviews */
.tvp-gfx-lower.is-docu { gap: .3em; font-family: Georgia, "Times New Roman", serif; text-shadow: 0 .06em .5em rgba(0,0,0,.8); }
.tvp-gfx-lower.is-docu em { padding: 0; background: none; color: #f6d47a; font-family: Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .25em; }
.tvp-gfx-lower.is-docu b { padding: 0 0 .15em; background: none; box-shadow: none; font-weight: 700; letter-spacing: 0; border-bottom: 1px solid rgba(255,255,255,.6); }
.tvp-gfx-lower.is-docu span { padding: 0; background: none; color: rgba(255,255,255,.9); font-style: italic; font-weight: 400; }

/* ---- "Up next" strip (24/7 automation) ---- */
.tvp-gfx-next { position: absolute; left: 5%; bottom: 9%; display: grid; grid-template-columns: auto auto; align-items: stretch; max-width: 72%; animation: tvp-gfx-in .6s cubic-bezier(.2,.8,.2,1) both; box-shadow: 0 .3em 1em rgba(0,0,0,.35); }
.tvp-gfx-next.has-ticker { bottom: 16%; }
.tvp-gfx-next em { display: grid; place-items: center; padding: .35em .8em; background: #e50914; color: #fff; font-style: normal; font-size: 1.5em; font-weight: 900; letter-spacing: .1em; }
.tvp-gfx-next b { padding: .35em .8em; background: rgba(11,15,23,.9); color: #fff; font-size: 2.1em; font-weight: 800; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tvp-gfx-next span { grid-column: 2; justify-self: start; padding: .25em .8em; background: rgba(255,255,255,.95); color: #0b0f17; font-size: 1.4em; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---- News ticker ---- */
.tvp-gfx-ticker { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: stretch; height: 9%; min-height: 18px; background: rgba(8,10,16,.88); color: #fff; font-size: calc(1.75 * var(--u)); font-weight: 600; }
.tvp-gfx-ticker em { display: flex; align-items: center; padding: 0 1em; background: #e50914; color: #fff; font-style: normal; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.tvp-gfx-ticker > div { position: relative; flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tvp-gfx-ticker p { display: flex; gap: 3em; margin: 0; padding-left: 2em; white-space: nowrap; animation: tvp-gfx-ticker var(--tvp-speed, 30s) linear infinite; }
.tvp-gfx-ticker span::before { content: "●"; margin-right: 1em; color: #e50914; font-size: .7em; vertical-align: middle; }
.tvp-gfx-ticker.is-navy { background: linear-gradient(90deg, #081a52, #0d2d82 60%, #0a2268); border-top: .08em solid rgba(120,160,255,.55); }
.tvp-gfx-ticker.is-navy em { padding-right: 1.6em; background: linear-gradient(135deg, #ff3b30, #d70015 60%, #8f000d); clip-path: polygon(0 0, 100% 0, calc(100% - .8em) 100%, 0 100%); }
.tvp-gfx-ticker.is-navy span::before { color: #7aa2ff; }
.tvp-gfx-ticker.is-light { background: rgba(255,255,255,.96); color: #0b0f17; box-shadow: 0 -.2em .8em rgba(0,0,0,.25); }
.tvp-gfx-ticker.is-gold { background: #0b0f17; border-top: .1em solid #d4a63a; }
.tvp-gfx-ticker.is-gold em { background: #d4a63a; color: #0b0f17; }
.tvp-gfx-ticker.is-gold span::before { color: #d4a63a; }

/* ---- Breaking news strip ---- */
.tvp-gfx-breaking { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: stretch; height: 13%; min-height: 24px; background: #e50914; color: #fff; box-shadow: 0 -.4em 1.5em rgba(229,9,20,.35); animation: tvp-gfx-up .5s cubic-bezier(.2,.8,.2,1) both; }
.tvp-gfx-breaking.has-ticker { bottom: 9%; }
.tvp-gfx-breaking em { display: flex; align-items: center; padding: 0 1.1em; background: #ffd400; color: #0b0f17; font-style: normal; font-size: 2em; font-weight: 900; letter-spacing: .06em; }
.tvp-gfx-breaking b { display: flex; align-items: center; padding: 0 1em; font-size: 2.3em; font-weight: 800; line-height: 1.15; overflow: hidden; }
.tvp-gfx-breaking.is-yellow { background: #ffd400; color: #0b0f17; box-shadow: 0 -.4em 1.5em rgba(255,212,0,.3); }
.tvp-gfx-breaking.is-yellow em { background: #e50914; color: #fff; animation: tvp-gfx-blink 1.2s steps(2) infinite; }
.tvp-gfx-breaking.is-navy { background: linear-gradient(90deg, #081a52, #0d2d82); box-shadow: 0 -.4em 1.5em rgba(0,0,0,.4); }
.tvp-gfx-breaking.is-navy em { padding-right: 1.8em; background: linear-gradient(135deg, #ff3b30, #d70015 60%, #8f000d); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 1em) 100%, 0 100%); }
.tvp-gfx-breaking ~ .tvp-gfx-lower, .tvp-gfx-breaking ~ .tvp-gfx-sponsor, .tvp-gfx-breaking ~ .tvp-gfx-next { display: none; }

/* ---- Sponsor board ---- */
.tvp-gfx-sponsor { position: absolute; right: 3%; bottom: 6%; display: grid; justify-items: end; gap: .3em; max-width: 22%; padding: .5em .7em; border-radius: .5em; background: rgba(255,255,255,.92); box-shadow: 0 .4em 1.2em rgba(0,0,0,.3); animation: tvp-gfx-in .6s cubic-bezier(.2,.8,.2,1) both; }
.tvp-gfx-sponsor.has-ticker { bottom: 12%; }
.tvp-gfx-sponsor small { color: #6b7280; font-size: 1em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tvp-gfx-sponsor img { display: block; max-width: 100%; max-height: 5em; object-fit: contain; }

/* Fullscreen button on the site's player */
.tvp-gfx-full { position: absolute; right: 2%; bottom: 12%; width: 2.4em; height: 2.4em; border: 0; border-radius: .5em; background: rgba(8,10,16,.55); color: #fff; font-size: max(12px, 1.8cqi); cursor: pointer; pointer-events: auto; opacity: 0; transition: opacity .2s; }
[data-tv-player]:hover .tvp-gfx-full, .tvp-gfx-full:focus-visible { opacity: 1; }

@keyframes tvp-gfx-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tvp-gfx-in { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes tvp-gfx-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes tvp-gfx-blink { 50% { opacity: .55; } }
.tvp-gfx-lower.is-sport { animation-name: tvp-gfx-in-skew; }
@keyframes tvp-gfx-in-skew { from { opacity: 0; transform: skewX(-8deg) translateX(-30px); } to { opacity: 1; transform: skewX(-8deg); } }
@media (prefers-reduced-motion: reduce) { .tvp-gfx-ticker p, .tvp-gfx-lower, .tvp-gfx-lower em, .tvp-gfx-bug i, .tvp-gfx-breaking, .tvp-gfx-breaking em, .tvp-gfx-sponsor, .tvp-gfx-next { animation: none; } }

/* ============================================================================
   Placed graphics: the admin dragged it on the monitor. --px / --py = left / top in % of the picture.
   Full-width bars (Xəbər paneli, Başlıq zolağı) keep their width and move only up and down.
   ============================================================================ */
.tvp-gfx > .is-placed { left: calc(var(--px) * 1%) !important; top: calc(var(--py) * 1%) !important; right: auto !important; bottom: auto !important; }
.tvp-gfx > .tvp-gfx-lower.is-news.is-placed, .tvp-gfx > .tvp-gfx-lower.is-headline.is-placed { left: 3% !important; right: 3% !important; }
.tvp-gfx > .tvp-gfx-lower.is-headline.is-placed { left: 0 !important; right: 0 !important; }

/* ============================================================================
   Signature templates (v411): layered pieces that build on screen one after another,
   a light sweep across the headline, the InterPress TV mark on the brand styles.
   ============================================================================ */
@keyframes tvp-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tvp-wipe-up { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tvp-drop { from { opacity: 0; transform: translateY(-.5em); } to { opacity: 1; transform: none; } }
@keyframes tvp-rise { from { opacity: 0; transform: translateY(.8em); filter: blur(.25em); } to { opacity: 1; transform: none; filter: none; } }
@keyframes tvp-pop { 0% { transform: scaleX(0); } 70% { transform: scaleX(1.04); } 100% { transform: scaleX(1); } }
@keyframes tvp-sheen { 0% { transform: translateX(-130%) skewX(-18deg); } 18%, 100% { transform: translateX(230%) skewX(-18deg); } }
@keyframes tvp-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.75); } 100% { box-shadow: 0 0 0 .9em rgba(255,255,255,0); } }
@keyframes tvp-stripes { to { background-position: 4em 0; } }

/* The light sweep: a soft white band crosses the headline once a few seconds after it appears, then every 9 s. */
.tvp-gfx-lower.is-ip b, .tvp-gfx-lower.is-flagship b, .tvp-gfx-lower.is-headline b, .tvp-gfx-lower.is-news b { position: relative; overflow: hidden; }
.tvp-gfx-lower.is-ip b::after, .tvp-gfx-lower.is-flagship b::after, .tvp-gfx-lower.is-headline b::after, .tvp-gfx-lower.is-news b::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 35%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent); transform: translateX(-130%) skewX(-18deg); animation: tvp-sheen 9s 1.2s ease-in-out infinite; pointer-events: none; }
.tvp-gfx-lower.is-flagship b::after { background: linear-gradient(90deg, transparent, rgba(10,20,64,.14), transparent); }
.tvp-gfx-lower.is-news { animation: none; }
.tvp-gfx-lower.is-news em { animation: tvp-pop .45s cubic-bezier(.2,.9,.25,1) both; transform-origin: left center; }
.tvp-gfx-lower.is-news b { animation: tvp-wipe .6s .18s cubic-bezier(.65,0,.25,1) both; }
.tvp-gfx-lower.is-news span { animation: tvp-wipe .55s .38s cubic-bezier(.65,0,.25,1) both; }

/* İnterPress imza: navy glass headline with a red edge, red tag above, white subtitle carrying the channel logo */
.tvp-gfx-lower.is-ip { left: 4.5%; bottom: 10%; max-width: 74%; animation: none; filter: drop-shadow(0 .6em 1.4em rgba(0,0,0,.5)); }
.tvp-gfx-lower.is-ip.has-ticker { bottom: 15.5%; }
.tvp-gfx-lower.is-ip em { margin-bottom: .32em; padding: .34em .85em .3em; border-radius: .28em; background: linear-gradient(135deg, #ff4338, #d1001f 60%, #9e0016); color: #fff; font-size: 1.22em; font-weight: 900; letter-spacing: .16em; box-shadow: 0 .25em .7em rgba(209,0,31,.45); animation: tvp-drop .45s cubic-bezier(.2,.9,.25,1) both; }
.tvp-gfx-lower.is-ip b { justify-self: stretch; padding: .36em 1.15em .38em 1em; border-left: .2em solid #ff2a2a; background: linear-gradient(100deg, rgba(9,27,84,.97) 0%, rgba(20,58,160,.95) 58%, rgba(12,40,118,.97) 100%); color: #fff; font-size: 2.75em; font-weight: 800; letter-spacing: -.005em; box-shadow: inset 0 .06em 0 rgba(150,185,255,.45); animation: tvp-wipe .6s .12s cubic-bezier(.65,0,.25,1) both; }
.tvp-gfx-lower.is-ip span { justify-self: stretch; padding: .42em 7.4em .42em 1.4em; background: #fff url("/assets/interpress-tv-logo-classic.png") right .7em center / auto 62% no-repeat; color: #0a1f5c; font-size: 1.62em; font-weight: 700; border-left: .3em solid #0a1f5c; animation: tvp-wipe .55s .36s cubic-bezier(.65,0,.25,1) both; }

/* Flaqman: the big 24-hour news look. Red tag block, white headline, navy subtitle, red rule on top */
.tvp-gfx-lower.is-flagship { left: 4%; bottom: 10%; max-width: 84%; grid-template-columns: auto 1fr; align-items: stretch; animation: none; filter: drop-shadow(0 .7em 1.6em rgba(0,0,0,.5)); }
.tvp-gfx-lower.is-flagship.has-ticker { bottom: 15.5%; }
.tvp-gfx-lower.is-flagship::before { content: ""; position: absolute; left: 0; right: 0; top: -.32em; height: .32em; background: linear-gradient(90deg, #ff2a2a, #c8102e); transform-origin: left; animation: tvp-pop .5s cubic-bezier(.2,.9,.25,1) both; }
.tvp-gfx-lower.is-flagship em { grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: center; align-items: center; justify-self: stretch; min-width: 5.6em; padding: .4em 1em; background: linear-gradient(180deg, #e8121f, #a3000f); color: #fff; font-size: 1.7em; font-weight: 900; letter-spacing: .08em; text-align: center; line-height: 1.05; animation: tvp-wipe-up .45s cubic-bezier(.65,0,.25,1) both; }
.tvp-gfx-lower.is-flagship em::after { content: ""; width: 1.6em; height: .14em; margin-top: .35em; background: rgba(255,255,255,.75); }
.tvp-gfx-lower.is-flagship b { grid-column: 2; justify-self: stretch; padding: .3em 1em .28em; background: linear-gradient(180deg, #ffffff, #e9edf5); color: #0a1440; font-size: 2.85em; font-weight: 900; text-transform: uppercase; letter-spacing: .005em; box-shadow: none; animation: tvp-wipe .6s .18s cubic-bezier(.65,0,.25,1) both; }
.tvp-gfx-lower.is-flagship span { grid-column: 2; justify-self: stretch; padding: .36em 1.15em; background: linear-gradient(90deg, #0a1a4f, #13318a 70%, #0d2366); color: #fff; font-size: 1.62em; font-weight: 600; animation: tvp-wipe .55s .38s cubic-bezier(.65,0,.25,1) both; }

/* Aurora: frosted dark glass with a colour-gradient edge, for magazines and evening shows */
.tvp-gfx-lower.is-aurora { left: 5%; bottom: 10%; gap: .18em; padding: .75em 1.5em .85em; border: .13em solid transparent; border-radius: .9em; background: linear-gradient(rgba(10,13,28,.8), rgba(10,13,28,.8)) padding-box, linear-gradient(120deg, #ff3b6b, #8b5cf6 50%, #22d3ee) border-box; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 .8em 2em rgba(0,0,0,.45), 0 0 2.2em rgba(139,92,246,.25); animation: tvp-rise .7s cubic-bezier(.2,.8,.2,1) both; }
.tvp-gfx-lower.is-aurora.has-ticker { bottom: 15.5%; }
.tvp-gfx-lower.is-aurora em { padding: 0; background: linear-gradient(90deg, #ff7aa2, #c4b5fd 55%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.3em; font-weight: 900; letter-spacing: .2em; }
.tvp-gfx-lower.is-aurora b { padding: 0; background: none; box-shadow: none; color: #fff; font-size: 2.85em; font-weight: 800; }
.tvp-gfx-lower.is-aurora span { padding: 0; background: none; color: rgba(226,232,255,.82); font-size: 1.65em; font-weight: 500; }

/* Studiya qonağı: clean white name card, red spine, navy tag above, red role line */
.tvp-gfx-lower.is-studio { left: 5%; bottom: 10%; gap: .12em; padding: .62em 1.8em .7em 1.3em; border-left: .42em solid #e3262f; border-radius: 0 .35em .35em 0; background: linear-gradient(90deg, #ffffff 0%, #f2f5fb 100%); box-shadow: 0 .7em 1.8em rgba(0,0,0,.38); animation: tvp-rise .6s cubic-bezier(.2,.8,.2,1) both; }
.tvp-gfx-lower.is-studio.has-ticker { bottom: 15.5%; }
.tvp-gfx-lower.is-studio::after { content: ""; position: absolute; left: -.42em; right: 0; bottom: -.32em; height: .32em; background: linear-gradient(90deg, #0a1f5c, #1f4fd1); }
.tvp-gfx-lower.is-studio em { position: absolute; left: -.42em; bottom: 100%; padding: .3em .85em; background: #0a1f5c; color: #fff; font-size: 1.15em; font-weight: 800; letter-spacing: .16em; animation: tvp-drop .4s .45s both; }
.tvp-gfx-lower.is-studio b { padding: 0; background: none; box-shadow: none; color: #0a1440; font-size: 2.65em; font-weight: 800; letter-spacing: -.01em; }
.tvp-gfx-lower.is-studio span { padding: 0; background: none; color: #d1001f; font-size: 1.4em; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

/* Başlıq zolağı: full-width headline bar for the top story (moves only up and down) */
.tvp-gfx-lower.is-headline { left: 0; right: 0; bottom: 9%; max-width: none; grid-template-columns: auto 1fr; align-items: stretch; animation: none; filter: drop-shadow(0 .6em 1.4em rgba(0,0,0,.5)); }
.tvp-gfx-lower.is-headline.has-ticker { bottom: 13.5%; }
.tvp-gfx-lower.is-headline em { grid-row: 1 / span 2; display: flex; align-items: center; justify-self: stretch; padding: .3em 2.2em .3em 4.5%; background: linear-gradient(135deg, #ff3b30, #d70015 60%, #8f000d); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 1.2em) 100%, 0 100%); font-size: 1.95em; font-weight: 900; letter-spacing: .06em; white-space: nowrap; margin-right: -1.2em; z-index: 2; animation: tvp-wipe .45s cubic-bezier(.65,0,.25,1) both; }
.tvp-gfx-lower.is-headline b { grid-column: 2; justify-self: stretch; padding: .3em 4.5% .3em 2em; background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 .6em, transparent .6em 1.2em), linear-gradient(90deg, #06143f, #0c2a80 55%, #081d5c); color: #fff; font-size: 2.7em; font-weight: 800; text-transform: uppercase; box-shadow: none; border-top: .07em solid rgba(130,170,255,.6); animation: tvp-wipe .65s .15s cubic-bezier(.65,0,.25,1) both; }
.tvp-gfx-lower.is-headline span { grid-column: 2; justify-self: stretch; padding: .3em 4.5% .3em 2.4em; background: linear-gradient(90deg, #ffffff, #e3e8f1); color: #0a1440; font-size: 1.6em; font-weight: 700; animation: tvp-wipe .55s .35s cubic-bezier(.65,0,.25,1) both; }

/* Kino: cinematic, wide letter-spacing, gold hairlines on a dark fade (documentaries, culture) */
.tvp-gfx-lower.is-cinema { left: 0; bottom: 8%; gap: .3em; padding: 1.1em 8em 1.1em 5%; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.7) 55%, rgba(0,0,0,0) 100%); animation: tvp-rise .9s cubic-bezier(.2,.8,.2,1) both; }
.tvp-gfx-lower.is-cinema.has-ticker { bottom: 13%; }
.tvp-gfx-lower.is-cinema em { padding: 0 0 .3em; background: none; color: #e9c46a; font-size: 1.15em; font-weight: 700; letter-spacing: .42em; border-bottom: 1px solid rgba(233,196,106,.6); }
.tvp-gfx-lower.is-cinema b { padding: 0; background: none; box-shadow: none; color: #fff; font-size: 2.9em; font-weight: 300; letter-spacing: .14em; text-transform: uppercase; }
.tvp-gfx-lower.is-cinema span { padding: 0; background: none; color: rgba(255,255,255,.78); font-size: 1.45em; font-weight: 400; letter-spacing: .12em; }

/* ---- Ticker "InterPress": white logo cap, red label, navy band ---- */
.tvp-gfx-ticker.is-ip { background: linear-gradient(90deg, #081a52, #0f2f86 60%, #0a2268); border-top: .1em solid #e3262f; }
.tvp-gfx-ticker.is-ip::before { content: ""; flex: 0 0 9.5em; background: #fff url("/assets/interpress-tv-logo-classic.png") center / 82% auto no-repeat; }
.tvp-gfx-ticker.is-ip em { padding-right: 1.6em; background: linear-gradient(135deg, #ff3b30, #d70015 60%, #8f000d); clip-path: polygon(0 0, 100% 0, calc(100% - .8em) 100%, 0 100%); }
.tvp-gfx-ticker.is-ip span::before { color: #ff5a5a; }

/* ---- Breaking "InterPress": moving warning stripes, pulsing tag ---- */
.tvp-gfx-breaking.is-ip { background: repeating-linear-gradient(135deg, rgba(0,0,0,.14) 0 1em, transparent 1em 2em), linear-gradient(90deg, #c8001a, #ff1f2d 50%, #c8001a); background-size: 4em 100%, 100% 100%; animation: tvp-gfx-up .5s cubic-bezier(.2,.8,.2,1) both, tvp-stripes 1.6s linear infinite; }
.tvp-gfx-breaking.is-ip em { position: relative; padding-left: 2.2em; background: #fff; color: #c8001a; }
.tvp-gfx-breaking.is-ip em::before { content: ""; position: absolute; left: .8em; top: 50%; width: .55em; height: .55em; margin-top: -.275em; border-radius: 50%; background: #c8001a; animation: tvp-gfx-blink 1s steps(2) infinite; }
.tvp-gfx-breaking.is-ip b { text-shadow: 0 .06em .3em rgba(0,0,0,.35); }

/* LIVE badge: a pulse ring around the white dot */
.tvp-gfx-bug.is-live { background: linear-gradient(135deg, #ff2a36, #c8001a); box-shadow: 0 .3em .9em rgba(200,0,26,.45); }
.tvp-gfx-bug.is-live i { animation: tvp-gfx-blink 1.2s steps(2) infinite, tvp-pulse-ring 1.4s ease-out infinite; }

@media (prefers-reduced-motion: reduce) { .tvp-gfx-lower *, .tvp-gfx-lower::before, .tvp-gfx-lower::after, .tvp-gfx-ticker::before, .tvp-gfx-breaking.is-ip { animation: none !important; } }

/* ============================================================================
   Channel logo (v412): look + motion effect + holiday theme.
   The logo is a box (span) with the picture inside; --logo carries its address for the light sweep mask.
   ============================================================================ */
.tvp-gfx-logo { display: block; isolation: isolate; filter: none; }
.tvp-gfx-logo > img { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: drop-shadow(0 .1em .4em rgba(0,0,0,.45)); }
/* Looks */
.tvp-gfx-logo.lk-halo > img { filter: drop-shadow(0 0 .08em #fff) drop-shadow(0 0 .08em #fff) drop-shadow(0 0 .25em rgba(255,255,255,.9)) drop-shadow(0 .15em .5em rgba(0,0,0,.5)); }
.tvp-gfx-logo.lk-plate, .tvp-gfx-logo.lk-glass, .tvp-gfx-logo.lk-dark { padding: .55em .9em; border-radius: .55em; box-sizing: content-box; }
.tvp-gfx-logo.lk-plate { background: linear-gradient(180deg, #ffffff, #eef1f7); box-shadow: 0 .35em 1em rgba(0,0,0,.35), inset 0 -.12em 0 #e3262f; }
.tvp-gfx-logo.lk-glass { background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.85); box-shadow: 0 .35em 1em rgba(0,0,0,.28); }
.tvp-gfx-logo.lk-dark { background: rgba(6,10,24,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); }
.tvp-gfx-logo.lk-dark > img, .tvp-gfx-logo.lk-mono > img { filter: brightness(0) invert(1) drop-shadow(0 .1em .4em rgba(0,0,0,.5)); }
.tvp-gfx-logo.lk-plate > img, .tvp-gfx-logo.lk-glass > img { filter: none; }

/* Motion effects */
@keyframes tvp-lglow { 0%, 100% { filter: drop-shadow(0 0 .1em rgba(255,255,255,.6)) drop-shadow(0 0 .3em rgba(227,38,47,.35)); } 50% { filter: drop-shadow(0 0 .25em rgba(255,255,255,.95)) drop-shadow(0 0 .9em rgba(227,38,47,.75)); } }
.tvp-gfx-logo.fx-glow > img { animation: tvp-lglow 3s ease-in-out infinite; }
.tvp-gfx-logo.fx-shine::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.95) 50%, transparent 62%) -150% 0 / 250% 100% no-repeat; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; animation: tvp-lshine 6s 1s ease-in-out infinite; pointer-events: none; }
.tvp-gfx-logo.fx-shine.lk-plate::after, .tvp-gfx-logo.fx-shine.lk-glass::after, .tvp-gfx-logo.fx-shine.lk-dark::after { inset: .55em .9em; }
@keyframes tvp-lshine { 0% { background-position: 150% 0; } 30%, 100% { background-position: -150% 0; } }
.tvp-gfx-logo.fx-float { animation: tvp-lfloat 5s ease-in-out infinite; }
@keyframes tvp-lfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.35em); } }
.tvp-gfx-logo.fx-pulse > img { animation: tvp-lpulse 4s ease-in-out infinite; transform-origin: center; }
@keyframes tvp-lpulse { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.07); } 86% { transform: scale(.98); } 92% { transform: scale(1.03); } }
/* Gəl-get: every 24 s the logo leaves with a wipe and comes back */
.tvp-gfx-logo.fx-comego { animation: tvp-lcomego 24s ease-in-out infinite; }
@keyframes tvp-lcomego { 0%, 80% { clip-path: inset(-50% -50% -50% -50%); opacity: 1; transform: none; } 86% { clip-path: inset(-50% -50% -50% 100%); opacity: 0; transform: translateX(.6em); } 92% { clip-path: inset(-50% 100% -50% -50%); opacity: 0; transform: translateX(-.6em); } 100% { clip-path: inset(-50% -50% -50% -50%); opacity: 1; transform: none; } }

/* Particle layers: around the logo, bigger than it */
.tvp-lfx, .tvp-lth { position: absolute; z-index: 3; inset: -60% -12%; pointer-events: none; }
.tvp-lfx i, .tvp-lth i { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(.7em * var(--s)); height: calc(.7em * var(--s)); opacity: 0; animation-delay: var(--d); animation-duration: var(--t); animation-iteration-count: infinite; }
/* Parıltı: four-point stars that come and go */
.tvp-lfx i { background: radial-gradient(circle, #fff 0 18%, transparent 20%), conic-gradient(from 45deg, transparent 0 20%, #fff 22% 28%, transparent 30% 45%, #fff 47% 53%, transparent 55% 70%, #fff 72% 78%, transparent 80%); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); filter: drop-shadow(0 0 .25em #fff6c9); animation-name: tvp-twinkle; animation-timing-function: ease-in-out; }
.tvp-lfx i:nth-child(3n) { background: #ffe08a; filter: drop-shadow(0 0 .3em #ffcf3d); }
@keyframes tvp-twinkle { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 45%, 55% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* ---- Holiday themes: particles + one decoration ---- */
.tvp-ldeco { position: absolute; z-index: 4; pointer-events: none; background: center / contain no-repeat; }
@keyframes tvp-fall { 0% { opacity: 0; transform: translateY(-1.5em) rotate(0deg); } 12% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(4.5em) rotate(var(--r)); } }
@keyframes tvp-rise-spark { 0% { opacity: 0; transform: translateY(1.5em) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-4em) scale(.2); } }
@keyframes tvp-wave { 0%, 100% { transform: rotate(-4deg) skewY(-2deg); } 50% { transform: rotate(3deg) skewY(3deg); } }
@keyframes tvp-sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

/* Yeni il: snow, a Santa hat on the logo, a warm glow */
.tvp-gfx-logo.th-newyear .tvp-lth i { top: calc(var(--y) * .3%); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, rgba(255,255,255,.75) 55%, transparent 70%); animation-name: tvp-fall; animation-timing-function: linear; }
.tvp-gfx-logo.th-newyear .tvp-lth i:nth-child(4n) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7M9 4l3 2 3-2M9 20l3-2 3 2'/%3E%3C/svg%3E") center / contain no-repeat; border-radius: 0; width: calc(1em * var(--s)); height: calc(1em * var(--s)); }
.tvp-gfx-logo.th-newyear .tvp-ldeco { left: -4%; top: -38%; width: 17%; aspect-ratio: 1; transform: rotate(-18deg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff4b4b'/%3E%3Cstop offset='1' stop-color='%23b3001b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M9 47 Q14 18 38 10 Q55 5 58 24 Q50 17 45 25 Q41 35 47 47 Z' fill='url(%23r)'/%3E%3Crect x='4' y='43' width='48' height='13' rx='6.5' fill='%23fff'/%3E%3Ccircle cx='57' cy='25' r='7' fill='%23fff'/%3E%3C/svg%3E"); filter: drop-shadow(0 .1em .25em rgba(0,0,0,.4)); }
.tvp-gfx-logo.lk-clean.th-newyear > img { filter: drop-shadow(0 0 .3em rgba(255,215,120,.8)) drop-shadow(0 .1em .4em rgba(0,0,0,.45)); }

/* Novruz: rising fire sparks, a semeni beside the logo */
.tvp-gfx-logo.th-novruz .tvp-lth i { top: auto; bottom: calc(var(--y) * .25%); border-radius: 50%; background: radial-gradient(circle, #fff7c2 0 25%, #ffb020 45%, rgba(255,80,0,0) 72%); filter: drop-shadow(0 0 .3em #ff7a00); animation-name: tvp-rise-spark; animation-timing-function: ease-out; }
.tvp-gfx-logo.th-novruz .tvp-ldeco { right: -16%; bottom: -14%; width: 19%; aspect-ratio: 1; transform-origin: bottom center; animation: tvp-sway 4s ease-in-out infinite; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg stroke='%2322a33a' stroke-width='2.6' stroke-linecap='round' fill='none'%3E%3Cpath d='M32 42 Q30 22 33 4'/%3E%3Cpath d='M27 42 Q22 24 18 9'/%3E%3Cpath d='M37 42 Q42 24 47 9'/%3E%3Cpath d='M22 42 Q14 30 8 18'/%3E%3Cpath d='M42 42 Q50 30 56 18'/%3E%3Cpath d='M30 42 Q26 28 26 14' stroke='%2346c35a'/%3E%3Cpath d='M35 42 Q38 28 39 14' stroke='%2346c35a'/%3E%3C/g%3E%3Cpath d='M10 42 H54 L49 58 H15 Z' fill='%23c98a2b'/%3E%3Crect x='9' y='41' width='46' height='6' rx='2' fill='%23e3262f'/%3E%3C/svg%3E"); filter: drop-shadow(0 .1em .25em rgba(0,0,0,.45)); }
.tvp-gfx-logo.lk-clean.th-novruz > img { filter: drop-shadow(0 0 .3em rgba(255,140,0,.7)) drop-shadow(0 .1em .4em rgba(0,0,0,.45)); }

/* Gürcüstan milli bayramı: a waving Georgian flag, red and white confetti */
.tvp-gfx-logo.th-georgia .tvp-lth i, .tvp-gfx-logo.th-azerbaijan .tvp-lth i { top: calc(var(--y) * .3%); width: calc(.38em * var(--s)); height: calc(.7em * var(--s)); border-radius: .08em; background: #fff; animation-name: tvp-fall; animation-timing-function: linear; }
.tvp-gfx-logo.th-georgia .tvp-lth i[style*="--c:1"] { background: #e8112d; }
.tvp-gfx-logo.th-georgia .tvp-ldeco, .tvp-gfx-logo.th-azerbaijan .tvp-ldeco { left: -21%; top: 4%; width: 18%; aspect-ratio: 3 / 2; border-radius: .08em; transform-origin: left center; animation: tvp-wave 2.6s ease-in-out infinite; box-shadow: 0 .1em .35em rgba(0,0,0,.4); }
.tvp-gfx-logo.th-georgia .tvp-ldeco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23fff'/%3E%3Crect x='13' width='4' height='20' fill='%23e8112d'/%3E%3Crect y='8' width='30' height='4' fill='%23e8112d'/%3E%3Cg fill='%23e8112d'%3E%3Cpath d='M5.8 2.2h1.4v1.1h1.1v1.4H7.2v1.1H5.8V4.7H4.7V3.3h1.1z'/%3E%3Cpath d='M22.8 2.2h1.4v1.1h1.1v1.4h-1.1v1.1h-1.4V4.7h-1.1V3.3h1.1z'/%3E%3Cpath d='M5.8 14.2h1.4v1.1h1.1v1.4H7.2v1.1H5.8v-1.1H4.7v-1.4h1.1z'/%3E%3Cpath d='M22.8 14.2h1.4v1.1h1.1v1.4h-1.1v1.1h-1.4v-1.1h-1.1v-1.4h1.1z'/%3E%3C/g%3E%3C/svg%3E"); }

/* Azərbaycan milli bayramı: a waving Azerbaijani flag, blue, red and green confetti */
.tvp-gfx-logo.th-azerbaijan .tvp-lth i { background: #00b5e2; }
.tvp-gfx-logo.th-azerbaijan .tvp-lth i[style*="--c:1"] { background: #ef3340; }
.tvp-gfx-logo.th-azerbaijan .tvp-lth i[style*="--c:2"] { background: #509e2f; }
.tvp-gfx-logo.th-azerbaijan .tvp-ldeco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23509e2f'/%3E%3Crect width='30' height='13.34' fill='%23ef3340'/%3E%3Crect width='30' height='6.67' fill='%2300b5e2'/%3E%3Ccircle cx='14.1' cy='10' r='2.9' fill='%23fff'/%3E%3Ccircle cx='14.85' cy='10' r='2.35' fill='%23ef3340'/%3E%3Cpath fill='%23fff' d='M17.6 8.75l.4.83.9-.3-.3.9.83.4-.83.4.3.9-.9-.3-.4.83-.4-.83-.9.3.3-.9-.83-.4.83-.4-.3-.9.9.3z'/%3E%3C/svg%3E"); }

/* Bayram (Ramazan / Qurban): a golden crescent and star, golden sparkles */
.tvp-gfx-logo.th-bayram .tvp-lth i { border-radius: 50%; background: radial-gradient(circle, #fff6d6 0 20%, #f5c542 45%, transparent 70%); filter: drop-shadow(0 0 .3em #f5c542); animation-name: tvp-twinkle; animation-timing-function: ease-in-out; }
.tvp-gfx-logo.th-bayram .tvp-ldeco { right: -13%; top: -34%; width: 14%; aspect-ratio: 1; animation: tvp-sway 5s ease-in-out infinite; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ffe9a3'/%3E%3Cstop offset='1' stop-color='%23d39b16'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M38 6a26 26 0 1 0 20 42A21 21 0 1 1 38 6z' fill='url(%23g)'/%3E%3Cpath d='M48 20l2.6 5.6 6.2.7-4.6 4.2 1.3 6.1-5.5-3.1-5.4 3.1 1.2-6.1-4.6-4.2 6.2-.7z' fill='url(%23g)'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 .3em rgba(245,197,66,.8)); }
.tvp-gfx-logo.lk-clean.th-bayram > img { filter: drop-shadow(0 0 .3em rgba(245,197,66,.75)) drop-shadow(0 .1em .4em rgba(0,0,0,.45)); }

@media (prefers-reduced-motion: reduce) { .tvp-gfx-logo, .tvp-gfx-logo *, .tvp-gfx-logo::after { animation: none !important; } .tvp-lfx, .tvp-lth { display: none; } }
/* v412 tuning: bigger particles and decorations; falling / rising ones pass behind the logo, stars sit around it */
.tvp-lth { z-index: 0; }
.tvp-gfx-logo.th-bayram .tvp-lth { z-index: 3; }
.tvp-lfx i { width: calc(1.7em * var(--s)); height: calc(1.7em * var(--s)); }
.tvp-gfx-logo.th-newyear .tvp-lth i { width: calc(1.1em * var(--s)); height: calc(1.1em * var(--s)); }
.tvp-gfx-logo.th-newyear .tvp-lth i:nth-child(4n) { width: calc(1.7em * var(--s)); height: calc(1.7em * var(--s)); }
.tvp-gfx-logo.th-novruz .tvp-lth i { width: calc(1.05em * var(--s)); height: calc(1.05em * var(--s)); }
.tvp-gfx-logo.th-georgia .tvp-lth i, .tvp-gfx-logo.th-azerbaijan .tvp-lth i { width: calc(.55em * var(--s)); height: calc(1em * var(--s)); }
.tvp-gfx-logo.th-bayram .tvp-lth i { width: calc(1.3em * var(--s)); height: calc(1.3em * var(--s)); }
@keyframes tvp-fall { 0% { opacity: 0; transform: translateY(-2em) rotate(0deg); } 12% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(7em) rotate(var(--r)); } }
@keyframes tvp-rise-spark { 0% { opacity: 0; transform: translateY(2em) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6em) scale(.2); } }
.tvp-gfx-logo.th-newyear .tvp-ldeco { left: -9%; top: -62%; width: 27%; }
.tvp-gfx-logo.th-novruz .tvp-ldeco { right: -27%; bottom: -30%; width: 30%; }
.tvp-gfx-logo.th-georgia .tvp-ldeco, .tvp-gfx-logo.th-azerbaijan .tvp-ldeco { left: -31%; top: 0; width: 27%; }
.tvp-gfx-logo.th-bayram .tvp-ldeco { right: -20%; top: -58%; width: 22%; }
.tvp-gfx-logo.lk-plate.th-newyear .tvp-ldeco, .tvp-gfx-logo.lk-glass.th-newyear .tvp-ldeco, .tvp-gfx-logo.lk-dark.th-newyear .tvp-ldeco { left: -6%; top: -42%; }
/* Nəfəs alan işıq glows the whole logo box, so it works with every look (Ağ, Tünd lövhə...) */
.tvp-gfx-logo.fx-glow > img { animation: none; }
.tvp-gfx-logo.fx-glow { animation: tvp-lglow 3s ease-in-out infinite; }
/* Decorations stay inside the picture: on a logo at the right edge they go to its left side, and the other way round */
.tvp-gfx-logo.is-tr.th-bayram .tvp-ldeco, .tvp-gfx-logo.is-br.th-bayram .tvp-ldeco { right: auto; left: -17%; }
.tvp-gfx-logo.is-tr.th-novruz .tvp-ldeco, .tvp-gfx-logo.is-br.th-novruz .tvp-ldeco { right: auto; left: -27%; }
.tvp-gfx-logo.is-tl.th-georgia .tvp-ldeco, .tvp-gfx-logo.is-bl.th-georgia .tvp-ldeco, .tvp-gfx-logo.is-tl.th-azerbaijan .tvp-ldeco, .tvp-gfx-logo.is-bl.th-azerbaijan .tvp-ldeco { left: auto; right: -31%; transform-origin: right center; }
.tvp-gfx-logo.is-bl.th-newyear .tvp-ldeco, .tvp-gfx-logo.is-br.th-newyear .tvp-ldeco { top: -50%; }

/* ---- v413 effects ---- */
/* Neon: the logo as white neon tubes with a red-blue glow and a rare flicker */
@keyframes tvp-neon { 0%, 18%, 22%, 62%, 64%, 100% { filter: brightness(0) invert(1) drop-shadow(0 0 .06em #fff) drop-shadow(0 0 .25em #ff2a4a) drop-shadow(0 0 .7em #ff2a4a) drop-shadow(0 0 1.2em rgba(60,120,255,.8)); } 20%, 63% { filter: brightness(0) invert(.55) drop-shadow(0 0 .05em rgba(255,255,255,.3)); } }
.tvp-gfx-logo.fx-neon > img { animation: tvp-neon 5s linear infinite; }
/* Holoqram: a rainbow sheen moving over the letters */
.tvp-gfx-logo.fx-holo::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(110deg, #ff3b6b, #ffd23b 20%, #3bff9d 40%, #3bc8ff 60%, #a63bff 80%, #ff3b6b) 0 0 / 300% 100%; mix-blend-mode: color; opacity: .85; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; animation: tvp-holo 4s linear infinite; pointer-events: none; }
.tvp-gfx-logo.fx-holo.lk-plate::after, .tvp-gfx-logo.fx-holo.lk-glass::after, .tvp-gfx-logo.fx-holo.lk-dark::after { inset: .55em .9em; }
@keyframes tvp-holo { to { background-position: 300% 0; } }
/* Orbit: a small comet of light runs around the logo */
.tvp-gfx-logo.fx-orbit::before { content: ""; position: absolute; z-index: 5; width: .7em; height: .7em; margin: -.35em 0 0 -.35em; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, #ffd9de 45%, rgba(255,42,74,0) 72%); box-shadow: 0 0 .6em .2em rgba(255,42,74,.7), 0 0 1.4em .4em rgba(255,255,255,.35); animation: tvp-orbit 5s linear infinite; pointer-events: none; }
@keyframes tvp-orbit { 0% { left: 0; top: 0; } 35% { left: 100%; top: 0; } 50% { left: 100%; top: 100%; } 85% { left: 0; top: 100%; } 100% { left: 0; top: 0; } }
@media (prefers-reduced-motion: reduce) { .tvp-gfx-logo::before { animation: none !important; display: none; } }

/* ============================================================================
   Bottom banner ad (v414): a wide picture, or logo + title + text + call to action.
   Sits at the bottom (above the ticker); lower thirds, "up next" and the sponsor move up while it is on.
   ============================================================================ */
@keyframes tvp-bn-in { from { opacity: 0; transform: translateY(120%); } to { opacity: 1; transform: none; } }
.tvp-gfx-banner { position: absolute; left: 3%; right: 3%; bottom: 3.5%; height: 11.5%; display: flex; align-items: stretch; border-radius: .7em; overflow: visible; box-shadow: 0 .6em 1.8em rgba(0,0,0,.45); animation: tvp-bn-in .6s cubic-bezier(.2,.8,.2,1) both; }
.tvp-gfx-banner.has-ticker { bottom: 11%; }
.tvp-gfx > .tvp-gfx-banner.is-placed { left: 3% !important; right: 3% !important; }
.tvp-gfx-banner > em { position: absolute; left: 1.2em; bottom: 100%; margin-bottom: -.1em; padding: .25em .7em .2em; border-radius: .35em .35em 0 0; background: #f5c542; color: #1a1200; font-style: normal; font-size: 1.05em; font-weight: 900; letter-spacing: .18em; }
.tvp-gfx-banner.is-pic { background: #000; }
.tvp-bn-pic { width: 100%; height: 100%; object-fit: cover; border-radius: .7em; display: block; }
.tvp-bn-logo { flex: 0 0 auto; display: grid; place-items: center; padding: 0 1.4em; border-radius: .7em 0 0 .7em; background: #fff; }
.tvp-bn-logo img { display: block; max-height: 72%; max-width: 13em; height: auto; width: auto; object-fit: contain; }
.tvp-bn-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .15em; padding: 0 1.6em; }
.tvp-bn-txt b { font-size: 2.45em; font-weight: 800; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvp-bn-txt span { font-size: 1.45em; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.tvp-bn-cta { flex: 0 0 auto; align-self: center; margin-right: 1.2em; padding: .5em 1.1em; border-radius: .5em; font-size: 1.85em; font-weight: 900; letter-spacing: .02em; white-space: nowrap; }
/* InterPress: navy glass, red call to action with a light sweep */
.tvp-gfx-banner.is-ip { background: linear-gradient(100deg, #0a1f5c, #143a9c 60%, #0d2b7a); color: #fff; border-top: .14em solid #e3262f; }
.tvp-gfx-banner.is-ip .tvp-bn-cta { position: relative; overflow: hidden; background: linear-gradient(135deg, #ff3b30, #c8001a); color: #fff; box-shadow: 0 .3em .8em rgba(200,0,26,.45); }
.tvp-gfx-banner.is-ip .tvp-bn-cta::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); transform: translateX(-150%) skewX(-18deg); animation: tvp-sheen 4.5s 1s ease-in-out infinite; }
/* Ağ */
.tvp-gfx-banner.is-white { background: linear-gradient(180deg, #fff, #eef1f7); color: #0a1440; border-left: .5em solid #e3262f; }
.tvp-gfx-banner.is-white .tvp-bn-logo { border-right: 1px solid #e2e8f0; }
.tvp-gfx-banner.is-white .tvp-bn-cta { background: #0a1f5c; color: #fff; }
/* Tünd */
.tvp-gfx-banner.is-dark { background: rgba(8,10,18,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255,255,255,.12); }
.tvp-gfx-banner.is-dark .tvp-bn-cta { background: #fff; color: #0b0f17; }
/* Qızılı */
.tvp-gfx-banner.is-gold { background: linear-gradient(90deg, #0b0f17, #1d2230); color: #f6d47a; border-top: .12em solid #d4a63a; border-bottom: .12em solid #d4a63a; }
.tvp-gfx-banner.is-gold .tvp-bn-txt span { color: #fff; }
.tvp-gfx-banner.is-gold .tvp-bn-cta { background: linear-gradient(135deg, #f6d47a, #c8961f); color: #1a1200; }
/* Qırmızı */
.tvp-gfx-banner.is-red { background: linear-gradient(100deg, #b3001b, #e8121f 60%, #b3001b); color: #fff; }
.tvp-gfx-banner.is-red .tvp-bn-cta { background: #ffd400; color: #1a1200; }
.tvp-gfx-banner.is-red > em { background: #fff; color: #b3001b; }
/* Others make room while the banner is on */
.tvp-gfx-lower.has-banner:not(.is-placed), .tvp-gfx-next.has-banner:not(.is-placed) { bottom: 19% !important; }
.tvp-gfx-lower.has-banner.has-ticker:not(.is-placed), .tvp-gfx-next.has-banner.has-ticker:not(.is-placed) { bottom: 26% !important; }
.tvp-gfx-sponsor.has-banner:not(.is-placed) { bottom: 19% !important; }
.tvp-gfx-sponsor.has-banner.has-ticker:not(.is-placed) { bottom: 26% !important; }
/* Banner: entrance motions (bm-*) — the parts arrive one after another like a broadcast package */
.tvp-bn-picbox { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: .7em; }
.tvp-gfx-banner.bm-wipe { animation: tvp-bn-wipe .8s cubic-bezier(.7,0,.2,1) both; }
.tvp-gfx-banner.bm-flip { transform-origin: 50% 100%; animation: tvp-bn-flip .85s cubic-bezier(.2,.9,.25,1.15) both; }
.tvp-gfx-banner.bm-zoom { animation: tvp-bn-zoom .7s cubic-bezier(.2,.9,.25,1.2) both; }
.tvp-gfx-banner.bm-drop { animation: tvp-bn-drop .9s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes tvp-bn-wipe { from { clip-path: inset(-80% 100% -30% 0 round .7em); } to { clip-path: inset(-80% -5% -30% 0 round .7em); } }
@keyframes tvp-bn-flip { from { opacity: 0; transform: perspective(60em) rotateX(95deg); } to { opacity: 1; transform: perspective(60em) rotateX(0); } }
@keyframes tvp-bn-zoom { from { opacity: 0; transform: scale(.55); } 70% { opacity: 1; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes tvp-bn-drop { from { opacity: 0; transform: translateY(-140%); } to { opacity: 1; transform: none; } }
@keyframes tvp-bn-pop { from { opacity: 0; transform: translateX(-1.2em); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes tvp-bn-cta-in { from { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.12); } to { opacity: 1; transform: none; } }
.tvp-gfx-banner .tvp-bn-logo { animation: tvp-bn-pop .5s .3s cubic-bezier(.2,.8,.2,1) both; }
.tvp-gfx-banner .tvp-bn-txt b { animation: tvp-bn-pop .55s .42s cubic-bezier(.2,.8,.2,1) both; }
.tvp-gfx-banner .tvp-bn-txt span { animation: tvp-bn-pop .55s .55s cubic-bezier(.2,.8,.2,1) both; }
.tvp-gfx-banner .tvp-bn-cta { animation: tvp-bn-cta-in .6s .7s cubic-bezier(.2,.9,.25,1.2) both; }
.tvp-gfx-banner > em { animation: tvp-bn-pop .45s .85s ease-out both; }
/* Banner: running effects (bf-*) */
.tvp-gfx-banner.bf-shine::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.26) 50%, transparent 58%) no-repeat; background-size: 260% 100%; animation: tvp-bn-shine 5s 1.4s ease-in-out infinite; }
@keyframes tvp-bn-shine { 0% { background-position: 130% 0; } 35%, 100% { background-position: -30% 0; } }
.tvp-gfx-banner.bf-pulse .tvp-bn-cta { animation: tvp-bn-cta-in .6s .7s cubic-bezier(.2,.9,.25,1.2) both, tvp-bn-beat 1.6s 1.5s ease-in-out infinite; }
@keyframes tvp-bn-beat { 0%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 45% { transform: scale(1.07); box-shadow: 0 0 0 .5em rgba(255,255,255,0); } }
.tvp-gfx-banner.bf-glow { animation-name: tvp-bn-in; }
.tvp-gfx-banner.bf-glow::before { content: ""; position: absolute; inset: -.2em; border-radius: .85em; pointer-events: none; z-index: -1; box-shadow: 0 0 1.4em .2em rgba(255,200,60,.0); animation: tvp-bn-glow 2.6s 1s ease-in-out infinite; }
.tvp-gfx-banner.bm-wipe.bf-glow { animation-name: tvp-bn-wipe; } .tvp-gfx-banner.bm-flip.bf-glow { animation-name: tvp-bn-flip; } .tvp-gfx-banner.bm-zoom.bf-glow { animation-name: tvp-bn-zoom; } .tvp-gfx-banner.bm-drop.bf-glow { animation-name: tvp-bn-drop; }
@keyframes tvp-bn-glow { 0%, 100% { box-shadow: 0 0 .6em 0 rgba(255,200,60,.15); } 50% { box-shadow: 0 0 1.8em .35em rgba(255,200,60,.65); } }
.tvp-gfx-banner.bf-kenburns .tvp-bn-pic { animation: tvp-bn-kb 14s ease-in-out infinite alternate; transform-origin: 30% 50%; }
.tvp-gfx-banner.bf-kenburns .tvp-bn-logo img { animation: tvp-bn-kb 6s ease-in-out infinite alternate; }
@keyframes tvp-bn-kb { from { transform: scale(1); } to { transform: scale(1.09); } }
.tvp-gfx-banner.bf-none .tvp-bn-cta::after { display: none; }
.tvp-gfx-breaking ~ .tvp-gfx-banner { display: none; }
@media (prefers-reduced-motion: reduce) { .tvp-gfx-banner, .tvp-gfx-banner * { animation: none !important; } }

/* ============================================================================
   v464 logo studio: holiday art placed on the channel logo itself, and effects that never recolour the logo.
   --px/--py: the padding of plate/glass/dark looks, so decorations land on the picture, not on the plate.
   Positions with .is-ip are measured on the default InterPress TV logo (the "V" of "TV").
   ============================================================================ */
.tvp-gfx-logo { --px: 0em; --py: 0em; }
.tvp-gfx-logo.lk-plate, .tvp-gfx-logo.lk-glass, .tvp-gfx-logo.lk-dark { --px: .9em; --py: .55em; }
@keyframes tvp-heartbeat { 0%, 62%, 100% { transform: rotate(var(--rot, 0deg)) scale(1); } 70% { transform: rotate(var(--rot, 0deg)) scale(1.09); } 78% { transform: rotate(var(--rot, 0deg)) scale(.98); } 86% { transform: rotate(var(--rot, 0deg)) scale(1.05); } }
/* Flags: a heart-shaped flag */
@keyframes tvp-heartbeat { 0%, 100% { transform: perspective(8em) rotateY(0) scale(1); } 8% { transform: perspective(8em) rotateY(0) scale(1.07); } 14% { transform: perspective(8em) rotateY(0) scale(.99); } 20% { transform: perspective(8em) rotateY(0) scale(1.04); } 26%, 58% { transform: perspective(8em) rotateY(0) scale(1); } 66% { transform: perspective(8em) rotateY(180deg) scale(1.05); } 74%, 99.9% { transform: perspective(8em) rotateY(360deg) scale(1); } }
/* Small hearts in the flag's colours float up and spin around the logo */
@keyframes tvp-heart-fly { 0% { opacity: 0; transform: translateY(1.2em) rotate(0) rotateY(0) scale(.6); } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-4.2em) rotate(var(--r)) rotateY(540deg) scale(1); } }
.tvp-gfx-logo.th-georgia .tvp-lth i, .tvp-gfx-logo.th-azerbaijan .tvp-lth i { top: auto; bottom: calc(var(--y) * .3%); width: calc(1.6em * var(--s)); height: calc(1.45em * var(--s)); border-radius: 0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21C5 15.5 1 11.6 1 7A5.6 5.6 0 0 1 12 4.6 5.6 5.6 0 0 1 23 7c0 4.6-4 8.5-11 14z'/%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 22'%3E%3Cpath d='M12 21C5 15.5 1 11.6 1 7A5.6 5.6 0 0 1 12 4.6 5.6 5.6 0 0 1 23 7c0 4.6-4 8.5-11 14z'/%3E%3C/svg%3E") center / contain no-repeat; animation-name: tvp-heart-fly; animation-timing-function: ease-out; }
.tvp-gfx-logo.th-georgia .tvp-ldeco, .tvp-gfx-logo.th-azerbaijan .tvp-ldeco { left: -26%; top: -8%; width: 22%; aspect-ratio: 210 / 145; border-radius: 0; box-shadow: none; transform-origin: 45% 70%; animation: tvp-heartbeat 7s ease-in-out infinite; filter: drop-shadow(0 0 .03em rgba(10,20,50,.75)) drop-shadow(0 .08em .25em rgba(0,0,0,.45)); }
.tvp-gfx-logo.th-georgia .tvp-ldeco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 210 145'%3E%3Cdefs%3E%3CclipPath id='h'%3E%3Cpath d='M45 140 C30 124 12 80 6 46 C2 22 16 6 40 6 C62 6 82 16 90 30 C100 12 122 3 148 3 C178 3 206 14 203 30 C200 50 160 80 120 102 C95 116 70 128 45 140 Z'/%3E%3C/clipPath%3E %3CradialGradient id='g' cx='.3' cy='.2' r='.7'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.5'/%3E%3Cstop offset='.5' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E %3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.5' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E %3Cg clip-path='url(%23h)'%3E%3Crect width='210' height='145' fill='%23fff'/%3E%3Crect x='88' width='22' height='145' fill='%23e8112d'/%3E%3Crect y='38' width='210' height='20' fill='%23e8112d'/%3E%3Cpath d='M47.5 14.5h5v5.0h5.0v5h-5.0v5.0h-5v-5.0h-5.0v-5h5.0z' fill='%23e8112d'/%3E%3Cpath d='M147.5 14.5h5v5.0h5.0v5h-5.0v5.0h-5v-5.0h-5.0v-5h5.0z' fill='%23e8112d'/%3E%3Cpath d='M47.5 72.5h5v5.0h5.0v5h-5.0v5.0h-5v-5.0h-5.0v-5h5.0z' fill='%23e8112d'/%3E%3Cpath d='M137.5 68.5h5v5.0h5.0v5h-5.0v5.0h-5v-5.0h-5.0v-5h5.0z' fill='%23e8112d'/%3E%3Crect width='210' height='145' fill='url(%23s)'/%3E%3Crect width='210' height='145' fill='url(%23g)'/%3E%3C/g%3E %3Cpath d='M45 140 C30 124 12 80 6 46 C2 22 16 6 40 6 C62 6 82 16 90 30 C100 12 122 3 148 3 C178 3 206 14 203 30 C200 50 160 80 120 102 C95 116 70 128 45 140 Z' fill='none' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tvp-gfx-logo.th-azerbaijan .tvp-ldeco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 210 145'%3E%3Cdefs%3E%3CclipPath id='h'%3E%3Cpath d='M45 140 C30 124 12 80 6 46 C2 22 16 6 40 6 C62 6 82 16 90 30 C100 12 122 3 148 3 C178 3 206 14 203 30 C200 50 160 80 120 102 C95 116 70 128 45 140 Z'/%3E%3C/clipPath%3E %3CradialGradient id='g' cx='.3' cy='.2' r='.7'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.5'/%3E%3Cstop offset='.5' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E %3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.5' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='.25'/%3E%3C/linearGradient%3E%3C/defs%3E %3Cg clip-path='url(%23h)'%3E%3Crect width='210' height='46' fill='%2300b5e2'/%3E%3Crect y='44' width='210' height='38' fill='%23ef3340'/%3E%3Crect y='80' width='210' height='65' fill='%23509e2f'/%3E%3Ccircle cx='86' cy='62' r='14' fill='%23fff'/%3E%3Ccircle cx='91' cy='62' r='11.3' fill='%23ef3340'/%3E%3Cpolygon points='104.00,55.00 105.22,59.04 108.95,57.05 106.96,60.78 111.00,62.00 106.96,63.22 108.95,66.95 105.22,64.96 104.00,69.00 102.78,64.96 99.05,66.95 101.04,63.22 97.00,62.00 101.04,60.78 99.05,57.05 102.78,59.04' fill='%23fff'/%3E%3Crect width='210' height='145' fill='url(%23s)'/%3E%3Crect width='210' height='145' fill='url(%23g)'/%3E%3C/g%3E %3Cpath d='M45 140 C30 124 12 80 6 46 C2 22 16 6 40 6 C62 6 82 16 90 30 C100 12 122 3 148 3 C178 3 206 14 203 30 C200 50 160 80 120 102 C95 116 70 128 45 140 Z' fill='none' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tvp-gfx-logo.is-tl.th-georgia .tvp-ldeco, .tvp-gfx-logo.is-bl.th-georgia .tvp-ldeco, .tvp-gfx-logo.is-tl.th-azerbaijan .tvp-ldeco, .tvp-gfx-logo.is-bl.th-azerbaijan .tvp-ldeco { left: auto; right: -26%; }
/* ... filling the whole "V" of TV on the channel logo: the heart sits behind the letters, so the V's strokes frame it */
.tvp-gfx-logo.is-ip.th-georgia .tvp-ldeco, .tvp-gfx-logo.is-ip.th-azerbaijan .tvp-ldeco { z-index: 0; left: calc(var(--px) + (100% - 2 * var(--px)) * .8083); right: auto; top: calc(var(--py) + (100% - 2 * var(--py)) * .2029); width: calc((100% - 2 * var(--px)) * .175); filter: drop-shadow(0 .06em .18em rgba(0,0,0,.35)); }
/* New Year: Santa hat on the tall (right) side of the V */
.tvp-gfx-logo.th-newyear .tvp-ldeco, .tvp-gfx-logo.lk-plate.th-newyear .tvp-ldeco, .tvp-gfx-logo.lk-glass.th-newyear .tvp-ldeco, .tvp-gfx-logo.lk-dark.th-newyear .tvp-ldeco, .tvp-gfx-logo.is-bl.th-newyear .tvp-ldeco, .tvp-gfx-logo.is-br.th-newyear .tvp-ldeco { left: -8%; top: -55%; width: 22%; aspect-ratio: 1; transform: rotate(-14deg); transform-origin: 50% 80%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E %3ClinearGradient id='r' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23ff4b4b'/%3E%3Cstop offset='.55' stop-color='%23d4141c'/%3E%3Cstop offset='1' stop-color='%238e0710'/%3E%3C/linearGradient%3E %3CradialGradient id='w' cx='.4' cy='.35' r='.7'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.7' stop-color='%23f1f4f8'/%3E%3Cstop offset='1' stop-color='%23c9d1dc'/%3E%3C/radialGradient%3E%3C/defs%3E %3Cpath d='M14 74 C16 46 30 22 54 14 C70 9 84 14 90 26 C93 33 91 42 86 46 C82 36 74 30 64 32 C76 44 82 58 86 74 Z' fill='url(%23r)'/%3E %3Cpath d='M30 40 C40 26 52 20 64 19' fill='none' stroke='%23fff' stroke-opacity='.35' stroke-width='3' stroke-linecap='round'/%3E %3Cpath d='M8 74 C8 66 14 63 22 64 C30 61 38 65 46 63 C54 61 62 65 70 63 C78 61 88 64 92 70 C96 78 92 86 84 86 C76 89 66 85 58 87 C50 89 42 85 34 87 C24 89 12 88 9 82 C8 80 8 77 8 74 Z' fill='url(%23w)'/%3E %3Ccircle cx='87' cy='50' r='10' fill='url(%23w)'/%3E%3C/svg%3E"); filter: drop-shadow(0 .08em .2em rgba(0,0,0,.4)); }
.tvp-gfx-logo.is-ip.th-newyear .tvp-ldeco, .tvp-gfx-logo.is-ip.lk-plate.th-newyear .tvp-ldeco, .tvp-gfx-logo.is-ip.lk-glass.th-newyear .tvp-ldeco, .tvp-gfx-logo.is-ip.lk-dark.th-newyear .tvp-ldeco, .tvp-gfx-logo.is-ip.is-bl.th-newyear .tvp-ldeco, .tvp-gfx-logo.is-ip.is-br.th-newyear .tvp-ldeco { left: calc(var(--px) + (100% - 2 * var(--px)) * .893); top: calc(var(--py) + (100% - 2 * var(--py)) * -.27); width: calc((100% - 2 * var(--px)) * .135); transform: rotate(22deg); }
/* Novruz: a real semeni (wheatgrass in a brass dish, red ribbon) */
.tvp-gfx-logo.th-novruz .tvp-ldeco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E %3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffe7a3'/%3E%3Cstop offset='.45' stop-color='%23d9a441'/%3E%3Cstop offset='1' stop-color='%238a5a12'/%3E%3C/linearGradient%3E %3ClinearGradient id='m' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%233a2a14'/%3E%3Cstop offset='.5' stop-color='%235b4220'/%3E%3Cstop offset='1' stop-color='%233a2a14'/%3E%3C/linearGradient%3E %3ClinearGradient id='rb' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ff4d5a'/%3E%3Cstop offset='1' stop-color='%23b5121f'/%3E%3C/linearGradient%3E%3C/defs%3E %3Cellipse cx='50' cy='90' rx='40' ry='5' fill='%23000' opacity='.28'/%3E %3Cellipse cx='50' cy='71' rx='30' ry='6' fill='url(%23m)'/%3E %3Cpath d='M33.7 70 Q33.0 49.1 31.3 32.0' stroke='%232a7a26' stroke-width='1.43' fill='none' stroke-linecap='round'/%3E%3Cpath d='M48.8 70 Q48.0 46.0 46.1 26.4' stroke='%234caf3e' stroke-width='1.53' fill='none' stroke-linecap='round'/%3E%3Cpath d='M68.3 70 Q70.2 49.9 74.8 33.4' stroke='%232f8f2a' stroke-width='1.11' fill='none' stroke-linecap='round'/%3E%3Cpath d='M71.5 70 Q73.9 48.2 79.4 30.4' stroke='%236cc95a' stroke-width='1.08' fill='none' stroke-linecap='round'/%3E%3Cpath d='M60.0 70 Q61.5 42.7 65.0 20.4' stroke='%2356b947' stroke-width='1.57' fill='none' stroke-linecap='round'/%3E%3Cpath d='M60.2 70 Q60.5 47.3 61.3 28.8' stroke='%2356b947' stroke-width='1.58' fill='none' stroke-linecap='round'/%3E%3Cpath d='M49.9 70 Q50.0 44.8 50.1 24.2' stroke='%232a7a26' stroke-width='1.29' fill='none' stroke-linecap='round'/%3E%3Cpath d='M30.1 70 Q29.0 46.7 26.3 27.7' stroke='%232a7a26' stroke-width='1.60' fill='none' stroke-linecap='round'/%3E%3Cpath d='M50.9 70 Q51.4 42.1 52.7 19.4' stroke='%236cc95a' stroke-width='0.94' fill='none' stroke-linecap='round'/%3E%3Cpath d='M33.2 70 Q32.6 50.3 31.0 34.1' stroke='%236cc95a' stroke-width='1.01' fill='none' stroke-linecap='round'/%3E%3Cpath d='M52.6 70 Q52.1 43.2 51.1 21.2' stroke='%2388d96e' stroke-width='1.28' fill='none' stroke-linecap='round'/%3E%3Cpath d='M34.9 70 Q33.7 50.0 31.0 33.6' stroke='%2356b947' stroke-width='0.90' fill='none' stroke-linecap='round'/%3E%3Cpath d='M49.6 70 Q50.1 45.5 51.3 25.5' stroke='%2356b947' stroke-width='1.52' fill='none' stroke-linecap='round'/%3E%3Cpath d='M56.1 70 Q57.1 44.5 59.3 23.6' stroke='%236cc95a' stroke-width='1.17' fill='none' stroke-linecap='round'/%3E%3Cpath d='M59.5 70 Q61.0 40.8 64.6 16.8' stroke='%236cc95a' stroke-width='1.38' fill='none' stroke-linecap='round'/%3E%3Cpath d='M69.1 70 Q70.6 48.6 74.0 31.1' stroke='%2388d96e' stroke-width='1.33' fill='none' stroke-linecap='round'/%3E%3Cpath d='M63.9 70 Q66.1 41.6 71.1 18.4' stroke='%2388d96e' stroke-width='0.90' fill='none' stroke-linecap='round'/%3E%3Cpath d='M31.2 70 Q28.6 47.7 22.4 29.4' stroke='%236cc95a' stroke-width='1.12' fill='none' stroke-linecap='round'/%3E%3Cpath d='M37.9 70 Q36.3 42.0 32.4 19.2' stroke='%232f8f2a' stroke-width='1.11' fill='none' stroke-linecap='round'/%3E%3Cpath d='M40.4 70 Q40.3 43.3 40.1 21.4' stroke='%2356b947' stroke-width='1.54' fill='none' stroke-linecap='round'/%3E%3Cpath d='M65.3 70 Q66.9 43.8 70.5 22.4' stroke='%236cc95a' stroke-width='1.47' fill='none' stroke-linecap='round'/%3E%3Cpath d='M35.4 70 Q33.0 44.1 27.6 22.9' stroke='%236cc95a' stroke-width='1.59' fill='none' stroke-linecap='round'/%3E%3Cpath d='M30.8 70 Q28.5 45.9 23.0 26.1' stroke='%234caf3e' stroke-width='1.19' fill='none' stroke-linecap='round'/%3E%3Cpath d='M48.3 70 Q48.5 45.2 49.0 25.0' stroke='%233fa535' stroke-width='1.44' fill='none' stroke-linecap='round'/%3E%3Cpath d='M29.9 70 Q27.4 45.7 21.5 25.7' stroke='%236cc95a' stroke-width='1.51' fill='none' stroke-linecap='round'/%3E%3Cpath d='M36.8 70 Q34.6 44.9 29.5 24.3' stroke='%233fa535' stroke-width='1.19' fill='none' stroke-linecap='round'/%3E%3Cpath d='M48.4 70 Q48.2 39.2 47.5 14.0' stroke='%236cc95a' stroke-width='1.22' fill='none' stroke-linecap='round'/%3E%3Cpath d='M39.3 70 Q37.8 43.9 34.2 22.5' stroke='%2388d96e' stroke-width='1.28' fill='none' stroke-linecap='round'/%3E%3Cpath d='M63.5 70 Q65.3 43.4 69.4 21.7' stroke='%2356b947' stroke-width='1.55' fill='none' stroke-linecap='round'/%3E%3Cpath d='M28.9 70 Q26.1 52.1 19.7 37.4' stroke='%236cc95a' stroke-width='0.94' fill='none' stroke-linecap='round'/%3E%3Cpath d='M75.3 70 Q77.0 51.0 80.8 35.4' stroke='%2388d96e' stroke-width='1.14' fill='none' stroke-linecap='round'/%3E%3Cpath d='M58.0 70 Q59.6 48.0 63.5 30.0' stroke='%236cc95a' stroke-width='1.01' fill='none' stroke-linecap='round'/%3E%3Cpath d='M28.3 70 Q27.0 51.0 23.9 35.5' stroke='%2388d96e' stroke-width='1.37' fill='none' stroke-linecap='round'/%3E%3Cpath d='M24.1 70 Q21.9 49.1 16.7 32.0' stroke='%233fa535' stroke-width='1.51' fill='none' stroke-linecap='round'/%3E%3Cpath d='M43.9 70 Q44.2 48.2 44.8 30.3' stroke='%2356b947' stroke-width='0.95' fill='none' stroke-linecap='round'/%3E%3Cpath d='M55.4 70 Q55.7 48.3 56.3 30.5' stroke='%2356b947' stroke-width='1.15' fill='none' stroke-linecap='round'/%3E%3Cpath d='M61.2 70 Q62.6 43.9 65.9 22.6' stroke='%232a7a26' stroke-width='1.15' fill='none' stroke-linecap='round'/%3E%3Cpath d='M55.5 70 Q55.3 42.3 54.8 19.5' stroke='%232a7a26' stroke-width='0.92' fill='none' stroke-linecap='round'/%3E%3Cpath d='M42.9 70 Q42.7 47.1 42.4 28.4' stroke='%232f8f2a' stroke-width='1.12' fill='none' stroke-linecap='round'/%3E%3Cpath d='M28.7 70 Q26.1 51.7 20.0 36.8' stroke='%236cc95a' stroke-width='1.24' fill='none' stroke-linecap='round'/%3E%3Cpath d='M44.6 70 Q45.0 40.9 45.9 17.2' stroke='%234caf3e' stroke-width='1.46' fill='none' stroke-linecap='round'/%3E%3Cpath d='M38.4 70 Q37.1 47.9 34.0 29.8' stroke='%236cc95a' stroke-width='1.53' fill='none' stroke-linecap='round'/%3E%3Cpath d='M64.5 70 Q65.3 46.5 67.2 27.3' stroke='%234caf3e' stroke-width='1.26' fill='none' stroke-linecap='round'/%3E%3Cpath d='M42.4 70 Q42.5 44.1 42.7 23.0' stroke='%2356b947' stroke-width='1.29' fill='none' stroke-linecap='round'/%3E%3Cpath d='M45.8 70 Q45.1 40.2 43.5 15.8' stroke='%233fa535' stroke-width='1.01' fill='none' stroke-linecap='round'/%3E%3Cpath d='M53.9 70 Q54.3 41.2 55.2 17.6' stroke='%234caf3e' stroke-width='1.17' fill='none' stroke-linecap='round'/%3E%3Cpath d='M43.8 70 Q42.7 42.5 40.1 19.9' stroke='%2356b947' stroke-width='0.90' fill='none' stroke-linecap='round'/%3E%3Cpath d='M59.7 70 Q60.2 48.0 61.3 29.9' stroke='%236cc95a' stroke-width='1.44' fill='none' stroke-linecap='round'/%3E%3Cpath d='M65.4 70 Q66.4 50.2 68.5 34.0' stroke='%233fa535' stroke-width='1.56' fill='none' stroke-linecap='round'/%3E%3Cpath d='M62.1 70 Q62.0 47.1 61.7 28.3' stroke='%232f8f2a' stroke-width='1.13' fill='none' stroke-linecap='round'/%3E%3Cpath d='M38.6 70 Q37.7 44.1 35.8 22.8' stroke='%2388d96e' stroke-width='0.99' fill='none' stroke-linecap='round'/%3E%3Cpath d='M29.0 70 Q28.0 48.5 25.9 30.8' stroke='%236cc95a' stroke-width='1.44' fill='none' stroke-linecap='round'/%3E%3Cpath d='M46.3 70 Q45.5 44.9 43.6 24.3' stroke='%2388d96e' stroke-width='1.20' fill='none' stroke-linecap='round'/%3E%3Cpath d='M70.4 70 Q73.1 51.4 79.5 36.3' stroke='%2388d96e' stroke-width='0.92' fill='none' stroke-linecap='round'/%3E%3Cpath d='M67.7 70 Q68.1 44.7 69.1 24.0' stroke='%233fa535' stroke-width='0.98' fill='none' stroke-linecap='round'/%3E%3Cpath d='M64.5 70 Q66.0 45.0 69.5 24.6' stroke='%2356b947' stroke-width='1.00' fill='none' stroke-linecap='round'/%3E%3Cpath d='M24.6 70 Q23.2 51.0 19.8 35.4' stroke='%236cc95a' stroke-width='1.10' fill='none' stroke-linecap='round'/%3E%3Cpath d='M64.6 70 Q65.6 47.0 67.8 28.1' stroke='%232f8f2a' stroke-width='1.05' fill='none' stroke-linecap='round'/%3E%3Cpath d='M35.1 70 Q33.7 50.1 30.3 33.9' stroke='%2388d96e' stroke-width='1.44' fill='none' stroke-linecap='round'/%3E%3Cpath d='M26.6 70 Q25.4 52.7 22.6 38.6' stroke='%2388d96e' stroke-width='0.91' fill='none' stroke-linecap='round'/%3E%3Cpath d='M52.3 70 Q52.2 44.2 52.0 23.0' stroke='%233fa535' stroke-width='1.43' fill='none' stroke-linecap='round'/%3E%3Cpath d='M33.0 70 Q31.2 43.6 27.2 22.0' stroke='%2356b947' stroke-width='1.26' fill='none' stroke-linecap='round'/%3E%3Cpath d='M24.8 70 Q23.4 53.7 20.0 40.4' stroke='%2388d96e' stroke-width='1.11' fill='none' stroke-linecap='round'/%3E%3Cpath d='M56.4 70 Q58.0 41.2 61.6 17.7' stroke='%232a7a26' stroke-width='1.36' fill='none' stroke-linecap='round'/%3E%3Cpath d='M69.5 70 Q71.1 44.2 74.8 23.2' stroke='%232a7a26' stroke-width='1.18' fill='none' stroke-linecap='round'/%3E%3Cpath d='M38.5 70 Q38.4 45.6 38.3 25.6' stroke='%2356b947' stroke-width='1.58' fill='none' stroke-linecap='round'/%3E%3Cpath d='M45.7 70 Q45.1 42.1 43.8 19.4' stroke='%236cc95a' stroke-width='1.11' fill='none' stroke-linecap='round'/%3E%3Cpath d='M48.1 70 Q48.1 44.5 48.0 23.6' stroke='%232f8f2a' stroke-width='0.90' fill='none' stroke-linecap='round'/%3E%3Cpath d='M34.8 70 Q33.3 44.4 29.9 23.5' stroke='%234caf3e' stroke-width='1.38' fill='none' stroke-linecap='round'/%3E%3Cpath d='M30.9 70 Q29.0 51.7 24.7 36.7' stroke='%234caf3e' stroke-width='1.60' fill='none' stroke-linecap='round'/%3E%3Cpath d='M47.1 70 Q47.3 45.2 47.9 24.9' stroke='%232f8f2a' stroke-width='1.24' fill='none' stroke-linecap='round'/%3E%3Cpath d='M29.6 70 Q26.9 47.8 20.5 29.7' stroke='%232a7a26' stroke-width='1.51' fill='none' stroke-linecap='round'/%3E%3Cpath d='M64.0 70 Q64.2 48.2 64.6 30.4' stroke='%234caf3e' stroke-width='1.15' fill='none' stroke-linecap='round'/%3E%3Cpath d='M37.8 70 Q37.2 40.5 35.9 16.4' stroke='%2356b947' stroke-width='1.35' fill='none' stroke-linecap='round'/%3E%3Cpath d='M73.0 70 Q74.8 50.9 79.2 35.4' stroke='%234caf3e' stroke-width='1.22' fill='none' stroke-linecap='round'/%3E%3Cpath d='M73.5 70 Q74.5 48.6 76.9 31.0' stroke='%236cc95a' stroke-width='1.00' fill='none' stroke-linecap='round'/%3E%3Cpath d='M73.1 70 Q75.6 51.3 81.2 36.0' stroke='%232f8f2a' stroke-width='0.99' fill='none' stroke-linecap='round'/%3E%3Cpath d='M26.6 70 Q25.0 50.8 21.1 35.0' stroke='%236cc95a' stroke-width='1.21' fill='none' stroke-linecap='round'/%3E%3Cpath d='M27.6 70 Q24.9 50.2 18.5 34.0' stroke='%232f8f2a' stroke-width='1.05' fill='none' stroke-linecap='round'/%3E%3Cpath d='M69.1 70 Q71.2 49.6 76.1 32.9' stroke='%2388d96e' stroke-width='1.21' fill='none' stroke-linecap='round'/%3E%3Cpath d='M47.6 70 Q46.6 44.2 44.2 23.1' stroke='%2356b947' stroke-width='0.96' fill='none' stroke-linecap='round'/%3E%3Cpath d='M32.6 70 Q30.3 44.0 24.8 22.8' stroke='%232a7a26' stroke-width='0.96' fill='none' stroke-linecap='round'/%3E%3Cpath d='M53.9 70 Q54.6 43.8 56.4 22.4' stroke='%232f8f2a' stroke-width='1.41' fill='none' stroke-linecap='round'/%3E%3Cpath d='M68.2 70 Q68.5 45.7 69.2 25.9' stroke='%2388d96e' stroke-width='1.07' fill='none' stroke-linecap='round'/%3E%3Cpath d='M30.5 70 Q28.4 50.3 23.4 34.2' stroke='%2388d96e' stroke-width='1.48' fill='none' stroke-linecap='round'/%3E%3Cpath d='M45.5 70 Q44.2 46.6 41.2 27.5' stroke='%232f8f2a' stroke-width='1.36' fill='none' stroke-linecap='round'/%3E%3Cpath d='M64.0 70 Q64.8 46.6 66.5 27.5' stroke='%2356b947' stroke-width='1.36' fill='none' stroke-linecap='round'/%3E%3Cpath d='M49.6 70 Q49.5 42.9 49.5 20.7' stroke='%232f8f2a' stroke-width='1.45' fill='none' stroke-linecap='round'/%3E%3Cpath d='M56.5 70 Q56.6 45.0 57.0 24.5' stroke='%2388d96e' stroke-width='1.39' fill='none' stroke-linecap='round'/%3E%3Cpath d='M61.2 70 Q62.1 45.8 64.2 26.0' stroke='%2356b947' stroke-width='1.46' fill='none' stroke-linecap='round'/%3E%3Cpath d='M39.7 70 Q39.5 46.3 39.2 27.0' stroke='%2356b947' stroke-width='1.57' fill='none' stroke-linecap='round'/%3E%3Cpath d='M60.1 70 Q61.0 42.8 63.2 20.6' stroke='%232a7a26' stroke-width='1.37' fill='none' stroke-linecap='round'/%3E%3Cpath d='M26.0 70 Q22.4 53.4 14.0 39.8' stroke='%2356b947' stroke-width='1.38' fill='none' stroke-linecap='round'/%3E%3Cpath d='M57.9 70 Q59.2 47.2 62.3 28.6' stroke='%234caf3e' stroke-width='1.25' fill='none' stroke-linecap='round'/%3E%3Cpath d='M63.0 70 Q64.1 42.1 66.8 19.2' stroke='%2356b947' stroke-width='1.16' fill='none' stroke-linecap='round'/%3E%3Cpath d='M63.1 70 Q63.6 47.6 65.0 29.2' stroke='%232a7a26' stroke-width='1.49' fill='none' stroke-linecap='round'/%3E%3Cpath d='M43.7 70 Q42.8 41.4 40.8 18.0' stroke='%232a7a26' stroke-width='1.20' fill='none' stroke-linecap='round'/%3E%3Cpath d='M28.4 70 Q27.2 50.4 24.6 34.4' stroke='%233fa535' stroke-width='1.32' fill='none' stroke-linecap='round'/%3E%3Cpath d='M27.3 70 Q24.1 51.6 16.7 36.6' stroke='%233fa535' stroke-width='1.47' fill='none' stroke-linecap='round'/%3E%3Cpath d='M39.2 70 Q38.5 43.5 36.9 21.8' stroke='%2388d96e' stroke-width='1.52' fill='none' stroke-linecap='round'/%3E%3Cpath d='M47.6 70 Q47.3 43.2 46.5 21.3' stroke='%2356b947' stroke-width='1.23' fill='none' stroke-linecap='round'/%3E%3Cpath d='M59.0 70 Q59.4 45.5 60.3 25.4' stroke='%234caf3e' stroke-width='1.19' fill='none' stroke-linecap='round'/%3E%3Cpath d='M43.9 70 Q43.0 43.8 41.0 22.3' stroke='%234caf3e' stroke-width='1.47' fill='none' stroke-linecap='round'/%3E%3Cpath d='M47.5 70 Q48.1 41.1 49.4 17.4' stroke='%232f8f2a' stroke-width='1.43' fill='none' stroke-linecap='round'/%3E%3Cpath d='M63.1 70 Q62.9 46.9 62.5 28.0' stroke='%236cc95a' stroke-width='1.23' fill='none' stroke-linecap='round'/%3E%3Cpath d='M46.3 70 Q45.9 38.5 45.1 12.8' stroke='%232a7a26' stroke-width='1.17' fill='none' stroke-linecap='round'/%3E%3Cpath d='M74.0 70 Q76.1 50.1 80.9 33.8' stroke='%232a7a26' stroke-width='1.04' fill='none' stroke-linecap='round'/%3E%3Cpath d='M62.4 70 Q63.2 44.0 65.2 22.7' stroke='%232f8f2a' stroke-width='1.07' fill='none' stroke-linecap='round'/%3E%3Cpath d='M43.4 70 Q42.2 47.9 39.4 29.8' stroke='%2388d96e' stroke-width='1.50' fill='none' stroke-linecap='round'/%3E%3Cpath d='M36.7 70 Q36.0 45.6 34.4 25.6' stroke='%234caf3e' stroke-width='1.01' fill='none' stroke-linecap='round'/%3E %3Cpath d='M24 55 Q50 61 76 55 L76 61 Q50 67 24 61 Z' fill='url(%23rb)'/%3E %3Cpath d='M50 60 C42 52 33 53 35 59 C37 64 45 63 50 60 C55 63 63 64 65 59 C67 53 58 52 50 60 Z' fill='url(%23rb)' stroke='%238e0a15' stroke-width='.6'/%3E %3Cpath d='M49 61 L44 74 L47 73 L49 76 L51 62 Z M51 61 L57 73 L54 72.5 L52.5 75.5 Z' fill='%23c8141f'/%3E %3Ccircle cx='50' cy='60.5' r='2.3' fill='%23e0202d' stroke='%238e0a15' stroke-width='.5'/%3E %3Cpath d='M14 70 Q50 80 86 70 L80 86 Q50 95 20 86 Z' fill='url(%23b)'/%3E %3Cpath d='M14 70 Q50 80 86 70' fill='none' stroke='%23fff3c4' stroke-width='1.6' stroke-linecap='round'/%3E %3Cpath d='M26 80 Q50 86 74 80' fill='none' stroke='%23fff' stroke-opacity='.35' stroke-width='1.2'/%3E%3C/svg%3E"); filter: drop-shadow(0 .1em .25em rgba(0,0,0,.4)); animation: tvp-sway 5s ease-in-out infinite; }
/* Effects keep the logo's own colours: light and glow only around or across the letters */
@keyframes tvp-lglow { 0%, 100% { filter: drop-shadow(0 0 .08em rgba(255,255,255,.55)) drop-shadow(0 0 .25em rgba(255,255,255,.25)); } 50% { filter: drop-shadow(0 0 .14em rgba(255,255,255,.95)) drop-shadow(0 0 .7em rgba(255,255,255,.55)); } }
@keyframes tvp-neon { 0%, 18%, 22%, 62%, 64%, 100% { filter: drop-shadow(0 0 .04em #fff) drop-shadow(0 0 .04em #fff) drop-shadow(0 0 .3em rgba(255,255,255,.8)) drop-shadow(0 0 .8em rgba(255,255,255,.45)); } 20%, 63% { filter: drop-shadow(0 0 .03em rgba(255,255,255,.5)); } }
.tvp-gfx-logo.fx-holo::after { background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.0) 38%, rgba(255,255,255,.55) 44%, rgba(255,255,255,.15) 47%, rgba(255,255,255,.6) 50%, rgba(255,255,255,0) 58%, transparent 70%) 0 0 / 300% 100%; mix-blend-mode: normal; opacity: 1; }
.tvp-gfx-logo.fx-holo > img { animation: tvp-holo-rim 6s linear infinite; }
@keyframes tvp-holo-rim { 0%, 100% { filter: drop-shadow(0 0 .06em rgba(255,255,255,.9)) drop-shadow(0 0 .35em rgba(120,200,255,.55)); } 33% { filter: drop-shadow(0 0 .06em rgba(255,255,255,.9)) drop-shadow(0 0 .35em rgba(200,140,255,.55)); } 66% { filter: drop-shadow(0 0 .06em rgba(255,255,255,.9)) drop-shadow(0 0 .35em rgba(120,255,200,.5)); } }
