#botnews-app {padding:12px 4px;color-scheme:dark}
    #botnews-app .bn-shell {--ink:#f6f0fc;--soft:#bfb2ce;--base:#150f1e;--panel:#201628;--line:#43324f;--accent:#d9bcff;--green:#aee4ca;--orange:#f4c899;--pink:#f2b3d3;width:min(100%,465px);box-sizing:border-box;margin:auto;border:1px solid #483754;border-radius:25px;overflow:hidden;background:var(--base);color:var(--ink);font:400 14px/1.42 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
    #botnews-app * {box-sizing:border-box}
    #botnews-app :is(h2,h3,p,dl) {margin:0}
    #botnews-app [hidden] {display:none!important}
    #botnews-app :is(button,input,select,textarea) {font:inherit}
    #botnews-app :is(button,a,input,textarea,select):focus-visible {outline:2px solid var(--accent);outline-offset:3px}
    #botnews-app button {color:inherit}
    #botnews-app a {color:var(--accent);text-underline-offset:3px}
    #botnews-app .bn-header {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 16px;background:#21162a;border-bottom:1px solid var(--line)}
    #botnews-app .bn-brand {display:flex;align-items:center;gap:9px;text-align:left;background:none;border:0;padding:0;min-height:42px}
    #botnews-app .bn-logo {display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:var(--accent);color:#241438;font-weight:800;letter-spacing:-.07em}
    #botnews-app .bn-brand strong {display:block;font-size:14px;letter-spacing:.045em}
    #botnews-app .bn-dim {font-size:12px;color:var(--soft)}
    #botnews-app .bn-demo {font-size:11px;color:var(--accent);padding:3px 7px;border-radius:6px;border:1px solid #5c4674}
    #botnews-app .bn-main {padding:15px 16px 16px;min-height:415px}
    #botnews-app .bn-heading {display:flex;justify-content:space-between;align-items:baseline;gap:7px}
    #botnews-app h2 {font-size:24px;line-height:1.15;letter-spacing:-.035em;font-weight:690}
    #botnews-app h3 {font-size:14px;font-weight:650}
    #botnews-app .bn-hero {margin-top:11px;padding:12px;border-radius:14px;border:1px solid #654c7b;background:radial-gradient(ellipse at 97% 5%,#56396a,#322240 62%,#281c34)}
    #botnews-app .bn-hero h3 {margin-top:5px;font-size:19px;line-height:1.2;letter-spacing:-.025em}
    #botnews-app .bn-hero p {margin-top:4px}
    #botnews-app .bn-kicker {color:var(--accent);font-size:12px;font-weight:610}
    #botnews-app .bn-gap {margin-top:12px}
    #botnews-app .bn-tight {margin-top:6px}
    #botnews-app .bn-button {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 10px;border:1px solid #594469;border-radius:9px;background:#30233e;color:var(--ink);text-align:center;font-size:12px;font-weight:610}
    #botnews-app .bn-primary {background:var(--accent);border-color:var(--accent);color:#251436}
    #botnews-app .bn-block {width:100%}
    #botnews-app .bn-grid {display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
    #botnews-app .bn-tile {display:flex;align-items:center;justify-content:flex-start;gap:7px;text-align:left;min-width:0;padding:5px 7px}
    #botnews-app .bn-tile span:first-child {font-size:16px}
    #botnews-app .bn-wide {grid-column:1/-1}
    #botnews-app .bn-nav {display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:5px 8px 7px;background:#21162a;border-top:1px solid var(--line)}
    #botnews-app .bn-nav button {display:grid;place-items:center;align-content:center;gap:2px;min-height:44px;border:0;border-radius:7px;background:none;color:var(--soft);font-size:11px}
    #botnews-app .bn-nav button[aria-current=page] {color:var(--accent);background:#382747;font-weight:650}
    #botnews-app .bn-shell svg {width:16px;height:16px;vertical-align:middle}
    #botnews-app .bn-segment {display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
    #botnews-app .bn-segment button {flex:1 1 auto;min-height:42px;padding:4px 5px;font-size:11px}
    #botnews-app .bn-segment button[aria-pressed=true] {background:#523d67;border-color:#8a6ea3;color:#fff1ff}
    #botnews-app .bn-row {width:100%;min-height:59px;display:flex;align-items:center;gap:9px;border:0;border-top:1px solid var(--line);padding:7px 0;background:none;text-align:left}
    #botnews-app .bn-row strong {display:block;line-height:1.25;font-size:13px}
    #botnews-app .bn-thumb {display:grid;place-items:center;flex:0 0 54px;height:41px;border-radius:7px;background:linear-gradient(130deg,var(--poster,#56416d),#2a1b3d);font-size:11px;font-weight:740}
    #botnews-app .bn-row-body {flex:1;min-width:0}
    #botnews-app .bn-end {color:var(--accent);font-size:17px}
    #botnews-app .bn-status {display:inline-block;font-size:11px;color:var(--accent)}
    #botnews-app [data-status="В правках"] {color:var(--pink)}
    #botnews-app [data-status="Опубликован"] {color:var(--green)}
    #botnews-app [data-status^="Запланирован"] {color:var(--orange)}
    #botnews-app .bn-back {min-height:43px;padding:5px 0;border:0;background:none;color:var(--accent);font-size:12px;text-align:left}
    #botnews-app .bn-card {padding:10px 11px;border:1px solid var(--line);border-radius:11px;background:var(--panel)}
    #botnews-app .bn-card p+p {margin-top:5px}
    #botnews-app form {margin-top:11px}
    #botnews-app label {display:block;color:var(--soft);font-size:12px}
    #botnews-app :is(select,input:not([type=checkbox]),textarea) {display:block;width:100%;min-height:43px;margin-top:4px;padding:7px;border:1px solid #6d547f;border-radius:8px;background:#1c1425;color:var(--ink);font-size:16px}
    #botnews-app textarea {resize:vertical}
    #botnews-app label+label {margin-top:9px}
    #botnews-app .bn-help {margin-top:8px;color:var(--soft);font-size:12px}
    #botnews-app .bn-notice {margin:8px 16px;padding:7px 9px;border:1px solid #75598a;border-radius:8px;background:#2d2038;color:#f0deff;font-size:12px}
    #botnews-app .bn-subtitle {margin-top:10px;color:var(--soft);font-size:12px}
    #botnews-app .bn-prose {margin-top:9px;white-space:pre-line;color:#e8ddf0}
    #botnews-app .bn-media {position:relative;width:100%;overflow:hidden;display:grid;align-content:end;min-height:132px;margin-top:8px;padding:11px;border:1px solid #725787;border-radius:12px;background:radial-gradient(ellipse at 89% 12%,var(--poster,#61487c),transparent 72%),linear-gradient(125deg,#38254d,#21162c);text-align:left}
    #botnews-app .bn-media small {position:relative;font-size:11px;color:#e4cfef}
    #botnews-app .bn-media strong {position:relative;font-size:25px;line-height:1.2;letter-spacing:.025em}
    #botnews-app .bn-media span {position:relative;color:#f0ddff;font-size:12px}
    #botnews-app .bn-media.bn-playing {min-height:176px}
    #botnews-app .bn-motion {position:absolute;inset:0;overflow:hidden}
    #botnews-app .bn-media .bn-motion {position:absolute}
    #botnews-app .bn-motion:before {content:"";position:absolute;top:-30%;bottom:-30%;width:35%;background:#edcfff32;transform:translateX(-130%) skew(-24deg)}
    #botnews-app .bn-motion.bn-active:before {animation:bn-demo-sweep 2.8s ease-in-out infinite}
    @keyframes bn-demo-sweep {to {transform:translateX(405%) skew(-24deg)}}
    @media(prefers-reduced-motion:reduce) {#botnews-app .bn-motion.bn-active:before {animation:none}}
    #botnews-app .bn-kpis {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:9px}
    #botnews-app .bn-kpis>div {padding:7px 5px}
    #botnews-app .bn-value {display:block;font-size:21px;font-weight:680;letter-spacing:-.04em}
    #botnews-app .bn-chart svg {display:block;width:100%;height:106px;overflow:visible}
    #botnews-app .bn-axis {display:flex;justify-content:space-between;color:var(--soft);font-size:11px}
    @media(max-width:350px) {#botnews-app .bn-main,#botnews-app .bn-header {padding-left:11px;padding-right:11px}#botnews-app .bn-tile {gap:4px;font-size:11px}}
#botnews-app {margin:0;background:#130e1b;padding-bottom:max(12px,env(safe-area-inset-bottom));}
#botnews-app .bn-shell {max-width:465px;}
#botnews-app .bn-row-body a {color:inherit;}
#botnews-app img,#botnews-app video,#botnews-app iframe {max-width:100%;display:block;border:0;border-radius:10px;}
#botnews-app .bn-cover {display:block;width:100%;height:auto;max-height:440px;object-fit:contain;background:#21172c;margin-top:10px;}
#botnews-app .bn-player {width:100%;aspect-ratio:16/9;margin-top:10px;}
#botnews-app .bn-glyph {letter-spacing:.02em;}
#botnews-app .bn-muted-button:disabled {opacity:.6;}
#botnews-app .bn-thumb {position:relative;overflow:hidden;}
#botnews-app .bn-thumb img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;}
